@sentry/api 0.301.0 → 0.303.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/error-results.gen.d.ts +3 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -0
- package/dist/sdk.gen.d.ts +9 -1
- package/dist/types.gen.d.ts +115 -0
- package/dist/valibot.gen.d.ts +51 -0
- package/dist/valibot.js +73 -0
- package/dist/zod.gen.d.ts +433 -250
- package/dist/zod.js +103 -0
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -2559,6 +2559,8 @@ export type DiscoverSavedQueryListResponse = Array<{
|
|
|
2559
2559
|
[key: string]: unknown;
|
|
2560
2560
|
};
|
|
2561
2561
|
lastVisited?: string;
|
|
2562
|
+
starred?: boolean;
|
|
2563
|
+
position?: number | null;
|
|
2562
2564
|
id: string;
|
|
2563
2565
|
name: string;
|
|
2564
2566
|
projects: Array<number>;
|
|
@@ -2635,6 +2637,8 @@ export type DiscoverSavedQueryModel = {
|
|
|
2635
2637
|
[key: string]: unknown;
|
|
2636
2638
|
};
|
|
2637
2639
|
lastVisited?: string;
|
|
2640
|
+
starred?: boolean;
|
|
2641
|
+
position?: number | null;
|
|
2638
2642
|
id: string;
|
|
2639
2643
|
name: string;
|
|
2640
2644
|
projects: Array<number>;
|
|
@@ -5158,6 +5162,17 @@ export type ListOrganizationTagsResponse = Array<{
|
|
|
5158
5162
|
key: string;
|
|
5159
5163
|
name: string;
|
|
5160
5164
|
}>;
|
|
5165
|
+
export type ListOrganizationTraceMetricsResponse = Array<{
|
|
5166
|
+
name: string;
|
|
5167
|
+
type: 'counter' | 'gauge' | 'distribution';
|
|
5168
|
+
unit: string | null;
|
|
5169
|
+
count: number;
|
|
5170
|
+
lastSeen: number | null;
|
|
5171
|
+
context?: {
|
|
5172
|
+
brief?: string;
|
|
5173
|
+
details?: Array<string>;
|
|
5174
|
+
};
|
|
5175
|
+
}>;
|
|
5161
5176
|
export type ListOrganizations = Array<{
|
|
5162
5177
|
features?: Array<string>;
|
|
5163
5178
|
extraOptions?: {
|
|
@@ -14273,6 +14288,8 @@ export type ListOrganizationDiscoverSavedQueriesResponses = {
|
|
|
14273
14288
|
[key: string]: unknown;
|
|
14274
14289
|
};
|
|
14275
14290
|
lastVisited?: string;
|
|
14291
|
+
starred?: boolean;
|
|
14292
|
+
position?: number | null;
|
|
14276
14293
|
id: string;
|
|
14277
14294
|
name: string;
|
|
14278
14295
|
projects: Array<number>;
|
|
@@ -14483,6 +14500,8 @@ export type CreateOrganizationDiscoverSavedQueryResponses = {
|
|
|
14483
14500
|
[key: string]: unknown;
|
|
14484
14501
|
};
|
|
14485
14502
|
lastVisited?: string;
|
|
14503
|
+
starred?: boolean;
|
|
14504
|
+
position?: number | null;
|
|
14486
14505
|
id: string;
|
|
14487
14506
|
name: string;
|
|
14488
14507
|
projects: Array<number>;
|
|
@@ -14619,6 +14638,8 @@ export type GetOrganizationDiscoverSavedQueryResponses = {
|
|
|
14619
14638
|
[key: string]: unknown;
|
|
14620
14639
|
};
|
|
14621
14640
|
lastVisited?: string;
|
|
14641
|
+
starred?: boolean;
|
|
14642
|
+
position?: number | null;
|
|
14622
14643
|
id: string;
|
|
14623
14644
|
name: string;
|
|
14624
14645
|
projects: Array<number>;
|
|
@@ -14833,6 +14854,8 @@ export type UpdateOrganizationDiscoverSavedQueryResponses = {
|
|
|
14833
14854
|
[key: string]: unknown;
|
|
14834
14855
|
};
|
|
14835
14856
|
lastVisited?: string;
|
|
14857
|
+
starred?: boolean;
|
|
14858
|
+
position?: number | null;
|
|
14836
14859
|
id: string;
|
|
14837
14860
|
name: string;
|
|
14838
14861
|
projects: Array<number>;
|
|
@@ -25167,6 +25190,98 @@ export type ListOrganizationTraceItemAttributesResponses = {
|
|
|
25167
25190
|
}>;
|
|
25168
25191
|
};
|
|
25169
25192
|
export type ListOrganizationTraceItemAttributesResponse = ListOrganizationTraceItemAttributesResponses[keyof ListOrganizationTraceItemAttributesResponses];
|
|
25193
|
+
export type ListOrganizationTraceMetricsData = {
|
|
25194
|
+
body?: never;
|
|
25195
|
+
path: {
|
|
25196
|
+
/**
|
|
25197
|
+
* The ID or slug of the organization the resource belongs to.
|
|
25198
|
+
*/
|
|
25199
|
+
organization_id_or_slug: string;
|
|
25200
|
+
};
|
|
25201
|
+
query?: {
|
|
25202
|
+
/**
|
|
25203
|
+
* The IDs or slugs of projects to filter by. Project slugs are unique within each organization. Omit this parameter to include all accessible projects. `-1` is also accepted to include all accessible projects.
|
|
25204
|
+
* For example, the following are valid parameters:
|
|
25205
|
+
* - `/?project=1234&project=56789`
|
|
25206
|
+
* - `/?project=android&project=javascript-react`
|
|
25207
|
+
* - `/?project=-1`
|
|
25208
|
+
*
|
|
25209
|
+
*/
|
|
25210
|
+
project?: Array<number | string>;
|
|
25211
|
+
/**
|
|
25212
|
+
* The name of environments to filter by.
|
|
25213
|
+
*/
|
|
25214
|
+
environment?: Array<string>;
|
|
25215
|
+
/**
|
|
25216
|
+
* The period of time for the query, will override the start & end parameters, a number followed by one of:
|
|
25217
|
+
* - `d` for days
|
|
25218
|
+
* - `h` for hours
|
|
25219
|
+
* - `m` for minutes
|
|
25220
|
+
* - `s` for seconds
|
|
25221
|
+
* - `w` for weeks
|
|
25222
|
+
*
|
|
25223
|
+
* For example, `24h`, to mean query data starting from 24 hours ago to now.
|
|
25224
|
+
*/
|
|
25225
|
+
statsPeriod?: string;
|
|
25226
|
+
/**
|
|
25227
|
+
* The start of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
|
|
25228
|
+
*/
|
|
25229
|
+
start?: string;
|
|
25230
|
+
/**
|
|
25231
|
+
* The end of the period of time for the query, expected in ISO-8601 format. For example, `2001-12-14T12:34:56.7890`.
|
|
25232
|
+
*/
|
|
25233
|
+
end?: string;
|
|
25234
|
+
/**
|
|
25235
|
+
* Search query to filter metrics, using the same syntax as the metrics dataset.
|
|
25236
|
+
*/
|
|
25237
|
+
query?: string;
|
|
25238
|
+
/**
|
|
25239
|
+
* Response field to sort by, prefixed with `-` for descending. Defaults to metric name ascending.
|
|
25240
|
+
*/
|
|
25241
|
+
sort?: '-count' | '-lastSeen' | '-name' | '-type' | '-unit' | 'count' | 'lastSeen' | 'name' | 'type' | 'unit';
|
|
25242
|
+
/**
|
|
25243
|
+
* Optional fields to expand. Pass `context` to include each metric's authored context (brief and details), which describes what the metric measures. Requires the `data-browsing-attribute-context` feature; without it the `context` field is omitted.
|
|
25244
|
+
*/
|
|
25245
|
+
expand?: Array<'context'>;
|
|
25246
|
+
/**
|
|
25247
|
+
* Return only metrics that have authored context, and include that context in the response. Use this to discover the metrics that are described well enough to query confidently. Requires the `data-browsing-attribute-context` feature; without it this is a no-op.
|
|
25248
|
+
*/
|
|
25249
|
+
contextOnly?: boolean;
|
|
25250
|
+
};
|
|
25251
|
+
url: '/api/0/organizations/{organization_id_or_slug}/trace-items/metrics/';
|
|
25252
|
+
};
|
|
25253
|
+
export type ListOrganizationTraceMetricsErrors = {
|
|
25254
|
+
/**
|
|
25255
|
+
* Bad Request
|
|
25256
|
+
*/
|
|
25257
|
+
400: unknown;
|
|
25258
|
+
/**
|
|
25259
|
+
* Unauthorized
|
|
25260
|
+
*/
|
|
25261
|
+
401: unknown;
|
|
25262
|
+
/**
|
|
25263
|
+
* Forbidden
|
|
25264
|
+
*/
|
|
25265
|
+
403: unknown;
|
|
25266
|
+
/**
|
|
25267
|
+
* Not Found
|
|
25268
|
+
*/
|
|
25269
|
+
404: unknown;
|
|
25270
|
+
};
|
|
25271
|
+
export type ListOrganizationTraceMetricsResponses = {
|
|
25272
|
+
200: Array<{
|
|
25273
|
+
name: string;
|
|
25274
|
+
type: 'counter' | 'gauge' | 'distribution';
|
|
25275
|
+
unit: string | null;
|
|
25276
|
+
count: number;
|
|
25277
|
+
lastSeen: number | null;
|
|
25278
|
+
context?: {
|
|
25279
|
+
brief?: string;
|
|
25280
|
+
details?: Array<string>;
|
|
25281
|
+
};
|
|
25282
|
+
}>;
|
|
25283
|
+
};
|
|
25284
|
+
export type ListOrganizationTraceMetricsResponse2 = ListOrganizationTraceMetricsResponses[keyof ListOrganizationTraceMetricsResponses];
|
|
25170
25285
|
export type ListOrganizationTraceItemsStatsData = {
|
|
25171
25286
|
body?: never;
|
|
25172
25287
|
path: {
|
package/dist/valibot.gen.d.ts
CHANGED
|
@@ -1063,6 +1063,8 @@ export declare const vDiscoverSavedQueryListResponse: v.ArraySchema<v.ObjectSche
|
|
|
1063
1063
|
readonly interval: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1064
1064
|
readonly exploreQuery: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1065
1065
|
readonly lastVisited: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1066
|
+
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1067
|
+
readonly position: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
1066
1068
|
readonly id: v.StringSchema<undefined>;
|
|
1067
1069
|
readonly name: v.StringSchema<undefined>;
|
|
1068
1070
|
readonly projects: v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
@@ -1135,6 +1137,8 @@ export declare const vDiscoverSavedQueryModel: v.ObjectSchema<{
|
|
|
1135
1137
|
readonly interval: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1136
1138
|
readonly exploreQuery: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
1137
1139
|
readonly lastVisited: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1140
|
+
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1141
|
+
readonly position: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
1138
1142
|
readonly id: v.StringSchema<undefined>;
|
|
1139
1143
|
readonly name: v.StringSchema<undefined>;
|
|
1140
1144
|
readonly projects: v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
@@ -3106,6 +3110,17 @@ export declare const vListOrganizationTagsResponse: v.ArraySchema<v.ObjectSchema
|
|
|
3106
3110
|
readonly key: v.StringSchema<undefined>;
|
|
3107
3111
|
readonly name: v.StringSchema<undefined>;
|
|
3108
3112
|
}, undefined>, undefined>;
|
|
3113
|
+
export declare const vListOrganizationTraceMetricsResponse: v.ArraySchema<v.ObjectSchema<{
|
|
3114
|
+
readonly name: v.StringSchema<undefined>;
|
|
3115
|
+
readonly type: v.PicklistSchema<["counter", "gauge", "distribution"], undefined>;
|
|
3116
|
+
readonly unit: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
3117
|
+
readonly count: v.NumberSchema<undefined>;
|
|
3118
|
+
readonly lastSeen: v.UnionSchema<[v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
3119
|
+
readonly context: v.OptionalSchema<v.ObjectSchema<{
|
|
3120
|
+
readonly brief: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3121
|
+
readonly details: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3122
|
+
}, undefined>, undefined>;
|
|
3123
|
+
}, undefined>, undefined>;
|
|
3109
3124
|
export declare const vListOrganizations: v.ArraySchema<v.ObjectSchema<{
|
|
3110
3125
|
readonly features: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3111
3126
|
readonly extraOptions: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>, undefined>;
|
|
@@ -7913,6 +7928,8 @@ export declare const vListOrganizationDiscoverSavedQueriesResponse: v.ArraySchem
|
|
|
7913
7928
|
readonly interval: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
7914
7929
|
readonly exploreQuery: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
7915
7930
|
readonly lastVisited: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
7931
|
+
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
7932
|
+
readonly position: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
7916
7933
|
readonly id: v.StringSchema<undefined>;
|
|
7917
7934
|
readonly name: v.StringSchema<undefined>;
|
|
7918
7935
|
readonly projects: v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
@@ -8014,6 +8031,8 @@ export declare const vCreateOrganizationDiscoverSavedQueryResponse: v.ObjectSche
|
|
|
8014
8031
|
readonly interval: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
8015
8032
|
readonly exploreQuery: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
8016
8033
|
readonly lastVisited: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
8034
|
+
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
8035
|
+
readonly position: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
8017
8036
|
readonly id: v.StringSchema<undefined>;
|
|
8018
8037
|
readonly name: v.StringSchema<undefined>;
|
|
8019
8038
|
readonly projects: v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
@@ -8106,6 +8125,8 @@ export declare const vGetOrganizationDiscoverSavedQueryResponse: v.ObjectSchema<
|
|
|
8106
8125
|
readonly interval: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
8107
8126
|
readonly exploreQuery: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
8108
8127
|
readonly lastVisited: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
8128
|
+
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
8129
|
+
readonly position: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
8109
8130
|
readonly id: v.StringSchema<undefined>;
|
|
8110
8131
|
readonly name: v.StringSchema<undefined>;
|
|
8111
8132
|
readonly projects: v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
@@ -8208,6 +8229,8 @@ export declare const vUpdateOrganizationDiscoverSavedQueryResponse: v.ObjectSche
|
|
|
8208
8229
|
readonly interval: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
8209
8230
|
readonly exploreQuery: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
8210
8231
|
readonly lastVisited: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
8232
|
+
readonly starred: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
8233
|
+
readonly position: v.OptionalSchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, v.NullSchema<undefined>], undefined>, undefined>;
|
|
8211
8234
|
readonly id: v.StringSchema<undefined>;
|
|
8212
8235
|
readonly name: v.StringSchema<undefined>;
|
|
8213
8236
|
readonly projects: v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
@@ -12889,6 +12912,34 @@ export declare const vListOrganizationTraceItemAttributesResponse: v.ArraySchema
|
|
|
12889
12912
|
}, undefined>;
|
|
12890
12913
|
readonly attributeType: v.PicklistSchema<["string", "number", "boolean", "array"], undefined>;
|
|
12891
12914
|
}, undefined>, undefined>;
|
|
12915
|
+
export declare const vListOrganizationTraceMetricsData: v.ObjectSchema<{
|
|
12916
|
+
readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
12917
|
+
readonly path: v.ObjectSchema<{
|
|
12918
|
+
readonly organization_id_or_slug: v.StringSchema<undefined>;
|
|
12919
|
+
}, undefined>;
|
|
12920
|
+
readonly query: v.OptionalSchema<v.ObjectSchema<{
|
|
12921
|
+
readonly project: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
|
|
12922
|
+
readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
12923
|
+
readonly statsPeriod: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
12924
|
+
readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
|
|
12925
|
+
readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
|
|
12926
|
+
readonly query: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
12927
|
+
readonly sort: v.OptionalSchema<v.PicklistSchema<["-count", "-lastSeen", "-name", "-type", "-unit", "count", "lastSeen", "name", "type", "unit"], undefined>, undefined>;
|
|
12928
|
+
readonly expand: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["context"], undefined>, undefined>, undefined>;
|
|
12929
|
+
readonly contextOnly: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
12930
|
+
}, undefined>, undefined>;
|
|
12931
|
+
}, undefined>;
|
|
12932
|
+
export declare const vListOrganizationTraceMetricsResponse2: v.ArraySchema<v.ObjectSchema<{
|
|
12933
|
+
readonly name: v.StringSchema<undefined>;
|
|
12934
|
+
readonly type: v.PicklistSchema<["counter", "gauge", "distribution"], undefined>;
|
|
12935
|
+
readonly unit: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
12936
|
+
readonly count: v.NumberSchema<undefined>;
|
|
12937
|
+
readonly lastSeen: v.UnionSchema<[v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
12938
|
+
readonly context: v.OptionalSchema<v.ObjectSchema<{
|
|
12939
|
+
readonly brief: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
12940
|
+
readonly details: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
12941
|
+
}, undefined>, undefined>;
|
|
12942
|
+
}, undefined>, undefined>;
|
|
12892
12943
|
export declare const vListOrganizationTraceItemsStatsData: v.ObjectSchema<{
|
|
12893
12944
|
readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
|
|
12894
12945
|
readonly path: v.ObjectSchema<{
|
package/dist/valibot.js
CHANGED
|
@@ -1732,6 +1732,8 @@ var vDiscoverSavedQueryListResponse = v.array(v.object({
|
|
|
1732
1732
|
interval: v.optional(v.string()),
|
|
1733
1733
|
exploreQuery: v.optional(v.record(v.string(), v.unknown())),
|
|
1734
1734
|
lastVisited: v.optional(v.string()),
|
|
1735
|
+
starred: v.optional(v.boolean()),
|
|
1736
|
+
position: v.optional(v.union([v.pipe(v.number(), v.integer()), v.null()])),
|
|
1735
1737
|
id: v.string(),
|
|
1736
1738
|
name: v.string(),
|
|
1737
1739
|
projects: v.array(v.pipe(v.number(), v.integer())),
|
|
@@ -1804,6 +1806,8 @@ var vDiscoverSavedQueryModel = v.object({
|
|
|
1804
1806
|
interval: v.optional(v.string()),
|
|
1805
1807
|
exploreQuery: v.optional(v.record(v.string(), v.unknown())),
|
|
1806
1808
|
lastVisited: v.optional(v.string()),
|
|
1809
|
+
starred: v.optional(v.boolean()),
|
|
1810
|
+
position: v.optional(v.union([v.pipe(v.number(), v.integer()), v.null()])),
|
|
1807
1811
|
id: v.string(),
|
|
1808
1812
|
name: v.string(),
|
|
1809
1813
|
projects: v.array(v.pipe(v.number(), v.integer())),
|
|
@@ -3903,6 +3907,21 @@ var vListOrganizationTagsResponse = v.array(v.object({
|
|
|
3903
3907
|
key: v.string(),
|
|
3904
3908
|
name: v.string()
|
|
3905
3909
|
}));
|
|
3910
|
+
var vListOrganizationTraceMetricsResponse = v.array(v.object({
|
|
3911
|
+
name: v.string(),
|
|
3912
|
+
type: v.picklist([
|
|
3913
|
+
"counter",
|
|
3914
|
+
"gauge",
|
|
3915
|
+
"distribution"
|
|
3916
|
+
]),
|
|
3917
|
+
unit: v.union([v.string(), v.null()]),
|
|
3918
|
+
count: v.number(),
|
|
3919
|
+
lastSeen: v.union([v.number(), v.null()]),
|
|
3920
|
+
context: v.optional(v.object({
|
|
3921
|
+
brief: v.optional(v.string()),
|
|
3922
|
+
details: v.optional(v.array(v.string()))
|
|
3923
|
+
}))
|
|
3924
|
+
}));
|
|
3906
3925
|
var vListOrganizations = v.array(v.object({
|
|
3907
3926
|
features: v.optional(v.array(v.string())),
|
|
3908
3927
|
extraOptions: v.optional(v.record(v.string(), v.record(v.string(), v.unknown()))),
|
|
@@ -9681,6 +9700,8 @@ var vListOrganizationDiscoverSavedQueriesResponse = v.array(v.object({
|
|
|
9681
9700
|
interval: v.optional(v.string()),
|
|
9682
9701
|
exploreQuery: v.optional(v.record(v.string(), v.unknown())),
|
|
9683
9702
|
lastVisited: v.optional(v.string()),
|
|
9703
|
+
starred: v.optional(v.boolean()),
|
|
9704
|
+
position: v.optional(v.union([v.pipe(v.number(), v.integer()), v.null()])),
|
|
9684
9705
|
id: v.string(),
|
|
9685
9706
|
name: v.string(),
|
|
9686
9707
|
projects: v.array(v.pipe(v.number(), v.integer())),
|
|
@@ -9786,6 +9807,8 @@ var vCreateOrganizationDiscoverSavedQueryResponse = v.object({
|
|
|
9786
9807
|
interval: v.optional(v.string()),
|
|
9787
9808
|
exploreQuery: v.optional(v.record(v.string(), v.unknown())),
|
|
9788
9809
|
lastVisited: v.optional(v.string()),
|
|
9810
|
+
starred: v.optional(v.boolean()),
|
|
9811
|
+
position: v.optional(v.union([v.pipe(v.number(), v.integer()), v.null()])),
|
|
9789
9812
|
id: v.string(),
|
|
9790
9813
|
name: v.string(),
|
|
9791
9814
|
projects: v.array(v.pipe(v.number(), v.integer())),
|
|
@@ -9875,6 +9898,8 @@ var vGetOrganizationDiscoverSavedQueryResponse = v.object({
|
|
|
9875
9898
|
interval: v.optional(v.string()),
|
|
9876
9899
|
exploreQuery: v.optional(v.record(v.string(), v.unknown())),
|
|
9877
9900
|
lastVisited: v.optional(v.string()),
|
|
9901
|
+
starred: v.optional(v.boolean()),
|
|
9902
|
+
position: v.optional(v.union([v.pipe(v.number(), v.integer()), v.null()])),
|
|
9878
9903
|
id: v.string(),
|
|
9879
9904
|
name: v.string(),
|
|
9880
9905
|
projects: v.array(v.pipe(v.number(), v.integer())),
|
|
@@ -9981,6 +10006,8 @@ var vUpdateOrganizationDiscoverSavedQueryResponse = v.object({
|
|
|
9981
10006
|
interval: v.optional(v.string()),
|
|
9982
10007
|
exploreQuery: v.optional(v.record(v.string(), v.unknown())),
|
|
9983
10008
|
lastVisited: v.optional(v.string()),
|
|
10009
|
+
starred: v.optional(v.boolean()),
|
|
10010
|
+
position: v.optional(v.union([v.pipe(v.number(), v.integer()), v.null()])),
|
|
9984
10011
|
id: v.string(),
|
|
9985
10012
|
name: v.string(),
|
|
9986
10013
|
projects: v.array(v.pipe(v.number(), v.integer())),
|
|
@@ -16273,6 +16300,49 @@ var vListOrganizationTraceItemAttributesResponse = v.array(v.object({
|
|
|
16273
16300
|
"array"
|
|
16274
16301
|
])
|
|
16275
16302
|
}));
|
|
16303
|
+
var vListOrganizationTraceMetricsData = v.object({
|
|
16304
|
+
body: v.optional(v.never()),
|
|
16305
|
+
path: v.object({
|
|
16306
|
+
organization_id_or_slug: v.string()
|
|
16307
|
+
}),
|
|
16308
|
+
query: v.optional(v.object({
|
|
16309
|
+
project: v.optional(v.array(v.unknown())),
|
|
16310
|
+
environment: v.optional(v.array(v.string())),
|
|
16311
|
+
statsPeriod: v.optional(v.string()),
|
|
16312
|
+
start: v.optional(v.pipe(v.string(), v.isoTimestamp())),
|
|
16313
|
+
end: v.optional(v.pipe(v.string(), v.isoTimestamp())),
|
|
16314
|
+
query: v.optional(v.string()),
|
|
16315
|
+
sort: v.optional(v.picklist([
|
|
16316
|
+
"-count",
|
|
16317
|
+
"-lastSeen",
|
|
16318
|
+
"-name",
|
|
16319
|
+
"-type",
|
|
16320
|
+
"-unit",
|
|
16321
|
+
"count",
|
|
16322
|
+
"lastSeen",
|
|
16323
|
+
"name",
|
|
16324
|
+
"type",
|
|
16325
|
+
"unit"
|
|
16326
|
+
])),
|
|
16327
|
+
expand: v.optional(v.array(v.picklist(["context"]))),
|
|
16328
|
+
contextOnly: v.optional(v.boolean())
|
|
16329
|
+
}))
|
|
16330
|
+
});
|
|
16331
|
+
var vListOrganizationTraceMetricsResponse2 = v.array(v.object({
|
|
16332
|
+
name: v.string(),
|
|
16333
|
+
type: v.picklist([
|
|
16334
|
+
"counter",
|
|
16335
|
+
"gauge",
|
|
16336
|
+
"distribution"
|
|
16337
|
+
]),
|
|
16338
|
+
unit: v.union([v.string(), v.null()]),
|
|
16339
|
+
count: v.number(),
|
|
16340
|
+
lastSeen: v.union([v.number(), v.null()]),
|
|
16341
|
+
context: v.optional(v.object({
|
|
16342
|
+
brief: v.optional(v.string()),
|
|
16343
|
+
details: v.optional(v.array(v.string()))
|
|
16344
|
+
}))
|
|
16345
|
+
}));
|
|
16276
16346
|
var vListOrganizationTraceItemsStatsData = v.object({
|
|
16277
16347
|
body: v.optional(v.never()),
|
|
16278
16348
|
path: v.object({
|
|
@@ -22719,6 +22789,9 @@ export {
|
|
|
22719
22789
|
vListOrganizationWorkflowsData,
|
|
22720
22790
|
vListOrganizationUserTeamsResponse,
|
|
22721
22791
|
vListOrganizationUserTeamsData,
|
|
22792
|
+
vListOrganizationTraceMetricsResponse2,
|
|
22793
|
+
vListOrganizationTraceMetricsResponse,
|
|
22794
|
+
vListOrganizationTraceMetricsData,
|
|
22722
22795
|
vListOrganizationTraceItemsStatsResponse,
|
|
22723
22796
|
vListOrganizationTraceItemsStatsData,
|
|
22724
22797
|
vListOrganizationTraceItemAttributesResponse,
|