@sentry/api 0.333.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/zod.js CHANGED
@@ -1298,6 +1298,45 @@ var zCreateReplayDeletionJob = z.object({
1298
1298
  countDeleted: z.number().int()
1299
1299
  })
1300
1300
  });
1301
+ var zCustomInboundFilter = z.object({
1302
+ id: z.string().readonly(),
1303
+ dataType: z.enum([
1304
+ "all",
1305
+ "error",
1306
+ "log",
1307
+ "metric",
1308
+ "span"
1309
+ ]),
1310
+ conditions: z.array(z.object({
1311
+ type: z.enum([
1312
+ "error_type",
1313
+ "error_message",
1314
+ "log_message",
1315
+ "metric_name",
1316
+ "release",
1317
+ "ip_address"
1318
+ ]),
1319
+ value: z.array(z.string())
1320
+ })),
1321
+ dateCreated: z.string().datetime().readonly(),
1322
+ dateUpdated: z.string().datetime().readonly(),
1323
+ name: z.union([
1324
+ z.string().max(256),
1325
+ z.null()
1326
+ ]).optional(),
1327
+ active: z.boolean().optional()
1328
+ });
1329
+ var zCustomInboundFilterCondition = z.object({
1330
+ type: z.enum([
1331
+ "error_type",
1332
+ "error_message",
1333
+ "log_message",
1334
+ "metric_name",
1335
+ "release",
1336
+ "ip_address"
1337
+ ]),
1338
+ value: z.array(z.string())
1339
+ });
1301
1340
  var zDashboard = z.object({
1302
1341
  title: z.string().max(255),
1303
1342
  id: z.string().optional(),
@@ -4671,6 +4710,9 @@ var zIssueIntegrationsResponse = z.array(z.object({
4671
4710
  displayName: z.string()
4672
4711
  }))
4673
4712
  }));
4713
+ var zIssueLinkConflict = z.object({
4714
+ detail: z.string()
4715
+ });
4674
4716
  var zLatestBaseSnapshotResponse = z.object({
4675
4717
  head_artifact_id: z.string().optional(),
4676
4718
  project_id: z.string().optional(),
@@ -8564,9 +8606,11 @@ var zOrganizationEventsTimeseriesResponse = z.object({
8564
8606
  eventCount: z.number(),
8565
8607
  byteSize: z.number().optional()
8566
8608
  })).optional(),
8567
- estimatedIngestionDelaySeconds: z.number().optional(),
8568
- completeThrough: z.number().optional(),
8569
- ingestionDelayStatus: z.string().optional()
8609
+ ingestion: z.object({
8610
+ status: z.string(),
8611
+ delaySeconds: z.number().optional(),
8612
+ completeThrough: z.number().optional()
8613
+ }).optional()
8570
8614
  }).optional(),
