@rustrak/client 0.24.0 → 0.26.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/README.md +76 -61
- package/dist/client.cjs +4 -3
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -1
- package/dist/client.d.cts.map +1 -1
- package/dist/client.d.mts +2 -1
- package/dist/client.d.mts.map +1 -1
- package/dist/client.mjs +5 -4
- package/dist/client.mjs.map +1 -1
- package/dist/config.d.cts.map +1 -1
- package/dist/config.d.mts.map +1 -1
- package/dist/errors.cjs +19 -6
- package/dist/errors.cjs.map +1 -1
- package/dist/errors.d.cts +1 -1
- package/dist/errors.d.cts.map +1 -1
- package/dist/errors.d.mts +1 -1
- package/dist/errors.d.mts.map +1 -1
- package/dist/errors.mjs +19 -7
- package/dist/errors.mjs.map +1 -1
- package/dist/generated/binary.gen.cjs +6 -0
- package/dist/generated/binary.gen.cjs.map +1 -0
- package/dist/generated/binary.gen.d.cts +2 -0
- package/dist/generated/binary.gen.d.cts.map +1 -0
- package/dist/generated/binary.gen.d.mts +2 -0
- package/dist/generated/binary.gen.d.mts.map +1 -0
- package/dist/generated/binary.gen.mjs +6 -0
- package/dist/generated/binary.gen.mjs.map +1 -0
- package/dist/generated/sdk.gen.cjs +371 -199
- package/dist/generated/sdk.gen.cjs.map +1 -1
- package/dist/generated/sdk.gen.d.cts +24 -2
- package/dist/generated/sdk.gen.d.cts.map +1 -1
- package/dist/generated/sdk.gen.d.mts +24 -2
- package/dist/generated/sdk.gen.d.mts.map +1 -1
- package/dist/generated/sdk.gen.mjs +370 -201
- package/dist/generated/sdk.gen.mjs.map +1 -1
- package/dist/generated/types.gen.d.cts +313 -47
- package/dist/generated/types.gen.d.cts.map +1 -1
- package/dist/generated/types.gen.d.mts +313 -47
- package/dist/generated/types.gen.d.mts.map +1 -1
- package/dist/generated/zod.gen.cjs +315 -88
- package/dist/generated/zod.gen.cjs.map +1 -1
- package/dist/generated/zod.gen.mjs +275 -84
- package/dist/generated/zod.gen.mjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/result.cjs +0 -2
- package/dist/result.cjs.map +1 -1
- package/dist/result.d.cts.map +1 -1
- package/dist/result.d.mts.map +1 -1
- package/dist/result.mjs +0 -2
- package/dist/result.mjs.map +1 -1
- package/dist/utils/http.cjs +18 -31
- package/dist/utils/http.cjs.map +1 -1
- package/dist/utils/http.mjs +20 -32
- package/dist/utils/http.mjs.map +1 -1
- package/package.json +3 -5
|
@@ -7,6 +7,15 @@ const zAcceptInvitation = zod.object({
|
|
|
7
7
|
token: zod.string()
|
|
8
8
|
});
|
|
9
9
|
/**
|
|
10
|
+
* Something a grant can allow.
|
|
11
|
+
*/
|
|
12
|
+
const zAction = zod.enum([
|
|
13
|
+
"read",
|
|
14
|
+
"create",
|
|
15
|
+
"update",
|
|
16
|
+
"delete"
|
|
17
|
+
]);
|
|
18
|
+
/**
|
|
10
19
|
* An entry in an issue's activity log. Comments are stored as activity rows of
|
|
11
20
|
* type `note` with `{"text": ...}` in `data` (Sentry models notes as activity).
|
|
12
21
|
*/
|
|
@@ -174,6 +183,10 @@ const zAssembleResponse = zod.object({
|
|
|
174
183
|
missingChunks: zod.array(zod.string()),
|
|
175
184
|
state: zod.string()
|
|
176
185
|
});
|
|
186
|
+
const zAssignmentInput = zod.object({
|
|
187
|
+
project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).nullish(),
|
|
188
|
+
role_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
189
|
+
});
|
|
177
190
|
/**
|
|
178
191
|
* The raw bytes of an attachment. Untyped in the spec: the generated
|
|
179
192
|
* client validates bodies with zod, which has no type for a binary one.
|
|
@@ -191,25 +204,6 @@ const zAttachmentInfo = zod.object({
|
|
|
191
204
|
size: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
192
205
|
});
|
|
193
206
|
/**
|
|
194
|
-
* Response that includes the full token (only on creation)
|
|
195
|
-
*/
|
|
196
|
-
const zAuthTokenCreatedResponse = zod.object({
|
|
197
|
-
created_at: zod.iso.datetime({ offset: true }),
|
|
198
|
-
description: zod.string().nullable(),
|
|
199
|
-
id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
200
|
-
token: zod.string()
|
|
201
|
-
});
|
|
202
|
-
/**
|
|
203
|
-
* Response for listing (token is masked)
|
|
204
|
-
*/
|
|
205
|
-
const zAuthTokenResponse = zod.object({
|
|
206
|
-
created_at: zod.iso.datetime({ offset: true }),
|
|
207
|
-
description: zod.string().nullable(),
|
|
208
|
-
id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
209
|
-
last_used_at: zod.iso.datetime({ offset: true }).nullable(),
|
|
210
|
-
token_prefix: zod.string()
|
|
211
|
-
});
|
|
212
|
-
/**
|
|
213
207
|
* What the consent page shows about the client asking.
|
|
214
208
|
*/
|
|
215
209
|
const zAuthorizationInfo = zod.object({
|
|
@@ -412,10 +406,6 @@ const zCreateAlertRule = zod.object({
|
|
|
412
406
|
cooldown_minutes: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).optional(),
|
|
413
407
|
name: zod.string()
|
|
414
408
|
});
|
|
415
|
-
/**
|
|
416
|
-
* DTO for creating a new token
|
|
417
|
-
*/
|
|
418
|
-
const zCreateAuthToken = zod.object({ description: zod.string().nullish() });
|
|
419
409
|
const zCreateGitHubIssue = zod.object({
|
|
420
410
|
assignee: zod.string().nullish(),
|
|
421
411
|
body: zod.string().nullish(),
|
|
@@ -438,10 +428,6 @@ const zCreateRelease = zod.object({
|
|
|
438
428
|
url: zod.string().nullish(),
|
|
439
429
|
version: zod.string()
|
|
440
430
|
});
|
|
441
|
-
const zCreateUserRequest = zod.object({
|
|
442
|
-
email: zod.string(),
|
|
443
|
-
password: zod.string()
|
|
444
|
-
});
|
|
445
431
|
/**
|
|
446
432
|
* A debug information file as Sentry's `DebugFileSerializer` describes it.
|
|
447
433
|
*/
|
|
@@ -472,6 +458,10 @@ const zDifAssembleFile = zod.object({
|
|
|
472
458
|
*/
|
|
473
459
|
const zDifUploadBody = zod.record(zod.string(), zod.unknown());
|
|
474
460
|
/**
|
|
461
|
+
* GET /api/invitations/email-status answer.
|
|
462
|
+
*/
|
|
463
|
+
const zEmailStatusResponse = zod.object({ available: zod.boolean() });
|
|
464
|
+
/**
|
|
475
465
|
* Response for API (full detail)
|
|
476
466
|
*/
|
|
477
467
|
const zEventDetailResponse = zod.object({
|
|
@@ -535,6 +525,7 @@ const zFieldErrorCode = zod.enum([
|
|
|
535
525
|
"already_exists",
|
|
536
526
|
"too_short",
|
|
537
527
|
"too_long",
|
|
528
|
+
"incorrect",
|
|
538
529
|
"custom"
|
|
539
530
|
]);
|
|
540
531
|
/**
|
|
@@ -714,8 +705,6 @@ const zIssueResponse = zod.object({
|
|
|
714
705
|
has_seen: zod.boolean().nullish(),
|
|
715
706
|
id: zod.uuid(),
|
|
716
707
|
is_bookmarked: zod.boolean().nullish(),
|
|
717
|
-
is_muted: zod.boolean(),
|
|
718
|
-
is_resolved: zod.boolean(),
|
|
719
708
|
is_subscribed: zod.boolean().nullish(),
|
|
720
709
|
issue_category: zod.string(),
|
|
721
710
|
issue_type: zod.string(),
|
|
@@ -854,6 +843,21 @@ const zMcpStatus = zod.object({
|
|
|
854
843
|
url: zod.string().nullable()
|
|
855
844
|
});
|
|
856
845
|
/**
|
|
846
|
+
* Someone who can be made a member.
|
|
847
|
+
*/
|
|
848
|
+
const zMemberCandidate = zod.object({
|
|
849
|
+
email: zod.string(),
|
|
850
|
+
id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
851
|
+
});
|
|
852
|
+
/**
|
|
853
|
+
* A role someone holds on a project.
|
|
854
|
+
*/
|
|
855
|
+
const zMemberRole = zod.object({
|
|
856
|
+
id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
857
|
+
inherited: zod.boolean(),
|
|
858
|
+
name: zod.string()
|
|
859
|
+
});
|
|
860
|
+
/**
|
|
857
861
|
* A counter measured over the requested window alongside the same counter
|
|
858
862
|
* over the window immediately before it.
|
|
859
863
|
*
|
|
@@ -976,6 +980,14 @@ const zProjectListStats = zod.object({
|
|
|
976
980
|
open_issues: zod.int(),
|
|
977
981
|
trend: zod.array(zod.int())
|
|
978
982
|
});
|
|
983
|
+
/**
|
|
984
|
+
* A member of one project: someone holding a role on it or on every project.
|
|
985
|
+
*/
|
|
986
|
+
const zProjectMember = zod.object({
|
|
987
|
+
email: zod.string(),
|
|
988
|
+
roles: zod.array(zMemberRole),
|
|
989
|
+
user_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
990
|
+
});
|
|
979
991
|
const zProjectRepository = zod.object({
|
|
980
992
|
auto_create_conditions: zod.record(zod.string(), zod.unknown()),
|
|
981
993
|
auto_create_issues: zod.boolean(),
|
|
@@ -996,7 +1008,7 @@ const zProjectResponse = zod.object({
|
|
|
996
1008
|
created_at: zod.iso.datetime({ offset: true }),
|
|
997
1009
|
digested_event_count: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
998
1010
|
disabled_products: zod.array(zProduct),
|
|
999
|
-
dsn: zod.string(),
|
|
1011
|
+
dsn: zod.string().nullable(),
|
|
1000
1012
|
id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1001
1013
|
name: zod.string(),
|
|
1002
1014
|
platform: zod.string().nullable(),
|
|
@@ -1004,7 +1016,7 @@ const zProjectResponse = zod.object({
|
|
|
1004
1016
|
rate_limit_per_hour: zod.int().nullable(),
|
|
1005
1017
|
rate_limit_per_minute: zod.int().nullable(),
|
|
1006
1018
|
rate_limited_event_count: zod.int(),
|
|
1007
|
-
sentry_key: zod.string(),
|
|
1019
|
+
sentry_key: zod.string().nullable(),
|
|
1008
1020
|
slug: zod.string(),
|
|
1009
1021
|
stats: zProjectListStats.nullish(),
|
|
1010
1022
|
stored_event_count: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
@@ -1021,33 +1033,6 @@ const zProjectRetention = zod.object({
|
|
|
1021
1033
|
transactions_days: zod.int().nullable()
|
|
1022
1034
|
});
|
|
1023
1035
|
/**
|
|
1024
|
-
* Per-project capability level for a member.
|
|
1025
|
-
*
|
|
1026
|
-
* Ordered by privilege: `Viewer` < `Editor` < `Admin` (derived `Ord` uses
|
|
1027
|
-
* declaration order). An `Action` maps to the minimum role that may perform it.
|
|
1028
|
-
*/
|
|
1029
|
-
const zProjectRole = zod.enum([
|
|
1030
|
-
"viewer",
|
|
1031
|
-
"editor",
|
|
1032
|
-
"admin"
|
|
1033
|
-
]);
|
|
1034
|
-
const zProjectMember = zod.object({
|
|
1035
|
-
created_at: zod.iso.datetime({ offset: true }),
|
|
1036
|
-
id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1037
|
-
project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1038
|
-
role: zProjectRole,
|
|
1039
|
-
user_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
1040
|
-
});
|
|
1041
|
-
/**
|
|
1042
|
-
* Member row joined with the user's email, for listing a project's team.
|
|
1043
|
-
*/
|
|
1044
|
-
const zProjectMemberResponse = zod.object({
|
|
1045
|
-
created_at: zod.iso.datetime({ offset: true }),
|
|
1046
|
-
email: zod.string(),
|
|
1047
|
-
role: zProjectRole,
|
|
1048
|
-
user_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
1049
|
-
});
|
|
1050
|
-
/**
|
|
1051
1036
|
* Project-wide counters for the overview page, each with its previous-period
|
|
1052
1037
|
* comparison.
|
|
1053
1038
|
*/
|
|
@@ -1105,7 +1090,6 @@ const zCreateAlertIntegration = zod.object({
|
|
|
1105
1090
|
provider_type: zProviderType
|
|
1106
1091
|
});
|
|
1107
1092
|
/**
|
|
1108
|
-
* Configure project routes
|
|
1109
1093
|
* The server's per-project event limits (`MAX_EVENTS_PER_PROJECT_*`).
|
|
1110
1094
|
*/
|
|
1111
1095
|
const zRateLimitsResponse = zod.object({
|
|
@@ -1181,6 +1165,95 @@ const zIssueGitHub = zod.object({
|
|
|
1181
1165
|
suspect_commits: zod.array(zRepoCommit)
|
|
1182
1166
|
});
|
|
1183
1167
|
/**
|
|
1168
|
+
* Every resource a permission can name.
|
|
1169
|
+
*/
|
|
1170
|
+
const zResource = zod.enum([
|
|
1171
|
+
"projects",
|
|
1172
|
+
"users",
|
|
1173
|
+
"invitations",
|
|
1174
|
+
"roles",
|
|
1175
|
+
"api-tokens",
|
|
1176
|
+
"integrations",
|
|
1177
|
+
"github-app",
|
|
1178
|
+
"storage",
|
|
1179
|
+
"mcp",
|
|
1180
|
+
"telemetry",
|
|
1181
|
+
"issues",
|
|
1182
|
+
"performance",
|
|
1183
|
+
"logs",
|
|
1184
|
+
"sessions",
|
|
1185
|
+
"releases",
|
|
1186
|
+
"source-maps",
|
|
1187
|
+
"alert-rules",
|
|
1188
|
+
"monitors",
|
|
1189
|
+
"project",
|
|
1190
|
+
"client-keys",
|
|
1191
|
+
"project-members",
|
|
1192
|
+
"project-github"
|
|
1193
|
+
]);
|
|
1194
|
+
/**
|
|
1195
|
+
* One `(resource, action)` grant.
|
|
1196
|
+
*/
|
|
1197
|
+
const zPermission = zod.object({
|
|
1198
|
+
action: zAction,
|
|
1199
|
+
resource: zResource
|
|
1200
|
+
});
|
|
1201
|
+
/**
|
|
1202
|
+
* Response that includes the full token (only on creation)
|
|
1203
|
+
*/
|
|
1204
|
+
const zAuthTokenCreatedResponse = zod.object({
|
|
1205
|
+
created_at: zod.iso.datetime({ offset: true }),
|
|
1206
|
+
description: zod.string().nullable(),
|
|
1207
|
+
expires_at: zod.iso.datetime({ offset: true }).nullable(),
|
|
1208
|
+
id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1209
|
+
permissions: zod.array(zPermission).nullable(),
|
|
1210
|
+
project_ids: zod.array(zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })).nullable(),
|
|
1211
|
+
token: zod.string()
|
|
1212
|
+
});
|
|
1213
|
+
/**
|
|
1214
|
+
* Response for listing (token is masked)
|
|
1215
|
+
*/
|
|
1216
|
+
const zAuthTokenResponse = zod.object({
|
|
1217
|
+
created_at: zod.iso.datetime({ offset: true }),
|
|
1218
|
+
description: zod.string().nullable(),
|
|
1219
|
+
expires_at: zod.iso.datetime({ offset: true }).nullable(),
|
|
1220
|
+
id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1221
|
+
last_used_at: zod.iso.datetime({ offset: true }).nullable(),
|
|
1222
|
+
permissions: zod.array(zPermission).nullable(),
|
|
1223
|
+
project_ids: zod.array(zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })).nullable(),
|
|
1224
|
+
token_prefix: zod.string(),
|
|
1225
|
+
user_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).nullable()
|
|
1226
|
+
});
|
|
1227
|
+
/**
|
|
1228
|
+
* DTO for creating a new token
|
|
1229
|
+
*/
|
|
1230
|
+
const zCreateAuthToken = zod.object({
|
|
1231
|
+
description: zod.string().nullish(),
|
|
1232
|
+
expires_at: zod.iso.datetime({ offset: true }).nullish(),
|
|
1233
|
+
permissions: zod.array(zPermission).nullish(),
|
|
1234
|
+
project_ids: zod.array(zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })).nullish()
|
|
1235
|
+
});
|
|
1236
|
+
/**
|
|
1237
|
+
* Permissions given to one person directly, without a role of the list.
|
|
1238
|
+
*/
|
|
1239
|
+
const zPersonalAccess = zod.object({
|
|
1240
|
+
permissions: zod.array(zPermission),
|
|
1241
|
+
project_ids: zod.array(zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })).nullish()
|
|
1242
|
+
});
|
|
1243
|
+
const zProjectPermissions = zod.object({
|
|
1244
|
+
permissions: zod.array(zPermission),
|
|
1245
|
+
project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
1246
|
+
});
|
|
1247
|
+
/**
|
|
1248
|
+
* What the caller may do. An owner may do everything and gets empty lists.
|
|
1249
|
+
*/
|
|
1250
|
+
const zMyAccess = zod.object({
|
|
1251
|
+
all_projects: zod.array(zPermission),
|
|
1252
|
+
instance: zod.array(zPermission),
|
|
1253
|
+
is_owner: zod.boolean(),
|
|
1254
|
+
projects: zod.array(zProjectPermissions)
|
|
1255
|
+
});
|
|
1256
|
+
/**
|
|
1184
1257
|
* How the last retention cleanup went.
|
|
1185
1258
|
*/
|
|
1186
1259
|
const zRetentionRun = zod.object({
|
|
@@ -1220,6 +1293,46 @@ const zRetentionResponse = zod.object({
|
|
|
1220
1293
|
next_run_at: zod.iso.datetime({ offset: true }).nullable(),
|
|
1221
1294
|
settings: zRetentionSettings
|
|
1222
1295
|
});
|
|
1296
|
+
/**
|
|
1297
|
+
* A named set of permissions, given to users by an assignment.
|
|
1298
|
+
*/
|
|
1299
|
+
const zRole = zod.object({
|
|
1300
|
+
assignment_count: zod.int(),
|
|
1301
|
+
created_at: zod.iso.datetime({ offset: true }),
|
|
1302
|
+
description: zod.string(),
|
|
1303
|
+
id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1304
|
+
name: zod.string(),
|
|
1305
|
+
permissions: zod.array(zPermission)
|
|
1306
|
+
});
|
|
1307
|
+
/**
|
|
1308
|
+
* A role given to a user. `project_id = null` reaches every project. A role's
|
|
1309
|
+
* workspace permissions apply wherever it is held.
|
|
1310
|
+
*/
|
|
1311
|
+
const zRoleAssignment = zod.object({
|
|
1312
|
+
created_at: zod.iso.datetime({ offset: true }),
|
|
1313
|
+
id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1314
|
+
is_personal: zod.boolean(),
|
|
1315
|
+
project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).nullable(),
|
|
1316
|
+
role_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1317
|
+
role_name: zod.string(),
|
|
1318
|
+
user_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
1319
|
+
});
|
|
1320
|
+
const zRoleInput = zod.object({
|
|
1321
|
+
description: zod.string().optional(),
|
|
1322
|
+
name: zod.string(),
|
|
1323
|
+
permissions: zod.array(zPermission)
|
|
1324
|
+
});
|
|
1325
|
+
const zRoleRef = zod.object({
|
|
1326
|
+
id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1327
|
+
name: zod.string()
|
|
1328
|
+
});
|
|
1329
|
+
/**
|
|
1330
|
+
* What the caller can choose from when setting a member's roles.
|
|
1331
|
+
*/
|
|
1332
|
+
const zMemberCandidates = zod.object({
|
|
1333
|
+
roles: zod.array(zRoleRef),
|
|
1334
|
+
users: zod.array(zMemberCandidate)
|
|
1335
|
+
});
|
|
1223
1336
|
const zSchedule = zod.union([zod.object({
|
|
1224
1337
|
type: zod.enum(["crontab"]),
|
|
1225
1338
|
value: zod.string()
|
|
@@ -1279,6 +1392,17 @@ const zPreviewSchedule = zod.object({
|
|
|
1279
1392
|
* expect their check-ins and scheduled jobs fire at exactly these instants.
|
|
1280
1393
|
*/
|
|
1281
1394
|
const zSchedulePreview = zod.object({ next_runs: zod.array(zod.iso.datetime({ offset: true })) });
|
|
1395
|
+
/**
|
|
1396
|
+
* Whether a resource belongs to the workspace or to one project.
|
|
1397
|
+
*/
|
|
1398
|
+
const zScope = zod.enum(["instance", "project"]);
|
|
1399
|
+
const zCatalogResource = zod.object({
|
|
1400
|
+
actions: zod.array(zAction),
|
|
1401
|
+
key: zod.string(),
|
|
1402
|
+
module: zod.string(),
|
|
1403
|
+
scope: zScope
|
|
1404
|
+
});
|
|
1405
|
+
const zCatalog = zod.object({ resources: zod.array(zCatalogResource) });
|
|
1282
1406
|
const zSeenResponse = zod.object({ has_seen: zod.boolean() });
|
|
1283
1407
|
/**
|
|
1284
1408
|
* `GroupProjectResponse` (`api/serializers/models/group.py`).
|
|
@@ -1434,6 +1558,17 @@ const zSessionTimeseriesPoint = zod.object({
|
|
|
1434
1558
|
total: zod.int()
|
|
1435
1559
|
});
|
|
1436
1560
|
/**
|
|
1561
|
+
* Everything a user holds.
|
|
1562
|
+
*/
|
|
1563
|
+
const zSetAccess = zod.object({
|
|
1564
|
+
assignments: zod.array(zAssignmentInput),
|
|
1565
|
+
personal: zPersonalAccess.nullish()
|
|
1566
|
+
});
|
|
1567
|
+
const zSetProjectMember = zod.object({
|
|
1568
|
+
role_ids: zod.array(zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })),
|
|
1569
|
+
user_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
1570
|
+
});
|
|
1571
|
+
/**
|
|
1437
1572
|
* Sort order direction
|
|
1438
1573
|
*/
|
|
1439
1574
|
const zSortOrder = zod.enum(["asc", "desc"]);
|
|
@@ -1679,15 +1814,11 @@ const zUpdateAlertRule = zod.object({
|
|
|
1679
1814
|
/**
|
|
1680
1815
|
* Request to update issue state.
|
|
1681
1816
|
*
|
|
1682
|
-
* `status`/`substatus`/`priority`/assignment
|
|
1683
|
-
* `is_resolved`/`is_muted` are accepted as a deprecated compatibility shim
|
|
1684
|
-
* and mapped onto `status`.
|
|
1817
|
+
* `status`/`substatus`/`priority`/assignment, as in Sentry.
|
|
1685
1818
|
*/
|
|
1686
1819
|
const zUpdateIssueState = zod.object({
|
|
1687
1820
|
assigned_to: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).nullish(),
|
|
1688
1821
|
assignee_type: zod.string().nullish(),
|
|
1689
|
-
is_muted: zod.boolean().nullish(),
|
|
1690
|
-
is_resolved: zod.boolean().nullish(),
|
|
1691
1822
|
priority: zIssuePriority.nullish(),
|
|
1692
1823
|
status: zIssueStatusUpdate.nullish(),
|
|
1693
1824
|
substatus: zod.string().nullish()
|
|
@@ -1744,9 +1875,12 @@ const zUpdateRelease = zod.object({
|
|
|
1744
1875
|
ref: zod.string().nullish(),
|
|
1745
1876
|
url: zod.string().nullish()
|
|
1746
1877
|
});
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1878
|
+
/**
|
|
1879
|
+
* Everything a user holds.
|
|
1880
|
+
*/
|
|
1881
|
+
const zUserAccess = zod.object({
|
|
1882
|
+
assignments: zod.array(zRoleAssignment),
|
|
1883
|
+
personal_permissions: zod.array(zPermission)
|
|
1750
1884
|
});
|
|
1751
1885
|
/**
|
|
1752
1886
|
* A user feedback report attached to a project/issue/event.
|
|
@@ -1779,7 +1913,10 @@ const zUserReportRequest = zod.object({
|
|
|
1779
1913
|
const zUserRole = zod.enum(["admin", "member"]);
|
|
1780
1914
|
const zCreateInvitation = zod.object({
|
|
1781
1915
|
email: zod.string(),
|
|
1782
|
-
|
|
1916
|
+
project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).nullish(),
|
|
1917
|
+
role: zUserRole,
|
|
1918
|
+
role_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).nullish(),
|
|
1919
|
+
send_email: zod.boolean().optional()
|
|
1783
1920
|
});
|
|
1784
1921
|
/**
|
|
1785
1922
|
* Public-facing invitation info for the accept page.
|
|
@@ -1796,10 +1933,14 @@ const zInvitationInfoResponse = zod.object({
|
|
|
1796
1933
|
const zInvitationResponse = zod.object({
|
|
1797
1934
|
created_at: zod.iso.datetime({ offset: true }),
|
|
1798
1935
|
email: zod.string(),
|
|
1936
|
+
email_sent_at: zod.iso.datetime({ offset: true }).nullable(),
|
|
1799
1937
|
expires_at: zod.iso.datetime({ offset: true }),
|
|
1938
|
+
id: zod.string(),
|
|
1939
|
+
project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).nullable(),
|
|
1800
1940
|
role: zUserRole,
|
|
1941
|
+
role_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).nullable(),
|
|
1801
1942
|
status: zod.string(),
|
|
1802
|
-
token: zod.string()
|
|
1943
|
+
token: zod.string().nullable()
|
|
1803
1944
|
});
|
|
1804
1945
|
/**
|
|
1805
1946
|
* A user as exposed on the team roster.
|
|
@@ -1959,6 +2100,14 @@ const zSentrySubmitUserFeedbackPath = zod.object({
|
|
|
1959
2100
|
*/
|
|
1960
2101
|
const zSentrySubmitUserFeedbackResponse = zSentryUserReport;
|
|
1961
2102
|
/**
|
|
2103
|
+
* Every resource a permission can name
|
|
2104
|
+
*/
|
|
2105
|
+
const zAccessCatalogResponse = zCatalog;
|
|
2106
|
+
/**
|
|
2107
|
+
* What the caller may do
|
|
2108
|
+
*/
|
|
2109
|
+
const zAccessMeResponse = zMyAccess;
|
|
2110
|
+
/**
|
|
1962
2111
|
* GitHub App removed
|
|
1963
2112
|
*/
|
|
1964
2113
|
const zGithubDisconnectResponse = zod.void();
|
|
@@ -2048,11 +2197,20 @@ const zInvitationsCreateBody = zCreateInvitation;
|
|
|
2048
2197
|
* Invitation created
|
|
2049
2198
|
*/
|
|
2050
2199
|
const zInvitationsCreateResponse = zInvitationResponse;
|
|
2051
|
-
|
|
2200
|
+
/**
|
|
2201
|
+
* Whether invitation emails can be sent
|
|
2202
|
+
*/
|
|
2203
|
+
const zInvitationsEmailStatusResponse = zEmailStatusResponse;
|
|
2204
|
+
const zInvitationsRevokePath = zod.object({ id: zod.string() });
|
|
2052
2205
|
/**
|
|
2053
2206
|
* Invitation revoked
|
|
2054
2207
|
*/
|
|
2055
2208
|
const zInvitationsRevokeResponse = zod.void();
|
|
2209
|
+
const zInvitationsResendPath = zod.object({ id: zod.string() });
|
|
2210
|
+
/**
|
|
2211
|
+
* Invitation email sent
|
|
2212
|
+
*/
|
|
2213
|
+
const zInvitationsResendResponse = zInvitationResponse;
|
|
2056
2214
|
const zOauthGetAuthorizationQuery = zod.object({
|
|
2057
2215
|
response_type: zod.string(),
|
|
2058
2216
|
client_id: zod.string(),
|
|
@@ -2094,7 +2252,7 @@ const zProjectsListResponse = zod.object({
|
|
|
2094
2252
|
created_at: zod.iso.datetime({ offset: true }),
|
|
2095
2253
|
digested_event_count: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
2096
2254
|
disabled_products: zod.array(zProduct),
|
|
2097
|
-
dsn: zod.string(),
|
|
2255
|
+
dsn: zod.string().nullable(),
|
|
2098
2256
|
id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
2099
2257
|
name: zod.string(),
|
|
2100
2258
|
platform: zod.string().nullable(),
|
|
@@ -2102,7 +2260,7 @@ const zProjectsListResponse = zod.object({
|
|
|
2102
2260
|
rate_limit_per_hour: zod.int().nullable(),
|
|
2103
2261
|
rate_limit_per_minute: zod.int().nullable(),
|
|
2104
2262
|
rate_limited_event_count: zod.int(),
|
|
2105
|
-
sentry_key: zod.string(),
|
|
2263
|
+
sentry_key: zod.string().nullable(),
|
|
2106
2264
|
slug: zod.string(),
|
|
2107
2265
|
stats: zProjectListStats.nullish(),
|
|
2108
2266
|
stored_event_count: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
@@ -2461,8 +2619,6 @@ const zIssuesListResponse = zod.object({
|
|
|
2461
2619
|
has_seen: zod.boolean().nullish(),
|
|
2462
2620
|
id: zod.uuid(),
|
|
2463
2621
|
is_bookmarked: zod.boolean().nullish(),
|
|
2464
|
-
is_muted: zod.boolean(),
|
|
2465
|
-
is_resolved: zod.boolean(),
|
|
2466
2622
|
is_subscribed: zod.boolean().nullish(),
|
|
2467
2623
|
issue_category: zod.string(),
|
|
2468
2624
|
issue_type: zod.string(),
|
|
@@ -2771,21 +2927,26 @@ const zLogsGetPath = zod.object({
|
|
|
2771
2927
|
const zLogsGetResponse = zLogResponse;
|
|
2772
2928
|
const zMembersListPath = zod.object({ project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }) });
|
|
2773
2929
|
/**
|
|
2774
|
-
*
|
|
2930
|
+
* Project members
|
|
2775
2931
|
*/
|
|
2776
|
-
const zMembersListResponse = zod.array(
|
|
2777
|
-
const zMembersUpsertBody =
|
|
2932
|
+
const zMembersListResponse = zod.array(zProjectMember);
|
|
2933
|
+
const zMembersUpsertBody = zSetProjectMember;
|
|
2778
2934
|
const zMembersUpsertPath = zod.object({ project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }) });
|
|
2779
2935
|
/**
|
|
2780
|
-
*
|
|
2936
|
+
* Project members now
|
|
2937
|
+
*/
|
|
2938
|
+
const zMembersUpsertResponse = zod.array(zProjectMember);
|
|
2939
|
+
const zMembersCandidatesPath = zod.object({ project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }) });
|
|
2940
|
+
/**
|
|
2941
|
+
* People and roles the caller can give
|
|
2781
2942
|
*/
|
|
2782
|
-
const
|
|
2943
|
+
const zMembersCandidatesResponse = zMemberCandidates;
|
|
2783
2944
|
const zMembersRemovePath = zod.object({
|
|
2784
2945
|
project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
2785
2946
|
user_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
2786
2947
|
});
|
|
2787
2948
|
/**
|
|
2788
|
-
*
|
|
2949
|
+
* Removed
|
|
2789
2950
|
*/
|
|
2790
2951
|
const zMembersRemoveResponse = zod.void();
|
|
2791
2952
|
const zMonitorsStatsPath = zod.object({ project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }) });
|
|
@@ -3166,6 +3327,26 @@ const zTransactionsGetSpansResponse = zod.array(zod.object({
|
|
|
3166
3327
|
* The server's per-project limits
|
|
3167
3328
|
*/
|
|
3168
3329
|
const zProjectsGetRateLimitsResponse = zRateLimitsResponse;
|
|
3330
|
+
/**
|
|
3331
|
+
* Every role
|
|
3332
|
+
*/
|
|
3333
|
+
const zRolesListResponse = zod.array(zRole);
|
|
3334
|
+
const zRolesCreateBody = zRoleInput;
|
|
3335
|
+
/**
|
|
3336
|
+
* Created
|
|
3337
|
+
*/
|
|
3338
|
+
const zRolesCreateResponse = zRole;
|
|
3339
|
+
const zRolesDeletePath = zod.object({ id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }) });
|
|
3340
|
+
/**
|
|
3341
|
+
* Deleted
|
|
3342
|
+
*/
|
|
3343
|
+
const zRolesDeleteResponse = zod.void();
|
|
3344
|
+
const zRolesUpdateBody = zRoleInput;
|
|
3345
|
+
const zRolesUpdatePath = zod.object({ id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }) });
|
|
3346
|
+
/**
|
|
3347
|
+
* Updated
|
|
3348
|
+
*/
|
|
3349
|
+
const zRolesUpdateResponse = zRole;
|
|
3169
3350
|
const zSchedulesPreviewBody = zPreviewSchedule;
|
|
3170
3351
|
/**
|
|
3171
3352
|
* The next five runs
|
|
@@ -3287,9 +3468,20 @@ const zTokensDeletePath = zod.object({ id: zod.int().min(-2147483648, { error: "
|
|
|
3287
3468
|
const zTokensDeleteResponse = zod.void();
|
|
3288
3469
|
const zTokensGetPath = zod.object({ id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }) });
|
|
3289
3470
|
/**
|
|
3290
|
-
* Token details (
|
|
3471
|
+
* Token details (masked)
|
|
3472
|
+
*/
|
|
3473
|
+
const zTokensGetResponse = zAuthTokenResponse;
|
|
3474
|
+
const zUsersAssignmentsPath = zod.object({ id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }) });
|
|
3475
|
+
/**
|
|
3476
|
+
* What the user holds
|
|
3477
|
+
*/
|
|
3478
|
+
const zUsersAssignmentsResponse = zUserAccess;
|
|
3479
|
+
const zUsersSetAssignmentsBody = zSetAccess;
|
|
3480
|
+
const zUsersSetAssignmentsPath = zod.object({ id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }) });
|
|
3481
|
+
/**
|
|
3482
|
+
* What the user holds now
|
|
3291
3483
|
*/
|
|
3292
|
-
const
|
|
3484
|
+
const zUsersSetAssignmentsResponse = zUserAccess;
|
|
3293
3485
|
const zAuthAcceptInvitationBody = zAcceptInvitation;
|
|
3294
3486
|
/**
|
|
3295
3487
|
* Invitation accepted and user created; signed in unless password login is disabled
|
|
@@ -3323,7 +3515,6 @@ const zAuthChangePasswordBody = zChangePasswordRequest;
|
|
|
3323
3515
|
* Password changed
|
|
3324
3516
|
*/
|
|
3325
3517
|
const zAuthChangePasswordResponse = zod.void();
|
|
3326
|
-
const zAuthRegisterBody = zCreateUserRequest;
|
|
3327
3518
|
const zAuthSsoCallbackQuery = zod.object({
|
|
3328
3519
|
code: zod.string().nullish(),
|
|
3329
3520
|
state: zod.string().nullish(),
|
|
@@ -3369,6 +3560,9 @@ const zSentryOpenIssuePath = zod.object({
|
|
|
3369
3560
|
});
|
|
3370
3561
|
exports.zAcceptInvitation = zAcceptInvitation;
|
|
3371
3562
|
exports.zAcceptInvitationResponse = zAcceptInvitationResponse;
|
|
3563
|
+
exports.zAccessCatalogResponse = zAccessCatalogResponse;
|
|
3564
|
+
exports.zAccessMeResponse = zAccessMeResponse;
|
|
3565
|
+
exports.zAction = zAction;
|
|
3372
3566
|
exports.zActivityEntry = zActivityEntry;
|
|
3373
3567
|
exports.zAgentConversation = zAgentConversation;
|
|
3374
3568
|
exports.zAgentDurationPoint = zAgentDurationPoint;
|
|
@@ -3452,6 +3646,7 @@ exports.zAlertStatus = zAlertStatus;
|
|
|
3452
3646
|
exports.zAlertType = zAlertType;
|
|
3453
3647
|
exports.zAssembleBody = zAssembleBody;
|
|
3454
3648
|
exports.zAssembleResponse = zAssembleResponse;
|
|
3649
|
+
exports.zAssignmentInput = zAssignmentInput;
|
|
3455
3650
|
exports.zAttachmentBytes = zAttachmentBytes;
|
|
3456
3651
|
exports.zAttachmentInfo = zAttachmentInfo;
|
|
3457
3652
|
exports.zAuthAcceptInvitationBody = zAuthAcceptInvitationBody;
|
|
@@ -3466,7 +3661,6 @@ exports.zAuthGetInvitationResponse = zAuthGetInvitationResponse;
|
|
|
3466
3661
|
exports.zAuthLoginBody = zAuthLoginBody;
|
|
3467
3662
|
exports.zAuthLoginResponse = zAuthLoginResponse;
|
|
3468
3663
|
exports.zAuthLogoutResponse = zAuthLogoutResponse;
|
|
3469
|
-
exports.zAuthRegisterBody = zAuthRegisterBody;
|
|
3470
3664
|
exports.zAuthResponse = zAuthResponse;
|
|
3471
3665
|
exports.zAuthSsoCallbackQuery = zAuthSsoCallbackQuery;
|
|
3472
3666
|
exports.zAuthSsoCallbackResponse = zAuthSsoCallbackResponse;
|
|
@@ -3486,6 +3680,8 @@ exports.zBulkDeleteIssues = zBulkDeleteIssues;
|
|
|
3486
3680
|
exports.zBulkDeleteResponse = zBulkDeleteResponse;
|
|
3487
3681
|
exports.zBulkUpdateIssues = zBulkUpdateIssues;
|
|
3488
3682
|
exports.zBulkUpdateResponse = zBulkUpdateResponse;
|
|
3683
|
+
exports.zCatalog = zCatalog;
|
|
3684
|
+
exports.zCatalogResource = zCatalogResource;
|
|
3489
3685
|
exports.zChangePasswordRequest = zChangePasswordRequest;
|
|
3490
3686
|
exports.zCheckInResponse = zCheckInResponse;
|
|
3491
3687
|
exports.zCheckInStatus = zCheckInStatus;
|
|
@@ -3510,7 +3706,6 @@ exports.zCreateInvitation = zCreateInvitation;
|
|
|
3510
3706
|
exports.zCreateMonitor = zCreateMonitor;
|
|
3511
3707
|
exports.zCreateProject = zCreateProject;
|
|
3512
3708
|
exports.zCreateRelease = zCreateRelease;
|
|
3513
|
-
exports.zCreateUserRequest = zCreateUserRequest;
|
|
3514
3709
|
exports.zDebugFileResponse = zDebugFileResponse;
|
|
3515
3710
|
exports.zDebugFilesAssembleBody = zDebugFilesAssembleBody;
|
|
3516
3711
|
exports.zDebugFilesAssemblePath = zDebugFilesAssemblePath;
|
|
@@ -3520,6 +3715,7 @@ exports.zDebugFilesUploadPath = zDebugFilesUploadPath;
|
|
|
3520
3715
|
exports.zDebugFilesUploadResponse = zDebugFilesUploadResponse;
|
|
3521
3716
|
exports.zDifAssembleFile = zDifAssembleFile;
|
|
3522
3717
|
exports.zDifUploadBody = zDifUploadBody;
|
|
3718
|
+
exports.zEmailStatusResponse = zEmailStatusResponse;
|
|
3523
3719
|
exports.zEnvironmentsListPath = zEnvironmentsListPath;
|
|
3524
3720
|
exports.zEnvironmentsListResponse = zEnvironmentsListResponse;
|
|
3525
3721
|
exports.zErrorDetail = zErrorDetail;
|
|
@@ -3593,7 +3789,10 @@ exports.zInvitationInfoResponse = zInvitationInfoResponse;
|
|
|
3593
3789
|
exports.zInvitationResponse = zInvitationResponse;
|
|
3594
3790
|
exports.zInvitationsCreateBody = zInvitationsCreateBody;
|
|
3595
3791
|
exports.zInvitationsCreateResponse = zInvitationsCreateResponse;
|
|
3792
|
+
exports.zInvitationsEmailStatusResponse = zInvitationsEmailStatusResponse;
|
|
3596
3793
|
exports.zInvitationsListResponse = zInvitationsListResponse;
|
|
3794
|
+
exports.zInvitationsResendPath = zInvitationsResendPath;
|
|
3795
|
+
exports.zInvitationsResendResponse = zInvitationsResendResponse;
|
|
3597
3796
|
exports.zInvitationsRevokePath = zInvitationsRevokePath;
|
|
3598
3797
|
exports.zInvitationsRevokeResponse = zInvitationsRevokeResponse;
|
|
3599
3798
|
exports.zIssueAggregates = zIssueAggregates;
|
|
@@ -3673,6 +3872,11 @@ exports.zManifestRequest = zManifestRequest;
|
|
|
3673
3872
|
exports.zManifestResponse = zManifestResponse;
|
|
3674
3873
|
exports.zMcpSettings = zMcpSettings;
|
|
3675
3874
|
exports.zMcpStatus = zMcpStatus;
|
|
3875
|
+
exports.zMemberCandidate = zMemberCandidate;
|
|
3876
|
+
exports.zMemberCandidates = zMemberCandidates;
|
|
3877
|
+
exports.zMemberRole = zMemberRole;
|
|
3878
|
+
exports.zMembersCandidatesPath = zMembersCandidatesPath;
|
|
3879
|
+
exports.zMembersCandidatesResponse = zMembersCandidatesResponse;
|
|
3676
3880
|
exports.zMembersListPath = zMembersListPath;
|
|
3677
3881
|
exports.zMembersListResponse = zMembersListResponse;
|
|
3678
3882
|
exports.zMembersRemovePath = zMembersRemovePath;
|
|
@@ -3706,6 +3910,7 @@ exports.zMonitorsStatsResponse = zMonitorsStatsResponse;
|
|
|
3706
3910
|
exports.zMonitorsUpdateBody = zMonitorsUpdateBody;
|
|
3707
3911
|
exports.zMonitorsUpdatePath = zMonitorsUpdatePath;
|
|
3708
3912
|
exports.zMonitorsUpdateResponse = zMonitorsUpdateResponse;
|
|
3913
|
+
exports.zMyAccess = zMyAccess;
|
|
3709
3914
|
exports.zOAuthGrant = zOAuthGrant;
|
|
3710
3915
|
exports.zOauthDecideAuthorizationBody = zOauthDecideAuthorizationBody;
|
|
3711
3916
|
exports.zOauthDecideAuthorizationResponse = zOauthDecideAuthorizationResponse;
|
|
@@ -3715,6 +3920,8 @@ exports.zOauthListGrantsResponse = zOauthListGrantsResponse;
|
|
|
3715
3920
|
exports.zOauthRevokeGrantPath = zOauthRevokeGrantPath;
|
|
3716
3921
|
exports.zOauthRevokeGrantResponse = zOauthRevokeGrantResponse;
|
|
3717
3922
|
exports.zOrgDetails = zOrgDetails;
|
|
3923
|
+
exports.zPermission = zPermission;
|
|
3924
|
+
exports.zPersonalAccess = zPersonalAccess;
|
|
3718
3925
|
exports.zPreviewSchedule = zPreviewSchedule;
|
|
3719
3926
|
exports.zPreviewTemplateBody = zPreviewTemplateBody;
|
|
3720
3927
|
exports.zPreviewTemplateResponse = zPreviewTemplateResponse;
|
|
@@ -3722,11 +3929,10 @@ exports.zProduct = zProduct;
|
|
|
3722
3929
|
exports.zProjectAge = zProjectAge;
|
|
3723
3930
|
exports.zProjectListStats = zProjectListStats;
|
|
3724
3931
|
exports.zProjectMember = zProjectMember;
|
|
3725
|
-
exports.
|
|
3932
|
+
exports.zProjectPermissions = zProjectPermissions;
|
|
3726
3933
|
exports.zProjectRepository = zProjectRepository;
|
|
3727
3934
|
exports.zProjectResponse = zProjectResponse;
|
|
3728
3935
|
exports.zProjectRetention = zProjectRetention;
|
|
3729
|
-
exports.zProjectRole = zProjectRole;
|
|
3730
3936
|
exports.zProjectStatsSummary = zProjectStatsSummary;
|
|
3731
3937
|
exports.zProjectsCreateBody = zProjectsCreateBody;
|
|
3732
3938
|
exports.zProjectsCreateResponse = zProjectsCreateResponse;
|
|
@@ -3762,14 +3968,28 @@ exports.zReleasesNewIssuesPath = zReleasesNewIssuesPath;
|
|
|
3762
3968
|
exports.zReleasesNewIssuesQuery = zReleasesNewIssuesQuery;
|
|
3763
3969
|
exports.zReleasesNewIssuesResponse = zReleasesNewIssuesResponse;
|
|
3764
3970
|
exports.zRepoCommit = zRepoCommit;
|
|
3971
|
+
exports.zResource = zResource;
|
|
3765
3972
|
exports.zRetentionResponse = zRetentionResponse;
|
|
3766
3973
|
exports.zRetentionRun = zRetentionRun;
|
|
3767
3974
|
exports.zRetentionSettings = zRetentionSettings;
|
|
3768
3975
|
exports.zRetentionWindows = zRetentionWindows;
|
|
3976
|
+
exports.zRole = zRole;
|
|
3977
|
+
exports.zRoleAssignment = zRoleAssignment;
|
|
3978
|
+
exports.zRoleInput = zRoleInput;
|
|
3979
|
+
exports.zRoleRef = zRoleRef;
|
|
3980
|
+
exports.zRolesCreateBody = zRolesCreateBody;
|
|
3981
|
+
exports.zRolesCreateResponse = zRolesCreateResponse;
|
|
3982
|
+
exports.zRolesDeletePath = zRolesDeletePath;
|
|
3983
|
+
exports.zRolesDeleteResponse = zRolesDeleteResponse;
|
|
3984
|
+
exports.zRolesListResponse = zRolesListResponse;
|
|
3985
|
+
exports.zRolesUpdateBody = zRolesUpdateBody;
|
|
3986
|
+
exports.zRolesUpdatePath = zRolesUpdatePath;
|
|
3987
|
+
exports.zRolesUpdateResponse = zRolesUpdateResponse;
|
|
3769
3988
|
exports.zSchedule = zSchedule;
|
|
3770
3989
|
exports.zSchedulePreview = zSchedulePreview;
|
|
3771
3990
|
exports.zSchedulesPreviewBody = zSchedulesPreviewBody;
|
|
3772
3991
|
exports.zSchedulesPreviewResponse = zSchedulesPreviewResponse;
|
|
3992
|
+
exports.zScope = zScope;
|
|
3773
3993
|
exports.zSeenResponse = zSeenResponse;
|
|
3774
3994
|
exports.zSentryEvent = zSentryEvent;
|
|
3775
3995
|
exports.zSentryGetIssuePath = zSentryGetIssuePath;
|
|
@@ -3812,6 +4032,8 @@ exports.zSessionsGetSummaryResponse = zSessionsGetSummaryResponse;
|
|
|
3812
4032
|
exports.zSessionsGetTimeseriesPath = zSessionsGetTimeseriesPath;
|
|
3813
4033
|
exports.zSessionsGetTimeseriesQuery = zSessionsGetTimeseriesQuery;
|
|
3814
4034
|
exports.zSessionsGetTimeseriesResponse = zSessionsGetTimeseriesResponse;
|
|
4035
|
+
exports.zSetAccess = zSetAccess;
|
|
4036
|
+
exports.zSetProjectMember = zSetProjectMember;
|
|
3815
4037
|
exports.zSettingsGetMcpResponse = zSettingsGetMcpResponse;
|
|
3816
4038
|
exports.zSettingsUpdateMcpBody = zSettingsUpdateMcpBody;
|
|
3817
4039
|
exports.zSettingsUpdateMcpResponse = zSettingsUpdateMcpResponse;
|
|
@@ -3917,11 +4139,16 @@ exports.zUpdateProject = zUpdateProject;
|
|
|
3917
4139
|
exports.zUpdateProjectRepository = zUpdateProjectRepository;
|
|
3918
4140
|
exports.zUpdateRelease = zUpdateRelease;
|
|
3919
4141
|
exports.zUpdateUserRole = zUpdateUserRole;
|
|
3920
|
-
exports.
|
|
4142
|
+
exports.zUserAccess = zUserAccess;
|
|
3921
4143
|
exports.zUserReport = zUserReport;
|
|
3922
4144
|
exports.zUserReportRequest = zUserReportRequest;
|
|
3923
4145
|
exports.zUserResponse = zUserResponse;
|
|
3924
4146
|
exports.zUserRole = zUserRole;
|
|
4147
|
+
exports.zUsersAssignmentsPath = zUsersAssignmentsPath;
|
|
4148
|
+
exports.zUsersAssignmentsResponse = zUsersAssignmentsResponse;
|
|
4149
|
+
exports.zUsersSetAssignmentsBody = zUsersSetAssignmentsBody;
|
|
4150
|
+
exports.zUsersSetAssignmentsPath = zUsersSetAssignmentsPath;
|
|
4151
|
+
exports.zUsersSetAssignmentsResponse = zUsersSetAssignmentsResponse;
|
|
3925
4152
|
exports.zVersionResponse = zVersionResponse;
|
|
3926
4153
|
|
|
3927
4154
|
//# sourceMappingURL=zod.gen.cjs.map
|