@ttt-productions/q-core 0.1.48 → 0.1.50

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.
Files changed (190) hide show
  1. package/dist/constants/sports.d.ts +0 -13
  2. package/dist/constants/sports.d.ts.map +1 -1
  3. package/dist/constants/sports.js +0 -13
  4. package/dist/constants/sports.js.map +1 -1
  5. package/dist/constants/text-fields.d.ts +0 -6
  6. package/dist/constants/text-fields.d.ts.map +1 -1
  7. package/dist/constants/text-fields.js +0 -6
  8. package/dist/constants/text-fields.js.map +1 -1
  9. package/dist/doc-schemas/admin-notifications.d.ts +1 -1
  10. package/dist/doc-schemas/atoms.d.ts.map +1 -1
  11. package/dist/doc-schemas/atoms.js +1 -1
  12. package/dist/doc-schemas/atoms.js.map +1 -1
  13. package/dist/doc-schemas/audit-event.d.ts +124 -122
  14. package/dist/doc-schemas/audit-event.d.ts.map +1 -1
  15. package/dist/doc-schemas/game-stat-history.d.ts +0 -1
  16. package/dist/doc-schemas/game-stat-history.d.ts.map +1 -1
  17. package/dist/doc-schemas/game-stats.d.ts +0 -2
  18. package/dist/doc-schemas/game-stats.d.ts.map +1 -1
  19. package/dist/doc-schemas/game-stats.js +1 -2
  20. package/dist/doc-schemas/game-stats.js.map +1 -1
  21. package/dist/doc-schemas/index.d.ts +2 -1
  22. package/dist/doc-schemas/index.d.ts.map +1 -1
  23. package/dist/doc-schemas/index.js +2 -1
  24. package/dist/doc-schemas/index.js.map +1 -1
  25. package/dist/doc-schemas/migration-console.d.ts +6 -20
  26. package/dist/doc-schemas/migration-console.d.ts.map +1 -1
  27. package/dist/doc-schemas/migration-console.js +2 -7
  28. package/dist/doc-schemas/migration-console.js.map +1 -1
  29. package/dist/doc-schemas/pending-media.d.ts +725 -165
  30. package/dist/doc-schemas/pending-media.d.ts.map +1 -1
  31. package/dist/doc-schemas/registry.d.ts +385 -292
  32. package/dist/doc-schemas/registry.d.ts.map +1 -1
  33. package/dist/doc-schemas/registry.js +3 -2
  34. package/dist/doc-schemas/registry.js.map +1 -1
  35. package/dist/doc-schemas/stats-changes.d.ts +21 -0
  36. package/dist/doc-schemas/stats-changes.d.ts.map +1 -0
  37. package/dist/doc-schemas/stats-changes.js +19 -0
  38. package/dist/doc-schemas/stats-changes.js.map +1 -0
  39. package/dist/doc-schemas/stats-job.d.ts +36 -0
  40. package/dist/doc-schemas/stats-job.d.ts.map +1 -0
  41. package/dist/doc-schemas/stats-job.js +26 -0
  42. package/dist/doc-schemas/stats-job.js.map +1 -0
  43. package/dist/doc-schemas/system.d.ts +1 -1
  44. package/dist/doc-schemas/system.d.ts.map +1 -1
  45. package/dist/doc-schemas/system.js +2 -2
  46. package/dist/doc-schemas/system.js.map +1 -1
  47. package/dist/domain-events/domain-events.d.ts +337 -91
  48. package/dist/domain-events/domain-events.d.ts.map +1 -1
  49. package/dist/domain-events/domain-events.js +189 -83
  50. package/dist/domain-events/domain-events.js.map +1 -1
  51. package/dist/ids/index.d.ts +2 -0
  52. package/dist/ids/index.d.ts.map +1 -1
  53. package/dist/ids/index.js +2 -0
  54. package/dist/ids/index.js.map +1 -1
  55. package/dist/ids/notification-ids.d.ts +2 -4
  56. package/dist/ids/notification-ids.d.ts.map +1 -1
  57. package/dist/ids/notification-ids.js +3 -12
  58. package/dist/ids/notification-ids.js.map +1 -1
  59. package/dist/ids/request-job-ids.d.ts +7 -0
  60. package/dist/ids/request-job-ids.d.ts.map +1 -0
  61. package/dist/ids/request-job-ids.js +18 -0
  62. package/dist/ids/request-job-ids.js.map +1 -0
  63. package/dist/ids/stats-ids.d.ts +7 -0
  64. package/dist/ids/stats-ids.d.ts.map +1 -0
  65. package/dist/ids/stats-ids.js +17 -0
  66. package/dist/ids/stats-ids.js.map +1 -0
  67. package/dist/migration-console/action-ids.d.ts +1 -3
  68. package/dist/migration-console/action-ids.d.ts.map +1 -1
  69. package/dist/migration-console/action-ids.js +1 -3
  70. package/dist/migration-console/action-ids.js.map +1 -1
  71. package/dist/migration-console/manifest.d.ts +5 -5
  72. package/dist/migration-console/manifest.d.ts.map +1 -1
  73. package/dist/migration-console/manifest.js +19 -49
  74. package/dist/migration-console/manifest.js.map +1 -1
  75. package/dist/paths/collection-refs.d.ts +1 -1
  76. package/dist/paths/collection-refs.d.ts.map +1 -1
  77. package/dist/paths/collection-refs.js +1 -1
  78. package/dist/paths/collection-refs.js.map +1 -1
  79. package/dist/paths/collections.d.ts +15 -1
  80. package/dist/paths/collections.d.ts.map +1 -1
  81. package/dist/paths/collections.js +29 -1
  82. package/dist/paths/collections.js.map +1 -1
  83. package/dist/paths/path-builders.d.ts +1 -1
  84. package/dist/paths/path-builders.d.ts.map +1 -1
  85. package/dist/paths/path-builders.js +1 -4
  86. package/dist/paths/path-builders.js.map +1 -1
  87. package/dist/schemas/account-settings.d.ts +4 -4
  88. package/dist/schemas/account-settings.d.ts.map +1 -1
  89. package/dist/schemas/account-settings.js +2 -2
  90. package/dist/schemas/account-settings.js.map +1 -1
  91. package/dist/schemas/admin-notifications.d.ts +13 -13
  92. package/dist/schemas/admin-notifications.d.ts.map +1 -1
  93. package/dist/schemas/admin-notifications.js +8 -6
  94. package/dist/schemas/admin-notifications.js.map +1 -1
  95. package/dist/schemas/admin-stats.d.ts +6 -6
  96. package/dist/schemas/admin-stats.d.ts.map +1 -1
  97. package/dist/schemas/admin-stats.js +3 -3
  98. package/dist/schemas/admin-stats.js.map +1 -1
  99. package/dist/schemas/app-config.d.ts +4 -4
  100. package/dist/schemas/app-config.d.ts.map +1 -1
  101. package/dist/schemas/app-config.js +2 -2
  102. package/dist/schemas/app-config.js.map +1 -1
  103. package/dist/schemas/awards.d.ts +8 -8
  104. package/dist/schemas/awards.d.ts.map +1 -1
  105. package/dist/schemas/awards.js +4 -4
  106. package/dist/schemas/awards.js.map +1 -1
  107. package/dist/schemas/dead-letters.d.ts +15 -9
  108. package/dist/schemas/dead-letters.d.ts.map +1 -1
  109. package/dist/schemas/dead-letters.js +6 -5
  110. package/dist/schemas/dead-letters.js.map +1 -1
  111. package/dist/schemas/hardware-loan-contracts.d.ts +8 -8
  112. package/dist/schemas/hardware-loan-contracts.d.ts.map +1 -1
  113. package/dist/schemas/hardware-loan-contracts.js +4 -4
  114. package/dist/schemas/hardware-loan-contracts.js.map +1 -1
  115. package/dist/schemas/leagues.d.ts +4 -4
  116. package/dist/schemas/leagues.d.ts.map +1 -1
  117. package/dist/schemas/leagues.js +2 -2
  118. package/dist/schemas/leagues.js.map +1 -1
  119. package/dist/schemas/migration-console.d.ts +21 -62
  120. package/dist/schemas/migration-console.d.ts.map +1 -1
  121. package/dist/schemas/migration-console.js +5 -10
  122. package/dist/schemas/migration-console.js.map +1 -1
  123. package/dist/schemas/pictures.d.ts +447 -111
  124. package/dist/schemas/pictures.d.ts.map +1 -1
  125. package/dist/schemas/pictures.js +6 -6
  126. package/dist/schemas/pictures.js.map +1 -1
  127. package/dist/schemas/scoring.d.ts +22 -28
  128. package/dist/schemas/scoring.d.ts.map +1 -1
  129. package/dist/schemas/scoring.js +17 -13
  130. package/dist/schemas/scoring.js.map +1 -1
  131. package/dist/schemas/stats.d.ts +92 -127
  132. package/dist/schemas/stats.d.ts.map +1 -1
  133. package/dist/schemas/stats.js +50 -83
  134. package/dist/schemas/stats.js.map +1 -1
  135. package/dist/schemas/team-joining.d.ts +4 -4
  136. package/dist/schemas/team-joining.d.ts.map +1 -1
  137. package/dist/schemas/team-joining.js +2 -2
  138. package/dist/schemas/team-joining.js.map +1 -1
  139. package/dist/schemas/teams.d.ts +16 -16
  140. package/dist/schemas/teams.d.ts.map +1 -1
  141. package/dist/schemas/teams.js +8 -8
  142. package/dist/schemas/teams.js.map +1 -1
  143. package/dist/schemas/uploads.d.ts +12 -12
  144. package/dist/schemas/uploads.d.ts.map +1 -1
  145. package/dist/schemas/uploads.js +8 -6
  146. package/dist/schemas/uploads.js.map +1 -1
  147. package/dist/schemas/users.d.ts +28 -28
  148. package/dist/schemas/users.d.ts.map +1 -1
  149. package/dist/schemas/users.js +14 -14
  150. package/dist/schemas/users.js.map +1 -1
  151. package/dist/sports/basketball-scoring.d.ts.map +1 -1
  152. package/dist/sports/basketball-scoring.js +16 -7
  153. package/dist/sports/basketball-scoring.js.map +1 -1
  154. package/dist/sports/bulk-entry.d.ts +7 -2
  155. package/dist/sports/bulk-entry.d.ts.map +1 -1
  156. package/dist/sports/bulk-entry.js.map +1 -1
  157. package/dist/sports/football-scoring.d.ts.map +1 -1
  158. package/dist/sports/football-scoring.js +13 -10
  159. package/dist/sports/football-scoring.js.map +1 -1
  160. package/dist/sports/replay.d.ts.map +1 -1
  161. package/dist/sports/replay.js +16 -1
  162. package/dist/sports/replay.js.map +1 -1
  163. package/dist/sports/scoring.d.ts +18 -2
  164. package/dist/sports/scoring.d.ts.map +1 -1
  165. package/dist/sports/scoring.js.map +1 -1
  166. package/dist/sports/store-driver.d.ts +2 -1
  167. package/dist/sports/store-driver.d.ts.map +1 -1
  168. package/dist/sports/store-driver.js +30 -15
  169. package/dist/sports/store-driver.js.map +1 -1
  170. package/dist/types/audit.d.ts +1 -1
  171. package/dist/types/audit.d.ts.map +1 -1
  172. package/dist/types/audit.js +37 -36
  173. package/dist/types/audit.js.map +1 -1
  174. package/dist/types/stats.d.ts +13 -13
  175. package/dist/types/stats.d.ts.map +1 -1
  176. package/dist/types/stats.js +13 -33
  177. package/dist/types/stats.js.map +1 -1
  178. package/dist/utils/index.d.ts +0 -1
  179. package/dist/utils/index.d.ts.map +1 -1
  180. package/dist/utils/index.js +0 -1
  181. package/dist/utils/index.js.map +1 -1
  182. package/package.json +1 -1
  183. package/dist/doc-schemas/stats-operation.d.ts +0 -348
  184. package/dist/doc-schemas/stats-operation.d.ts.map +0 -1
  185. package/dist/doc-schemas/stats-operation.js +0 -92
  186. package/dist/doc-schemas/stats-operation.js.map +0 -1
  187. package/dist/utils/stats-operation-request.d.ts +0 -20
  188. package/dist/utils/stats-operation-request.d.ts.map +0 -1
  189. package/dist/utils/stats-operation-request.js +0 -10
  190. package/dist/utils/stats-operation-request.js.map +0 -1
