@rustrak/client 0.25.0 → 0.27.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 +65 -48
- package/dist/client.cjs +5 -4
- 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 +6 -5
- 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/client/client.gen.d.cts +1 -0
- package/dist/generated/client/index.d.cts +10 -0
- package/dist/generated/client/types.gen.d.cts +1 -1
- package/dist/generated/client/types.gen.d.mts +1 -1
- package/dist/generated/client/utils.gen.cjs +1 -1
- package/dist/generated/client/utils.gen.d.cts +2 -0
- package/dist/generated/client/utils.gen.d.cts.map +1 -1
- package/dist/generated/client/utils.gen.mjs +1 -1
- package/dist/generated/client.gen.cjs +2 -1
- package/dist/generated/client.gen.cjs.map +1 -1
- package/dist/generated/client.gen.mjs +1 -1
- package/dist/generated/core/params.gen.d.cts +1 -0
- package/dist/generated/core/queryKeySerializer.gen.d.cts +1 -0
- package/dist/generated/sdk.gen.cjs +797 -599
- package/dist/generated/sdk.gen.cjs.map +1 -1
- package/dist/generated/sdk.gen.d.cts +49 -28
- package/dist/generated/sdk.gen.d.cts.map +1 -1
- package/dist/generated/sdk.gen.d.mts +49 -29
- package/dist/generated/sdk.gen.d.mts.map +1 -1
- package/dist/generated/sdk.gen.mjs +797 -601
- package/dist/generated/sdk.gen.mjs.map +1 -1
- package/dist/generated/types.gen.d.cts +349 -20
- package/dist/generated/types.gen.d.cts.map +1 -1
- package/dist/generated/types.gen.d.mts +349 -20
- package/dist/generated/types.gen.d.mts.map +1 -1
- package/dist/generated/zod.gen.cjs +253 -18
- package/dist/generated/zod.gen.cjs.map +1 -1
- package/dist/generated/zod.gen.mjs +216 -17
- package/dist/generated/zod.gen.mjs.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +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 +7 -9
|
@@ -428,10 +428,6 @@ const zCreateRelease = zod.object({
|
|
|
428
428
|
url: zod.string().nullish(),
|
|
429
429
|
version: zod.string()
|
|
430
430
|
});
|
|
431
|
-
const zCreateUserRequest = zod.object({
|
|
432
|
-
email: zod.string(),
|
|
433
|
-
password: zod.string()
|
|
434
|
-
});
|
|
435
431
|
/**
|
|
436
432
|
* A debug information file as Sentry's `DebugFileSerializer` describes it.
|
|
437
433
|
*/
|
|
@@ -450,6 +446,10 @@ const zDebugFileResponse = zod.object({
|
|
|
450
446
|
uuid: zod.string()
|
|
451
447
|
});
|
|
452
448
|
/**
|
|
449
|
+
* Whose default a [`SetDefaultView`] sets.
|
|
450
|
+
*/
|
|
451
|
+
const zDefaultScope = zod.enum(["user", "project"]);
|
|
452
|
+
/**
|
|
453
453
|
* One file of a debug information file assemble request.
|
|
454
454
|
*/
|
|
455
455
|
const zDifAssembleFile = zod.object({
|
|
@@ -529,6 +529,7 @@ const zFieldErrorCode = zod.enum([
|
|
|
529
529
|
"already_exists",
|
|
530
530
|
"too_short",
|
|
531
531
|
"too_long",
|
|
532
|
+
"incorrect",
|
|
532
533
|
"custom"
|
|
533
534
|
]);
|
|
534
535
|
/**
|
|
@@ -692,6 +693,7 @@ zod.object({
|
|
|
692
693
|
id: zod.uuid(),
|
|
693
694
|
message: zod.string(),
|
|
694
695
|
name: zod.string(),
|
|
696
|
+
project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
695
697
|
status: zIssueStatus,
|
|
696
698
|
url: zod.string()
|
|
697
699
|
});
|
|
@@ -708,8 +710,6 @@ const zIssueResponse = zod.object({
|
|
|
708
710
|
has_seen: zod.boolean().nullish(),
|
|
709
711
|
id: zod.uuid(),
|
|
710
712
|
is_bookmarked: zod.boolean().nullish(),
|
|
711
|
-
is_muted: zod.boolean(),
|
|
712
|
-
is_resolved: zod.boolean(),
|
|
713
713
|
is_subscribed: zod.boolean().nullish(),
|
|
714
714
|
issue_category: zod.string(),
|
|
715
715
|
issue_type: zod.string(),
|
|
@@ -1095,14 +1095,16 @@ const zCreateAlertIntegration = zod.object({
|
|
|
1095
1095
|
provider_type: zProviderType
|
|
1096
1096
|
});
|
|
1097
1097
|
/**
|
|
1098
|
-
* Configure project routes
|
|
1099
1098
|
* The server's per-project event limits (`MAX_EVENTS_PER_PROJECT_*`).
|
|
1100
1099
|
*/
|
|
1101
1100
|
const zRateLimitsResponse = zod.object({
|
|
1102
1101
|
project_per_hour: zod.int(),
|
|
1103
1102
|
project_per_minute: zod.int()
|
|
1104
1103
|
});
|
|
1105
|
-
const zReadinessChecks = zod.object({
|
|
1104
|
+
const zReadinessChecks = zod.object({
|
|
1105
|
+
database: zod.string(),
|
|
1106
|
+
digest: zod.string()
|
|
1107
|
+
});
|
|
1106
1108
|
const zReadinessResponse = zod.object({
|
|
1107
1109
|
checks: zReadinessChecks,
|
|
1108
1110
|
status: zod.string()
|
|
@@ -1570,6 +1572,14 @@ const zSetAccess = zod.object({
|
|
|
1570
1572
|
assignments: zod.array(zAssignmentInput),
|
|
1571
1573
|
personal: zPersonalAccess.nullish()
|
|
1572
1574
|
});
|
|
1575
|
+
/**
|
|
1576
|
+
* Body of `PUT /api/projects/{project_id}/views/default`.
|
|
1577
|
+
*/
|
|
1578
|
+
const zSetDefaultView = zod.object({
|
|
1579
|
+
page: zod.string(),
|
|
1580
|
+
scope: zDefaultScope,
|
|
1581
|
+
view_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).nullish()
|
|
1582
|
+
});
|
|
1573
1583
|
const zSetProjectMember = zod.object({
|
|
1574
1584
|
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" })),
|
|
1575
1585
|
user_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
@@ -1820,15 +1830,11 @@ const zUpdateAlertRule = zod.object({
|
|
|
1820
1830
|
/**
|
|
1821
1831
|
* Request to update issue state.
|
|
1822
1832
|
*
|
|
1823
|
-
* `status`/`substatus`/`priority`/assignment
|
|
1824
|
-
* `is_resolved`/`is_muted` are accepted as a deprecated compatibility shim
|
|
1825
|
-
* and mapped onto `status`.
|
|
1833
|
+
* `status`/`substatus`/`priority`/assignment, as in Sentry.
|
|
1826
1834
|
*/
|
|
1827
1835
|
const zUpdateIssueState = zod.object({
|
|
1828
1836
|
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(),
|
|
1829
1837
|
assignee_type: zod.string().nullish(),
|
|
1830
|
-
is_muted: zod.boolean().nullish(),
|
|
1831
|
-
is_resolved: zod.boolean().nullish(),
|
|
1832
1838
|
priority: zIssuePriority.nullish(),
|
|
1833
1839
|
status: zIssueStatusUpdate.nullish(),
|
|
1834
1840
|
substatus: zod.string().nullish()
|
|
@@ -1982,6 +1988,41 @@ const zAcceptInvitationResponse = zod.object({
|
|
|
1982
1988
|
});
|
|
1983
1989
|
const zAuthResponse = zod.object({ user: zUserResponse });
|
|
1984
1990
|
const zVersionResponse = zod.object({ version: zod.string() });
|
|
1991
|
+
/**
|
|
1992
|
+
* Who sees a view: its creator only, or everyone who sees the project.
|
|
1993
|
+
* Sentry's `owner` / `organization`, with the project as the organization.
|
|
1994
|
+
*/
|
|
1995
|
+
const zViewVisibility = zod.enum(["owner", "project"]);
|
|
1996
|
+
/**
|
|
1997
|
+
* Body of `POST /api/projects/{project_id}/views`.
|
|
1998
|
+
*/
|
|
1999
|
+
const zCreateSavedView = zod.object({
|
|
2000
|
+
name: zod.string(),
|
|
2001
|
+
page: zod.string(),
|
|
2002
|
+
query: zod.string(),
|
|
2003
|
+
visibility: zViewVisibility.optional()
|
|
2004
|
+
});
|
|
2005
|
+
const zSavedView = zod.object({
|
|
2006
|
+
created_at: zod.iso.datetime({ offset: true }),
|
|
2007
|
+
created_by: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).nullable(),
|
|
2008
|
+
id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
2009
|
+
is_my_default: zod.boolean(),
|
|
2010
|
+
is_project_default: zod.boolean(),
|
|
2011
|
+
name: zod.string(),
|
|
2012
|
+
page: zod.string(),
|
|
2013
|
+
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(),
|
|
2014
|
+
query: zod.string(),
|
|
2015
|
+
visibility: zViewVisibility
|
|
2016
|
+
});
|
|
2017
|
+
/**
|
|
2018
|
+
* Body of `PATCH /api/projects/{project_id}/views/{view_id}`: only the
|
|
2019
|
+
* fields sent change.
|
|
2020
|
+
*/
|
|
2021
|
+
const zUpdateSavedView = zod.object({
|
|
2022
|
+
name: zod.string().nullish(),
|
|
2023
|
+
query: zod.string().nullish(),
|
|
2024
|
+
visibility: zViewVisibility.nullish()
|
|
2025
|
+
});
|
|
1985
2026
|
const zSentryGetIssuePath = zod.object({ issue_id: zod.string().regex(/^[0-9]+$/) });
|
|
1986
2027
|
/**
|
|
1987
2028
|
* Issue details
|
|
@@ -2023,6 +2064,20 @@ const zSourceMapsChunkUploadCapabilityResponse = zChunkUploadOptions;
|
|
|
2023
2064
|
*/
|
|
2024
2065
|
const zSourceMapsChunkUploadBody = zChunkUploadBody;
|
|
2025
2066
|
const zSourceMapsChunkUploadPath = zod.object({ org_slug: zod.string() });
|
|
2067
|
+
const zSentryListOrganizationIssuesPath = zod.object({ org_slug: zod.string() });
|
|
2068
|
+
const zSentryListOrganizationIssuesQuery = zod.object({
|
|
2069
|
+
project: zod.array(zod.string()).optional(),
|
|
2070
|
+
query: zod.string().nullish(),
|
|
2071
|
+
sort: zod.string().nullish(),
|
|
2072
|
+
limit: zod.string().nullish(),
|
|
2073
|
+
cursor: zod.string().nullish(),
|
|
2074
|
+
statsPeriod: zod.string().nullish(),
|
|
2075
|
+
environment: zod.string().nullish()
|
|
2076
|
+
});
|
|
2077
|
+
/**
|
|
2078
|
+
* Issues; paginated by the `Link` header
|
|
2079
|
+
*/
|
|
2080
|
+
const zSentryListOrganizationIssuesResponse = zod.array(zSentryIssue);
|
|
2026
2081
|
const zSentryListReposPath = zod.object({ org_slug: zod.string() });
|
|
2027
2082
|
/**
|
|
2028
2083
|
* Connected repositories: always none
|
|
@@ -2117,6 +2172,33 @@ const zAccessCatalogResponse = zCatalog;
|
|
|
2117
2172
|
* What the caller may do
|
|
2118
2173
|
*/
|
|
2119
2174
|
const zAccessMeResponse = zMyAccess;
|
|
2175
|
+
const zFeedbackListAllQuery = zod.object({
|
|
2176
|
+
project: zod.string().optional(),
|
|
2177
|
+
page: zod.int().optional(),
|
|
2178
|
+
per_page: zod.int().optional(),
|
|
2179
|
+
filter: zIssueFilter.optional()
|
|
2180
|
+
});
|
|
2181
|
+
/**
|
|
2182
|
+
* Offset-based paginated response wrapper
|
|
2183
|
+
*/
|
|
2184
|
+
const zFeedbackListAllResponse = zod.object({
|
|
2185
|
+
items: zod.array(zod.object({
|
|
2186
|
+
associated_event_id: zod.string().nullable(),
|
|
2187
|
+
attachments: zod.array(zAttachmentInfo),
|
|
2188
|
+
contact_email: zod.string(),
|
|
2189
|
+
created_at: zod.iso.datetime({ offset: true }),
|
|
2190
|
+
id: zod.uuid(),
|
|
2191
|
+
message: zod.string(),
|
|
2192
|
+
name: zod.string(),
|
|
2193
|
+
project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
2194
|
+
status: zIssueStatus,
|
|
2195
|
+
url: zod.string()
|
|
2196
|
+
})),
|
|
2197
|
+
page: zod.int(),
|
|
2198
|
+
per_page: zod.int(),
|
|
2199
|
+
total_count: zod.int(),
|
|
2200
|
+
total_pages: zod.int()
|
|
2201
|
+
});
|
|
2120
2202
|
/**
|
|
2121
2203
|
* GitHub App removed
|
|
2122
2204
|
*/
|
|
@@ -2221,6 +2303,64 @@ const zInvitationsResendPath = zod.object({ id: zod.string() });
|
|
|
2221
2303
|
* Invitation email sent
|
|
2222
2304
|
*/
|
|
2223
2305
|
const zInvitationsResendResponse = zInvitationResponse;
|
|
2306
|
+
const zIssuesListAllQuery = zod.object({
|
|
2307
|
+
project: zod.string().optional(),
|
|
2308
|
+
page: zod.int().gte(1).optional(),
|
|
2309
|
+
per_page: zod.int().gte(1).lte(100).optional(),
|
|
2310
|
+
sort: zIssueSort.optional(),
|
|
2311
|
+
order: zSortOrder.optional(),
|
|
2312
|
+
filter: zIssueFilter.optional(),
|
|
2313
|
+
category: zIssueCategory.optional(),
|
|
2314
|
+
q: zod.string().nullish(),
|
|
2315
|
+
environment: zod.string().nullish(),
|
|
2316
|
+
release: zod.string().nullish(),
|
|
2317
|
+
level: zod.string().nullish(),
|
|
2318
|
+
priority: zod.string().nullish(),
|
|
2319
|
+
assigned: zod.string().nullish(),
|
|
2320
|
+
first_seen: zod.string().nullish(),
|
|
2321
|
+
last_seen: zod.string().nullish(),
|
|
2322
|
+
events_min: zod.int().nullish(),
|
|
2323
|
+
events_max: zod.int().nullish()
|
|
2324
|
+
});
|
|
2325
|
+
/**
|
|
2326
|
+
* Offset-based paginated response wrapper
|
|
2327
|
+
*/
|
|
2328
|
+
const zIssuesListAllResponse = zod.object({
|
|
2329
|
+
items: zod.array(zod.object({
|
|
2330
|
+
assigned_to: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).nullable(),
|
|
2331
|
+
assignee_type: zod.string().nullable(),
|
|
2332
|
+
culprit: zod.string(),
|
|
2333
|
+
event_count: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
2334
|
+
first_release: zod.string(),
|
|
2335
|
+
first_seen: zod.iso.datetime({ offset: true }),
|
|
2336
|
+
has_seen: zod.boolean().nullish(),
|
|
2337
|
+
id: zod.uuid(),
|
|
2338
|
+
is_bookmarked: zod.boolean().nullish(),
|
|
2339
|
+
is_subscribed: zod.boolean().nullish(),
|
|
2340
|
+
issue_category: zod.string(),
|
|
2341
|
+
issue_type: zod.string(),
|
|
2342
|
+
last_release: zod.string(),
|
|
2343
|
+
last_seen: zod.iso.datetime({ offset: true }),
|
|
2344
|
+
level: zod.string().nullable(),
|
|
2345
|
+
logger: zod.string(),
|
|
2346
|
+
platform: zod.string().nullable(),
|
|
2347
|
+
priority: zIssuePriority.nullable(),
|
|
2348
|
+
project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
2349
|
+
short_id: zod.string(),
|
|
2350
|
+
status: zIssueStatus,
|
|
2351
|
+
status_details: zod.record(zod.string(), zod.unknown()),
|
|
2352
|
+
substatus: zod.string().nullable(),
|
|
2353
|
+
title: zod.string(),
|
|
2354
|
+
trend: zod.array(zod.int()).nullish(),
|
|
2355
|
+
user_count: zod.int().nullish(),
|
|
2356
|
+
user_report_count: zod.int().nullish(),
|
|
2357
|
+
value: zod.string()
|
|
2358
|
+
})),
|
|
2359
|
+
page: zod.int(),
|
|
2360
|
+
per_page: zod.int(),
|
|
2361
|
+
total_count: zod.int(),
|
|
2362
|
+
total_pages: zod.int()
|
|
2363
|
+
});
|
|
2224
2364
|
const zOauthGetAuthorizationQuery = zod.object({
|
|
2225
2365
|
response_type: zod.string(),
|
|
2226
2366
|
client_id: zod.string(),
|
|
@@ -2561,6 +2701,7 @@ const zFeedbackListResponse = zod.object({
|
|
|
2561
2701
|
id: zod.uuid(),
|
|
2562
2702
|
message: zod.string(),
|
|
2563
2703
|
name: zod.string(),
|
|
2704
|
+
project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
2564
2705
|
status: zIssueStatus,
|
|
2565
2706
|
url: zod.string()
|
|
2566
2707
|
})),
|
|
@@ -2629,8 +2770,6 @@ const zIssuesListResponse = zod.object({
|
|
|
2629
2770
|
has_seen: zod.boolean().nullish(),
|
|
2630
2771
|
id: zod.uuid(),
|
|
2631
2772
|
is_bookmarked: zod.boolean().nullish(),
|
|
2632
|
-
is_muted: zod.boolean(),
|
|
2633
|
-
is_resolved: zod.boolean(),
|
|
2634
2773
|
is_subscribed: zod.boolean().nullish(),
|
|
2635
2774
|
issue_category: zod.string(),
|
|
2636
2775
|
issue_type: zod.string(),
|
|
@@ -3335,6 +3474,41 @@ const zTransactionsGetSpansResponse = zod.array(zod.object({
|
|
|
3335
3474
|
trace_id: zod.string().nullable(),
|
|
3336
3475
|
transaction_id: zod.uuid().nullable()
|
|
3337
3476
|
}));
|
|
3477
|
+
const zSavedViewsListPath = 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" }) });
|
|
3478
|
+
const zSavedViewsListQuery = zod.object({ page: zod.string() });
|
|
3479
|
+
/**
|
|
3480
|
+
* The page's views
|
|
3481
|
+
*/
|
|
3482
|
+
const zSavedViewsListResponse = zod.array(zSavedView);
|
|
3483
|
+
const zSavedViewsCreateBody = zCreateSavedView;
|
|
3484
|
+
const zSavedViewsCreatePath = 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" }) });
|
|
3485
|
+
/**
|
|
3486
|
+
* View saved
|
|
3487
|
+
*/
|
|
3488
|
+
const zSavedViewsCreateResponse = zSavedView;
|
|
3489
|
+
const zSavedViewsSetDefaultBody = zSetDefaultView;
|
|
3490
|
+
const zSavedViewsSetDefaultPath = 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" }) });
|
|
3491
|
+
/**
|
|
3492
|
+
* Default set
|
|
3493
|
+
*/
|
|
3494
|
+
const zSavedViewsSetDefaultResponse = zod.void();
|
|
3495
|
+
const zSavedViewsDeletePath = zod.object({
|
|
3496
|
+
project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
3497
|
+
view_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
3498
|
+
});
|
|
3499
|
+
/**
|
|
3500
|
+
* View deleted
|
|
3501
|
+
*/
|
|
3502
|
+
const zSavedViewsDeleteResponse = zod.void();
|
|
3503
|
+
const zSavedViewsUpdateBody = zUpdateSavedView;
|
|
3504
|
+
const zSavedViewsUpdatePath = zod.object({
|
|
3505
|
+
project_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
3506
|
+
view_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
3507
|
+
});
|
|
3508
|
+
/**
|
|
3509
|
+
* View updated
|
|
3510
|
+
*/
|
|
3511
|
+
const zSavedViewsUpdateResponse = zSavedView;
|
|
3338
3512
|
/**
|
|
3339
3513
|
* The server's per-project limits
|
|
3340
3514
|
*/
|
|
@@ -3494,6 +3668,32 @@ const zUsersSetAssignmentsPath = zod.object({ id: zod.int().min(-2147483648, { e
|
|
|
3494
3668
|
* What the user holds now
|
|
3495
3669
|
*/
|
|
3496
3670
|
const zUsersSetAssignmentsResponse = zUserAccess;
|
|
3671
|
+
const zWorkspaceViewsListQuery = zod.object({ page: zod.string() });
|
|
3672
|
+
/**
|
|
3673
|
+
* The page's views
|
|
3674
|
+
*/
|
|
3675
|
+
const zWorkspaceViewsListResponse = zod.array(zSavedView);
|
|
3676
|
+
const zWorkspaceViewsCreateBody = zCreateSavedView;
|
|
3677
|
+
/**
|
|
3678
|
+
* View saved
|
|
3679
|
+
*/
|
|
3680
|
+
const zWorkspaceViewsCreateResponse = zSavedView;
|
|
3681
|
+
const zWorkspaceViewsSetDefaultBody = zSetDefaultView;
|
|
3682
|
+
/**
|
|
3683
|
+
* Default set
|
|
3684
|
+
*/
|
|
3685
|
+
const zWorkspaceViewsSetDefaultResponse = zod.void();
|
|
3686
|
+
const zWorkspaceViewsDeletePath = zod.object({ view_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }) });
|
|
3687
|
+
/**
|
|
3688
|
+
* View deleted
|
|
3689
|
+
*/
|
|
3690
|
+
const zWorkspaceViewsDeleteResponse = zod.void();
|
|
3691
|
+
const zWorkspaceViewsUpdateBody = zUpdateSavedView;
|
|
3692
|
+
const zWorkspaceViewsUpdatePath = zod.object({ view_id: zod.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }) });
|
|
3693
|
+
/**
|
|
3694
|
+
* View updated
|
|
3695
|
+
*/
|
|
3696
|
+
const zWorkspaceViewsUpdateResponse = zSavedView;
|
|
3497
3697
|
const zAuthAcceptInvitationBody = zAcceptInvitation;
|
|
3498
3698
|
/**
|
|
3499
3699
|
* Invitation accepted and user created; signed in unless password login is disabled
|
|
@@ -3527,7 +3727,6 @@ const zAuthChangePasswordBody = zChangePasswordRequest;
|
|
|
3527
3727
|
* Password changed
|
|
3528
3728
|
*/
|
|
3529
3729
|
const zAuthChangePasswordResponse = zod.void();
|
|
3530
|
-
const zAuthRegisterBody = zCreateUserRequest;
|
|
3531
3730
|
const zAuthSsoCallbackQuery = zod.object({
|
|
3532
3731
|
code: zod.string().nullish(),
|
|
3533
3732
|
state: zod.string().nullish(),
|
|
@@ -3674,7 +3873,6 @@ exports.zAuthGetInvitationResponse = zAuthGetInvitationResponse;
|
|
|
3674
3873
|
exports.zAuthLoginBody = zAuthLoginBody;
|
|
3675
3874
|
exports.zAuthLoginResponse = zAuthLoginResponse;
|
|
3676
3875
|
exports.zAuthLogoutResponse = zAuthLogoutResponse;
|
|
3677
|
-
exports.zAuthRegisterBody = zAuthRegisterBody;
|
|
3678
3876
|
exports.zAuthResponse = zAuthResponse;
|
|
3679
3877
|
exports.zAuthSsoCallbackQuery = zAuthSsoCallbackQuery;
|
|
3680
3878
|
exports.zAuthSsoCallbackResponse = zAuthSsoCallbackResponse;
|
|
@@ -3720,7 +3918,7 @@ exports.zCreateInvitation = zCreateInvitation;
|
|
|
3720
3918
|
exports.zCreateMonitor = zCreateMonitor;
|
|
3721
3919
|
exports.zCreateProject = zCreateProject;
|
|
3722
3920
|
exports.zCreateRelease = zCreateRelease;
|
|
3723
|
-
exports.
|
|
3921
|
+
exports.zCreateSavedView = zCreateSavedView;
|
|
3724
3922
|
exports.zDebugFileResponse = zDebugFileResponse;
|
|
3725
3923
|
exports.zDebugFilesAssembleBody = zDebugFilesAssembleBody;
|
|
3726
3924
|
exports.zDebugFilesAssemblePath = zDebugFilesAssemblePath;
|
|
@@ -3728,6 +3926,7 @@ exports.zDebugFilesAssembleResponse = zDebugFilesAssembleResponse;
|
|
|
3728
3926
|
exports.zDebugFilesUploadBody = zDebugFilesUploadBody;
|
|
3729
3927
|
exports.zDebugFilesUploadPath = zDebugFilesUploadPath;
|
|
3730
3928
|
exports.zDebugFilesUploadResponse = zDebugFilesUploadResponse;
|
|
3929
|
+
exports.zDefaultScope = zDefaultScope;
|
|
3731
3930
|
exports.zDifAssembleFile = zDifAssembleFile;
|
|
3732
3931
|
exports.zDifUploadBody = zDifUploadBody;
|
|
3733
3932
|
exports.zEmailStatusResponse = zEmailStatusResponse;
|
|
@@ -3747,6 +3946,8 @@ exports.zEventsListAttachmentsResponse = zEventsListAttachmentsResponse;
|
|
|
3747
3946
|
exports.zEventsListPath = zEventsListPath;
|
|
3748
3947
|
exports.zEventsListQuery = zEventsListQuery;
|
|
3749
3948
|
exports.zEventsListResponse = zEventsListResponse;
|
|
3949
|
+
exports.zFeedbackListAllQuery = zFeedbackListAllQuery;
|
|
3950
|
+
exports.zFeedbackListAllResponse = zFeedbackListAllResponse;
|
|
3750
3951
|
exports.zFeedbackListPath = zFeedbackListPath;
|
|
3751
3952
|
exports.zFeedbackListQuery = zFeedbackListQuery;
|
|
3752
3953
|
exports.zFeedbackListResponse = zFeedbackListResponse;
|
|
@@ -3852,6 +4053,8 @@ exports.zIssuesGetStatsQuery = zIssuesGetStatsQuery;
|
|
|
3852
4053
|
exports.zIssuesGetStatsResponse = zIssuesGetStatsResponse;
|
|
3853
4054
|
exports.zIssuesGetTagValuesPath = zIssuesGetTagValuesPath;
|
|
3854
4055
|
exports.zIssuesGetTagValuesResponse = zIssuesGetTagValuesResponse;
|
|
4056
|
+
exports.zIssuesListAllQuery = zIssuesListAllQuery;
|
|
4057
|
+
exports.zIssuesListAllResponse = zIssuesListAllResponse;
|
|
3855
4058
|
exports.zIssuesListPath = zIssuesListPath;
|
|
3856
4059
|
exports.zIssuesListQuery = zIssuesListQuery;
|
|
3857
4060
|
exports.zIssuesListResponse = zIssuesListResponse;
|
|
@@ -4000,6 +4203,21 @@ exports.zRolesListResponse = zRolesListResponse;
|
|
|
4000
4203
|
exports.zRolesUpdateBody = zRolesUpdateBody;
|
|
4001
4204
|
exports.zRolesUpdatePath = zRolesUpdatePath;
|
|
4002
4205
|
exports.zRolesUpdateResponse = zRolesUpdateResponse;
|
|
4206
|
+
exports.zSavedView = zSavedView;
|
|
4207
|
+
exports.zSavedViewsCreateBody = zSavedViewsCreateBody;
|
|
4208
|
+
exports.zSavedViewsCreatePath = zSavedViewsCreatePath;
|
|
4209
|
+
exports.zSavedViewsCreateResponse = zSavedViewsCreateResponse;
|
|
4210
|
+
exports.zSavedViewsDeletePath = zSavedViewsDeletePath;
|
|
4211
|
+
exports.zSavedViewsDeleteResponse = zSavedViewsDeleteResponse;
|
|
4212
|
+
exports.zSavedViewsListPath = zSavedViewsListPath;
|
|
4213
|
+
exports.zSavedViewsListQuery = zSavedViewsListQuery;
|
|
4214
|
+
exports.zSavedViewsListResponse = zSavedViewsListResponse;
|
|
4215
|
+
exports.zSavedViewsSetDefaultBody = zSavedViewsSetDefaultBody;
|
|
4216
|
+
exports.zSavedViewsSetDefaultPath = zSavedViewsSetDefaultPath;
|
|
4217
|
+
exports.zSavedViewsSetDefaultResponse = zSavedViewsSetDefaultResponse;
|
|
4218
|
+
exports.zSavedViewsUpdateBody = zSavedViewsUpdateBody;
|
|
4219
|
+
exports.zSavedViewsUpdatePath = zSavedViewsUpdatePath;
|
|
4220
|
+
exports.zSavedViewsUpdateResponse = zSavedViewsUpdateResponse;
|
|
4003
4221
|
exports.zSchedule = zSchedule;
|
|
4004
4222
|
exports.zSchedulePreview = zSchedulePreview;
|
|
4005
4223
|
exports.zSchedulesPreviewBody = zSchedulesPreviewBody;
|
|
@@ -4017,6 +4235,9 @@ exports.zSentryIssueDetails = zSentryIssueDetails;
|
|
|
4017
4235
|
exports.zSentryListIssuesPath = zSentryListIssuesPath;
|
|
4018
4236
|
exports.zSentryListIssuesQuery = zSentryListIssuesQuery;
|
|
4019
4237
|
exports.zSentryListIssuesResponse = zSentryListIssuesResponse;
|
|
4238
|
+
exports.zSentryListOrganizationIssuesPath = zSentryListOrganizationIssuesPath;
|
|
4239
|
+
exports.zSentryListOrganizationIssuesQuery = zSentryListOrganizationIssuesQuery;
|
|
4240
|
+
exports.zSentryListOrganizationIssuesResponse = zSentryListOrganizationIssuesResponse;
|
|
4020
4241
|
exports.zSentryListOrganizationsResponse = zSentryListOrganizationsResponse;
|
|
4021
4242
|
exports.zSentryListProjectsQuery = zSentryListProjectsQuery;
|
|
4022
4243
|
exports.zSentryListProjectsResponse = zSentryListProjectsResponse;
|
|
@@ -4048,6 +4269,7 @@ exports.zSessionsGetTimeseriesPath = zSessionsGetTimeseriesPath;
|
|
|
4048
4269
|
exports.zSessionsGetTimeseriesQuery = zSessionsGetTimeseriesQuery;
|
|
4049
4270
|
exports.zSessionsGetTimeseriesResponse = zSessionsGetTimeseriesResponse;
|
|
4050
4271
|
exports.zSetAccess = zSetAccess;
|
|
4272
|
+
exports.zSetDefaultView = zSetDefaultView;
|
|
4051
4273
|
exports.zSetProjectMember = zSetProjectMember;
|
|
4052
4274
|
exports.zSettingsGetMcpResponse = zSettingsGetMcpResponse;
|
|
4053
4275
|
exports.zSettingsUpdateMcpBody = zSettingsUpdateMcpBody;
|
|
@@ -4153,6 +4375,7 @@ exports.zUpdatePreferencesRequest = zUpdatePreferencesRequest;
|
|
|
4153
4375
|
exports.zUpdateProject = zUpdateProject;
|
|
4154
4376
|
exports.zUpdateProjectRepository = zUpdateProjectRepository;
|
|
4155
4377
|
exports.zUpdateRelease = zUpdateRelease;
|
|
4378
|
+
exports.zUpdateSavedView = zUpdateSavedView;
|
|
4156
4379
|
exports.zUpdateUserRole = zUpdateUserRole;
|
|
4157
4380
|
exports.zUserAccess = zUserAccess;
|
|
4158
4381
|
exports.zUserReport = zUserReport;
|
|
@@ -4165,5 +4388,17 @@ exports.zUsersSetAssignmentsBody = zUsersSetAssignmentsBody;
|
|
|
4165
4388
|
exports.zUsersSetAssignmentsPath = zUsersSetAssignmentsPath;
|
|
4166
4389
|
exports.zUsersSetAssignmentsResponse = zUsersSetAssignmentsResponse;
|
|
4167
4390
|
exports.zVersionResponse = zVersionResponse;
|
|
4391
|
+
exports.zViewVisibility = zViewVisibility;
|
|
4392
|
+
exports.zWorkspaceViewsCreateBody = zWorkspaceViewsCreateBody;
|
|
4393
|
+
exports.zWorkspaceViewsCreateResponse = zWorkspaceViewsCreateResponse;
|
|
4394
|
+
exports.zWorkspaceViewsDeletePath = zWorkspaceViewsDeletePath;
|
|
4395
|
+
exports.zWorkspaceViewsDeleteResponse = zWorkspaceViewsDeleteResponse;
|
|
4396
|
+
exports.zWorkspaceViewsListQuery = zWorkspaceViewsListQuery;
|
|
4397
|
+
exports.zWorkspaceViewsListResponse = zWorkspaceViewsListResponse;
|
|
4398
|
+
exports.zWorkspaceViewsSetDefaultBody = zWorkspaceViewsSetDefaultBody;
|
|
4399
|
+
exports.zWorkspaceViewsSetDefaultResponse = zWorkspaceViewsSetDefaultResponse;
|
|
4400
|
+
exports.zWorkspaceViewsUpdateBody = zWorkspaceViewsUpdateBody;
|
|
4401
|
+
exports.zWorkspaceViewsUpdatePath = zWorkspaceViewsUpdatePath;
|
|
4402
|
+
exports.zWorkspaceViewsUpdateResponse = zWorkspaceViewsUpdateResponse;
|
|
4168
4403
|
|
|
4169
4404
|
//# sourceMappingURL=zod.gen.cjs.map
|