@sentry/api 0.223.0 → 0.224.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sdk.gen.d.ts +4 -0
- package/dist/types.gen.d.ts +24 -0
- package/dist/zod.gen.d.ts +28 -0
- package/dist/zod.js +15 -2
- package/package.json +1 -1
package/dist/sdk.gen.d.ts
CHANGED
|
@@ -1188,6 +1188,8 @@ export declare const listProjectUserFeedback: <ThrowOnError extends boolean = fa
|
|
|
1188
1188
|
* If feedback is rejected due to a mutability threshold, a 409 status code will be returned.
|
|
1189
1189
|
*
|
|
1190
1190
|
* Note: Feedback may be submitted with DSN authentication (see auth documentation).
|
|
1191
|
+
*
|
|
1192
|
+
* @deprecated
|
|
1191
1193
|
*/
|
|
1192
1194
|
export declare const createProjectUserFeedback: <ThrowOnError extends boolean = false>(options: Options<CreateProjectUserFeedbackData, ThrowOnError>) => import("./client").RequestResult<CreateProjectUserFeedbackResponses, CreateProjectUserFeedbackErrors, ThrowOnError, "fields">;
|
|
1193
1195
|
/**
|
|
@@ -1236,6 +1238,8 @@ export declare const deleteProjectIssues: <ThrowOnError extends boolean = false>
|
|
|
1236
1238
|
* The ``statsPeriod`` parameter can be used to select the timeline stats which should be present. Possible values are: ``""`` (disable),``"24h"`` (default), ``"14d"``
|
|
1237
1239
|
*
|
|
1238
1240
|
* User feedback items from the [User Feedback Widget](https://docs.sentry.io/product/user-feedback/#user-feedback-widget) are built off the issue platform, so to return a list of user feedback items for a specific project, filter for `issue.category:feedback`.
|
|
1241
|
+
*
|
|
1242
|
+
* @deprecated
|
|
1239
1243
|
*/
|
|
1240
1244
|
export declare const listProjectIssues: <ThrowOnError extends boolean = false>(options: Options<ListProjectIssuesData, ThrowOnError>) => import("./client").RequestResult<ListProjectIssuesResponses, ListProjectIssuesErrors, ThrowOnError, "fields">;
|
|
1241
1245
|
/**
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -8761,6 +8761,10 @@ export type TeamDetails = {
|
|
|
8761
8761
|
* Uniquely identifies a team. This is must be available.
|
|
8762
8762
|
*/
|
|
8763
8763
|
slug: string;
|
|
8764
|
+
/**
|
|
8765
|
+
* The name of the team.
|
|
8766
|
+
*/
|
|
8767
|
+
name?: string;
|
|
8764
8768
|
};
|
|
8765
8769
|
export type TeamPost = {
|
|
8766
8770
|
/**
|
|
@@ -29261,6 +29265,10 @@ export type UpdateTeamData = {
|
|
|
29261
29265
|
* Uniquely identifies a team. This is must be available.
|
|
29262
29266
|
*/
|
|
29263
29267
|
slug: string;
|
|
29268
|
+
/**
|
|
29269
|
+
* The name of the team.
|
|
29270
|
+
*/
|
|
29271
|
+
name?: string;
|
|
29264
29272
|
};
|
|
29265
29273
|
path: {
|
|
29266
29274
|
/**
|
|
@@ -30373,6 +30381,14 @@ export type ListProjectIssuesData = {
|
|
|
30373
30381
|
* A list of hashes of groups to return. Is not compatible with 'query' parameter. The maximum number of hashes that can be sent is 100. If more are sent, only the first 100 will be used.
|
|
30374
30382
|
*/
|
|
30375
30383
|
hashes?: string;
|
|
30384
|
+
/**
|
|
30385
|
+
* The sort order of the issues. Options include 'Last Seen' (`date`), 'First Seen' (`new`), 'Trends' (`trends`), 'Events' (`freq`), 'Users' (`user`), and 'Date Added' (`inbox`).
|
|
30386
|
+
*/
|
|
30387
|
+
sort?: 'date' | 'new' | 'trends' | 'freq' | 'user' | 'inbox';
|
|
30388
|
+
/**
|
|
30389
|
+
* The maximum number of issues to return. The maximum is 100.
|
|
30390
|
+
*/
|
|
30391
|
+
limit?: number;
|
|
30376
30392
|
/**
|
|
30377
30393
|
* A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
|
|
30378
30394
|
*/
|
|
@@ -30602,6 +30618,14 @@ export type ListOrganizationReleasesData = {
|
|
|
30602
30618
|
* This parameter can be used to create a "starts with" filter for the version.
|
|
30603
30619
|
*/
|
|
30604
30620
|
query?: string;
|
|
30621
|
+
/**
|
|
30622
|
+
* The IDs or slugs of projects to filter releases by. This parameter may be repeated to filter by multiple projects. Omit to include all accessible projects; `-1` includes all accessible projects.
|
|
30623
|
+
*/
|
|
30624
|
+
project?: Array<string>;
|
|
30625
|
+
/**
|
|
30626
|
+
* The number of releases to return per page. Default and maximum allowed is 100.
|
|
30627
|
+
*/
|
|
30628
|
+
per_page?: number;
|
|
30605
30629
|
/**
|
|
30606
30630
|
* A pointer to the last object fetched and its sort order; used to retrieve the next or previous results.
|
|
30607
30631
|
*/
|
package/dist/zod.gen.d.ts
CHANGED
|
@@ -25939,10 +25939,13 @@ export declare const zTeam: z.ZodObject<{
|
|
|
25939
25939
|
*/
|
|
25940
25940
|
export declare const zTeamDetails: z.ZodObject<{
|
|
25941
25941
|
slug: z.ZodString;
|
|
25942
|
+
name: z.ZodOptional<z.ZodString>;
|
|
25942
25943
|
}, "strip", z.ZodTypeAny, {
|
|
25943
25944
|
slug: string;
|
|
25945
|
+
name?: string | undefined;
|
|
25944
25946
|
}, {
|
|
25945
25947
|
slug: string;
|
|
25948
|
+
name?: string | undefined;
|
|
25946
25949
|
}>;
|
|
25947
25950
|
export declare const zTeamPost: z.ZodObject<{
|
|
25948
25951
|
slug: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
@@ -67151,10 +67154,13 @@ export declare const zGetTeamResponse: z.ZodObject<{
|
|
|
67151
67154
|
export declare const zUpdateTeamData: z.ZodObject<{
|
|
67152
67155
|
body: z.ZodObject<{
|
|
67153
67156
|
slug: z.ZodString;
|
|
67157
|
+
name: z.ZodOptional<z.ZodString>;
|
|
67154
67158
|
}, "strip", z.ZodTypeAny, {
|
|
67155
67159
|
slug: string;
|
|
67160
|
+
name?: string | undefined;
|
|
67156
67161
|
}, {
|
|
67157
67162
|
slug: string;
|
|
67163
|
+
name?: string | undefined;
|
|
67158
67164
|
}>;
|
|
67159
67165
|
path: z.ZodObject<{
|
|
67160
67166
|
organization_id_or_slug: z.ZodString;
|
|
@@ -67170,6 +67176,7 @@ export declare const zUpdateTeamData: z.ZodObject<{
|
|
|
67170
67176
|
}, "strip", z.ZodTypeAny, {
|
|
67171
67177
|
body: {
|
|
67172
67178
|
slug: string;
|
|
67179
|
+
name?: string | undefined;
|
|
67173
67180
|
};
|
|
67174
67181
|
path: {
|
|
67175
67182
|
organization_id_or_slug: string;
|
|
@@ -67179,6 +67186,7 @@ export declare const zUpdateTeamData: z.ZodObject<{
|
|
|
67179
67186
|
}, {
|
|
67180
67187
|
body: {
|
|
67181
67188
|
slug: string;
|
|
67189
|
+
name?: string | undefined;
|
|
67182
67190
|
};
|
|
67183
67191
|
path: {
|
|
67184
67192
|
organization_id_or_slug: string;
|
|
@@ -69443,17 +69451,23 @@ export declare const zListProjectIssuesData: z.ZodObject<{
|
|
|
69443
69451
|
shortIdLookup: z.ZodOptional<z.ZodBoolean>;
|
|
69444
69452
|
query: z.ZodOptional<z.ZodString>;
|
|
69445
69453
|
hashes: z.ZodOptional<z.ZodString>;
|
|
69454
|
+
sort: z.ZodOptional<z.ZodEnum<["date", "new", "trends", "freq", "user", "inbox"]>>;
|
|
69455
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
69446
69456
|
cursor: z.ZodOptional<z.ZodString>;
|
|
69447
69457
|
}, "strip", z.ZodTypeAny, {
|
|
69458
|
+
limit: number;
|
|
69459
|
+
sort?: "user" | "new" | "date" | "freq" | "inbox" | "trends" | undefined;
|
|
69448
69460
|
query?: string | undefined;
|
|
69449
69461
|
cursor?: string | undefined;
|
|
69450
69462
|
statsPeriod?: string | undefined;
|
|
69451
69463
|
shortIdLookup?: boolean | undefined;
|
|
69452
69464
|
hashes?: string | undefined;
|
|
69453
69465
|
}, {
|
|
69466
|
+
sort?: "user" | "new" | "date" | "freq" | "inbox" | "trends" | undefined;
|
|
69454
69467
|
query?: string | undefined;
|
|
69455
69468
|
cursor?: string | undefined;
|
|
69456
69469
|
statsPeriod?: string | undefined;
|
|
69470
|
+
limit?: number | undefined;
|
|
69457
69471
|
shortIdLookup?: boolean | undefined;
|
|
69458
69472
|
hashes?: string | undefined;
|
|
69459
69473
|
}>>;
|
|
@@ -69463,6 +69477,8 @@ export declare const zListProjectIssuesData: z.ZodObject<{
|
|
|
69463
69477
|
project_id_or_slug: string;
|
|
69464
69478
|
};
|
|
69465
69479
|
query?: {
|
|
69480
|
+
limit: number;
|
|
69481
|
+
sort?: "user" | "new" | "date" | "freq" | "inbox" | "trends" | undefined;
|
|
69466
69482
|
query?: string | undefined;
|
|
69467
69483
|
cursor?: string | undefined;
|
|
69468
69484
|
statsPeriod?: string | undefined;
|
|
@@ -69476,9 +69492,11 @@ export declare const zListProjectIssuesData: z.ZodObject<{
|
|
|
69476
69492
|
project_id_or_slug: string;
|
|
69477
69493
|
};
|
|
69478
69494
|
query?: {
|
|
69495
|
+
sort?: "user" | "new" | "date" | "freq" | "inbox" | "trends" | undefined;
|
|
69479
69496
|
query?: string | undefined;
|
|
69480
69497
|
cursor?: string | undefined;
|
|
69481
69498
|
statsPeriod?: string | undefined;
|
|
69499
|
+
limit?: number | undefined;
|
|
69482
69500
|
shortIdLookup?: boolean | undefined;
|
|
69483
69501
|
hashes?: string | undefined;
|
|
69484
69502
|
} | undefined;
|
|
@@ -69880,13 +69898,19 @@ export declare const zListOrganizationReleasesData: z.ZodObject<{
|
|
|
69880
69898
|
}>;
|
|
69881
69899
|
query: z.ZodOptional<z.ZodObject<{
|
|
69882
69900
|
query: z.ZodOptional<z.ZodString>;
|
|
69901
|
+
project: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
69902
|
+
per_page: z.ZodOptional<z.ZodNumber>;
|
|
69883
69903
|
cursor: z.ZodOptional<z.ZodString>;
|
|
69884
69904
|
}, "strip", z.ZodTypeAny, {
|
|
69885
69905
|
query?: string | undefined;
|
|
69906
|
+
project?: string[] | undefined;
|
|
69886
69907
|
cursor?: string | undefined;
|
|
69908
|
+
per_page?: number | undefined;
|
|
69887
69909
|
}, {
|
|
69888
69910
|
query?: string | undefined;
|
|
69911
|
+
project?: string[] | undefined;
|
|
69889
69912
|
cursor?: string | undefined;
|
|
69913
|
+
per_page?: number | undefined;
|
|
69890
69914
|
}>>;
|
|
69891
69915
|
}, "strip", z.ZodTypeAny, {
|
|
69892
69916
|
path: {
|
|
@@ -69894,7 +69918,9 @@ export declare const zListOrganizationReleasesData: z.ZodObject<{
|
|
|
69894
69918
|
};
|
|
69895
69919
|
query?: {
|
|
69896
69920
|
query?: string | undefined;
|
|
69921
|
+
project?: string[] | undefined;
|
|
69897
69922
|
cursor?: string | undefined;
|
|
69923
|
+
per_page?: number | undefined;
|
|
69898
69924
|
} | undefined;
|
|
69899
69925
|
body?: undefined;
|
|
69900
69926
|
}, {
|
|
@@ -69903,7 +69929,9 @@ export declare const zListOrganizationReleasesData: z.ZodObject<{
|
|
|
69903
69929
|
};
|
|
69904
69930
|
query?: {
|
|
69905
69931
|
query?: string | undefined;
|
|
69932
|
+
project?: string[] | undefined;
|
|
69906
69933
|
cursor?: string | undefined;
|
|
69934
|
+
per_page?: number | undefined;
|
|
69907
69935
|
} | undefined;
|
|
69908
69936
|
body?: undefined;
|
|
69909
69937
|
}>;
|
package/dist/zod.js
CHANGED
|
@@ -10266,7 +10266,8 @@ var zTeam = z.object({
|
|
|
10266
10266
|
})).optional()
|
|
10267
10267
|
});
|
|
10268
10268
|
var zTeamDetails = z.object({
|
|
10269
|
-
slug: z.string().max(50).regex(/^(?![0-9]+$)[a-z0-9_\-]+$/)
|
|
10269
|
+
slug: z.string().max(50).regex(/^(?![0-9]+$)[a-z0-9_\-]+$/),
|
|
10270
|
+
name: z.string().max(64).optional()
|
|
10270
10271
|
});
|
|
10271
10272
|
var zTeamPost = z.object({
|
|
10272
10273
|
slug: z.union([
|
|
@@ -25717,7 +25718,8 @@ var zGetTeamResponse = z.object({
|
|
|
25717
25718
|
});
|
|
25718
25719
|
var zUpdateTeamData = z.object({
|
|
25719
25720
|
body: z.object({
|
|
25720
|
-
slug: z.string().max(50).regex(/^(?![0-9]+$)[a-z0-9_\-]+$/)
|
|
25721
|
+
slug: z.string().max(50).regex(/^(?![0-9]+$)[a-z0-9_\-]+$/),
|
|
25722
|
+
name: z.string().max(64).optional()
|
|
25721
25723
|
}),
|
|
25722
25724
|
path: z.object({
|
|
25723
25725
|
organization_id_or_slug: z.string(),
|
|
@@ -26423,6 +26425,15 @@ var zListProjectIssuesData = z.object({
|
|
|
26423
26425
|
shortIdLookup: z.boolean().optional(),
|
|
26424
26426
|
query: z.string().optional(),
|
|
26425
26427
|
hashes: z.string().optional(),
|
|
26428
|
+
sort: z.enum([
|
|
26429
|
+
"date",
|
|
26430
|
+
"new",
|
|
26431
|
+
"trends",
|
|
26432
|
+
"freq",
|
|
26433
|
+
"user",
|
|
26434
|
+
"inbox"
|
|
26435
|
+
]).optional(),
|
|
26436
|
+
limit: z.number().int().optional().default(100),
|
|
26426
26437
|
cursor: z.string().optional()
|
|
26427
26438
|
}).optional()
|
|
26428
26439
|
});
|
|
@@ -26571,6 +26582,8 @@ var zListOrganizationReleasesData = z.object({
|
|
|
26571
26582
|
}),
|
|
26572
26583
|
query: z.object({
|
|
26573
26584
|
query: z.string().optional(),
|
|
26585
|
+
project: z.array(z.string()).optional(),
|
|
26586
|
+
per_page: z.number().int().optional(),
|
|
26574
26587
|
cursor: z.string().optional()
|
|
26575
26588
|
}).optional()
|
|
26576
26589
|
});
|