@sentry/api 0.210.0 → 0.211.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/types.gen.d.ts +11 -1
- package/dist/zod.gen.d.ts +10 -0
- package/dist/zod.js +6 -1
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -18577,6 +18577,10 @@ export type ListOrganizationReleaseThresholdStatusesData = {
|
|
|
18577
18577
|
* A list of release versions to filter your results by.
|
|
18578
18578
|
*/
|
|
18579
18579
|
release?: Array<string>;
|
|
18580
|
+
/**
|
|
18581
|
+
* A list of project IDs or slugs to filter your results by.
|
|
18582
|
+
*/
|
|
18583
|
+
project?: Array<number | string>;
|
|
18580
18584
|
};
|
|
18581
18585
|
url: '/api/0/organizations/{organization_id_or_slug}/release-threshold-statuses/';
|
|
18582
18586
|
};
|
|
@@ -18665,9 +18669,15 @@ export type GetOrganizationReleaseData = {
|
|
|
18665
18669
|
};
|
|
18666
18670
|
query?: {
|
|
18667
18671
|
/**
|
|
18668
|
-
*
|
|
18672
|
+
* Deprecated. Use project instead.
|
|
18673
|
+
*
|
|
18674
|
+
* @deprecated
|
|
18669
18675
|
*/
|
|
18670
18676
|
project_id?: string;
|
|
18677
|
+
/**
|
|
18678
|
+
* The project ID or slug to filter by. Overrides project_id when both are sent.
|
|
18679
|
+
*/
|
|
18680
|
+
project?: number | string;
|
|
18671
18681
|
/**
|
|
18672
18682
|
* Whether or not to include health data with the release. By default, this is false.
|
|
18673
18683
|
*/
|
package/dist/zod.gen.d.ts
CHANGED
|
@@ -45209,16 +45209,19 @@ export declare const zListOrganizationReleaseThresholdStatusesData: z.ZodObject<
|
|
|
45209
45209
|
environment: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
45210
45210
|
projectSlug: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
45211
45211
|
release: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
45212
|
+
project: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>;
|
|
45212
45213
|
}, "strip", z.ZodTypeAny, {
|
|
45213
45214
|
end: string;
|
|
45214
45215
|
start: string;
|
|
45215
45216
|
environment?: string[] | undefined;
|
|
45217
|
+
project?: (string | number)[] | undefined;
|
|
45216
45218
|
release?: string[] | undefined;
|
|
45217
45219
|
projectSlug?: string[] | undefined;
|
|
45218
45220
|
}, {
|
|
45219
45221
|
end: string;
|
|
45220
45222
|
start: string;
|
|
45221
45223
|
environment?: string[] | undefined;
|
|
45224
|
+
project?: (string | number)[] | undefined;
|
|
45222
45225
|
release?: string[] | undefined;
|
|
45223
45226
|
projectSlug?: string[] | undefined;
|
|
45224
45227
|
}>;
|
|
@@ -45227,6 +45230,7 @@ export declare const zListOrganizationReleaseThresholdStatusesData: z.ZodObject<
|
|
|
45227
45230
|
end: string;
|
|
45228
45231
|
start: string;
|
|
45229
45232
|
environment?: string[] | undefined;
|
|
45233
|
+
project?: (string | number)[] | undefined;
|
|
45230
45234
|
release?: string[] | undefined;
|
|
45231
45235
|
projectSlug?: string[] | undefined;
|
|
45232
45236
|
};
|
|
@@ -45239,6 +45243,7 @@ export declare const zListOrganizationReleaseThresholdStatusesData: z.ZodObject<
|
|
|
45239
45243
|
end: string;
|
|
45240
45244
|
start: string;
|
|
45241
45245
|
environment?: string[] | undefined;
|
|
45246
|
+
project?: (string | number)[] | undefined;
|
|
45242
45247
|
release?: string[] | undefined;
|
|
45243
45248
|
projectSlug?: string[] | undefined;
|
|
45244
45249
|
};
|
|
@@ -45345,6 +45350,7 @@ export declare const zGetOrganizationReleaseData: z.ZodObject<{
|
|
|
45345
45350
|
}>;
|
|
45346
45351
|
query: z.ZodOptional<z.ZodObject<{
|
|
45347
45352
|
project_id: z.ZodOptional<z.ZodString>;
|
|
45353
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
45348
45354
|
health: z.ZodOptional<z.ZodBoolean>;
|
|
45349
45355
|
adoptionStages: z.ZodOptional<z.ZodBoolean>;
|
|
45350
45356
|
summaryStatsPeriod: z.ZodOptional<z.ZodEnum<["14d", "1d", "1h", "24h", "2d", "30d", "48h", "7d", "90d"]>>;
|
|
@@ -45356,6 +45362,7 @@ export declare const zGetOrganizationReleaseData: z.ZodObject<{
|
|
|
45356
45362
|
sort?: "date" | "sessions" | "crash_free_sessions" | "crash_free_users" | "users" | undefined;
|
|
45357
45363
|
query?: string | undefined;
|
|
45358
45364
|
project_id?: string | undefined;
|
|
45365
|
+
project?: string | number | undefined;
|
|
45359
45366
|
status?: "archived" | "open" | undefined;
|
|
45360
45367
|
health?: boolean | undefined;
|
|
45361
45368
|
adoptionStages?: boolean | undefined;
|
|
@@ -45365,6 +45372,7 @@ export declare const zGetOrganizationReleaseData: z.ZodObject<{
|
|
|
45365
45372
|
sort?: "date" | "sessions" | "crash_free_sessions" | "crash_free_users" | "users" | undefined;
|
|
45366
45373
|
query?: string | undefined;
|
|
45367
45374
|
project_id?: string | undefined;
|
|
45375
|
+
project?: string | number | undefined;
|
|
45368
45376
|
status?: "archived" | "open" | undefined;
|
|
45369
45377
|
health?: boolean | undefined;
|
|
45370
45378
|
adoptionStages?: boolean | undefined;
|
|
@@ -45380,6 +45388,7 @@ export declare const zGetOrganizationReleaseData: z.ZodObject<{
|
|
|
45380
45388
|
sort?: "date" | "sessions" | "crash_free_sessions" | "crash_free_users" | "users" | undefined;
|
|
45381
45389
|
query?: string | undefined;
|
|
45382
45390
|
project_id?: string | undefined;
|
|
45391
|
+
project?: string | number | undefined;
|
|
45383
45392
|
status?: "archived" | "open" | undefined;
|
|
45384
45393
|
health?: boolean | undefined;
|
|
45385
45394
|
adoptionStages?: boolean | undefined;
|
|
@@ -45396,6 +45405,7 @@ export declare const zGetOrganizationReleaseData: z.ZodObject<{
|
|
|
45396
45405
|
sort?: "date" | "sessions" | "crash_free_sessions" | "crash_free_users" | "users" | undefined;
|
|
45397
45406
|
query?: string | undefined;
|
|
45398
45407
|
project_id?: string | undefined;
|
|
45408
|
+
project?: string | number | undefined;
|
|
45399
45409
|
status?: "archived" | "open" | undefined;
|
|
45400
45410
|
health?: boolean | undefined;
|
|
45401
45411
|
adoptionStages?: boolean | undefined;
|
package/dist/zod.js
CHANGED
|
@@ -17597,7 +17597,8 @@ var zListOrganizationReleaseThresholdStatusesData = z.object({
|
|
|
17597
17597
|
end: z.string().datetime(),
|
|
17598
17598
|
environment: z.array(z.string()).optional(),
|
|
17599
17599
|
projectSlug: z.array(z.string()).optional(),
|
|
17600
|
-
release: z.array(z.string()).optional()
|
|
17600
|
+
release: z.array(z.string()).optional(),
|
|
17601
|
+
project: z.array(z.union([z.number().int(), z.string()])).optional()
|
|
17601
17602
|
})
|
|
17602
17603
|
});
|
|
17603
17604
|
var zListOrganizationReleaseThresholdStatusesResponse = z.record(z.array(z.object({
|
|
@@ -17645,6 +17646,10 @@ var zGetOrganizationReleaseData = z.object({
|
|
|
17645
17646
|
}),
|
|
17646
17647
|
query: z.object({
|
|
17647
17648
|
project_id: z.string().optional(),
|
|
17649
|
+
project: z.union([
|
|
17650
|
+
z.number().int(),
|
|
17651
|
+
z.string()
|
|
17652
|
+
]).optional(),
|
|
17648
17653
|
health: z.boolean().optional(),
|
|
17649
17654
|
adoptionStages: z.boolean().optional(),
|
|
17650
17655
|
summaryStatsPeriod: z.enum([
|