@sentry/api 0.181.0 → 0.183.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
@@ -185,15 +185,12 @@ var zCommitSerializerResponse = z.array(z.object({
185
185
  ]),
186
186
  dateCreated: z.string().datetime(),
187
187
  repository: z.object({
188
- id: z.string().optional(),
189
- name: z.string().optional(),
190
188
  url: z.union([
191
189
  z.string(),
192
190
  z.null()
193
191
  ]).optional(),
194
192
  provider: z.record(z.string()).optional(),
195
193
  status: z.string().optional(),
196
- dateCreated: z.string().datetime().optional(),
197
194
  integrationId: z.union([
198
195
  z.string(),
199
196
  z.null()
@@ -212,7 +209,10 @@ var zCommitSerializerResponse = z.array(z.object({
212
209
  codeReviewTriggers: z.array(z.string())
213
210
  }),
214
211
  z.null()
215
- ]).optional()
212
+ ]).optional(),
213
+ id: z.string(),
214
+ name: z.string(),
215
+ dateCreated: z.string().datetime()
216
216
  }),
217
217
  author: z.union([
218
218
  z.object({
@@ -285,15 +285,12 @@ var zCommitSerializerResponse = z.array(z.object({
285
285
  ]),
286
286
  suspectCommitType: z.string(),
287
287
  repository: z.object({
288
- id: z.string().optional(),
289
- name: z.string().optional(),
290
288
  url: z.union([
291
289
  z.string(),
292
290
  z.null()
293
291
  ]).optional(),
294
292
  provider: z.record(z.string()).optional(),
295
293
  status: z.string().optional(),
296
- dateCreated: z.string().datetime().optional(),
297
294
  integrationId: z.union([
298
295
  z.string(),
299
296
  z.null()
@@ -312,7 +309,10 @@ var zCommitSerializerResponse = z.array(z.object({
312
309
  codeReviewTriggers: z.array(z.string())
313
310
  }),
314
311
  z.null()
315
- ]).optional()
312
+ ]).optional(),
313
+ id: z.string(),
314
+ name: z.string(),
315
+ dateCreated: z.string().datetime()
316
316
  }).optional(),
317
317
  author: z.union([
318
318
  z.object({
@@ -4605,6 +4605,36 @@ var zListOrganizationMemberResponse = z.array(z.object({
4605
4605
  z.null()
4606
4606
  ])
4607
4607
  }));
4608
+ var zListOrganizationRepositoriesResponse = z.array(z.object({
4609
+ url: z.union([
4610
+ z.string(),
4611
+ z.null()
4612
+ ]).optional(),
4613
+ provider: z.record(z.string()).optional(),
4614
+ status: z.string().optional(),
4615
+ integrationId: z.union([
4616
+ z.string(),
4617
+ z.null()
4618
+ ]).optional(),
4619
+ externalSlug: z.union([
4620
+ z.string(),
4621
+ z.null()
4622
+ ]).optional(),
4623
+ externalId: z.union([
4624
+ z.string(),
4625
+ z.null()
4626
+ ]).optional(),
4627
+ settings: z.union([
4628
+ z.object({
4629
+ enabledCodeReview: z.boolean(),
4630
+ codeReviewTriggers: z.array(z.string())
4631
+ }),
4632
+ z.null()
4633
+ ]).optional(),
4634
+ id: z.string(),
4635
+ name: z.string(),
4636
+ dateCreated: z.string().datetime()
4637
+ }));
4608
4638
  var zListOrganizationTagsResponse = z.array(z.object({
4609
4639
  uniqueValues: z.union([
4610
4640
  z.number().int(),
@@ -8446,6 +8476,7 @@ var zProjectSnapshotStatusCheckRulesResponse = z.object({
8446
8476
  failOnRenamed: z.boolean()
8447
8477
  })
8448
8478
  });
8479
+ var zProjectStats = z.array(z.array(z.number().int()));
8449
8480
  var zProjectSummary = z.object({
8450
8481
  latestDeploys: z.union([
8451
8482
  z.record(z.record(z.string())),
@@ -18519,6 +18550,49 @@ var zRetrieveAReplayInstanceResponse = z.object({
18519
18550
  has_viewed: z.boolean().optional()
18520
18551
  })
18521
18552
  });
18553
+ var zListAnOrganizationSRepositoriesData = z.object({
18554
+ body: z.never().optional(),
18555
+ path: z.object({
18556
+ organization_id_or_slug: z.string()
18557
+ }),
18558
+ query: z.object({
18559
+ query: z.string().optional(),
18560
+ status: z.enum(["active", "deleted"]).optional(),
18561
+ integration_id: z.string().optional(),
18562
+ expand: z.array(z.string()).optional(),
18563
+ cursor: z.string().min(1).optional()
18564
+ }).optional()
18565
+ });
18566
+ var zListAnOrganizationSRepositoriesResponse = z.array(z.object({
18567
+ url: z.union([
18568
+ z.string(),
18569
+ z.null()
18570
+ ]).optional(),
18571
+ provider: z.record(z.string()).optional(),
18572
+ status: z.string().optional(),
18573
+ integrationId: z.union([
18574
+ z.string(),
18575
+ z.null()
18576
+ ]).optional(),
18577
+ externalSlug: z.union([
18578
+ z.string(),
18579
+ z.null()
18580
+ ]).optional(),
18581
+ externalId: z.union([
18582
+ z.string(),
18583
+ z.null()
18584
+ ]).optional(),
18585
+ settings: z.union([
18586
+ z.object({
18587
+ enabledCodeReview: z.boolean(),
18588
+ codeReviewTriggers: z.array(z.string())
18589
+ }),
18590
+ z.null()
18591
+ ]).optional(),
18592
+ id: z.string(),
18593
+ name: z.string(),
18594
+ dateCreated: z.string().datetime()
18595
+ }));
18522
18596
  var zListARepositorySCommitsData = z.object({
18523
18597
  body: z.never().optional(),
18524
18598
  path: z.object({
@@ -18549,15 +18623,12 @@ var zListARepositorySCommitsResponse = z.array(z.object({
18549
18623
  ]),
18550
18624
  dateCreated: z.string().datetime(),
18551
18625
  repository: z.object({
18552
- id: z.string().optional(),
18553
- name: z.string().optional(),
18554
18626
  url: z.union([
18555
18627
  z.string(),
18556
18628
  z.null()
18557
18629
  ]).optional(),
18558
18630
  provider: z.record(z.string()).optional(),
18559
18631
  status: z.string().optional(),
18560
- dateCreated: z.string().datetime().optional(),
18561
18632
  integrationId: z.union([
18562
18633
  z.string(),
18563
18634
  z.null()
@@ -18576,7 +18647,10 @@ var zListARepositorySCommitsResponse = z.array(z.object({
18576
18647
  codeReviewTriggers: z.array(z.string())
18577
18648
  }),
18578
18649
  z.null()
18579
- ]).optional()
18650
+ ]).optional(),
18651
+ id: z.string(),
18652
+ name: z.string(),
18653
+ dateCreated: z.string().datetime()
18580
18654
  }),
18581
18655
  author: z.union([
18582
18656
  z.object({
@@ -18649,15 +18723,12 @@ var zListARepositorySCommitsResponse = z.array(z.object({
18649
18723
  ]),
18650
18724
  suspectCommitType: z.string(),
18651
18725
  repository: z.object({
18652
- id: z.string().optional(),
18653
- name: z.string().optional(),
18654
18726
  url: z.union([
18655
18727
  z.string(),
18656
18728
  z.null()
18657
18729
  ]).optional(),
18658
18730
  provider: z.record(z.string()).optional(),
18659
18731
  status: z.string().optional(),
18660
- dateCreated: z.string().datetime().optional(),
18661
18732
  integrationId: z.union([
18662
18733
  z.string(),
18663
18734
  z.null()
@@ -18676,7 +18747,10 @@ var zListARepositorySCommitsResponse = z.array(z.object({
18676
18747
  codeReviewTriggers: z.array(z.string())
18677
18748
  }),
18678
18749
  z.null()
18679
- ]).optional()
18750
+ ]).optional(),
18751
+ id: z.string(),
18752
+ name: z.string(),
18753
+ dateCreated: z.string().datetime()
18680
18754
  }).optional(),
18681
18755
  author: z.union([
18682
18756
  z.object({
@@ -24049,6 +24123,29 @@ var zLinkARepositoryToAProjectResponse = z.object({
24049
24123
  source: z.string(),
24050
24124
  created: z.boolean()
24051
24125
  });
24126
+ var zRetrieveEventCountsForAProjectData = z.object({
24127
+ body: z.never().optional(),
24128
+ path: z.object({
24129
+ organization_id_or_slug: z.string(),
24130
+ project_id_or_slug: z.string()
24131
+ }),
24132
+ query: z.object({
24133
+ stat: z.enum([
24134
+ "blacklisted",
24135
+ "generated",
24136
+ "received",
24137
+ "rejected"
24138
+ ]).optional(),
24139
+ since: z.number().optional(),
24140
+ until: z.number().optional(),
24141
+ resolution: z.enum([
24142
+ "10s",
24143
+ "1d",
24144
+ "1h"
24145
+ ]).optional()
24146
+ }).optional()
24147
+ });
24148
+ var zRetrieveEventCountsForAProjectResponse = z.array(z.array(z.number().int()));
24052
24149
  var zDeleteASymbolSourceFromAProjectData = z.object({
24053
24150
  body: z.never().optional(),
24054
24151
  path: z.object({
@@ -25796,20 +25893,6 @@ var zCreateANewProjectResponse = z.object({
25796
25893
  z.null()
25797
25894
  ])
25798
25895
  });
25799
- var zListAnOrganizationSRepositoriesData = z.object({
25800
- body: z.never().optional(),
25801
- path: z.object({
25802
- organization_id_or_slug: z.string()
25803
- }),
25804
- query: z.object({
25805
- cursor: z.string().optional()
25806
- }).optional()
25807
- });
25808
- var zListAnOrganizationSRepositoriesResponse = z.array(z.object({
25809
- dateCreated: z.string(),
25810
- id: z.string(),
25811
- name: z.string()
25812
- }));
25813
25896
  var zListAProjectSusersData = z.object({
25814
25897
  body: z.never().optional(),
25815
25898
  path: z.object({
@@ -25845,29 +25928,6 @@ var zListATagSValuesData = z.object({
25845
25928
  var zListATagSValuesResponse = z.array(z.object({
25846
25929
  name: z.string()
25847
25930
  }));
25848
- var zRetrieveEventCountsForAProjectData = z.object({
25849
- body: z.never().optional(),
25850
- path: z.object({
25851
- organization_id_or_slug: z.string(),
25852
- project_id_or_slug: z.string()
25853
- }),
25854
- query: z.object({
25855
- stat: z.enum([
25856
- "received",
25857
- "rejected",
25858
- "blacklisted",
25859
- "generated"
25860
- ]).optional(),
25861
- since: z.string().datetime().optional(),
25862
- until: z.string().datetime().optional(),
25863
- resolution: z.enum([
25864
- "10s",
25865
- "1h",
25866
- "1d"
25867
- ]).optional()
25868
- }).optional()
25869
- });
25870
- var zRetrieveEventCountsForAProjectResponse = z.array(z.array(z.number().int()));
25871
25931
  var zListAProjectSuserFeedbackData = z.object({
25872
25932
  body: z.never().optional(),
25873
25933
  path: z.object({
@@ -27984,6 +28044,7 @@ export {
27984
28044
  zProjectWithTeam,
27985
28045
  zProjectTeamsResponse,
27986
28046
  zProjectSummary,
28047
+ zProjectStats,
27987
28048
  zProjectSnapshotStatusCheckRulesResponse,
27988
28049
  zProjectSizeStatusCheckRulesResponse,
27989
28050
  zProjectRepoLinkResponse,
@@ -28062,6 +28123,7 @@ export {
28062
28123
  zListProjectDebugFilesResponse,
28063
28124
  zListOrganizations,
28064
28125
  zListOrganizationTagsResponse,
28126
+ zListOrganizationRepositoriesResponse,
28065
28127
  zListOrganizationMemberResponse,
28066
28128
  zListOrganizationIntegrationResponse,
28067
28129
  zListOrganizationClientKeysResponse,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/api",
3
- "version": "0.181.0",
3
+ "version": "0.183.0",
4
4
  "description": "Official auto-generated TypeScript client for the Sentry public REST API",
5
5
  "keywords": [
6
6
  "sentry",