@sentry/api 0.334.0 → 0.335.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/valibot.js CHANGED
@@ -970,6 +970,42 @@ var vCreateReplayDeletionJob = v.object({
970
970
  countDeleted: v.pipe(v.number(), v.integer())
971
971
  })
972
972
  });
973
+ var vCustomInboundFilter = v.object({
974
+ id: v.pipe(v.string(), v.readonly()),
975
+ dataType: v.picklist([
976
+ "all",
977
+ "error",
978
+ "log",
979
+ "metric",
980
+ "span"
981
+ ]),
982
+ conditions: v.array(v.object({
983
+ type: v.picklist([
984
+ "error_type",
985
+ "error_message",
986
+ "log_message",
987
+ "metric_name",
988
+ "release",
989
+ "ip_address"
990
+ ]),
991
+ value: v.array(v.string())
992
+ })),
993
+ dateCreated: v.pipe(v.pipe(v.string(), v.isoTimestamp()), v.readonly()),
994
+ dateUpdated: v.pipe(v.pipe(v.string(), v.isoTimestamp()), v.readonly()),
995
+ name: v.optional(v.union([v.pipe(v.string(), v.maxLength(256)), v.null()])),
996
+ active: v.optional(v.boolean())
997
+ });
998
+ var vCustomInboundFilterCondition = v.object({
999
+ type: v.picklist([
1000
+ "error_type",
1001
+ "error_message",
1002
+ "log_message",
1003
+ "metric_name",
1004
+ "release",
1005
+ "ip_address"
1006
+ ]),
1007
+ value: v.array(v.string())
1008
+ });
973
1009
  var vDashboard = v.object({
974
1010
  title: v.pipe(v.string(), v.maxLength(255)),
975
1011
  id: v.optional(v.string()),
@@ -3053,6 +3089,9 @@ var vIssueIntegrationsResponse = v.array(v.object({
3053
3089
  displayName: v.string()
3054
3090
  }))
3055
3091
  }));
3092
+ var vIssueLinkConflict = v.object({
3093
+ detail: v.string()
3094
+ });
3056
3095
  var vLatestBaseSnapshotResponse = v.object({
3057
3096
  head_artifact_id: v.optional(v.string()),
3058
3097
  project_id: v.optional(v.string()),
@@ -5509,9 +5548,11 @@ var vOrganizationEventsTimeseriesResponse = v.object({
5509
5548
  eventCount: v.number(),
5510
5549
  byteSize: v.optional(v.number())
5511
5550
  }))),
5512
- estimatedIngestionDelaySeconds: v.optional(v.number()),
5513
- completeThrough: v.optional(v.number()),
5514
- ingestionDelayStatus: v.optional(v.string())
5551
+ ingestion: v.optional(v.object({
5552
+ status: v.string(),
5553
+ delaySeconds: v.optional(v.number()),
5554
+ completeThrough: v.optional(v.number())
5555
+ }))
5515
5556
  })),