8571
8615
  timeSeries: z.array(z.object({
8572
8616
  values: z.array(z.object({
@@ -11069,6 +11113,18 @@ var zProjectRepoLinkResponse = z.object({
11069
11113
  source: z.string(),
11070
11114
  created: z.boolean()
11071
11115
  });
11116
+ var zProjectRepoListResponse = z.array(z.object({
11117
+ id: z.string(),
11118
+ projectId: z.string(),
11119
+ repositoryId: z.string(),
11120
+ repoName: z.string(),
11121
+ source: z.string(),
11122
+ providerKey: z.union([
11123
+ z.string(),
11124
+ z.null()
11125
+ ]),
11126
+ mappingCount: z.number().int().optional()
11127
+ }));
11072
11128
  var zProjectSizeStatusCheckRulesResponse = z.object({
11073
11129
  enabled: z.boolean(),
11074
11130
  rules: z.array(z.object({
@@ -13252,6 +13308,31 @@ var zLegacyBrowserFilter = z.object({
13252
13308
  "edge_pre_79"
13253
13309
  ])).optional()
13254
13310
  });
13311
+ var zCustomInboundFilterWritable = z.object({
13312
+ dataType: z.enum([
13313
+ "all",
13314
+ "error",
13315
+ "log",
13316
+ "metric",
13317
+ "span"
13318
+ ]),
13319
+ conditions: z.array(z.object({
13320
+ type: z.enum([
13321
+ "error_type",
13322
+ "error_message",
13323
+ "log_message",
13324
+ "metric_name",
13325
+ "release",
13326
+ "ip_address"
13327
+ ]),
13328
+ value: z.array(z.string())
13329
+ })),
13330
+ name: z.union([
13331
+ z.string().max(256),
13332
+ z.null()
13333
+ ]).optional(),
13334
+ active: z.boolean().optional()
13335
+ });
13255
13336
  var zExternalUserWritable = z.object({
13256
13337
  user_id: z.number().int(),
13257
13338
  external_name: z.string(),
@@ -16022,9 +16103,11 @@ var zListOrganizationEventsTimeseriesResponse = z.object({
16022
16103
  eventCount: z.number(),
16023
16104
  byteSize: z.number().optional()
16024
16105
  })).optional(),
16025
- estimatedIngestionDelaySeconds: z.number().optional(),
16026
- completeThrough: z.number().optional(),
16027
- ingestionDelayStatus: z.string().optional()
16106
+ ingestion: z.object({
16107
+ status: z.string(),
16108
+ delaySeconds: z.number().optional(),
16109
+ completeThrough: z.number().optional()
16110
+ }).optional()
16028
16111
  }).optional(),
16029
16112
  timeSeries: z.array(z.object({
16030
16113
  values: z.array(z.object({
@@ -26657,6 +26740,216 @@ var zUpdateProjectCodeOwnersResponse = z.object({
26657
26740
  codeMappingId: z.string(),
26658
26741
  provider: z.string()
26659
26742
  });
26743
+ var zListProjectCustomInboundFiltersData = z.object({
26744
+ body: z.never().optional(),
26745
+ path: z.object({
26746
+ organization_id_or_slug: z.string(),
26747
+ project_id_or_slug: z.string()
26748
+ }),
26749
+ query: z.never().optional()
26750
+ });
26751
+ var zListProjectCustomInboundFiltersResponse = z.array(z.object({
26752
+ id: z.string().readonly(),
26753
+ dataType: z.enum([
26754
+ "all",
26755
+ "error",
26756
+ "log",
26757
+ "metric",
26758
+ "span"
26759
+ ]),
26760
+ conditions: z.array(z.object({
26761
+ type: z.enum([
26762
+ "error_type",
26763
+ "error_message",
26764
+ "log_message",
26765
+ "metric_name",
26766
+ "release",
26767
+ "ip_address"
26768
+ ]),
26769
+ value: z.array(z.string())
26770
+ })),
26771
+ dateCreated: z.string().datetime().readonly(),
26772
+ dateUpdated: z.string().datetime().readonly(),
26773
+ name: z.union([
26774
+ z.string().max(256),
26775
+ z.null()
26776
+ ]).optional(),
26777
+ active: z.boolean().optional()
26778
+ }));
26779
+ var zCreateProjectCustomInboundFilterData = z.object({
26780
+ body: z.object({
26781
+ id: z.string().readonly(),
26782
+ dataType: z.enum([
26783
+ "all",
26784
+ "error",
26785
+ "log",
26786
+ "metric",
26787
+ "span"
26788
+ ]),
26789
+ conditions: z.array(z.object({
26790
+ type: z.enum([
26791
+ "error_type",
26792
+ "error_message",
26793
+ "log_message",
26794
+ "metric_name",
26795
+ "release",
26796
+ "ip_address"
26797
+ ]),
26798
+ value: z.array(z.string())
26799
+ })),
26800
+ dateCreated: z.string().datetime().readonly(),
26801
+ dateUpdated: z.string().datetime().readonly(),
26802
+ name: z.union([
26803
+ z.string().max(256),
26804
+ z.null()
26805
+ ]).optional(),
26806
+ active: z.boolean().optional()
26807
+ }),
26808
+ path: z.object({
26809
+ organization_id_or_slug: z.string(),
26810
+ project_id_or_slug: z.string()
26811
+ }),
26812
+ query: z.never().optional()
26813
+ });
26814
+ var zCreateProjectCustomInboundFilterResponse = z.object({
26815
+ id: z.string().readonly(),
26816
+ dataType: z.enum([
26817
+ "all",
26818
+ "error",
26819
+ "log",
26820
+ "metric",
26821
+ "span"
26822
+ ]),
26823
+ conditions: z.array(z.object({
26824
+ type: z.enum([
26825
+ "error_type",
26826
+ "error_message",
26827
+ "log_message",
26828
+ "metric_name",
26829
+ "release",
26830
+ "ip_address"
26831
+ ]),
26832
+ value: z.array(z.string())
26833
+ })),
26834
+ dateCreated: z.string().datetime().readonly(),
26835
+ dateUpdated: z.string().datetime().readonly(),
26836
+ name: z.union([
26837
+ z.string().max(256),
26838
+ z.null()
26839
+ ]).optional(),
26840
+ active: z.boolean().optional()
26841
+ });
26842
+ var zDeleteProjectCustomInboundFilterData = z.object({
26843
+ body: z.never().optional(),
26844
+ path: z.object({
26845
+ organization_id_or_slug: z.string(),
26846
+ project_id_or_slug: z.string(),
26847
+ filter_id: z.string()
26848
+ }),
26849
+ query: z.never().optional()
26850
+ });
26851
+ var zDeleteProjectCustomInboundFilterResponse = z.void();
26852
+ var zGetProjectCustomInboundFilterData = z.object({
26853
+ body: z.never().optional(),
26854
+ path: z.object({
26855
+ organization_id_or_slug: z.string(),
26856
+ project_id_or_slug: z.string(),
26857
+ filter_id: z.string()
26858
+ }),
26859
+ query: z.never().optional()
26860
+ });
26861
+ var zGetProjectCustomInboundFilterResponse = z.object({
26862
+ id: z.string().readonly(),
26863
+ dataType: z.enum([
26864
+ "all",
26865
+ "error",
26866
+ "log",
26867
+ "metric",
26868
+ "span"
26869
+ ]),
26870
+ conditions: z.array(z.object({
26871
+ type: z.enum([
26872
+ "error_type",
26873
+ "error_message",
26874
+ "log_message",
26875
+ "metric_name",
26876
+ "release",
26877
+ "ip_address"
26878
+ ]),
26879
+ value: z.array(z.string())
26880
+ })),
26881
+ dateCreated: z.string().datetime().readonly(),
26882
+ dateUpdated: z.string().datetime().readonly(),
26883
+ name: z.union([
26884
+ z.string().max(256),
26885
+ z.null()
26886
+ ]).optional(),
26887
+ active: z.boolean().optional()
26888
+ });
26889
+ var zUpdateProjectCustomInboundFilterData = z.object({
26890
+ body: z.object({
26891
+ id: z.string().readonly(),
26892
+ dataType: z.enum([
26893
+ "all",
26894
+ "error",
26895
+ "log",
26896
+ "metric",
26897
+ "span"
26898
+ ]),
26899
+ conditions: z.array(z.object({
26900
+ type: z.enum([
26901
+ "error_type",
26902
+ "error_message",
26903
+ "log_message",
26904
+ "metric_name",
26905
+ "release",
26906
+ "ip_address"
26907
+ ]),
26908
+ value: z.array(z.string())
26909
+ })),
26910
+ dateCreated: z.string().datetime().readonly(),
26911
+ dateUpdated: z.string().datetime().readonly(),
26912
+ name: z.union([
26913
+ z.string().max(256),
26914
+ z.null()
26915
+ ]).optional(),
26916
+ active: z.boolean().optional()
26917
+ }),
26918
+ path: z.object({
26919
+ organization_id_or_slug: z.string(),
26920
+ project_id_or_slug: z.string(),
26921
+ filter_id: z.string()
26922
+ }),
26923
+ query: z.never().optional()
26924
+ });
26925
+ var zUpdateProjectCustomInboundFilterResponse = z.object({
26926
+ id: z.string().readonly(),
26927
+ dataType: z.enum([
26928
+ "all",
26929
+ "error",
26930
+ "log",
26931
+ "metric",
26932
+ "span"
26933
+ ]),
26934
+ conditions: z.array(z.object({
26935
+ type: z.enum([
26936
+ "error_type",
26937
+ "error_message",
26938
+ "log_message",
26939
+ "metric_name",
26940
+ "release",
26941
+ "ip_address"
26942
+ ]),
26943
+ value: z.array(z.string())
26944
+ })),
26945
+ dateCreated: z.string().datetime().readonly(),
26946
+ dateUpdated: z.string().datetime().readonly(),
26947
+ name: z.union([
26948
+ z.string().max(256),
26949
+ z.null()
26950
+ ]).optional(),
26951
+ active: z.boolean().optional()
26952
+ });
26660
26953
  var zListProjectEnvironmentsData = z.object({
26661
26954
  body: z.never().optional(),
26662
26955
  path: z.object({
@@ -30013,6 +30306,28 @@ var zGetProjectReplayDeletionJobResponse = z.object({
30013
30306
  countDeleted: z.number().int()
30014
30307
  })
30015
30308
  });
30309
+ var zListProjectRepositoriesData = z.object({
30310
+ body: z.never().optional(),
30311
+ path: z.object({
30312
+ organization_id_or_slug: z.string(),
30313
+ project_id_or_slug: z.string()
30314
+ }),
30315
+ query: z.object({
30316
+ includeMappingCount: z.string().optional()
30317
+ }).optional()
30318
+ });
30319
+ var zListProjectRepositoriesResponse = z.array(z.object({
30320
+ id: z.string(),
30321
+ projectId: z.string(),
30322
+ repositoryId: z.string(),
30323
+ repoName: z.string(),
30324
+ source: z.string(),
30325
+ providerKey: z.union([
30326
+ z.string(),
30327
+ z.null()
30328
+ ]),
30329
+ mappingCount: z.number().int().optional()
30330
+ }));
30016
30331
  var zLinkProjectRepositoryData = z.object({
30017
30332
  body: z.object({
30018
30333
  repositoryId: z.number().int()
@@ -30995,15 +31310,26 @@ var zExecuteSentryAppInstallationExternalIssueActionData = z.object({
30995
31310
  path: z.object({
30996
31311
  uuid: z.string()
30997
31312
  }),
30998
- query: z.never().optional()
30999
- });
31000
- var zExecuteSentryAppInstallationExternalIssueActionResponse = z.object({
31001
- id: z.string(),
31002
- issueId: z.string(),
31003
- serviceType: z.string(),
31004
- displayName: z.string(),
31005
- webUrl: z.string()
31313
+ query: z.object({
31314
+ expectedExternalIssueUrl: z.string().url().min(1).optional()
31315
+ }).optional()
31006
31316
  });
31317
+ var zExecuteSentryAppInstallationExternalIssueActionResponse = z.union([
31318
+ z.object({
31319
+ id: z.string(),
31320
+ issueId: z.string(),
31321
+ serviceType: z.string(),
31322
+ displayName: z.string(),
31323
+ webUrl: z.string()
31324
+ }),
31325
+ z.object({
31326
+ id: z.string(),
31327
+ issueId: z.string(),
31328
+ serviceType: z.string(),
31329
+ displayName: z.string(),
31330
+ webUrl: z.string()
31331
+ })
31332
+ ]);
31007
31333
  var zGetSentryAppInstallationExternalRequestOptionsData = z.object({
31008
31334
  body: z.never().optional(),
31009
31335
  path: z.object({
@@ -33857,13 +34183,22 @@ var zUpdateOrganizationIssueIntegrationData = z.object({
33857
34183
  }),
33858
34184
  query: z.never().optional()
33859
34185
  });
33860
- var zUpdateOrganizationIssueIntegrationResponse = z.object({
33861
- id: z.number().int(),
33862
- key: z.string(),
33863
- url: z.string(),
33864
- integrationId: z.number().int(),
33865
- displayName: z.string()
33866
- });
34186
+ var zUpdateOrganizationIssueIntegrationResponse = z.union([
34187
+ z.object({
34188
+ id: z.number().int(),
34189
+ key: z.string(),
34190
+ url: z.string(),
34191
+ integrationId: z.number().int(),
34192
+ displayName: z.string()
34193
+ }),
34194
+ z.object({
34195
+ id: z.number().int(),
34196
+ key: z.string(),
34197
+ url: z.string(),
34198
+ integrationId: z.number().int(),
34199
+ displayName: z.string()
34200
+ })
34201
+ ]);
33867
34202
  var zGetOrganizationIssueTagData = z.object({
33868
34203
  body: z.never().optional(),
33869
34204
  path: z.object({
@@ -33952,6 +34287,8 @@ export {
33952
34287
  zUpdateProjectEnvironmentResponse,
33953
34288
  zUpdateProjectEnvironmentData,
33954
34289
  zUpdateProjectData,
34290
+ zUpdateProjectCustomInboundFilterResponse,
34291
+ zUpdateProjectCustomInboundFilterData,
33955
34292
  zUpdateProjectCodeOwnersResponse,
33956
34293
  zUpdateProjectCodeOwnersData,
33957
34294
  zUpdateOrganizationWorkflowsResponse,
@@ -34059,6 +34396,7 @@ export {
34059
34396
  zProjectStats,
34060
34397
  zProjectSnapshotStatusCheckRulesResponse,
34061
34398
  zProjectSizeStatusCheckRulesResponse,
34399
+ zProjectRepoListResponse,
34062
34400
  zProjectRepoLinkResponse,
34063
34401
  zProjectRepoLinkRequest,
34064
34402
  zProjectProfilingProfileResponse,
@@ -34141,6 +34479,8 @@ export {
34141
34479
  zListProjectSymbolSourcesData,
34142
34480
  zListProjectStatsResponse,
34143
34481
  zListProjectStatsData,
34482
+ zListProjectRepositoriesResponse,
34483
+ zListProjectRepositoriesData,
34144
34484
  zListProjectReplayViewedByResponse,
34145
34485
  zListProjectReplayViewedByData,
34146
34486
  zListProjectReplayRecordingSegmentsResponse,
@@ -34179,6 +34519,8 @@ export {
34179
34519
  zListProjectDebugFilesResponse2,
34180
34520
  zListProjectDebugFilesResponse,
34181
34521
  zListProjectDebugFilesData,
34522
+ zListProjectCustomInboundFiltersResponse,
34523
+ zListProjectCustomInboundFiltersData,
34182
34524
  zListProjectCodeOwnersResponse,
34183
34525
  zListProjectCodeOwnersData,
34184
34526
  zListOrganizationsResponse,
@@ -34303,6 +34645,7 @@ export {
34303
34645
  zLayout,
34304
34646
  zLatestInstallableBuildResponse,
34305
34647
  zLatestBaseSnapshotResponse,
34648
+ zIssueLinkConflict,
34306
34649
  zIssueIntegrationsResponse,
34307
34650
  zIssueEventDetailsResponse,
34308
34651
  zIntegrationRepositoriesResponse,
@@ -34359,6 +34702,8 @@ export {
34359
34702
  zGetProjectEnvironmentResponse,
34360
34703
  zGetProjectEnvironmentData,
34361
34704
  zGetProjectData,
34705
+ zGetProjectCustomInboundFilterResponse,
34706
+ zGetProjectCustomInboundFilterData,
34362
34707
  zGetOrganizationWorkflowResponse,
34363
34708
  zGetOrganizationWorkflowData,
34364
34709
  zGetOrganizationTraceResponse,
@@ -34468,6 +34813,8 @@ export {
34468
34813
  zDeleteProjectHookResponse,
34469
34814
  zDeleteProjectHookData,
34470
34815
  zDeleteProjectData,
34816
+ zDeleteProjectCustomInboundFilterResponse,
34817
+ zDeleteProjectCustomInboundFilterData,
34471
34818
  zDeleteProjectCodeOwnersResponse,
34472
34819
  zDeleteProjectCodeOwnersData,
34473
34820
  zDeleteOrganizationWorkflowsResponse,
@@ -34525,6 +34872,9 @@ export {
34525
34872
  zDashboardCreateWidgetLayout,
34526
34873
  zDashboardCreateWidget,
34527
34874
  zDashboard,
34875
+ zCustomInboundFilterWritable,
34876
+ zCustomInboundFilterCondition,
34877
+ zCustomInboundFilter,
34528
34878
  zCreateTeamProjectResponse,
34529
34879
  zCreateTeamProjectData,
34530
34880
  zCreateTeamExternalTeamResponse,
@@ -34542,6 +34892,8 @@ export {
34542
34892
  zCreateProjectKeyData,
34543
34893
  zCreateProjectHookResponse,
34544
34894
  zCreateProjectHookData,
34895
+ zCreateProjectCustomInboundFilterResponse,
34896
+ zCreateProjectCustomInboundFilterData,
34545
34897
  zCreateProjectCodeOwnersResponse,
34546
34898
  zCreateProjectCodeOwnersData,
34547
34899
  zCreateOrganizationWorkflowResponse,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.333.0",
3
+ "version": "0.335.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",