@brigadasos/nadeshiko-sdk 1.5.0-dev.9402be1 → 1.5.0-dev.b657d3a

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.
@@ -6,9 +6,9 @@ export type ClientOptions = {
6
6
  */
7
7
  export type MediaFilterItem = {
8
8
  /**
9
- * Media ID to filter
9
+ * Media identifier (publicId or AniList external ID)
10
10
  */
11
- mediaId: number;
11
+ mediaId: string;
12
12
  /**
13
13
  * Specific episodes (omit for all episodes)
14
14
  */
@@ -144,6 +144,10 @@ export type Segment = {
144
144
  * Unique identifier for the segment
145
145
  */
146
146
  uuid: string;
147
+ /**
148
+ * Public identifier for the segment (use this instead of uuid in public URLs)
149
+ */
150
+ publicId: string;
147
151
  /**
148
152
  * Position of the segment within the episode
149
153
  */
@@ -250,6 +254,10 @@ export type Seiyuu = {
250
254
  * Internal seiyuu ID
251
255
  */
252
256
  id: number;
257
+ /**
258
+ * Public identifier for the seiyuu (use this in public URLs)
259
+ */
260
+ publicId: string;
253
261
  externalIds: ExternalId;
254
262
  /**
255
263
  * Japanese name of the voice actor
@@ -295,9 +303,13 @@ export type MediaCharacter = {
295
303
  */
296
304
  export type Media = {
297
305
  /**
298
- * Unique identifier for the media
306
+ * Internal unique identifier for the media
299
307
  */
300
308
  id: number;
309
+ /**
310
+ * Public identifier for the media (use this in public URLs)
311
+ */
312
+ publicId: string;
301
313
  externalIds: ExternalId;
302
314
  /**
303
315
  * Original Japanese name of the media
@@ -601,6 +613,10 @@ export type MediaSearchStats = {
601
613
  * Media identifier (look up full details in includes.media)
602
614
  */
603
615
  mediaId: number;
616
+ /**
617
+ * Public identifier for use in URLs and filters
618
+ */
619
+ publicId: string;
604
620
  /**
605
621
  * Number of matching segments found in this media
606
622
  */
@@ -866,8 +882,65 @@ export type Error409 = {
866
882
  [key: string]: string;
867
883
  };
868
884
  };
885
+ /**
886
+ * Slim media item returned by autocomplete (names + cover only)
887
+ */
888
+ export type MediaAutocompleteItem = {
889
+ /**
890
+ * Unique identifier for the media
891
+ */
892
+ id: number;
893
+ /**
894
+ * Original Japanese name of the media
895
+ */
896
+ nameJa: string;
897
+ /**
898
+ * Romaji transliteration of the media name
899
+ */
900
+ nameRomaji: string;
901
+ /**
902
+ * English name of the media
903
+ */
904
+ nameEn: string;
905
+ /**
906
+ * Full URL to the cover image
907
+ */
908
+ coverUrl: string;
909
+ category: Category;
910
+ };
869
911
  export type MediaAutocompleteResponse = {
870
- media: Array<Media>;
912
+ media: Array<MediaAutocompleteItem>;
913
+ };
914
+ /**
915
+ * Segment with internal fields. For write operations (create, update) all fields are always populated.
916
+ * For GET, optional fields are only populated when requested via include[].
917
+ *
918
+ */
919
+ export type SegmentInternal = Segment & {
920
+ /**
921
+ * Storage backend for segment assets
922
+ */
923
+ storage?: 'LOCAL' | 'R2';
924
+ /**
925
+ * Hash identifier for the segment
926
+ */
927
+ hashedId?: string;
928
+ /**
929
+ * Base path in the storage backend
930
+ */
931
+ storageBasePath?: string;
932
+ /**
933
+ * Raw WD Tagger v3 classifier output used to derive content rating
934
+ */
935
+ ratingAnalysis?: {
936
+ [key: string]: unknown;
937
+ };
938
+ /**
939
+ * POS tokenization results keyed by engine (sudachi, unidic)
940
+ */
941
+ posAnalysis?: {
942
+ [key: string]: unknown;
943
+ };
871
944
  };
872
945
  /**
873
946
  * Not Found error response
@@ -972,35 +1045,6 @@ export type SegmentUpdateRequest = {
972
1045
  */
973
1046
  hashedId?: string;
974
1047
  };
975
- /**
976
- * Segment with internal fields (for internal API responses)
977
- */
978
- export type SegmentInternal = Segment & {
979
- /**
980
- * Storage backend for segment assets
981
- */
982
- storage: 'LOCAL' | 'R2';
983
- /**
984
- * Hash identifier for the segment
985
- */
986
- hashedId: string;
987
- /**
988
- * Base path in the storage backend
989
- */
990
- storageBasePath: string;
991
- /**
992
- * Raw WD Tagger v3 classifier output used to derive content rating
993
- */
994
- ratingAnalysis: {
995
- [key: string]: unknown;
996
- };
997
- /**
998
- * POS tokenization results keyed by engine (sudachi, unidic)
999
- */
1000
- posAnalysis: {
1001
- [key: string]: unknown;
1002
- };
1003
- };
1004
1048
  export type SegmentContextResponse = {
1005
1049
  segments: Array<Segment>;
1006
1050
  includes: {
@@ -1012,6 +1056,30 @@ export type SegmentContextResponse = {
1012
1056
  };
1013
1057
  };
1014
1058
  };
1059
+ export type SegmentRevision = {
1060
+ /**
1061
+ * Revision ID
1062
+ */
1063
+ id: number;
1064
+ /**
1065
+ * Sequential revision number per segment
1066
+ */
1067
+ revisionNumber: number;
1068
+ /**
1069
+ * Snapshot of editable fields at the time of the revision
1070
+ */
1071
+ snapshot: {
1072
+ [key: string]: unknown;
1073
+ };
1074
+ /**
1075
+ * Name of the user who made the change
1076
+ */
1077
+ userName?: string;
1078
+ /**
1079
+ * When the revision was created
1080
+ */
1081
+ createdAt: string;
1082
+ };
1015
1083
  /**
1016
1084
  * Ordered media series grouping
1017
1085
  */
@@ -1076,6 +1144,10 @@ export type Character = {
1076
1144
  * Internal character ID
1077
1145
  */
1078
1146
  id: number;
1147
+ /**
1148
+ * Public identifier for the character (use this in public URLs)
1149
+ */
1150
+ publicId: string;
1079
1151
  externalIds: ExternalId;
1080
1152
  /**
1081
1153
  * Japanese name of the character
@@ -1397,6 +1469,9 @@ export type SegmentCreateRequest = {
1397
1469
  */
1398
1470
  hashedId: string;
1399
1471
  };
1472
+ export type SegmentBatchCreateRequest = {
1473
+ segments: Array<SegmentCreateRequest>;
1474
+ };
1400
1475
  export type UserQuotaResponse = {
1401
1476
  /**
1402
1477
  * Number of API requests used in the current billing period.
@@ -1433,7 +1508,7 @@ export type ReportTargetMedia = {
1433
1508
  */
1434
1509
  mediaId: number;
1435
1510
  };
1436
- export type ReportTargetSegment = {
1511
+ export type ReportTargetSegmentInput = {
1437
1512
  /**
1438
1513
  * Report target type
1439
1514
  */
@@ -1447,15 +1522,15 @@ export type ReportTargetSegment = {
1447
1522
  */
1448
1523
  episodeNumber?: number;
1449
1524
  /**
1450
- * Segment UUID this report targets
1525
+ * Segment public ID or UUID
1451
1526
  */
1452
- segmentUuid: string;
1527
+ segmentId: string;
1453
1528
  };
1454
1529
  export type UserReportTarget = ({
1455
1530
  type: 'MEDIA';
1456
1531
  } & ReportTargetMedia) | ({
1457
1532
  type: 'SEGMENT';
1458
- } & ReportTargetSegment);
1533
+ } & ReportTargetSegmentInput);
1459
1534
  export type CreateReportRequest = {
1460
1535
  target: UserReportTarget;
1461
1536
  /**
@@ -1481,6 +1556,24 @@ export type ReportTargetEpisode = {
1481
1556
  */
1482
1557
  episodeNumber: number;
1483
1558
  };
1559
+ export type ReportTargetSegment = {
1560
+ /**
1561
+ * Report target type
1562
+ */
1563
+ type: 'SEGMENT';
1564
+ /**
1565
+ * Media ID this report targets
1566
+ */
1567
+ mediaId: number;
1568
+ /**
1569
+ * Episode number containing the segment
1570
+ */
1571
+ episodeNumber?: number;
1572
+ /**
1573
+ * Segment ID
1574
+ */
1575
+ segmentId: number;
1576
+ };
1484
1577
  export type ReportTarget = ({
1485
1578
  type: 'MEDIA';
1486
1579
  } & ReportTargetMedia) | ({
@@ -1584,17 +1677,26 @@ export type UserPreferences = {
1584
1677
  /**
1585
1678
  * Type of user activity
1586
1679
  */
1587
- export type ActivityType = 'SEARCH' | 'ANKI_EXPORT' | 'SEGMENT_PLAY' | 'LIST_ADD_SEGMENT';
1680
+ export type ActivityType = 'SEARCH' | 'ANKI_EXPORT' | 'SEGMENT_PLAY' | 'SHARE';
1588
1681
  export type UserActivity = {
1589
1682
  id: number;
1590
1683
  activityType: ActivityType;
1591
- segmentUuid: string;
1684
+ segmentId: number;
1592
1685
  mediaId: number;
1593
1686
  searchQuery: string;
1594
1687
  mediaName: string;
1595
1688
  japaneseText: string;
1596
1689
  createdAt: string;
1597
1690
  };
1691
+ /**
1692
+ * Activity counts for a single day, broken down by type. Only types with at least 1 event are present.
1693
+ */
1694
+ export type HeatmapDayCounts = {
1695
+ SEARCH?: number;
1696
+ SEGMENT_PLAY?: number;
1697
+ ANKI_EXPORT?: number;
1698
+ SHARE?: number;
1699
+ };
1598
1700
  /**
1599
1701
  * User segment collection
1600
1702
  */
@@ -1607,6 +1709,10 @@ export type Collection = {
1607
1709
  * Name of the collection
1608
1710
  */
1609
1711
  name: string;
1712
+ /**
1713
+ * Type of the collection
1714
+ */
1715
+ type: 'USER' | 'ANKI_EXPORT';
1610
1716
  /**
1611
1717
  * Visibility of the collection
1612
1718
  */
@@ -1626,9 +1732,9 @@ export type Collection = {
1626
1732
  };
1627
1733
  export type UserExportCollection = Collection & {
1628
1734
  /**
1629
- * Segment UUIDs in saved order
1735
+ * Segment IDs in saved order
1630
1736
  */
1631
- segmentUuids: Array<string>;
1737
+ segmentIds: Array<number>;
1632
1738
  };
1633
1739
  /**
1634
1740
  * User data export payload (identifier-oriented references)
@@ -2202,11 +2308,16 @@ export type GetSegmentByUuidData = {
2202
2308
  body?: never;
2203
2309
  path: {
2204
2310
  /**
2205
- * Segment UUID
2311
+ * Segment UUID or publicId
2206
2312
  */
2207
2313
  uuid: string;
2208
2314
  };
2209
- query?: never;
2315
+ query?: {
2316
+ /**
2317
+ * Additional internal fields to include in the response
2318
+ */
2319
+ include?: Array<'ratingAnalysis' | 'posAnalysis' | 'hashedId' | 'storageBasePath' | 'storage'>;
2320
+ };
2210
2321
  url: '/v1/media/segments/{uuid}';
2211
2322
  };
2212
2323
  export type GetSegmentByUuidErrors = {
@@ -2215,7 +2326,7 @@ export type GetSegmentByUuidErrors = {
2215
2326
  */
2216
2327
  400: Error400;
2217
2328
  /**
2218
- * Unauthorized (API key)
2329
+ * Unauthorized (API key or session)
2219
2330
  */
2220
2331
  401: Error401;
2221
2332
  /**
@@ -2238,16 +2349,16 @@ export type GetSegmentByUuidErrors = {
2238
2349
  export type GetSegmentByUuidError = GetSegmentByUuidErrors[keyof GetSegmentByUuidErrors];
2239
2350
  export type GetSegmentByUuidResponses = {
2240
2351
  /**
2241
- * OK
2352
+ * Single segment response with internal fields
2242
2353
  */
2243
- 200: Segment;
2354
+ 200: SegmentInternal;
2244
2355
  };
2245
2356
  export type GetSegmentByUuidResponse = GetSegmentByUuidResponses[keyof GetSegmentByUuidResponses];
2246
2357
  export type UpdateSegmentByUuidData = {
2247
2358
  body: SegmentUpdateRequest;
2248
2359
  path: {
2249
2360
  /**
2250
- * Segment UUID
2361
+ * Segment UUID or publicId
2251
2362
  */
2252
2363
  uuid: string;
2253
2364
  };
@@ -2292,7 +2403,7 @@ export type GetSegmentContextData = {
2292
2403
  body?: never;
2293
2404
  path: {
2294
2405
  /**
2295
- * Segment UUID
2406
+ * Segment UUID or publicId
2296
2407
  */
2297
2408
  uuid: string;
2298
2409
  };
@@ -2314,7 +2425,7 @@ export type GetSegmentContextErrors = {
2314
2425
  */
2315
2426
  400: Error400;
2316
2427
  /**
2317
- * Unauthorized (API key)
2428
+ * Unauthorized (API key or session)
2318
2429
  */
2319
2430
  401: Error401;
2320
2431
  /**
@@ -2342,6 +2453,53 @@ export type GetSegmentContextResponses = {
2342
2453
  200: SegmentContextResponse;
2343
2454
  };
2344
2455
  export type GetSegmentContextResponse = GetSegmentContextResponses[keyof GetSegmentContextResponses];
2456
+ export type ListSegmentRevisionsData = {
2457
+ body?: never;
2458
+ path: {
2459
+ /**
2460
+ * Segment UUID or publicId
2461
+ */
2462
+ uuid: string;
2463
+ };
2464
+ query?: never;
2465
+ url: '/v1/media/segments/{uuid}/revisions';
2466
+ };
2467
+ export type ListSegmentRevisionsErrors = {
2468
+ /**
2469
+ * Bad Request
2470
+ */
2471
+ 400: Error400;
2472
+ /**
2473
+ * Unauthorized (API key or session)
2474
+ */
2475
+ 401: Error401;
2476
+ /**
2477
+ * Forbidden
2478
+ */
2479
+ 403: Error403;
2480
+ /**
2481
+ * Not Found
2482
+ */
2483
+ 404: Error404;
2484
+ /**
2485
+ * Too Many Requests
2486
+ */
2487
+ 429: Error429;
2488
+ /**
2489
+ * Internal Server Error
2490
+ */
2491
+ 500: Error500;
2492
+ };
2493
+ export type ListSegmentRevisionsError = ListSegmentRevisionsErrors[keyof ListSegmentRevisionsErrors];
2494
+ export type ListSegmentRevisionsResponses = {
2495
+ /**
2496
+ * List of segment revisions
2497
+ */
2498
+ 200: {
2499
+ revisions: Array<SegmentRevision>;
2500
+ };
2501
+ };
2502
+ export type ListSegmentRevisionsResponse = ListSegmentRevisionsResponses[keyof ListSegmentRevisionsResponses];
2345
2503
  export type ListSeriesData = {
2346
2504
  body?: never;
2347
2505
  path?: never;
@@ -3347,6 +3505,64 @@ export type CreateSegmentResponses = {
3347
3505
  201: SegmentInternal;
3348
3506
  };
3349
3507
  export type CreateSegmentResponse = CreateSegmentResponses[keyof CreateSegmentResponses];
3508
+ export type CreateSegmentsBatchData = {
3509
+ body: SegmentBatchCreateRequest;
3510
+ path: {
3511
+ /**
3512
+ * ID of the media
3513
+ */
3514
+ mediaId: number;
3515
+ /**
3516
+ * Episode number
3517
+ */
3518
+ episodeNumber: number;
3519
+ };
3520
+ query?: never;
3521
+ url: '/v1/media/{mediaId}/episodes/{episodeNumber}/segments/batch';
3522
+ };
3523
+ export type CreateSegmentsBatchErrors = {
3524
+ /**
3525
+ * Bad Request
3526
+ */
3527
+ 400: Error400;
3528
+ /**
3529
+ * Unauthorized (API key)
3530
+ */
3531
+ 401: Error401;
3532
+ /**
3533
+ * Forbidden
3534
+ */
3535
+ 403: Error403;
3536
+ /**
3537
+ * Not Found
3538
+ */
3539
+ 404: Error404;
3540
+ /**
3541
+ * Too Many Requests
3542
+ */
3543
+ 429: Error429;
3544
+ /**
3545
+ * Internal Server Error
3546
+ */
3547
+ 500: Error500;
3548
+ };
3549
+ export type CreateSegmentsBatchError = CreateSegmentsBatchErrors[keyof CreateSegmentsBatchErrors];
3550
+ export type CreateSegmentsBatchResponses = {
3551
+ /**
3552
+ * Batch segment creation result
3553
+ */
3554
+ 201: {
3555
+ /**
3556
+ * Number of segments successfully created
3557
+ */
3558
+ created: number;
3559
+ /**
3560
+ * Number of segments skipped due to duplicate UUIDs
3561
+ */
3562
+ skipped: number;
3563
+ };
3564
+ };
3565
+ export type CreateSegmentsBatchResponse = CreateSegmentsBatchResponses[keyof CreateSegmentsBatchResponses];
3350
3566
  export type DeleteSegmentData = {
3351
3567
  body?: never;
3352
3568
  path: {
@@ -3695,8 +3911,8 @@ export type ListUserActivityResponses = {
3695
3911
  export type ListUserActivityResponse = ListUserActivityResponses[keyof ListUserActivityResponses];
3696
3912
  export type TrackUserActivityData = {
3697
3913
  body: {
3698
- activityType: 'SEGMENT_PLAY';
3699
- segmentUuid?: string;
3914
+ activityType: 'SEGMENT_PLAY' | 'SHARE';
3915
+ segmentId?: number;
3700
3916
  mediaId?: number;
3701
3917
  mediaName?: string;
3702
3918
  japaneseText?: string;
@@ -3735,10 +3951,6 @@ export type GetUserActivityHeatmapData = {
3735
3951
  * Number of days to include in the heatmap
3736
3952
  */
3737
3953
  days?: number;
3738
- /**
3739
- * Filter by activity type
3740
- */
3741
- activityType?: ActivityType;
3742
3954
  };
3743
3955
  url: '/v1/user/activity/heatmap';
3744
3956
  };
@@ -3759,10 +3971,10 @@ export type GetUserActivityHeatmapResponses = {
3759
3971
  */
3760
3972
  200: {
3761
3973
  /**
3762
- * Map of YYYY-MM-DD date strings to activity activityByDay
3974
+ * Map of YYYY-MM-DD date strings to per-type activity counts
3763
3975
  */
3764
3976
  activityByDay: {
3765
- [key: string]: number;
3977
+ [key: string]: HeatmapDayCounts;
3766
3978
  };
3767
3979
  };
3768
3980
  };
@@ -3798,6 +4010,7 @@ export type GetUserActivityStatsResponses = {
3798
4010
  totalExports: number;
3799
4011
  totalPlays: number;
3800
4012
  totalListAdds: number;
4013
+ totalShares: number;
3801
4014
  topMedia: Array<{
3802
4015
  mediaId: number;
3803
4016
  count: number;
@@ -4218,9 +4431,9 @@ export type UpdateCollectionResponse = UpdateCollectionResponses[keyof UpdateCol
4218
4431
  export type AddSegmentToCollectionData = {
4219
4432
  body: {
4220
4433
  /**
4221
- * UUID of the segment to add
4434
+ * Public ID or UUID of the segment to add
4222
4435
  */
4223
- segmentUuid: string;
4436
+ segmentId: string;
4224
4437
  /**
4225
4438
  * Optional annotation
4226
4439
  */
@@ -4277,12 +4490,12 @@ export type RemoveSegmentFromCollectionData = {
4277
4490
  */
4278
4491
  id: number;
4279
4492
  /**
4280
- * Segment UUID
4493
+ * Segment ID
4281
4494
  */
4282
- uuid: string;
4495
+ segmentId: number;
4283
4496
  };
4284
4497
  query?: never;
4285
- url: '/v1/collections/{id}/segments/{uuid}';
4498
+ url: '/v1/collections/{id}/segments/{segmentId}';
4286
4499
  };
4287
4500
  export type RemoveSegmentFromCollectionErrors = {
4288
4501
  /**
@@ -4335,12 +4548,12 @@ export type UpdateCollectionSegmentData = {
4335
4548
  */
4336
4549
  id: number;
4337
4550
  /**
4338
- * Segment UUID
4551
+ * Segment ID
4339
4552
  */
4340
- uuid: string;
4553
+ segmentId: number;
4341
4554
  };
4342
4555
  query?: never;
4343
- url: '/v1/collections/{id}/segments/{uuid}';
4556
+ url: '/v1/collections/{id}/segments/{segmentId}';
4344
4557
  };
4345
4558
  export type UpdateCollectionSegmentErrors = {
4346
4559
  /**
@@ -4483,7 +4696,7 @@ export type GetAdminDashboardData = {
4483
4696
  };
4484
4697
  export type GetAdminDashboardErrors = {
4485
4698
  /**
4486
- * Unauthorized (API key)
4699
+ * Unauthorized (session)
4487
4700
  */
4488
4701
  401: Error401;
4489
4702
  /**
@@ -4575,7 +4788,7 @@ export type GetAdminHealthData = {
4575
4788
  };
4576
4789
  export type GetAdminHealthErrors = {
4577
4790
  /**
4578
- * Unauthorized (API key)
4791
+ * Unauthorized (session)
4579
4792
  */
4580
4793
  401: Error401;
4581
4794
  /**
@@ -4637,7 +4850,7 @@ export type TriggerReindexErrors = {
4637
4850
  */
4638
4851
  400: Error400;
4639
4852
  /**
4640
- * Unauthorized (API key)
4853
+ * Unauthorized (session)
4641
4854
  */
4642
4855
  401: Error401;
4643
4856
  /**
@@ -4673,7 +4886,7 @@ export type ListAdminQueueStatsErrors = {
4673
4886
  */
4674
4887
  400: Error400;
4675
4888
  /**
4676
- * Unauthorized (API key)
4889
+ * Unauthorized (session)
4677
4890
  */
4678
4891
  401: Error401;
4679
4892
  /**
@@ -4724,7 +4937,7 @@ export type GetAdminQueueErrors = {
4724
4937
  */
4725
4938
  400: Error400;
4726
4939
  /**
4727
- * Unauthorized (API key)
4940
+ * Unauthorized (session)
4728
4941
  */
4729
4942
  401: Error401;
4730
4943
  /**
@@ -4809,7 +5022,7 @@ export type ListAdminQueueFailedErrors = {
4809
5022
  */
4810
5023
  400: Error400;
4811
5024
  /**
4812
- * Unauthorized (API key)
5025
+ * Unauthorized (session)
4813
5026
  */
4814
5027
  401: Error401;
4815
5028
  /**
@@ -4867,7 +5080,7 @@ export type RetryAdminQueueFailedErrors = {
4867
5080
  */
4868
5081
  400: Error400;
4869
5082
  /**
4870
- * Unauthorized (API key)
5083
+ * Unauthorized (session)
4871
5084
  */
4872
5085
  401: Error401;
4873
5086
  /**
@@ -4915,7 +5128,7 @@ export type PurgeAdminQueueFailedErrors = {
4915
5128
  */
4916
5129
  400: Error400;
4917
5130
  /**
4918
- * Unauthorized (API key)
5131
+ * Unauthorized (session)
4919
5132
  */
4920
5133
  401: Error401;
4921
5134
  /**
@@ -4953,10 +5166,6 @@ export type ClearAdminImpersonationData = {
4953
5166
  url: '/v1/admin/impersonation';
4954
5167
  };
4955
5168
  export type ClearAdminImpersonationErrors = {
4956
- /**
4957
- * Unauthorized (session)
4958
- */
4959
- 401: Error401;
4960
5169
  /**
4961
5170
  * Forbidden
4962
5171
  */
@@ -4996,10 +5205,6 @@ export type ImpersonateAdminUserErrors = {
4996
5205
  * Bad Request
4997
5206
  */
4998
5207
  400: Error400;
4999
- /**
5000
- * Unauthorized (session)
5001
- */
5002
- 401: Error401;
5003
5208
  /**
5004
5209
  * Forbidden
5005
5210
  */
@@ -5065,9 +5270,9 @@ export type ListAdminReportsData = {
5065
5270
  */
5066
5271
  'target.episodeNumber'?: number;
5067
5272
  /**
5068
- * Filter by target segment UUID
5273
+ * Filter by target segment ID
5069
5274
  */
5070
- 'target.segmentUuid'?: string;
5275
+ 'target.segmentId'?: number;
5071
5276
  /**
5072
5277
  * Filter by audit run ID
5073
5278
  */
@@ -5077,7 +5282,7 @@ export type ListAdminReportsData = {
5077
5282
  };
5078
5283
  export type ListAdminReportsErrors = {
5079
5284
  /**
5080
- * Unauthorized (API key)
5285
+ * Unauthorized (session)
5081
5286
  */
5082
5287
  401: Error401;
5083
5288
  /**
@@ -5118,7 +5323,7 @@ export type UpdateAdminReportErrors = {
5118
5323
  */
5119
5324
  400: Error400;
5120
5325
  /**
5121
- * Unauthorized (API key)
5326
+ * Unauthorized (session)
5122
5327
  */
5123
5328
  401: Error401;
5124
5329
  /**
@@ -5154,7 +5359,7 @@ export type ListAdminMediaAuditsData = {
5154
5359
  };
5155
5360
  export type ListAdminMediaAuditsErrors = {
5156
5361
  /**
5157
- * Unauthorized (API key)
5362
+ * Unauthorized (session)
5158
5363
  */
5159
5364
  401: Error401;
5160
5365
  /**
@@ -5206,7 +5411,7 @@ export type UpdateAdminMediaAuditErrors = {
5206
5411
  */
5207
5412
  400: Error400;
5208
5413
  /**
5209
- * Unauthorized (API key)
5414
+ * Unauthorized (session)
5210
5415
  */
5211
5416
  401: Error401;
5212
5417
  /**
@@ -5252,7 +5457,7 @@ export type RunAdminMediaAuditData = {
5252
5457
  };
5253
5458
  export type RunAdminMediaAuditErrors = {
5254
5459
  /**
5255
- * Unauthorized (API key)
5460
+ * Unauthorized (session)
5256
5461
  */
5257
5462
  401: Error401;
5258
5463
  /**
@@ -5301,7 +5506,7 @@ export type ListAdminMediaAuditRunsData = {
5301
5506
  };
5302
5507
  export type ListAdminMediaAuditRunsErrors = {
5303
5508
  /**
5304
- * Unauthorized (API key)
5509
+ * Unauthorized (session)
5305
5510
  */
5306
5511
  401: Error401;
5307
5512
  /**
@@ -5341,7 +5546,7 @@ export type GetAdminMediaAuditRunData = {
5341
5546
  };
5342
5547
  export type GetAdminMediaAuditRunErrors = {
5343
5548
  /**
5344
- * Unauthorized (API key)
5549
+ * Unauthorized (session)
5345
5550
  */
5346
5551
  401: Error401;
5347
5552
  /**