@@ -951,7 +951,6 @@ export declare const COLLECTION_SCHEMAS: {
951
951
  migration: "migration";
952
952
  }>;
953
953
  operationId: z.ZodString;
954
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
955
954
  rekeyedFromGhostUserId: z.ZodOptional<z.ZodString>;
956
955
  eventId: z.ZodString;
957
956
  sequence: z.ZodNumber;
@@ -1165,7 +1164,6 @@ export declare const COLLECTION_SCHEMAS: {
1165
1164
  migration: "migration";
1166
1165
  }>;
1167
1166
  operationId: z.ZodString;
1168
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
1169
1167
  rekeyedFromGhostUserId: z.ZodOptional<z.ZodString>;
1170
1168
  eventId: z.ZodString;
1171
1169
  sequence: z.ZodNumber;
@@ -1345,7 +1343,7 @@ export declare const COLLECTION_SCHEMAS: {
1345
1343
  }, z.core.$strip>], "leagueType">;
1346
1344
  readonly 'statsValidationReports/{reportId}': z.ZodObject<{
1347
1345
  reportId: z.ZodString;
1348
- operationId: z.ZodString;
1346
+ jobId: z.ZodOptional<z.ZodString>;
1349
1347
  ranAt: z.ZodNumber;
1350
1348
  ranByUserId: z.ZodString;
1351
1349
  scope: z.ZodObject<{
@@ -1403,163 +1401,39 @@ export declare const COLLECTION_SCHEMAS: {
1403
1401
  discrepanciesFound: z.ZodNumber;
1404
1402
  }, z.core.$strip>;
1405
1403
  }, z.core.$strip>;
1406
- readonly 'statsOperations/{operationId}': z.ZodDiscriminatedUnion<[z.ZodObject<{
1407
- kind: z.ZodLiteral<"leagueStatsRebuild">;
1408
- scope: z.ZodObject<{
1409
- leagueId: z.ZodOptional<z.ZodString>;
1410
- }, z.core.$strip>;
1411
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
1412
- startedByUserId: z.ZodString;
1413
- startedAt: z.ZodNumber;
1414
- updatedAt: z.ZodNumber;
1415
- status: z.ZodEnum<{
1416
- running: "running";
1417
- complete: "complete";
1418
- stopped: "stopped";
1419
- }>;
1420
- resumeAfter: z.ZodOptional<z.ZodString>;
1421
- counts: z.ZodObject<{
1422
- read: z.ZodNumber;
1423
- changed: z.ZodNumber;
1424
- skipped: z.ZodNumber;
1425
- }, z.core.$strip>;
1426
- }, z.core.$strip>, z.ZodObject<{
1427
- kind: z.ZodLiteral<"lifetimeStatsRebuild">;
1428
- scope: z.ZodObject<{
1429
- userId: z.ZodOptional<z.ZodString>;
1430
- }, z.core.$strip>;
1431
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
1432
- startedByUserId: z.ZodString;
1433
- startedAt: z.ZodNumber;
1434
- updatedAt: z.ZodNumber;
1435
- status: z.ZodEnum<{
1436
- running: "running";
1437
- complete: "complete";
1438
- stopped: "stopped";
1404
+ readonly 'statsJobs/{jobId}': z.ZodObject<{
1405
+ jobId: z.ZodString;
1406
+ kind: z.ZodEnum<{
1407
+ rebuild: "rebuild";
1408
+ check: "check";
1439
1409
  }>;
1440
- resumeAfter: z.ZodOptional<z.ZodString>;
1441
- counts: z.ZodObject<{
1442
- read: z.ZodNumber;
1443
- changed: z.ZodNumber;
1444
- skipped: z.ZodNumber;
1445
- }, z.core.$strip>;
1446
- }, z.core.$strip>, z.ZodObject<{
1447
- kind: z.ZodLiteral<"hallOfFameRebuild">;
1448
- scope: z.ZodObject<{
1449
- sportKey: z.ZodEnum<{
1450
- basketball: "basketball";
1451
- curling: "curling";
1452
- football: "football";
1453
- }>;
1454
- userId: z.ZodOptional<z.ZodString>;
1455
- }, z.core.$strip>;
1456
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
1457
- startedByUserId: z.ZodString;
1458
- startedAt: z.ZodNumber;
1459
- updatedAt: z.ZodNumber;
1460
- status: z.ZodEnum<{
1461
- running: "running";
1410
+ userId: z.ZodString;
1411
+ state: z.ZodEnum<{
1462
1412
  complete: "complete";
1463
- stopped: "stopped";
1413
+ "in-progress": "in-progress";
1414
+ failed: "failed";
1464
1415
  }>;
1465
- resumeAfter: z.ZodOptional<z.ZodString>;
1466
- counts: z.ZodObject<{
1467
- read: z.ZodNumber;
1468
- changed: z.ZodNumber;
1469
- skipped: z.ZodNumber;
1470
- }, z.core.$strip>;
1471
- }, z.core.$strip>, z.ZodObject<{
1472
- kind: z.ZodLiteral<"statsValidation">;
1473
- scope: z.ZodObject<{
1474
- gameId: z.ZodOptional<z.ZodString>;
1475
- leagueId: z.ZodOptional<z.ZodString>;
1476
- }, z.core.$strip>;
1477
- phase: z.ZodEnum<{
1416
+ stage: z.ZodEnum<{
1417
+ hallOfFame: "hallOfFame";
1478
1418
  games: "games";
1479
- destinations: "destinations";
1480
- }>;
1481
- startedByUserId: z.ZodString;
1482
- startedAt: z.ZodNumber;
1483
- updatedAt: z.ZodNumber;
1484
- status: z.ZodEnum<{
1485
- running: "running";
1486
- complete: "complete";
1487
- stopped: "stopped";
1419
+ leagues: "leagues";
1420
+ people: "people";
1488
1421
  }>;
1489
- resumeAfter: z.ZodOptional<z.ZodString>;
1490
- counts: z.ZodObject<{
1491
- read: z.ZodNumber;
1492
- changed: z.ZodNumber;
1493
- skipped: z.ZodNumber;
1494
- }, z.core.$strip>;
1495
- }, z.core.$strip>, z.ZodObject<{
1496
- kind: z.ZodLiteral<"gameStatsCorrection">;
1497
- scope: z.ZodObject<{
1498
- gameId: z.ZodString;
1499
- }, z.core.$strip>;
1500
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
1501
- requestHash: z.ZodOptional<z.ZodString>;
1502
- startedByUserId: z.ZodString;
1503
- startedAt: z.ZodNumber;
1504
- updatedAt: z.ZodNumber;
1505
- status: z.ZodEnum<{
1506
- running: "running";
1507
- complete: "complete";
1508
- stopped: "stopped";
1509
- }>;
1510
- resumeAfter: z.ZodOptional<z.ZodString>;
1511
- counts: z.ZodObject<{
1512
- read: z.ZodNumber;
1513
- changed: z.ZodNumber;
1514
- skipped: z.ZodNumber;
1515
- }, z.core.$strip>;
1516
- }, z.core.$strip>, z.ZodObject<{
1517
- kind: z.ZodLiteral<"gameStatsRecalculation">;
1518
- scope: z.ZodObject<{
1519
- gameId: z.ZodString;
1520
- }, z.core.$strip>;
1521
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
1522
- startedByUserId: z.ZodString;
1523
- startedAt: z.ZodNumber;
1524
- updatedAt: z.ZodNumber;
1525
- status: z.ZodEnum<{
1526
- running: "running";
1527
- complete: "complete";
1528
- stopped: "stopped";
1529
- }>;
1530
- resumeAfter: z.ZodOptional<z.ZodString>;
1531
- counts: z.ZodObject<{
1532
- read: z.ZodNumber;
1533
- changed: z.ZodNumber;
1534
- skipped: z.ZodNumber;
1535
- }, z.core.$strip>;
1536
- }, z.core.$strip>, z.ZodObject<{
1537
- kind: z.ZodLiteral<"historicalStatsUpdate">;
1538
- scope: z.ZodObject<{
1539
- userId: z.ZodString;
1540
- sportKey: z.ZodEnum<{
1541
- basketball: "basketball";
1542
- curling: "curling";
1543
- football: "football";
1544
- }>;
1545
- }, z.core.$strip>;
1546
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
1547
- requestHash: z.ZodOptional<z.ZodString>;
1548
- startedByUserId: z.ZodString;
1549
- startedAt: z.ZodNumber;
1422
+ cursor: z.ZodNullable<z.ZodString>;
1423
+ stageDone: z.ZodNumber;
1424
+ changed: z.ZodNumber;
1425
+ reportId: z.ZodOptional<z.ZodString>;
1426
+ revision: z.ZodNumber;
1427
+ error: z.ZodNullable<z.ZodString>;
1428
+ attemptCount: z.ZodNumber;
1429
+ nextAttemptAt: z.ZodNumber;
1430
+ deadLettered: z.ZodBoolean;
1431
+ createdAt: z.ZodNumber;
1550
1432
  updatedAt: z.ZodNumber;
1551
- status: z.ZodEnum<{
1552
- running: "running";
1553
- complete: "complete";
1554
- stopped: "stopped";
1555
- }>;
1556
- resumeAfter: z.ZodOptional<z.ZodString>;
1557
- counts: z.ZodObject<{
1558
- read: z.ZodNumber;
1559
- changed: z.ZodNumber;
1560
- skipped: z.ZodNumber;
1561
- }, z.core.$strip>;
1562
- }, z.core.$strip>], "kind">;
1433
+ completedAt: z.ZodNullable<z.ZodNumber>;
1434
+ deadLetteredAt: z.ZodNullable<z.ZodNumber>;
1435
+ expireAt: z.ZodOptional<z.ZodCustom<import("./firestore-primitives.js").FirestoreTimestampLike, import("./firestore-primitives.js").FirestoreTimestampLike>>;
1436
+ }, z.core.$strip>;
1563
1437
  readonly 'galleryPictures/{pictureId}': z.ZodObject<{
1564
1438
  ownerKind: z.ZodEnum<{
1565
1439
  sportLeague: "sportLeague";
@@ -1681,17 +1555,22 @@ export declare const COLLECTION_SCHEMAS: {
1681
1555
  uploadTraySeenBy: z.ZodOptional<z.ZodString>;
1682
1556
  result: z.ZodObject<{
1683
1557
  events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1684
- type: z.ZodLiteral<"league.created">;
1558
+ type: z.ZodLiteral<"sportLeague.created">;
1559
+ ids: z.ZodObject<{
1560
+ leagueId: z.ZodString;
1561
+ }, z.core.$strip>;
1562
+ }, z.core.$strip>, z.ZodObject<{
1563
+ type: z.ZodLiteral<"sportLeague.updated">;
1685
1564
  ids: z.ZodObject<{
1686
1565
  leagueId: z.ZodString;
1687
1566
  }, z.core.$strip>;
1688
1567
  }, z.core.$strip>, z.ZodObject<{
1689
- type: z.ZodLiteral<"league.updated">;
1568
+ type: z.ZodLiteral<"sportLeague.statusChanged">;
1690
1569
  ids: z.ZodObject<{
1691
1570
  leagueId: z.ZodString;
1692
1571
  }, z.core.$strip>;
1693
1572
  }, z.core.$strip>, z.ZodObject<{
1694
- type: z.ZodLiteral<"league.modeSwitched">;
1573
+ type: z.ZodLiteral<"sportLeague.modeSwitched">;
1695
1574
  ids: z.ZodObject<{
1696
1575
  leagueId: z.ZodString;
1697
1576
  }, z.core.$strip>;
@@ -1700,14 +1579,29 @@ export declare const COLLECTION_SCHEMAS: {
1700
1579
  ids: z.ZodObject<{
1701
1580
  leagueId: z.ZodString;
1702
1581
  teamId: z.ZodString;
1582
+ userId: z.ZodString;
1703
1583
  }, z.core.$strip>;
1704
1584
  }, z.core.$strip>, z.ZodObject<{
1705
- type: z.ZodLiteral<"teamRoster.changed">;
1585
+ type: z.ZodLiteral<"teamMembership.roleChanged">;
1706
1586
  ids: z.ZodObject<{
1707
1587
  leagueId: z.ZodString;
1708
1588
  teamId: z.ZodString;
1709
1589
  userId: z.ZodString;
1710
1590
  }, z.core.$strip>;
1591
+ }, z.core.$strip>, z.ZodObject<{
1592
+ type: z.ZodLiteral<"teamMembership.removed">;
1593
+ ids: z.ZodObject<{
1594
+ leagueId: z.ZodString;
1595
+ teamId: z.ZodString;
1596
+ userId: z.ZodString;
1597
+ }, z.core.$strip>;
1598
+ }, z.core.$strip>, z.ZodObject<{
1599
+ type: z.ZodLiteral<"ghostPlayer.created">;
1600
+ ids: z.ZodObject<{
1601
+ leagueId: z.ZodString;
1602
+ teamId: z.ZodString;
1603
+ ghostUserId: z.ZodString;
1604
+ }, z.core.$strip>;
1711
1605
  }, z.core.$strip>, z.ZodObject<{
1712
1606
  type: z.ZodLiteral<"signedWaiver.created">;
1713
1607
  ids: z.ZodObject<{
@@ -1723,7 +1617,7 @@ export declare const COLLECTION_SCHEMAS: {
1723
1617
  realUserId: z.ZodString;
1724
1618
  }, z.core.$strip>;
1725
1619
  }, z.core.$strip>, z.ZodObject<{
1726
- type: z.ZodLiteral<"teamJoinRequest.submitted">;
1620
+ type: z.ZodLiteral<"teamJoinRequest.created">;
1727
1621
  ids: z.ZodObject<{
1728
1622
  leagueId: z.ZodString;
1729
1623
  teamId: z.ZodString;
@@ -1737,14 +1631,21 @@ export declare const COLLECTION_SCHEMAS: {
1737
1631
  userId: z.ZodString;
1738
1632
  }, z.core.$strip>;
1739
1633
  }, z.core.$strip>, z.ZodObject<{
1740
- type: z.ZodLiteral<"teamJoinRequest.answered">;
1634
+ type: z.ZodLiteral<"teamJoinRequest.accepted">;
1741
1635
  ids: z.ZodObject<{
1742
1636
  leagueId: z.ZodString;
1743
1637
  teamId: z.ZodString;
1744
1638
  userId: z.ZodString;
1745
1639
  }, z.core.$strip>;
1746
1640
  }, z.core.$strip>, z.ZodObject<{
1747
- type: z.ZodLiteral<"teamInvitation.sent">;
1641
+ type: z.ZodLiteral<"teamJoinRequest.rejected">;
1642
+ ids: z.ZodObject<{
1643
+ leagueId: z.ZodString;
1644
+ teamId: z.ZodString;
1645
+ userId: z.ZodString;
1646
+ }, z.core.$strip>;
1647
+ }, z.core.$strip>, z.ZodObject<{
1648
+ type: z.ZodLiteral<"teamInvitation.created">;
1748
1649
  ids: z.ZodObject<{
1749
1650
  leagueId: z.ZodString;
1750
1651
  teamId: z.ZodString;
@@ -1758,22 +1659,36 @@ export declare const COLLECTION_SCHEMAS: {
1758
1659
  userId: z.ZodString;
1759
1660
  }, z.core.$strip>;
1760
1661
  }, z.core.$strip>, z.ZodObject<{
1761
- type: z.ZodLiteral<"teamInvitation.answered">;
1662
+ type: z.ZodLiteral<"teamInvitation.accepted">;
1663
+ ids: z.ZodObject<{
1664
+ leagueId: z.ZodString;
1665
+ teamId: z.ZodString;
1666
+ userId: z.ZodString;
1667
+ }, z.core.$strip>;
1668
+ }, z.core.$strip>, z.ZodObject<{
1669
+ type: z.ZodLiteral<"teamInvitation.rejected">;
1762
1670
  ids: z.ZodObject<{
1763
1671
  leagueId: z.ZodString;
1764
1672
  teamId: z.ZodString;
1765
1673
  userId: z.ZodString;
1766
1674
  }, z.core.$strip>;
1767
1675
  }, z.core.$strip>, z.ZodObject<{
1768
- type: z.ZodLiteral<"leagueFreeAgent.signedUp">;
1676
+ type: z.ZodLiteral<"leagueFreeAgent.created">;
1677
+ ids: z.ZodObject<{
1678
+ leagueId: z.ZodString;
1679
+ userId: z.ZodString;
1680
+ }, z.core.$strip>;
1681
+ }, z.core.$strip>, z.ZodObject<{
1682
+ type: z.ZodLiteral<"leagueFreeAgent.deleted">;
1769
1683
  ids: z.ZodObject<{
1770
1684
  leagueId: z.ZodString;
1771
1685
  userId: z.ZodString;
1772
1686
  }, z.core.$strip>;
1773
1687
  }, z.core.$strip>, z.ZodObject<{
1774
- type: z.ZodLiteral<"leagueFreeAgent.removed">;
1688
+ type: z.ZodLiteral<"leagueFreeAgent.assigned">;
1775
1689
  ids: z.ZodObject<{
1776
1690
  leagueId: z.ZodString;
1691
+ teamId: z.ZodString;
1777
1692
  userId: z.ZodString;
1778
1693
  }, z.core.$strip>;
1779
1694
  }, z.core.$strip>, z.ZodObject<{
@@ -1813,10 +1728,26 @@ export declare const COLLECTION_SCHEMAS: {
1813
1728
  gameId: z.ZodString;
1814
1729
  }, z.core.$strip>;
1815
1730
  }, z.core.$strip>, z.ZodObject<{
1816
- type: z.ZodLiteral<"leagueSchedule.changed">;
1731
+ type: z.ZodLiteral<"scheduleWeek.created">;
1732
+ ids: z.ZodObject<{
1733
+ leagueId: z.ZodString;
1734
+ }, z.core.$strip>;
1735
+ }, z.core.$strip>, z.ZodObject<{
1736
+ type: z.ZodLiteral<"scheduleWeek.updated">;
1817
1737
  ids: z.ZodObject<{
1818
1738
  leagueId: z.ZodString;
1819
1739
  }, z.core.$strip>;
1740
+ }, z.core.$strip>, z.ZodObject<{
1741
+ type: z.ZodLiteral<"scheduleWeek.deleted">;
1742
+ ids: z.ZodObject<{
1743
+ leagueId: z.ZodString;
1744
+ }, z.core.$strip>;
1745
+ }, z.core.$strip>, z.ZodObject<{
1746
+ type: z.ZodLiteral<"sportGame.created">;
1747
+ ids: z.ZodObject<{
1748
+ leagueId: z.ZodString;
1749
+ gameId: z.ZodString;
1750
+ }, z.core.$strip>;
1820
1751
  }, z.core.$strip>, z.ZodObject<{
1821
1752
  type: z.ZodLiteral<"sportGame.updated">;
1822
1753
  ids: z.ZodObject<{
@@ -1830,39 +1761,48 @@ export declare const COLLECTION_SCHEMAS: {
1830
1761
  gameId: z.ZodString;
1831
1762
  }, z.core.$strip>;
1832
1763
  }, z.core.$strip>, z.ZodObject<{
1833
- type: z.ZodLiteral<"stats.recalculated">;
1764
+ type: z.ZodLiteral<"sportLeague.statsRecalculated">;
1765
+ ids: z.ZodObject<{
1766
+ leagueId: z.ZodString;
1767
+ }, z.core.$strip>;
1768
+ }, z.core.$strip>, z.ZodObject<{
1769
+ type: z.ZodLiteral<"userProfile.statsRecalculated">;
1834
1770
  ids: z.ZodObject<{
1835
- userId: z.ZodOptional<z.ZodString>;
1836
- leagueId: z.ZodOptional<z.ZodString>;
1837
- sportKey: z.ZodOptional<z.ZodEnum<{
1838
- basketball: "basketball";
1839
- curling: "curling";
1840
- football: "football";
1841
- }>>;
1771
+ userId: z.ZodString;
1842
1772
  }, z.core.$strip>;
1843
1773
  }, z.core.$strip>, z.ZodObject<{
1844
- type: z.ZodLiteral<"sportGame.statsCorrected">;
1774
+ type: z.ZodLiteral<"sportGame.statsRecalculated">;
1845
1775
  ids: z.ZodObject<{
1846
1776
  leagueId: z.ZodString;
1847
1777
  gameId: z.ZodString;
1848
1778
  }, z.core.$strip>;
1849
1779
  }, z.core.$strip>, z.ZodObject<{
1850
- type: z.ZodLiteral<"statsValidation.reported">;
1780
+ type: z.ZodLiteral<"statsJob.created">;
1781
+ ids: z.ZodObject<{
1782
+ jobId: z.ZodString;
1783
+ }, z.core.$strip>;
1784
+ }, z.core.$strip>, z.ZodObject<{
1785
+ type: z.ZodLiteral<"statsValidationReport.created">;
1851
1786
  ids: z.ZodObject<{
1852
1787
  reportId: z.ZodString;
1853
1788
  }, z.core.$strip>;
1854
1789
  }, z.core.$strip>, z.ZodObject<{
1855
- type: z.ZodLiteral<"statsValidation.reportDeleted">;
1790
+ type: z.ZodLiteral<"statsValidationReport.deleted">;
1856
1791
  ids: z.ZodObject<{
1857
1792
  reportId: z.ZodString;
1858
1793
  }, z.core.$strip>;
1859
1794
  }, z.core.$strip>, z.ZodObject<{
1860
- type: z.ZodLiteral<"historicalStats.updated">;
1795
+ type: z.ZodLiteral<"historicalStat.updated">;
1796
+ ids: z.ZodObject<{
1797
+ userId: z.ZodString;
1798
+ }, z.core.$strip>;
1799
+ }, z.core.$strip>, z.ZodObject<{
1800
+ type: z.ZodLiteral<"userProfile.banned">;
1861
1801
  ids: z.ZodObject<{
1862
1802
  userId: z.ZodString;
1863
1803
  }, z.core.$strip>;
1864
1804
  }, z.core.$strip>, z.ZodObject<{
1865
- type: z.ZodLiteral<"user.statusChanged">;
1805
+ type: z.ZodLiteral<"userProfile.unbanned">;
1866
1806
  ids: z.ZodObject<{
1867
1807
  userId: z.ZodString;
1868
1808
  }, z.core.$strip>;
@@ -1872,7 +1812,7 @@ export declare const COLLECTION_SCHEMAS: {
1872
1812
  awardId: z.ZodString;
1873
1813
  }, z.core.$strip>;
1874
1814
  }, z.core.$strip>, z.ZodObject<{
1875
- type: z.ZodLiteral<"awardDefinition.updated">;
1815
+ type: z.ZodLiteral<"awardDefinition.badgeReplaced">;
1876
1816
  ids: z.ZodObject<{
1877
1817
  awardId: z.ZodString;
1878
1818
  }, z.core.$strip>;
@@ -1882,28 +1822,51 @@ export declare const COLLECTION_SCHEMAS: {
1882
1822
  awardId: z.ZodString;
1883
1823
  }, z.core.$strip>;
1884
1824
  }, z.core.$strip>, z.ZodObject<{
1885
- type: z.ZodLiteral<"awardGrants.changed">;
1825
+ type: z.ZodLiteral<"awardDefinition.granted">;
1826
+ ids: z.ZodObject<{
1827
+ awardId: z.ZodString;
1828
+ }, z.core.$strip>;
1829
+ }, z.core.$strip>, z.ZodObject<{
1830
+ type: z.ZodLiteral<"awardDefinition.revoked">;
1886
1831
  ids: z.ZodObject<{
1887
1832
  awardId: z.ZodString;
1888
1833
  }, z.core.$strip>;
1889
1834
  }, z.core.$strip>, z.ZodObject<{
1890
- type: z.ZodLiteral<"featuredAwards.changed">;
1835
+ type: z.ZodLiteral<"userProfile.featuredAwardsChanged">;
1891
1836
  ids: z.ZodObject<{
1892
1837
  userId: z.ZodString;
1893
1838
  }, z.core.$strip>;
1894
1839
  }, z.core.$strip>, z.ZodObject<{
1895
- type: z.ZodLiteral<"hardwareLoanContract.changed">;
1840
+ type: z.ZodLiteral<"hardwareLoanContract.created">;
1841
+ ids: z.ZodObject<{
1842
+ contractId: z.ZodString;
1843
+ refereeUserId: z.ZodString;
1844
+ }, z.core.$strip>;
1845
+ }, z.core.$strip>, z.ZodObject<{
1846
+ type: z.ZodLiteral<"hardwareLoanContract.signed">;
1847
+ ids: z.ZodObject<{
1848
+ contractId: z.ZodString;
1849
+ refereeUserId: z.ZodString;
1850
+ }, z.core.$strip>;
1851
+ }, z.core.$strip>, z.ZodObject<{
1852
+ type: z.ZodLiteral<"hardwareLoanContract.returned">;
1853
+ ids: z.ZodObject<{
1854
+ contractId: z.ZodString;
1855
+ refereeUserId: z.ZodString;
1856
+ }, z.core.$strip>;
1857
+ }, z.core.$strip>, z.ZodObject<{
1858
+ type: z.ZodLiteral<"hardwareLoanContract.deleted">;
1896
1859
  ids: z.ZodObject<{
1897
1860
  contractId: z.ZodString;
1898
1861
  refereeUserId: z.ZodString;
1899
1862
  }, z.core.$strip>;
1900
1863
  }, z.core.$strip>, z.ZodObject<{
1901
- type: z.ZodLiteral<"user.registered">;
1864
+ type: z.ZodLiteral<"userProfile.registered">;
1902
1865
  ids: z.ZodObject<{
1903
1866
  userId: z.ZodString;
1904
1867
  }, z.core.$strip>;
1905
1868
  }, z.core.$strip>, z.ZodObject<{
1906
- type: z.ZodLiteral<"displayName.changed">;
1869
+ type: z.ZodLiteral<"userProfile.displayNameChanged">;
1907
1870
  ids: z.ZodObject<{
1908
1871
  userId: z.ZodString;
1909
1872
  }, z.core.$strip>;
@@ -1916,7 +1879,12 @@ export declare const COLLECTION_SCHEMAS: {
1916
1879
  waiverTemplateId: z.ZodString;
1917
1880
  }, z.core.$strip>;
1918
1881
  }, z.core.$strip>, z.ZodObject<{
1919
- type: z.ZodLiteral<"waiverTemplate.updated">;
1882
+ type: z.ZodLiteral<"waiverTemplate.versionPublished">;
1883
+ ids: z.ZodObject<{
1884
+ waiverTemplateId: z.ZodString;
1885
+ }, z.core.$strip>;
1886
+ }, z.core.$strip>, z.ZodObject<{
1887
+ type: z.ZodLiteral<"waiverTemplate.retired">;
1920
1888
  ids: z.ZodObject<{
1921
1889
  waiverTemplateId: z.ZodString;
1922
1890
  }, z.core.$strip>;
@@ -1946,6 +1914,12 @@ export declare const COLLECTION_SCHEMAS: {
1946
1914
  leagueId: z.ZodString;
1947
1915
  teamId: z.ZodString;
1948
1916
  }, z.core.$strip>;
1917
+ }, z.core.$strip>, z.ZodObject<{
1918
+ type: z.ZodLiteral<"leagueTeam.captainChanged">;
1919
+ ids: z.ZodObject<{
1920
+ leagueId: z.ZodString;
1921
+ teamId: z.ZodString;
1922
+ }, z.core.$strip>;
1949
1923
  }, z.core.$strip>, z.ZodObject<{
1950
1924
  type: z.ZodLiteral<"leagueTeam.deleted">;
1951
1925
  ids: z.ZodObject<{
@@ -1953,7 +1927,7 @@ export declare const COLLECTION_SCHEMAS: {
1953
1927
  teamId: z.ZodString;
1954
1928
  }, z.core.$strip>;
1955
1929
  }, z.core.$strip>, z.ZodObject<{
1956
- type: z.ZodLiteral<"ghostPlayer.finishedEntriesRemoved">;
1930
+ type: z.ZodLiteral<"ghostPlayer.removed">;
1957
1931
  ids: z.ZodObject<{
1958
1932
  leagueId: z.ZodString;
1959
1933
  teamId: z.ZodString;
@@ -1985,7 +1959,19 @@ export declare const COLLECTION_SCHEMAS: {
1985
1959
  type: z.ZodLiteral<"deadLetter.replayed">;
1986
1960
  ids: z.ZodObject<{}, z.core.$strip>;
1987
1961
  }, z.core.$strip>, z.ZodObject<{
1988
- type: z.ZodLiteral<"migrationConsole.changed">;
1962
+ type: z.ZodLiteral<"migrationActionRun.pageRun">;
1963
+ ids: z.ZodObject<{}, z.core.$strip>;
1964
+ }, z.core.$strip>, z.ZodObject<{
1965
+ type: z.ZodLiteral<"migrationActionRun.controlRecorded">;
1966
+ ids: z.ZodObject<{}, z.core.$strip>;
1967
+ }, z.core.$strip>, z.ZodObject<{
1968
+ type: z.ZodLiteral<"migrationActionRun.checkpointRecorded">;
1969
+ ids: z.ZodObject<{}, z.core.$strip>;
1970
+ }, z.core.$strip>, z.ZodObject<{
1971
+ type: z.ZodLiteral<"migrationConsole.cutoverRecorded">;
1972
+ ids: z.ZodObject<{}, z.core.$strip>;
1973
+ }, z.core.$strip>, z.ZodObject<{
1974
+ type: z.ZodLiteral<"gameRosterPlayer.statLineResolved">;
1989
1975
  ids: z.ZodObject<{}, z.core.$strip>;
1990
1976
  }, z.core.$strip>], "type">>;
1991
1977
  affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2124,17 +2110,22 @@ export declare const COLLECTION_SCHEMAS: {
2124
2110
  violationId: z.ZodOptional<z.ZodString>;
2125
2111
  result: z.ZodOptional<z.ZodObject<{
2126
2112
  events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2127
- type: z.ZodLiteral<"league.created">;
2113
+ type: z.ZodLiteral<"sportLeague.created">;
2114
+ ids: z.ZodObject<{
2115
+ leagueId: z.ZodString;
2116
+ }, z.core.$strip>;
2117
+ }, z.core.$strip>, z.ZodObject<{
2118
+ type: z.ZodLiteral<"sportLeague.updated">;
2128
2119
  ids: z.ZodObject<{
2129
2120
  leagueId: z.ZodString;
2130
2121
  }, z.core.$strip>;
2131
2122
  }, z.core.$strip>, z.ZodObject<{
2132
- type: z.ZodLiteral<"league.updated">;
2123
+ type: z.ZodLiteral<"sportLeague.statusChanged">;
2133
2124
  ids: z.ZodObject<{
2134
2125
  leagueId: z.ZodString;
2135
2126
  }, z.core.$strip>;
2136
2127
  }, z.core.$strip>, z.ZodObject<{
2137
- type: z.ZodLiteral<"league.modeSwitched">;
2128
+ type: z.ZodLiteral<"sportLeague.modeSwitched">;
2138
2129
  ids: z.ZodObject<{
2139
2130
  leagueId: z.ZodString;
2140
2131
  }, z.core.$strip>;
@@ -2143,14 +2134,29 @@ export declare const COLLECTION_SCHEMAS: {
2143
2134
  ids: z.ZodObject<{
2144
2135
  leagueId: z.ZodString;
2145
2136
  teamId: z.ZodString;
2137
+ userId: z.ZodString;
2146
2138
  }, z.core.$strip>;
2147
2139
  }, z.core.$strip>, z.ZodObject<{
2148
- type: z.ZodLiteral<"teamRoster.changed">;
2140
+ type: z.ZodLiteral<"teamMembership.roleChanged">;
2149
2141
  ids: z.ZodObject<{
2150
2142
  leagueId: z.ZodString;
2151
2143
  teamId: z.ZodString;
2152
2144
  userId: z.ZodString;
2153
2145
  }, z.core.$strip>;
2146
+ }, z.core.$strip>, z.ZodObject<{
2147
+ type: z.ZodLiteral<"teamMembership.removed">;
2148
+ ids: z.ZodObject<{
2149
+ leagueId: z.ZodString;
2150
+ teamId: z.ZodString;
2151
+ userId: z.ZodString;
2152
+ }, z.core.$strip>;
2153
+ }, z.core.$strip>, z.ZodObject<{
2154
+ type: z.ZodLiteral<"ghostPlayer.created">;
2155
+ ids: z.ZodObject<{
2156
+ leagueId: z.ZodString;
2157
+ teamId: z.ZodString;
2158
+ ghostUserId: z.ZodString;
2159
+ }, z.core.$strip>;
2154
2160
  }, z.core.$strip>, z.ZodObject<{
2155
2161
  type: z.ZodLiteral<"signedWaiver.created">;
2156
2162
  ids: z.ZodObject<{
@@ -2166,7 +2172,7 @@ export declare const COLLECTION_SCHEMAS: {
2166
2172
  realUserId: z.ZodString;
2167
2173
  }, z.core.$strip>;
2168
2174
  }, z.core.$strip>, z.ZodObject<{
2169
- type: z.ZodLiteral<"teamJoinRequest.submitted">;
2175
+ type: z.ZodLiteral<"teamJoinRequest.created">;
2170
2176
  ids: z.ZodObject<{
2171
2177
  leagueId: z.ZodString;
2172
2178
  teamId: z.ZodString;
@@ -2180,14 +2186,21 @@ export declare const COLLECTION_SCHEMAS: {
2180
2186
  userId: z.ZodString;
2181
2187
  }, z.core.$strip>;
2182
2188
  }, z.core.$strip>, z.ZodObject<{
2183
- type: z.ZodLiteral<"teamJoinRequest.answered">;
2189
+ type: z.ZodLiteral<"teamJoinRequest.accepted">;
2184
2190
  ids: z.ZodObject<{
2185
2191
  leagueId: z.ZodString;
2186
2192
  teamId: z.ZodString;
2187
2193
  userId: z.ZodString;
2188
2194
  }, z.core.$strip>;
2189
2195
  }, z.core.$strip>, z.ZodObject<{
2190
- type: z.ZodLiteral<"teamInvitation.sent">;
2196
+ type: z.ZodLiteral<"teamJoinRequest.rejected">;
2197
+ ids: z.ZodObject<{
2198
+ leagueId: z.ZodString;
2199
+ teamId: z.ZodString;
2200
+ userId: z.ZodString;
2201
+ }, z.core.$strip>;
2202
+ }, z.core.$strip>, z.ZodObject<{
2203
+ type: z.ZodLiteral<"teamInvitation.created">;
2191
2204
  ids: z.ZodObject<{
2192
2205
  leagueId: z.ZodString;
2193
2206
  teamId: z.ZodString;
@@ -2201,24 +2214,38 @@ export declare const COLLECTION_SCHEMAS: {
2201
2214
  userId: z.ZodString;
2202
2215
  }, z.core.$strip>;
2203
2216
  }, z.core.$strip>, z.ZodObject<{
2204
- type: z.ZodLiteral<"teamInvitation.answered">;
2217
+ type: z.ZodLiteral<"teamInvitation.accepted">;
2205
2218
  ids: z.ZodObject<{
2206
2219
  leagueId: z.ZodString;
2207
2220
  teamId: z.ZodString;
2208
2221
  userId: z.ZodString;
2209
2222
  }, z.core.$strip>;
2210
2223
  }, z.core.$strip>, z.ZodObject<{
2211
- type: z.ZodLiteral<"leagueFreeAgent.signedUp">;
2224
+ type: z.ZodLiteral<"teamInvitation.rejected">;
2212
2225
  ids: z.ZodObject<{
2213
2226
  leagueId: z.ZodString;
2227
+ teamId: z.ZodString;
2214
2228
  userId: z.ZodString;
2215
2229
  }, z.core.$strip>;
2216
2230
  }, z.core.$strip>, z.ZodObject<{
2217
- type: z.ZodLiteral<"leagueFreeAgent.removed">;
2231
+ type: z.ZodLiteral<"leagueFreeAgent.created">;
2218
2232
  ids: z.ZodObject<{
2219
2233
  leagueId: z.ZodString;
2220
2234
  userId: z.ZodString;
2221
2235
  }, z.core.$strip>;
2236
+ }, z.core.$strip>, z.ZodObject<{
2237
+ type: z.ZodLiteral<"leagueFreeAgent.deleted">;
2238
+ ids: z.ZodObject<{
2239
+ leagueId: z.ZodString;
2240
+ userId: z.ZodString;
2241
+ }, z.core.$strip>;
2242
+ }, z.core.$strip>, z.ZodObject<{
2243
+ type: z.ZodLiteral<"leagueFreeAgent.assigned">;
2244
+ ids: z.ZodObject<{
2245
+ leagueId: z.ZodString;
2246
+ teamId: z.ZodString;
2247
+ userId: z.ZodString;
2248
+ }, z.core.$strip>;
2222
2249
  }, z.core.$strip>, z.ZodObject<{
2223
2250
  type: z.ZodLiteral<"sportGame.finalized">;
2224
2251
  ids: z.ZodObject<{
@@ -2256,9 +2283,25 @@ export declare const COLLECTION_SCHEMAS: {
2256
2283
  gameId: z.ZodString;
2257
2284
  }, z.core.$strip>;
2258
2285
  }, z.core.$strip>, z.ZodObject<{
2259
- type: z.ZodLiteral<"leagueSchedule.changed">;
2286
+ type: z.ZodLiteral<"scheduleWeek.created">;
2287
+ ids: z.ZodObject<{
2288
+ leagueId: z.ZodString;
2289
+ }, z.core.$strip>;
2290
+ }, z.core.$strip>, z.ZodObject<{
2291
+ type: z.ZodLiteral<"scheduleWeek.updated">;
2292
+ ids: z.ZodObject<{
2293
+ leagueId: z.ZodString;
2294
+ }, z.core.$strip>;
2295
+ }, z.core.$strip>, z.ZodObject<{
2296
+ type: z.ZodLiteral<"scheduleWeek.deleted">;
2297
+ ids: z.ZodObject<{
2298
+ leagueId: z.ZodString;
2299
+ }, z.core.$strip>;
2300
+ }, z.core.$strip>, z.ZodObject<{
2301
+ type: z.ZodLiteral<"sportGame.created">;
2260
2302
  ids: z.ZodObject<{
2261
2303
  leagueId: z.ZodString;
2304
+ gameId: z.ZodString;
2262
2305
  }, z.core.$strip>;
2263
2306
  }, z.core.$strip>, z.ZodObject<{
2264
2307
  type: z.ZodLiteral<"sportGame.updated">;
@@ -2273,39 +2316,48 @@ export declare const COLLECTION_SCHEMAS: {
2273
2316
  gameId: z.ZodString;
2274
2317
  }, z.core.$strip>;
2275
2318
  }, z.core.$strip>, z.ZodObject<{
2276
- type: z.ZodLiteral<"stats.recalculated">;
2319
+ type: z.ZodLiteral<"sportLeague.statsRecalculated">;
2320
+ ids: z.ZodObject<{
2321
+ leagueId: z.ZodString;
2322
+ }, z.core.$strip>;
2323
+ }, z.core.$strip>, z.ZodObject<{
2324
+ type: z.ZodLiteral<"userProfile.statsRecalculated">;
2277
2325
  ids: z.ZodObject<{
2278
- userId: z.ZodOptional<z.ZodString>;
2279
- leagueId: z.ZodOptional<z.ZodString>;
2280
- sportKey: z.ZodOptional<z.ZodEnum<{
2281
- basketball: "basketball";
2282
- curling: "curling";
2283
- football: "football";
2284
- }>>;
2326
+ userId: z.ZodString;
2285
2327
  }, z.core.$strip>;
2286
2328
  }, z.core.$strip>, z.ZodObject<{
2287
- type: z.ZodLiteral<"sportGame.statsCorrected">;
2329
+ type: z.ZodLiteral<"sportGame.statsRecalculated">;
2288
2330
  ids: z.ZodObject<{
2289
2331
  leagueId: z.ZodString;
2290
2332
  gameId: z.ZodString;
2291
2333
  }, z.core.$strip>;
2292
2334
  }, z.core.$strip>, z.ZodObject<{
2293
- type: z.ZodLiteral<"statsValidation.reported">;
2335
+ type: z.ZodLiteral<"statsJob.created">;
2336
+ ids: z.ZodObject<{
2337
+ jobId: z.ZodString;
2338
+ }, z.core.$strip>;
2339
+ }, z.core.$strip>, z.ZodObject<{
2340
+ type: z.ZodLiteral<"statsValidationReport.created">;
2294
2341
  ids: z.ZodObject<{
2295
2342
  reportId: z.ZodString;
2296
2343
  }, z.core.$strip>;
2297
2344
  }, z.core.$strip>, z.ZodObject<{
2298
- type: z.ZodLiteral<"statsValidation.reportDeleted">;
2345
+ type: z.ZodLiteral<"statsValidationReport.deleted">;
2299
2346
  ids: z.ZodObject<{
2300
2347
  reportId: z.ZodString;
2301
2348
  }, z.core.$strip>;
2302
2349
  }, z.core.$strip>, z.ZodObject<{
2303
- type: z.ZodLiteral<"historicalStats.updated">;
2350
+ type: z.ZodLiteral<"historicalStat.updated">;
2351
+ ids: z.ZodObject<{
2352
+ userId: z.ZodString;
2353
+ }, z.core.$strip>;
2354
+ }, z.core.$strip>, z.ZodObject<{
2355
+ type: z.ZodLiteral<"userProfile.banned">;
2304
2356
  ids: z.ZodObject<{
2305
2357
  userId: z.ZodString;
2306
2358
  }, z.core.$strip>;
2307
2359
  }, z.core.$strip>, z.ZodObject<{
2308
- type: z.ZodLiteral<"user.statusChanged">;
2360
+ type: z.ZodLiteral<"userProfile.unbanned">;
2309
2361
  ids: z.ZodObject<{
2310
2362
  userId: z.ZodString;
2311
2363
  }, z.core.$strip>;
@@ -2315,7 +2367,7 @@ export declare const COLLECTION_SCHEMAS: {
2315
2367
  awardId: z.ZodString;
2316
2368
  }, z.core.$strip>;
2317
2369
  }, z.core.$strip>, z.ZodObject<{
2318
- type: z.ZodLiteral<"awardDefinition.updated">;
2370
+ type: z.ZodLiteral<"awardDefinition.badgeReplaced">;
2319
2371
  ids: z.ZodObject<{
2320
2372
  awardId: z.ZodString;
2321
2373
  }, z.core.$strip>;
@@ -2325,28 +2377,51 @@ export declare const COLLECTION_SCHEMAS: {
2325
2377
  awardId: z.ZodString;
2326
2378
  }, z.core.$strip>;
2327
2379
  }, z.core.$strip>, z.ZodObject<{
2328
- type: z.ZodLiteral<"awardGrants.changed">;
2380
+ type: z.ZodLiteral<"awardDefinition.granted">;
2381
+ ids: z.ZodObject<{
2382
+ awardId: z.ZodString;
2383
+ }, z.core.$strip>;
2384
+ }, z.core.$strip>, z.ZodObject<{
2385
+ type: z.ZodLiteral<"awardDefinition.revoked">;
2329
2386
  ids: z.ZodObject<{
2330
2387
  awardId: z.ZodString;
2331
2388
  }, z.core.$strip>;
2332
2389
  }, z.core.$strip>, z.ZodObject<{
2333
- type: z.ZodLiteral<"featuredAwards.changed">;
2390
+ type: z.ZodLiteral<"userProfile.featuredAwardsChanged">;
2334
2391
  ids: z.ZodObject<{
2335
2392
  userId: z.ZodString;
2336
2393
  }, z.core.$strip>;
2337
2394
  }, z.core.$strip>, z.ZodObject<{
2338
- type: z.ZodLiteral<"hardwareLoanContract.changed">;
2395
+ type: z.ZodLiteral<"hardwareLoanContract.created">;
2396
+ ids: z.ZodObject<{
2397
+ contractId: z.ZodString;
2398
+ refereeUserId: z.ZodString;
2399
+ }, z.core.$strip>;
2400
+ }, z.core.$strip>, z.ZodObject<{
2401
+ type: z.ZodLiteral<"hardwareLoanContract.signed">;
2339
2402
  ids: z.ZodObject<{
2340
2403
  contractId: z.ZodString;
2341
2404
  refereeUserId: z.ZodString;
2342
2405
  }, z.core.$strip>;
2343
2406
  }, z.core.$strip>, z.ZodObject<{
2344
- type: z.ZodLiteral<"user.registered">;
2407
+ type: z.ZodLiteral<"hardwareLoanContract.returned">;
2408
+ ids: z.ZodObject<{
2409
+ contractId: z.ZodString;
2410
+ refereeUserId: z.ZodString;
2411
+ }, z.core.$strip>;
2412
+ }, z.core.$strip>, z.ZodObject<{
2413
+ type: z.ZodLiteral<"hardwareLoanContract.deleted">;
2414
+ ids: z.ZodObject<{
2415
+ contractId: z.ZodString;
2416
+ refereeUserId: z.ZodString;
2417
+ }, z.core.$strip>;
2418
+ }, z.core.$strip>, z.ZodObject<{
2419
+ type: z.ZodLiteral<"userProfile.registered">;
2345
2420
  ids: z.ZodObject<{
2346
2421
  userId: z.ZodString;
2347
2422
  }, z.core.$strip>;
2348
2423
  }, z.core.$strip>, z.ZodObject<{
2349
- type: z.ZodLiteral<"displayName.changed">;
2424
+ type: z.ZodLiteral<"userProfile.displayNameChanged">;
2350
2425
  ids: z.ZodObject<{
2351
2426
  userId: z.ZodString;
2352
2427
  }, z.core.$strip>;
@@ -2359,7 +2434,12 @@ export declare const COLLECTION_SCHEMAS: {
2359
2434
  waiverTemplateId: z.ZodString;
2360
2435
  }, z.core.$strip>;
2361
2436
  }, z.core.$strip>, z.ZodObject<{
2362
- type: z.ZodLiteral<"waiverTemplate.updated">;
2437
+ type: z.ZodLiteral<"waiverTemplate.versionPublished">;
2438
+ ids: z.ZodObject<{
2439
+ waiverTemplateId: z.ZodString;
2440
+ }, z.core.$strip>;
2441
+ }, z.core.$strip>, z.ZodObject<{
2442
+ type: z.ZodLiteral<"waiverTemplate.retired">;
2363
2443
  ids: z.ZodObject<{
2364
2444
  waiverTemplateId: z.ZodString;
2365
2445
  }, z.core.$strip>;
@@ -2389,6 +2469,12 @@ export declare const COLLECTION_SCHEMAS: {
2389
2469
  leagueId: z.ZodString;
2390
2470
  teamId: z.ZodString;
2391
2471
  }, z.core.$strip>;
2472
+ }, z.core.$strip>, z.ZodObject<{
2473
+ type: z.ZodLiteral<"leagueTeam.captainChanged">;
2474
+ ids: z.ZodObject<{
2475
+ leagueId: z.ZodString;
2476
+ teamId: z.ZodString;
2477
+ }, z.core.$strip>;
2392
2478
  }, z.core.$strip>, z.ZodObject<{
2393
2479
  type: z.ZodLiteral<"leagueTeam.deleted">;
2394
2480
  ids: z.ZodObject<{
@@ -2396,7 +2482,7 @@ export declare const COLLECTION_SCHEMAS: {
2396
2482
  teamId: z.ZodString;
2397
2483
  }, z.core.$strip>;
2398
2484
  }, z.core.$strip>, z.ZodObject<{
2399
- type: z.ZodLiteral<"ghostPlayer.finishedEntriesRemoved">;
2485
+ type: z.ZodLiteral<"ghostPlayer.removed">;
2400
2486
  ids: z.ZodObject<{
2401
2487
  leagueId: z.ZodString;
2402
2488
  teamId: z.ZodString;
@@ -2428,7 +2514,19 @@ export declare const COLLECTION_SCHEMAS: {
2428
2514
  type: z.ZodLiteral<"deadLetter.replayed">;
2429
2515
  ids: z.ZodObject<{}, z.core.$strip>;
2430
2516
  }, z.core.$strip>, z.ZodObject<{
2431
- type: z.ZodLiteral<"migrationConsole.changed">;
2517
+ type: z.ZodLiteral<"migrationActionRun.pageRun">;
2518
+ ids: z.ZodObject<{}, z.core.$strip>;
2519
+ }, z.core.$strip>, z.ZodObject<{
2520
+ type: z.ZodLiteral<"migrationActionRun.controlRecorded">;
2521
+ ids: z.ZodObject<{}, z.core.$strip>;
2522
+ }, z.core.$strip>, z.ZodObject<{
2523
+ type: z.ZodLiteral<"migrationActionRun.checkpointRecorded">;
2524
+ ids: z.ZodObject<{}, z.core.$strip>;
2525
+ }, z.core.$strip>, z.ZodObject<{
2526
+ type: z.ZodLiteral<"migrationConsole.cutoverRecorded">;
2527
+ ids: z.ZodObject<{}, z.core.$strip>;
2528
+ }, z.core.$strip>, z.ZodObject<{
2529
+ type: z.ZodLiteral<"gameRosterPlayer.statLineResolved">;
2432
2530
  ids: z.ZodObject<{}, z.core.$strip>;
2433
2531
  }, z.core.$strip>], "type">>;
2434
2532
  affected: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2513,93 +2611,94 @@ export declare const COLLECTION_SCHEMAS: {
2513
2611
  readonly 'auditEvents/{auditEventId}': z.ZodObject<{
2514
2612
  id: z.ZodString;
2515
2613
  type: z.ZodEnum<{
2516
- "league.created": "league.created";
2517
- "league.updated": "league.updated";
2518
- "league.modeSwitched": "league.modeSwitched";
2614
+ "sportLeague.created": "sportLeague.created";
2615
+ "sportLeague.updated": "sportLeague.updated";
2616
+ "sportLeague.statusChanged": "sportLeague.statusChanged";
2617
+ "sportLeague.modeSwitched": "sportLeague.modeSwitched";
2519
2618
  "leagueTeam.created": "leagueTeam.created";
2619
+ "teamMembership.roleChanged": "teamMembership.roleChanged";
2620
+ "teamMembership.removed": "teamMembership.removed";
2621
+ "ghostPlayer.created": "ghostPlayer.created";
2520
2622
  "signedWaiver.created": "signedWaiver.created";
2521
2623
  "ghostPlayer.linked": "ghostPlayer.linked";
2624
+ "teamJoinRequest.created": "teamJoinRequest.created";
2522
2625
  "teamJoinRequest.cancelled": "teamJoinRequest.cancelled";
2626
+ "teamJoinRequest.accepted": "teamJoinRequest.accepted";
2627
+ "teamJoinRequest.rejected": "teamJoinRequest.rejected";
2628
+ "teamInvitation.created": "teamInvitation.created";
2523
2629
  "teamInvitation.cancelled": "teamInvitation.cancelled";
2630
+ "teamInvitation.accepted": "teamInvitation.accepted";
2631
+ "teamInvitation.rejected": "teamInvitation.rejected";
2632
+ "leagueFreeAgent.created": "leagueFreeAgent.created";
2633
+ "leagueFreeAgent.deleted": "leagueFreeAgent.deleted";
2634
+ "leagueFreeAgent.assigned": "leagueFreeAgent.assigned";
2524
2635
  "sportGame.finalized": "sportGame.finalized";
2525
2636
  "sportGame.reopened": "sportGame.reopened";
2526
2637
  "sportGame.absenceChanged": "sportGame.absenceChanged";
2527
2638
  "sportGame.memoUpdated": "sportGame.memoUpdated";
2528
2639
  "sportGame.jumpBallChanged": "sportGame.jumpBallChanged";
2640
+ "scheduleWeek.created": "scheduleWeek.created";
2641
+ "scheduleWeek.updated": "scheduleWeek.updated";
2642
+ "sportGame.created": "sportGame.created";
2529
2643
  "sportGame.updated": "sportGame.updated";
2530
2644
  "sportGame.deleted": "sportGame.deleted";
2531
- "sportGame.statsCorrected": "sportGame.statsCorrected";
2645
+ "sportLeague.statsRecalculated": "sportLeague.statsRecalculated";
2646
+ "userProfile.statsRecalculated": "userProfile.statsRecalculated";
2647
+ "sportGame.statsRecalculated": "sportGame.statsRecalculated";
2648
+ "statsJob.created": "statsJob.created";
2649
+ "statsValidationReport.created": "statsValidationReport.created";
2650
+ "statsValidationReport.deleted": "statsValidationReport.deleted";
2651
+ "historicalStat.updated": "historicalStat.updated";
2652
+ "userProfile.banned": "userProfile.banned";
2653
+ "userProfile.unbanned": "userProfile.unbanned";
2654
+ "awardDefinition.created": "awardDefinition.created";
2655
+ "awardDefinition.badgeReplaced": "awardDefinition.badgeReplaced";
2656
+ "awardDefinition.deleted": "awardDefinition.deleted";
2657
+ "awardDefinition.granted": "awardDefinition.granted";
2658
+ "awardDefinition.revoked": "awardDefinition.revoked";
2659
+ "hardwareLoanContract.created": "hardwareLoanContract.created";
2660
+ "hardwareLoanContract.signed": "hardwareLoanContract.signed";
2661
+ "hardwareLoanContract.returned": "hardwareLoanContract.returned";
2662
+ "hardwareLoanContract.deleted": "hardwareLoanContract.deleted";
2663
+ "userProfile.registered": "userProfile.registered";
2664
+ "userProfile.displayNameChanged": "userProfile.displayNameChanged";
2532
2665
  "waiverTemplate.created": "waiverTemplate.created";
2666
+ "waiverTemplate.versionPublished": "waiverTemplate.versionPublished";
2667
+ "waiverTemplate.retired": "waiverTemplate.retired";
2533
2668
  "waiverTemplate.deleted": "waiverTemplate.deleted";
2534
2669
  "gameLocation.created": "gameLocation.created";
2535
2670
  "gameLocation.updated": "gameLocation.updated";
2536
2671
  "gameLocation.deleted": "gameLocation.deleted";
2537
2672
  "leagueTeam.updated": "leagueTeam.updated";
2673
+ "leagueTeam.captainChanged": "leagueTeam.captainChanged";
2538
2674
  "leagueTeam.deleted": "leagueTeam.deleted";
2675
+ "ghostPlayer.removed": "ghostPlayer.removed";
2539
2676
  "leagueTeamContact.updated": "leagueTeamContact.updated";
2540
2677
  "landingPage.updated": "landingPage.updated";
2541
- "user.accountRegistered": "user.accountRegistered";
2542
- "user.displayNameChanged": "user.displayNameChanged";
2543
- "user.abandonedRegistrationDeleted": "user.abandonedRegistrationDeleted";
2544
- "user.signedIn": "user.signedIn";
2545
- "user.passwordResetCompleted": "user.passwordResetCompleted";
2546
- "user.accountBanned": "user.accountBanned";
2547
- "user.accountUnbanned": "user.accountUnbanned";
2548
- "admin.systemRoleGranted": "admin.systemRoleGranted";
2549
- "admin.systemRoleRevoked": "admin.systemRoleRevoked";
2550
- "admin.systemRoleClaimSynced": "admin.systemRoleClaimSynced";
2678
+ "galleryPicture.added": "galleryPicture.added";
2679
+ "deadLetter.replayed": "deadLetter.replayed";
2680
+ "migrationActionRun.pageRun": "migrationActionRun.pageRun";
2681
+ "migrationActionRun.controlRecorded": "migrationActionRun.controlRecorded";
2682
+ "migrationActionRun.checkpointRecorded": "migrationActionRun.checkpointRecorded";
2683
+ "migrationConsole.cutoverRecorded": "migrationConsole.cutoverRecorded";
2684
+ "gameRosterPlayer.statLineResolved": "gameRosterPlayer.statLineResolved";
2685
+ "registrationStart.deleted": "registrationStart.deleted";
2686
+ "userProfile.signedIn": "userProfile.signedIn";
2687
+ "userProfile.passwordReset": "userProfile.passwordReset";
2688
+ "adminList.roleGranted": "adminList.roleGranted";
2689
+ "adminList.roleRevoked": "adminList.roleRevoked";
2690
+ "adminList.claimSynced": "adminList.claimSynced";
2551
2691
  "appConfig.updated": "appConfig.updated";
2552
- "league.statusChanged": "league.statusChanged";
2553
- "waiverTemplate.versionPublished": "waiverTemplate.versionPublished";
2554
- "waiverTemplate.retired": "waiverTemplate.retired";
2555
- "picture.added": "picture.added";
2556
- "picture.replaced": "picture.replaced";
2557
- "picture.moved": "picture.moved";
2558
- "picture.featuredChanged": "picture.featuredChanged";
2559
- "picture.removed": "picture.removed";
2560
- "award.created": "award.created";
2561
- "award.badgeReplaced": "award.badgeReplaced";
2562
- "award.deleted": "award.deleted";
2563
- "award.granted": "award.granted";
2564
- "award.revoked": "award.revoked";
2692
+ "galleryPicture.replaced": "galleryPicture.replaced";
2693
+ "galleryPicture.moved": "galleryPicture.moved";
2694
+ "galleryPicture.featuredChanged": "galleryPicture.featuredChanged";
2695
+ "galleryPicture.removed": "galleryPicture.removed";
2565
2696
  "award.groupDecisionOpened": "award.groupDecisionOpened";
2566
- "hardwareLoanContract.created": "hardwareLoanContract.created";
2567
- "hardwareLoanContract.signed": "hardwareLoanContract.signed";
2568
- "hardwareLoanContract.returned": "hardwareLoanContract.returned";
2569
- "hardwareLoanContract.deleted": "hardwareLoanContract.deleted";
2570
- "ghostPlayer.created": "ghostPlayer.created";
2571
- "teamMembership.roleChanged": "teamMembership.roleChanged";
2572
- "leagueTeam.captainChanged": "leagueTeam.captainChanged";
2573
- "teamMembership.removed": "teamMembership.removed";
2574
- "ghostPlayer.removed": "ghostPlayer.removed";
2575
2697
  "ghostPlayer.closedLeagueLinked": "ghostPlayer.closedLeagueLinked";
2576
- "teamInvitation.created": "teamInvitation.created";
2577
- "teamInvitation.accepted": "teamInvitation.accepted";
2578
- "teamInvitation.rejected": "teamInvitation.rejected";
2579
- "teamJoinRequest.created": "teamJoinRequest.created";
2580
- "teamJoinRequest.accepted": "teamJoinRequest.accepted";
2581
- "teamJoinRequest.rejected": "teamJoinRequest.rejected";
2582
- "leagueFreeAgent.created": "leagueFreeAgent.created";
2583
- "leagueFreeAgent.deleted": "leagueFreeAgent.deleted";
2584
- "leagueFreeAgent.assigned": "leagueFreeAgent.assigned";
2585
- "scheduleWeek.created": "scheduleWeek.created";
2586
- "scheduleWeek.updated": "scheduleWeek.updated";
2587
- "sportGame.created": "sportGame.created";
2588
2698
  "sportGame.statEventsRejected": "sportGame.statEventsRejected";
2589
- "sportGame.statsRecalculated": "sportGame.statsRecalculated";
2590
- "stats.aggregateRecalculated": "stats.aggregateRecalculated";
2591
- "stats.historicalStatsUpdated": "stats.historicalStatsUpdated";
2592
- "stats.validationRun": "stats.validationRun";
2593
- "stats.validationReportDeleted": "stats.validationReportDeleted";
2594
- "stats.unrosteredStatLineResolved": "stats.unrosteredStatLineResolved";
2595
2699
  "adminNotification.archived": "adminNotification.archived";
2596
- "adminNotification.archiveAllRequested": "adminNotification.archiveAllRequested";
2597
- "system.manualIntervention": "system.manualIntervention";
2598
- "migrationAction.pageRun": "migrationAction.pageRun";
2599
- "migrationAction.writesCommitted": "migrationAction.writesCommitted";
2600
- "migrationAction.controlRecorded": "migrationAction.controlRecorded";
2601
- "migrationAction.checkpointRecorded": "migrationAction.checkpointRecorded";
2602
- "migrationConsole.cutoverRecorded": "migrationConsole.cutoverRecorded";
2700
+ "notificationArchiveAllJob.created": "notificationArchiveAllJob.created";
2701
+ "migrationActionRun.writesCommitted": "migrationActionRun.writesCommitted";
2603
2702
  }>;
2604
2703
  schemaVersion: z.ZodNumber;
2605
2704
  actor: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2736,8 +2835,8 @@ export declare const COLLECTION_SCHEMAS: {
2736
2835
  state: z.ZodEnum<{
2737
2836
  complete: "complete";
2738
2837
  "in-progress": "in-progress";
2739
- incomplete: "incomplete";
2740
2838
  failed: "failed";
2839
+ incomplete: "incomplete";
2741
2840
  }>;
2742
2841
  revision: z.ZodNumber;
2743
2842
  archived: z.ZodNumber;
@@ -2870,9 +2969,7 @@ export declare const COLLECTION_SCHEMAS: {
2870
2969
  "verify.v1LeagueCapacity": "verify.v1LeagueCapacity";
2871
2970
  "verify.v1HardwareContractIdsUnique": "verify.v1HardwareContractIdsUnique";
2872
2971
  "delete.v1Commerce": "delete.v1Commerce";
2873
- "rebuild.leagueStats": "rebuild.leagueStats";
2874
- "rebuild.lifetimeStats": "rebuild.lifetimeStats";
2875
- "rebuild.sportHallOfFame": "rebuild.sportHallOfFame";
2972
+ "rebuild.stats": "rebuild.stats";
2876
2973
  "validate.stats": "validate.stats";
2877
2974
  "verify.sportHallOfFame": "verify.sportHallOfFame";
2878
2975
  "delete.v1HallOfFame": "delete.v1HallOfFame";
@@ -2972,9 +3069,7 @@ export declare const COLLECTION_SCHEMAS: {
2972
3069
  "verify.v1LeagueCapacity": "verify.v1LeagueCapacity";
2973
3070
  "verify.v1HardwareContractIdsUnique": "verify.v1HardwareContractIdsUnique";
2974
3071
  "delete.v1Commerce": "delete.v1Commerce";
2975
- "rebuild.leagueStats": "rebuild.leagueStats";
2976
- "rebuild.lifetimeStats": "rebuild.lifetimeStats";
2977
- "rebuild.sportHallOfFame": "rebuild.sportHallOfFame";
3072
+ "rebuild.stats": "rebuild.stats";
2978
3073
  "validate.stats": "validate.stats";
2979
3074
  "verify.sportHallOfFame": "verify.sportHallOfFame";
2980
3075
  "delete.v1HallOfFame": "delete.v1HallOfFame";
@@ -2989,7 +3084,6 @@ export declare const COLLECTION_SCHEMAS: {
2989
3084
  run: z.ZodOptional<z.ZodObject<{
2990
3085
  operationId: z.ZodString;
2991
3086
  dryRun: z.ZodBoolean;
2992
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
2993
3087
  startedByUserId: z.ZodString;
2994
3088
  startedAt: z.ZodNumber;
2995
3089
  updatedAt: z.ZodNumber;
@@ -3024,7 +3118,6 @@ export declare const COLLECTION_SCHEMAS: {
3024
3118
  preview: z.ZodOptional<z.ZodObject<{
3025
3119
  operationId: z.ZodString;
3026
3120
  dryRun: z.ZodBoolean;
3027
- reason: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
3028
3121
  startedByUserId: z.ZodString;
3029
3122
  startedAt: z.ZodNumber;
3030
3123
  updatedAt: z.ZodNumber;
@@ -3059,8 +3152,7 @@ export declare const COLLECTION_SCHEMAS: {
3059
3152
  recorded: z.ZodOptional<z.ZodObject<{
3060
3153
  recordedAt: z.ZodNumber;
3061
3154
  recordedByUserId: z.ZodString;
3062
- operationIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3063
- evidence: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
3155
+ statsJobId: z.ZodOptional<z.ZodString>;
3064
3156
  }, z.core.$strip>>;
3065
3157
  }, z.core.$strip>;
3066
3158
  readonly 'sweepState/{sweepName}': z.ZodObject<{
@@ -3099,6 +3191,7 @@ export declare const COLLECTION_DOC_ID_FIELDS: {
3099
3191
  readonly 'adminNotificationHistory/{historyId}': "archiveOccurrenceId";
3100
3192
  readonly 'notificationDeliveries/{deliveryId}': "deliveryId";
3101
3193
  readonly 'notificationArchiveAllJobs/{jobId}': "jobId";
3194
+ readonly 'statsJobs/{jobId}': "jobId";
3102
3195
  readonly 'awardGroupGrants/{grantId}': "grantId";
3103
3196
  readonly 'awardGroupGrants/{grantId}/awardGroupGrantPeople/{userId}': "userId";
3104
3197
  readonly 'migrationActionRuns/{actionId}': "actionId";