@sentry/api 0.282.0 → 0.284.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/index.d.ts +1 -1
- package/dist/index.js +12 -0
- package/dist/pagination.gen.d.ts +31 -1
- package/dist/types.gen.d.ts +207 -18
- package/dist/valibot.gen.d.ts +72 -4
- package/dist/valibot.js +99 -8
- package/dist/zod.gen.d.ts +284 -26
- package/dist/zod.js +126 -8
- package/package.json +1 -1
package/dist/valibot.gen.d.ts
CHANGED
|
@@ -393,7 +393,6 @@ export declare const vDashboard: v.ObjectSchema<{
|
|
|
393
393
|
readonly y: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
394
394
|
readonly w: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 6, undefined>]>;
|
|
395
395
|
readonly h: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
396
|
-
readonly min_h: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
397
396
|
}, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
398
397
|
readonly axis_range: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["auto", "dataMin"], undefined>, undefined>, undefined>;
|
|
399
398
|
readonly legend_type: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["default", "breakdown"], undefined>, undefined>, undefined>;
|
|
@@ -411,6 +410,62 @@ export declare const vDashboard: v.ObjectSchema<{
|
|
|
411
410
|
}, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
412
411
|
readonly is_favorited: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
413
412
|
}, undefined>;
|
|
413
|
+
/**
|
|
414
|
+
* Allows parameters to be defined in snake case, but passed as camel case.
|
|
415
|
+
*
|
|
416
|
+
* Errors are output in camel case.
|
|
417
|
+
*/
|
|
418
|
+
export declare const vDashboardCreateWidget: v.ObjectSchema<{
|
|
419
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
420
|
+
readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
421
|
+
readonly description: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
422
|
+
readonly thresholds: v.OptionalSchema<v.UnionSchema<[v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
423
|
+
readonly display_type: v.OptionalSchema<v.PicklistSchema<["line", "area", "bar", "table", "big_number", "details", "categorical_bar", "wheel", "rage_and_dead_clicks", "server_tree", "text", "agents_traces_table", "heatmap"], undefined>, undefined>;
|
|
424
|
+
readonly interval: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 10, undefined>]>, undefined>;
|
|
425
|
+
readonly queries: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
426
|
+
readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
427
|
+
readonly fields: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
428
|
+
readonly aggregates: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.StringSchema<undefined>, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
429
|
+
readonly columns: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.StringSchema<undefined>, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
430
|
+
readonly field_aliases: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.StringSchema<undefined>, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
431
|
+
readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
432
|
+
readonly conditions: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
433
|
+
readonly orderby: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
434
|
+
readonly is_hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
435
|
+
readonly on_demand_extraction: v.OptionalSchema<v.ObjectSchema<{
|
|
436
|
+
readonly extraction_state: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
437
|
+
readonly enabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
438
|
+
}, undefined>, undefined>;
|
|
439
|
+
readonly on_demand_extraction_disabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
440
|
+
readonly selected_aggregate: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
441
|
+
readonly linked_dashboards: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.ObjectSchema<{
|
|
442
|
+
readonly field: v.StringSchema<undefined>;
|
|
443
|
+
readonly dashboard_id: v.StringSchema<undefined>;
|
|
444
|
+
}, undefined>, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
445
|
+
}, undefined>, undefined>, undefined>;
|
|
446
|
+
readonly widget_type: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["discover", "issue", "metrics", "error-events", "transaction-like", "spans", "logs", "tracemetrics", "preprod-app-size"], undefined>, undefined>, undefined>;
|
|
447
|
+
readonly limit: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
448
|
+
readonly layout: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
449
|
+
readonly x: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 5, undefined>]>;
|
|
450
|
+
readonly y: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
451
|
+
readonly w: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 6, undefined>]>;
|
|
452
|
+
readonly h: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
453
|
+
}, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
454
|
+
readonly axis_range: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["auto", "dataMin"], undefined>, undefined>, undefined>;
|
|
455
|
+
readonly legend_type: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["default", "breakdown"], undefined>, undefined>, undefined>;
|
|
456
|
+
}, undefined>;
|
|
457
|
+
/**
|
|
458
|
+
* Widget grid layout position and dimensions for dashboard creation.
|
|
459
|
+
*
|
|
460
|
+
* The dashboard uses a 6-column grid. Required keys: x, y, w, h.
|
|
461
|
+
* Constraints: x (0-5), y (>= 0), w (1-6), h (>= 1), and x + w <= 6.
|
|
462
|
+
*/
|
|
463
|
+
export declare const vDashboardCreateWidgetLayout: v.ObjectSchema<{
|
|
464
|
+
readonly x: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 5, undefined>]>;
|
|
465
|
+
readonly y: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
466
|
+
readonly w: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 6, undefined>]>;
|
|
467
|
+
readonly h: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
468
|
+
}, undefined>;
|
|
414
469
|
/**
|
|
415
470
|
* Allows parameters to be defined in snake case, but passed as camel case.
|
|
416
471
|
*
|
|
@@ -6686,6 +6741,10 @@ export declare const vListOrganizationDashboardsData: v.ObjectSchema<{
|
|
|
6686
6741
|
readonly organization_id_or_slug: v.StringSchema<undefined>;
|
|
6687
6742
|
}, undefined>;
|
|
6688
6743
|
readonly query: v.OptionalSchema<v.ObjectSchema<{
|
|
6744
|
+
readonly filter: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["excludeFavorites", "excludePrebuilt", "onlyFavorites", "onlyPrebuilt", "owned", "shared", "showHidden"], undefined>, undefined>, undefined>;
|
|
6745
|
+
readonly query: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
6746
|
+
readonly sort: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
6747
|
+
readonly pin: v.OptionalSchema<v.PicklistSchema<["favorites"], undefined>, undefined>;
|
|
6689
6748
|
readonly per_page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
6690
6749
|
readonly cursor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
6691
6750
|
}, undefined>, undefined>;
|
|
@@ -6794,7 +6853,6 @@ export declare const vCreateOrganizationDashboardData: v.ObjectSchema<{
|
|
|
6794
6853
|
readonly y: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
6795
6854
|
readonly w: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 6, undefined>]>;
|
|
6796
6855
|
readonly h: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
6797
|
-
readonly min_h: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
6798
6856
|
}, undefined>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
6799
6857
|
readonly axis_range: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["auto", "dataMin"], undefined>, undefined>, undefined>;
|
|
6800
6858
|
readonly legend_type: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["default", "breakdown"], undefined>, undefined>, undefined>;
|
|
@@ -7267,6 +7325,8 @@ export declare const vListOrganizationDetectorsData: v.ObjectSchema<{
|
|
|
7267
7325
|
readonly query: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
7268
7326
|
readonly sortBy: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
7269
7327
|
readonly id: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
7328
|
+
readonly per_page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
7329
|
+
readonly cursor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
7270
7330
|
}, undefined>, undefined>;
|
|
7271
7331
|
}, undefined>;
|
|
7272
7332
|
export declare const vListOrganizationDetectorsResponse: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -7892,6 +7952,7 @@ export declare const vListOrganizationEventsData: v.ObjectSchema<{
|
|
|
7892
7952
|
readonly dataset: v.PicklistSchema<["errors", "logs", "profile_functions", "spans", "tracemetrics", "uptime_results"], undefined>;
|
|
7893
7953
|
readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
|
|
7894
7954
|
readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
7955
|
+
readonly referrer: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
7895
7956
|
readonly project: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
|
|
7896
7957
|
readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
|
|
7897
7958
|
readonly statsPeriod: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -11045,11 +11106,12 @@ export declare const vListOrganizationReplaysData: v.ObjectSchema<{
|
|
|
11045
11106
|
readonly field: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["activity", "browser", "count_dead_clicks", "count_errors", "count_rage_clicks", "count_segments", "count_urls", "device", "dist", "duration", "environment", "error_ids", "finished_at", "id", "is_archived", "os", "platform", "project_id", "releases", "sdk", "started_at", "tags", "trace_ids", "segment_names", "urls", "user", "clicks", "info_ids", "warning_ids", "count_warnings", "count_infos", "has_viewed"], undefined>, undefined>, undefined>;
|
|
11046
11107
|
readonly project: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
|
|
11047
11108
|
readonly projectSlug: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
11048
|
-
readonly environment: v.OptionalSchema<v.
|
|
11109
|
+
readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
11049
11110
|
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
11050
11111
|
readonly sortBy: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
11051
11112
|
readonly orderBy: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
11052
11113
|
readonly query: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
11114
|
+
readonly queryReferrer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
11053
11115
|
readonly per_page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
11054
11116
|
readonly cursor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
11055
11117
|
}, undefined>, undefined>;
|
|
@@ -11133,11 +11195,12 @@ export declare const vGetOrganizationReplayData: v.ObjectSchema<{
|
|
|
11133
11195
|
readonly field: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["activity", "browser", "count_dead_clicks", "count_errors", "count_rage_clicks", "count_segments", "count_urls", "device", "dist", "duration", "environment", "error_ids", "finished_at", "id", "is_archived", "os", "platform", "project_id", "releases", "sdk", "started_at", "tags", "trace_ids", "segment_names", "urls", "user", "clicks", "info_ids", "warning_ids", "count_warnings", "count_infos", "has_viewed"], undefined>, undefined>, undefined>;
|
|
11134
11196
|
readonly project: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
|
|
11135
11197
|
readonly projectSlug: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
11136
|
-
readonly environment: v.OptionalSchema<v.
|
|
11198
|
+
readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
11137
11199
|
readonly sort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
11138
11200
|
readonly sortBy: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
11139
11201
|
readonly orderBy: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
11140
11202
|
readonly query: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
11203
|
+
readonly queryReferrer: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
11141
11204
|
readonly per_page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
11142
11205
|
readonly cursor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
11143
11206
|
}, undefined>, undefined>;
|
|
@@ -12173,6 +12236,8 @@ export declare const vListOrganizationTraceItemAttributesData: v.ObjectSchema<{
|
|
|
12173
12236
|
readonly statsPeriod: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
12174
12237
|
readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
|
|
12175
12238
|
readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
|
|
12239
|
+
readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
12240
|
+
readonly project: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
|
|
12176
12241
|
readonly dataset: v.OptionalSchema<v.PicklistSchema<["logs", "preprod", "processing_errors", "spans", "tracemetrics"], undefined>, undefined>;
|
|
12177
12242
|
readonly itemType: v.OptionalSchema<v.PicklistSchema<["logs", "preprod", "processing_errors", "spans", "tracemetrics"], undefined>, undefined>;
|
|
12178
12243
|
readonly attributeType: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["array", "boolean", "number", "string"], undefined>, undefined>, undefined>;
|
|
@@ -12396,7 +12461,10 @@ export declare const vListOrganizationWorkflowsData: v.ObjectSchema<{
|
|
|
12396
12461
|
readonly sortBy: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
12397
12462
|
readonly query: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
12398
12463
|
readonly id: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
12464
|
+
readonly detector: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
|
|
12399
12465
|
readonly project: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
|
|
12466
|
+
readonly per_page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
12467
|
+
readonly cursor: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
12400
12468
|
}, undefined>, undefined>;
|
|
12401
12469
|
}, undefined>;
|
|
12402
12470
|
export declare const vListOrganizationWorkflowsResponse: v.ArraySchema<v.ObjectSchema<{
|
package/dist/valibot.js
CHANGED
|
@@ -1016,8 +1016,7 @@ var vDashboard = v.object({
|
|
|
1016
1016
|
x: v.pipe(v.number(), v.integer(), v.minValue(0), v.maxValue(5)),
|
|
1017
1017
|
y: v.pipe(v.number(), v.integer(), v.minValue(0)),
|
|
1018
1018
|
w: v.pipe(v.number(), v.integer(), v.minValue(1), v.maxValue(6)),
|
|
1019
|
-
h: v.pipe(v.number(), v.integer(), v.minValue(1))
|
|
1020
|
-
min_h: v.pipe(v.number(), v.integer(), v.minValue(1))
|
|
1019
|
+
h: v.pipe(v.number(), v.integer(), v.minValue(1))
|
|
1021
1020
|
}), v.null()])),
|
|
1022
1021
|
axis_range: v.optional(v.nullable(v.picklist(["auto", "dataMin"]))),
|
|
1023
1022
|
legend_type: v.optional(v.nullable(v.picklist(["default", "breakdown"])))
|
|
@@ -1035,6 +1034,75 @@ var vDashboard = v.object({
|
|
|
1035
1034
|
}), v.null()])),
|
|
1036
1035
|
is_favorited: v.optional(v.boolean(), false)
|
|
1037
1036
|
});
|
|
1037
|
+
var vDashboardCreateWidget = v.object({
|
|
1038
|
+
id: v.optional(v.string()),
|
|
1039
|
+
title: v.optional(v.pipe(v.string(), v.maxLength(255))),
|
|
1040
|
+
description: v.optional(v.union([v.string(), v.null()])),
|
|
1041
|
+
thresholds: v.optional(v.union([v.record(v.string(), v.unknown()), v.null()])),
|
|
1042
|
+
display_type: v.optional(v.picklist([
|
|
1043
|
+
"line",
|
|
1044
|
+
"area",
|
|
1045
|
+
"bar",
|
|
1046
|
+
"table",
|
|
1047
|
+
"big_number",
|
|
1048
|
+
"details",
|
|
1049
|
+
"categorical_bar",
|
|
1050
|
+
"wheel",
|
|
1051
|
+
"rage_and_dead_clicks",
|
|
1052
|
+
"server_tree",
|
|
1053
|
+
"text",
|
|
1054
|
+
"agents_traces_table",
|
|
1055
|
+
"heatmap"
|
|
1056
|
+
])),
|
|
1057
|
+
interval: v.optional(v.pipe(v.string(), v.maxLength(10))),
|
|
1058
|
+
queries: v.optional(v.array(v.object({
|
|
1059
|
+
id: v.optional(v.string()),
|
|
1060
|
+
fields: v.optional(v.array(v.string())),
|
|
1061
|
+
aggregates: v.optional(v.union([v.array(v.string()), v.null()])),
|
|
1062
|
+
columns: v.optional(v.union([v.array(v.string()), v.null()])),
|
|
1063
|
+
field_aliases: v.optional(v.union([v.array(v.string()), v.null()])),
|
|
1064
|
+
name: v.optional(v.string()),
|
|
1065
|
+
conditions: v.optional(v.string()),
|
|
1066
|
+
orderby: v.optional(v.string()),
|
|
1067
|
+
is_hidden: v.optional(v.boolean()),
|
|
1068
|
+
on_demand_extraction: v.optional(v.object({
|
|
1069
|
+
extraction_state: v.optional(v.string()),
|
|
1070
|
+
enabled: v.optional(v.boolean())
|
|
1071
|
+
})),
|
|
1072
|
+
on_demand_extraction_disabled: v.optional(v.boolean()),
|
|
1073
|
+
selected_aggregate: v.optional(v.union([v.pipe(v.number(), v.integer()), v.null()])),
|
|
1074
|
+
linked_dashboards: v.optional(v.union([v.array(v.object({
|
|
1075
|
+
field: v.string(),
|
|
1076
|
+
dashboard_id: v.string()
|
|
1077
|
+
})), v.null()]))
|
|
1078
|
+
}))),
|
|
1079
|
+
widget_type: v.optional(v.nullable(v.picklist([
|
|
1080
|
+
"discover",
|
|
1081
|
+
"issue",
|
|
1082
|
+
"metrics",
|
|
1083
|
+
"error-events",
|
|
1084
|
+
"transaction-like",
|
|
1085
|
+
"spans",
|
|
1086
|
+
"logs",
|
|
1087
|
+
"tracemetrics",
|
|
1088
|
+
"preprod-app-size"
|
|
1089
|
+
]))),
|
|
1090
|
+
limit: v.optional(v.union([v.pipe(v.number(), v.integer(), v.minValue(1)), v.null()])),
|
|
1091
|
+
layout: v.optional(v.union([v.object({
|
|
1092
|
+
x: v.pipe(v.number(), v.integer(), v.minValue(0), v.maxValue(5)),
|
|
1093
|
+
y: v.pipe(v.number(), v.integer(), v.minValue(0)),
|
|
1094
|
+
w: v.pipe(v.number(), v.integer(), v.minValue(1), v.maxValue(6)),
|
|
1095
|
+
h: v.pipe(v.number(), v.integer(), v.minValue(1))
|
|
1096
|
+
}), v.null()])),
|
|
1097
|
+
axis_range: v.optional(v.nullable(v.picklist(["auto", "dataMin"]))),
|
|
1098
|
+
legend_type: v.optional(v.nullable(v.picklist(["default", "breakdown"])))
|
|
1099
|
+
});
|
|
1100
|
+
var vDashboardCreateWidgetLayout = v.object({
|
|
1101
|
+
x: v.pipe(v.number(), v.integer(), v.minValue(0), v.maxValue(5)),
|
|
1102
|
+
y: v.pipe(v.number(), v.integer(), v.minValue(0)),
|
|
1103
|
+
w: v.pipe(v.number(), v.integer(), v.minValue(1), v.maxValue(6)),
|
|
1104
|
+
h: v.pipe(v.number(), v.integer(), v.minValue(1))
|
|
1105
|
+
});
|
|
1038
1106
|
var vDashboardDetails = v.object({
|
|
1039
1107
|
id: v.optional(v.string()),
|
|
1040
1108
|
title: v.optional(v.pipe(v.string(), v.maxLength(255))),
|
|
@@ -8315,6 +8383,18 @@ var vListOrganizationDashboardsData = v.object({
|
|
|
8315
8383
|
organization_id_or_slug: v.string()
|
|
8316
8384
|
}),
|
|
8317
8385
|
query: v.optional(v.object({
|
|
8386
|
+
filter: v.optional(v.array(v.picklist([
|
|
8387
|
+
"excludeFavorites",
|
|
8388
|
+
"excludePrebuilt",
|
|
8389
|
+
"onlyFavorites",
|
|
8390
|
+
"onlyPrebuilt",
|
|
8391
|
+
"owned",
|
|
8392
|
+
"shared",
|
|
8393
|
+
"showHidden"
|
|
8394
|
+
]))),
|
|
8395
|
+
query: v.optional(v.string()),
|
|
8396
|
+
sort: v.optional(v.string()),
|
|
8397
|
+
pin: v.optional(v.picklist(["favorites"])),
|
|
8318
8398
|
per_page: v.optional(v.pipe(v.number(), v.integer())),
|
|
8319
8399
|
cursor: v.optional(v.pipe(v.string(), v.minLength(1)))
|
|
8320
8400
|
}))
|
|
@@ -8446,8 +8526,7 @@ var vCreateOrganizationDashboardData = v.object({
|
|
|
8446
8526
|
x: v.pipe(v.number(), v.integer(), v.minValue(0), v.maxValue(5)),
|
|
8447
8527
|
y: v.pipe(v.number(), v.integer(), v.minValue(0)),
|
|
8448
8528
|
w: v.pipe(v.number(), v.integer(), v.minValue(1), v.maxValue(6)),
|
|
8449
|
-
h: v.pipe(v.number(), v.integer(), v.minValue(1))
|
|
8450
|
-
min_h: v.pipe(v.number(), v.integer(), v.minValue(1))
|
|
8529
|
+
h: v.pipe(v.number(), v.integer(), v.minValue(1))
|
|
8451
8530
|
}), v.null()])),
|
|
8452
8531
|
axis_range: v.optional(v.nullable(v.picklist(["auto", "dataMin"]))),
|
|
8453
8532
|
legend_type: v.optional(v.nullable(v.picklist(["default", "breakdown"])))
|
|
@@ -8940,7 +9019,9 @@ var vListOrganizationDetectorsData = v.object({
|
|
|
8940
9019
|
project: v.optional(v.array(v.unknown())),
|
|
8941
9020
|
query: v.optional(v.string()),
|
|
8942
9021
|
sortBy: v.optional(v.string()),
|
|
8943
|
-
id: v.optional(v.array(v.pipe(v.number(), v.integer())))
|
|
9022
|
+
id: v.optional(v.array(v.pipe(v.number(), v.integer()))),
|
|
9023
|
+
per_page: v.optional(v.pipe(v.number(), v.integer())),
|
|
9024
|
+
cursor: v.optional(v.pipe(v.string(), v.minLength(1)))
|
|
8944
9025
|
}))
|
|
8945
9026
|
});
|
|
8946
9027
|
var vListOrganizationDetectorsResponse = v.array(v.object({
|
|
@@ -9595,6 +9676,7 @@ var vListOrganizationEventsData = v.object({
|
|
|
9595
9676
|
]),
|
|
9596
9677
|
end: v.optional(v.pipe(v.string(), v.isoTimestamp())),
|
|
9597
9678
|
environment: v.optional(v.array(v.string())),
|
|
9679
|
+
referrer: v.optional(v.string()),
|
|
9598
9680
|
project: v.optional(v.array(v.unknown())),
|
|
9599
9681
|
start: v.optional(v.pipe(v.string(), v.isoTimestamp())),
|
|
9600
9682
|
statsPeriod: v.optional(v.string()),
|
|
@@ -14166,11 +14248,12 @@ var vListOrganizationReplaysData = v.object({
|
|
|
14166
14248
|
]))),
|
|
14167
14249
|
project: v.optional(v.array(v.unknown())),
|
|
14168
14250
|
projectSlug: v.optional(v.array(v.string())),
|
|
14169
|
-
environment: v.optional(v.
|
|
14251
|
+
environment: v.optional(v.array(v.string())),
|
|
14170
14252
|
sort: v.optional(v.pipe(v.string(), v.minLength(1))),
|
|
14171
14253
|
sortBy: v.optional(v.pipe(v.string(), v.minLength(1))),
|
|
14172
14254
|
orderBy: v.optional(v.pipe(v.string(), v.minLength(1))),
|
|
14173
14255
|
query: v.optional(v.pipe(v.string(), v.minLength(1))),
|
|
14256
|
+
queryReferrer: v.optional(v.pipe(v.string(), v.minLength(1))),
|
|
14174
14257
|
per_page: v.optional(v.pipe(v.number(), v.integer())),
|
|
14175
14258
|
cursor: v.optional(v.pipe(v.string(), v.minLength(1)))
|
|
14176
14259
|
}))
|
|
@@ -14287,11 +14370,12 @@ var vGetOrganizationReplayData = v.object({
|
|
|
14287
14370
|
]))),
|
|
14288
14371
|
project: v.optional(v.array(v.unknown())),
|
|
14289
14372
|
projectSlug: v.optional(v.array(v.string())),
|
|
14290
|
-
environment: v.optional(v.
|
|
14373
|
+
environment: v.optional(v.array(v.string())),
|
|
14291
14374
|
sort: v.optional(v.pipe(v.string(), v.minLength(1))),
|
|
14292
14375
|
sortBy: v.optional(v.pipe(v.string(), v.minLength(1))),
|
|
14293
14376
|
orderBy: v.optional(v.pipe(v.string(), v.minLength(1))),
|
|
14294
14377
|
query: v.optional(v.pipe(v.string(), v.minLength(1))),
|
|
14378
|
+
queryReferrer: v.optional(v.pipe(v.string(), v.minLength(1))),
|
|
14295
14379
|
per_page: v.optional(v.pipe(v.number(), v.integer())),
|
|
14296
14380
|
cursor: v.optional(v.pipe(v.string(), v.minLength(1)))
|
|
14297
14381
|
}))
|
|
@@ -15405,6 +15489,8 @@ var vListOrganizationTraceItemAttributesData = v.object({
|
|
|
15405
15489
|
statsPeriod: v.optional(v.string()),
|
|
15406
15490
|
start: v.optional(v.pipe(v.string(), v.isoTimestamp())),
|
|
15407
15491
|
end: v.optional(v.pipe(v.string(), v.isoTimestamp())),
|
|
15492
|
+
environment: v.optional(v.array(v.string())),
|
|
15493
|
+
project: v.optional(v.array(v.unknown())),
|
|
15408
15494
|
dataset: v.optional(v.picklist([
|
|
15409
15495
|
"logs",
|
|
15410
15496
|
"preprod",
|
|
@@ -15650,7 +15736,10 @@ var vListOrganizationWorkflowsData = v.object({
|
|
|
15650
15736
|
sortBy: v.optional(v.string()),
|
|
15651
15737
|
query: v.optional(v.string()),
|
|
15652
15738
|
id: v.optional(v.array(v.pipe(v.number(), v.integer()))),
|
|
15653
|
-
|
|
15739
|
+
detector: v.optional(v.array(v.pipe(v.number(), v.integer()))),
|
|
15740
|
+
project: v.optional(v.array(v.unknown())),
|
|
15741
|
+
per_page: v.optional(v.pipe(v.number(), v.integer())),
|
|
15742
|
+
cursor: v.optional(v.pipe(v.string(), v.minLength(1)))
|
|
15654
15743
|
}))
|
|
15655
15744
|
});
|
|
15656
15745
|
var vListOrganizationWorkflowsResponse = v.array(v.object({
|
|
@@ -22060,6 +22149,8 @@ export {
|
|
|
22060
22149
|
vDashboardListResponse,
|
|
22061
22150
|
vDashboardDetailsModel,
|
|
22062
22151
|
vDashboardDetails,
|
|
22152
|
+
vDashboardCreateWidgetLayout,
|
|
22153
|
+
vDashboardCreateWidget,
|
|
22063
22154
|
vDashboard,
|
|
22064
22155
|
vCreateTeamProjectResponse,
|
|
22065
22156
|
vCreateTeamProjectData,
|