@smartbear/mcp 0.42.0 → 0.44.0
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/bearq/api.js +16 -0
- package/dist/bearq/client.js +9 -1
- package/dist/bearq/tool/tasks/stop-task.js +6 -3
- package/dist/bearq/tool/workflows/get-workflow-run.js +31 -0
- package/dist/bearq/tool/workflows/list-workflows.js +28 -0
- package/dist/bearq/tool/workflows/run-workflow.js +57 -0
- package/dist/bearq/tool/workflows/stop-workflow-run.js +33 -0
- package/dist/bugsnag/client.js +14 -2
- package/dist/common/config-names.js +12 -0
- package/dist/common/info.js +2 -0
- package/dist/common/list-integrations.js +53 -0
- package/dist/common/server.js +64 -2
- package/dist/common/transport-http.js +100 -33
- package/dist/common/transport-stdio.js +1 -6
- package/dist/package.json.js +1 -1
- package/dist/pactflow/client/admin-api.js +3 -8
- package/dist/pactflow/client/ai.js +34 -0
- package/dist/pactflow/client/contract-api.js +2 -0
- package/dist/pactflow/client/http-client.js +7 -2
- package/dist/pactflow/client/pacticipant-api.js +37 -0
- package/dist/pactflow/client/schemas/admin.js +799 -0
- package/dist/pactflow/client/schemas/common.js +201 -0
- package/dist/pactflow/client/schemas/contract.js +444 -0
- package/dist/pactflow/client/schemas/environment.js +94 -0
- package/dist/pactflow/client/schemas/output.js +55 -0
- package/dist/pactflow/client/schemas/pacticipant.js +290 -0
- package/dist/pactflow/client/schemas/webhook.js +164 -0
- package/dist/pactflow/client/tools.js +32 -1
- package/dist/pactflow/client.js +21 -3
- package/dist/qmetry/client/ai-agent.js +3 -0
- package/dist/qmetry/client/api/error-handler.js +7 -2
- package/dist/qmetry/client/auto-resolve.js +5 -0
- package/dist/qmetry/client/handlers.js +2 -1
- package/dist/qmetry/client/project.js +19 -1
- package/dist/qmetry/client/testsuite.js +207 -2
- package/dist/qmetry/client/tools/ai-agent-tools.js +13 -0
- package/dist/qmetry/client/tools/issue-tools.js +7 -3
- package/dist/qmetry/client/tools/project-tools.js +34 -1
- package/dist/qmetry/client/tools/testcase-tools.js +43 -296
- package/dist/qmetry/client/tools/testsuite-tools.js +49 -19
- package/dist/qmetry/client/udf.js +14 -2
- package/dist/qmetry/client.js +2 -1
- package/dist/qmetry/config/constants.js +1 -0
- package/dist/qmetry/config/rest-endpoints.js +2 -1
- package/dist/qmetry/types/ai-agent.js +3 -0
- package/dist/qmetry/types/common.js +40 -2
- package/dist/qmetry/types/udf.js +1 -20
- package/dist/swagger/client/portal-types.js +11 -5
- package/dist/swagger/client/registry-types.js +5 -4
- package/dist/swagger/client/tools.js +1 -1
- package/dist/zephyr/tool/test-case/create-web-link.js +17 -2
- package/dist/zephyr/tool/test-cycle/create-web-link.js +18 -2
- package/package.json +4 -2
- package/plugin/README.md +42 -0
- package/src/pactflow/drift/README.md +91 -0
- package/dist/pactflow/client/base.js +0 -488
|
@@ -0,0 +1,799 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { PaginationSchema, EmptyOutputSchema, EmbeddedLinkOutputSchema, named, ActionOutputSchema, EmbeddedNamedOutputSchema, EmbeddedEnvironmentOutputSchema, PageOutputSchema } from "./common.js";
|
|
3
|
+
const MetricsOutputSchema = z.looseObject({
|
|
4
|
+
crossContractComparisons: z.looseObject({
|
|
5
|
+
count: z.number().optional()
|
|
6
|
+
}).optional(),
|
|
7
|
+
deployedVersions: z.looseObject({
|
|
8
|
+
count: z.number().optional(),
|
|
9
|
+
userCreatedCount: z.number().optional(),
|
|
10
|
+
currentlyDeployedCount: z.number().optional()
|
|
11
|
+
}).optional(),
|
|
12
|
+
environments: z.looseObject({
|
|
13
|
+
count: z.number().optional()
|
|
14
|
+
}).optional(),
|
|
15
|
+
interactions: z.looseObject({
|
|
16
|
+
latestInteractionsAndMessagesCount: z.number().optional(),
|
|
17
|
+
latestInteractionsCount: z.number().optional(),
|
|
18
|
+
latestMessagesCount: z.number().optional()
|
|
19
|
+
}).optional(),
|
|
20
|
+
integrations: z.looseObject({
|
|
21
|
+
count: z.number().optional()
|
|
22
|
+
}).optional(),
|
|
23
|
+
matrix: z.looseObject({
|
|
24
|
+
count: z.number().describe(
|
|
25
|
+
"Hardcoded to -1 by current brokers (calculating it was too slow); older brokers return the real count."
|
|
26
|
+
).optional()
|
|
27
|
+
}).optional(),
|
|
28
|
+
pactPublications: z.looseObject({
|
|
29
|
+
count: z.number().optional(),
|
|
30
|
+
first: z.string().nullable().optional(),
|
|
31
|
+
last: z.string().nullable().optional()
|
|
32
|
+
}).optional(),
|
|
33
|
+
pactVersions: z.looseObject({
|
|
34
|
+
count: z.number().optional()
|
|
35
|
+
}).optional(),
|
|
36
|
+
pactRevisionsPerConsumerVersion: z.looseObject({
|
|
37
|
+
distribution: z.looseObject({}).optional()
|
|
38
|
+
}).optional(),
|
|
39
|
+
pacticipants: z.looseObject({
|
|
40
|
+
count: z.number().optional(),
|
|
41
|
+
withMainBranchSetCount: z.number().optional()
|
|
42
|
+
}).optional(),
|
|
43
|
+
pacticipantVersions: z.looseObject({
|
|
44
|
+
count: z.number().optional(),
|
|
45
|
+
withUserCreatedBranchCount: z.number().optional(),
|
|
46
|
+
withBranchCount: z.number().optional(),
|
|
47
|
+
withBranchSetCount: z.number().optional()
|
|
48
|
+
}).optional(),
|
|
49
|
+
providerContractPublications: z.looseObject({
|
|
50
|
+
count: z.number().optional()
|
|
51
|
+
}).optional(),
|
|
52
|
+
providerContractVersions: z.looseObject({
|
|
53
|
+
count: z.number().optional()
|
|
54
|
+
}).optional(),
|
|
55
|
+
providerContractSelfVerifications: z.looseObject({
|
|
56
|
+
count: z.number().optional()
|
|
57
|
+
}).optional(),
|
|
58
|
+
releasedVersions: z.looseObject({
|
|
59
|
+
count: z.number().optional(),
|
|
60
|
+
currentlySupportedCount: z.number().optional()
|
|
61
|
+
}).optional(),
|
|
62
|
+
secrets: z.looseObject({
|
|
63
|
+
count: z.number().optional(),
|
|
64
|
+
countsByTeam: z.array(z.number()).optional()
|
|
65
|
+
}).optional(),
|
|
66
|
+
tags: z.looseObject({
|
|
67
|
+
count: z.number().optional(),
|
|
68
|
+
distinctCount: z.number().optional(),
|
|
69
|
+
distinctWithPacticipantCount: z.number().optional()
|
|
70
|
+
}).optional(),
|
|
71
|
+
teams: z.looseObject({
|
|
72
|
+
count: z.number().optional()
|
|
73
|
+
}).optional(),
|
|
74
|
+
triggeredWebhooks: z.looseObject({
|
|
75
|
+
count: z.number().optional()
|
|
76
|
+
}).optional(),
|
|
77
|
+
users: z.looseObject({
|
|
78
|
+
activeRegularCount: z.number().optional(),
|
|
79
|
+
activeSystemCount: z.number().optional()
|
|
80
|
+
}).optional(),
|
|
81
|
+
verificationResults: z.looseObject({
|
|
82
|
+
count: z.number().optional(),
|
|
83
|
+
successCount: z.number().optional(),
|
|
84
|
+
failureCount: z.number().optional(),
|
|
85
|
+
distinctCount: z.number().optional(),
|
|
86
|
+
first: z.string().nullable().optional(),
|
|
87
|
+
last: z.string().nullable().optional()
|
|
88
|
+
}).optional(),
|
|
89
|
+
verificationResultsPerPactVersion: z.looseObject({
|
|
90
|
+
distribution: z.looseObject({}).optional()
|
|
91
|
+
}).optional(),
|
|
92
|
+
webhookExecutions: z.looseObject({
|
|
93
|
+
count: z.number().optional()
|
|
94
|
+
}).optional(),
|
|
95
|
+
webhooks: z.looseObject({
|
|
96
|
+
count: z.number().optional()
|
|
97
|
+
}).optional()
|
|
98
|
+
});
|
|
99
|
+
const TeamMetricsOutputSchema = z.looseObject({
|
|
100
|
+
teams: z.array(
|
|
101
|
+
z.looseObject({
|
|
102
|
+
name: z.string().optional(),
|
|
103
|
+
metrics: z.looseObject({
|
|
104
|
+
interactions: z.looseObject({
|
|
105
|
+
latestInteractionsCount: z.number().optional(),
|
|
106
|
+
latestMessagesCount: z.number().optional()
|
|
107
|
+
}).optional(),
|
|
108
|
+
pacticipants: z.looseObject({
|
|
109
|
+
count: z.number().optional()
|
|
110
|
+
}).optional(),
|
|
111
|
+
integrations: z.looseObject({
|
|
112
|
+
count: z.number().optional()
|
|
113
|
+
}).optional(),
|
|
114
|
+
pactPublications: z.looseObject({
|
|
115
|
+
count: z.number().optional(),
|
|
116
|
+
first: z.string().nullable().optional(),
|
|
117
|
+
last: z.string().nullable().optional()
|
|
118
|
+
}).optional(),
|
|
119
|
+
pactVersions: z.looseObject({
|
|
120
|
+
count: z.number().optional()
|
|
121
|
+
}).optional(),
|
|
122
|
+
verificationResults: z.looseObject({
|
|
123
|
+
count: z.number().optional(),
|
|
124
|
+
successCount: z.number().optional(),
|
|
125
|
+
failureCount: z.number().optional(),
|
|
126
|
+
first: z.string().nullable().optional(),
|
|
127
|
+
last: z.string().nullable().optional()
|
|
128
|
+
}).optional(),
|
|
129
|
+
users: z.looseObject({
|
|
130
|
+
activeRegularCount: z.number().optional(),
|
|
131
|
+
activeSystemCount: z.number().optional()
|
|
132
|
+
}).optional(),
|
|
133
|
+
webhooks: z.looseObject({
|
|
134
|
+
count: z.number().optional()
|
|
135
|
+
}).optional(),
|
|
136
|
+
webhookExecutions: z.looseObject({
|
|
137
|
+
count: z.number().optional()
|
|
138
|
+
}).optional(),
|
|
139
|
+
triggeredWebhooks: z.looseObject({
|
|
140
|
+
count: z.number().optional()
|
|
141
|
+
}).optional(),
|
|
142
|
+
secrets: z.looseObject({
|
|
143
|
+
count: z.number().optional()
|
|
144
|
+
}).optional(),
|
|
145
|
+
environments: z.looseObject({
|
|
146
|
+
count: z.number().optional()
|
|
147
|
+
}).optional(),
|
|
148
|
+
providerContractPublications: z.looseObject({
|
|
149
|
+
count: z.number().optional()
|
|
150
|
+
}).optional(),
|
|
151
|
+
providerContractVersions: z.looseObject({
|
|
152
|
+
count: z.number().optional()
|
|
153
|
+
}).optional(),
|
|
154
|
+
providerContractSelfVerifications: z.looseObject({
|
|
155
|
+
count: z.number().optional()
|
|
156
|
+
}).optional(),
|
|
157
|
+
deployedVersions: z.looseObject({
|
|
158
|
+
count: z.number().optional(),
|
|
159
|
+
currentlyDeployedCount: z.number().optional()
|
|
160
|
+
}).optional(),
|
|
161
|
+
releasedVersions: z.looseObject({
|
|
162
|
+
count: z.number().optional(),
|
|
163
|
+
currentlySupportedCount: z.number().optional()
|
|
164
|
+
}).optional()
|
|
165
|
+
}).optional()
|
|
166
|
+
})
|
|
167
|
+
).optional(),
|
|
168
|
+
_links: z.looseObject({
|
|
169
|
+
self: EmbeddedLinkOutputSchema.optional()
|
|
170
|
+
}).optional()
|
|
171
|
+
});
|
|
172
|
+
const EmbeddedUserOutputSchema = named(
|
|
173
|
+
"EmbeddedUser",
|
|
174
|
+
z.looseObject({
|
|
175
|
+
active: z.boolean().optional(),
|
|
176
|
+
email: z.string().optional(),
|
|
177
|
+
firstName: z.string().optional(),
|
|
178
|
+
identityProviderId: z.string().optional(),
|
|
179
|
+
lastName: z.string().optional(),
|
|
180
|
+
name: z.string().optional(),
|
|
181
|
+
uuid: z.string().optional(),
|
|
182
|
+
_links: z.looseObject({
|
|
183
|
+
self: EmbeddedLinkOutputSchema.optional()
|
|
184
|
+
}).optional()
|
|
185
|
+
})
|
|
186
|
+
);
|
|
187
|
+
const EmbeddedTeamUserOutputSchema = named(
|
|
188
|
+
"EmbeddedTeamUser",
|
|
189
|
+
z.looseObject({
|
|
190
|
+
active: z.boolean().optional(),
|
|
191
|
+
email: z.string().optional(),
|
|
192
|
+
firstName: z.string().optional(),
|
|
193
|
+
identityProviderId: z.string().optional(),
|
|
194
|
+
lastName: z.string().optional(),
|
|
195
|
+
name: z.string().optional(),
|
|
196
|
+
uuid: z.string().optional(),
|
|
197
|
+
type: z.union([z.literal(0), z.literal(1)]).optional(),
|
|
198
|
+
typeDescription: z.string().optional(),
|
|
199
|
+
_links: z.looseObject({
|
|
200
|
+
self: EmbeddedLinkOutputSchema.optional()
|
|
201
|
+
}).optional()
|
|
202
|
+
})
|
|
203
|
+
);
|
|
204
|
+
const TeamOutputSchema = named(
|
|
205
|
+
"Team",
|
|
206
|
+
z.looseObject({
|
|
207
|
+
createdAt: z.string().optional(),
|
|
208
|
+
name: z.string().optional(),
|
|
209
|
+
numberOfMembers: z.number().optional(),
|
|
210
|
+
updatedAt: z.string().optional(),
|
|
211
|
+
uuid: z.string().optional(),
|
|
212
|
+
isDefault: z.boolean().optional(),
|
|
213
|
+
_embedded: z.looseObject({
|
|
214
|
+
administrators: z.array(EmbeddedUserOutputSchema).optional(),
|
|
215
|
+
environments: z.array(EmbeddedEnvironmentOutputSchema).optional(),
|
|
216
|
+
members: z.array(EmbeddedTeamUserOutputSchema).optional(),
|
|
217
|
+
pacticipants: z.array(EmbeddedNamedOutputSchema).optional()
|
|
218
|
+
}).optional(),
|
|
219
|
+
_links: z.looseObject({
|
|
220
|
+
self: EmbeddedLinkOutputSchema.optional()
|
|
221
|
+
}).optional()
|
|
222
|
+
})
|
|
223
|
+
);
|
|
224
|
+
const SecretOutputSchema = named(
|
|
225
|
+
"Secret",
|
|
226
|
+
z.looseObject({
|
|
227
|
+
createdAt: z.string().optional(),
|
|
228
|
+
description: z.string().nullable().optional(),
|
|
229
|
+
name: z.string().optional(),
|
|
230
|
+
teamUuid: z.string().nullable().describe(
|
|
231
|
+
'Where no team is provided, the secret is not attached to a team and can only be modified by users with the "secret:manage:*" permission.'
|
|
232
|
+
).optional(),
|
|
233
|
+
updatedAt: z.string().optional(),
|
|
234
|
+
uuid: z.string().optional(),
|
|
235
|
+
_embedded: z.looseObject({
|
|
236
|
+
team: TeamOutputSchema.optional()
|
|
237
|
+
}).optional(),
|
|
238
|
+
_links: z.looseObject({
|
|
239
|
+
self: EmbeddedLinkOutputSchema.optional()
|
|
240
|
+
}).optional()
|
|
241
|
+
})
|
|
242
|
+
);
|
|
243
|
+
const SecretsOutputSchema = z.looseObject({
|
|
244
|
+
_embedded: z.looseObject({
|
|
245
|
+
secrets: z.array(SecretOutputSchema).optional()
|
|
246
|
+
}).optional(),
|
|
247
|
+
_links: z.looseObject({
|
|
248
|
+
self: EmbeddedLinkOutputSchema.optional()
|
|
249
|
+
}).optional()
|
|
250
|
+
});
|
|
251
|
+
const PermissionOutputSchema = named(
|
|
252
|
+
"Permission",
|
|
253
|
+
z.looseObject({
|
|
254
|
+
description: z.string().optional(),
|
|
255
|
+
group: z.string().optional(),
|
|
256
|
+
label: z.string().optional(),
|
|
257
|
+
scope: z.string().optional(),
|
|
258
|
+
uuid: z.string().optional()
|
|
259
|
+
})
|
|
260
|
+
);
|
|
261
|
+
const UserRoleOutputSchema = named(
|
|
262
|
+
"UserRole",
|
|
263
|
+
z.looseObject({
|
|
264
|
+
name: z.string().optional(),
|
|
265
|
+
permissions: z.array(PermissionOutputSchema).optional(),
|
|
266
|
+
uuid: z.string().optional(),
|
|
267
|
+
_links: z.looseObject({
|
|
268
|
+
self: EmbeddedLinkOutputSchema.optional()
|
|
269
|
+
}).optional()
|
|
270
|
+
})
|
|
271
|
+
);
|
|
272
|
+
const UserTeamOutputSchema = named(
|
|
273
|
+
"UserTeam",
|
|
274
|
+
z.looseObject({
|
|
275
|
+
name: z.string().optional(),
|
|
276
|
+
uuid: z.string().optional(),
|
|
277
|
+
_links: z.looseObject({
|
|
278
|
+
self: EmbeddedLinkOutputSchema.optional(),
|
|
279
|
+
"pf:membership": EmbeddedLinkOutputSchema.optional(),
|
|
280
|
+
"pf:integrations": EmbeddedLinkOutputSchema.optional()
|
|
281
|
+
}).optional()
|
|
282
|
+
})
|
|
283
|
+
);
|
|
284
|
+
const UserOutputSchema = named(
|
|
285
|
+
"User",
|
|
286
|
+
z.looseObject({
|
|
287
|
+
active: z.boolean().optional(),
|
|
288
|
+
authenticationSource: z.string().optional(),
|
|
289
|
+
createdAt: z.string().optional(),
|
|
290
|
+
email: z.string().optional(),
|
|
291
|
+
externalId: z.string().optional(),
|
|
292
|
+
externalIdpId: z.string().optional(),
|
|
293
|
+
externalIdpUsername: z.string().optional(),
|
|
294
|
+
firstName: z.string().optional(),
|
|
295
|
+
identityProviderId: z.string().optional(),
|
|
296
|
+
lastLogin: z.string().optional(),
|
|
297
|
+
lastName: z.string().optional(),
|
|
298
|
+
lastTimeTokenAccessed: z.string().optional(),
|
|
299
|
+
name: z.string().optional(),
|
|
300
|
+
seatType: z.string().optional(),
|
|
301
|
+
type: z.union([z.literal(0), z.literal(1)]).optional(),
|
|
302
|
+
typeDescription: z.string().optional(),
|
|
303
|
+
updatedAt: z.string().optional(),
|
|
304
|
+
uuid: z.string().optional(),
|
|
305
|
+
_links: z.looseObject({
|
|
306
|
+
self: EmbeddedLinkOutputSchema.optional(),
|
|
307
|
+
"pf:tokens": EmbeddedLinkOutputSchema.optional()
|
|
308
|
+
}).optional(),
|
|
309
|
+
_embedded: z.looseObject({
|
|
310
|
+
roles: z.array(UserRoleOutputSchema).optional(),
|
|
311
|
+
teams: z.array(UserTeamOutputSchema).optional()
|
|
312
|
+
}).optional()
|
|
313
|
+
})
|
|
314
|
+
);
|
|
315
|
+
const TokenOutputSchema = named(
|
|
316
|
+
"Token",
|
|
317
|
+
z.looseObject({
|
|
318
|
+
description: z.string().optional(),
|
|
319
|
+
expires: z.string().optional(),
|
|
320
|
+
lastUsed: z.string().optional(),
|
|
321
|
+
readOnly: z.boolean().optional(),
|
|
322
|
+
uuid: z.string().optional(),
|
|
323
|
+
value: z.string().optional(),
|
|
324
|
+
_links: z.looseObject({
|
|
325
|
+
self: EmbeddedLinkOutputSchema.optional(),
|
|
326
|
+
"pb:regenerate": EmbeddedLinkOutputSchema.optional()
|
|
327
|
+
}).optional()
|
|
328
|
+
})
|
|
329
|
+
);
|
|
330
|
+
const TokensOutputSchema = z.looseObject({
|
|
331
|
+
_embedded: z.looseObject({
|
|
332
|
+
items: z.array(TokenOutputSchema).optional()
|
|
333
|
+
}).optional(),
|
|
334
|
+
_links: z.looseObject({
|
|
335
|
+
self: EmbeddedLinkOutputSchema.optional()
|
|
336
|
+
}).optional()
|
|
337
|
+
});
|
|
338
|
+
const PreferenceOutputSchema = named(
|
|
339
|
+
"Preference",
|
|
340
|
+
z.looseObject({
|
|
341
|
+
name: z.string().optional(),
|
|
342
|
+
uuid: z.string().optional(),
|
|
343
|
+
value: z.unknown().optional(),
|
|
344
|
+
_links: z.looseObject({
|
|
345
|
+
self: EmbeddedLinkOutputSchema.optional()
|
|
346
|
+
}).optional()
|
|
347
|
+
})
|
|
348
|
+
);
|
|
349
|
+
const PreferencesOutputSchema = z.looseObject({
|
|
350
|
+
_embedded: z.looseObject({
|
|
351
|
+
preferences: z.array(PreferenceOutputSchema).optional()
|
|
352
|
+
}).optional(),
|
|
353
|
+
_links: z.looseObject({
|
|
354
|
+
self: EmbeddedLinkOutputSchema.optional()
|
|
355
|
+
}).optional()
|
|
356
|
+
});
|
|
357
|
+
const HttpRequestPayloadOutputSchema = named(
|
|
358
|
+
"HttpRequestPayload",
|
|
359
|
+
z.looseObject({
|
|
360
|
+
method: z.string().optional(),
|
|
361
|
+
path: z.string().optional(),
|
|
362
|
+
queryString: z.string().optional(),
|
|
363
|
+
referer: z.string().nullable().optional(),
|
|
364
|
+
remoteHost: z.string().nullable().optional(),
|
|
365
|
+
remoteAddress: z.string().optional(),
|
|
366
|
+
requestId: z.string().optional(),
|
|
367
|
+
userAgent: z.string().optional()
|
|
368
|
+
})
|
|
369
|
+
);
|
|
370
|
+
const HttpAuditResponseOutputSchema = named(
|
|
371
|
+
"HttpAuditResponse",
|
|
372
|
+
z.looseObject({
|
|
373
|
+
status: z.number().optional()
|
|
374
|
+
})
|
|
375
|
+
);
|
|
376
|
+
const HttpAuditEventOutputSchema = named(
|
|
377
|
+
"HttpAuditEvent",
|
|
378
|
+
z.looseObject({
|
|
379
|
+
name: z.string().optional(),
|
|
380
|
+
payload: HttpRequestPayloadOutputSchema.optional(),
|
|
381
|
+
response: HttpAuditResponseOutputSchema.optional(),
|
|
382
|
+
timestamp: z.string().optional(),
|
|
383
|
+
tokenUuid: z.string().optional(),
|
|
384
|
+
type: z.string().optional(),
|
|
385
|
+
username: z.string().optional(),
|
|
386
|
+
userEmail: z.string().optional(),
|
|
387
|
+
userUuid: z.string().optional(),
|
|
388
|
+
uuid: z.string().optional()
|
|
389
|
+
})
|
|
390
|
+
);
|
|
391
|
+
const AuthFailureEventOutputSchema = named(
|
|
392
|
+
"AuthFailureEvent",
|
|
393
|
+
z.looseObject({
|
|
394
|
+
payload: HttpRequestPayloadOutputSchema.optional(),
|
|
395
|
+
timestamp: z.string().optional(),
|
|
396
|
+
tokenUuid: z.string().optional(),
|
|
397
|
+
type: z.string().optional(),
|
|
398
|
+
username: z.string().optional(),
|
|
399
|
+
userEmail: z.string().optional(),
|
|
400
|
+
userUuid: z.string().optional(),
|
|
401
|
+
uuid: z.string().optional()
|
|
402
|
+
})
|
|
403
|
+
);
|
|
404
|
+
const CustomPayloadOutputSchema = named(
|
|
405
|
+
"CustomPayload",
|
|
406
|
+
z.looseObject({
|
|
407
|
+
identityProviderId: z.string().optional()
|
|
408
|
+
})
|
|
409
|
+
);
|
|
410
|
+
const CustomEventOutputSchema = named(
|
|
411
|
+
"CustomEvent",
|
|
412
|
+
z.looseObject({
|
|
413
|
+
payload: CustomPayloadOutputSchema.optional(),
|
|
414
|
+
timestamp: z.string().optional(),
|
|
415
|
+
tokenUuid: z.string().optional(),
|
|
416
|
+
type: z.string().optional(),
|
|
417
|
+
username: z.string().optional(),
|
|
418
|
+
userEmail: z.string().optional(),
|
|
419
|
+
userUuid: z.string().optional(),
|
|
420
|
+
uuid: z.string().optional()
|
|
421
|
+
})
|
|
422
|
+
);
|
|
423
|
+
const AuditEventsOutputSchema = z.looseObject({
|
|
424
|
+
events: z.array(
|
|
425
|
+
z.union([
|
|
426
|
+
HttpAuditEventOutputSchema,
|
|
427
|
+
AuthFailureEventOutputSchema,
|
|
428
|
+
CustomEventOutputSchema
|
|
429
|
+
])
|
|
430
|
+
).optional(),
|
|
431
|
+
_links: z.looseObject({
|
|
432
|
+
self: EmbeddedLinkOutputSchema.optional(),
|
|
433
|
+
next: z.looseObject({
|
|
434
|
+
href: z.string().optional(),
|
|
435
|
+
name: z.string().optional(),
|
|
436
|
+
templated: z.boolean().optional(),
|
|
437
|
+
title: z.string().optional()
|
|
438
|
+
}).optional(),
|
|
439
|
+
previous: z.looseObject({
|
|
440
|
+
href: z.string().optional(),
|
|
441
|
+
name: z.string().optional(),
|
|
442
|
+
templated: z.boolean().optional(),
|
|
443
|
+
title: z.string().optional()
|
|
444
|
+
}).optional()
|
|
445
|
+
}).optional(),
|
|
446
|
+
page: z.looseObject({
|
|
447
|
+
number: z.number().optional(),
|
|
448
|
+
size: z.number().optional(),
|
|
449
|
+
totalElements: z.number().optional(),
|
|
450
|
+
totalPages: z.number().optional()
|
|
451
|
+
}).optional()
|
|
452
|
+
});
|
|
453
|
+
const UsersOutputSchema = z.looseObject({
|
|
454
|
+
page: PageOutputSchema.optional(),
|
|
455
|
+
users: z.array(UserOutputSchema).optional(),
|
|
456
|
+
_links: z.looseObject({
|
|
457
|
+
self: EmbeddedLinkOutputSchema.optional(),
|
|
458
|
+
next: EmbeddedLinkOutputSchema.optional(),
|
|
459
|
+
previous: EmbeddedLinkOutputSchema.optional()
|
|
460
|
+
}).optional()
|
|
461
|
+
});
|
|
462
|
+
const InvitedUsersOutputSchema = z.looseObject({
|
|
463
|
+
users: z.array(UserOutputSchema).optional(),
|
|
464
|
+
_links: z.looseObject({
|
|
465
|
+
self: EmbeddedLinkOutputSchema.optional()
|
|
466
|
+
}).optional()
|
|
467
|
+
});
|
|
468
|
+
const TeamInCollectionOutputSchema = named(
|
|
469
|
+
"TeamInCollection",
|
|
470
|
+
z.looseObject({
|
|
471
|
+
createdAt: z.string().optional(),
|
|
472
|
+
name: z.string().optional(),
|
|
473
|
+
numberOfMembers: z.number().optional(),
|
|
474
|
+
updatedAt: z.string().optional(),
|
|
475
|
+
uuid: z.string().optional(),
|
|
476
|
+
isDefault: z.boolean().optional(),
|
|
477
|
+
_links: z.looseObject({
|
|
478
|
+
self: EmbeddedLinkOutputSchema.optional()
|
|
479
|
+
}).optional()
|
|
480
|
+
})
|
|
481
|
+
);
|
|
482
|
+
const TeamsOutputSchema = z.looseObject({
|
|
483
|
+
page: PageOutputSchema.optional(),
|
|
484
|
+
teams: z.array(TeamInCollectionOutputSchema).optional(),
|
|
485
|
+
_links: z.looseObject({
|
|
486
|
+
self: EmbeddedLinkOutputSchema.optional(),
|
|
487
|
+
next: EmbeddedLinkOutputSchema.optional(),
|
|
488
|
+
previous: EmbeddedLinkOutputSchema.optional()
|
|
489
|
+
}).optional()
|
|
490
|
+
});
|
|
491
|
+
const CreatedTeamOutputSchema = z.looseObject({
|
|
492
|
+
createdAt: z.string().optional(),
|
|
493
|
+
name: z.string().optional(),
|
|
494
|
+
numberOfMembers: z.number().optional(),
|
|
495
|
+
updatedAt: z.string().optional(),
|
|
496
|
+
uuid: z.string().optional(),
|
|
497
|
+
_embedded: z.looseObject({
|
|
498
|
+
administrators: z.array(EmbeddedUserOutputSchema).optional(),
|
|
499
|
+
environments: z.array(EmbeddedEnvironmentOutputSchema).optional(),
|
|
500
|
+
pacticipants: z.array(EmbeddedNamedOutputSchema).optional()
|
|
501
|
+
}).optional(),
|
|
502
|
+
_links: z.looseObject({
|
|
503
|
+
self: EmbeddedLinkOutputSchema.optional()
|
|
504
|
+
}).optional()
|
|
505
|
+
});
|
|
506
|
+
const TeamUsersOutputSchema = z.looseObject({
|
|
507
|
+
_embedded: z.looseObject({
|
|
508
|
+
users: z.array(EmbeddedTeamUserOutputSchema).optional()
|
|
509
|
+
}).optional(),
|
|
510
|
+
_links: z.looseObject({
|
|
511
|
+
self: EmbeddedLinkOutputSchema.optional()
|
|
512
|
+
}).optional()
|
|
513
|
+
});
|
|
514
|
+
const TeamUserOutputSchema = z.looseObject({
|
|
515
|
+
_embedded: z.looseObject({
|
|
516
|
+
user: UserOutputSchema.optional()
|
|
517
|
+
}).optional(),
|
|
518
|
+
_links: z.looseObject({
|
|
519
|
+
self: EmbeddedLinkOutputSchema.optional()
|
|
520
|
+
}).optional()
|
|
521
|
+
});
|
|
522
|
+
const RoleOutputSchema = named(
|
|
523
|
+
"Role",
|
|
524
|
+
z.looseObject({
|
|
525
|
+
created: z.string().optional(),
|
|
526
|
+
description: z.string().optional(),
|
|
527
|
+
name: z.string().optional(),
|
|
528
|
+
permissions: z.array(PermissionOutputSchema).optional(),
|
|
529
|
+
systemDefined: z.boolean().optional(),
|
|
530
|
+
createdAt: z.string().optional(),
|
|
531
|
+
updatedAt: z.string().optional(),
|
|
532
|
+
uuid: z.string().optional(),
|
|
533
|
+
_actions: z.array(ActionOutputSchema).optional(),
|
|
534
|
+
_links: z.looseObject({
|
|
535
|
+
self: EmbeddedLinkOutputSchema.optional()
|
|
536
|
+
}).optional()
|
|
537
|
+
})
|
|
538
|
+
);
|
|
539
|
+
const RolesOutputSchema = z.looseObject({
|
|
540
|
+
_embedded: z.looseObject({
|
|
541
|
+
roles: z.array(RoleOutputSchema).optional()
|
|
542
|
+
}).optional(),
|
|
543
|
+
_links: z.looseObject({
|
|
544
|
+
self: EmbeddedLinkOutputSchema.optional(),
|
|
545
|
+
"pf:reset": EmbeddedLinkOutputSchema.optional()
|
|
546
|
+
}).optional()
|
|
547
|
+
});
|
|
548
|
+
const PermissionsOutputSchema = z.looseObject({
|
|
549
|
+
permissions: z.array(PermissionOutputSchema).optional(),
|
|
550
|
+
_links: z.looseObject({
|
|
551
|
+
self: EmbeddedLinkOutputSchema.optional()
|
|
552
|
+
}).optional()
|
|
553
|
+
});
|
|
554
|
+
const CreateSecretSchema = z.object({
|
|
555
|
+
name: z.string().min(1).describe("Name of the secret"),
|
|
556
|
+
value: z.string().min(1).describe("Value of the secret"),
|
|
557
|
+
description: z.string().nullable().optional().describe("Description of the secret"),
|
|
558
|
+
teamUuid: z.string().uuid().optional().describe("UUID of the owning team (cannot be changed after creation)")
|
|
559
|
+
});
|
|
560
|
+
const UpdateSecretSchema = z.object({
|
|
561
|
+
secretId: z.string().describe("UUID of the secret to update"),
|
|
562
|
+
name: z.string().optional().describe("New name for the secret"),
|
|
563
|
+
value: z.string().optional().describe("New value for the secret"),
|
|
564
|
+
description: z.string().nullable().optional().describe("New description")
|
|
565
|
+
});
|
|
566
|
+
const SecretIdSchema = z.object({
|
|
567
|
+
secretId: z.string().describe("UUID of the secret")
|
|
568
|
+
});
|
|
569
|
+
const RegenerateTokenSchema = z.object({
|
|
570
|
+
tokenId: z.string().describe("ID of the token to regenerate")
|
|
571
|
+
});
|
|
572
|
+
const AuditSchema = z.object({
|
|
573
|
+
since: z.string().optional().describe("Only include events at or after this ISO 8601 timestamp"),
|
|
574
|
+
userUuid: z.string().uuid().optional().describe("Filter events by PactFlow user UUID"),
|
|
575
|
+
type: z.string().optional().describe("Filter events by type (e.g. 'pact_publication')"),
|
|
576
|
+
sort: z.string().optional().describe("Sort order: '+timestamp' (asc, default) or '-timestamp' (desc)"),
|
|
577
|
+
from: z.string().optional().describe(
|
|
578
|
+
"Start result set from this audit event UUID (keyset pagination)"
|
|
579
|
+
),
|
|
580
|
+
pageNumber: z.number().int().min(1).default(1).optional().describe("Page number"),
|
|
581
|
+
pageSize: z.number().int().min(1).max(100).default(5).optional().describe("Results per page (max 100)")
|
|
582
|
+
});
|
|
583
|
+
const ListAdminUsersSchema = z.object({
|
|
584
|
+
active: z.boolean().optional().describe("Filter by active/inactive status"),
|
|
585
|
+
q: z.string().optional().describe("Filter by name or email"),
|
|
586
|
+
userType: z.number().min(0).max(1).optional().describe("0 = regular users, 1 = system accounts"),
|
|
587
|
+
page: z.number().default(1).optional().describe("Page number"),
|
|
588
|
+
size: z.number().default(5).optional().describe("Results per page")
|
|
589
|
+
});
|
|
590
|
+
const AdminUserIdSchema = z.object({
|
|
591
|
+
userId: z.string().describe("UUID of the user")
|
|
592
|
+
});
|
|
593
|
+
const CreateAdminUserSchema = z.object({
|
|
594
|
+
email: z.string().describe("Email address of the new user"),
|
|
595
|
+
name: z.string().describe("Display name of the new user"),
|
|
596
|
+
firstName: z.string().optional().describe("First name"),
|
|
597
|
+
lastName: z.string().optional().describe("Last name"),
|
|
598
|
+
externalIdpId: z.string().optional().describe("External identity provider ID (for SAML/SSO)"),
|
|
599
|
+
externalIdpUsername: z.string().optional().describe("External IdP username (for SAML/SSO)")
|
|
600
|
+
});
|
|
601
|
+
const UpdateAdminUserSchema = z.object({
|
|
602
|
+
userId: z.string().describe("UUID of the user to update"),
|
|
603
|
+
active: z.boolean().optional().describe("Whether the user is active"),
|
|
604
|
+
email: z.string().optional().describe("New email address"),
|
|
605
|
+
firstName: z.string().optional().describe("First name"),
|
|
606
|
+
lastName: z.string().optional().describe("Last name"),
|
|
607
|
+
name: z.string().optional().describe("Display name")
|
|
608
|
+
});
|
|
609
|
+
const InviteUsersSchema = z.object({
|
|
610
|
+
users: z.array(
|
|
611
|
+
z.object({
|
|
612
|
+
email: z.string().describe("Email address"),
|
|
613
|
+
name: z.string().min(1).describe("Display name")
|
|
614
|
+
})
|
|
615
|
+
).min(1).describe("List of users to invite")
|
|
616
|
+
});
|
|
617
|
+
const SetUserRolesSchema = z.object({
|
|
618
|
+
userId: z.string().describe("UUID of the user"),
|
|
619
|
+
roles: z.array(z.string()).describe("Array of role UUIDs to assign")
|
|
620
|
+
});
|
|
621
|
+
const UserRoleSchema = z.object({
|
|
622
|
+
userId: z.string().describe("UUID of the user"),
|
|
623
|
+
roleId: z.string().describe("UUID of the role")
|
|
624
|
+
});
|
|
625
|
+
const ListAdminTeamsSchema = z.object({
|
|
626
|
+
q: z.string().optional().describe("Filter teams by name"),
|
|
627
|
+
page: z.number().default(1).optional().describe("Page number"),
|
|
628
|
+
size: z.number().default(5).optional().describe("Results per page")
|
|
629
|
+
});
|
|
630
|
+
const AdminTeamIdSchema = z.object({
|
|
631
|
+
teamId: z.string().describe("UUID of the team")
|
|
632
|
+
});
|
|
633
|
+
const ListTeamUsersSchema = AdminTeamIdSchema.extend(
|
|
634
|
+
PaginationSchema.shape
|
|
635
|
+
);
|
|
636
|
+
const CreateTeamSchema = z.object({
|
|
637
|
+
name: z.string().min(1).describe("Name of the team"),
|
|
638
|
+
administratorUuids: z.array(z.string().uuid()).optional().describe("UUIDs of team administrators"),
|
|
639
|
+
environmentUuids: z.array(z.string().uuid()).optional().describe("UUIDs of environments assigned to this team"),
|
|
640
|
+
pacticipantNames: z.array(z.string().min(1)).optional().describe("Names of pacticipants assigned to this team")
|
|
641
|
+
});
|
|
642
|
+
const UpdateTeamSchema = z.object({
|
|
643
|
+
teamId: z.string().describe("UUID of the team to update"),
|
|
644
|
+
name: z.string().min(1).describe("Name of the team"),
|
|
645
|
+
administratorUuids: z.array(z.string().uuid()).optional().describe("UUIDs of team administrators"),
|
|
646
|
+
environmentUuids: z.array(z.string().uuid()).optional().describe("UUIDs of environments assigned to this team"),
|
|
647
|
+
pacticipantNames: z.array(z.string().min(1)).optional().describe("Names of pacticipants assigned to this team")
|
|
648
|
+
});
|
|
649
|
+
const TeamUserIdSchema = z.object({
|
|
650
|
+
teamId: z.string().describe("UUID of the team"),
|
|
651
|
+
userId: z.string().describe("UUID of the user")
|
|
652
|
+
});
|
|
653
|
+
const PatchTeamUsersSchema = z.object({
|
|
654
|
+
teamId: z.string().describe("UUID of the team"),
|
|
655
|
+
operations: z.array(
|
|
656
|
+
z.object({
|
|
657
|
+
op: z.enum(["add", "remove"]).describe("Operation: 'add' or 'remove'"),
|
|
658
|
+
path: z.literal("/users").describe("JSON Patch path (must be '/users')"),
|
|
659
|
+
value: z.object({
|
|
660
|
+
uuid: z.string().uuid().describe("UUID of the user")
|
|
661
|
+
})
|
|
662
|
+
})
|
|
663
|
+
).describe("JSON Patch operations to apply")
|
|
664
|
+
});
|
|
665
|
+
const SetTeamUsersSchema = z.object({
|
|
666
|
+
teamId: z.string().describe("UUID of the team"),
|
|
667
|
+
uuids: z.array(z.string().uuid()).describe("UUIDs of users to set as team members (replaces existing)")
|
|
668
|
+
});
|
|
669
|
+
const AdminRoleIdSchema = z.object({
|
|
670
|
+
roleId: z.string().describe("UUID of the role")
|
|
671
|
+
});
|
|
672
|
+
const CreateRoleSchema = z.object({
|
|
673
|
+
name: z.string().min(1).describe("Name of the role"),
|
|
674
|
+
permissions: z.array(
|
|
675
|
+
z.object({
|
|
676
|
+
scope: z.string().describe("Permission scope (e.g. 'webhook:read', 'user:manage')")
|
|
677
|
+
})
|
|
678
|
+
).describe("Permissions granted by this role"),
|
|
679
|
+
description: z.string().optional().describe("Description of the role")
|
|
680
|
+
});
|
|
681
|
+
const UpdateRoleSchema = z.object({
|
|
682
|
+
roleId: z.string().describe("UUID of the role to update"),
|
|
683
|
+
name: z.string().min(1).describe("Name of the role"),
|
|
684
|
+
permissions: z.array(
|
|
685
|
+
z.object({
|
|
686
|
+
scope: z.string().describe("Permission scope")
|
|
687
|
+
})
|
|
688
|
+
).describe("Permissions granted by this role"),
|
|
689
|
+
description: z.string().optional().describe("Description of the role")
|
|
690
|
+
});
|
|
691
|
+
const CreateSystemAccountSchema = z.object({
|
|
692
|
+
name: z.string().min(1).describe("Name of the system account")
|
|
693
|
+
});
|
|
694
|
+
const GetSystemAccountTokensSchema = z.object({
|
|
695
|
+
accountId: z.string().describe("UUID of the system account")
|
|
696
|
+
}).extend(PaginationSchema.shape);
|
|
697
|
+
const ADMIN_OUTPUT_SCHEMAS = {
|
|
698
|
+
getMetrics: MetricsOutputSchema,
|
|
699
|
+
getTeamMetrics: TeamMetricsOutputSchema,
|
|
700
|
+
listSecrets: SecretsOutputSchema,
|
|
701
|
+
getSecret: SecretOutputSchema,
|
|
702
|
+
createSecret: SecretOutputSchema,
|
|
703
|
+
updateSecret: SecretOutputSchema,
|
|
704
|
+
getCurrentUser: UserOutputSchema,
|
|
705
|
+
listTokens: TokensOutputSchema,
|
|
706
|
+
regenerateToken: TokenOutputSchema,
|
|
707
|
+
getUserPreferences: PreferencesOutputSchema,
|
|
708
|
+
getSystemPreferences: PreferencesOutputSchema,
|
|
709
|
+
getAuditLog: AuditEventsOutputSchema,
|
|
710
|
+
listAdminUsers: UsersOutputSchema,
|
|
711
|
+
getAdminUser: UserOutputSchema,
|
|
712
|
+
createAdminUser: UserOutputSchema,
|
|
713
|
+
updateAdminUser: UserOutputSchema,
|
|
714
|
+
inviteUsers: InvitedUsersOutputSchema,
|
|
715
|
+
listAdminTeams: TeamsOutputSchema,
|
|
716
|
+
getAdminTeam: TeamOutputSchema,
|
|
717
|
+
createAdminTeam: CreatedTeamOutputSchema,
|
|
718
|
+
updateAdminTeam: CreatedTeamOutputSchema,
|
|
719
|
+
listTeamUsers: TeamUsersOutputSchema,
|
|
720
|
+
getTeamUser: TeamUserOutputSchema,
|
|
721
|
+
setTeamUsers: TeamUsersOutputSchema,
|
|
722
|
+
patchTeamUsers: TeamUsersOutputSchema,
|
|
723
|
+
listAdminRoles: RolesOutputSchema,
|
|
724
|
+
getAdminRole: RoleOutputSchema,
|
|
725
|
+
createAdminRole: RoleOutputSchema,
|
|
726
|
+
updateAdminRole: RoleOutputSchema,
|
|
727
|
+
resetAdminRoles: RolesOutputSchema,
|
|
728
|
+
listAdminPermissions: PermissionsOutputSchema,
|
|
729
|
+
createSystemAccount: UserOutputSchema,
|
|
730
|
+
getSystemAccountTokens: TokensOutputSchema,
|
|
731
|
+
deleteSecret: EmptyOutputSchema,
|
|
732
|
+
deleteAdminUser: EmptyOutputSchema,
|
|
733
|
+
setUserRoles: EmptyOutputSchema,
|
|
734
|
+
addRoleToUser: EmptyOutputSchema,
|
|
735
|
+
removeRoleFromUser: EmptyOutputSchema,
|
|
736
|
+
deleteAdminTeam: EmptyOutputSchema,
|
|
737
|
+
removeUserFromTeam: EmptyOutputSchema,
|
|
738
|
+
deleteAdminRole: EmptyOutputSchema
|
|
739
|
+
};
|
|
740
|
+
export {
|
|
741
|
+
ADMIN_OUTPUT_SCHEMAS,
|
|
742
|
+
AdminRoleIdSchema,
|
|
743
|
+
AdminTeamIdSchema,
|
|
744
|
+
AdminUserIdSchema,
|
|
745
|
+
AuditEventsOutputSchema,
|
|
746
|
+
AuditSchema,
|
|
747
|
+
AuthFailureEventOutputSchema,
|
|
748
|
+
CreateAdminUserSchema,
|
|
749
|
+
CreateRoleSchema,
|
|
750
|
+
CreateSecretSchema,
|
|
751
|
+
CreateSystemAccountSchema,
|
|
752
|
+
CreateTeamSchema,
|
|
753
|
+
CreatedTeamOutputSchema,
|
|
754
|
+
CustomEventOutputSchema,
|
|
755
|
+
CustomPayloadOutputSchema,
|
|
756
|
+
EmbeddedTeamUserOutputSchema,
|
|
757
|
+
EmbeddedUserOutputSchema,
|
|
758
|
+
GetSystemAccountTokensSchema,
|
|
759
|
+
HttpAuditEventOutputSchema,
|
|
760
|
+
HttpAuditResponseOutputSchema,
|
|
761
|
+
HttpRequestPayloadOutputSchema,
|
|
762
|
+
InviteUsersSchema,
|
|
763
|
+
InvitedUsersOutputSchema,
|
|
764
|
+
ListAdminTeamsSchema,
|
|
765
|
+
ListAdminUsersSchema,
|
|
766
|
+
ListTeamUsersSchema,
|
|
767
|
+
MetricsOutputSchema,
|
|
768
|
+
PatchTeamUsersSchema,
|
|
769
|
+
PermissionOutputSchema,
|
|
770
|
+
PermissionsOutputSchema,
|
|
771
|
+
PreferenceOutputSchema,
|
|
772
|
+
PreferencesOutputSchema,
|
|
773
|
+
RegenerateTokenSchema,
|
|
774
|
+
RoleOutputSchema,
|
|
775
|
+
RolesOutputSchema,
|
|
776
|
+
SecretIdSchema,
|
|
777
|
+
SecretOutputSchema,
|
|
778
|
+
SecretsOutputSchema,
|
|
779
|
+
SetTeamUsersSchema,
|
|
780
|
+
SetUserRolesSchema,
|
|
781
|
+
TeamInCollectionOutputSchema,
|
|
782
|
+
TeamMetricsOutputSchema,
|
|
783
|
+
TeamOutputSchema,
|
|
784
|
+
TeamUserIdSchema,
|
|
785
|
+
TeamUserOutputSchema,
|
|
786
|
+
TeamUsersOutputSchema,
|
|
787
|
+
TeamsOutputSchema,
|
|
788
|
+
TokenOutputSchema,
|
|
789
|
+
TokensOutputSchema,
|
|
790
|
+
UpdateAdminUserSchema,
|
|
791
|
+
UpdateRoleSchema,
|
|
792
|
+
UpdateSecretSchema,
|
|
793
|
+
UpdateTeamSchema,
|
|
794
|
+
UserOutputSchema,
|
|
795
|
+
UserRoleOutputSchema,
|
|
796
|
+
UserRoleSchema,
|
|
797
|
+
UserTeamOutputSchema,
|
|
798
|
+
UsersOutputSchema
|
|
799
|
+
};
|