@sentry/api 0.384.0 → 0.385.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.
@@ -11179,6 +11179,12 @@ export type SourceMapDebug = {
11179
11179
  sdk_debug_id_support: 'not-supported' | 'unofficial-sdk' | 'needs-upgrade' | 'full';
11180
11180
  has_scraping_data: boolean;
11181
11181
  };
11182
+ export type StackPrefixesResponse = {
11183
+ prefixes: Array<{
11184
+ path: string;
11185
+ fileCount: number;
11186
+ }>;
11187
+ };
11182
11188
  export type StacktraceLinkResponse = {
11183
11189
  sourcePath?: string | null;
11184
11190
  attemptedUrl?: string | null;
@@ -24637,7 +24643,7 @@ export type ListOrganizationReplaysData = {
24637
24643
  /**
24638
24644
  * Specifies a field that should be marshaled in the output. Invalid fields will be rejected.
24639
24645
  */
24640
- field?: Array<'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'>;
24646
+ field?: Array<'activity' | 'browser' | 'clicks' | 'count_dead_clicks' | 'count_errors' | 'count_infos' | 'count_rage_clicks' | 'count_segments' | 'count_urls' | 'count_warnings' | 'device' | 'dist' | 'duration' | 'environment' | 'error_ids' | 'finished_at' | 'has_viewed' | 'id' | 'info_ids' | 'is_archived' | 'os' | 'ota_updates' | 'platform' | 'project_id' | 'releases' | 'replay_type' | 'sdk' | 'segment_names' | 'started_at' | 'tags' | 'trace_ids' | 'urls' | 'user' | 'warning_ids'>;
24641
24647
  /**
24642
24648
  * A list of project IDs or slugs to filter by.
24643
24649
  */
@@ -24803,7 +24809,7 @@ export type GetOrganizationReplayData = {
24803
24809
  /**
24804
24810
  * Specifies a field that should be marshaled in the output. Invalid fields will be rejected.
24805
24811
  */
24806
- field?: Array<'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'>;
24812
+ field?: Array<'activity' | 'browser' | 'clicks' | 'count_dead_clicks' | 'count_errors' | 'count_infos' | 'count_rage_clicks' | 'count_segments' | 'count_urls' | 'count_warnings' | 'device' | 'dist' | 'duration' | 'environment' | 'error_ids' | 'finished_at' | 'has_viewed' | 'id' | 'info_ids' | 'is_archived' | 'os' | 'ota_updates' | 'platform' | 'project_id' | 'releases' | 'replay_type' | 'sdk' | 'segment_names' | 'started_at' | 'tags' | 'trace_ids' | 'urls' | 'user' | 'warning_ids'>;
24807
24813
  /**
24808
24814
  * A list of project IDs or slugs to filter by.
24809
24815
  */
@@ -30545,6 +30551,44 @@ export type UpdateProjectResponses = {
30545
30551
  };
30546
30552
  };
30547
30553
  export type UpdateProjectResponse = UpdateProjectResponses[keyof UpdateProjectResponses];
30554
+ export type ListStackCodeMappingPrefixesData = {
30555
+ body?: never;
30556
+ path: {
30557
+ /**
30558
+ * The ID or slug of the organization the resource belongs to.
30559
+ */
30560
+ organization_id_or_slug: string;
30561
+ /**
30562
+ * The ID or slug of the project the resource belongs to. Project slugs are unique within each organization.
30563
+ */
30564
+ project_id_or_slug: string;
30565
+ };
30566
+ query?: never;
30567
+ url: '/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/code-mapping-prefixes/stack/';
30568
+ };
30569
+ export type ListStackCodeMappingPrefixesErrors = {
30570
+ /**
30571
+ * Unauthorized
30572
+ */
30573
+ 401: unknown;
30574
+ /**
30575
+ * Forbidden
30576
+ */
30577
+ 403: unknown;
30578
+ /**
30579
+ * Not Found
30580
+ */
30581
+ 404: unknown;
30582
+ };
30583
+ export type ListStackCodeMappingPrefixesResponses = {
30584
+ 200: {
30585
+ prefixes: Array<{
30586
+ path: string;
30587
+ fileCount: number;
30588
+ }>;
30589
+ };
30590
+ };
30591
+ export type ListStackCodeMappingPrefixesResponse = ListStackCodeMappingPrefixesResponses[keyof ListStackCodeMappingPrefixesResponses];
30548
30592
  export type ListProjectCodeOwnersData = {
30549
30593
  body?: never;
30550
30594
  path: {
@@ -6892,6 +6892,12 @@ export declare const vSourceMapDebug: v.ObjectSchema<{
6892
6892
  readonly sdk_debug_id_support: v.PicklistSchema<["not-supported", "unofficial-sdk", "needs-upgrade", "full"], undefined>;
6893
6893
  readonly has_scraping_data: v.BooleanSchema<undefined>;
6894
6894
  }, undefined>;
6895
+ export declare const vStackPrefixesResponse: v.ObjectSchema<{
6896
+ readonly prefixes: v.ArraySchema<v.ObjectSchema<{
6897
+ readonly path: v.StringSchema<undefined>;
6898
+ readonly fileCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
6899
+ }, undefined>, undefined>;
6900
+ }, undefined>;
6895
6901
  export declare const vStacktraceLinkResponse: v.ObjectSchema<{
6896
6902
  readonly sourcePath: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
6897
6903
  readonly attemptedUrl: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>, undefined>;
@@ -12664,7 +12670,7 @@ export declare const vListOrganizationReplaysData: v.ObjectSchema<{
12664
12670
  readonly statsPeriod: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
12665
12671
  readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
12666
12672
  readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
12667
- 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>;
12673
+ readonly field: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["activity", "browser", "clicks", "count_dead_clicks", "count_errors", "count_infos", "count_rage_clicks", "count_segments", "count_urls", "count_warnings", "device", "dist", "duration", "environment", "error_ids", "finished_at", "has_viewed", "id", "info_ids", "is_archived", "os", "ota_updates", "platform", "project_id", "releases", "replay_type", "sdk", "segment_names", "started_at", "tags", "trace_ids", "urls", "user", "warning_ids"], undefined>, undefined>, undefined>;
12668
12674
  readonly project: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
12669
12675
  readonly projectSlug: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
12670
12676
  readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -12753,7 +12759,7 @@ export declare const vGetOrganizationReplayData: v.ObjectSchema<{
12753
12759
  readonly statsPeriod: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
12754
12760
  readonly start: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
12755
12761
  readonly end: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
12756
- 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>;
12762
+ readonly field: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["activity", "browser", "clicks", "count_dead_clicks", "count_errors", "count_infos", "count_rage_clicks", "count_segments", "count_urls", "count_warnings", "device", "dist", "duration", "environment", "error_ids", "finished_at", "has_viewed", "id", "info_ids", "is_archived", "os", "ota_updates", "platform", "project_id", "releases", "replay_type", "sdk", "segment_names", "started_at", "tags", "trace_ids", "urls", "user", "warning_ids"], undefined>, undefined>, undefined>;
12757
12763
  readonly project: v.OptionalSchema<v.ArraySchema<v.UnknownSchema, undefined>, undefined>;
12758
12764
  readonly projectSlug: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
12759
12765
  readonly environment: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
@@ -14967,6 +14973,20 @@ export declare const vUpdateProjectResponse: v.ObjectSchema<{
14967
14973
  readonly scmSourceContextEnabled: v.BooleanSchema<undefined>;
14968
14974
  readonly debugFilesRole: v.UnionSchema<[v.StringSchema<undefined>, v.NullSchema<undefined>], undefined>;
14969
14975
  }, undefined>;
14976
+ export declare const vListStackCodeMappingPrefixesData: v.ObjectSchema<{
14977
+ readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
14978
+ readonly path: v.ObjectSchema<{
14979
+ readonly organization_id_or_slug: v.StringSchema<undefined>;
14980
+ readonly project_id_or_slug: v.StringSchema<undefined>;
14981
+ }, undefined>;
14982
+ readonly query: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
14983
+ }, undefined>;
14984
+ export declare const vListStackCodeMappingPrefixesResponse: v.ObjectSchema<{
14985
+ readonly prefixes: v.ArraySchema<v.ObjectSchema<{
14986
+ readonly path: v.StringSchema<undefined>;
14987
+ readonly fileCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
14988
+ }, undefined>, undefined>;
14989
+ }, undefined>;
14970
14990
  export declare const vListProjectCodeOwnersData: v.ObjectSchema<{
14971
14991
  readonly body: v.OptionalSchema<v.NeverSchema<undefined>, undefined>;
14972
14992
  readonly path: v.ObjectSchema<{
package/dist/valibot.js CHANGED
@@ -8642,6 +8642,12 @@ var vSourceMapDebug = v.object({
8642
8642
  ]),
8643
8643
  has_scraping_data: v.boolean()
8644
8644
  });
8645
+ var vStackPrefixesResponse = v.object({
8646
+ prefixes: v.array(v.object({
8647
+ path: v.string(),
8648
+ fileCount: v.pipe(v.number(), v.integer())
8649
+ }))
8650
+ });
8645
8651
  var vStacktraceLinkResponse = v.object({
8646
8652
  sourcePath: v.optional(v.union([v.string(), v.null()])),
8647
8653
  attemptedUrl: v.optional(v.union([v.string(), v.null()])),
@@ -16051,36 +16057,38 @@ var vListOrganizationReplaysData = v.object({
16051
16057
  field: v.optional(v.array(v.picklist([
16052
16058
  "activity",
16053
16059
  "browser",
16060
+ "clicks",
16054
16061
  "count_dead_clicks",
16055
16062
  "count_errors",
16063
+ "count_infos",
16056
16064
  "count_rage_clicks",
16057
16065
  "count_segments",
16058
16066
  "count_urls",
16067
+ "count_warnings",
16059
16068
  "device",
16060
16069
  "dist",
16061
16070
  "duration",
16062
16071
  "environment",
16063
16072
  "error_ids",
16064
16073
  "finished_at",
16074
+ "has_viewed",
16065
16075
  "id",
16076
+ "info_ids",
16066
16077
  "is_archived",
16067
16078
  "os",
16079
+ "ota_updates",
16068
16080
  "platform",
16069
16081
  "project_id",
16070
16082
  "releases",
16083
+ "replay_type",
16071
16084
  "sdk",
16085
+ "segment_names",
16072
16086
  "started_at",
16073
16087
  "tags",
16074
16088
  "trace_ids",
16075
- "segment_names",
16076
16089
  "urls",
16077
16090
  "user",
16078
- "clicks",
16079
- "info_ids",
16080
- "warning_ids",
16081
- "count_warnings",
16082
- "count_infos",
16083
- "has_viewed"
16091
+ "warning_ids"
16084
16092
  ]))),
16085
16093
  project: v.optional(v.array(v.unknown())),
16086
16094
  projectSlug: v.optional(v.array(v.string())),
@@ -16173,36 +16181,38 @@ var vGetOrganizationReplayData = v.object({
16173
16181
  field: v.optional(v.array(v.picklist([
16174
16182
  "activity",
16175
16183
  "browser",
16184
+ "clicks",
16176
16185
  "count_dead_clicks",
16177
16186
  "count_errors",
16187
+ "count_infos",
16178
16188
  "count_rage_clicks",
16179
16189
  "count_segments",
16180
16190
  "count_urls",
16191
+ "count_warnings",
16181
16192
  "device",
16182
16193
  "dist",
16183
16194
  "duration",
16184
16195
  "environment",
16185
16196
  "error_ids",
16186
16197
  "finished_at",
16198
+ "has_viewed",
16187
16199
  "id",
16200
+ "info_ids",
16188
16201
  "is_archived",
16189
16202
  "os",
16203
+ "ota_updates",
16190
16204
  "platform",
16191
16205
  "project_id",
16192
16206
  "releases",
16207
+ "replay_type",
16193
16208
  "sdk",
16209
+ "segment_names",
16194
16210
  "started_at",
16195
16211
  "tags",
16196
16212
  "trace_ids",
16197
- "segment_names",
16198
16213
  "urls",
16199
16214
  "user",
16200
- "clicks",
16201
- "info_ids",
16202
- "warning_ids",
16203
- "count_warnings",
16204
- "count_infos",
16205
- "has_viewed"
16215
+ "warning_ids"
16206
16216
  ]))),
16207
16217
  project: v.optional(v.array(v.unknown())),
16208
16218
  projectSlug: v.optional(v.array(v.string())),
@@ -18567,6 +18577,20 @@ var vUpdateProjectResponse = v.object({
18567
18577
  scmSourceContextEnabled: v.boolean(),
18568
18578
  debugFilesRole: v.union([v.string(), v.null()])
18569
18579
  });
18580
+ var vListStackCodeMappingPrefixesData = v.object({
18581
+ body: v.optional(v.never()),
18582
+ path: v.object({
18583
+ organization_id_or_slug: v.string(),
18584
+ project_id_or_slug: v.string()
18585
+ }),
18586
+ query: v.optional(v.never())
18587
+ });
18588
+ var vListStackCodeMappingPrefixesResponse = v.object({
18589
+ prefixes: v.array(v.object({
18590
+ path: v.string(),
18591
+ fileCount: v.pipe(v.number(), v.integer())
18592
+ }))
18593
+ });
18570
18594
  var vListProjectCodeOwnersData = v.object({
18571
18595
  body: v.optional(v.never()),
18572
18596
  path: v.object({
@@ -24780,6 +24804,7 @@ export {
24780
24804
  vStarSegment,
24781
24805
  vStarOrganizationServiceSpanData,
24782
24806
  vStacktraceLinkResponse,
24807
+ vStackPrefixesResponse,
24783
24808
  vSourceMapDebug,
24784
24809
  vSource,
24785
24810
  vSnapshotImageDetailResponse,
@@ -24905,6 +24930,8 @@ export {
24905
24930
  vListTeamProjectResponse,
24906
24931
  vListTeamMembersResponse,
24907
24932
  vListTeamMembersData,
24933
+ vListStackCodeMappingPrefixesResponse,
24934
+ vListStackCodeMappingPrefixesData,
24908
24935
  vListSelectors,
24909
24936
  vListSeerModelsResponse,
24910
24937
  vListSeerModelsData,