5516
5557
  timeSeries: v.array(v.object({
5517
5558
  values: v.array(v.object({
@@ -7120,6 +7161,15 @@ var vProjectRepoLinkResponse = v.object({
7120
7161
  source: v.string(),
7121
7162
  created: v.boolean()
7122
7163
  });
7164
+ var vProjectRepoListResponse = v.array(v.object({
7165
+ id: v.string(),
7166
+ projectId: v.string(),
7167
+ repositoryId: v.string(),
7168
+ repoName: v.string(),
7169
+ source: v.string(),
7170
+ providerKey: v.union([v.string(), v.null()]),
7171
+ mappingCount: v.optional(v.pipe(v.number(), v.integer()))
7172
+ }));
7123
7173
  var vProjectSizeStatusCheckRulesResponse = v.object({
7124
7174
  enabled: v.boolean(),
7125
7175
  rules: v.array(v.object({
@@ -8548,6 +8598,28 @@ var vLegacyBrowserFilter = v.object({
8548
8598
  "edge_pre_79"
8549
8599
  ])))
8550
8600
  });
8601
+ var vCustomInboundFilterWritable = v.object({
8602
+ dataType: v.picklist([
8603
+ "all",
8604
+ "error",
8605
+ "log",
8606
+ "metric",
8607
+ "span"
8608
+ ]),
8609
+ conditions: v.array(v.object({
8610
+ type: v.picklist([
8611
+ "error_type",
8612
+ "error_message",
8613
+ "log_message",
8614
+ "metric_name",
8615
+ "release",
8616
+ "ip_address"
8617
+ ]),
8618
+ value: v.array(v.string())
8619
+ })),
8620
+ name: v.optional(v.union([v.pipe(v.string(), v.maxLength(256)), v.null()])),
8621
+ active: v.optional(v.boolean())
8622
+ });
8551
8623
  var vExternalUserWritable = v.object({
8552
8624
  user_id: v.pipe(v.number(), v.integer()),
8553
8625
  external_name: v.string(),
@@ -10514,9 +10586,11 @@ var vListOrganizationEventsTimeseriesResponse = v.object({
10514
10586
  eventCount: v.number(),
10515
10587
  byteSize: v.optional(v.number())
10516
10588
  }))),
10517
- estimatedIngestionDelaySeconds: v.optional(v.number()),
10518
- completeThrough: v.optional(v.number()),
10519
- ingestionDelayStatus: v.optional(v.string())
10589
+ ingestion: v.optional(v.object({
10590
+ status: v.string(),
10591
+ delaySeconds: v.optional(v.number()),
10592
+ completeThrough: v.optional(v.number())
10593
+ }))
10520
10594
  })),
10521
10595
  timeSeries: v.array(v.object({
10522
10596
  values: v.array(v.object({
@@ -17866,6 +17940,198 @@ var vUpdateProjectCodeOwnersResponse = v.object({
17866
17940
  codeMappingId: v.string(),
17867
17941
  provider: v.string()
17868
17942
  });
17943
+ var vListProjectCustomInboundFiltersData = v.object({
17944
+ body: v.optional(v.never()),
17945
+ path: v.object({
17946
+ organization_id_or_slug: v.string(),
17947
+ project_id_or_slug: v.string()
17948
+ }),
17949
+ query: v.optional(v.never())
17950
+ });
17951
+ var vListProjectCustomInboundFiltersResponse = v.array(v.object({
17952
+ id: v.pipe(v.string(), v.readonly()),
17953
+ dataType: v.picklist([
17954
+ "all",
17955
+ "error",
17956
+ "log",
17957
+ "metric",
17958
+ "span"
17959
+ ]),
17960
+ conditions: v.array(v.object({
17961
+ type: v.picklist([
17962
+ "error_type",
17963
+ "error_message",
17964
+ "log_message",
17965
+ "metric_name",
17966
+ "release",
17967
+ "ip_address"
17968
+ ]),
17969
+ value: v.array(v.string())
17970
+ })),
17971
+ dateCreated: v.pipe(v.pipe(v.string(), v.isoTimestamp()), v.readonly()),
17972
+ dateUpdated: v.pipe(v.pipe(v.string(), v.isoTimestamp()), v.readonly()),
17973
+ name: v.optional(v.union([v.pipe(v.string(), v.maxLength(256)), v.null()])),
17974
+ active: v.optional(v.boolean())
17975
+ }));
17976
+ var vCreateProjectCustomInboundFilterData = v.object({
17977
+ body: v.object({
17978
+ id: v.pipe(v.string(), v.readonly()),
17979
+ dataType: v.picklist([
17980
+ "all",
17981
+ "error",
17982
+ "log",
17983
+ "metric",
17984
+ "span"
17985
+ ]),
17986
+ conditions: v.array(v.object({
17987
+ type: v.picklist([
17988
+ "error_type",
17989
+ "error_message",
17990
+ "log_message",
17991
+ "metric_name",
17992
+ "release",
17993
+ "ip_address"
17994
+ ]),
17995
+ value: v.array(v.string())
17996
+ })),
17997
+ dateCreated: v.pipe(v.pipe(v.string(), v.isoTimestamp()), v.readonly()),
17998
+ dateUpdated: v.pipe(v.pipe(v.string(), v.isoTimestamp()), v.readonly()),
17999
+ name: v.optional(v.union([v.pipe(v.string(), v.maxLength(256)), v.null()])),
18000
+ active: v.optional(v.boolean())
18001
+ }),
18002
+ path: v.object({
18003
+ organization_id_or_slug: v.string(),
18004
+ project_id_or_slug: v.string()
18005
+ }),
18006
+ query: v.optional(v.never())
18007
+ });
18008
+ var vCreateProjectCustomInboundFilterResponse = v.object({
18009
+ id: v.pipe(v.string(), v.readonly()),
18010
+ dataType: v.picklist([
18011
+ "all",
18012
+ "error",
18013
+ "log",
18014
+ "metric",
18015
+ "span"
18016
+ ]),
18017
+ conditions: v.array(v.object({
18018
+ type: v.picklist([
18019
+ "error_type",
18020
+ "error_message",
18021
+ "log_message",
18022
+ "metric_name",
18023
+ "release",
18024
+ "ip_address"
18025
+ ]),
18026
+ value: v.array(v.string())
18027
+ })),
18028
+ dateCreated: v.pipe(v.pipe(v.string(), v.isoTimestamp()), v.readonly()),
18029
+ dateUpdated: v.pipe(v.pipe(v.string(), v.isoTimestamp()), v.readonly()),
18030
+ name: v.optional(v.union([v.pipe(v.string(), v.maxLength(256)), v.null()])),
18031
+ active: v.optional(v.boolean())
18032
+ });
18033
+ var vDeleteProjectCustomInboundFilterData = v.object({
18034
+ body: v.optional(v.never()),
18035
+ path: v.object({
18036
+ organization_id_or_slug: v.string(),
18037
+ project_id_or_slug: v.string(),
18038
+ filter_id: v.string()
18039
+ }),
18040
+ query: v.optional(v.never())
18041
+ });
18042
+ var vDeleteProjectCustomInboundFilterResponse = v.void();
18043
+ var vGetProjectCustomInboundFilterData = v.object({
18044
+ body: v.optional(v.never()),
18045
+ path: v.object({
18046
+ organization_id_or_slug: v.string(),
18047
+ project_id_or_slug: v.string(),
18048
+ filter_id: v.string()
18049
+ }),
18050
+ query: v.optional(v.never())
18051
+ });
18052
+ var vGetProjectCustomInboundFilterResponse = v.object({
18053
+ id: v.pipe(v.string(), v.readonly()),
18054
+ dataType: v.picklist([
18055
+ "all",
18056
+ "error",
18057
+ "log",
18058
+ "metric",
18059
+ "span"
18060
+ ]),
18061
+ conditions: v.array(v.object({
18062
+ type: v.picklist([
18063
+ "error_type",
18064
+ "error_message",
18065
+ "log_message",
18066
+ "metric_name",
18067
+ "release",
18068
+ "ip_address"
18069
+ ]),
18070
+ value: v.array(v.string())
18071
+ })),
18072
+ dateCreated: v.pipe(v.pipe(v.string(), v.isoTimestamp()), v.readonly()),
18073
+ dateUpdated: v.pipe(v.pipe(v.string(), v.isoTimestamp()), v.readonly()),
18074
+ name: v.optional(v.union([v.pipe(v.string(), v.maxLength(256)), v.null()])),
18075
+ active: v.optional(v.boolean())
18076
+ });
18077
+ var vUpdateProjectCustomInboundFilterData = v.object({
18078
+ body: v.object({
18079
+ id: v.pipe(v.string(), v.readonly()),
18080
+ dataType: v.picklist([
18081
+ "all",
18082
+ "error",
18083
+ "log",
18084
+ "metric",
18085
+ "span"
18086
+ ]),
18087
+ conditions: v.array(v.object({
18088
+ type: v.picklist([
18089
+ "error_type",
18090
+ "error_message",
18091
+ "log_message",
18092
+ "metric_name",
18093
+ "release",
18094
+ "ip_address"
18095
+ ]),
18096
+ value: v.array(v.string())
18097
+ })),
18098
+ dateCreated: v.pipe(v.pipe(v.string(), v.isoTimestamp()), v.readonly()),
18099
+ dateUpdated: v.pipe(v.pipe(v.string(), v.isoTimestamp()), v.readonly()),
18100
+ name: v.optional(v.union([v.pipe(v.string(), v.maxLength(256)), v.null()])),
18101
+ active: v.optional(v.boolean())
18102
+ }),
18103
+ path: v.object({
18104
+ organization_id_or_slug: v.string(),
18105
+ project_id_or_slug: v.string(),
18106
+ filter_id: v.string()
18107
+ }),
18108
+ query: v.optional(v.never())
18109
+ });
18110
+ var vUpdateProjectCustomInboundFilterResponse = v.object({
18111
+ id: v.pipe(v.string(), v.readonly()),
18112
+ dataType: v.picklist([
18113
+ "all",
18114
+ "error",
18115
+ "log",
18116
+ "metric",
18117
+ "span"
18118
+ ]),
18119
+ conditions: v.array(v.object({
18120
+ type: v.picklist([
18121
+ "error_type",
18122
+ "error_message",
18123
+ "log_message",
18124
+ "metric_name",
18125
+ "release",
18126
+ "ip_address"
18127
+ ]),
18128
+ value: v.array(v.string())
18129
+ })),
18130
+ dateCreated: v.pipe(v.pipe(v.string(), v.isoTimestamp()), v.readonly()),
18131
+ dateUpdated: v.pipe(v.pipe(v.string(), v.isoTimestamp()), v.readonly()),
18132
+ name: v.optional(v.union([v.pipe(v.string(), v.maxLength(256)), v.null()])),
18133
+ active: v.optional(v.boolean())
18134
+ });
17869
18135
  var vListProjectEnvironmentsData = v.object({
17870
18136
  body: v.optional(v.never()),
17871
18137
  path: v.object({
@@ -20312,6 +20578,25 @@ var vGetProjectReplayDeletionJobResponse = v.object({
20312
20578
  countDeleted: v.pipe(v.number(), v.integer())
20313
20579
  })
20314
20580
  });
20581
+ var vListProjectRepositoriesData = v.object({
20582
+ body: v.optional(v.never()),
20583
+ path: v.object({
20584
+ organization_id_or_slug: v.string(),
20585
+ project_id_or_slug: v.string()
20586
+ }),
20587
+ query: v.optional(v.object({
20588
+ includeMappingCount: v.optional(v.string())
20589
+ }))
20590
+ });
20591
+ var vListProjectRepositoriesResponse = v.array(v.object({
20592
+ id: v.string(),
20593
+ projectId: v.string(),
20594
+ repositoryId: v.string(),
20595
+ repoName: v.string(),
20596
+ source: v.string(),
20597
+ providerKey: v.union([v.string(), v.null()]),
20598
+ mappingCount: v.optional(v.pipe(v.number(), v.integer()))
20599
+ }));
20315
20600
  var vLinkProjectRepositoryData = v.object({
20316
20601
  body: v.object({
20317
20602
  repositoryId: v.pipe(v.number(), v.integer())
@@ -21084,15 +21369,23 @@ var vExecuteSentryAppInstallationExternalIssueActionData = v.object({
21084
21369
  path: v.object({
21085
21370
  uuid: v.string()
21086
21371
  }),
21087
- query: v.optional(v.never())
21372
+ query: v.optional(v.object({
21373
+ expectedExternalIssueUrl: v.optional(v.pipe(v.string(), v.url(), v.minLength(1)))
21374
+ }))
21088
21375
  });
21089
- var vExecuteSentryAppInstallationExternalIssueActionResponse = v.object({
21376
+ var vExecuteSentryAppInstallationExternalIssueActionResponse = v.union([v.object({
21090
21377
  id: v.string(),
21091
21378
  issueId: v.string(),
21092
21379
  serviceType: v.string(),
21093
21380
  displayName: v.string(),
21094
21381
  webUrl: v.string()
21095
- });
21382
+ }), v.object({
21383
+ id: v.string(),
21384
+ issueId: v.string(),
21385
+ serviceType: v.string(),
21386
+ displayName: v.string(),
21387
+ webUrl: v.string()
21388
+ })]);
21096
21389
  var vGetSentryAppInstallationExternalRequestOptionsData = v.object({
21097
21390
  body: v.optional(v.never()),
21098
21391
  path: v.object({
@@ -23152,13 +23445,19 @@ var vUpdateOrganizationIssueIntegrationData = v.object({
23152
23445
  }),
23153
23446
  query: v.optional(v.never())
23154
23447
  });
23155
- var vUpdateOrganizationIssueIntegrationResponse = v.object({
23448
+ var vUpdateOrganizationIssueIntegrationResponse = v.union([v.object({
23156
23449
  id: v.pipe(v.number(), v.integer()),
23157
23450
  key: v.string(),
23158
23451
  url: v.string(),
23159
23452
  integrationId: v.pipe(v.number(), v.integer()),
23160
23453
  displayName: v.string()
23161
- });
23454
+ }), v.object({
23455
+ id: v.pipe(v.number(), v.integer()),
23456
+ key: v.string(),
23457
+ url: v.string(),
23458
+ integrationId: v.pipe(v.number(), v.integer()),
23459
+ displayName: v.string()
23460
+ })]);
23162
23461
  var vGetOrganizationIssueTagData = v.object({
23163
23462
  body: v.optional(v.never()),
23164
23463
  path: v.object({
@@ -23223,6 +23522,8 @@ export {
23223
23522
  vUpdateProjectEnvironmentResponse,
23224
23523
  vUpdateProjectEnvironmentData,
23225
23524
  vUpdateProjectData,
23525
+ vUpdateProjectCustomInboundFilterResponse,
23526
+ vUpdateProjectCustomInboundFilterData,
23226
23527
  vUpdateProjectCodeOwnersResponse,
23227
23528
  vUpdateProjectCodeOwnersData,
23228
23529
  vUpdateOrganizationWorkflowsResponse,
@@ -23330,6 +23631,7 @@ export {
23330
23631
  vProjectStats,
23331
23632
  vProjectSnapshotStatusCheckRulesResponse,
23332
23633
  vProjectSizeStatusCheckRulesResponse,
23634
+ vProjectRepoListResponse,
23333
23635
  vProjectRepoLinkResponse,
23334
23636
  vProjectRepoLinkRequest,
23335
23637
  vProjectProfilingProfileResponse,
@@ -23412,6 +23714,8 @@ export {
23412
23714
  vListProjectSymbolSourcesData,
23413
23715
  vListProjectStatsResponse,
23414
23716
  vListProjectStatsData,
23717
+ vListProjectRepositoriesResponse,
23718
+ vListProjectRepositoriesData,
23415
23719
  vListProjectReplayViewedByResponse,
23416
23720
  vListProjectReplayViewedByData,
23417
23721
  vListProjectReplayRecordingSegmentsResponse,
@@ -23450,6 +23754,8 @@ export {
23450
23754
  vListProjectDebugFilesResponse2,
23451
23755
  vListProjectDebugFilesResponse,
23452
23756
  vListProjectDebugFilesData,
23757
+ vListProjectCustomInboundFiltersResponse,
23758
+ vListProjectCustomInboundFiltersData,
23453
23759
  vListProjectCodeOwnersResponse,
23454
23760
  vListProjectCodeOwnersData,
23455
23761
  vListOrganizationsResponse,
@@ -23574,6 +23880,7 @@ export {
23574
23880
  vLayout,
23575
23881
  vLatestInstallableBuildResponse,
23576
23882
  vLatestBaseSnapshotResponse,
23883
+ vIssueLinkConflict,
23577
23884
  vIssueIntegrationsResponse,
23578
23885
  vIssueEventDetailsResponse,
23579
23886
  vIntegrationRepositoriesResponse,
@@ -23630,6 +23937,8 @@ export {
23630
23937
  vGetProjectEnvironmentResponse,
23631
23938
  vGetProjectEnvironmentData,
23632
23939
  vGetProjectData,
23940
+ vGetProjectCustomInboundFilterResponse,
23941
+ vGetProjectCustomInboundFilterData,
23633
23942
  vGetOrganizationWorkflowResponse,
23634
23943
  vGetOrganizationWorkflowData,
23635
23944
  vGetOrganizationTraceResponse,
@@ -23739,6 +24048,8 @@ export {
23739
24048
  vDeleteProjectHookResponse,
23740
24049
  vDeleteProjectHookData,
23741
24050
  vDeleteProjectData,
24051
+ vDeleteProjectCustomInboundFilterResponse,
24052
+ vDeleteProjectCustomInboundFilterData,
23742
24053
  vDeleteProjectCodeOwnersResponse,
23743
24054
  vDeleteProjectCodeOwnersData,
23744
24055
  vDeleteOrganizationWorkflowsResponse,
@@ -23796,6 +24107,9 @@ export {
23796
24107
  vDashboardCreateWidgetLayout,
23797
24108
  vDashboardCreateWidget,
23798
24109
  vDashboard,
24110
+ vCustomInboundFilterWritable,
24111
+ vCustomInboundFilterCondition,
24112
+ vCustomInboundFilter,
23799
24113
  vCreateTeamProjectResponse,
23800
24114
  vCreateTeamProjectData,
23801
24115
  vCreateTeamExternalTeamResponse,
@@ -23813,6 +24127,8 @@ export {
23813
24127
  vCreateProjectKeyData,
23814
24128
  vCreateProjectHookResponse,
23815
24129
  vCreateProjectHookData,
24130
+ vCreateProjectCustomInboundFilterResponse,
24131
+ vCreateProjectCustomInboundFilterData,
23816
24132
  vCreateProjectCodeOwnersResponse,
23817
24133
  vCreateProjectCodeOwnersData,
23818
24134
  vCreateOrganizationWorkflowResponse,