@sentry/api 0.310.0 → 0.312.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 +13 -9
- package/dist/valibot.gen.d.ts +2 -2
- package/dist/valibot.js +2 -2
- package/dist/zod.gen.d.ts +8 -8
- package/dist/zod.js +2 -2
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -4313,7 +4313,7 @@ export type Layout = {
|
|
|
4313
4313
|
};
|
|
4314
4314
|
export type LinkExternalIssueRequest = {
|
|
4315
4315
|
/**
|
|
4316
|
-
* The identifier of the existing external issue to link
|
|
4316
|
+
* The identifier or full URL of the existing external issue to link. URL support depends on the selected integration.
|
|
4317
4317
|
*/
|
|
4318
4318
|
externalIssue: string;
|
|
4319
4319
|
/**
|
|
@@ -22937,8 +22937,19 @@ export type GetOrganizationReplayCountData = {
|
|
|
22937
22937
|
organization_id_or_slug: string;
|
|
22938
22938
|
};
|
|
22939
22939
|
query: {
|
|
22940
|
+
/**
|
|
22941
|
+
* Filters results by using [query syntax](/product/sentry-basics/search/).
|
|
22942
|
+
*
|
|
22943
|
+
* Example: `query=(transaction:foo AND release:abc) OR (transaction:[bar,baz] AND release:def)`
|
|
22944
|
+
*
|
|
22945
|
+
*/
|
|
22946
|
+
query: string;
|
|
22940
22947
|
/**
|
|
22941
22948
|
* The data source to query replays from.
|
|
22949
|
+
*
|
|
22950
|
+
* * `events`
|
|
22951
|
+
* * `search_issues`
|
|
22952
|
+
* * `spans`
|
|
22942
22953
|
*/
|
|
22943
22954
|
data_source: 'events' | 'search_issues' | 'spans';
|
|
22944
22955
|
/**
|
|
@@ -22980,13 +22991,6 @@ export type GetOrganizationReplayCountData = {
|
|
|
22980
22991
|
*
|
|
22981
22992
|
*/
|
|
22982
22993
|
project_id_or_slug?: Array<string>;
|
|
22983
|
-
/**
|
|
22984
|
-
* Filters results by using [query syntax](/product/sentry-basics/search/).
|
|
22985
|
-
*
|
|
22986
|
-
* Example: `query=(transaction:foo AND release:abc) OR (transaction:[bar,baz] AND release:def)`
|
|
22987
|
-
*
|
|
22988
|
-
*/
|
|
22989
|
-
query?: string;
|
|
22990
22994
|
/**
|
|
22991
22995
|
* If true, return issue IDs rather than counts.
|
|
22992
22996
|
*/
|
|
@@ -37419,7 +37423,7 @@ export type CreateOrganizationIssueIntegrationResponse = CreateOrganizationIssue
|
|
|
37419
37423
|
export type UpdateOrganizationIssueIntegrationData = {
|
|
37420
37424
|
body: {
|
|
37421
37425
|
/**
|
|
37422
|
-
* The identifier of the existing external issue to link
|
|
37426
|
+
* The identifier or full URL of the existing external issue to link. URL support depends on the selected integration.
|
|
37423
37427
|
*/
|
|
37424
37428
|
externalIssue: string;
|
|
37425
37429
|
/**
|
package/dist/valibot.gen.d.ts
CHANGED
|
@@ -11798,6 +11798,7 @@ export declare const vGetOrganizationReplayCountData: v.ObjectSchema<{
|
|
|
11798
11798
|
readonly organization_id_or_slug: v.StringSchema<undefined>;
|
|
11799
11799
|
}, undefined>;
|
|
11800
11800
|
readonly query: v.ObjectSchema<{
|
|
11801
|
+
readonly query: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
11801
11802
|
readonly data_source: v.PicklistSchema<["events", "search_issues", "spans"], undefined>;
|
|
11802
11803
|
readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
11803
11804
|
readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
|
|
@@ -11805,8 +11806,7 @@ export declare const vGetOrganizationReplayCountData: v.ObjectSchema<{
|
|
|
11805
11806
|
readonly statsPeriod: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
11806
11807
|
readonly project: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
|
|
11807
11808
|
readonly project_id_or_slug: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
11808
|
-
readonly
|
|
11809
|
-
readonly returnIds: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
11809
|
+
readonly returnIds: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
11810
11810
|
}, undefined>;
|
|
11811
11811
|
}, undefined>;
|
|
11812
11812
|
export declare const vGetOrganizationReplayCountResponse: v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
package/dist/valibot.js
CHANGED
|
@@ -15017,6 +15017,7 @@ var vGetOrganizationReplayCountData = v.object({
|
|
|
15017
15017
|
organization_id_or_slug: v.string()
|
|
15018
15018
|
}),
|
|
15019
15019
|
query: v.object({
|
|
15020
|
+
query: v.pipe(v.string(), v.minLength(1)),
|
|
15020
15021
|
data_source: v.picklist([
|
|
15021
15022
|
"events",
|
|
15022
15023
|
"search_issues",
|
|
@@ -15028,8 +15029,7 @@ var vGetOrganizationReplayCountData = v.object({
|
|
|
15028
15029
|
statsPeriod: v.optional(v.string()),
|
|
15029
15030
|
project: v.optional(v.array(v.unknown())),
|
|
15030
15031
|
project_id_or_slug: v.optional(v.array(v.string())),
|
|
15031
|
-
|
|
15032
|
-
returnIds: v.optional(v.boolean())
|
|
15032
|
+
returnIds: v.optional(v.boolean(), false)
|
|
15033
15033
|
})
|
|
15034
15034
|
});
|
|
15035
15035
|
var vGetOrganizationReplayCountResponse = v.record(v.string(), v.pipe(v.number(), v.integer()));
|
package/dist/zod.gen.d.ts
CHANGED
|
@@ -58475,6 +58475,7 @@ export declare const zGetOrganizationReplayCountData: z.ZodObject<{
|
|
|
58475
58475
|
organization_id_or_slug: string;
|
|
58476
58476
|
}>;
|
|
58477
58477
|
query: z.ZodObject<{
|
|
58478
|
+
query: z.ZodString;
|
|
58478
58479
|
data_source: z.ZodEnum<["events", "search_issues", "spans"]>;
|
|
58479
58480
|
environment: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
58480
58481
|
start: z.ZodOptional<z.ZodString>;
|
|
@@ -58482,21 +58483,20 @@ export declare const zGetOrganizationReplayCountData: z.ZodObject<{
|
|
|
58482
58483
|
statsPeriod: z.ZodOptional<z.ZodString>;
|
|
58483
58484
|
project: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">>;
|
|
58484
58485
|
project_id_or_slug: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
58485
|
-
|
|
58486
|
-
returnIds: z.ZodOptional<z.ZodBoolean>;
|
|
58486
|
+
returnIds: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
58487
58487
|
}, "strip", z.ZodTypeAny, {
|
|
58488
|
+
query: string;
|
|
58488
58489
|
data_source: "spans" | "events" | "search_issues";
|
|
58489
|
-
|
|
58490
|
+
returnIds: boolean;
|
|
58490
58491
|
environment?: string[] | undefined;
|
|
58491
58492
|
project?: (string | number)[] | undefined;
|
|
58492
58493
|
statsPeriod?: string | undefined;
|
|
58493
58494
|
start?: string | undefined;
|
|
58494
58495
|
end?: string | undefined;
|
|
58495
58496
|
project_id_or_slug?: string[] | undefined;
|
|
58496
|
-
returnIds?: boolean | undefined;
|
|
58497
58497
|
}, {
|
|
58498
|
+
query: string;
|
|
58498
58499
|
data_source: "spans" | "events" | "search_issues";
|
|
58499
|
-
query?: string | undefined;
|
|
58500
58500
|
environment?: string[] | undefined;
|
|
58501
58501
|
project?: (string | number)[] | undefined;
|
|
58502
58502
|
statsPeriod?: string | undefined;
|
|
@@ -58507,15 +58507,15 @@ export declare const zGetOrganizationReplayCountData: z.ZodObject<{
|
|
|
58507
58507
|
}>;
|
|
58508
58508
|
}, "strip", z.ZodTypeAny, {
|
|
58509
58509
|
query: {
|
|
58510
|
+
query: string;
|
|
58510
58511
|
data_source: "spans" | "events" | "search_issues";
|
|
58511
|
-
|
|
58512
|
+
returnIds: boolean;
|
|
58512
58513
|
environment?: string[] | undefined;
|
|
58513
58514
|
project?: (string | number)[] | undefined;
|
|
58514
58515
|
statsPeriod?: string | undefined;
|
|
58515
58516
|
start?: string | undefined;
|
|
58516
58517
|
end?: string | undefined;
|
|
58517
58518
|
project_id_or_slug?: string[] | undefined;
|
|
58518
|
-
returnIds?: boolean | undefined;
|
|
58519
58519
|
};
|
|
58520
58520
|
path: {
|
|
58521
58521
|
organization_id_or_slug: string;
|
|
@@ -58523,8 +58523,8 @@ export declare const zGetOrganizationReplayCountData: z.ZodObject<{
|
|
|
58523
58523
|
body?: undefined;
|
|
58524
58524
|
}, {
|
|
58525
58525
|
query: {
|
|
58526
|
+
query: string;
|
|
58526
58527
|
data_source: "spans" | "events" | "search_issues";
|
|
58527
|
-
query?: string | undefined;
|
|
58528
58528
|
environment?: string[] | undefined;
|
|
58529
58529
|
project?: (string | number)[] | undefined;
|
|
58530
58530
|
statsPeriod?: string | undefined;
|
package/dist/zod.js
CHANGED
|
@@ -22572,6 +22572,7 @@ var zGetOrganizationReplayCountData = z.object({
|
|
|
22572
22572
|
organization_id_or_slug: z.string()
|
|
22573
22573
|
}),
|
|
22574
22574
|
query: z.object({
|
|
22575
|
+
query: z.string().min(1),
|
|
22575
22576
|
data_source: z.enum([
|
|
22576
22577
|
"events",
|
|
22577
22578
|
"search_issues",
|
|
@@ -22583,8 +22584,7 @@ var zGetOrganizationReplayCountData = z.object({
|
|
|
22583
22584
|
statsPeriod: z.string().optional(),
|
|
22584
22585
|
project: z.array(z.union([z.number().int(), z.string()])).optional(),
|
|
22585
22586
|
project_id_or_slug: z.array(z.string()).optional(),
|
|
22586
|
-
|
|
22587
|
-
returnIds: z.boolean().optional()
|
|
22587
|
+
returnIds: z.boolean().optional().default(false)
|
|
22588
22588
|
})
|
|
22589
22589
|
});
|
|
22590
22590
|
var zGetOrganizationReplayCountResponse = z.record(z.number().int());
|