@sentry/api 0.151.0 → 0.152.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.
@@ -281,31 +281,6 @@ export type BaseTeam = {
281
281
  avatarUrl?: string | null;
282
282
  };
283
283
  };
284
- /**
285
- * Serializer for individual branch nodes from GraphQL response
286
- */
287
- export type BranchNode = {
288
- name: string;
289
- };
290
- /**
291
- * Serializer for repository branches response
292
- */
293
- export type Branches = {
294
- defaultBranch: string;
295
- results: Array<{
296
- name: string;
297
- }>;
298
- /**
299
- * Serializer for pagination information
300
- */
301
- pageInfo: {
302
- endCursor: string | null;
303
- startCursor: string | null;
304
- hasPreviousPage: boolean;
305
- hasNextPage: boolean;
306
- };
307
- totalCount: number;
308
- };
309
284
  export type BulkUpdateAlerts = {
310
285
  /**
311
286
  * Whether to enable or disable the alerts
@@ -6561,15 +6536,6 @@ export type OutcomesResponse = {
6561
6536
  export type OutgoingNotificationAction = {
6562
6537
  [key: string]: unknown;
6563
6538
  };
6564
- /**
6565
- * Serializer for pagination information
6566
- */
6567
- export type PageInfo = {
6568
- endCursor: string | null;
6569
- startCursor: string | null;
6570
- hasPreviousPage: boolean;
6571
- hasNextPage: boolean;
6572
- };
6573
6539
  export type ProjectAdmin = {
6574
6540
  /**
6575
6541
  * Enables starring the project within the projects tab. Can be updated with **`project:read`** permission.
@@ -7161,75 +7127,6 @@ export type ReplayDeletionJobCreateData = {
7161
7127
  environments: Array<string>;
7162
7128
  query: string | null;
7163
7129
  };
7164
- /**
7165
- * Serializer for repositories response
7166
- */
7167
- export type Repositories = {
7168
- results: Array<{
7169
- name: string;
7170
- updatedAt: string;
7171
- latestCommitAt: string;
7172
- defaultBranch: string;
7173
- }>;
7174
- /**
7175
- * Serializer for pagination information
7176
- */
7177
- pageInfo: {
7178
- endCursor: string | null;
7179
- startCursor: string | null;
7180
- hasPreviousPage: boolean;
7181
- hasNextPage: boolean;
7182
- };
7183
- totalCount: number;
7184
- };
7185
- /**
7186
- * Serializer for single repository response
7187
- */
7188
- export type Repository = {
7189
- uploadToken: string | null;
7190
- testAnalyticsEnabled: boolean;
7191
- };
7192
- /**
7193
- * Serializer for individual repository nodes from GraphQL response
7194
- */
7195
- export type RepositoryNode = {
7196
- name: string;
7197
- updatedAt: string;
7198
- latestCommitAt: string;
7199
- defaultBranch: string;
7200
- };
7201
- /**
7202
- * Serializer for individual repository nodes from GraphQL response
7203
- */
7204
- export type RepositoryTokenNode = {
7205
- name: string;
7206
- token: string;
7207
- };
7208
- /**
7209
- * Serializer for repositories response
7210
- */
7211
- export type RepositoryTokenRegenerate = {
7212
- token: string;
7213
- };
7214
- /**
7215
- * Serializer for repository tokens response
7216
- */
7217
- export type RepositoryTokens = {
7218
- results: Array<{
7219
- name: string;
7220
- token: string;
7221
- }>;
7222
- /**
7223
- * Serializer for pagination information
7224
- */
7225
- pageInfo: {
7226
- endCursor: string | null;
7227
- startCursor: string | null;
7228
- hasPreviousPage: boolean;
7229
- hasNextPage: boolean;
7230
- };
7231
- totalCount: number;
7232
- };
7233
7130
  export type ScimListResponseEnvelopeScimMemberIndexResponse = {
7234
7131
  schemas: Array<string>;
7235
7132
  totalResults: number;
@@ -8135,12 +8032,6 @@ export type StatusDetailsValidator = {
8135
8032
  */
8136
8033
  ignoreUserWindow: number;
8137
8034
  };
8138
- /**
8139
- * Serializer for a sync repository response
8140
- */
8141
- export type SyncRepos = {
8142
- isSyncing: boolean;
8143
- };
8144
8035
  export type TagKeyDetailsDict = {
8145
8036
  uniqueValues?: number | null;
8146
8037
  totalValues?: number | null;
@@ -8316,76 +8207,6 @@ export type TeamScim = {
8316
8207
  display: string;
8317
8208
  }>;
8318
8209
  };
8319
- /**
8320
- * Serializer for test results response including pagination metadata
8321
- */
8322
- export type TestResult = {
8323
- defaultBranch: string;
8324
- results: Array<{
8325
- updatedAt: string;
8326
- avgDuration: number;
8327
- totalDuration: number;
8328
- name: string;
8329
- failureRate: number;
8330
- flakeRate: number;
8331
- totalFailCount: number;
8332
- totalFlakyFailCount: number;
8333
- totalSkipCount: number;
8334
- totalPassCount: number;
8335
- lastDuration: number;
8336
- }>;
8337
- /**
8338
- * Serializer for pagination information
8339
- */
8340
- pageInfo: {
8341
- endCursor: string | null;
8342
- startCursor: string | null;
8343
- hasPreviousPage: boolean;
8344
- hasNextPage: boolean;
8345
- };
8346
- totalCount: number;
8347
- };
8348
- /**
8349
- * Serializer for test results aggregates response
8350
- */
8351
- export type TestResultAggregates = {
8352
- totalDuration: number;
8353
- totalDurationPercentChange: number;
8354
- slowestTestsDuration: number;
8355
- slowestTestsDurationPercentChange: number;
8356
- totalSlowTests: number;
8357
- totalSlowTestsPercentChange: number;
8358
- totalFails: number;
8359
- totalFailsPercentChange: number;
8360
- totalSkips: number;
8361
- totalSkipsPercentChange: number;
8362
- flakeCount: number;
8363
- flakeCountPercentChange: number;
8364
- flakeRate: number;
8365
- flakeRatePercentChange: number;
8366
- };
8367
- /**
8368
- * Serializer for individual test result nodes from GraphQL response
8369
- */
8370
- export type TestResultNode = {
8371
- updatedAt: string;
8372
- avgDuration: number;
8373
- totalDuration: number;
8374
- name: string;
8375
- failureRate: number;
8376
- flakeRate: number;
8377
- totalFailCount: number;
8378
- totalFlakyFailCount: number;
8379
- totalSkipCount: number;
8380
- totalPassCount: number;
8381
- lastDuration: number;
8382
- };
8383
- /**
8384
- * Serializer for test suites belonging to a repository's test results
8385
- */
8386
- export type TestSuite = {
8387
- testSuites: Array<string>;
8388
- };
8389
8210
  export type UpdateClientKey = {
8390
8211
  /**
8391
8212
  * The name for the client key
@@ -17348,622 +17169,6 @@ export type RetrieveLatestBaseSnapshotResponses = {
17348
17169
  };
17349
17170
  };
17350
17171
  export type RetrieveLatestBaseSnapshotResponse = RetrieveLatestBaseSnapshotResponses[keyof RetrieveLatestBaseSnapshotResponses];
17351
- export type RetrievesListOfRepositoriesForAGivenOwnerData = {
17352
- body?: never;
17353
- path: {
17354
- /**
17355
- * The ID or slug of the organization the resource belongs to.
17356
- */
17357
- organization_id_or_slug: string;
17358
- /**
17359
- * The owner of the repository.
17360
- */
17361
- owner: string;
17362
- };
17363
- query?: {
17364
- /**
17365
- * The number of results to return. If not specified, defaults to 20.
17366
- */
17367
- limit?: number;
17368
- /**
17369
- * Whether to get the previous or next page from paginated results. Use `next` for forward pagination after the cursor or `prev` for backward pagination before the cursor. If not specified, defaults to `next`. If no cursor is provided, the cursor is the beginning of the result set.
17370
- */
17371
- navigation?: string;
17372
- /**
17373
- * The cursor pointing to a specific position in the result set to start the query from. Results after the cursor will be returned if used with `next` or before the cursor if used with `prev` for `navigation`.
17374
- */
17375
- cursor?: string;
17376
- /**
17377
- * The term substring to filter name strings by using the `contains` operator.
17378
- */
17379
- term?: string;
17380
- };
17381
- url: '/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repositories/';
17382
- };
17383
- export type RetrievesListOfRepositoriesForAGivenOwnerErrors = {
17384
- /**
17385
- * Bad Request
17386
- */
17387
- 400: unknown;
17388
- /**
17389
- * Forbidden
17390
- */
17391
- 403: unknown;
17392
- /**
17393
- * Not Found
17394
- */
17395
- 404: unknown;
17396
- };
17397
- export type RetrievesListOfRepositoriesForAGivenOwnerResponses = {
17398
- /**
17399
- * Serializer for repositories response
17400
- */
17401
- 200: {
17402
- results: Array<{
17403
- name: string;
17404
- updatedAt: string;
17405
- latestCommitAt: string;
17406
- defaultBranch: string;
17407
- }>;
17408
- /**
17409
- * Serializer for pagination information
17410
- */
17411
- pageInfo: {
17412
- endCursor: string | null;
17413
- startCursor: string | null;
17414
- hasPreviousPage: boolean;
17415
- hasNextPage: boolean;
17416
- };
17417
- totalCount: number;
17418
- };
17419
- };
17420
- export type RetrievesListOfRepositoriesForAGivenOwnerResponse = RetrievesListOfRepositoriesForAGivenOwnerResponses[keyof RetrievesListOfRepositoriesForAGivenOwnerResponses];
17421
- export type GetsSyncingStatusForRepositoriesForAnIntegratedOrgData = {
17422
- body?: never;
17423
- path: {
17424
- /**
17425
- * The ID or slug of the organization the resource belongs to.
17426
- */
17427
- organization_id_or_slug: string;
17428
- /**
17429
- * The owner of the repository.
17430
- */
17431
- owner: string;
17432
- };
17433
- query?: never;
17434
- url: '/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repositories/sync/';
17435
- };
17436
- export type GetsSyncingStatusForRepositoriesForAnIntegratedOrgErrors = {
17437
- /**
17438
- * Bad Request
17439
- */
17440
- 400: unknown;
17441
- /**
17442
- * Forbidden
17443
- */
17444
- 403: unknown;
17445
- /**
17446
- * Not Found
17447
- */
17448
- 404: unknown;
17449
- };
17450
- export type GetsSyncingStatusForRepositoriesForAnIntegratedOrgResponses = {
17451
- /**
17452
- * Serializer for a sync repository response
17453
- */
17454
- 200: {
17455
- isSyncing: boolean;
17456
- };
17457
- };
17458
- export type GetsSyncingStatusForRepositoriesForAnIntegratedOrgResponse = GetsSyncingStatusForRepositoriesForAnIntegratedOrgResponses[keyof GetsSyncingStatusForRepositoriesForAnIntegratedOrgResponses];
17459
- export type SyncsRepositoriesFromAnIntegratedOrgWithGitHubData = {
17460
- body?: never;
17461
- path: {
17462
- /**
17463
- * The ID or slug of the organization the resource belongs to.
17464
- */
17465
- organization_id_or_slug: string;
17466
- /**
17467
- * The owner of the repository.
17468
- */
17469
- owner: string;
17470
- };
17471
- query?: never;
17472
- url: '/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repositories/sync/';
17473
- };
17474
- export type SyncsRepositoriesFromAnIntegratedOrgWithGitHubErrors = {
17475
- /**
17476
- * Bad Request
17477
- */
17478
- 400: unknown;
17479
- /**
17480
- * Forbidden
17481
- */
17482
- 403: unknown;
17483
- /**
17484
- * Not Found
17485
- */
17486
- 404: unknown;
17487
- };
17488
- export type SyncsRepositoriesFromAnIntegratedOrgWithGitHubResponses = {
17489
- /**
17490
- * Serializer for a sync repository response
17491
- */
17492
- 200: {
17493
- isSyncing: boolean;
17494
- };
17495
- };
17496
- export type SyncsRepositoriesFromAnIntegratedOrgWithGitHubResponse = SyncsRepositoriesFromAnIntegratedOrgWithGitHubResponses[keyof SyncsRepositoriesFromAnIntegratedOrgWithGitHubResponses];
17497
- export type RetrievesAPaginatedListOfRepositoryTokensForAGivenOwnerData = {
17498
- body?: never;
17499
- path: {
17500
- /**
17501
- * The ID or slug of the organization the resource belongs to.
17502
- */
17503
- organization_id_or_slug: string;
17504
- /**
17505
- * The owner of the repository.
17506
- */
17507
- owner: string;
17508
- };
17509
- query?: {
17510
- /**
17511
- * The number of results to return. If not specified, defaults to 20.
17512
- */
17513
- limit?: number;
17514
- /**
17515
- * Whether to get the previous or next page from paginated results. Use `next` for forward pagination after the cursor or `prev` for backward pagination before the cursor. If not specified, defaults to `next`. If no cursor is provided, the cursor is the beginning of the result set.
17516
- */
17517
- navigation?: string;
17518
- /**
17519
- * The cursor pointing to a specific position in the result set to start the query from. Results after the cursor will be returned if used with `next` or before the cursor if used with `prev` for `navigation`.
17520
- */
17521
- cursor?: string;
17522
- /**
17523
- * The property to sort results by. If not specified, the default is `COMMIT_DATE` in descending order. Use `-`
17524
- * for descending order.
17525
- *
17526
- * Available fields are:
17527
- * - `NAME`
17528
- * - `COMMIT_DATE`
17529
- *
17530
- */
17531
- sortBy?: string;
17532
- };
17533
- url: '/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repositories/tokens/';
17534
- };
17535
- export type RetrievesAPaginatedListOfRepositoryTokensForAGivenOwnerErrors = {
17536
- /**
17537
- * Bad Request
17538
- */
17539
- 400: unknown;
17540
- /**
17541
- * Forbidden
17542
- */
17543
- 403: unknown;
17544
- /**
17545
- * Not Found
17546
- */
17547
- 404: unknown;
17548
- };
17549
- export type RetrievesAPaginatedListOfRepositoryTokensForAGivenOwnerResponses = {
17550
- /**
17551
- * Serializer for repository tokens response
17552
- */
17553
- 200: {
17554
- results: Array<{
17555
- name: string;
17556
- token: string;
17557
- }>;
17558
- /**
17559
- * Serializer for pagination information
17560
- */
17561
- pageInfo: {
17562
- endCursor: string | null;
17563
- startCursor: string | null;
17564
- hasPreviousPage: boolean;
17565
- hasNextPage: boolean;
17566
- };
17567
- totalCount: number;
17568
- };
17569
- };
17570
- export type RetrievesAPaginatedListOfRepositoryTokensForAGivenOwnerResponse = RetrievesAPaginatedListOfRepositoryTokensForAGivenOwnerResponses[keyof RetrievesAPaginatedListOfRepositoryTokensForAGivenOwnerResponses];
17571
- export type RetrievesASingleRepositoryForAGivenOwnerData = {
17572
- body?: never;
17573
- path: {
17574
- /**
17575
- * The ID or slug of the organization the resource belongs to.
17576
- */
17577
- organization_id_or_slug: string;
17578
- /**
17579
- * The owner of the repository.
17580
- */
17581
- owner: string;
17582
- /**
17583
- * The name of the repository.
17584
- */
17585
- repository: string;
17586
- };
17587
- query?: never;
17588
- url: '/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repository/{repository}/';
17589
- };
17590
- export type RetrievesASingleRepositoryForAGivenOwnerErrors = {
17591
- /**
17592
- * Bad Request
17593
- */
17594
- 400: unknown;
17595
- /**
17596
- * Forbidden
17597
- */
17598
- 403: unknown;
17599
- /**
17600
- * Not Found
17601
- */
17602
- 404: unknown;
17603
- };
17604
- export type RetrievesASingleRepositoryForAGivenOwnerResponses = {
17605
- /**
17606
- * Serializer for single repository response
17607
- */
17608
- 200: {
17609
- uploadToken: string | null;
17610
- testAnalyticsEnabled: boolean;
17611
- };
17612
- };
17613
- export type RetrievesASingleRepositoryForAGivenOwnerResponse = RetrievesASingleRepositoryForAGivenOwnerResponses[keyof RetrievesASingleRepositoryForAGivenOwnerResponses];
17614
- export type RetrievesListOfBranchesForAGivenOwnerAndRepositoryData = {
17615
- body?: never;
17616
- path: {
17617
- /**
17618
- * The ID or slug of the organization the resource belongs to.
17619
- */
17620
- organization_id_or_slug: string;
17621
- /**
17622
- * The owner of the repository.
17623
- */
17624
- owner: string;
17625
- /**
17626
- * The name of the repository.
17627
- */
17628
- repository: string;
17629
- };
17630
- query?: {
17631
- /**
17632
- * The number of results to return. If not specified, defaults to 20.
17633
- */
17634
- limit?: number;
17635
- /**
17636
- * Whether to get the previous or next page from paginated results. Use `next` for forward pagination after the cursor or `prev` for backward pagination before the cursor. If not specified, defaults to `next`. If no cursor is provided, the cursor is the beginning of the result set.
17637
- */
17638
- navigation?: string;
17639
- /**
17640
- * The cursor pointing to a specific position in the result set to start the query from. Results after the cursor will be returned if used with `next` or before the cursor if used with `prev` for `navigation`.
17641
- */
17642
- cursor?: string;
17643
- /**
17644
- * The term substring to filter name strings by using the `contains` operator.
17645
- */
17646
- term?: string;
17647
- };
17648
- url: '/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repository/{repository}/branches/';
17649
- };
17650
- export type RetrievesListOfBranchesForAGivenOwnerAndRepositoryErrors = {
17651
- /**
17652
- * Bad Request
17653
- */
17654
- 400: unknown;
17655
- /**
17656
- * Forbidden
17657
- */
17658
- 403: unknown;
17659
- /**
17660
- * Not Found
17661
- */
17662
- 404: unknown;
17663
- };
17664
- export type RetrievesListOfBranchesForAGivenOwnerAndRepositoryResponses = {
17665
- /**
17666
- * Serializer for repository branches response
17667
- */
17668
- 200: {
17669
- defaultBranch: string;
17670
- results: Array<{
17671
- name: string;
17672
- }>;
17673
- /**
17674
- * Serializer for pagination information
17675
- */
17676
- pageInfo: {
17677
- endCursor: string | null;
17678
- startCursor: string | null;
17679
- hasPreviousPage: boolean;
17680
- hasNextPage: boolean;
17681
- };
17682
- totalCount: number;
17683
- };
17684
- };
17685
- export type RetrievesListOfBranchesForAGivenOwnerAndRepositoryResponse = RetrievesListOfBranchesForAGivenOwnerAndRepositoryResponses[keyof RetrievesListOfBranchesForAGivenOwnerAndRepositoryResponses];
17686
- export type RetrievePaginatedListOfTestResultsForRepositoryOwnerAndOrganizationData = {
17687
- body?: never;
17688
- path: {
17689
- /**
17690
- * The ID or slug of the organization the resource belongs to.
17691
- */
17692
- organization_id_or_slug: string;
17693
- /**
17694
- * The owner of the repository.
17695
- */
17696
- owner: string;
17697
- /**
17698
- * The name of the repository.
17699
- */
17700
- repository: string;
17701
- };
17702
- query?: {
17703
- /**
17704
- * The property to sort results by. If not specified, the default is `TOTAL_FAIL_COUNT` in descending order. Use `-`
17705
- * for descending order.
17706
- *
17707
- * Available fields are:
17708
- * - `AVG_DURATION`
17709
- * - `FLAKE_RATE`
17710
- * - `FAILURE_RATE`
17711
- * - `TOTAL_FAIL_COUNT`
17712
- * - `UPDATED_AT`
17713
- *
17714
- */
17715
- sortBy?: string;
17716
- /**
17717
- * An optional field to filter by, which will constrain the results to only include tests that match the filter.
17718
- *
17719
- * Available fields are:
17720
- * - `FLAKY_TESTS`
17721
- * - `FAILED_TESTS`
17722
- * - `SLOWEST_TESTS`
17723
- * - `SKIPPED_TESTS`
17724
- *
17725
- */
17726
- filterBy?: string;
17727
- /**
17728
- * The time interval to search for results by.
17729
- *
17730
- * Available fields are:
17731
- * - `INTERVAL_30_DAY`
17732
- * - `INTERVAL_7_DAY`
17733
- * - `INTERVAL_1_DAY`
17734
- *
17735
- */
17736
- interval?: string;
17737
- /**
17738
- * The branch to search for results by. If not specified, the default is all branches.
17739
- *
17740
- */
17741
- branch?: string;
17742
- /**
17743
- * The number of results to return. If not specified, defaults to 20.
17744
- */
17745
- limit?: number;
17746
- /**
17747
- * Whether to get the previous or next page from paginated results. Use `next` for forward pagination after the cursor or `prev` for backward pagination before the cursor. If not specified, defaults to `next`. If no cursor is provided, the cursor is the beginning of the result set.
17748
- */
17749
- navigation?: string;
17750
- /**
17751
- * The cursor pointing to a specific position in the result set to start the query from. Results after the cursor will be returned if used with `next` or before the cursor if used with `prev` for `navigation`.
17752
- */
17753
- cursor?: string;
17754
- /**
17755
- * The term substring to filter name strings by using the `contains` operator.
17756
- */
17757
- term?: string;
17758
- };
17759
- url: '/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repository/{repository}/test-results/';
17760
- };
17761
- export type RetrievePaginatedListOfTestResultsForRepositoryOwnerAndOrganizationErrors = {
17762
- /**
17763
- * Bad Request
17764
- */
17765
- 400: unknown;
17766
- /**
17767
- * Forbidden
17768
- */
17769
- 403: unknown;
17770
- /**
17771
- * Not Found
17772
- */
17773
- 404: unknown;
17774
- };
17775
- export type RetrievePaginatedListOfTestResultsForRepositoryOwnerAndOrganizationResponses = {
17776
- /**
17777
- * Serializer for test results response including pagination metadata
17778
- */
17779
- 200: {
17780
- defaultBranch: string;
17781
- results: Array<{
17782
- updatedAt: string;
17783
- avgDuration: number;
17784
- totalDuration: number;
17785
- name: string;
17786
- failureRate: number;
17787
- flakeRate: number;
17788
- totalFailCount: number;
17789
- totalFlakyFailCount: number;
17790
- totalSkipCount: number;
17791
- totalPassCount: number;
17792
- lastDuration: number;
17793
- }>;
17794
- /**
17795
- * Serializer for pagination information
17796
- */
17797
- pageInfo: {
17798
- endCursor: string | null;
17799
- startCursor: string | null;
17800
- hasPreviousPage: boolean;
17801
- hasNextPage: boolean;
17802
- };
17803
- totalCount: number;
17804
- };
17805
- };
17806
- export type RetrievePaginatedListOfTestResultsForRepositoryOwnerAndOrganizationResponse = RetrievePaginatedListOfTestResultsForRepositoryOwnerAndOrganizationResponses[keyof RetrievePaginatedListOfTestResultsForRepositoryOwnerAndOrganizationResponses];
17807
- export type RetrieveAggregatedTestResultMetricsForRepositoryOwnerAndOrganizationData = {
17808
- body?: never;
17809
- path: {
17810
- /**
17811
- * The ID or slug of the organization the resource belongs to.
17812
- */
17813
- organization_id_or_slug: string;
17814
- /**
17815
- * The owner of the repository.
17816
- */
17817
- owner: string;
17818
- /**
17819
- * The name of the repository.
17820
- */
17821
- repository: string;
17822
- };
17823
- query?: {
17824
- /**
17825
- * The time interval to search for results by.
17826
- *
17827
- * Available fields are:
17828
- * - `INTERVAL_30_DAY`
17829
- * - `INTERVAL_7_DAY`
17830
- * - `INTERVAL_1_DAY`
17831
- *
17832
- */
17833
- interval?: string;
17834
- /**
17835
- * The branch to search for results by. If not specified, the default is all branches.
17836
- *
17837
- */
17838
- branch?: string;
17839
- };
17840
- url: '/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repository/{repository}/test-results-aggregates/';
17841
- };
17842
- export type RetrieveAggregatedTestResultMetricsForRepositoryOwnerAndOrganizationErrors = {
17843
- /**
17844
- * Bad Request
17845
- */
17846
- 400: unknown;
17847
- /**
17848
- * Forbidden
17849
- */
17850
- 403: unknown;
17851
- /**
17852
- * Not Found
17853
- */
17854
- 404: unknown;
17855
- };
17856
- export type RetrieveAggregatedTestResultMetricsForRepositoryOwnerAndOrganizationResponses = {
17857
- /**
17858
- * Serializer for test results aggregates response
17859
- */
17860
- 200: {
17861
- totalDuration: number;
17862
- totalDurationPercentChange: number;
17863
- slowestTestsDuration: number;
17864
- slowestTestsDurationPercentChange: number;
17865
- totalSlowTests: number;
17866
- totalSlowTestsPercentChange: number;
17867
- totalFails: number;
17868
- totalFailsPercentChange: number;
17869
- totalSkips: number;
17870
- totalSkipsPercentChange: number;
17871
- flakeCount: number;
17872
- flakeCountPercentChange: number;
17873
- flakeRate: number;
17874
- flakeRatePercentChange: number;
17875
- };
17876
- };
17877
- export type RetrieveAggregatedTestResultMetricsForRepositoryOwnerAndOrganizationResponse = RetrieveAggregatedTestResultMetricsForRepositoryOwnerAndOrganizationResponses[keyof RetrieveAggregatedTestResultMetricsForRepositoryOwnerAndOrganizationResponses];
17878
- export type RetrieveTestSuitesBelongingToARepositorySTestResultsData = {
17879
- body?: never;
17880
- path: {
17881
- /**
17882
- * The ID or slug of the organization the resource belongs to.
17883
- */
17884
- organization_id_or_slug: string;
17885
- /**
17886
- * The owner of the repository.
17887
- */
17888
- owner: string;
17889
- /**
17890
- * The name of the repository.
17891
- */
17892
- repository: string;
17893
- };
17894
- query?: {
17895
- /**
17896
- * The term substring to filter name strings by using the `contains` operator.
17897
- */
17898
- term?: string;
17899
- };
17900
- url: '/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repository/{repository}/test-suites/';
17901
- };
17902
- export type RetrieveTestSuitesBelongingToARepositorySTestResultsErrors = {
17903
- /**
17904
- * Bad Request
17905
- */
17906
- 400: unknown;
17907
- /**
17908
- * Forbidden
17909
- */
17910
- 403: unknown;
17911
- /**
17912
- * Not Found
17913
- */
17914
- 404: unknown;
17915
- };
17916
- export type RetrieveTestSuitesBelongingToARepositorySTestResultsResponses = {
17917
- /**
17918
- * Serializer for test suites belonging to a repository's test results
17919
- */
17920
- 200: {
17921
- testSuites: Array<string>;
17922
- };
17923
- };
17924
- export type RetrieveTestSuitesBelongingToARepositorySTestResultsResponse = RetrieveTestSuitesBelongingToARepositorySTestResultsResponses[keyof RetrieveTestSuitesBelongingToARepositorySTestResultsResponses];
17925
- export type RegeneratesARepositoryUploadTokenAndReturnsTheNewTokenData = {
17926
- body?: never;
17927
- path: {
17928
- /**
17929
- * The ID or slug of the organization the resource belongs to.
17930
- */
17931
- organization_id_or_slug: string;
17932
- /**
17933
- * The owner of the repository.
17934
- */
17935
- owner: string;
17936
- /**
17937
- * The name of the repository.
17938
- */
17939
- repository: string;
17940
- };
17941
- query?: never;
17942
- url: '/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repository/{repository}/token/regenerate/';
17943
- };
17944
- export type RegeneratesARepositoryUploadTokenAndReturnsTheNewTokenErrors = {
17945
- /**
17946
- * Bad Request
17947
- */
17948
- 400: unknown;
17949
- /**
17950
- * Forbidden
17951
- */
17952
- 403: unknown;
17953
- /**
17954
- * Not Found
17955
- */
17956
- 404: unknown;
17957
- };
17958
- export type RegeneratesARepositoryUploadTokenAndReturnsTheNewTokenResponses = {
17959
- /**
17960
- * Serializer for repositories response
17961
- */
17962
- 200: {
17963
- token: string;
17964
- };
17965
- };
17966
- export type RegeneratesARepositoryUploadTokenAndReturnsTheNewTokenResponse = RegeneratesARepositoryUploadTokenAndReturnsTheNewTokenResponses[keyof RegeneratesARepositoryUploadTokenAndReturnsTheNewTokenResponses];
17967
17172
  export type ListAnOrganizationSClientKeysData = {
17968
17173
  body?: never;
17969
17174
  path: {