@rustrak/client 0.19.0 → 0.20.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 +18 -1
- package/dist/client.cjs +2 -0
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +4 -3
- package/dist/client.d.cts.map +1 -1
- package/dist/client.d.mts +4 -3
- package/dist/client.d.mts.map +1 -1
- package/dist/client.mjs +2 -0
- package/dist/client.mjs.map +1 -1
- package/dist/generated/sdk.gen.cjs +294 -1
- package/dist/generated/sdk.gen.cjs.map +1 -1
- package/dist/generated/sdk.gen.d.cts +21 -1
- package/dist/generated/sdk.gen.d.cts.map +1 -1
- package/dist/generated/sdk.gen.d.mts +21 -1
- package/dist/generated/sdk.gen.d.mts.map +1 -1
- package/dist/generated/sdk.gen.mjs +294 -3
- package/dist/generated/sdk.gen.mjs.map +1 -1
- package/dist/generated/types.gen.d.cts +387 -3
- package/dist/generated/types.gen.d.cts.map +1 -1
- package/dist/generated/types.gen.d.mts +387 -3
- package/dist/generated/types.gen.d.mts.map +1 -1
- package/dist/generated/zod.gen.cjs +342 -3
- package/dist/generated/zod.gen.cjs.map +1 -1
- package/dist/generated/zod.gen.mjs +301 -4
- package/dist/generated/zod.gen.mjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/package.json +1 -1
|
@@ -133,7 +133,8 @@ const zAlertHistory = zod.object({
|
|
|
133
133
|
const zAlertType = zod.enum([
|
|
134
134
|
"new_issue",
|
|
135
135
|
"regression",
|
|
136
|
-
"unmute"
|
|
136
|
+
"unmute",
|
|
137
|
+
"new_feedback"
|
|
137
138
|
]);
|
|
138
139
|
/**
|
|
139
140
|
* Response for alert rule including linked integration info
|
|
@@ -163,6 +164,22 @@ const zAssembleResponse = zod.object({
|
|
|
163
164
|
state: zod.string()
|
|
164
165
|
});
|
|
165
166
|
/**
|
|
167
|
+
* The raw bytes of an attachment. Untyped in the spec: the generated
|
|
168
|
+
* client validates bodies with zod, which has no type for a binary one.
|
|
169
|
+
*/
|
|
170
|
+
const zAttachmentBytes = zod.unknown();
|
|
171
|
+
/**
|
|
172
|
+
* An attachment, without its bytes.
|
|
173
|
+
*/
|
|
174
|
+
const zAttachmentInfo = zod.object({
|
|
175
|
+
content_type: zod.string(),
|
|
176
|
+
created_at: zod.iso.datetime({ offset: true }),
|
|
177
|
+
event_id: zod.uuid(),
|
|
178
|
+
filename: zod.string(),
|
|
179
|
+
id: zod.uuid(),
|
|
180
|
+
size: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
181
|
+
});
|
|
182
|
+
/**
|
|
166
183
|
* Response that includes the full token (only on creation)
|
|
167
184
|
*/
|
|
168
185
|
const zAuthTokenCreatedResponse = zod.object({
|
|
@@ -521,6 +538,11 @@ const zIntervalUnit = zod.enum([
|
|
|
521
538
|
"year"
|
|
522
539
|
]);
|
|
523
540
|
/**
|
|
541
|
+
* Which kind of issue a list shows. Feedback is kept out of the default
|
|
542
|
+
* list, as Sentry's `FeedbackGroup` is (`in_default_search=False`).
|
|
543
|
+
*/
|
|
544
|
+
const zIssueCategory = zod.enum(["error", "feedback"]);
|
|
545
|
+
/**
|
|
524
546
|
* Filter for issues listing
|
|
525
547
|
*/
|
|
526
548
|
const zIssueFilter = zod.enum([
|
|
@@ -574,6 +596,17 @@ const zIssueStatus = zod.enum([
|
|
|
574
596
|
"resolved",
|
|
575
597
|
"ignored"
|
|
576
598
|
]);
|
|
599
|
+
zod.object({
|
|
600
|
+
associated_event_id: zod.string().nullable(),
|
|
601
|
+
attachments: zod.array(zAttachmentInfo),
|
|
602
|
+
contact_email: zod.string(),
|
|
603
|
+
created_at: zod.iso.datetime({ offset: true }),
|
|
604
|
+
id: zod.uuid(),
|
|
605
|
+
message: zod.string(),
|
|
606
|
+
name: zod.string(),
|
|
607
|
+
status: zIssueStatus,
|
|
608
|
+
url: zod.string()
|
|
609
|
+
});
|
|
577
610
|
/**
|
|
578
611
|
* Response for API
|
|
579
612
|
*/
|
|
@@ -642,6 +675,14 @@ const zIssueTagValue = zod.object({
|
|
|
642
675
|
value: zod.string()
|
|
643
676
|
});
|
|
644
677
|
/**
|
|
678
|
+
* Body of an issue update: the fields of `GroupValidator`
|
|
679
|
+
* (`api/helpers/group_index/validators/group.py`) Rustrak acts on.
|
|
680
|
+
*/
|
|
681
|
+
const zIssueUpdate = zod.object({
|
|
682
|
+
status: zod.string().nullish(),
|
|
683
|
+
substatus: zod.string().nullish()
|
|
684
|
+
});
|
|
685
|
+
/**
|
|
645
686
|
* How long ago a kind of data arrived: rows per age bucket, and the oldest.
|
|
646
687
|
*/
|
|
647
688
|
const zKindAge = zod.object({
|
|
@@ -1045,6 +1086,137 @@ const zPreviewSchedule = zod.object({
|
|
|
1045
1086
|
const zSchedulePreview = zod.object({ next_runs: zod.array(zod.iso.datetime({ offset: true })) });
|
|
1046
1087
|
const zSeenResponse = zod.object({ has_seen: zod.boolean() });
|
|
1047
1088
|
/**
|
|
1089
|
+
* `GroupProjectResponse` (`api/serializers/models/group.py`).
|
|
1090
|
+
*/
|
|
1091
|
+
const zSentryGroupProject = zod.object({
|
|
1092
|
+
id: zod.string(),
|
|
1093
|
+
name: zod.string(),
|
|
1094
|
+
platform: zod.string().nullable(),
|
|
1095
|
+
slug: zod.string()
|
|
1096
|
+
});
|
|
1097
|
+
/**
|
|
1098
|
+
* Subset of `GroupSerializer` plus its seen stats
|
|
1099
|
+
* (`api/serializers/models/group.py`), and `stats` when the caller asked
|
|
1100
|
+
* for a series (`StreamGroupSerializer`, `group_stream.py`).
|
|
1101
|
+
*/
|
|
1102
|
+
const zSentryIssue = zod.object({
|
|
1103
|
+
annotations: zod.array(zod.record(zod.string(), zod.unknown())),
|
|
1104
|
+
count: zod.string(),
|
|
1105
|
+
culprit: zod.string(),
|
|
1106
|
+
firstSeen: zod.iso.datetime({ offset: true }),
|
|
1107
|
+
id: zod.string(),
|
|
1108
|
+
issueCategory: zod.string(),
|
|
1109
|
+
issueType: zod.string(),
|
|
1110
|
+
lastSeen: zod.iso.datetime({ offset: true }),
|
|
1111
|
+
level: zod.string(),
|
|
1112
|
+
logger: zod.string().nullable(),
|
|
1113
|
+
metadata: zod.record(zod.string(), zod.unknown()),
|
|
1114
|
+
platform: zod.string().nullable(),
|
|
1115
|
+
priority: zod.string().nullable(),
|
|
1116
|
+
project: zSentryGroupProject,
|
|
1117
|
+
shortId: zod.string(),
|
|
1118
|
+
stats: zod.record(zod.string(), zod.unknown()).nullish(),
|
|
1119
|
+
status: zod.string(),
|
|
1120
|
+
statusDetails: zod.record(zod.string(), zod.unknown()),
|
|
1121
|
+
substatus: zod.string().nullable(),
|
|
1122
|
+
title: zod.string(),
|
|
1123
|
+
type: zod.string(),
|
|
1124
|
+
userCount: zod.int()
|
|
1125
|
+
});
|
|
1126
|
+
/**
|
|
1127
|
+
* A release as `serialize_releases` (`api/helpers/group_index/index.py`)
|
|
1128
|
+
* falls back to it, with the serializer's `shortVersion`, which is the
|
|
1129
|
+
* version itself (`api/serializers/models/release.py`).
|
|
1130
|
+
*/
|
|
1131
|
+
const zSentryRelease = zod.object({
|
|
1132
|
+
shortVersion: zod.string(),
|
|
1133
|
+
version: zod.string()
|
|
1134
|
+
});
|
|
1135
|
+
/**
|
|
1136
|
+
* Subset of `GroupDetailsEndpoint`'s response
|
|
1137
|
+
* (`issues/endpoints/group_details.py`).
|
|
1138
|
+
*/
|
|
1139
|
+
const zSentryIssueDetails = zSentryIssue.and(zod.object({
|
|
1140
|
+
firstRelease: zSentryRelease.nullable(),
|
|
1141
|
+
lastRelease: zSentryRelease.nullable(),
|
|
1142
|
+
userReportCount: zod.int()
|
|
1143
|
+
}));
|
|
1144
|
+
/**
|
|
1145
|
+
* `{"id", "name"}` of a status, as Sentry nests it in an organization.
|
|
1146
|
+
*/
|
|
1147
|
+
const zSentryStatus = zod.object({
|
|
1148
|
+
id: zod.string(),
|
|
1149
|
+
name: zod.string()
|
|
1150
|
+
});
|
|
1151
|
+
/**
|
|
1152
|
+
* Subset of `OrganizationSummarySerializer`
|
|
1153
|
+
* (`api/serializers/models/organization.py`).
|
|
1154
|
+
*/
|
|
1155
|
+
const zSentryOrganization = zod.object({
|
|
1156
|
+
id: zod.string(),
|
|
1157
|
+
name: zod.string(),
|
|
1158
|
+
slug: zod.string(),
|
|
1159
|
+
status: zSentryStatus
|
|
1160
|
+
});
|
|
1161
|
+
/**
|
|
1162
|
+
* Subset of `ProjectWithOrganizationSerializer`
|
|
1163
|
+
* (`api/serializers/models/project.py`). Sentry's ids are strings.
|
|
1164
|
+
*/
|
|
1165
|
+
const zSentryProject = zod.object({
|
|
1166
|
+
dateCreated: zod.iso.datetime({ offset: true }),
|
|
1167
|
+
id: zod.string(),
|
|
1168
|
+
name: zod.string(),
|
|
1169
|
+
organization: zSentryOrganization,
|
|
1170
|
+
platform: zod.string().nullable(),
|
|
1171
|
+
slug: zod.string(),
|
|
1172
|
+
status: zod.string()
|
|
1173
|
+
});
|
|
1174
|
+
const zSentryTag = zod.object({
|
|
1175
|
+
key: zod.string(),
|
|
1176
|
+
value: zod.string()
|
|
1177
|
+
});
|
|
1178
|
+
/**
|
|
1179
|
+
* Subset of `EventSerializer` for an error event
|
|
1180
|
+
* (`api/serializers/models/event.py`).
|
|
1181
|
+
*/
|
|
1182
|
+
const zSentryEvent = zod.object({
|
|
1183
|
+
culprit: zod.string(),
|
|
1184
|
+
dateCreated: zod.iso.datetime({ offset: true }),
|
|
1185
|
+
dateReceived: zod.iso.datetime({ offset: true }),
|
|
1186
|
+
entries: zod.array(zod.record(zod.string(), zod.unknown())),
|
|
1187
|
+
eventID: zod.string(),
|
|
1188
|
+
groupID: zod.string(),
|
|
1189
|
+
id: zod.string(),
|
|
1190
|
+
message: zod.string(),
|
|
1191
|
+
metadata: zod.record(zod.string(), zod.unknown()),
|
|
1192
|
+
platform: zod.string(),
|
|
1193
|
+
projectID: zod.string(),
|
|
1194
|
+
tags: zod.array(zSentryTag),
|
|
1195
|
+
title: zod.string(),
|
|
1196
|
+
type: zod.string()
|
|
1197
|
+
});
|
|
1198
|
+
/**
|
|
1199
|
+
* Body of a user report (`UserReportSerializer` in Sentry's
|
|
1200
|
+
* `api/serializers/models/userreport.py`), as the report was received.
|
|
1201
|
+
*/
|
|
1202
|
+
const zSentryUserReport = zod.object({
|
|
1203
|
+
comments: zod.string(),
|
|
1204
|
+
dateCreated: zod.iso.datetime({ offset: true }),
|
|
1205
|
+
email: zod.string(),
|
|
1206
|
+
eventID: zod.string(),
|
|
1207
|
+
id: zod.string(),
|
|
1208
|
+
name: zod.string()
|
|
1209
|
+
});
|
|
1210
|
+
/**
|
|
1211
|
+
* Request body of a user report.
|
|
1212
|
+
*/
|
|
1213
|
+
const zSentryUserReportRequest = zod.object({
|
|
1214
|
+
comments: zod.string().nullish(),
|
|
1215
|
+
email: zod.string().nullish(),
|
|
1216
|
+
event_id: zod.string(),
|
|
1217
|
+
name: zod.string().nullish()
|
|
1218
|
+
});
|
|
1219
|
+
/**
|
|
1048
1220
|
* Project-wide session health summary, aggregated across all releases and environments.
|
|
1049
1221
|
*/
|
|
1050
1222
|
const zSessionSummary = zod.object({
|
|
@@ -1439,6 +1611,26 @@ const zUserResponse = zod.object({
|
|
|
1439
1611
|
});
|
|
1440
1612
|
const zAuthResponse = zod.object({ user: zUserResponse });
|
|
1441
1613
|
const zVersionResponse = zod.object({ version: zod.string() });
|
|
1614
|
+
const zSentryGetIssuePath = zod.object({ issue_id: zod.string().regex(/^[0-9]+$/) });
|
|
1615
|
+
/**
|
|
1616
|
+
* Issue details
|
|
1617
|
+
*/
|
|
1618
|
+
const zSentryGetIssueResponse = zSentryIssueDetails;
|
|
1619
|
+
const zSentryUpdateIssueBody = zIssueUpdate;
|
|
1620
|
+
const zSentryUpdateIssuePath = zod.object({ issue_id: zod.string().regex(/^[0-9]+$/) });
|
|
1621
|
+
/**
|
|
1622
|
+
* Issue updated
|
|
1623
|
+
*/
|
|
1624
|
+
const zSentryUpdateIssueResponse = zSentryIssue;
|
|
1625
|
+
const zSentryGetLatestEventPath = zod.object({ issue_id: zod.string().regex(/^[0-9]+$/) });
|
|
1626
|
+
/**
|
|
1627
|
+
* The issue's latest event
|
|
1628
|
+
*/
|
|
1629
|
+
const zSentryGetLatestEventResponse = zSentryEvent;
|
|
1630
|
+
/**
|
|
1631
|
+
* The synthetic organization
|
|
1632
|
+
*/
|
|
1633
|
+
const zSentryListOrganizationsResponse = zod.array(zSentryOrganization);
|
|
1442
1634
|
const zSourceMapsOrgDetailsPath = zod.object({ org_slug: zod.string() });
|
|
1443
1635
|
/**
|
|
1444
1636
|
* Synthetic org metadata accepted by sentry-cli
|
|
@@ -1460,6 +1652,19 @@ const zSourceMapsChunkUploadCapabilityResponse = zChunkUploadOptions;
|
|
|
1460
1652
|
*/
|
|
1461
1653
|
const zSourceMapsChunkUploadBody = zChunkUploadBody;
|
|
1462
1654
|
const zSourceMapsChunkUploadPath = zod.object({ org_slug: zod.string() });
|
|
1655
|
+
const zSentryListReposPath = zod.object({ org_slug: zod.string() });
|
|
1656
|
+
/**
|
|
1657
|
+
* Connected repositories: always none
|
|
1658
|
+
*/
|
|
1659
|
+
const zSentryListReposResponse = zod.array(zod.record(zod.string(), zod.unknown()));
|
|
1660
|
+
const zSentryListProjectsQuery = zod.object({
|
|
1661
|
+
per_page: zod.int().nullish(),
|
|
1662
|
+
cursor: zod.string().nullish()
|
|
1663
|
+
});
|
|
1664
|
+
/**
|
|
1665
|
+
* Projects, newest first; paginated by the `Link` header
|
|
1666
|
+
*/
|
|
1667
|
+
const zSentryListProjectsResponse = zod.array(zSentryProject);
|
|
1463
1668
|
const zSourceMapsListPath = zod.object({
|
|
1464
1669
|
org_slug: zod.string(),
|
|
1465
1670
|
project_slug: zod.string()
|
|
@@ -1468,6 +1673,21 @@ const zSourceMapsListPath = zod.object({
|
|
|
1468
1673
|
* List of uploaded source map files
|
|
1469
1674
|
*/
|
|
1470
1675
|
const zSourceMapsListResponse = zSourceMapList;
|
|
1676
|
+
const zSentryListIssuesPath = zod.object({
|
|
1677
|
+
org_slug: zod.string(),
|
|
1678
|
+
project_slug: zod.string()
|
|
1679
|
+
});
|
|
1680
|
+
const zSentryListIssuesQuery = zod.object({
|
|
1681
|
+
query: zod.string().nullish(),
|
|
1682
|
+
sort: zod.string().nullish(),
|
|
1683
|
+
limit: zod.string().nullish(),
|
|
1684
|
+
cursor: zod.string().nullish(),
|
|
1685
|
+
statsPeriod: zod.string().nullish()
|
|
1686
|
+
});
|
|
1687
|
+
/**
|
|
1688
|
+
* Issues; paginated by the `Link` header
|
|
1689
|
+
*/
|
|
1690
|
+
const zSentryListIssuesResponse = zod.array(zSentryIssue);
|
|
1471
1691
|
const zReleasesCreateBody = zCreateRelease;
|
|
1472
1692
|
const zReleasesCreatePath = zod.object({
|
|
1473
1693
|
org_slug: zod.string(),
|
|
@@ -1487,6 +1707,15 @@ const zReleasesFinalizePath = zod.object({
|
|
|
1487
1707
|
* Release updated
|
|
1488
1708
|
*/
|
|
1489
1709
|
const zReleasesFinalizeResponse = zReleaseResponse;
|
|
1710
|
+
const zSentrySubmitUserFeedbackBody = zSentryUserReportRequest;
|
|
1711
|
+
const zSentrySubmitUserFeedbackPath = zod.object({
|
|
1712
|
+
org_slug: zod.string(),
|
|
1713
|
+
project_slug: zod.string()
|
|
1714
|
+
});
|
|
1715
|
+
/**
|
|
1716
|
+
* The report, or an empty body under DSN auth
|
|
1717
|
+
*/
|
|
1718
|
+
const zSentrySubmitUserFeedbackResponse = zSentryUserReport;
|
|
1490
1719
|
/**
|
|
1491
1720
|
* GitHub App removed
|
|
1492
1721
|
*/
|
|
@@ -1806,6 +2035,14 @@ const zAlertRulesUpdatePath = zod.object({
|
|
|
1806
2035
|
* Alert rule updated
|
|
1807
2036
|
*/
|
|
1808
2037
|
const zAlertRulesUpdateResponse = zAlertRuleResponse;
|
|
2038
|
+
const zEventsDownloadAttachmentPath = zod.object({
|
|
2039
|
+
project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
2040
|
+
attachment_id: zod.uuid()
|
|
2041
|
+
});
|
|
2042
|
+
/**
|
|
2043
|
+
* The file: inline when its bytes are a PNG, JPEG, GIF or WebP image, a download otherwise
|
|
2044
|
+
*/
|
|
2045
|
+
const zEventsDownloadAttachmentResponse = zAttachmentBytes;
|
|
1809
2046
|
const zEventsGetBySentryIdPath = zod.object({
|
|
1810
2047
|
project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1811
2048
|
event_id: zod.string()
|
|
@@ -1823,6 +2060,32 @@ const zStatsGetEventTimeseriesQuery = zod.object({
|
|
|
1823
2060
|
* Time-bucketed error-event volume by severity
|
|
1824
2061
|
*/
|
|
1825
2062
|
const zStatsGetEventTimeseriesResponse = zod.array(zEventTimeseriesPoint);
|
|
2063
|
+
const zFeedbackListPath = 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" }) });
|
|
2064
|
+
const zFeedbackListQuery = zod.object({
|
|
2065
|
+
page: zod.int().optional(),
|
|
2066
|
+
per_page: zod.int().optional(),
|
|
2067
|
+
filter: zIssueFilter.optional()
|
|
2068
|
+
});
|
|
2069
|
+
/**
|
|
2070
|
+
* Offset-based paginated response wrapper
|
|
2071
|
+
*/
|
|
2072
|
+
const zFeedbackListResponse = zod.object({
|
|
2073
|
+
items: zod.array(zod.object({
|
|
2074
|
+
associated_event_id: zod.string().nullable(),
|
|
2075
|
+
attachments: zod.array(zAttachmentInfo),
|
|
2076
|
+
contact_email: zod.string(),
|
|
2077
|
+
created_at: zod.iso.datetime({ offset: true }),
|
|
2078
|
+
id: zod.uuid(),
|
|
2079
|
+
message: zod.string(),
|
|
2080
|
+
name: zod.string(),
|
|
2081
|
+
status: zIssueStatus,
|
|
2082
|
+
url: zod.string()
|
|
2083
|
+
})),
|
|
2084
|
+
page: zod.int(),
|
|
2085
|
+
per_page: zod.int(),
|
|
2086
|
+
total_count: zod.int(),
|
|
2087
|
+
total_pages: zod.int()
|
|
2088
|
+
});
|
|
1826
2089
|
const zGithubDeleteProjectRepositoryPath = 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" }) });
|
|
1827
2090
|
/**
|
|
1828
2091
|
* Repository removed
|
|
@@ -1857,6 +2120,7 @@ const zIssuesListQuery = zod.object({
|
|
|
1857
2120
|
sort: zIssueSort.optional(),
|
|
1858
2121
|
order: zSortOrder.optional(),
|
|
1859
2122
|
filter: zIssueFilter.optional(),
|
|
2123
|
+
category: zIssueCategory.optional(),
|
|
1860
2124
|
q: zod.string().nullish()
|
|
1861
2125
|
});
|
|
1862
2126
|
/**
|
|
@@ -2001,6 +2265,15 @@ const zEventsGetPath = zod.object({
|
|
|
2001
2265
|
* Full event detail
|
|
2002
2266
|
*/
|
|
2003
2267
|
const zEventsGetResponse = zEventDetailResponse;
|
|
2268
|
+
const zEventsListAttachmentsPath = zod.object({
|
|
2269
|
+
project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
2270
|
+
issue_id: zod.uuid(),
|
|
2271
|
+
event_id: zod.uuid()
|
|
2272
|
+
});
|
|
2273
|
+
/**
|
|
2274
|
+
* The files sent with the event, without their bytes
|
|
2275
|
+
*/
|
|
2276
|
+
const zEventsListAttachmentsResponse = zod.array(zAttachmentInfo);
|
|
2004
2277
|
const zGithubIssuePath = zod.object({
|
|
2005
2278
|
project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
2006
2279
|
issue_id: zod.uuid()
|
|
@@ -2083,10 +2356,29 @@ const zIssuesListUserReportsPath = zod.object({
|
|
|
2083
2356
|
project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
2084
2357
|
issue_id: zod.uuid()
|
|
2085
2358
|
});
|
|
2359
|
+
const zIssuesListUserReportsQuery = zod.object({
|
|
2360
|
+
page: zod.int().optional(),
|
|
2361
|
+
per_page: zod.int().optional()
|
|
2362
|
+
});
|
|
2086
2363
|
/**
|
|
2087
|
-
*
|
|
2364
|
+
* Offset-based paginated response wrapper
|
|
2088
2365
|
*/
|
|
2089
|
-
const zIssuesListUserReportsResponse = zod.
|
|
2366
|
+
const zIssuesListUserReportsResponse = zod.object({
|
|
2367
|
+
items: zod.array(zod.object({
|
|
2368
|
+
comments: zod.string(),
|
|
2369
|
+
created_at: zod.iso.datetime({ offset: true }),
|
|
2370
|
+
email: zod.string(),
|
|
2371
|
+
event_id: zod.uuid().nullable(),
|
|
2372
|
+
id: zod.uuid(),
|
|
2373
|
+
issue_id: zod.uuid().nullable(),
|
|
2374
|
+
name: zod.string(),
|
|
2375
|
+
project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
2376
|
+
})),
|
|
2377
|
+
page: zod.int(),
|
|
2378
|
+
per_page: zod.int(),
|
|
2379
|
+
total_count: zod.int(),
|
|
2380
|
+
total_pages: zod.int()
|
|
2381
|
+
});
|
|
2090
2382
|
const zIssuesCreateUserReportBody = zUserReportRequest;
|
|
2091
2383
|
const zIssuesCreateUserReportPath = zod.object({
|
|
2092
2384
|
project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
@@ -2614,6 +2906,11 @@ const zHealthReadinessResponse = zReadinessResponse;
|
|
|
2614
2906
|
* Server version info
|
|
2615
2907
|
*/
|
|
2616
2908
|
const zHealthVersionResponse = zVersionResponse;
|
|
2909
|
+
const zSentryOpenIssuePath = zod.object({
|
|
2910
|
+
org_slug: zod.string(),
|
|
2911
|
+
project_slug: zod.string(),
|
|
2912
|
+
issue_id: zod.string().regex(/^[0-9]+$/)
|
|
2913
|
+
});
|
|
2617
2914
|
//#endregion
|
|
2618
2915
|
exports.zAcceptInvitation = zAcceptInvitation;
|
|
2619
2916
|
exports.zActivityEntry = zActivityEntry;
|
|
@@ -2689,6 +2986,8 @@ exports.zAlertStatus = zAlertStatus;
|
|
|
2689
2986
|
exports.zAlertType = zAlertType;
|
|
2690
2987
|
exports.zAssembleBody = zAssembleBody;
|
|
2691
2988
|
exports.zAssembleResponse = zAssembleResponse;
|
|
2989
|
+
exports.zAttachmentBytes = zAttachmentBytes;
|
|
2990
|
+
exports.zAttachmentInfo = zAttachmentInfo;
|
|
2692
2991
|
exports.zAuthAcceptInvitationBody = zAuthAcceptInvitationBody;
|
|
2693
2992
|
exports.zAuthAcceptInvitationResponse = zAuthAcceptInvitationResponse;
|
|
2694
2993
|
exports.zAuthChangePasswordBody = zAuthChangePasswordBody;
|
|
@@ -2746,13 +3045,20 @@ exports.zCreateUserRequest = zCreateUserRequest;
|
|
|
2746
3045
|
exports.zErrorDetail = zErrorDetail;
|
|
2747
3046
|
exports.zEventDetailResponse = zEventDetailResponse;
|
|
2748
3047
|
exports.zEventTimeseriesPoint = zEventTimeseriesPoint;
|
|
3048
|
+
exports.zEventsDownloadAttachmentPath = zEventsDownloadAttachmentPath;
|
|
3049
|
+
exports.zEventsDownloadAttachmentResponse = zEventsDownloadAttachmentResponse;
|
|
2749
3050
|
exports.zEventsGetBySentryIdPath = zEventsGetBySentryIdPath;
|
|
2750
3051
|
exports.zEventsGetBySentryIdResponse = zEventsGetBySentryIdResponse;
|
|
2751
3052
|
exports.zEventsGetPath = zEventsGetPath;
|
|
2752
3053
|
exports.zEventsGetResponse = zEventsGetResponse;
|
|
3054
|
+
exports.zEventsListAttachmentsPath = zEventsListAttachmentsPath;
|
|
3055
|
+
exports.zEventsListAttachmentsResponse = zEventsListAttachmentsResponse;
|
|
2753
3056
|
exports.zEventsListPath = zEventsListPath;
|
|
2754
3057
|
exports.zEventsListQuery = zEventsListQuery;
|
|
2755
3058
|
exports.zEventsListResponse = zEventsListResponse;
|
|
3059
|
+
exports.zFeedbackListPath = zFeedbackListPath;
|
|
3060
|
+
exports.zFeedbackListQuery = zFeedbackListQuery;
|
|
3061
|
+
exports.zFeedbackListResponse = zFeedbackListResponse;
|
|
2756
3062
|
exports.zFieldError = zFieldError;
|
|
2757
3063
|
exports.zFieldErrorCode = zFieldErrorCode;
|
|
2758
3064
|
exports.zGenAiBreakdownRow = zGenAiBreakdownRow;
|
|
@@ -2806,6 +3112,7 @@ exports.zInvitationsListResponse = zInvitationsListResponse;
|
|
|
2806
3112
|
exports.zInvitationsRevokePath = zInvitationsRevokePath;
|
|
2807
3113
|
exports.zInvitationsRevokeResponse = zInvitationsRevokeResponse;
|
|
2808
3114
|
exports.zIssueAggregates = zIssueAggregates;
|
|
3115
|
+
exports.zIssueCategory = zIssueCategory;
|
|
2809
3116
|
exports.zIssueFilter = zIssueFilter;
|
|
2810
3117
|
exports.zIssueGitHub = zIssueGitHub;
|
|
2811
3118
|
exports.zIssueLink = zIssueLink;
|
|
@@ -2817,6 +3124,7 @@ exports.zIssueStatsWindow = zIssueStatsWindow;
|
|
|
2817
3124
|
exports.zIssueStatus = zIssueStatus;
|
|
2818
3125
|
exports.zIssueStatusUpdate = zIssueStatusUpdate;
|
|
2819
3126
|
exports.zIssueTagValue = zIssueTagValue;
|
|
3127
|
+
exports.zIssueUpdate = zIssueUpdate;
|
|
2820
3128
|
exports.zIssuesBulkDeleteBody = zIssuesBulkDeleteBody;
|
|
2821
3129
|
exports.zIssuesBulkDeletePath = zIssuesBulkDeletePath;
|
|
2822
3130
|
exports.zIssuesBulkDeleteResponse = zIssuesBulkDeleteResponse;
|
|
@@ -2848,6 +3156,7 @@ exports.zIssuesListPath = zIssuesListPath;
|
|
|
2848
3156
|
exports.zIssuesListQuery = zIssuesListQuery;
|
|
2849
3157
|
exports.zIssuesListResponse = zIssuesListResponse;
|
|
2850
3158
|
exports.zIssuesListUserReportsPath = zIssuesListUserReportsPath;
|
|
3159
|
+
exports.zIssuesListUserReportsQuery = zIssuesListUserReportsQuery;
|
|
2851
3160
|
exports.zIssuesListUserReportsResponse = zIssuesListUserReportsResponse;
|
|
2852
3161
|
exports.zIssuesMarkSeenPath = zIssuesMarkSeenPath;
|
|
2853
3162
|
exports.zIssuesMarkSeenResponse = zIssuesMarkSeenResponse;
|
|
@@ -2956,6 +3265,36 @@ exports.zSchedulePreview = zSchedulePreview;
|
|
|
2956
3265
|
exports.zSchedulesPreviewBody = zSchedulesPreviewBody;
|
|
2957
3266
|
exports.zSchedulesPreviewResponse = zSchedulesPreviewResponse;
|
|
2958
3267
|
exports.zSeenResponse = zSeenResponse;
|
|
3268
|
+
exports.zSentryEvent = zSentryEvent;
|
|
3269
|
+
exports.zSentryGetIssuePath = zSentryGetIssuePath;
|
|
3270
|
+
exports.zSentryGetIssueResponse = zSentryGetIssueResponse;
|
|
3271
|
+
exports.zSentryGetLatestEventPath = zSentryGetLatestEventPath;
|
|
3272
|
+
exports.zSentryGetLatestEventResponse = zSentryGetLatestEventResponse;
|
|
3273
|
+
exports.zSentryGroupProject = zSentryGroupProject;
|
|
3274
|
+
exports.zSentryIssue = zSentryIssue;
|
|
3275
|
+
exports.zSentryIssueDetails = zSentryIssueDetails;
|
|
3276
|
+
exports.zSentryListIssuesPath = zSentryListIssuesPath;
|
|
3277
|
+
exports.zSentryListIssuesQuery = zSentryListIssuesQuery;
|
|
3278
|
+
exports.zSentryListIssuesResponse = zSentryListIssuesResponse;
|
|
3279
|
+
exports.zSentryListOrganizationsResponse = zSentryListOrganizationsResponse;
|
|
3280
|
+
exports.zSentryListProjectsQuery = zSentryListProjectsQuery;
|
|
3281
|
+
exports.zSentryListProjectsResponse = zSentryListProjectsResponse;
|
|
3282
|
+
exports.zSentryListReposPath = zSentryListReposPath;
|
|
3283
|
+
exports.zSentryListReposResponse = zSentryListReposResponse;
|
|
3284
|
+
exports.zSentryOpenIssuePath = zSentryOpenIssuePath;
|
|
3285
|
+
exports.zSentryOrganization = zSentryOrganization;
|
|
3286
|
+
exports.zSentryProject = zSentryProject;
|
|
3287
|
+
exports.zSentryRelease = zSentryRelease;
|
|
3288
|
+
exports.zSentryStatus = zSentryStatus;
|
|
3289
|
+
exports.zSentrySubmitUserFeedbackBody = zSentrySubmitUserFeedbackBody;
|
|
3290
|
+
exports.zSentrySubmitUserFeedbackPath = zSentrySubmitUserFeedbackPath;
|
|
3291
|
+
exports.zSentrySubmitUserFeedbackResponse = zSentrySubmitUserFeedbackResponse;
|
|
3292
|
+
exports.zSentryTag = zSentryTag;
|
|
3293
|
+
exports.zSentryUpdateIssueBody = zSentryUpdateIssueBody;
|
|
3294
|
+
exports.zSentryUpdateIssuePath = zSentryUpdateIssuePath;
|
|
3295
|
+
exports.zSentryUpdateIssueResponse = zSentryUpdateIssueResponse;
|
|
3296
|
+
exports.zSentryUserReport = zSentryUserReport;
|
|
3297
|
+
exports.zSentryUserReportRequest = zSentryUserReportRequest;
|
|
2959
3298
|
exports.zSessionSummary = zSessionSummary;
|
|
2960
3299
|
exports.zSessionTimeseriesPoint = zSessionTimeseriesPoint;
|
|
2961
3300
|
exports.zSessionsGetStatsPath = zSessionsGetStatsPath;
|