mcp-google-multi 6.0.0-alpha.47 → 6.0.0-alpha.49
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/dist/accounts.d.ts +7 -0
- package/dist/accounts.js +14 -0
- package/dist/registry.d.ts +10 -0
- package/dist/registry.js +32 -1
- package/dist/tools/account-wizard.js +9 -0
- package/dist/tools/generated/_shared.d.ts +2 -1
- package/dist/tools/generated/_shared.js +6 -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/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/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { coerceArray, coerceBoolean, coerceJson } from '../_coerce.js';
|
|
4
4
|
import { accountField, registerGeneratedTool } from './_shared.js';
|
|
5
|
-
export function registerAdminGeneratedTools(registry) {
|
|
5
|
+
export function registerAdminGeneratedTools(registry, deps = {}) {
|
|
6
6
|
// Interned method scope sets (shared across tools; see scope-observability).
|
|
7
7
|
const S_admin_datatransfer_v1 = [
|
|
8
8
|
["https://www.googleapis.com/auth/admin.datatransfer", "https://www.googleapis.com/auth/admin.datatransfer.readonly"],
|
|
@@ -16,11 +16,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
16
16
|
params: [{ "field": "applicationId", "api": "applicationId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
17
17
|
hasBody: false,
|
|
18
18
|
shape: {
|
|
19
|
-
account: accountField(),
|
|
19
|
+
account: accountField(registry.accountAliases()),
|
|
20
20
|
applicationId: z.string().min(1).describe("ID of the application resource to be retrieved."),
|
|
21
21
|
fields: z.string().optional().describe('Response field mask.'),
|
|
22
22
|
},
|
|
23
|
-
});
|
|
23
|
+
}, deps);
|
|
24
24
|
registerGeneratedTool(registry, {
|
|
25
25
|
name: "admin_applications_list",
|
|
26
26
|
cud: "read",
|
|
@@ -29,13 +29,13 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
29
29
|
params: [{ "field": "customerId", "api": "customerId", "location": "query" }, { "field": "maxResults", "api": "maxResults", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
30
30
|
hasBody: false,
|
|
31
31
|
shape: {
|
|
32
|
-
account: accountField(),
|
|
32
|
+
account: accountField(registry.accountAliases()),
|
|
33
33
|
customerId: z.string().describe("Immutable ID of the Google Workspace account.").optional(),
|
|
34
34
|
maxResults: z.number().describe("Maximum number of results to return. Default is 100.").optional(),
|
|
35
35
|
pageToken: z.string().describe("Token to specify next page in the list.").optional(),
|
|
36
36
|
fields: z.string().optional().describe('Response field mask.'),
|
|
37
37
|
},
|
|
38
|
-
});
|
|
38
|
+
}, deps);
|
|
39
39
|
registerGeneratedTool(registry, {
|
|
40
40
|
name: "admin_transfers_get",
|
|
41
41
|
cud: "read",
|
|
@@ -44,11 +44,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
44
44
|
params: [{ "field": "dataTransferId", "api": "dataTransferId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
45
45
|
hasBody: false,
|
|
46
46
|
shape: {
|
|
47
|
-
account: accountField(),
|
|
47
|
+
account: accountField(registry.accountAliases()),
|
|
48
48
|
dataTransferId: z.string().min(1).describe("ID of the resource to be retrieved. This is returned in the response from the insert method."),
|
|
49
49
|
fields: z.string().optional().describe('Response field mask.'),
|
|
50
50
|
},
|
|
51
|
-
});
|
|
51
|
+
}, deps);
|
|
52
52
|
registerGeneratedTool(registry, {
|
|
53
53
|
name: "admin_transfers_insert",
|
|
54
54
|
cud: "create",
|
|
@@ -57,11 +57,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
57
57
|
params: [{ "field": "fields", "api": "fields", "location": "query" }],
|
|
58
58
|
hasBody: true,
|
|
59
59
|
shape: {
|
|
60
|
-
account: accountField(),
|
|
60
|
+
account: accountField(registry.accountAliases()),
|
|
61
61
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("DataTransfer JSON request body. Top-level fields: applicationDataTransfers, etag, id, kind, newOwnerUserId, oldOwnerUserId, overallTransferStatusCode, requestTime."),
|
|
62
62
|
fields: z.string().optional().describe('Response field mask.'),
|
|
63
63
|
},
|
|
64
|
-
});
|
|
64
|
+
}, deps);
|
|
65
65
|
registerGeneratedTool(registry, {
|
|
66
66
|
name: "admin_transfers_list",
|
|
67
67
|
cud: "read",
|
|
@@ -70,7 +70,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
70
70
|
params: [{ "field": "customerId", "api": "customerId", "location": "query" }, { "field": "maxResults", "api": "maxResults", "location": "query" }, { "field": "newOwnerUserId", "api": "newOwnerUserId", "location": "query" }, { "field": "oldOwnerUserId", "api": "oldOwnerUserId", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "status", "api": "status", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
71
71
|
hasBody: false,
|
|
72
72
|
shape: {
|
|
73
|
-
account: accountField(),
|
|
73
|
+
account: accountField(registry.accountAliases()),
|
|
74
74
|
customerId: z.string().describe("Immutable ID of the Google Workspace account.").optional(),
|
|
75
75
|
maxResults: z.number().describe("Maximum number of results to return. Default is 100.").optional(),
|
|
76
76
|
newOwnerUserId: z.string().describe("Destination user's profile ID.").optional(),
|
|
@@ -79,7 +79,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
79
79
|
status: z.string().describe("Status of the transfer.").optional(),
|
|
80
80
|
fields: z.string().optional().describe('Response field mask.'),
|
|
81
81
|
},
|
|
82
|
-
});
|
|
82
|
+
}, deps);
|
|
83
83
|
// Interned method scope sets (shared across tools; see scope-observability).
|
|
84
84
|
const S_admin_directory_v1 = [
|
|
85
85
|
["https://www.googleapis.com/auth/admin.directory.user", "https://www.googleapis.com/auth/admin.directory.user.alias", "https://www.googleapis.com/auth/admin.directory.user.alias.readonly", "https://www.googleapis.com/auth/admin.directory.user.readonly", "https://www.googleapis.com/auth/cloud-platform"],
|
|
@@ -121,11 +121,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
121
121
|
params: [{ "field": "fields", "api": "fields", "location": "query" }],
|
|
122
122
|
hasBody: true,
|
|
123
123
|
shape: {
|
|
124
|
-
account: accountField(),
|
|
124
|
+
account: accountField(registry.accountAliases()),
|
|
125
125
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Channel JSON request body. Top-level fields: address, expiration, id, kind, params, payload, resourceId, resourceUri, token, type."),
|
|
126
126
|
fields: z.string().optional().describe('Response field mask.'),
|
|
127
127
|
},
|
|
128
|
-
});
|
|
128
|
+
}, deps);
|
|
129
129
|
registerGeneratedTool(registry, {
|
|
130
130
|
name: "admin_customer_devices_chromeos_batch_change_status",
|
|
131
131
|
cud: "update",
|
|
@@ -135,14 +135,14 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
135
135
|
hasBody: true,
|
|
136
136
|
bodyParams: [{ "field": "changeChromeOsDeviceStatusAction", "api": "changeChromeOsDeviceStatusAction" }, { "field": "deprovisionReason", "api": "deprovisionReason" }, { "field": "deviceIds", "api": "deviceIds" }],
|
|
137
137
|
shape: {
|
|
138
|
-
account: accountField(),
|
|
138
|
+
account: accountField(registry.accountAliases()),
|
|
139
139
|
customerId: z.string().min(1).describe("Required. Immutable ID of the Google Workspace account."),
|
|
140
140
|
changeChromeOsDeviceStatusAction: z.enum(["CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_UNSPECIFIED", "CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_DEPROVISION", "CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_DISABLE", "CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_REENABLE"]).describe("Required. The action to take on the ChromeOS device in order to change its status.").optional(),
|
|
141
141
|
deprovisionReason: z.enum(["DEPROVISION_REASON_UNSPECIFIED", "DEPROVISION_REASON_SAME_MODEL_REPLACEMENT", "DEPROVISION_REASON_UPGRADE", "DEPROVISION_REASON_DOMAIN_MOVE", "DEPROVISION_REASON_SERVICE_EXPIRATION", "DEPROVISION_REASON_OTHER", "DEPROVISION_REASON_DIFFERENT_MODEL_REPLACEMENT", "DEPROVISION_REASON_RETIRING_DEVICE", "DEPROVISION_REASON_UPGRADE_TRANSFER", "DEPROVISION_REASON_NOT_REQUIRED", "DEPROVISION_REASON_REPAIR_CENTER"]).describe("Optional. The reason behind a device deprovision. Must be provided if 'changeChromeOsDeviceStatusAction' is set to 'CHANGE_CHROME_OS_DEVICE_STATUS_ACTION_DEPROVISION'. Otherwise, omit this field.").optional(),
|
|
142
142
|
deviceIds: coerceArray(z.string()).describe("Required. List of the IDs of the ChromeOS devices to change. Maximum 50.").optional(),
|
|
143
143
|
fields: z.string().optional().describe('Response field mask.'),
|
|
144
144
|
},
|
|
145
|
-
});
|
|
145
|
+
}, deps);
|
|
146
146
|
registerGeneratedTool(registry, {
|
|
147
147
|
name: "admin_customer_devices_chromeos_commands_get",
|
|
148
148
|
cud: "read",
|
|
@@ -151,13 +151,13 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
151
151
|
params: [{ "field": "commandId", "api": "commandId", "location": "path" }, { "field": "customerId", "api": "customerId", "location": "path" }, { "field": "deviceId", "api": "deviceId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
152
152
|
hasBody: false,
|
|
153
153
|
shape: {
|
|
154
|
-
account: accountField(),
|
|
154
|
+
account: accountField(registry.accountAliases()),
|
|
155
155
|
commandId: z.string().min(1).describe("Immutable. ID of Chrome OS Device Command."),
|
|
156
156
|
customerId: z.string().min(1).describe("Immutable. ID of the Google Workspace account."),
|
|
157
157
|
deviceId: z.string().min(1).describe("Immutable. ID of Chrome OS Device."),
|
|
158
158
|
fields: z.string().optional().describe('Response field mask.'),
|
|
159
159
|
},
|
|
160
|
-
});
|
|
160
|
+
}, deps);
|
|
161
161
|
registerGeneratedTool(registry, {
|
|
162
162
|
name: "admin_customer_devices_chromeos_count_chrome_os_devices",
|
|
163
163
|
cud: "read",
|
|
@@ -166,14 +166,14 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
166
166
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "filter", "api": "filter", "location": "query" }, { "field": "includeChildOrgunits", "api": "includeChildOrgunits", "location": "query" }, { "field": "orgUnitPath", "api": "orgUnitPath", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
167
167
|
hasBody: false,
|
|
168
168
|
shape: {
|
|
169
|
-
account: accountField(),
|
|
169
|
+
account: accountField(registry.accountAliases()),
|
|
170
170
|
customerId: z.string().min(1).describe("Required. Immutable ID of the Google Workspace account."),
|
|
171
171
|
filter: z.string().describe("Optional. Search string in the format given at [List query operators](https://developers.google.com/workspace/admin/directory/v1/list-query-operators).").optional(),
|
|
172
172
|
includeChildOrgunits: coerceBoolean.describe("Optional. Return devices from all child orgunits, as well as the specified org unit. If this is set to true, 'orgUnitPath' must be provided.").optional(),
|
|
173
173
|
orgUnitPath: z.string().describe("Optional. The full path of the organizational unit (minus the leading `/`) or its unique ID.").optional(),
|
|
174
174
|
fields: z.string().optional().describe('Response field mask.'),
|
|
175
175
|
},
|
|
176
|
-
});
|
|
176
|
+
}, deps);
|
|
177
177
|
registerGeneratedTool(registry, {
|
|
178
178
|
name: "admin_customer_devices_chromeos_issue_command",
|
|
179
179
|
cud: "create",
|
|
@@ -183,14 +183,14 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
183
183
|
hasBody: true,
|
|
184
184
|
bodyParams: [{ "field": "commandType", "api": "commandType" }, { "field": "payload", "api": "payload" }],
|
|
185
185
|
shape: {
|
|
186
|
-
account: accountField(),
|
|
186
|
+
account: accountField(registry.accountAliases()),
|
|
187
187
|
customerId: z.string().min(1).describe("Immutable. ID of the Google Workspace account."),
|
|
188
188
|
deviceId: z.string().min(1).describe("Immutable. ID of Chrome OS Device."),
|
|
189
189
|
commandType: z.enum(["COMMAND_TYPE_UNSPECIFIED", "REBOOT", "TAKE_A_SCREENSHOT", "SET_VOLUME", "WIPE_USERS", "REMOTE_POWERWASH", "DEVICE_START_CRD_SESSION", "CAPTURE_LOGS", "FETCH_CRD_AVAILABILITY_INFO", "FETCH_SUPPORT_PACKET"]).describe("The type of command.").optional(),
|
|
190
190
|
payload: z.string().describe("The payload for the command, provide it only if command supports it. The following commands support adding payload: * `SET_VOLUME`: Payload is a stringified JSON object in the form: { \"volume\": 50 }. ").optional(),
|
|
191
191
|
fields: z.string().optional().describe('Response field mask.'),
|
|
192
192
|
},
|
|
193
|
-
});
|
|
193
|
+
}, deps);
|
|
194
194
|
registerGeneratedTool(registry, {
|
|
195
195
|
name: "admin_customers_chrome_printers_batch_create_printers",
|
|
196
196
|
cud: "create",
|
|
@@ -199,12 +199,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
199
199
|
params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
200
200
|
hasBody: true,
|
|
201
201
|
shape: {
|
|
202
|
-
account: accountField(),
|
|
202
|
+
account: accountField(registry.accountAliases()),
|
|
203
203
|
parent: z.string().min(1).describe("Required. The name of the customer. Format: customers/{customer_id}"),
|
|
204
204
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("BatchCreatePrintersRequest JSON request body. Top-level fields: requests."),
|
|
205
205
|
fields: z.string().optional().describe('Response field mask.'),
|
|
206
206
|
},
|
|
207
|
-
});
|
|
207
|
+
}, deps);
|
|
208
208
|
registerGeneratedTool(registry, {
|
|
209
209
|
name: "admin_customers_chrome_printers_batch_delete_printers",
|
|
210
210
|
cud: "delete",
|
|
@@ -214,12 +214,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
214
214
|
hasBody: true,
|
|
215
215
|
bodyParams: [{ "field": "printerIds", "api": "printerIds" }],
|
|
216
216
|
shape: {
|
|
217
|
-
account: accountField(),
|
|
217
|
+
account: accountField(registry.accountAliases()),
|
|
218
218
|
parent: z.string().min(1).describe("Required. The name of the customer. Format: customers/{customer_id}"),
|
|
219
219
|
printerIds: coerceArray(z.string()).describe("A list of Printer.id that should be deleted. Max 100 at a time.").optional(),
|
|
220
220
|
fields: z.string().optional().describe('Response field mask.'),
|
|
221
221
|
},
|
|
222
|
-
});
|
|
222
|
+
}, deps);
|
|
223
223
|
registerGeneratedTool(registry, {
|
|
224
224
|
name: "admin_customers_chrome_printers_create",
|
|
225
225
|
cud: "create",
|
|
@@ -228,12 +228,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
228
228
|
params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
229
229
|
hasBody: true,
|
|
230
230
|
shape: {
|
|
231
|
-
account: accountField(),
|
|
231
|
+
account: accountField(registry.accountAliases()),
|
|
232
232
|
parent: z.string().min(1).describe("Required. The name of the customer. Format: customers/{customer_id}"),
|
|
233
233
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Printer JSON request body. Top-level fields: auxiliaryMessages, createTime, description, displayName, id, makeAndModel, name, orgUnitId, uri, useDriverlessConfig."),
|
|
234
234
|
fields: z.string().optional().describe('Response field mask.'),
|
|
235
235
|
},
|
|
236
|
-
});
|
|
236
|
+
}, deps);
|
|
237
237
|
registerGeneratedTool(registry, {
|
|
238
238
|
name: "admin_customers_chrome_printers_delete",
|
|
239
239
|
cud: "delete",
|
|
@@ -242,11 +242,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
242
242
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
243
243
|
hasBody: false,
|
|
244
244
|
shape: {
|
|
245
|
-
account: accountField(),
|
|
245
|
+
account: accountField(registry.accountAliases()),
|
|
246
246
|
name: z.string().min(1).describe("Required. The name of the printer to be updated. Format: customers/{customer_id}/chrome/printers/{printer_id}"),
|
|
247
247
|
fields: z.string().optional().describe('Response field mask.'),
|
|
248
248
|
},
|
|
249
|
-
});
|
|
249
|
+
}, deps);
|
|
250
250
|
registerGeneratedTool(registry, {
|
|
251
251
|
name: "admin_customers_chrome_printers_get",
|
|
252
252
|
cud: "read",
|
|
@@ -255,11 +255,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
255
255
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
256
256
|
hasBody: false,
|
|
257
257
|
shape: {
|
|
258
|
-
account: accountField(),
|
|
258
|
+
account: accountField(registry.accountAliases()),
|
|
259
259
|
name: z.string().min(1).describe("Required. The name of the printer to retrieve. Format: customers/{customer_id}/chrome/printers/{printer_id}"),
|
|
260
260
|
fields: z.string().optional().describe('Response field mask.'),
|
|
261
261
|
},
|
|
262
|
-
});
|
|
262
|
+
}, deps);
|
|
263
263
|
registerGeneratedTool(registry, {
|
|
264
264
|
name: "admin_customers_chrome_printers_list",
|
|
265
265
|
cud: "read",
|
|
@@ -268,7 +268,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
268
268
|
params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "filter", "api": "filter", "location": "query" }, { "field": "orderBy", "api": "orderBy", "location": "query" }, { "field": "orgUnitId", "api": "orgUnitId", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
269
269
|
hasBody: false,
|
|
270
270
|
shape: {
|
|
271
|
-
account: accountField(),
|
|
271
|
+
account: accountField(registry.accountAliases()),
|
|
272
272
|
parent: z.string().min(1).describe("Required. The name of the customer who owns this collection of printers. Format: customers/{customer_id}"),
|
|
273
273
|
filter: z.string().describe("Search query. Search syntax is shared between this api and Admin Console printers pages.").optional(),
|
|
274
274
|
orderBy: z.string().describe("The order to sort results by. Must be one of display_name, description, make_and_model, or create_time. Default order is ascending, but descending order can be returned by appending \"desc\" to the orde").optional(),
|
|
@@ -277,7 +277,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
277
277
|
pageToken: z.string().describe("A page token, received from a previous call.").optional(),
|
|
278
278
|
fields: z.string().optional().describe('Response field mask.'),
|
|
279
279
|
},
|
|
280
|
-
});
|
|
280
|
+
}, deps);
|
|
281
281
|
registerGeneratedTool(registry, {
|
|
282
282
|
name: "admin_customers_chrome_printers_list_printer_models",
|
|
283
283
|
cud: "read",
|
|
@@ -286,14 +286,14 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
286
286
|
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" }],
|
|
287
287
|
hasBody: false,
|
|
288
288
|
shape: {
|
|
289
|
-
account: accountField(),
|
|
289
|
+
account: accountField(registry.accountAliases()),
|
|
290
290
|
parent: z.string().min(1).describe("Required. The name of the customer who owns this collection of printers. Format: customers/{customer_id}"),
|
|
291
291
|
filter: z.string().describe("Filer to list only models by a given manufacturer in format: \"manufacturer:Brother\". Search syntax is shared between this api and Admin Console printers pages.").optional(),
|
|
292
292
|
pageSize: z.number().describe("The maximum number of objects to return. The service may return fewer than this value.").optional(),
|
|
293
293
|
pageToken: z.string().describe("A page token, received from a previous call.").optional(),
|
|
294
294
|
fields: z.string().optional().describe('Response field mask.'),
|
|
295
295
|
},
|
|
296
|
-
});
|
|
296
|
+
}, deps);
|
|
297
297
|
registerGeneratedTool(registry, {
|
|
298
298
|
name: "admin_customers_chrome_printers_patch",
|
|
299
299
|
cud: "update",
|
|
@@ -302,14 +302,14 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
302
302
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "clearMask", "api": "clearMask", "location": "query" }, { "field": "updateMask", "api": "updateMask", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
303
303
|
hasBody: true,
|
|
304
304
|
shape: {
|
|
305
|
-
account: accountField(),
|
|
305
|
+
account: accountField(registry.accountAliases()),
|
|
306
306
|
name: z.string().min(1).describe("Identifier. The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty)"),
|
|
307
307
|
clearMask: z.string().describe("The list of fields to be cleared. Note, some of the fields are read only and cannot be updated. Values for not specified fields will be patched.").optional(),
|
|
308
308
|
updateMask: z.string().describe("The list of fields to be updated. Note, some of the fields are read only and cannot be updated. Values for not specified fields will be patched.").optional(),
|
|
309
309
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Printer JSON request body. Top-level fields: auxiliaryMessages, createTime, description, displayName, id, makeAndModel, name, orgUnitId, uri, useDriverlessConfig."),
|
|
310
310
|
fields: z.string().optional().describe('Response field mask.'),
|
|
311
311
|
},
|
|
312
|
-
});
|
|
312
|
+
}, deps);
|
|
313
313
|
registerGeneratedTool(registry, {
|
|
314
314
|
name: "admin_customers_chrome_print_servers_batch_create_print_servers",
|
|
315
315
|
cud: "create",
|
|
@@ -318,12 +318,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
318
318
|
params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
319
319
|
hasBody: true,
|
|
320
320
|
shape: {
|
|
321
|
-
account: accountField(),
|
|
321
|
+
account: accountField(registry.accountAliases()),
|
|
322
322
|
parent: z.string().min(1).describe("Required. The [unique ID](https://developers.google.com/workspace/admin/directory/reference/rest/v1/customers) of the customer's Google Workspace account. Format: `customers/{id}`"),
|
|
323
323
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("BatchCreatePrintServersRequest JSON request body. Top-level fields: requests."),
|
|
324
324
|
fields: z.string().optional().describe('Response field mask.'),
|
|
325
325
|
},
|
|
326
|
-
});
|
|
326
|
+
}, deps);
|
|
327
327
|
registerGeneratedTool(registry, {
|
|
328
328
|
name: "admin_customers_chrome_print_servers_batch_delete_print_servers",
|
|
329
329
|
cud: "delete",
|
|
@@ -333,12 +333,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
333
333
|
hasBody: true,
|
|
334
334
|
bodyParams: [{ "field": "printServerIds", "api": "printServerIds" }],
|
|
335
335
|
shape: {
|
|
336
|
-
account: accountField(),
|
|
336
|
+
account: accountField(registry.accountAliases()),
|
|
337
337
|
parent: z.string().min(1).describe("Required. The [unique ID](https://developers.google.com/workspace/admin/directory/reference/rest/v1/customers) of the customer's Google Workspace account. Format: `customers/{customer.id}`"),
|
|
338
338
|
printServerIds: coerceArray(z.string()).describe("A list of print server IDs that should be deleted (max `100` per batch).").optional(),
|
|
339
339
|
fields: z.string().optional().describe('Response field mask.'),
|
|
340
340
|
},
|
|
341
|
-
});
|
|
341
|
+
}, deps);
|
|
342
342
|
registerGeneratedTool(registry, {
|
|
343
343
|
name: "admin_customers_chrome_print_servers_create",
|
|
344
344
|
cud: "create",
|
|
@@ -348,7 +348,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
348
348
|
hasBody: true,
|
|
349
349
|
bodyParams: [{ "field": "createTime", "api": "createTime" }, { "field": "description", "api": "description" }, { "field": "displayName", "api": "displayName" }, { "field": "id", "api": "id" }, { "field": "name", "api": "name" }, { "field": "orgUnitId", "api": "orgUnitId" }, { "field": "uri", "api": "uri" }],
|
|
350
350
|
shape: {
|
|
351
|
-
account: accountField(),
|
|
351
|
+
account: accountField(registry.accountAliases()),
|
|
352
352
|
parent: z.string().min(1).describe("Required. The [unique ID](https://developers.google.com/workspace/admin/directory/reference/rest/v1/customers) of the customer's Google Workspace account. Format: `customers/{id}`"),
|
|
353
353
|
createTime: z.string().describe("Output only. Time when the print server was created.").optional(),
|
|
354
354
|
description: z.string().describe("Editable. Description of the print server (as shown in the Admin console).").optional(),
|
|
@@ -359,7 +359,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
359
359
|
uri: z.string().describe("Editable. Print server URI.").optional(),
|
|
360
360
|
fields: z.string().optional().describe('Response field mask.'),
|
|
361
361
|
},
|
|
362
|
-
});
|
|
362
|
+
}, deps);
|
|
363
363
|
registerGeneratedTool(registry, {
|
|
364
364
|
name: "admin_customers_chrome_print_servers_delete",
|
|
365
365
|
cud: "delete",
|
|
@@ -368,11 +368,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
368
368
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
369
369
|
hasBody: false,
|
|
370
370
|
shape: {
|
|
371
|
-
account: accountField(),
|
|
371
|
+
account: accountField(registry.accountAliases()),
|
|
372
372
|
name: z.string().min(1).describe("Required. The name of the print server to be deleted. Format: `customers/{customer.id}/chrome/printServers/{print_server.id}`"),
|
|
373
373
|
fields: z.string().optional().describe('Response field mask.'),
|
|
374
374
|
},
|
|
375
|
-
});
|
|
375
|
+
}, deps);
|
|
376
376
|
registerGeneratedTool(registry, {
|
|
377
377
|
name: "admin_customers_chrome_print_servers_get",
|
|
378
378
|
cud: "read",
|
|
@@ -381,11 +381,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
381
381
|
params: [{ "field": "name", "api": "name", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
382
382
|
hasBody: false,
|
|
383
383
|
shape: {
|
|
384
|
-
account: accountField(),
|
|
384
|
+
account: accountField(registry.accountAliases()),
|
|
385
385
|
name: z.string().min(1).describe("Required. The [unique ID](https://developers.google.com/workspace/admin/directory/reference/rest/v1/customers) of the customer's Google Workspace account. Format: `customers/{id}`"),
|
|
386
386
|
fields: z.string().optional().describe('Response field mask.'),
|
|
387
387
|
},
|
|
388
|
-
});
|
|
388
|
+
}, deps);
|
|
389
389
|
registerGeneratedTool(registry, {
|
|
390
390
|
name: "admin_customers_chrome_print_servers_list",
|
|
391
391
|
cud: "read",
|
|
@@ -394,7 +394,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
394
394
|
params: [{ "field": "parent", "api": "parent", "location": "path" }, { "field": "filter", "api": "filter", "location": "query" }, { "field": "orderBy", "api": "orderBy", "location": "query" }, { "field": "orgUnitId", "api": "orgUnitId", "location": "query" }, { "field": "pageSize", "api": "pageSize", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
395
395
|
hasBody: false,
|
|
396
396
|
shape: {
|
|
397
|
-
account: accountField(),
|
|
397
|
+
account: accountField(registry.accountAliases()),
|
|
398
398
|
parent: z.string().min(1).describe("Required. The [unique ID](https://developers.google.com/workspace/admin/directory/reference/rest/v1/customers) of the customer's Google Workspace account. Format: `customers/{id}`"),
|
|
399
399
|
filter: z.string().describe("Search query in [Common Expression Language syntax](https://github.com/google/cel-spec). Supported filters are `display_name`, `description`, and `uri`. Example: `printServer.displayName=='marketing-q").optional(),
|
|
400
400
|
orderBy: z.string().describe("Sort order for results. Supported values are `display_name`, `description`, or `create_time`. Default order is ascending, but descending order can be returned by appending \"desc\" to the `order_by` fie").optional(),
|
|
@@ -403,7 +403,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
403
403
|
pageToken: z.string().describe("A generated token to paginate results (the `next_page_token` from a previous call).").optional(),
|
|
404
404
|
fields: z.string().optional().describe('Response field mask.'),
|
|
405
405
|
},
|
|
406
|
-
});
|
|
406
|
+
}, deps);
|
|
407
407
|
registerGeneratedTool(registry, {
|
|
408
408
|
name: "admin_customers_chrome_print_servers_patch",
|
|
409
409
|
cud: "update",
|
|
@@ -413,7 +413,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
413
413
|
hasBody: true,
|
|
414
414
|
bodyParams: [{ "field": "createTime", "api": "createTime" }, { "field": "description", "api": "description" }, { "field": "displayName", "api": "displayName" }, { "field": "id", "api": "id" }, { "field": "name_", "api": "name" }, { "field": "orgUnitId", "api": "orgUnitId" }, { "field": "uri", "api": "uri" }],
|
|
415
415
|
shape: {
|
|
416
|
-
account: accountField(),
|
|
416
|
+
account: accountField(registry.accountAliases()),
|
|
417
417
|
name: z.string().min(1).describe("Identifier. Resource name of the print server. Leave empty when creating. Format: `customers/{customer.id}/printServers/{print_server.id}`"),
|
|
418
418
|
updateMask: z.string().describe("The list of fields to update. Some fields are read-only and cannot be updated. Values for unspecified fields are patched.").optional(),
|
|
419
419
|
createTime: z.string().describe("Output only. Time when the print server was created.").optional(),
|
|
@@ -425,7 +425,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
425
425
|
uri: z.string().describe("Editable. Print server URI.").optional(),
|
|
426
426
|
fields: z.string().optional().describe('Response field mask.'),
|
|
427
427
|
},
|
|
428
|
-
});
|
|
428
|
+
}, deps);
|
|
429
429
|
registerGeneratedTool(registry, {
|
|
430
430
|
name: "admin_asps_delete",
|
|
431
431
|
cud: "delete",
|
|
@@ -434,12 +434,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
434
434
|
params: [{ "field": "codeId", "api": "codeId", "location": "path" }, { "field": "userKey", "api": "userKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
435
435
|
hasBody: false,
|
|
436
436
|
shape: {
|
|
437
|
-
account: accountField(),
|
|
437
|
+
account: accountField(registry.accountAliases()),
|
|
438
438
|
codeId: z.number().describe("The unique ID of the ASP to be deleted."),
|
|
439
439
|
userKey: z.string().min(1).describe("Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID."),
|
|
440
440
|
fields: z.string().optional().describe('Response field mask.'),
|
|
441
441
|
},
|
|
442
|
-
});
|
|
442
|
+
}, deps);
|
|
443
443
|
registerGeneratedTool(registry, {
|
|
444
444
|
name: "admin_asps_get",
|
|
445
445
|
cud: "read",
|
|
@@ -448,12 +448,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
448
448
|
params: [{ "field": "codeId", "api": "codeId", "location": "path" }, { "field": "userKey", "api": "userKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
449
449
|
hasBody: false,
|
|
450
450
|
shape: {
|
|
451
|
-
account: accountField(),
|
|
451
|
+
account: accountField(registry.accountAliases()),
|
|
452
452
|
codeId: z.number().describe("The unique ID of the ASP."),
|
|
453
453
|
userKey: z.string().min(1).describe("Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID."),
|
|
454
454
|
fields: z.string().optional().describe('Response field mask.'),
|
|
455
455
|
},
|
|
456
|
-
});
|
|
456
|
+
}, deps);
|
|
457
457
|
registerGeneratedTool(registry, {
|
|
458
458
|
name: "admin_asps_list",
|
|
459
459
|
cud: "read",
|
|
@@ -462,11 +462,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
462
462
|
params: [{ "field": "userKey", "api": "userKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
463
463
|
hasBody: false,
|
|
464
464
|
shape: {
|
|
465
|
-
account: accountField(),
|
|
465
|
+
account: accountField(registry.accountAliases()),
|
|
466
466
|
userKey: z.string().min(1).describe("Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID."),
|
|
467
467
|
fields: z.string().optional().describe('Response field mask.'),
|
|
468
468
|
},
|
|
469
|
-
});
|
|
469
|
+
}, deps);
|
|
470
470
|
registerGeneratedTool(registry, {
|
|
471
471
|
name: "admin_chromeosdevices_action",
|
|
472
472
|
cud: "delete",
|
|
@@ -476,14 +476,14 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
476
476
|
hasBody: true,
|
|
477
477
|
bodyParams: [{ "field": "action", "api": "action" }, { "field": "deprovisionReason", "api": "deprovisionReason" }],
|
|
478
478
|
shape: {
|
|
479
|
-
account: accountField(),
|
|
479
|
+
account: accountField(registry.accountAliases()),
|
|
480
480
|
customerId: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also retu"),
|
|
481
481
|
resourceId: z.string().min(1).describe("The unique ID of the device. The `resourceId`s are returned in the response from the [chromeosdevices.list](https://developers.google.com/workspace/admin/directory/v1/reference/chromeosdevices/list) m"),
|
|
482
482
|
action: z.string().min(1).describe("Action to be taken on the Chrome OS device."),
|
|
483
483
|
deprovisionReason: z.string().describe("Only used when the action is `deprovision`. With the `deprovision` action, this field is required. *Note*: The deprovision reason is audited because it might have implications on licenses for perpetua").optional(),
|
|
484
484
|
fields: z.string().optional().describe('Response field mask.'),
|
|
485
485
|
},
|
|
486
|
-
});
|
|
486
|
+
}, deps);
|
|
487
487
|
registerGeneratedTool(registry, {
|
|
488
488
|
name: "admin_chromeosdevices_get",
|
|
489
489
|
cud: "read",
|
|
@@ -492,13 +492,13 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
492
492
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "deviceId", "api": "deviceId", "location": "path" }, { "field": "projection", "api": "projection", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
493
493
|
hasBody: false,
|
|
494
494
|
shape: {
|
|
495
|
-
account: accountField(),
|
|
495
|
+
account: accountField(registry.accountAliases()),
|
|
496
496
|
customerId: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also retu"),
|
|
497
497
|
deviceId: z.string().min(1).describe("The unique ID of the device. The `deviceId`s are returned in the response from the [chromeosdevices.list](https://developers.google.com/workspace/admin/directory/v1/reference/chromeosdevices/list) met"),
|
|
498
498
|
projection: z.enum(["BASIC", "FULL"]).describe("Determines whether the response contains the full list of properties or only a subset.").optional(),
|
|
499
499
|
fields: z.string().optional().describe('Response field mask.'),
|
|
500
500
|
},
|
|
501
|
-
});
|
|
501
|
+
}, deps);
|
|
502
502
|
registerGeneratedTool(registry, {
|
|
503
503
|
name: "admin_chromeosdevices_list",
|
|
504
504
|
cud: "read",
|
|
@@ -507,7 +507,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
507
507
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "includeChildOrgunits", "api": "includeChildOrgunits", "location": "query" }, { "field": "maxResults", "api": "maxResults", "location": "query" }, { "field": "orderBy", "api": "orderBy", "location": "query" }, { "field": "orgUnitPath", "api": "orgUnitPath", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "projection", "api": "projection", "location": "query" }, { "field": "query", "api": "query", "location": "query" }, { "field": "sortOrder", "api": "sortOrder", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
508
508
|
hasBody: false,
|
|
509
509
|
shape: {
|
|
510
|
-
account: accountField(),
|
|
510
|
+
account: accountField(registry.accountAliases()),
|
|
511
511
|
customerId: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also retu"),
|
|
512
512
|
includeChildOrgunits: coerceBoolean.describe("Return devices from all child orgunits, as well as the specified org unit. If this is set to true, 'orgUnitPath' must be provided.").optional(),
|
|
513
513
|
maxResults: z.number().describe("Maximum number of results to return. Value should not exceed 300.").optional(),
|
|
@@ -519,7 +519,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
519
519
|
sortOrder: z.enum(["ASCENDING", "DESCENDING"]).describe("Whether to return results in ascending or descending order. Must be used with the `orderBy` parameter.").optional(),
|
|
520
520
|
fields: z.string().optional().describe('Response field mask.'),
|
|
521
521
|
},
|
|
522
|
-
});
|
|
522
|
+
}, deps);
|
|
523
523
|
registerGeneratedTool(registry, {
|
|
524
524
|
name: "admin_chromeosdevices_move_devices_to_ou",
|
|
525
525
|
cud: "update",
|
|
@@ -529,13 +529,13 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
529
529
|
hasBody: true,
|
|
530
530
|
bodyParams: [{ "field": "deviceIds", "api": "deviceIds" }],
|
|
531
531
|
shape: {
|
|
532
|
-
account: accountField(),
|
|
532
|
+
account: accountField(registry.accountAliases()),
|
|
533
533
|
customerId: z.string().min(1).describe("Immutable. ID of the Google Workspace account"),
|
|
534
534
|
orgUnitPath: z.string().min(1).describe("Full path of the target organizational unit or its ID"),
|
|
535
535
|
deviceIds: coerceArray(z.string()).describe("Chrome OS devices to be moved to OU"),
|
|
536
536
|
fields: z.string().optional().describe('Response field mask.'),
|
|
537
537
|
},
|
|
538
|
-
});
|
|
538
|
+
}, deps);
|
|
539
539
|
registerGeneratedTool(registry, {
|
|
540
540
|
name: "admin_chromeosdevices_patch",
|
|
541
541
|
cud: "update",
|
|
@@ -544,14 +544,14 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
544
544
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "deviceId", "api": "deviceId", "location": "path" }, { "field": "projection", "api": "projection", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
545
545
|
hasBody: true,
|
|
546
546
|
shape: {
|
|
547
|
-
account: accountField(),
|
|
547
|
+
account: accountField(registry.accountAliases()),
|
|
548
548
|
customerId: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also retu"),
|
|
549
549
|
deviceId: z.string().min(1).describe("The unique ID of the device. The `deviceId`s are returned in the response from the [chromeosdevices.list](https://developers.google.com/workspace/admin/v1/reference/chromeosdevices/list) method."),
|
|
550
550
|
projection: z.enum(["BASIC", "FULL"]).describe("Determines whether the response contains the full list of properties or only a subset.").optional(),
|
|
551
551
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("ChromeOsDevice JSON request body. Top-level fields: activeTimeRanges, annotatedAssetId, annotatedLocation, annotatedUser, autoUpdateExpiration, autoUpdateThrough, backlightInfo, bluetoothAdapterInfo, bootMode, chromeOsType, cpuInfo, cpuStatusReports, +42 more."),
|
|
552
552
|
fields: z.string().optional().describe('Response field mask.'),
|
|
553
553
|
},
|
|
554
|
-
});
|
|
554
|
+
}, deps);
|
|
555
555
|
registerGeneratedTool(registry, {
|
|
556
556
|
name: "admin_chromeosdevices_update",
|
|
557
557
|
cud: "update",
|
|
@@ -560,14 +560,14 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
560
560
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "deviceId", "api": "deviceId", "location": "path" }, { "field": "projection", "api": "projection", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
561
561
|
hasBody: true,
|
|
562
562
|
shape: {
|
|
563
|
-
account: accountField(),
|
|
563
|
+
account: accountField(registry.accountAliases()),
|
|
564
564
|
customerId: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also retu"),
|
|
565
565
|
deviceId: z.string().min(1).describe("The unique ID of the device. The `deviceId`s are returned in the response from the [chromeosdevices.list](https://developers.google.com/workspace/admin/v1/reference/chromeosdevices/list) method."),
|
|
566
566
|
projection: z.enum(["BASIC", "FULL"]).describe("Determines whether the response contains the full list of properties or only a subset.").optional(),
|
|
567
567
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("ChromeOsDevice JSON request body. Top-level fields: activeTimeRanges, annotatedAssetId, annotatedLocation, annotatedUser, autoUpdateExpiration, autoUpdateThrough, backlightInfo, bluetoothAdapterInfo, bootMode, chromeOsType, cpuInfo, cpuStatusReports, +42 more."),
|
|
568
568
|
fields: z.string().optional().describe('Response field mask.'),
|
|
569
569
|
},
|
|
570
|
-
});
|
|
570
|
+
}, deps);
|
|
571
571
|
registerGeneratedTool(registry, {
|
|
572
572
|
name: "admin_customers_get",
|
|
573
573
|
cud: "read",
|
|
@@ -576,11 +576,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
576
576
|
params: [{ "field": "customerKey", "api": "customerKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
577
577
|
hasBody: false,
|
|
578
578
|
shape: {
|
|
579
|
-
account: accountField(),
|
|
579
|
+
account: accountField(registry.accountAliases()),
|
|
580
580
|
customerKey: z.string().min(1).describe("Id of the customer to be retrieved"),
|
|
581
581
|
fields: z.string().optional().describe('Response field mask.'),
|
|
582
582
|
},
|
|
583
|
-
});
|
|
583
|
+
}, deps);
|
|
584
584
|
registerGeneratedTool(registry, {
|
|
585
585
|
name: "admin_customers_patch",
|
|
586
586
|
cud: "update",
|
|
@@ -589,12 +589,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
589
589
|
params: [{ "field": "customerKey", "api": "customerKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
590
590
|
hasBody: true,
|
|
591
591
|
shape: {
|
|
592
|
-
account: accountField(),
|
|
592
|
+
account: accountField(registry.accountAliases()),
|
|
593
593
|
customerKey: z.string().min(1).describe("Id of the customer to be updated"),
|
|
594
594
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Customer JSON request body. Top-level fields: alternateEmail, customerCreationTime, customerDomain, etag, id, kind, language, phoneNumber, postalAddress."),
|
|
595
595
|
fields: z.string().optional().describe('Response field mask.'),
|
|
596
596
|
},
|
|
597
|
-
});
|
|
597
|
+
}, deps);
|
|
598
598
|
registerGeneratedTool(registry, {
|
|
599
599
|
name: "admin_customers_update",
|
|
600
600
|
cud: "update",
|
|
@@ -603,12 +603,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
603
603
|
params: [{ "field": "customerKey", "api": "customerKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
604
604
|
hasBody: true,
|
|
605
605
|
shape: {
|
|
606
|
-
account: accountField(),
|
|
606
|
+
account: accountField(registry.accountAliases()),
|
|
607
607
|
customerKey: z.string().min(1).describe("Id of the customer to be updated"),
|
|
608
608
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Customer JSON request body. Top-level fields: alternateEmail, customerCreationTime, customerDomain, etag, id, kind, language, phoneNumber, postalAddress."),
|
|
609
609
|
fields: z.string().optional().describe('Response field mask.'),
|
|
610
610
|
},
|
|
611
|
-
});
|
|
611
|
+
}, deps);
|
|
612
612
|
registerGeneratedTool(registry, {
|
|
613
613
|
name: "admin_domain_aliases_delete",
|
|
614
614
|
cud: "delete",
|
|
@@ -617,12 +617,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
617
617
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "domainAliasName", "api": "domainAliasName", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
618
618
|
hasBody: false,
|
|
619
619
|
shape: {
|
|
620
|
-
account: accountField(),
|
|
620
|
+
account: accountField(registry.accountAliases()),
|
|
621
621
|
customer: z.string().min(1).describe("Immutable ID of the Google Workspace account."),
|
|
622
622
|
domainAliasName: z.string().min(1).describe("Name of domain alias to be retrieved."),
|
|
623
623
|
fields: z.string().optional().describe('Response field mask.'),
|
|
624
624
|
},
|
|
625
|
-
});
|
|
625
|
+
}, deps);
|
|
626
626
|
registerGeneratedTool(registry, {
|
|
627
627
|
name: "admin_domain_aliases_get",
|
|
628
628
|
cud: "read",
|
|
@@ -631,12 +631,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
631
631
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "domainAliasName", "api": "domainAliasName", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
632
632
|
hasBody: false,
|
|
633
633
|
shape: {
|
|
634
|
-
account: accountField(),
|
|
634
|
+
account: accountField(registry.accountAliases()),
|
|
635
635
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer`"),
|
|
636
636
|
domainAliasName: z.string().min(1).describe("Name of domain alias to be retrieved."),
|
|
637
637
|
fields: z.string().optional().describe('Response field mask.'),
|
|
638
638
|
},
|
|
639
|
-
});
|
|
639
|
+
}, deps);
|
|
640
640
|
registerGeneratedTool(registry, {
|
|
641
641
|
name: "admin_domain_aliases_insert",
|
|
642
642
|
cud: "create",
|
|
@@ -646,7 +646,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
646
646
|
hasBody: true,
|
|
647
647
|
bodyParams: [{ "field": "creationTime", "api": "creationTime" }, { "field": "domainAliasName", "api": "domainAliasName" }, { "field": "etag", "api": "etag" }, { "field": "kind", "api": "kind" }, { "field": "parentDomainName", "api": "parentDomainName" }, { "field": "verified", "api": "verified" }],
|
|
648
648
|
shape: {
|
|
649
|
-
account: accountField(),
|
|
649
|
+
account: accountField(registry.accountAliases()),
|
|
650
650
|
customer: z.string().min(1).describe("Immutable ID of the Google Workspace account."),
|
|
651
651
|
creationTime: z.string().describe("The creation time of the domain alias. (Read-only).").optional(),
|
|
652
652
|
domainAliasName: z.string().describe("The domain alias name.").optional(),
|
|
@@ -656,7 +656,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
656
656
|
verified: coerceBoolean.describe("Indicates the verification state of a domain alias. (Read-only)").optional(),
|
|
657
657
|
fields: z.string().optional().describe('Response field mask.'),
|
|
658
658
|
},
|
|
659
|
-
});
|
|
659
|
+
}, deps);
|
|
660
660
|
registerGeneratedTool(registry, {
|
|
661
661
|
name: "admin_domain_aliases_list",
|
|
662
662
|
cud: "read",
|
|
@@ -665,12 +665,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
665
665
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "parentDomainName", "api": "parentDomainName", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
666
666
|
hasBody: false,
|
|
667
667
|
shape: {
|
|
668
|
-
account: accountField(),
|
|
668
|
+
account: accountField(registry.accountAliases()),
|
|
669
669
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer`"),
|
|
670
670
|
parentDomainName: z.string().describe("Name of the parent domain for which domain aliases are to be fetched.").optional(),
|
|
671
671
|
fields: z.string().optional().describe('Response field mask.'),
|
|
672
672
|
},
|
|
673
|
-
});
|
|
673
|
+
}, deps);
|
|
674
674
|
registerGeneratedTool(registry, {
|
|
675
675
|
name: "admin_domains_delete",
|
|
676
676
|
cud: "delete",
|
|
@@ -679,12 +679,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
679
679
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "domainName", "api": "domainName", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
680
680
|
hasBody: false,
|
|
681
681
|
shape: {
|
|
682
|
-
account: accountField(),
|
|
682
|
+
account: accountField(registry.accountAliases()),
|
|
683
683
|
customer: z.string().min(1).describe("Immutable ID of the Google Workspace account."),
|
|
684
684
|
domainName: z.string().min(1).describe("Name of domain to be deleted"),
|
|
685
685
|
fields: z.string().optional().describe('Response field mask.'),
|
|
686
686
|
},
|
|
687
|
-
});
|
|
687
|
+
}, deps);
|
|
688
688
|
registerGeneratedTool(registry, {
|
|
689
689
|
name: "admin_domains_get",
|
|
690
690
|
cud: "read",
|
|
@@ -693,12 +693,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
693
693
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "domainName", "api": "domainName", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
694
694
|
hasBody: false,
|
|
695
695
|
shape: {
|
|
696
|
-
account: accountField(),
|
|
696
|
+
account: accountField(registry.accountAliases()),
|
|
697
697
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer`"),
|
|
698
698
|
domainName: z.string().min(1).describe("Name of domain to be retrieved"),
|
|
699
699
|
fields: z.string().optional().describe('Response field mask.'),
|
|
700
700
|
},
|
|
701
|
-
});
|
|
701
|
+
}, deps);
|
|
702
702
|
registerGeneratedTool(registry, {
|
|
703
703
|
name: "admin_domains_insert",
|
|
704
704
|
cud: "create",
|
|
@@ -707,12 +707,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
707
707
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
708
708
|
hasBody: true,
|
|
709
709
|
shape: {
|
|
710
|
-
account: accountField(),
|
|
710
|
+
account: accountField(registry.accountAliases()),
|
|
711
711
|
customer: z.string().min(1).describe("Immutable ID of the Google Workspace account."),
|
|
712
712
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Domains JSON request body. Top-level fields: creationTime, domainAliases, domainName, etag, isPrimary, kind, verified."),
|
|
713
713
|
fields: z.string().optional().describe('Response field mask.'),
|
|
714
714
|
},
|
|
715
|
-
});
|
|
715
|
+
}, deps);
|
|
716
716
|
registerGeneratedTool(registry, {
|
|
717
717
|
name: "admin_domains_list",
|
|
718
718
|
cud: "read",
|
|
@@ -721,11 +721,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
721
721
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
722
722
|
hasBody: false,
|
|
723
723
|
shape: {
|
|
724
|
-
account: accountField(),
|
|
724
|
+
account: accountField(registry.accountAliases()),
|
|
725
725
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer`"),
|
|
726
726
|
fields: z.string().optional().describe('Response field mask.'),
|
|
727
727
|
},
|
|
728
|
-
});
|
|
728
|
+
}, deps);
|
|
729
729
|
registerGeneratedTool(registry, {
|
|
730
730
|
name: "admin_groups_aliases_delete",
|
|
731
731
|
cud: "delete",
|
|
@@ -734,12 +734,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
734
734
|
params: [{ "field": "alias", "api": "alias", "location": "path" }, { "field": "groupKey", "api": "groupKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
735
735
|
hasBody: false,
|
|
736
736
|
shape: {
|
|
737
|
-
account: accountField(),
|
|
737
|
+
account: accountField(registry.accountAliases()),
|
|
738
738
|
alias: z.string().min(1).describe("The alias to be removed"),
|
|
739
739
|
groupKey: z.string().min(1).describe("Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID."),
|
|
740
740
|
fields: z.string().optional().describe('Response field mask.'),
|
|
741
741
|
},
|
|
742
|
-
});
|
|
742
|
+
}, deps);
|
|
743
743
|
registerGeneratedTool(registry, {
|
|
744
744
|
name: "admin_groups_aliases_insert",
|
|
745
745
|
cud: "create",
|
|
@@ -749,7 +749,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
749
749
|
hasBody: true,
|
|
750
750
|
bodyParams: [{ "field": "alias", "api": "alias" }, { "field": "etag", "api": "etag" }, { "field": "id", "api": "id" }, { "field": "kind", "api": "kind" }, { "field": "primaryEmail", "api": "primaryEmail" }],
|
|
751
751
|
shape: {
|
|
752
|
-
account: accountField(),
|
|
752
|
+
account: accountField(registry.accountAliases()),
|
|
753
753
|
groupKey: z.string().min(1).describe("Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID."),
|
|
754
754
|
alias: z.string().optional(),
|
|
755
755
|
etag: z.string().optional(),
|
|
@@ -758,7 +758,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
758
758
|
primaryEmail: z.string().optional(),
|
|
759
759
|
fields: z.string().optional().describe('Response field mask.'),
|
|
760
760
|
},
|
|
761
|
-
});
|
|
761
|
+
}, deps);
|
|
762
762
|
registerGeneratedTool(registry, {
|
|
763
763
|
name: "admin_groups_aliases_list",
|
|
764
764
|
cud: "read",
|
|
@@ -767,11 +767,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
767
767
|
params: [{ "field": "groupKey", "api": "groupKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
768
768
|
hasBody: false,
|
|
769
769
|
shape: {
|
|
770
|
-
account: accountField(),
|
|
770
|
+
account: accountField(registry.accountAliases()),
|
|
771
771
|
groupKey: z.string().min(1).describe("Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID."),
|
|
772
772
|
fields: z.string().optional().describe('Response field mask.'),
|
|
773
773
|
},
|
|
774
|
-
});
|
|
774
|
+
}, deps);
|
|
775
775
|
registerGeneratedTool(registry, {
|
|
776
776
|
name: "admin_groups_delete",
|
|
777
777
|
cud: "delete",
|
|
@@ -780,11 +780,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
780
780
|
params: [{ "field": "groupKey", "api": "groupKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
781
781
|
hasBody: false,
|
|
782
782
|
shape: {
|
|
783
|
-
account: accountField(),
|
|
783
|
+
account: accountField(registry.accountAliases()),
|
|
784
784
|
groupKey: z.string().min(1).describe("Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID."),
|
|
785
785
|
fields: z.string().optional().describe('Response field mask.'),
|
|
786
786
|
},
|
|
787
|
-
});
|
|
787
|
+
}, deps);
|
|
788
788
|
registerGeneratedTool(registry, {
|
|
789
789
|
name: "admin_groups_get",
|
|
790
790
|
cud: "read",
|
|
@@ -793,11 +793,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
793
793
|
params: [{ "field": "groupKey", "api": "groupKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
794
794
|
hasBody: false,
|
|
795
795
|
shape: {
|
|
796
|
-
account: accountField(),
|
|
796
|
+
account: accountField(registry.accountAliases()),
|
|
797
797
|
groupKey: z.string().min(1).describe("Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID."),
|
|
798
798
|
fields: z.string().optional().describe('Response field mask.'),
|
|
799
799
|
},
|
|
800
|
-
});
|
|
800
|
+
}, deps);
|
|
801
801
|
registerGeneratedTool(registry, {
|
|
802
802
|
name: "admin_groups_insert",
|
|
803
803
|
cud: "create",
|
|
@@ -806,11 +806,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
806
806
|
params: [{ "field": "fields", "api": "fields", "location": "query" }],
|
|
807
807
|
hasBody: true,
|
|
808
808
|
shape: {
|
|
809
|
-
account: accountField(),
|
|
809
|
+
account: accountField(registry.accountAliases()),
|
|
810
810
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Group JSON request body. Top-level fields: adminCreated, aliases, description, directMembersCount, email, etag, externalIds, id, kind, name, nonEditableAliases."),
|
|
811
811
|
fields: z.string().optional().describe('Response field mask.'),
|
|
812
812
|
},
|
|
813
|
-
});
|
|
813
|
+
}, deps);
|
|
814
814
|
registerGeneratedTool(registry, {
|
|
815
815
|
name: "admin_groups_patch",
|
|
816
816
|
cud: "update",
|
|
@@ -819,12 +819,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
819
819
|
params: [{ "field": "groupKey", "api": "groupKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
820
820
|
hasBody: true,
|
|
821
821
|
shape: {
|
|
822
|
-
account: accountField(),
|
|
822
|
+
account: accountField(registry.accountAliases()),
|
|
823
823
|
groupKey: z.string().min(1).describe("Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID."),
|
|
824
824
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Group JSON request body. Top-level fields: adminCreated, aliases, description, directMembersCount, email, etag, externalIds, id, kind, name, nonEditableAliases."),
|
|
825
825
|
fields: z.string().optional().describe('Response field mask.'),
|
|
826
826
|
},
|
|
827
|
-
});
|
|
827
|
+
}, deps);
|
|
828
828
|
registerGeneratedTool(registry, {
|
|
829
829
|
name: "admin_groups_update",
|
|
830
830
|
cud: "update",
|
|
@@ -833,12 +833,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
833
833
|
params: [{ "field": "groupKey", "api": "groupKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
834
834
|
hasBody: true,
|
|
835
835
|
shape: {
|
|
836
|
-
account: accountField(),
|
|
836
|
+
account: accountField(registry.accountAliases()),
|
|
837
837
|
groupKey: z.string().min(1).describe("Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID."),
|
|
838
838
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Group JSON request body. Top-level fields: adminCreated, aliases, description, directMembersCount, email, etag, externalIds, id, kind, name, nonEditableAliases."),
|
|
839
839
|
fields: z.string().optional().describe('Response field mask.'),
|
|
840
840
|
},
|
|
841
|
-
});
|
|
841
|
+
}, deps);
|
|
842
842
|
registerGeneratedTool(registry, {
|
|
843
843
|
name: "admin_members_delete",
|
|
844
844
|
cud: "delete",
|
|
@@ -847,12 +847,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
847
847
|
params: [{ "field": "groupKey", "api": "groupKey", "location": "path" }, { "field": "memberKey", "api": "memberKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
848
848
|
hasBody: false,
|
|
849
849
|
shape: {
|
|
850
|
-
account: accountField(),
|
|
850
|
+
account: accountField(registry.accountAliases()),
|
|
851
851
|
groupKey: z.string().min(1).describe("Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID."),
|
|
852
852
|
memberKey: z.string().min(1).describe("Identifies the group member in the API request. A group member can be a user or another group. The value can be the member's (group or user) primary email address, alias, or unique ID."),
|
|
853
853
|
fields: z.string().optional().describe('Response field mask.'),
|
|
854
854
|
},
|
|
855
|
-
});
|
|
855
|
+
}, deps);
|
|
856
856
|
registerGeneratedTool(registry, {
|
|
857
857
|
name: "admin_members_get",
|
|
858
858
|
cud: "read",
|
|
@@ -861,12 +861,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
861
861
|
params: [{ "field": "groupKey", "api": "groupKey", "location": "path" }, { "field": "memberKey", "api": "memberKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
862
862
|
hasBody: false,
|
|
863
863
|
shape: {
|
|
864
|
-
account: accountField(),
|
|
864
|
+
account: accountField(registry.accountAliases()),
|
|
865
865
|
groupKey: z.string().min(1).describe("Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID."),
|
|
866
866
|
memberKey: z.string().min(1).describe("Identifies the group member in the API request. A group member can be a user or another group. The value can be the member's (group or user) primary email address, alias, or unique ID."),
|
|
867
867
|
fields: z.string().optional().describe('Response field mask.'),
|
|
868
868
|
},
|
|
869
|
-
});
|
|
869
|
+
}, deps);
|
|
870
870
|
registerGeneratedTool(registry, {
|
|
871
871
|
name: "admin_members_has_member",
|
|
872
872
|
cud: "read",
|
|
@@ -875,12 +875,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
875
875
|
params: [{ "field": "groupKey", "api": "groupKey", "location": "path" }, { "field": "memberKey", "api": "memberKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
876
876
|
hasBody: false,
|
|
877
877
|
shape: {
|
|
878
|
-
account: accountField(),
|
|
878
|
+
account: accountField(registry.accountAliases()),
|
|
879
879
|
groupKey: z.string().min(1).describe("Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID."),
|
|
880
880
|
memberKey: z.string().min(1).describe("Identifies the user member in the API request. The value can be the user's primary email address, alias, or unique ID."),
|
|
881
881
|
fields: z.string().optional().describe('Response field mask.'),
|
|
882
882
|
},
|
|
883
|
-
});
|
|
883
|
+
}, deps);
|
|
884
884
|
registerGeneratedTool(registry, {
|
|
885
885
|
name: "admin_members_insert",
|
|
886
886
|
cud: "create",
|
|
@@ -890,7 +890,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
890
890
|
hasBody: true,
|
|
891
891
|
bodyParams: [{ "field": "delivery_settings", "api": "delivery_settings" }, { "field": "email", "api": "email" }, { "field": "etag", "api": "etag" }, { "field": "id", "api": "id" }, { "field": "kind", "api": "kind" }, { "field": "role", "api": "role" }, { "field": "status", "api": "status" }, { "field": "type", "api": "type" }],
|
|
892
892
|
shape: {
|
|
893
|
-
account: accountField(),
|
|
893
|
+
account: accountField(registry.accountAliases()),
|
|
894
894
|
groupKey: z.string().min(1).describe("Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID."),
|
|
895
895
|
delivery_settings: z.string().describe("Defines mail delivery preferences of member. This field is only supported by `insert`, `update`, and `get` methods.").optional(),
|
|
896
896
|
email: z.string().describe("The member's email address. A member can be a user or another group. This property is required when adding a member to a group. The `email` must be unique and cannot be an alias of another group. If t").optional(),
|
|
@@ -902,7 +902,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
902
902
|
type: z.string().describe("The type of group member.").optional(),
|
|
903
903
|
fields: z.string().optional().describe('Response field mask.'),
|
|
904
904
|
},
|
|
905
|
-
});
|
|
905
|
+
}, deps);
|
|
906
906
|
registerGeneratedTool(registry, {
|
|
907
907
|
name: "admin_members_patch",
|
|
908
908
|
cud: "update",
|
|
@@ -912,7 +912,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
912
912
|
hasBody: true,
|
|
913
913
|
bodyParams: [{ "field": "delivery_settings", "api": "delivery_settings" }, { "field": "email", "api": "email" }, { "field": "etag", "api": "etag" }, { "field": "id", "api": "id" }, { "field": "kind", "api": "kind" }, { "field": "role", "api": "role" }, { "field": "status", "api": "status" }, { "field": "type", "api": "type" }],
|
|
914
914
|
shape: {
|
|
915
|
-
account: accountField(),
|
|
915
|
+
account: accountField(registry.accountAliases()),
|
|
916
916
|
groupKey: z.string().min(1).describe("Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID."),
|
|
917
917
|
memberKey: z.string().min(1).describe("Identifies the group member in the API request. A group member can be a user or another group. The value can be the member's (group or user) primary email address, alias, or unique ID."),
|
|
918
918
|
delivery_settings: z.string().describe("Defines mail delivery preferences of member. This field is only supported by `insert`, `update`, and `get` methods.").optional(),
|
|
@@ -925,7 +925,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
925
925
|
type: z.string().describe("The type of group member.").optional(),
|
|
926
926
|
fields: z.string().optional().describe('Response field mask.'),
|
|
927
927
|
},
|
|
928
|
-
});
|
|
928
|
+
}, deps);
|
|
929
929
|
registerGeneratedTool(registry, {
|
|
930
930
|
name: "admin_members_update",
|
|
931
931
|
cud: "update",
|
|
@@ -935,7 +935,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
935
935
|
hasBody: true,
|
|
936
936
|
bodyParams: [{ "field": "delivery_settings", "api": "delivery_settings" }, { "field": "email", "api": "email" }, { "field": "etag", "api": "etag" }, { "field": "id", "api": "id" }, { "field": "kind", "api": "kind" }, { "field": "role", "api": "role" }, { "field": "status", "api": "status" }, { "field": "type", "api": "type" }],
|
|
937
937
|
shape: {
|
|
938
|
-
account: accountField(),
|
|
938
|
+
account: accountField(registry.accountAliases()),
|
|
939
939
|
groupKey: z.string().min(1).describe("Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID."),
|
|
940
940
|
memberKey: z.string().min(1).describe("Identifies the group member in the API request. A group member can be a user or another group. The value can be the member's (group or user) primary email address, alias, or unique ID."),
|
|
941
941
|
delivery_settings: z.string().describe("Defines mail delivery preferences of member. This field is only supported by `insert`, `update`, and `get` methods.").optional(),
|
|
@@ -948,7 +948,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
948
948
|
type: z.string().describe("The type of group member.").optional(),
|
|
949
949
|
fields: z.string().optional().describe('Response field mask.'),
|
|
950
950
|
},
|
|
951
|
-
});
|
|
951
|
+
}, deps);
|
|
952
952
|
registerGeneratedTool(registry, {
|
|
953
953
|
name: "admin_mobiledevices_action",
|
|
954
954
|
cud: "delete",
|
|
@@ -958,13 +958,13 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
958
958
|
hasBody: true,
|
|
959
959
|
bodyParams: [{ "field": "action", "api": "action" }],
|
|
960
960
|
shape: {
|
|
961
|
-
account: accountField(),
|
|
961
|
+
account: accountField(registry.accountAliases()),
|
|
962
962
|
customerId: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also retu"),
|
|
963
963
|
resourceId: z.string().min(1).describe("The unique ID the API service uses to identify the mobile device."),
|
|
964
964
|
action: z.string().min(1).describe("The action to be performed on the device."),
|
|
965
965
|
fields: z.string().optional().describe('Response field mask.'),
|
|
966
966
|
},
|
|
967
|
-
});
|
|
967
|
+
}, deps);
|
|
968
968
|
registerGeneratedTool(registry, {
|
|
969
969
|
name: "admin_mobiledevices_delete",
|
|
970
970
|
cud: "delete",
|
|
@@ -973,12 +973,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
973
973
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "resourceId", "api": "resourceId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
974
974
|
hasBody: false,
|
|
975
975
|
shape: {
|
|
976
|
-
account: accountField(),
|
|
976
|
+
account: accountField(registry.accountAliases()),
|
|
977
977
|
customerId: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also retu"),
|
|
978
978
|
resourceId: z.string().min(1).describe("The unique ID the API service uses to identify the mobile device."),
|
|
979
979
|
fields: z.string().optional().describe('Response field mask.'),
|
|
980
980
|
},
|
|
981
|
-
});
|
|
981
|
+
}, deps);
|
|
982
982
|
registerGeneratedTool(registry, {
|
|
983
983
|
name: "admin_mobiledevices_get",
|
|
984
984
|
cud: "read",
|
|
@@ -987,13 +987,13 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
987
987
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "resourceId", "api": "resourceId", "location": "path" }, { "field": "projection", "api": "projection", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
988
988
|
hasBody: false,
|
|
989
989
|
shape: {
|
|
990
|
-
account: accountField(),
|
|
990
|
+
account: accountField(registry.accountAliases()),
|
|
991
991
|
customerId: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also retu"),
|
|
992
992
|
resourceId: z.string().min(1).describe("The unique ID the API service uses to identify the mobile device."),
|
|
993
993
|
projection: z.enum(["BASIC", "FULL"]).describe("Restrict information returned to a set of selected fields.").optional(),
|
|
994
994
|
fields: z.string().optional().describe('Response field mask.'),
|
|
995
995
|
},
|
|
996
|
-
});
|
|
996
|
+
}, deps);
|
|
997
997
|
registerGeneratedTool(registry, {
|
|
998
998
|
name: "admin_mobiledevices_list",
|
|
999
999
|
cud: "read",
|
|
@@ -1002,7 +1002,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1002
1002
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "maxResults", "api": "maxResults", "location": "query" }, { "field": "orderBy", "api": "orderBy", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "projection", "api": "projection", "location": "query" }, { "field": "query", "api": "query", "location": "query" }, { "field": "sortOrder", "api": "sortOrder", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1003
1003
|
hasBody: false,
|
|
1004
1004
|
shape: {
|
|
1005
|
-
account: accountField(),
|
|
1005
|
+
account: accountField(registry.accountAliases()),
|
|
1006
1006
|
customerId: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also retu"),
|
|
1007
1007
|
maxResults: z.number().describe("Maximum number of results to return. Max allowed value is 100.").optional(),
|
|
1008
1008
|
orderBy: z.enum(["deviceId", "email", "lastSync", "model", "name", "os", "status", "type"]).describe("Device property to use for sorting results.").optional(),
|
|
@@ -1012,7 +1012,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1012
1012
|
sortOrder: z.enum(["ASCENDING", "DESCENDING"]).describe("Whether to return results in ascending or descending order. Must be used with the `orderBy` parameter.").optional(),
|
|
1013
1013
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1014
1014
|
},
|
|
1015
|
-
});
|
|
1015
|
+
}, deps);
|
|
1016
1016
|
registerGeneratedTool(registry, {
|
|
1017
1017
|
name: "admin_orgunits_delete",
|
|
1018
1018
|
cud: "delete",
|
|
@@ -1021,12 +1021,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1021
1021
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "orgUnitPath", "api": "orgUnitPath", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1022
1022
|
hasBody: false,
|
|
1023
1023
|
shape: {
|
|
1024
|
-
account: accountField(),
|
|
1024
|
+
account: accountField(registry.accountAliases()),
|
|
1025
1025
|
customerId: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also retu"),
|
|
1026
1026
|
orgUnitPath: z.string().min(1).describe("The full path of the organizational unit (minus the leading `/`) or its unique ID."),
|
|
1027
1027
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1028
1028
|
},
|
|
1029
|
-
});
|
|
1029
|
+
}, deps);
|
|
1030
1030
|
registerGeneratedTool(registry, {
|
|
1031
1031
|
name: "admin_orgunits_get",
|
|
1032
1032
|
cud: "read",
|
|
@@ -1035,12 +1035,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1035
1035
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "orgUnitPath", "api": "orgUnitPath", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1036
1036
|
hasBody: false,
|
|
1037
1037
|
shape: {
|
|
1038
|
-
account: accountField(),
|
|
1038
|
+
account: accountField(registry.accountAliases()),
|
|
1039
1039
|
customerId: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also retu"),
|
|
1040
1040
|
orgUnitPath: z.string().min(1).describe("The full path of the organizational unit (minus the leading `/`) or its unique ID."),
|
|
1041
1041
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1042
1042
|
},
|
|
1043
|
-
});
|
|
1043
|
+
}, deps);
|
|
1044
1044
|
registerGeneratedTool(registry, {
|
|
1045
1045
|
name: "admin_orgunits_insert",
|
|
1046
1046
|
cud: "create",
|
|
@@ -1050,7 +1050,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1050
1050
|
hasBody: true,
|
|
1051
1051
|
bodyParams: [{ "field": "name", "api": "name" }, { "field": "blockInheritance", "api": "blockInheritance" }, { "field": "description", "api": "description" }, { "field": "etag", "api": "etag" }, { "field": "kind", "api": "kind" }, { "field": "orgUnitId", "api": "orgUnitId" }, { "field": "orgUnitPath", "api": "orgUnitPath" }, { "field": "parentOrgUnitId", "api": "parentOrgUnitId" }, { "field": "parentOrgUnitPath", "api": "parentOrgUnitPath" }],
|
|
1052
1052
|
shape: {
|
|
1053
|
-
account: accountField(),
|
|
1053
|
+
account: accountField(registry.accountAliases()),
|
|
1054
1054
|
customerId: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also retu"),
|
|
1055
1055
|
name: z.string().min(1).describe("The organizational unit's path name. For example, an organizational unit's name within the /corp/support/sales_support parent path is sales_support. Required."),
|
|
1056
1056
|
blockInheritance: coerceBoolean.describe("This field is deprecated and setting its value has no effect.").optional(),
|
|
@@ -1063,7 +1063,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1063
1063
|
parentOrgUnitPath: z.string().describe("The organizational unit's parent path. For example, /corp/sales is the parent path for /corp/sales/sales_support organizational unit. Required, unless `parentOrgUnitId` is set.").optional(),
|
|
1064
1064
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1065
1065
|
},
|
|
1066
|
-
});
|
|
1066
|
+
}, deps);
|
|
1067
1067
|
registerGeneratedTool(registry, {
|
|
1068
1068
|
name: "admin_orgunits_list",
|
|
1069
1069
|
cud: "read",
|
|
@@ -1072,13 +1072,13 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1072
1072
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "orgUnitPath", "api": "orgUnitPath", "location": "query" }, { "field": "type", "api": "type", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1073
1073
|
hasBody: false,
|
|
1074
1074
|
shape: {
|
|
1075
|
-
account: accountField(),
|
|
1075
|
+
account: accountField(registry.accountAliases()),
|
|
1076
1076
|
customerId: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also retu"),
|
|
1077
1077
|
orgUnitPath: z.string().describe("The full path to the organizational unit or its unique ID. Returns the children of the specified organizational unit.").optional(),
|
|
1078
1078
|
type: z.enum(["all", "children", "allIncludingParent"]).describe("Whether to return all sub-organizations or just immediate children.").optional(),
|
|
1079
1079
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1080
1080
|
},
|
|
1081
|
-
});
|
|
1081
|
+
}, deps);
|
|
1082
1082
|
registerGeneratedTool(registry, {
|
|
1083
1083
|
name: "admin_orgunits_patch",
|
|
1084
1084
|
cud: "update",
|
|
@@ -1088,7 +1088,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1088
1088
|
hasBody: true,
|
|
1089
1089
|
bodyParams: [{ "field": "blockInheritance", "api": "blockInheritance" }, { "field": "description", "api": "description" }, { "field": "etag", "api": "etag" }, { "field": "kind", "api": "kind" }, { "field": "name", "api": "name" }, { "field": "orgUnitId", "api": "orgUnitId" }, { "field": "orgUnitPath_", "api": "orgUnitPath" }, { "field": "parentOrgUnitId", "api": "parentOrgUnitId" }, { "field": "parentOrgUnitPath", "api": "parentOrgUnitPath" }],
|
|
1090
1090
|
shape: {
|
|
1091
|
-
account: accountField(),
|
|
1091
|
+
account: accountField(registry.accountAliases()),
|
|
1092
1092
|
customerId: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also retu"),
|
|
1093
1093
|
orgUnitPath: z.string().min(1).describe("The full path of the organizational unit (minus the leading `/`) or its unique ID."),
|
|
1094
1094
|
blockInheritance: coerceBoolean.describe("This field is deprecated and setting its value has no effect.").optional(),
|
|
@@ -1102,7 +1102,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1102
1102
|
parentOrgUnitPath: z.string().describe("The organizational unit's parent path. For example, /corp/sales is the parent path for /corp/sales/sales_support organizational unit. Required, unless `parentOrgUnitId` is set.").optional(),
|
|
1103
1103
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1104
1104
|
},
|
|
1105
|
-
});
|
|
1105
|
+
}, deps);
|
|
1106
1106
|
registerGeneratedTool(registry, {
|
|
1107
1107
|
name: "admin_orgunits_update",
|
|
1108
1108
|
cud: "update",
|
|
@@ -1112,7 +1112,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1112
1112
|
hasBody: true,
|
|
1113
1113
|
bodyParams: [{ "field": "blockInheritance", "api": "blockInheritance" }, { "field": "description", "api": "description" }, { "field": "etag", "api": "etag" }, { "field": "kind", "api": "kind" }, { "field": "name", "api": "name" }, { "field": "orgUnitId", "api": "orgUnitId" }, { "field": "orgUnitPath_", "api": "orgUnitPath" }, { "field": "parentOrgUnitId", "api": "parentOrgUnitId" }, { "field": "parentOrgUnitPath", "api": "parentOrgUnitPath" }],
|
|
1114
1114
|
shape: {
|
|
1115
|
-
account: accountField(),
|
|
1115
|
+
account: accountField(registry.accountAliases()),
|
|
1116
1116
|
customerId: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also retu"),
|
|
1117
1117
|
orgUnitPath: z.string().min(1).describe("The full path of the organizational unit (minus the leading `/`) or its unique ID."),
|
|
1118
1118
|
blockInheritance: coerceBoolean.describe("This field is deprecated and setting its value has no effect.").optional(),
|
|
@@ -1126,7 +1126,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1126
1126
|
parentOrgUnitPath: z.string().describe("The organizational unit's parent path. For example, /corp/sales is the parent path for /corp/sales/sales_support organizational unit. Required, unless `parentOrgUnitId` is set.").optional(),
|
|
1127
1127
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1128
1128
|
},
|
|
1129
|
-
});
|
|
1129
|
+
}, deps);
|
|
1130
1130
|
registerGeneratedTool(registry, {
|
|
1131
1131
|
name: "admin_privileges_list",
|
|
1132
1132
|
cud: "read",
|
|
@@ -1135,11 +1135,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1135
1135
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1136
1136
|
hasBody: false,
|
|
1137
1137
|
shape: {
|
|
1138
|
-
account: accountField(),
|
|
1138
|
+
account: accountField(registry.accountAliases()),
|
|
1139
1139
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer`"),
|
|
1140
1140
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1141
1141
|
},
|
|
1142
|
-
});
|
|
1142
|
+
}, deps);
|
|
1143
1143
|
registerGeneratedTool(registry, {
|
|
1144
1144
|
name: "admin_resources_buildings_delete",
|
|
1145
1145
|
cud: "delete",
|
|
@@ -1148,12 +1148,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1148
1148
|
params: [{ "field": "buildingId", "api": "buildingId", "location": "path" }, { "field": "customer", "api": "customer", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1149
1149
|
hasBody: false,
|
|
1150
1150
|
shape: {
|
|
1151
|
-
account: accountField(),
|
|
1151
|
+
account: accountField(registry.accountAliases()),
|
|
1152
1152
|
buildingId: z.string().min(1).describe("The id of the building to delete."),
|
|
1153
1153
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID."),
|
|
1154
1154
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1155
1155
|
},
|
|
1156
|
-
});
|
|
1156
|
+
}, deps);
|
|
1157
1157
|
registerGeneratedTool(registry, {
|
|
1158
1158
|
name: "admin_resources_buildings_get",
|
|
1159
1159
|
cud: "read",
|
|
@@ -1162,12 +1162,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1162
1162
|
params: [{ "field": "buildingId", "api": "buildingId", "location": "path" }, { "field": "customer", "api": "customer", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1163
1163
|
hasBody: false,
|
|
1164
1164
|
shape: {
|
|
1165
|
-
account: accountField(),
|
|
1165
|
+
account: accountField(registry.accountAliases()),
|
|
1166
1166
|
buildingId: z.string().min(1).describe("The unique ID of the building to retrieve."),
|
|
1167
1167
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID."),
|
|
1168
1168
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1169
1169
|
},
|
|
1170
|
-
});
|
|
1170
|
+
}, deps);
|
|
1171
1171
|
registerGeneratedTool(registry, {
|
|
1172
1172
|
name: "admin_resources_buildings_insert",
|
|
1173
1173
|
cud: "create",
|
|
@@ -1176,13 +1176,13 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1176
1176
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "coordinatesSource", "api": "coordinatesSource", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1177
1177
|
hasBody: true,
|
|
1178
1178
|
shape: {
|
|
1179
|
-
account: accountField(),
|
|
1179
|
+
account: accountField(registry.accountAliases()),
|
|
1180
1180
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID."),
|
|
1181
1181
|
coordinatesSource: z.enum(["CLIENT_SPECIFIED", "RESOLVED_FROM_ADDRESS", "SOURCE_UNSPECIFIED"]).describe("Source from which Building.coordinates are derived.").optional(),
|
|
1182
1182
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Building JSON request body. Top-level fields: address, buildingId, buildingName, coordinates, description, etags, floorNames, kind."),
|
|
1183
1183
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1184
1184
|
},
|
|
1185
|
-
});
|
|
1185
|
+
}, deps);
|
|
1186
1186
|
registerGeneratedTool(registry, {
|
|
1187
1187
|
name: "admin_resources_buildings_list",
|
|
1188
1188
|
cud: "read",
|
|
@@ -1191,13 +1191,13 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1191
1191
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "maxResults", "api": "maxResults", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1192
1192
|
hasBody: false,
|
|
1193
1193
|
shape: {
|
|
1194
|
-
account: accountField(),
|
|
1194
|
+
account: accountField(registry.accountAliases()),
|
|
1195
1195
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID."),
|
|
1196
1196
|
maxResults: z.number().describe("Maximum number of results to return.").optional(),
|
|
1197
1197
|
pageToken: z.string().describe("Token to specify the next page in the list.").optional(),
|
|
1198
1198
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1199
1199
|
},
|
|
1200
|
-
});
|
|
1200
|
+
}, deps);
|
|
1201
1201
|
registerGeneratedTool(registry, {
|
|
1202
1202
|
name: "admin_resources_buildings_patch",
|
|
1203
1203
|
cud: "update",
|
|
@@ -1206,14 +1206,14 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1206
1206
|
params: [{ "field": "buildingId", "api": "buildingId", "location": "path" }, { "field": "customer", "api": "customer", "location": "path" }, { "field": "coordinatesSource", "api": "coordinatesSource", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1207
1207
|
hasBody: true,
|
|
1208
1208
|
shape: {
|
|
1209
|
-
account: accountField(),
|
|
1209
|
+
account: accountField(registry.accountAliases()),
|
|
1210
1210
|
buildingId: z.string().min(1).describe("The id of the building to update."),
|
|
1211
1211
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID."),
|
|
1212
1212
|
coordinatesSource: z.enum(["CLIENT_SPECIFIED", "RESOLVED_FROM_ADDRESS", "SOURCE_UNSPECIFIED"]).describe("Source from which Building.coordinates are derived.").optional(),
|
|
1213
1213
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Building JSON request body. Top-level fields: address, buildingId, buildingName, coordinates, description, etags, floorNames, kind."),
|
|
1214
1214
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1215
1215
|
},
|
|
1216
|
-
});
|
|
1216
|
+
}, deps);
|
|
1217
1217
|
registerGeneratedTool(registry, {
|
|
1218
1218
|
name: "admin_resources_buildings_update",
|
|
1219
1219
|
cud: "update",
|
|
@@ -1222,14 +1222,14 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1222
1222
|
params: [{ "field": "buildingId", "api": "buildingId", "location": "path" }, { "field": "customer", "api": "customer", "location": "path" }, { "field": "coordinatesSource", "api": "coordinatesSource", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1223
1223
|
hasBody: true,
|
|
1224
1224
|
shape: {
|
|
1225
|
-
account: accountField(),
|
|
1225
|
+
account: accountField(registry.accountAliases()),
|
|
1226
1226
|
buildingId: z.string().min(1).describe("The id of the building to update."),
|
|
1227
1227
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID."),
|
|
1228
1228
|
coordinatesSource: z.enum(["CLIENT_SPECIFIED", "RESOLVED_FROM_ADDRESS", "SOURCE_UNSPECIFIED"]).describe("Source from which Building.coordinates are derived.").optional(),
|
|
1229
1229
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Building JSON request body. Top-level fields: address, buildingId, buildingName, coordinates, description, etags, floorNames, kind."),
|
|
1230
1230
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1231
1231
|
},
|
|
1232
|
-
});
|
|
1232
|
+
}, deps);
|
|
1233
1233
|
registerGeneratedTool(registry, {
|
|
1234
1234
|
name: "admin_resources_calendars_delete",
|
|
1235
1235
|
cud: "delete",
|
|
@@ -1238,12 +1238,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1238
1238
|
params: [{ "field": "calendarResourceId", "api": "calendarResourceId", "location": "path" }, { "field": "customer", "api": "customer", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1239
1239
|
hasBody: false,
|
|
1240
1240
|
shape: {
|
|
1241
|
-
account: accountField(),
|
|
1241
|
+
account: accountField(registry.accountAliases()),
|
|
1242
1242
|
calendarResourceId: z.string().min(1).describe("The unique ID of the calendar resource to delete."),
|
|
1243
1243
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID."),
|
|
1244
1244
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1245
1245
|
},
|
|
1246
|
-
});
|
|
1246
|
+
}, deps);
|
|
1247
1247
|
registerGeneratedTool(registry, {
|
|
1248
1248
|
name: "admin_resources_calendars_get",
|
|
1249
1249
|
cud: "read",
|
|
@@ -1252,12 +1252,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1252
1252
|
params: [{ "field": "calendarResourceId", "api": "calendarResourceId", "location": "path" }, { "field": "customer", "api": "customer", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1253
1253
|
hasBody: false,
|
|
1254
1254
|
shape: {
|
|
1255
|
-
account: accountField(),
|
|
1255
|
+
account: accountField(registry.accountAliases()),
|
|
1256
1256
|
calendarResourceId: z.string().min(1).describe("The unique ID of the calendar resource to retrieve."),
|
|
1257
1257
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID."),
|
|
1258
1258
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1259
1259
|
},
|
|
1260
|
-
});
|
|
1260
|
+
}, deps);
|
|
1261
1261
|
registerGeneratedTool(registry, {
|
|
1262
1262
|
name: "admin_resources_calendars_insert",
|
|
1263
1263
|
cud: "create",
|
|
@@ -1266,12 +1266,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1266
1266
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1267
1267
|
hasBody: true,
|
|
1268
1268
|
shape: {
|
|
1269
|
-
account: accountField(),
|
|
1269
|
+
account: accountField(registry.accountAliases()),
|
|
1270
1270
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID."),
|
|
1271
1271
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("CalendarResource JSON request body. Top-level fields: buildingId, capacity, etags, featureInstances, floorName, floorSection, generatedResourceName, kind, resourceCategory, resourceDescription, resourceEmail, resourceId, +3 more."),
|
|
1272
1272
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1273
1273
|
},
|
|
1274
|
-
});
|
|
1274
|
+
}, deps);
|
|
1275
1275
|
registerGeneratedTool(registry, {
|
|
1276
1276
|
name: "admin_resources_calendars_list",
|
|
1277
1277
|
cud: "read",
|
|
@@ -1280,7 +1280,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1280
1280
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "maxResults", "api": "maxResults", "location": "query" }, { "field": "orderBy", "api": "orderBy", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "query", "api": "query", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1281
1281
|
hasBody: false,
|
|
1282
1282
|
shape: {
|
|
1283
|
-
account: accountField(),
|
|
1283
|
+
account: accountField(registry.accountAliases()),
|
|
1284
1284
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID."),
|
|
1285
1285
|
maxResults: z.number().describe("Maximum number of results to return.").optional(),
|
|
1286
1286
|
orderBy: z.string().describe("Field(s) to sort results by in either ascending or descending order. Supported fields include `resourceId`, `resourceName`, `capacity`, `buildingId`, and `floorName`. If no order is specified, default").optional(),
|
|
@@ -1288,7 +1288,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1288
1288
|
query: z.string().describe("String query used to filter results. Contains one or more search clauses, each with a field, operator, and value. A field can be any of supported fields and operators can be any of supported operation").optional(),
|
|
1289
1289
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1290
1290
|
},
|
|
1291
|
-
});
|
|
1291
|
+
}, deps);
|
|
1292
1292
|
registerGeneratedTool(registry, {
|
|
1293
1293
|
name: "admin_resources_calendars_patch",
|
|
1294
1294
|
cud: "update",
|
|
@@ -1297,13 +1297,13 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1297
1297
|
params: [{ "field": "calendarResourceId", "api": "calendarResourceId", "location": "path" }, { "field": "customer", "api": "customer", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1298
1298
|
hasBody: true,
|
|
1299
1299
|
shape: {
|
|
1300
|
-
account: accountField(),
|
|
1300
|
+
account: accountField(registry.accountAliases()),
|
|
1301
1301
|
calendarResourceId: z.string().min(1).describe("The unique ID of the calendar resource to update."),
|
|
1302
1302
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID."),
|
|
1303
1303
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("CalendarResource JSON request body. Top-level fields: buildingId, capacity, etags, featureInstances, floorName, floorSection, generatedResourceName, kind, resourceCategory, resourceDescription, resourceEmail, resourceId, +3 more."),
|
|
1304
1304
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1305
1305
|
},
|
|
1306
|
-
});
|
|
1306
|
+
}, deps);
|
|
1307
1307
|
registerGeneratedTool(registry, {
|
|
1308
1308
|
name: "admin_resources_calendars_update",
|
|
1309
1309
|
cud: "update",
|
|
@@ -1312,13 +1312,13 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1312
1312
|
params: [{ "field": "calendarResourceId", "api": "calendarResourceId", "location": "path" }, { "field": "customer", "api": "customer", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1313
1313
|
hasBody: true,
|
|
1314
1314
|
shape: {
|
|
1315
|
-
account: accountField(),
|
|
1315
|
+
account: accountField(registry.accountAliases()),
|
|
1316
1316
|
calendarResourceId: z.string().min(1).describe("The unique ID of the calendar resource to update."),
|
|
1317
1317
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID."),
|
|
1318
1318
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("CalendarResource JSON request body. Top-level fields: buildingId, capacity, etags, featureInstances, floorName, floorSection, generatedResourceName, kind, resourceCategory, resourceDescription, resourceEmail, resourceId, +3 more."),
|
|
1319
1319
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1320
1320
|
},
|
|
1321
|
-
});
|
|
1321
|
+
}, deps);
|
|
1322
1322
|
registerGeneratedTool(registry, {
|
|
1323
1323
|
name: "admin_resources_features_delete",
|
|
1324
1324
|
cud: "delete",
|
|
@@ -1327,12 +1327,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1327
1327
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "featureKey", "api": "featureKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1328
1328
|
hasBody: false,
|
|
1329
1329
|
shape: {
|
|
1330
|
-
account: accountField(),
|
|
1330
|
+
account: accountField(registry.accountAliases()),
|
|
1331
1331
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID."),
|
|
1332
1332
|
featureKey: z.string().min(1).describe("The unique ID of the feature to delete."),
|
|
1333
1333
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1334
1334
|
},
|
|
1335
|
-
});
|
|
1335
|
+
}, deps);
|
|
1336
1336
|
registerGeneratedTool(registry, {
|
|
1337
1337
|
name: "admin_resources_features_get",
|
|
1338
1338
|
cud: "read",
|
|
@@ -1341,12 +1341,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1341
1341
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "featureKey", "api": "featureKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1342
1342
|
hasBody: false,
|
|
1343
1343
|
shape: {
|
|
1344
|
-
account: accountField(),
|
|
1344
|
+
account: accountField(registry.accountAliases()),
|
|
1345
1345
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID."),
|
|
1346
1346
|
featureKey: z.string().min(1).describe("The unique ID of the feature to retrieve."),
|
|
1347
1347
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1348
1348
|
},
|
|
1349
|
-
});
|
|
1349
|
+
}, deps);
|
|
1350
1350
|
registerGeneratedTool(registry, {
|
|
1351
1351
|
name: "admin_resources_features_insert",
|
|
1352
1352
|
cud: "create",
|
|
@@ -1356,14 +1356,14 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1356
1356
|
hasBody: true,
|
|
1357
1357
|
bodyParams: [{ "field": "name", "api": "name" }, { "field": "etags", "api": "etags" }, { "field": "kind", "api": "kind" }],
|
|
1358
1358
|
shape: {
|
|
1359
|
-
account: accountField(),
|
|
1359
|
+
account: accountField(registry.accountAliases()),
|
|
1360
1360
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID."),
|
|
1361
1361
|
name: z.string().min(1).describe("The name of the feature."),
|
|
1362
1362
|
etags: z.string().describe("ETag of the resource.").optional(),
|
|
1363
1363
|
kind: z.string().describe("Kind of resource this is.").optional(),
|
|
1364
1364
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1365
1365
|
},
|
|
1366
|
-
});
|
|
1366
|
+
}, deps);
|
|
1367
1367
|
registerGeneratedTool(registry, {
|
|
1368
1368
|
name: "admin_resources_features_list",
|
|
1369
1369
|
cud: "read",
|
|
@@ -1372,13 +1372,13 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1372
1372
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "maxResults", "api": "maxResults", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1373
1373
|
hasBody: false,
|
|
1374
1374
|
shape: {
|
|
1375
|
-
account: accountField(),
|
|
1375
|
+
account: accountField(registry.accountAliases()),
|
|
1376
1376
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID."),
|
|
1377
1377
|
maxResults: z.number().describe("Maximum number of results to return.").optional(),
|
|
1378
1378
|
pageToken: z.string().describe("Token to specify the next page in the list.").optional(),
|
|
1379
1379
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1380
1380
|
},
|
|
1381
|
-
});
|
|
1381
|
+
}, deps);
|
|
1382
1382
|
registerGeneratedTool(registry, {
|
|
1383
1383
|
name: "admin_resources_features_patch",
|
|
1384
1384
|
cud: "update",
|
|
@@ -1388,7 +1388,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1388
1388
|
hasBody: true,
|
|
1389
1389
|
bodyParams: [{ "field": "etags", "api": "etags" }, { "field": "kind", "api": "kind" }, { "field": "name", "api": "name" }],
|
|
1390
1390
|
shape: {
|
|
1391
|
-
account: accountField(),
|
|
1391
|
+
account: accountField(registry.accountAliases()),
|
|
1392
1392
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID."),
|
|
1393
1393
|
featureKey: z.string().min(1).describe("The unique ID of the feature to update."),
|
|
1394
1394
|
etags: z.string().describe("ETag of the resource.").optional(),
|
|
@@ -1396,7 +1396,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1396
1396
|
name: z.string().describe("The name of the feature.").optional(),
|
|
1397
1397
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1398
1398
|
},
|
|
1399
|
-
});
|
|
1399
|
+
}, deps);
|
|
1400
1400
|
registerGeneratedTool(registry, {
|
|
1401
1401
|
name: "admin_resources_features_rename",
|
|
1402
1402
|
cud: "create",
|
|
@@ -1406,13 +1406,13 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1406
1406
|
hasBody: true,
|
|
1407
1407
|
bodyParams: [{ "field": "newName", "api": "newName" }],
|
|
1408
1408
|
shape: {
|
|
1409
|
-
account: accountField(),
|
|
1409
|
+
account: accountField(registry.accountAliases()),
|
|
1410
1410
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID."),
|
|
1411
1411
|
oldName: z.string().min(1).describe("The unique ID of the feature to rename."),
|
|
1412
1412
|
newName: z.string().min(1).describe("New name of the feature."),
|
|
1413
1413
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1414
1414
|
},
|
|
1415
|
-
});
|
|
1415
|
+
}, deps);
|
|
1416
1416
|
registerGeneratedTool(registry, {
|
|
1417
1417
|
name: "admin_resources_features_update",
|
|
1418
1418
|
cud: "update",
|
|
@@ -1422,7 +1422,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1422
1422
|
hasBody: true,
|
|
1423
1423
|
bodyParams: [{ "field": "etags", "api": "etags" }, { "field": "kind", "api": "kind" }, { "field": "name", "api": "name" }],
|
|
1424
1424
|
shape: {
|
|
1425
|
-
account: accountField(),
|
|
1425
|
+
account: accountField(registry.accountAliases()),
|
|
1426
1426
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID."),
|
|
1427
1427
|
featureKey: z.string().min(1).describe("The unique ID of the feature to update."),
|
|
1428
1428
|
etags: z.string().describe("ETag of the resource.").optional(),
|
|
@@ -1430,7 +1430,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1430
1430
|
name: z.string().describe("The name of the feature.").optional(),
|
|
1431
1431
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1432
1432
|
},
|
|
1433
|
-
});
|
|
1433
|
+
}, deps);
|
|
1434
1434
|
registerGeneratedTool(registry, {
|
|
1435
1435
|
name: "admin_role_assignments_delete",
|
|
1436
1436
|
cud: "delete",
|
|
@@ -1439,12 +1439,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1439
1439
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "roleAssignmentId", "api": "roleAssignmentId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1440
1440
|
hasBody: false,
|
|
1441
1441
|
shape: {
|
|
1442
|
-
account: accountField(),
|
|
1442
|
+
account: accountField(registry.accountAliases()),
|
|
1443
1443
|
customer: z.string().min(1).describe("Immutable ID of the Google Workspace account."),
|
|
1444
1444
|
roleAssignmentId: z.string().min(1).describe("Immutable ID of the role assignment."),
|
|
1445
1445
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1446
1446
|
},
|
|
1447
|
-
});
|
|
1447
|
+
}, deps);
|
|
1448
1448
|
registerGeneratedTool(registry, {
|
|
1449
1449
|
name: "admin_role_assignments_get",
|
|
1450
1450
|
cud: "read",
|
|
@@ -1453,12 +1453,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1453
1453
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "roleAssignmentId", "api": "roleAssignmentId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1454
1454
|
hasBody: false,
|
|
1455
1455
|
shape: {
|
|
1456
|
-
account: accountField(),
|
|
1456
|
+
account: accountField(registry.accountAliases()),
|
|
1457
1457
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer`"),
|
|
1458
1458
|
roleAssignmentId: z.string().min(1).describe("Immutable ID of the role assignment."),
|
|
1459
1459
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1460
1460
|
},
|
|
1461
|
-
});
|
|
1461
|
+
}, deps);
|
|
1462
1462
|
registerGeneratedTool(registry, {
|
|
1463
1463
|
name: "admin_role_assignments_insert",
|
|
1464
1464
|
cud: "create",
|
|
@@ -1468,7 +1468,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1468
1468
|
hasBody: true,
|
|
1469
1469
|
bodyParams: [{ "field": "assignedTo", "api": "assignedTo" }, { "field": "assigneeType", "api": "assigneeType" }, { "field": "condition", "api": "condition" }, { "field": "etag", "api": "etag" }, { "field": "kind", "api": "kind" }, { "field": "orgUnitId", "api": "orgUnitId" }, { "field": "roleAssignmentId", "api": "roleAssignmentId" }, { "field": "roleId", "api": "roleId" }, { "field": "scopeType", "api": "scopeType" }],
|
|
1470
1470
|
shape: {
|
|
1471
|
-
account: accountField(),
|
|
1471
|
+
account: accountField(registry.accountAliases()),
|
|
1472
1472
|
customer: z.string().min(1).describe("Immutable ID of the Google Workspace account."),
|
|
1473
1473
|
assignedTo: z.string().describe("The unique ID of the entity this role is assigned to—either the `user_id` of a user, the `group_id` of a group, or the `uniqueId` of a service account as defined in [Identity and Access Management (IA").optional(),
|
|
1474
1474
|
assigneeType: z.enum(["user", "group"]).describe("Output only. The type of the assignee (`USER` or `GROUP`).").optional(),
|
|
@@ -1481,7 +1481,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1481
1481
|
scopeType: z.string().describe("The scope in which this role is assigned.").optional(),
|
|
1482
1482
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1483
1483
|
},
|
|
1484
|
-
});
|
|
1484
|
+
}, deps);
|
|
1485
1485
|
registerGeneratedTool(registry, {
|
|
1486
1486
|
name: "admin_role_assignments_list",
|
|
1487
1487
|
cud: "read",
|
|
@@ -1490,7 +1490,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1490
1490
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "includeIndirectRoleAssignments", "api": "includeIndirectRoleAssignments", "location": "query" }, { "field": "maxResults", "api": "maxResults", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "roleId", "api": "roleId", "location": "query" }, { "field": "userKey", "api": "userKey", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1491
1491
|
hasBody: false,
|
|
1492
1492
|
shape: {
|
|
1493
|
-
account: accountField(),
|
|
1493
|
+
account: accountField(registry.accountAliases()),
|
|
1494
1494
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer`"),
|
|
1495
1495
|
includeIndirectRoleAssignments: coerceBoolean.describe("When set to `true`, fetches indirect role assignments (i.e. role assignment via a group) as well as direct ones. Defaults to `false`. You must specify `user_key` or the indirect role assignments will ").optional(),
|
|
1496
1496
|
maxResults: z.number().describe("Maximum number of results to return.").optional(),
|
|
@@ -1499,7 +1499,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1499
1499
|
userKey: z.string().describe("The primary email address, alias email address, or unique user or group ID. If included in the request, returns role assignments only for this user or group.").optional(),
|
|
1500
1500
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1501
1501
|
},
|
|
1502
|
-
});
|
|
1502
|
+
}, deps);
|
|
1503
1503
|
registerGeneratedTool(registry, {
|
|
1504
1504
|
name: "admin_roles_delete",
|
|
1505
1505
|
cud: "delete",
|
|
@@ -1508,12 +1508,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1508
1508
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "roleId", "api": "roleId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1509
1509
|
hasBody: false,
|
|
1510
1510
|
shape: {
|
|
1511
|
-
account: accountField(),
|
|
1511
|
+
account: accountField(registry.accountAliases()),
|
|
1512
1512
|
customer: z.string().min(1).describe("Immutable ID of the Google Workspace account."),
|
|
1513
1513
|
roleId: z.string().min(1).describe("Immutable ID of the role."),
|
|
1514
1514
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1515
1515
|
},
|
|
1516
|
-
});
|
|
1516
|
+
}, deps);
|
|
1517
1517
|
registerGeneratedTool(registry, {
|
|
1518
1518
|
name: "admin_roles_get",
|
|
1519
1519
|
cud: "read",
|
|
@@ -1522,12 +1522,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1522
1522
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "roleId", "api": "roleId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1523
1523
|
hasBody: false,
|
|
1524
1524
|
shape: {
|
|
1525
|
-
account: accountField(),
|
|
1525
|
+
account: accountField(registry.accountAliases()),
|
|
1526
1526
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer`"),
|
|
1527
1527
|
roleId: z.string().min(1).describe("Immutable ID of the role."),
|
|
1528
1528
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1529
1529
|
},
|
|
1530
|
-
});
|
|
1530
|
+
}, deps);
|
|
1531
1531
|
registerGeneratedTool(registry, {
|
|
1532
1532
|
name: "admin_roles_insert",
|
|
1533
1533
|
cud: "create",
|
|
@@ -1536,12 +1536,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1536
1536
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1537
1537
|
hasBody: true,
|
|
1538
1538
|
shape: {
|
|
1539
|
-
account: accountField(),
|
|
1539
|
+
account: accountField(registry.accountAliases()),
|
|
1540
1540
|
customer: z.string().min(1).describe("Immutable ID of the Google Workspace account."),
|
|
1541
1541
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Role JSON request body. Top-level fields: etag, isSuperAdminRole, isSystemRole, kind, roleDescription, roleId, roleName, rolePrivileges."),
|
|
1542
1542
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1543
1543
|
},
|
|
1544
|
-
});
|
|
1544
|
+
}, deps);
|
|
1545
1545
|
registerGeneratedTool(registry, {
|
|
1546
1546
|
name: "admin_roles_list",
|
|
1547
1547
|
cud: "read",
|
|
@@ -1550,13 +1550,13 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1550
1550
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "maxResults", "api": "maxResults", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1551
1551
|
hasBody: false,
|
|
1552
1552
|
shape: {
|
|
1553
|
-
account: accountField(),
|
|
1553
|
+
account: accountField(registry.accountAliases()),
|
|
1554
1554
|
customer: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer`"),
|
|
1555
1555
|
maxResults: z.number().describe("Maximum number of results to return.").optional(),
|
|
1556
1556
|
pageToken: z.string().describe("Token to specify the next page in the list.").optional(),
|
|
1557
1557
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1558
1558
|
},
|
|
1559
|
-
});
|
|
1559
|
+
}, deps);
|
|
1560
1560
|
registerGeneratedTool(registry, {
|
|
1561
1561
|
name: "admin_roles_patch",
|
|
1562
1562
|
cud: "update",
|
|
@@ -1565,13 +1565,13 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1565
1565
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "roleId", "api": "roleId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1566
1566
|
hasBody: true,
|
|
1567
1567
|
shape: {
|
|
1568
|
-
account: accountField(),
|
|
1568
|
+
account: accountField(registry.accountAliases()),
|
|
1569
1569
|
customer: z.string().min(1).describe("Immutable ID of the Google Workspace account."),
|
|
1570
1570
|
roleId: z.string().min(1).describe("Immutable ID of the role."),
|
|
1571
1571
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Role JSON request body. Top-level fields: etag, isSuperAdminRole, isSystemRole, kind, roleDescription, roleId, roleName, rolePrivileges."),
|
|
1572
1572
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1573
1573
|
},
|
|
1574
|
-
});
|
|
1574
|
+
}, deps);
|
|
1575
1575
|
registerGeneratedTool(registry, {
|
|
1576
1576
|
name: "admin_roles_update",
|
|
1577
1577
|
cud: "update",
|
|
@@ -1580,13 +1580,13 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1580
1580
|
params: [{ "field": "customer", "api": "customer", "location": "path" }, { "field": "roleId", "api": "roleId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1581
1581
|
hasBody: true,
|
|
1582
1582
|
shape: {
|
|
1583
|
-
account: accountField(),
|
|
1583
|
+
account: accountField(registry.accountAliases()),
|
|
1584
1584
|
customer: z.string().min(1).describe("Immutable ID of the Google Workspace account."),
|
|
1585
1585
|
roleId: z.string().min(1).describe("Immutable ID of the role."),
|
|
1586
1586
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Role JSON request body. Top-level fields: etag, isSuperAdminRole, isSystemRole, kind, roleDescription, roleId, roleName, rolePrivileges."),
|
|
1587
1587
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1588
1588
|
},
|
|
1589
|
-
});
|
|
1589
|
+
}, deps);
|
|
1590
1590
|
registerGeneratedTool(registry, {
|
|
1591
1591
|
name: "admin_schemas_delete",
|
|
1592
1592
|
cud: "delete",
|
|
@@ -1595,12 +1595,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1595
1595
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "schemaKey", "api": "schemaKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1596
1596
|
hasBody: false,
|
|
1597
1597
|
shape: {
|
|
1598
|
-
account: accountField(),
|
|
1598
|
+
account: accountField(registry.accountAliases()),
|
|
1599
1599
|
customerId: z.string().min(1).describe("Immutable ID of the Google Workspace account."),
|
|
1600
1600
|
schemaKey: z.string().min(1).describe("Name or immutable ID of the schema."),
|
|
1601
1601
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1602
1602
|
},
|
|
1603
|
-
});
|
|
1603
|
+
}, deps);
|
|
1604
1604
|
registerGeneratedTool(registry, {
|
|
1605
1605
|
name: "admin_schemas_get",
|
|
1606
1606
|
cud: "read",
|
|
@@ -1609,12 +1609,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1609
1609
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "schemaKey", "api": "schemaKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1610
1610
|
hasBody: false,
|
|
1611
1611
|
shape: {
|
|
1612
|
-
account: accountField(),
|
|
1612
|
+
account: accountField(registry.accountAliases()),
|
|
1613
1613
|
customerId: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer`"),
|
|
1614
1614
|
schemaKey: z.string().min(1).describe("Name or immutable ID of the schema."),
|
|
1615
1615
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1616
1616
|
},
|
|
1617
|
-
});
|
|
1617
|
+
}, deps);
|
|
1618
1618
|
registerGeneratedTool(registry, {
|
|
1619
1619
|
name: "admin_schemas_insert",
|
|
1620
1620
|
cud: "create",
|
|
@@ -1623,12 +1623,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1623
1623
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1624
1624
|
hasBody: true,
|
|
1625
1625
|
shape: {
|
|
1626
|
-
account: accountField(),
|
|
1626
|
+
account: accountField(registry.accountAliases()),
|
|
1627
1627
|
customerId: z.string().min(1).describe("Immutable ID of the Google Workspace account."),
|
|
1628
1628
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Schema JSON request body. Top-level fields: displayName, etag, fields, kind, schemaId, schemaName."),
|
|
1629
1629
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1630
1630
|
},
|
|
1631
|
-
});
|
|
1631
|
+
}, deps);
|
|
1632
1632
|
registerGeneratedTool(registry, {
|
|
1633
1633
|
name: "admin_schemas_list",
|
|
1634
1634
|
cud: "read",
|
|
@@ -1637,11 +1637,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1637
1637
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1638
1638
|
hasBody: false,
|
|
1639
1639
|
shape: {
|
|
1640
|
-
account: accountField(),
|
|
1640
|
+
account: accountField(registry.accountAliases()),
|
|
1641
1641
|
customerId: z.string().min(1).describe("The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer`"),
|
|
1642
1642
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1643
1643
|
},
|
|
1644
|
-
});
|
|
1644
|
+
}, deps);
|
|
1645
1645
|
registerGeneratedTool(registry, {
|
|
1646
1646
|
name: "admin_schemas_patch",
|
|
1647
1647
|
cud: "update",
|
|
@@ -1650,13 +1650,13 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1650
1650
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "schemaKey", "api": "schemaKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1651
1651
|
hasBody: true,
|
|
1652
1652
|
shape: {
|
|
1653
|
-
account: accountField(),
|
|
1653
|
+
account: accountField(registry.accountAliases()),
|
|
1654
1654
|
customerId: z.string().min(1).describe("Immutable ID of the Google Workspace account."),
|
|
1655
1655
|
schemaKey: z.string().min(1).describe("Name or immutable ID of the schema."),
|
|
1656
1656
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Schema JSON request body. Top-level fields: displayName, etag, fields, kind, schemaId, schemaName."),
|
|
1657
1657
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1658
1658
|
},
|
|
1659
|
-
});
|
|
1659
|
+
}, deps);
|
|
1660
1660
|
registerGeneratedTool(registry, {
|
|
1661
1661
|
name: "admin_schemas_update",
|
|
1662
1662
|
cud: "update",
|
|
@@ -1665,13 +1665,13 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1665
1665
|
params: [{ "field": "customerId", "api": "customerId", "location": "path" }, { "field": "schemaKey", "api": "schemaKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1666
1666
|
hasBody: true,
|
|
1667
1667
|
shape: {
|
|
1668
|
-
account: accountField(),
|
|
1668
|
+
account: accountField(registry.accountAliases()),
|
|
1669
1669
|
customerId: z.string().min(1).describe("Immutable ID of the Google Workspace account."),
|
|
1670
1670
|
schemaKey: z.string().min(1).describe("Name or immutable ID of the schema."),
|
|
1671
1671
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Schema JSON request body. Top-level fields: displayName, etag, fields, kind, schemaId, schemaName."),
|
|
1672
1672
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1673
1673
|
},
|
|
1674
|
-
});
|
|
1674
|
+
}, deps);
|
|
1675
1675
|
registerGeneratedTool(registry, {
|
|
1676
1676
|
name: "admin_tokens_delete",
|
|
1677
1677
|
cud: "delete",
|
|
@@ -1680,12 +1680,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1680
1680
|
params: [{ "field": "clientId", "api": "clientId", "location": "path" }, { "field": "userKey", "api": "userKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1681
1681
|
hasBody: false,
|
|
1682
1682
|
shape: {
|
|
1683
|
-
account: accountField(),
|
|
1683
|
+
account: accountField(registry.accountAliases()),
|
|
1684
1684
|
clientId: z.string().min(1).describe("The Client ID of the application the token is issued to."),
|
|
1685
1685
|
userKey: z.string().min(1).describe("Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID."),
|
|
1686
1686
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1687
1687
|
},
|
|
1688
|
-
});
|
|
1688
|
+
}, deps);
|
|
1689
1689
|
registerGeneratedTool(registry, {
|
|
1690
1690
|
name: "admin_tokens_get",
|
|
1691
1691
|
cud: "read",
|
|
@@ -1694,12 +1694,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1694
1694
|
params: [{ "field": "clientId", "api": "clientId", "location": "path" }, { "field": "userKey", "api": "userKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1695
1695
|
hasBody: false,
|
|
1696
1696
|
shape: {
|
|
1697
|
-
account: accountField(),
|
|
1697
|
+
account: accountField(registry.accountAliases()),
|
|
1698
1698
|
clientId: z.string().min(1).describe("The Client ID of the application the token is issued to."),
|
|
1699
1699
|
userKey: z.string().min(1).describe("Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID."),
|
|
1700
1700
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1701
1701
|
},
|
|
1702
|
-
});
|
|
1702
|
+
}, deps);
|
|
1703
1703
|
registerGeneratedTool(registry, {
|
|
1704
1704
|
name: "admin_tokens_list",
|
|
1705
1705
|
cud: "read",
|
|
@@ -1708,11 +1708,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1708
1708
|
params: [{ "field": "userKey", "api": "userKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1709
1709
|
hasBody: false,
|
|
1710
1710
|
shape: {
|
|
1711
|
-
account: accountField(),
|
|
1711
|
+
account: accountField(registry.accountAliases()),
|
|
1712
1712
|
userKey: z.string().min(1).describe("Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID."),
|
|
1713
1713
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1714
1714
|
},
|
|
1715
|
-
});
|
|
1715
|
+
}, deps);
|
|
1716
1716
|
registerGeneratedTool(registry, {
|
|
1717
1717
|
name: "admin_two_step_verification_turn_off",
|
|
1718
1718
|
cud: "update",
|
|
@@ -1721,11 +1721,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1721
1721
|
params: [{ "field": "userKey", "api": "userKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1722
1722
|
hasBody: false,
|
|
1723
1723
|
shape: {
|
|
1724
|
-
account: accountField(),
|
|
1724
|
+
account: accountField(registry.accountAliases()),
|
|
1725
1725
|
userKey: z.string().min(1).describe("Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID."),
|
|
1726
1726
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1727
1727
|
},
|
|
1728
|
-
});
|
|
1728
|
+
}, deps);
|
|
1729
1729
|
registerGeneratedTool(registry, {
|
|
1730
1730
|
name: "admin_users_aliases_delete",
|
|
1731
1731
|
cud: "delete",
|
|
@@ -1734,12 +1734,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1734
1734
|
params: [{ "field": "alias", "api": "alias", "location": "path" }, { "field": "userKey", "api": "userKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1735
1735
|
hasBody: false,
|
|
1736
1736
|
shape: {
|
|
1737
|
-
account: accountField(),
|
|
1737
|
+
account: accountField(registry.accountAliases()),
|
|
1738
1738
|
alias: z.string().min(1).describe("The alias to be removed."),
|
|
1739
1739
|
userKey: z.string().min(1).describe("Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID."),
|
|
1740
1740
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1741
1741
|
},
|
|
1742
|
-
});
|
|
1742
|
+
}, deps);
|
|
1743
1743
|
registerGeneratedTool(registry, {
|
|
1744
1744
|
name: "admin_users_aliases_insert",
|
|
1745
1745
|
cud: "create",
|
|
@@ -1749,7 +1749,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1749
1749
|
hasBody: true,
|
|
1750
1750
|
bodyParams: [{ "field": "alias", "api": "alias" }, { "field": "etag", "api": "etag" }, { "field": "id", "api": "id" }, { "field": "kind", "api": "kind" }, { "field": "primaryEmail", "api": "primaryEmail" }],
|
|
1751
1751
|
shape: {
|
|
1752
|
-
account: accountField(),
|
|
1752
|
+
account: accountField(registry.accountAliases()),
|
|
1753
1753
|
userKey: z.string().min(1).describe("Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID."),
|
|
1754
1754
|
alias: z.string().optional(),
|
|
1755
1755
|
etag: z.string().optional(),
|
|
@@ -1758,7 +1758,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1758
1758
|
primaryEmail: z.string().optional(),
|
|
1759
1759
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1760
1760
|
},
|
|
1761
|
-
});
|
|
1761
|
+
}, deps);
|
|
1762
1762
|
registerGeneratedTool(registry, {
|
|
1763
1763
|
name: "admin_users_aliases_list",
|
|
1764
1764
|
cud: "read",
|
|
@@ -1767,12 +1767,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1767
1767
|
params: [{ "field": "userKey", "api": "userKey", "location": "path" }, { "field": "event", "api": "event", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1768
1768
|
hasBody: false,
|
|
1769
1769
|
shape: {
|
|
1770
|
-
account: accountField(),
|
|
1770
|
+
account: accountField(registry.accountAliases()),
|
|
1771
1771
|
userKey: z.string().min(1).describe("Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID."),
|
|
1772
1772
|
event: z.enum(["add", "delete"]).describe("Events to watch for.").optional(),
|
|
1773
1773
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1774
1774
|
},
|
|
1775
|
-
});
|
|
1775
|
+
}, deps);
|
|
1776
1776
|
registerGeneratedTool(registry, {
|
|
1777
1777
|
name: "admin_users_aliases_watch",
|
|
1778
1778
|
cud: "create",
|
|
@@ -1781,13 +1781,13 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1781
1781
|
params: [{ "field": "userKey", "api": "userKey", "location": "path" }, { "field": "event", "api": "event", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1782
1782
|
hasBody: true,
|
|
1783
1783
|
shape: {
|
|
1784
|
-
account: accountField(),
|
|
1784
|
+
account: accountField(registry.accountAliases()),
|
|
1785
1785
|
userKey: z.string().min(1).describe("Email or immutable ID of the user"),
|
|
1786
1786
|
event: z.enum(["add", "delete"]).describe("Events to watch for.").optional(),
|
|
1787
1787
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Channel JSON request body. Top-level fields: address, expiration, id, kind, params, payload, resourceId, resourceUri, token, type."),
|
|
1788
1788
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1789
1789
|
},
|
|
1790
|
-
});
|
|
1790
|
+
}, deps);
|
|
1791
1791
|
registerGeneratedTool(registry, {
|
|
1792
1792
|
name: "admin_users_create_guest",
|
|
1793
1793
|
cud: "create",
|
|
@@ -1797,12 +1797,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1797
1797
|
hasBody: true,
|
|
1798
1798
|
bodyParams: [{ "field": "customer", "api": "customer" }, { "field": "primaryGuestEmail", "api": "primaryGuestEmail" }],
|
|
1799
1799
|
shape: {
|
|
1800
|
-
account: accountField(),
|
|
1800
|
+
account: accountField(registry.accountAliases()),
|
|
1801
1801
|
customer: z.string().describe("Optional. Immutable ID of the Google Workspace account. Only required when request is created by a service account. Defaults to the authenticated user's customer ID otherwise.").optional(),
|
|
1802
1802
|
primaryGuestEmail: z.string().describe("Required. External email of the guest user being created.").optional(),
|
|
1803
1803
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1804
1804
|
},
|
|
1805
|
-
});
|
|
1805
|
+
}, deps);
|
|
1806
1806
|
registerGeneratedTool(registry, {
|
|
1807
1807
|
name: "admin_users_delete",
|
|
1808
1808
|
cud: "delete",
|
|
@@ -1811,11 +1811,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1811
1811
|
params: [{ "field": "userKey", "api": "userKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1812
1812
|
hasBody: false,
|
|
1813
1813
|
shape: {
|
|
1814
|
-
account: accountField(),
|
|
1814
|
+
account: accountField(registry.accountAliases()),
|
|
1815
1815
|
userKey: z.string().min(1).describe("Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID."),
|
|
1816
1816
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1817
1817
|
},
|
|
1818
|
-
});
|
|
1818
|
+
}, deps);
|
|
1819
1819
|
registerGeneratedTool(registry, {
|
|
1820
1820
|
name: "admin_users_insert",
|
|
1821
1821
|
cud: "create",
|
|
@@ -1824,12 +1824,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1824
1824
|
params: [{ "field": "resolveConflictAccount", "api": "resolveConflictAccount", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1825
1825
|
hasBody: true,
|
|
1826
1826
|
shape: {
|
|
1827
|
-
account: accountField(),
|
|
1827
|
+
account: accountField(registry.accountAliases()),
|
|
1828
1828
|
resolveConflictAccount: coerceBoolean.describe("Optional. If set to `true`, the option selected for [handling unmanaged user accounts](https://support.google.com/a/answer/11112794) will apply. Default: `false`").optional(),
|
|
1829
1829
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("User JSON request body. Top-level fields: addresses, agreedToTerms, aliases, archivalTime, archived, changePasswordAtNextLogin, creationTime, customSchemas, customerId, deletionTime, emails, etag, +38 more."),
|
|
1830
1830
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1831
1831
|
},
|
|
1832
|
-
});
|
|
1832
|
+
}, deps);
|
|
1833
1833
|
registerGeneratedTool(registry, {
|
|
1834
1834
|
name: "admin_users_make_admin",
|
|
1835
1835
|
cud: "update",
|
|
@@ -1839,12 +1839,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1839
1839
|
hasBody: true,
|
|
1840
1840
|
bodyParams: [{ "field": "status", "api": "status" }],
|
|
1841
1841
|
shape: {
|
|
1842
|
-
account: accountField(),
|
|
1842
|
+
account: accountField(registry.accountAliases()),
|
|
1843
1843
|
userKey: z.string().min(1).describe("Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID."),
|
|
1844
1844
|
status: coerceBoolean.describe("Indicates the administrator status of the user."),
|
|
1845
1845
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1846
1846
|
},
|
|
1847
|
-
});
|
|
1847
|
+
}, deps);
|
|
1848
1848
|
registerGeneratedTool(registry, {
|
|
1849
1849
|
name: "admin_users_photos_delete",
|
|
1850
1850
|
cud: "delete",
|
|
@@ -1853,11 +1853,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1853
1853
|
params: [{ "field": "userKey", "api": "userKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1854
1854
|
hasBody: false,
|
|
1855
1855
|
shape: {
|
|
1856
|
-
account: accountField(),
|
|
1856
|
+
account: accountField(registry.accountAliases()),
|
|
1857
1857
|
userKey: z.string().min(1).describe("Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID."),
|
|
1858
1858
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1859
1859
|
},
|
|
1860
|
-
});
|
|
1860
|
+
}, deps);
|
|
1861
1861
|
registerGeneratedTool(registry, {
|
|
1862
1862
|
name: "admin_users_photos_get",
|
|
1863
1863
|
cud: "read",
|
|
@@ -1866,11 +1866,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1866
1866
|
params: [{ "field": "userKey", "api": "userKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1867
1867
|
hasBody: false,
|
|
1868
1868
|
shape: {
|
|
1869
|
-
account: accountField(),
|
|
1869
|
+
account: accountField(registry.accountAliases()),
|
|
1870
1870
|
userKey: z.string().min(1).describe("Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID."),
|
|
1871
1871
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1872
1872
|
},
|
|
1873
|
-
});
|
|
1873
|
+
}, deps);
|
|
1874
1874
|
registerGeneratedTool(registry, {
|
|
1875
1875
|
name: "admin_users_photos_patch",
|
|
1876
1876
|
cud: "update",
|
|
@@ -1880,7 +1880,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1880
1880
|
hasBody: true,
|
|
1881
1881
|
bodyParams: [{ "field": "etag", "api": "etag" }, { "field": "height", "api": "height" }, { "field": "id", "api": "id" }, { "field": "kind", "api": "kind" }, { "field": "mimeType", "api": "mimeType" }, { "field": "photoData", "api": "photoData" }, { "field": "primaryEmail", "api": "primaryEmail" }, { "field": "width", "api": "width" }],
|
|
1882
1882
|
shape: {
|
|
1883
|
-
account: accountField(),
|
|
1883
|
+
account: accountField(registry.accountAliases()),
|
|
1884
1884
|
userKey: z.string().min(1).describe("Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID."),
|
|
1885
1885
|
etag: z.string().describe("ETag of the resource.").optional(),
|
|
1886
1886
|
height: z.number().describe("Height of the photo in pixels.").optional(),
|
|
@@ -1892,7 +1892,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1892
1892
|
width: z.number().describe("Width of the photo in pixels.").optional(),
|
|
1893
1893
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1894
1894
|
},
|
|
1895
|
-
});
|
|
1895
|
+
}, deps);
|
|
1896
1896
|
registerGeneratedTool(registry, {
|
|
1897
1897
|
name: "admin_users_photos_update",
|
|
1898
1898
|
cud: "update",
|
|
@@ -1902,7 +1902,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1902
1902
|
hasBody: true,
|
|
1903
1903
|
bodyParams: [{ "field": "photoData", "api": "photoData" }, { "field": "etag", "api": "etag" }, { "field": "height", "api": "height" }, { "field": "id", "api": "id" }, { "field": "kind", "api": "kind" }, { "field": "mimeType", "api": "mimeType" }, { "field": "primaryEmail", "api": "primaryEmail" }, { "field": "width", "api": "width" }],
|
|
1904
1904
|
shape: {
|
|
1905
|
-
account: accountField(),
|
|
1905
|
+
account: accountField(registry.accountAliases()),
|
|
1906
1906
|
userKey: z.string().min(1).describe("Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID."),
|
|
1907
1907
|
photoData: z.string().min(1).describe("The user photo's upload data in [web-safe Base64](https://en.wikipedia.org/wiki/Base64#URL_applications) format in bytes. This means: * The slash (/) character is replaced with the underscore (_) char"),
|
|
1908
1908
|
etag: z.string().describe("ETag of the resource.").optional(),
|
|
@@ -1914,7 +1914,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1914
1914
|
width: z.number().describe("Width of the photo in pixels.").optional(),
|
|
1915
1915
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1916
1916
|
},
|
|
1917
|
-
});
|
|
1917
|
+
}, deps);
|
|
1918
1918
|
registerGeneratedTool(registry, {
|
|
1919
1919
|
name: "admin_users_sign_out",
|
|
1920
1920
|
cud: "delete",
|
|
@@ -1923,11 +1923,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1923
1923
|
params: [{ "field": "userKey", "api": "userKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1924
1924
|
hasBody: false,
|
|
1925
1925
|
shape: {
|
|
1926
|
-
account: accountField(),
|
|
1926
|
+
account: accountField(registry.accountAliases()),
|
|
1927
1927
|
userKey: z.string().min(1).describe("Identifies the target user in the API request. The value can be the user's primary email address, alias email address, or unique user ID."),
|
|
1928
1928
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1929
1929
|
},
|
|
1930
|
-
});
|
|
1930
|
+
}, deps);
|
|
1931
1931
|
registerGeneratedTool(registry, {
|
|
1932
1932
|
name: "admin_users_undelete",
|
|
1933
1933
|
cud: "update",
|
|
@@ -1937,12 +1937,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1937
1937
|
hasBody: true,
|
|
1938
1938
|
bodyParams: [{ "field": "orgUnitPath", "api": "orgUnitPath" }],
|
|
1939
1939
|
shape: {
|
|
1940
|
-
account: accountField(),
|
|
1940
|
+
account: accountField(registry.accountAliases()),
|
|
1941
1941
|
userKey: z.string().min(1).describe("The immutable id of the user"),
|
|
1942
1942
|
orgUnitPath: z.string().describe("OrgUnit of User").optional(),
|
|
1943
1943
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1944
1944
|
},
|
|
1945
|
-
});
|
|
1945
|
+
}, deps);
|
|
1946
1946
|
registerGeneratedTool(registry, {
|
|
1947
1947
|
name: "admin_users_replace",
|
|
1948
1948
|
cud: "update",
|
|
@@ -1951,12 +1951,12 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1951
1951
|
params: [{ "field": "userKey", "api": "userKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1952
1952
|
hasBody: true,
|
|
1953
1953
|
shape: {
|
|
1954
|
-
account: accountField(),
|
|
1954
|
+
account: accountField(registry.accountAliases()),
|
|
1955
1955
|
userKey: z.string().min(1).describe("Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID."),
|
|
1956
1956
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("User JSON request body. Top-level fields: addresses, agreedToTerms, aliases, archivalTime, archived, changePasswordAtNextLogin, creationTime, customSchemas, customerId, deletionTime, emails, etag, +38 more."),
|
|
1957
1957
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1958
1958
|
},
|
|
1959
|
-
});
|
|
1959
|
+
}, deps);
|
|
1960
1960
|
registerGeneratedTool(registry, {
|
|
1961
1961
|
name: "admin_users_watch",
|
|
1962
1962
|
cud: "create",
|
|
@@ -1965,7 +1965,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1965
1965
|
params: [{ "field": "customer", "api": "customer", "location": "query" }, { "field": "customFieldMask", "api": "customFieldMask", "location": "query" }, { "field": "domain", "api": "domain", "location": "query" }, { "field": "event", "api": "event", "location": "query" }, { "field": "maxResults", "api": "maxResults", "location": "query" }, { "field": "orderBy", "api": "orderBy", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "projection", "api": "projection", "location": "query" }, { "field": "query", "api": "query", "location": "query" }, { "field": "showDeleted", "api": "showDeleted", "location": "query" }, { "field": "sortOrder", "api": "sortOrder", "location": "query" }, { "field": "viewType", "api": "viewType", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1966
1966
|
hasBody: true,
|
|
1967
1967
|
shape: {
|
|
1968
|
-
account: accountField(),
|
|
1968
|
+
account: accountField(registry.accountAliases()),
|
|
1969
1969
|
customer: z.string().describe("Immutable ID of the Google Workspace account. In case of multi-domain, to fetch all users for a customer, fill this field instead of domain.").optional(),
|
|
1970
1970
|
customFieldMask: z.string().describe("Comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when projection=custom.").optional(),
|
|
1971
1971
|
domain: z.string().describe("Name of the domain. Fill this field to get users from only this domain. To return all users in a multi-domain fill customer field instead.\"").optional(),
|
|
@@ -1981,7 +1981,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1981
1981
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Channel JSON request body. Top-level fields: address, expiration, id, kind, params, payload, resourceId, resourceUri, token, type."),
|
|
1982
1982
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1983
1983
|
},
|
|
1984
|
-
});
|
|
1984
|
+
}, deps);
|
|
1985
1985
|
registerGeneratedTool(registry, {
|
|
1986
1986
|
name: "admin_verification_codes_generate",
|
|
1987
1987
|
cud: "create",
|
|
@@ -1990,11 +1990,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
1990
1990
|
params: [{ "field": "userKey", "api": "userKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
1991
1991
|
hasBody: false,
|
|
1992
1992
|
shape: {
|
|
1993
|
-
account: accountField(),
|
|
1993
|
+
account: accountField(registry.accountAliases()),
|
|
1994
1994
|
userKey: z.string().min(1).describe("Email or immutable ID of the user"),
|
|
1995
1995
|
fields: z.string().optional().describe('Response field mask.'),
|
|
1996
1996
|
},
|
|
1997
|
-
});
|
|
1997
|
+
}, deps);
|
|
1998
1998
|
registerGeneratedTool(registry, {
|
|
1999
1999
|
name: "admin_verification_codes_invalidate",
|
|
2000
2000
|
cud: "delete",
|
|
@@ -2003,11 +2003,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
2003
2003
|
params: [{ "field": "userKey", "api": "userKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
2004
2004
|
hasBody: false,
|
|
2005
2005
|
shape: {
|
|
2006
|
-
account: accountField(),
|
|
2006
|
+
account: accountField(registry.accountAliases()),
|
|
2007
2007
|
userKey: z.string().min(1).describe("Email or immutable ID of the user"),
|
|
2008
2008
|
fields: z.string().optional().describe('Response field mask.'),
|
|
2009
2009
|
},
|
|
2010
|
-
});
|
|
2010
|
+
}, deps);
|
|
2011
2011
|
registerGeneratedTool(registry, {
|
|
2012
2012
|
name: "admin_verification_codes_list",
|
|
2013
2013
|
cud: "read",
|
|
@@ -2016,11 +2016,11 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
2016
2016
|
params: [{ "field": "userKey", "api": "userKey", "location": "path" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
2017
2017
|
hasBody: false,
|
|
2018
2018
|
shape: {
|
|
2019
|
-
account: accountField(),
|
|
2019
|
+
account: accountField(registry.accountAliases()),
|
|
2020
2020
|
userKey: z.string().min(1).describe("Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID."),
|
|
2021
2021
|
fields: z.string().optional().describe('Response field mask.'),
|
|
2022
2022
|
},
|
|
2023
|
-
});
|
|
2023
|
+
}, deps);
|
|
2024
2024
|
// Interned method scope sets (shared across tools; see scope-observability).
|
|
2025
2025
|
const S_admin_reports_v1 = [
|
|
2026
2026
|
["https://www.googleapis.com/auth/admin.reports.audit.readonly"],
|
|
@@ -2034,7 +2034,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
2034
2034
|
params: [{ "field": "applicationName", "api": "applicationName", "location": "path" }, { "field": "userKey", "api": "userKey", "location": "path" }, { "field": "actorIpAddress", "api": "actorIpAddress", "location": "query" }, { "field": "customerId", "api": "customerId", "location": "query" }, { "field": "endTime", "api": "endTime", "location": "query" }, { "field": "eventName", "api": "eventName", "location": "query" }, { "field": "filters", "api": "filters", "location": "query" }, { "field": "groupIdFilter", "api": "groupIdFilter", "location": "query" }, { "field": "maxResults", "api": "maxResults", "location": "query" }, { "field": "orgUnitID", "api": "orgUnitID", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "startTime", "api": "startTime", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
2035
2035
|
hasBody: true,
|
|
2036
2036
|
shape: {
|
|
2037
|
-
account: accountField(),
|
|
2037
|
+
account: accountField(registry.accountAliases()),
|
|
2038
2038
|
applicationName: z.enum(["access_transparency", "admin", "calendar", "chat", "drive", "gcp", "gplus", "groups", "groups_enterprise", "jamboard", "login", "meet", "mobile", "rules", "saml", "token", "user_accounts", "context_aware_access", "chrome", "data_studio", "keep", "classroom"]).describe("Application name for which the events are to be retrieved."),
|
|
2039
2039
|
userKey: z.string().min(1).describe("Represents the profile ID or the user email for which the data should be filtered. Can be `all` for all information, or `userKey` for a user's unique Google Workspace profile ID or their primary email"),
|
|
2040
2040
|
actorIpAddress: z.string().describe("The Internet Protocol (IP) Address of host where the event was performed. This is an additional way to filter a report's summary using the IP address of the user whose activity is being reported. This").optional(),
|
|
@@ -2050,7 +2050,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
2050
2050
|
body: coerceJson(z.record(z.string(), z.unknown())).describe("Channel JSON request body. Top-level fields: address, expiration, id, kind, params, payload, resourceId, resourceUri, token, type."),
|
|
2051
2051
|
fields: z.string().optional().describe('Response field mask.'),
|
|
2052
2052
|
},
|
|
2053
|
-
});
|
|
2053
|
+
}, deps);
|
|
2054
2054
|
registerGeneratedTool(registry, {
|
|
2055
2055
|
name: "admin_customer_usage_reports_get",
|
|
2056
2056
|
cud: "read",
|
|
@@ -2059,14 +2059,14 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
2059
2059
|
params: [{ "field": "date", "api": "date", "location": "path" }, { "field": "customerId", "api": "customerId", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "parameters", "api": "parameters", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
2060
2060
|
hasBody: false,
|
|
2061
2061
|
shape: {
|
|
2062
|
-
account: accountField(),
|
|
2062
|
+
account: accountField(registry.accountAliases()),
|
|
2063
2063
|
date: z.string().min(1).describe("Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time). The timestamp is in the [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601), `yyyy-mm-dd`."),
|
|
2064
2064
|
customerId: z.string().describe("The unique ID of the customer to retrieve data for.").optional(),
|
|
2065
2065
|
pageToken: z.string().describe("Token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. For your follow-on requests getting all of the report's pages, enter the `nextPageToken` value ").optional(),
|
|
2066
2066
|
parameters: z.string().describe("The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Cust").optional(),
|
|
2067
2067
|
fields: z.string().optional().describe('Response field mask.'),
|
|
2068
2068
|
},
|
|
2069
|
-
});
|
|
2069
|
+
}, deps);
|
|
2070
2070
|
registerGeneratedTool(registry, {
|
|
2071
2071
|
name: "admin_entity_usage_reports_get",
|
|
2072
2072
|
cud: "read",
|
|
@@ -2075,7 +2075,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
2075
2075
|
params: [{ "field": "date", "api": "date", "location": "path" }, { "field": "entityKey", "api": "entityKey", "location": "path" }, { "field": "entityType", "api": "entityType", "location": "path" }, { "field": "customerId", "api": "customerId", "location": "query" }, { "field": "filters", "api": "filters", "location": "query" }, { "field": "maxResults", "api": "maxResults", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "parameters", "api": "parameters", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
2076
2076
|
hasBody: false,
|
|
2077
2077
|
shape: {
|
|
2078
|
-
account: accountField(),
|
|
2078
|
+
account: accountField(registry.accountAliases()),
|
|
2079
2079
|
date: z.string().min(1).describe("Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time). The timestamp is in the [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601), `yyyy-mm-dd`."),
|
|
2080
2080
|
entityKey: z.string().min(1).describe("Represents the key of the object to filter the data with. It is a string which can take the value `all` to get activity events for all users, or any other value for an app-specific entity. For details"),
|
|
2081
2081
|
entityType: z.enum(["gplus_communities"]).describe("Represents the type of entity for the report."),
|
|
@@ -2086,7 +2086,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
2086
2086
|
parameters: z.string().describe("The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Enti").optional(),
|
|
2087
2087
|
fields: z.string().optional().describe('Response field mask.'),
|
|
2088
2088
|
},
|
|
2089
|
-
});
|
|
2089
|
+
}, deps);
|
|
2090
2090
|
registerGeneratedTool(registry, {
|
|
2091
2091
|
name: "admin_user_usage_report_get",
|
|
2092
2092
|
cud: "read",
|
|
@@ -2095,7 +2095,7 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
2095
2095
|
params: [{ "field": "date", "api": "date", "location": "path" }, { "field": "userKey", "api": "userKey", "location": "path" }, { "field": "customerId", "api": "customerId", "location": "query" }, { "field": "filters", "api": "filters", "location": "query" }, { "field": "groupIdFilter", "api": "groupIdFilter", "location": "query" }, { "field": "maxResults", "api": "maxResults", "location": "query" }, { "field": "orgUnitID", "api": "orgUnitID", "location": "query" }, { "field": "pageToken", "api": "pageToken", "location": "query" }, { "field": "parameters", "api": "parameters", "location": "query" }, { "field": "fields", "api": "fields", "location": "query" }],
|
|
2096
2096
|
hasBody: false,
|
|
2097
2097
|
shape: {
|
|
2098
|
-
account: accountField(),
|
|
2098
|
+
account: accountField(registry.accountAliases()),
|
|
2099
2099
|
date: z.string().min(1).describe("Represents the date the usage occurred, based on UTC-8:00 (Pacific Standard Time). The timestamp is in the [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601), `yyyy-mm-dd`."),
|
|
2100
2100
|
userKey: z.string().min(1).describe("Represents the profile ID or the user email for which the data should be filtered. Can be `all` for all information, or `userKey` for a user's unique Google Workspace profile ID or their primary email"),
|
|
2101
2101
|
customerId: z.string().describe("The unique ID of the customer to retrieve data for.").optional(),
|
|
@@ -2107,5 +2107,5 @@ export function registerAdminGeneratedTools(registry) {
|
|
|
2107
2107
|
parameters: z.string().describe("The `parameters` query string is a comma-separated list of event parameters that refine a report's results. The parameter is associated with a specific application. The application values for the Cust").optional(),
|
|
2108
2108
|
fields: z.string().optional().describe('Response field mask.'),
|
|
2109
2109
|
},
|
|
2110
|
-
});
|
|
2110
|
+
}, deps);
|
|
2111
2111
|
}
|