@sunsteel/contracts 0.93.0 → 0.94.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +638 -607
- package/dist/index.d.ts +638 -607
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1384,695 +1384,719 @@ interface WorkoutStatsResponse {
|
|
|
1384
1384
|
activeDaysThisWeek: number;
|
|
1385
1385
|
}
|
|
1386
1386
|
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
declare const MESSAGE_PERMISSIONS: readonly ["FOLLOWED", "EVERYONE", "NOBODY"];
|
|
1393
|
-
type MessagePermission = (typeof MESSAGE_PERMISSIONS)[number];
|
|
1394
|
-
declare const DEFAULT_MESSAGE_PERMISSION: MessagePermission;
|
|
1395
|
-
/** Characters in one message, counted as code points. */
|
|
1396
|
-
declare const MESSAGE_BODY_MAX = 2000;
|
|
1397
|
-
/** Messages one member may send in a rolling minute. */
|
|
1398
|
-
declare const MESSAGES_PER_MINUTE_MAX = 30;
|
|
1399
|
-
/** Conversations one member may start in a rolling day. */
|
|
1400
|
-
declare const NEW_CONVERSATIONS_PER_DAY_MAX = 20;
|
|
1401
|
-
declare const CONVERSATIONS_PAGE_SIZE = 20;
|
|
1402
|
-
declare const MESSAGES_PAGE_SIZE = 30;
|
|
1403
|
-
/** Length as a reader counts it: an emoji is one character, not two. */
|
|
1404
|
-
declare function messageBodyLength(body: string): number;
|
|
1405
|
-
/**
|
|
1406
|
-
* The stored form of a typed message: line endings made `\n` and the ends
|
|
1407
|
-
* trimmed, the lines in between kept as written. Null when it is empty or too
|
|
1408
|
-
* long -- it is refused rather than cut, because a message clipped mid-sentence
|
|
1409
|
-
* would misrepresent its author.
|
|
1410
|
-
*/
|
|
1411
|
-
declare function normalizeMessageBody(body: string): string | null;
|
|
1412
|
-
/**
|
|
1413
|
-
* MSG-07: what a message, its text left empty or not, may carry -- one of
|
|
1414
|
-
* them, with an optional note. MSG-10 adds a finished workout.
|
|
1415
|
-
*/
|
|
1416
|
-
declare const MESSAGE_ATTACHMENT_KINDS: readonly ["ROUTINE", "WORKOUT"];
|
|
1417
|
-
type MessageAttachmentKind = (typeof MESSAGE_ATTACHMENT_KINDS)[number];
|
|
1418
|
-
/**
|
|
1419
|
-
* MSG-07: a routine in a message, as it is now. `routine` is null once it is
|
|
1420
|
-
* no longer available -- deleted, or hidden by moderation -- and the card
|
|
1421
|
-
* says so rather than showing what it once was.
|
|
1422
|
-
*/
|
|
1423
|
-
interface MessageRoutineAttachment {
|
|
1424
|
-
kind: "ROUTINE";
|
|
1425
|
-
routine: SharedRoutineSummary | null;
|
|
1387
|
+
declare const TRAINING_EVENT_TYPES: readonly ["SESSION_COMPLETED", "PERSONAL_RECORD", "PROGRESSION_CHANGED", "STREAK_MILESTONE", "ACHIEVEMENT_UNLOCKED"];
|
|
1388
|
+
type TrainingEventType = (typeof TRAINING_EVENT_TYPES)[number];
|
|
1389
|
+
/** Stable successful response of GET /workouts/progress. */
|
|
1390
|
+
interface WorkoutProgressQuery {
|
|
1391
|
+
timeZone: string;
|
|
1426
1392
|
}
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1393
|
+
interface PersonalRecordEntry {
|
|
1394
|
+
exerciseId: string;
|
|
1395
|
+
exerciseName: string;
|
|
1396
|
+
weight: number;
|
|
1397
|
+
reps: number;
|
|
1398
|
+
estimated1rm: number;
|
|
1399
|
+
achievedAt: string;
|
|
1400
|
+
}
|
|
1401
|
+
interface RecentActivityEntry {
|
|
1433
1402
|
sessionId: string;
|
|
1403
|
+
routineId: string;
|
|
1434
1404
|
routineName: string;
|
|
1435
|
-
dayName: string
|
|
1436
|
-
|
|
1437
|
-
|
|
1405
|
+
dayName: string;
|
|
1406
|
+
startedAt: string;
|
|
1407
|
+
endedAt: string | null;
|
|
1408
|
+
durationSec: number | null;
|
|
1438
1409
|
totalVolumeKg: number;
|
|
1439
1410
|
completedSets: number;
|
|
1440
1411
|
}
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1412
|
+
interface WorkoutProgressResponse {
|
|
1413
|
+
totalVolumeKg: number;
|
|
1414
|
+
currentStreakDays: number;
|
|
1415
|
+
bestStreakDays: number;
|
|
1416
|
+
personalRecords: PersonalRecordEntry[];
|
|
1417
|
+
recentActivity: RecentActivityEntry[];
|
|
1445
1418
|
}
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
kind: SetKind;
|
|
1451
|
-
/** Canonical kilograms; null for a set logged without a load. */
|
|
1452
|
-
weightKg: number | null;
|
|
1453
|
-
reps: number | null;
|
|
1419
|
+
interface ExerciseStrengthTrendQuery {
|
|
1420
|
+
exerciseId?: string;
|
|
1421
|
+
from?: string;
|
|
1422
|
+
to?: string;
|
|
1454
1423
|
}
|
|
1455
|
-
interface
|
|
1424
|
+
interface ExerciseStrengthSummary {
|
|
1456
1425
|
exerciseId: string;
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1426
|
+
exerciseName: string;
|
|
1427
|
+
weightKg: number;
|
|
1428
|
+
reps: number;
|
|
1429
|
+
estimated1rmKg: number;
|
|
1430
|
+
achievedAt: string;
|
|
1460
1431
|
}
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
interface SharedWorkout extends MessageWorkoutSummary {
|
|
1468
|
-
owner: SharedSessionOwner;
|
|
1469
|
-
/** The owner's unit; a reader shows weights in their own. */
|
|
1470
|
-
weightUnit: WeightUnit;
|
|
1471
|
-
records: SessionRecapRecord[];
|
|
1472
|
-
exercises: SharedWorkoutExercise[];
|
|
1432
|
+
interface ExerciseStrengthTrendPoint {
|
|
1433
|
+
sessionId: string;
|
|
1434
|
+
achievedAt: string;
|
|
1435
|
+
weightKg: number;
|
|
1436
|
+
reps: number;
|
|
1437
|
+
estimated1rmKg: number;
|
|
1473
1438
|
}
|
|
1474
|
-
/**
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
avatarUrl: string | null;
|
|
1439
|
+
/** Stable successful response of GET /workouts/progress/strength. */
|
|
1440
|
+
interface ExerciseStrengthTrendResponse {
|
|
1441
|
+
exercises: ExerciseStrengthSummary[];
|
|
1442
|
+
selectedExercise: ExerciseStrengthSummary | null;
|
|
1443
|
+
range: {
|
|
1444
|
+
from: string | null;
|
|
1445
|
+
to: string;
|
|
1446
|
+
};
|
|
1447
|
+
baseline: ExerciseStrengthTrendPoint | null;
|
|
1448
|
+
points: ExerciseStrengthTrendPoint[];
|
|
1449
|
+
truncated: boolean;
|
|
1486
1450
|
}
|
|
1487
|
-
interface
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
* and for a routine sent without a note (MSG-07).
|
|
1494
|
-
*/
|
|
1495
|
-
body: string | null;
|
|
1496
|
-
deleted: boolean;
|
|
1497
|
-
/**
|
|
1498
|
-
* MSG-09: a moderator hid this message from the other participant. They read
|
|
1499
|
-
* "Removed by moderation" in its place; its author still reads the text and
|
|
1500
|
-
* is told it is hidden.
|
|
1501
|
-
*/
|
|
1502
|
-
hiddenByModeration: boolean;
|
|
1503
|
-
/**
|
|
1504
|
-
* MSG-07: a routine it carries, resolved as it is now. Null when it carries
|
|
1505
|
-
* none, and whenever the text is withheld (deleted, or hidden from the
|
|
1506
|
-
* viewer by moderation).
|
|
1507
|
-
*/
|
|
1508
|
-
attachment: MessageAttachment | null;
|
|
1509
|
-
createdAt: IsoDateString;
|
|
1451
|
+
interface ExercisePerformanceHistoryQuery {
|
|
1452
|
+
exerciseId?: string;
|
|
1453
|
+
from?: string;
|
|
1454
|
+
to?: string;
|
|
1455
|
+
cursor?: string;
|
|
1456
|
+
limit?: number;
|
|
1510
1457
|
}
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
interface ConversationRequest {
|
|
1517
|
-
direction: "INCOMING" | "OUTGOING";
|
|
1458
|
+
interface ExercisePerformanceSummary {
|
|
1459
|
+
exerciseId: string;
|
|
1460
|
+
exerciseName: string;
|
|
1461
|
+
lastPerformedAt: string;
|
|
1462
|
+
hasStrengthTrend: boolean;
|
|
1518
1463
|
}
|
|
1519
|
-
interface
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
lastMessageAt: IsoDateString | null;
|
|
1526
|
-
/**
|
|
1527
|
-
* Whether the viewer may write in it now. False when the other member's
|
|
1528
|
-
* account is gone, or the viewer's own messaging is unavailable or
|
|
1529
|
-
* restricted.
|
|
1530
|
-
*/
|
|
1531
|
-
canSend: boolean;
|
|
1532
|
-
/**
|
|
1533
|
-
* MSG-09: a moderator restricted the viewer's messaging, which is why they
|
|
1534
|
-
* cannot write. Only ever about the viewer: nobody else is told.
|
|
1535
|
-
*/
|
|
1536
|
-
messagingRestricted: boolean;
|
|
1537
|
-
/**
|
|
1538
|
-
* MSG-03: the other member wrote something the viewer has not seen -- a
|
|
1539
|
-
* message after the viewer's read position that is neither deleted nor
|
|
1540
|
-
* removed for them. The viewer's own messages never count.
|
|
1541
|
-
*/
|
|
1542
|
-
unread: boolean;
|
|
1543
|
-
/**
|
|
1544
|
-
* MSG-03: the viewer's read position, where "new since you last looked"
|
|
1545
|
-
* starts. Null when they have never read the conversation. It is the
|
|
1546
|
-
* viewer's alone: no read receipts, so a sender never learns it.
|
|
1547
|
-
*/
|
|
1548
|
-
lastReadAt: IsoDateString | null;
|
|
1549
|
-
/** MSG-02: null once accepted, or for a conversation that never was a request. */
|
|
1550
|
-
request: ConversationRequest | null;
|
|
1464
|
+
interface ExercisePerformanceSet {
|
|
1465
|
+
routineExerciseId: string;
|
|
1466
|
+
setNumber: number;
|
|
1467
|
+
reps: number;
|
|
1468
|
+
weightKg?: number | null;
|
|
1469
|
+
rpe?: number | null;
|
|
1551
1470
|
}
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
*/
|
|
1562
|
-
declare const MESSAGE_REQUEST_DECLINE_COOLDOWN_DAYS = 30;
|
|
1563
|
-
/**
|
|
1564
|
-
* MSG-08: a message push waits this long and is dropped if the conversation
|
|
1565
|
-
* was read meanwhile, so two members talking live do not buzz each other.
|
|
1566
|
-
*/
|
|
1567
|
-
declare const MESSAGE_PUSH_DELAY_SECONDS = 30;
|
|
1568
|
-
/** GET /conversations, newest activity first. */
|
|
1569
|
-
interface ConversationsResponse {
|
|
1570
|
-
conversations: ConversationSummary[];
|
|
1571
|
-
nextCursor: string | null;
|
|
1572
|
-
/** MSG-09: the viewer's own messaging is restricted by moderation. */
|
|
1573
|
-
messagingRestricted: boolean;
|
|
1471
|
+
interface ExercisePerformancePrescriptionSet {
|
|
1472
|
+
setNumber: number;
|
|
1473
|
+
repType: RepType;
|
|
1474
|
+
reps?: number | null;
|
|
1475
|
+
minReps?: number | null;
|
|
1476
|
+
maxReps?: number | null;
|
|
1477
|
+
weightKg?: number | null;
|
|
1478
|
+
rir?: number | null;
|
|
1479
|
+
kind?: SetKind;
|
|
1574
1480
|
}
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
* the message they have seen (`through`, the newest one on their screen),
|
|
1583
|
-
* never backwards, so a message that arrived after it stays unread.
|
|
1584
|
-
*/
|
|
1585
|
-
interface MarkConversationReadRequest {
|
|
1586
|
-
through: string;
|
|
1481
|
+
interface ExercisePerformancePrescription {
|
|
1482
|
+
routineExerciseId: string;
|
|
1483
|
+
restSeconds?: number | null;
|
|
1484
|
+
note?: string | null;
|
|
1485
|
+
progressionScheme: ProgressionScheme;
|
|
1486
|
+
minWeightIncrementKg: number;
|
|
1487
|
+
sets: ExercisePerformancePrescriptionSet[];
|
|
1587
1488
|
}
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1489
|
+
interface ExercisePerformanceSession {
|
|
1490
|
+
sessionId: string;
|
|
1491
|
+
status: Extract<WorkoutSessionStatus, 'COMPLETED' | 'ABORTED'>;
|
|
1492
|
+
routineName: string;
|
|
1493
|
+
dayName?: string | null;
|
|
1494
|
+
startedAt: string;
|
|
1495
|
+
endedAt: string;
|
|
1496
|
+
durationSec?: number | null;
|
|
1497
|
+
sessionNotes?: string | null;
|
|
1498
|
+
sets: ExercisePerformanceSet[];
|
|
1499
|
+
prescriptions: ExercisePerformancePrescription[];
|
|
1500
|
+
progressionChanges: ProgressionChange[];
|
|
1597
1501
|
}
|
|
1598
|
-
/**
|
|
1599
|
-
interface
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1502
|
+
/** Stable successful response of GET /workouts/progress/performance. */
|
|
1503
|
+
interface ExercisePerformanceHistoryResponse {
|
|
1504
|
+
exercises: ExercisePerformanceSummary[];
|
|
1505
|
+
selectedExercise: ExercisePerformanceSummary | null;
|
|
1506
|
+
items: ExercisePerformanceSession[];
|
|
1507
|
+
nextCursor?: string;
|
|
1603
1508
|
}
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
*/
|
|
1609
|
-
interface StartConversationRequest {
|
|
1610
|
-
recipient: string;
|
|
1611
|
-
/** Optional when the message carries a routine or a workout. */
|
|
1612
|
-
body?: string;
|
|
1613
|
-
/** MSG-07: one of the sender's own routines. */
|
|
1614
|
-
routineId?: string;
|
|
1615
|
-
/** MSG-10: one of the sender's own finished workouts. Not with a routine. */
|
|
1616
|
-
sessionId?: string;
|
|
1509
|
+
interface MuscleGroupHeatmapQuery {
|
|
1510
|
+
timeZone: string;
|
|
1511
|
+
/** Number of Monday-based calendar weeks to return, including this week. */
|
|
1512
|
+
weeks?: number;
|
|
1617
1513
|
}
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
/**
|
|
1621
|
-
|
|
1622
|
-
/** MSG-07: one of the sender's own routines. */
|
|
1623
|
-
routineId?: string;
|
|
1624
|
-
/** MSG-10: one of the sender's own finished workouts. Not with a routine. */
|
|
1625
|
-
sessionId?: string;
|
|
1514
|
+
interface MuscleGroupHeatmapValue {
|
|
1515
|
+
muscle: MuscleGroup;
|
|
1516
|
+
/** Completed-set equivalents: primary muscles count 1, secondary count 0.5. */
|
|
1517
|
+
weightedSets: number;
|
|
1626
1518
|
}
|
|
1627
|
-
interface
|
|
1628
|
-
|
|
1629
|
-
|
|
1519
|
+
interface MuscleGroupHeatmapWeek {
|
|
1520
|
+
weekStart: string;
|
|
1521
|
+
isCurrentWeek: boolean;
|
|
1522
|
+
totalWeightedSets: number;
|
|
1523
|
+
muscles: MuscleGroupHeatmapValue[];
|
|
1630
1524
|
}
|
|
1631
|
-
/**
|
|
1632
|
-
interface
|
|
1633
|
-
|
|
1525
|
+
/** Stable successful response of GET /workouts/progress/muscles. */
|
|
1526
|
+
interface MuscleGroupHeatmapResponse {
|
|
1527
|
+
timeZone: string;
|
|
1528
|
+
weeks: MuscleGroupHeatmapWeek[];
|
|
1529
|
+
peakWeightedSets: number;
|
|
1634
1530
|
}
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
*/
|
|
1640
|
-
interface MemberMessagingState {
|
|
1641
|
-
canStart: boolean;
|
|
1642
|
-
conversationId: string | null;
|
|
1643
|
-
/** MSG-02: a first message would land in their Requests. */
|
|
1644
|
-
asRequest: boolean;
|
|
1531
|
+
interface VolumeTrendQuery {
|
|
1532
|
+
timeZone: string;
|
|
1533
|
+
/** Number of Monday-based calendar weeks to return, including this week. */
|
|
1534
|
+
weeks?: number;
|
|
1645
1535
|
}
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
interface OnboardingState {
|
|
1653
|
-
/**
|
|
1654
|
-
* The registry version the account completed. A new account starts at 0;
|
|
1655
|
-
* accounts that existed when onboarding shipped start at 1, so they are
|
|
1656
|
-
* offered only steps added later.
|
|
1657
|
-
*/
|
|
1658
|
-
completedVersion: number;
|
|
1659
|
-
/** Steps answered or skipped since that version, so the flow resumes. */
|
|
1660
|
-
stepsDone: string[];
|
|
1661
|
-
/** When the flow first opened by itself; it never does again. */
|
|
1662
|
-
offeredAt: IsoDateString | null;
|
|
1536
|
+
interface VolumeTrendPoint {
|
|
1537
|
+
weekStart: string;
|
|
1538
|
+
isCurrentWeek: boolean;
|
|
1539
|
+
/** External-load volume in canonical kilograms: weight × repetitions. */
|
|
1540
|
+
volumeKg: number;
|
|
1541
|
+
completedSets: number;
|
|
1663
1542
|
}
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
stepsDone?: string[];
|
|
1671
|
-
completedVersion?: number;
|
|
1672
|
-
offered?: true;
|
|
1543
|
+
interface VolumeTrendSeries {
|
|
1544
|
+
id: string;
|
|
1545
|
+
name: string;
|
|
1546
|
+
totalVolumeKg: number;
|
|
1547
|
+
totalCompletedSets: number;
|
|
1548
|
+
points: VolumeTrendPoint[];
|
|
1673
1549
|
}
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
/**
|
|
1677
|
-
* The weekday a week starts on, as `Date.getDay()` numbers it: 1 Monday, 0
|
|
1678
|
-
* Sunday. Monday is everyone's default, so nothing changes until a member
|
|
1679
|
-
* chooses. **The rank never follows it**: its active weeks are Monday weeks
|
|
1680
|
-
* for every member, because a rank is public and must mean the same on every
|
|
1681
|
-
* profile.
|
|
1682
|
-
*/
|
|
1683
|
-
declare const WEEK_STARTS: readonly [1, 0];
|
|
1684
|
-
type WeekStartsOn = (typeof WEEK_STARTS)[number];
|
|
1685
|
-
declare const DEFAULT_WEEK_STARTS_ON: WeekStartsOn;
|
|
1686
|
-
declare function isWeekStartsOn(value: unknown): value is WeekStartsOn;
|
|
1687
|
-
/**
|
|
1688
|
-
* The first day of the week a `YYYY-MM-DD` calendar date belongs to, as a
|
|
1689
|
-
* `YYYY-MM-DD` date, for a week starting on `weekStartsOn`. Calendar
|
|
1690
|
-
* arithmetic only: no time zone, so a daylight-saving change cannot move it.
|
|
1691
|
-
*/
|
|
1692
|
-
declare function weekStartOf(dateKey: string, weekStartsOn?: WeekStartsOn): string;
|
|
1693
|
-
/** PUT /users/preferences/week-start */
|
|
1694
|
-
interface UpdateWeekStartRequest {
|
|
1695
|
-
weekStartsOn: WeekStartsOn;
|
|
1550
|
+
interface MuscleVolumeTrendSeries extends VolumeTrendSeries {
|
|
1551
|
+
id: MuscleGroup;
|
|
1696
1552
|
}
|
|
1697
|
-
/**
|
|
1698
|
-
|
|
1699
|
-
* and inches). Every length is **stored in centimetres**, as weights are
|
|
1700
|
-
* stored in kilograms; the unit is only the display and entry boundary.
|
|
1701
|
-
*/
|
|
1702
|
-
declare const LENGTH_UNITS: readonly ["CM", "IN"];
|
|
1703
|
-
type LengthUnit = (typeof LENGTH_UNITS)[number];
|
|
1704
|
-
declare const CM_PER_INCH = 2.54;
|
|
1705
|
-
declare const INCHES_PER_FOOT = 12;
|
|
1706
|
-
/** Centimetres as inches, to two decimals. */
|
|
1707
|
-
declare function cmToInches(cm: number): number;
|
|
1708
|
-
/** Inches as centimetres, to two decimals. */
|
|
1709
|
-
declare function inchesToCm(inches: number): number;
|
|
1710
|
-
/**
|
|
1711
|
-
* A height in centimetres as whole feet and inches to one decimal. The total
|
|
1712
|
-
* is rounded before it is split, so 71.98 in reads as 6 ft 0 in, never as
|
|
1713
|
-
* 5 ft 12 in.
|
|
1714
|
-
*/
|
|
1715
|
-
declare function cmToFeetInches(cm: number): {
|
|
1716
|
-
feet: number;
|
|
1717
|
-
inches: number;
|
|
1718
|
-
};
|
|
1719
|
-
/** Feet and inches as centimetres, to two decimals. */
|
|
1720
|
-
declare function feetInchesToCm(feet: number, inches: number): number;
|
|
1721
|
-
|
|
1722
|
-
declare const TRAINING_EVENT_TYPES: readonly ["SESSION_COMPLETED", "PERSONAL_RECORD", "PROGRESSION_CHANGED", "STREAK_MILESTONE", "ACHIEVEMENT_UNLOCKED"];
|
|
1723
|
-
type TrainingEventType = (typeof TRAINING_EVENT_TYPES)[number];
|
|
1724
|
-
/** Stable successful response of GET /workouts/progress. */
|
|
1725
|
-
interface WorkoutProgressQuery {
|
|
1553
|
+
/** Stable successful response of GET /workouts/progress/volume. */
|
|
1554
|
+
interface VolumeTrendResponse {
|
|
1726
1555
|
timeZone: string;
|
|
1556
|
+
weeks: number;
|
|
1557
|
+
overall: VolumeTrendPoint[];
|
|
1558
|
+
muscles: MuscleVolumeTrendSeries[];
|
|
1559
|
+
routines: VolumeTrendSeries[];
|
|
1560
|
+
exercises: VolumeTrendSeries[];
|
|
1727
1561
|
}
|
|
1728
|
-
interface
|
|
1562
|
+
interface SessionComparisonQuery {
|
|
1563
|
+
routineDayId?: string;
|
|
1564
|
+
}
|
|
1565
|
+
interface SessionComparisonRoutineDay {
|
|
1566
|
+
routineDayId: string;
|
|
1567
|
+
routineId: string;
|
|
1568
|
+
routineName: string;
|
|
1569
|
+
dayName?: string | null;
|
|
1570
|
+
lastCompletedAt: IsoDateString;
|
|
1571
|
+
completedSessionCount: number;
|
|
1572
|
+
}
|
|
1573
|
+
interface SessionComparisonSet {
|
|
1574
|
+
routineExerciseId: string;
|
|
1575
|
+
setNumber: number;
|
|
1576
|
+
reps: number;
|
|
1577
|
+
weightKg?: number | null;
|
|
1578
|
+
rpe?: number | null;
|
|
1579
|
+
}
|
|
1580
|
+
interface SessionComparisonExercise {
|
|
1581
|
+
routineExerciseId: string;
|
|
1729
1582
|
exerciseId: string;
|
|
1730
1583
|
exerciseName: string;
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
estimated1rm: number;
|
|
1734
|
-
achievedAt: string;
|
|
1584
|
+
order: number;
|
|
1585
|
+
sets: SessionComparisonSet[];
|
|
1735
1586
|
}
|
|
1736
|
-
interface
|
|
1587
|
+
interface SessionComparisonSession {
|
|
1737
1588
|
sessionId: string;
|
|
1738
|
-
|
|
1589
|
+
routineDayId: string;
|
|
1739
1590
|
routineName: string;
|
|
1740
|
-
dayName
|
|
1741
|
-
startedAt:
|
|
1742
|
-
endedAt:
|
|
1743
|
-
durationSec: number
|
|
1591
|
+
dayName?: string | null;
|
|
1592
|
+
startedAt: IsoDateString;
|
|
1593
|
+
endedAt: IsoDateString;
|
|
1594
|
+
durationSec: number;
|
|
1744
1595
|
totalVolumeKg: number;
|
|
1745
1596
|
completedSets: number;
|
|
1597
|
+
notes?: string | null;
|
|
1598
|
+
exercises: SessionComparisonExercise[];
|
|
1746
1599
|
}
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1600
|
+
/** Stable successful response of GET /workouts/progress/session-comparison. */
|
|
1601
|
+
interface SessionComparisonResponse {
|
|
1602
|
+
routineDays: SessionComparisonRoutineDay[];
|
|
1603
|
+
selectedRoutineDay: SessionComparisonRoutineDay | null;
|
|
1604
|
+
latestSession: SessionComparisonSession | null;
|
|
1605
|
+
previousSession: SessionComparisonSession | null;
|
|
1753
1606
|
}
|
|
1754
|
-
|
|
1607
|
+
declare const PROGRESS_TIMELINE_EVENT_TYPES: readonly ["PERSONAL_RECORD", "PROGRESSION_CHANGED"];
|
|
1608
|
+
type ProgressTimelineEventType = (typeof PROGRESS_TIMELINE_EVENT_TYPES)[number];
|
|
1609
|
+
interface ProgressTimelineQuery {
|
|
1610
|
+
type?: ProgressTimelineEventType;
|
|
1611
|
+
/** Only events for one catalog exercise (EXER-01). */
|
|
1755
1612
|
exerciseId?: string;
|
|
1756
|
-
|
|
1757
|
-
|
|
1613
|
+
cursor?: string;
|
|
1614
|
+
limit?: number;
|
|
1758
1615
|
}
|
|
1759
|
-
interface
|
|
1760
|
-
|
|
1761
|
-
|
|
1616
|
+
interface ProgressTimelineSessionContext {
|
|
1617
|
+
sessionId: string;
|
|
1618
|
+
routineName: string;
|
|
1619
|
+
dayName?: string | null;
|
|
1620
|
+
}
|
|
1621
|
+
interface ProgressTimelineRecordPerformance {
|
|
1762
1622
|
weightKg: number;
|
|
1763
1623
|
reps: number;
|
|
1764
1624
|
estimated1rmKg: number;
|
|
1765
|
-
achievedAt: string;
|
|
1766
1625
|
}
|
|
1767
|
-
|
|
1626
|
+
type ProgressTimelineRecordReason = 'FIRST_RECORDED_BEST' | 'HEAVIER_LOAD' | 'MORE_REPS_AT_SAME_LOAD';
|
|
1627
|
+
interface ProgressTimelinePersonalRecordItem {
|
|
1628
|
+
eventId: string;
|
|
1629
|
+
type: 'PERSONAL_RECORD';
|
|
1630
|
+
occurredAt: IsoDateString;
|
|
1631
|
+
session: ProgressTimelineSessionContext;
|
|
1632
|
+
exerciseId: string;
|
|
1633
|
+
exerciseName: string;
|
|
1634
|
+
current: ProgressTimelineRecordPerformance;
|
|
1635
|
+
previous: ProgressTimelineRecordPerformance | null;
|
|
1636
|
+
reason: ProgressTimelineRecordReason;
|
|
1637
|
+
}
|
|
1638
|
+
interface ProgressTimelineProgressionItem {
|
|
1639
|
+
eventId: string;
|
|
1640
|
+
type: 'PROGRESSION_CHANGED';
|
|
1641
|
+
occurredAt: IsoDateString;
|
|
1642
|
+
session: ProgressTimelineSessionContext;
|
|
1643
|
+
exerciseId: string;
|
|
1644
|
+
exerciseName: string;
|
|
1645
|
+
change: ProgressionChange;
|
|
1646
|
+
}
|
|
1647
|
+
type ProgressTimelineItem = ProgressTimelinePersonalRecordItem | ProgressTimelineProgressionItem;
|
|
1648
|
+
/** Stable successful response of GET /workouts/progress/timeline. */
|
|
1649
|
+
interface ProgressTimelineResponse {
|
|
1650
|
+
items: ProgressTimelineItem[];
|
|
1651
|
+
nextCursor?: string;
|
|
1652
|
+
}
|
|
1653
|
+
/** Immutable prescription captured before any sets or progression. */
|
|
1654
|
+
interface WorkoutSessionSnapshotV1 {
|
|
1655
|
+
schemaVersion: 1;
|
|
1768
1656
|
sessionId: string;
|
|
1769
|
-
|
|
1657
|
+
sourceRoutineId: string;
|
|
1658
|
+
sourceRoutineDayId: string;
|
|
1659
|
+
capturedAt: string;
|
|
1660
|
+
provenance: 'CAPTURED' | 'APPROXIMATED';
|
|
1661
|
+
notes: string | null;
|
|
1662
|
+
routine: NonNullable<WorkoutSession['routine']>;
|
|
1663
|
+
routineDay: NonNullable<WorkoutSession['routineDay']>;
|
|
1664
|
+
/** ROUT-15; absent on snapshots captured before blocks executed. */
|
|
1665
|
+
trainingBlock?: WorkoutSession['trainingBlock'];
|
|
1666
|
+
/** ROUT-16; absent on snapshots captured before deloads existed. */
|
|
1667
|
+
temporaryOverride?: WorkoutSession['temporaryOverride'];
|
|
1668
|
+
}
|
|
1669
|
+
interface SetAccountTimeZoneRequest {
|
|
1670
|
+
timeZone: string;
|
|
1671
|
+
/** Bootstrap must not replace a zone registered by another device. */
|
|
1672
|
+
onlyIfUnset?: boolean;
|
|
1673
|
+
}
|
|
1674
|
+
interface WorkoutAnalyticsStatus {
|
|
1675
|
+
timeZone: string | null;
|
|
1676
|
+
requestedTimeZone: string | null;
|
|
1677
|
+
state: 'UNINITIALIZED' | 'BUILDING' | 'READY' | 'FAILED';
|
|
1678
|
+
generationId: string | null;
|
|
1679
|
+
}
|
|
1680
|
+
/**
|
|
1681
|
+
* Thresholds behind every plateau. A lift is flagged only when all hold: at
|
|
1682
|
+
* least the account's minimum sessions (`PLATEAU_MIN_SESSIONS` by default)
|
|
1683
|
+
* of terminal sessions with completed loaded sets of it since its current
|
|
1684
|
+
* best (the session that set the best excluded, and counting only inside the
|
|
1685
|
+
* look-back window), the best is at least
|
|
1686
|
+
* `PLATEAU_MIN_DAYS_SINCE_BEST` days old, and the lift was trained within the
|
|
1687
|
+
* last `PLATEAU_RECENT_DAYS` days. They describe numbers, never a cause.
|
|
1688
|
+
*/
|
|
1689
|
+
declare const PLATEAU_WINDOW_DAYS = 56;
|
|
1690
|
+
declare const PLATEAU_MIN_SESSIONS = 4;
|
|
1691
|
+
declare const PLATEAU_MIN_DAYS_SINCE_BEST = 21;
|
|
1692
|
+
declare const PLATEAU_RECENT_DAYS = 21;
|
|
1693
|
+
/**
|
|
1694
|
+
* PREF-05: each account chooses its minimum sessions within these bounds;
|
|
1695
|
+
* `PLATEAU_MIN_SESSIONS` is the default. The other thresholds stay fixed.
|
|
1696
|
+
*/
|
|
1697
|
+
declare const PLATEAU_MIN_SESSIONS_MIN = 3;
|
|
1698
|
+
declare const PLATEAU_MIN_SESSIONS_MAX = 8;
|
|
1699
|
+
/** Body and response of PUT /users/preferences/plateaus. */
|
|
1700
|
+
interface PlateauPreferences {
|
|
1701
|
+
minSessions: number;
|
|
1702
|
+
}
|
|
1703
|
+
interface PlateauSet {
|
|
1770
1704
|
weightKg: number;
|
|
1771
1705
|
reps: number;
|
|
1772
1706
|
estimated1rmKg: number;
|
|
1773
1707
|
}
|
|
1774
|
-
|
|
1775
|
-
interface ExerciseStrengthTrendResponse {
|
|
1776
|
-
exercises: ExerciseStrengthSummary[];
|
|
1777
|
-
selectedExercise: ExerciseStrengthSummary | null;
|
|
1778
|
-
range: {
|
|
1779
|
-
from: string | null;
|
|
1780
|
-
to: string;
|
|
1781
|
-
};
|
|
1782
|
-
baseline: ExerciseStrengthTrendPoint | null;
|
|
1783
|
-
points: ExerciseStrengthTrendPoint[];
|
|
1784
|
-
truncated: boolean;
|
|
1785
|
-
}
|
|
1786
|
-
interface ExercisePerformanceHistoryQuery {
|
|
1787
|
-
exerciseId?: string;
|
|
1788
|
-
from?: string;
|
|
1789
|
-
to?: string;
|
|
1790
|
-
cursor?: string;
|
|
1791
|
-
limit?: number;
|
|
1792
|
-
}
|
|
1793
|
-
interface ExercisePerformanceSummary {
|
|
1708
|
+
interface ExercisePlateau {
|
|
1794
1709
|
exerciseId: string;
|
|
1795
1710
|
exerciseName: string;
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1711
|
+
/** The persisted best-set frontier. */
|
|
1712
|
+
best: PlateauSet & {
|
|
1713
|
+
achievedAt: IsoDateString;
|
|
1714
|
+
};
|
|
1715
|
+
/** Sessions were counted from the later of the best and the window start. */
|
|
1716
|
+
countedSince: IsoDateString;
|
|
1717
|
+
sessionsWithoutNewBest: number;
|
|
1718
|
+
/** The set since then with the highest estimated 1RM (latest on ties). */
|
|
1719
|
+
closest: PlateauSet & {
|
|
1720
|
+
performedAt: IsoDateString;
|
|
1721
|
+
};
|
|
1722
|
+
/** closest.estimated1rmKg / best.estimated1rmKg. */
|
|
1723
|
+
closestRatio: number;
|
|
1724
|
+
lastPerformedAt: IsoDateString;
|
|
1805
1725
|
}
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1726
|
+
/** Stable successful response of GET /workouts/progress/plateaus. */
|
|
1727
|
+
interface PlateausResponse {
|
|
1728
|
+
asOf: IsoDateString;
|
|
1729
|
+
thresholds: {
|
|
1730
|
+
windowDays: number;
|
|
1731
|
+
/** The account's PREF-05 choice, within the bounds above. */
|
|
1732
|
+
minSessions: number;
|
|
1733
|
+
minDaysSinceBest: number;
|
|
1734
|
+
recentDays: number;
|
|
1735
|
+
};
|
|
1736
|
+
/** Lifts with a best set that were trained within the recent days. */
|
|
1737
|
+
checkedExercises: number;
|
|
1738
|
+
/** Longest-running first: most sessions without a new best. */
|
|
1739
|
+
plateaus: ExercisePlateau[];
|
|
1815
1740
|
}
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1741
|
+
|
|
1742
|
+
/**
|
|
1743
|
+
* Who may start a conversation with a member. `FOLLOWED`: members they follow.
|
|
1744
|
+
* `EVERYONE` (MSG-02): members they follow reach the inbox, anyone else lands
|
|
1745
|
+
* in Requests. `NOBODY`: no one may start a new one.
|
|
1746
|
+
*/
|
|
1747
|
+
declare const MESSAGE_PERMISSIONS: readonly ["FOLLOWED", "EVERYONE", "NOBODY"];
|
|
1748
|
+
type MessagePermission = (typeof MESSAGE_PERMISSIONS)[number];
|
|
1749
|
+
declare const DEFAULT_MESSAGE_PERMISSION: MessagePermission;
|
|
1750
|
+
/** Characters in one message, counted as code points. */
|
|
1751
|
+
declare const MESSAGE_BODY_MAX = 2000;
|
|
1752
|
+
/** Messages one member may send in a rolling minute. */
|
|
1753
|
+
declare const MESSAGES_PER_MINUTE_MAX = 30;
|
|
1754
|
+
/** Conversations one member may start in a rolling day. */
|
|
1755
|
+
declare const NEW_CONVERSATIONS_PER_DAY_MAX = 20;
|
|
1756
|
+
declare const CONVERSATIONS_PAGE_SIZE = 20;
|
|
1757
|
+
declare const MESSAGES_PAGE_SIZE = 30;
|
|
1758
|
+
/** Length as a reader counts it: an emoji is one character, not two. */
|
|
1759
|
+
declare function messageBodyLength(body: string): number;
|
|
1760
|
+
/**
|
|
1761
|
+
* The stored form of a typed message: line endings made `\n` and the ends
|
|
1762
|
+
* trimmed, the lines in between kept as written. Null when it is empty or too
|
|
1763
|
+
* long -- it is refused rather than cut, because a message clipped mid-sentence
|
|
1764
|
+
* would misrepresent its author.
|
|
1765
|
+
*/
|
|
1766
|
+
declare function normalizeMessageBody(body: string): string | null;
|
|
1767
|
+
/**
|
|
1768
|
+
* MSG-07: what a message, its text left empty or not, may carry -- one of
|
|
1769
|
+
* them, with an optional note. MSG-10 adds a finished workout.
|
|
1770
|
+
*/
|
|
1771
|
+
declare const MESSAGE_ATTACHMENT_KINDS: readonly ["ROUTINE", "WORKOUT", "RECORD"];
|
|
1772
|
+
type MessageAttachmentKind = (typeof MESSAGE_ATTACHMENT_KINDS)[number];
|
|
1773
|
+
/**
|
|
1774
|
+
* MSG-07: a routine in a message, as it is now. `routine` is null once it is
|
|
1775
|
+
* no longer available -- deleted, or hidden by moderation -- and the card
|
|
1776
|
+
* says so rather than showing what it once was.
|
|
1777
|
+
*/
|
|
1778
|
+
interface MessageRoutineAttachment {
|
|
1779
|
+
kind: "ROUTINE";
|
|
1780
|
+
routine: SharedRoutineSummary | null;
|
|
1823
1781
|
}
|
|
1824
|
-
|
|
1782
|
+
/**
|
|
1783
|
+
* MSG-10: a finished workout in a card -- what was trained and its totals,
|
|
1784
|
+
* as the workout is now (a correction shows). Never its notes, RPE or the
|
|
1785
|
+
* comparison with the session before.
|
|
1786
|
+
*/
|
|
1787
|
+
interface MessageWorkoutSummary {
|
|
1825
1788
|
sessionId: string;
|
|
1826
|
-
status: Extract<WorkoutSessionStatus, 'COMPLETED' | 'ABORTED'>;
|
|
1827
1789
|
routineName: string;
|
|
1828
|
-
dayName
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
sets: ExercisePerformanceSet[];
|
|
1834
|
-
prescriptions: ExercisePerformancePrescription[];
|
|
1835
|
-
progressionChanges: ProgressionChange[];
|
|
1836
|
-
}
|
|
1837
|
-
/** Stable successful response of GET /workouts/progress/performance. */
|
|
1838
|
-
interface ExercisePerformanceHistoryResponse {
|
|
1839
|
-
exercises: ExercisePerformanceSummary[];
|
|
1840
|
-
selectedExercise: ExercisePerformanceSummary | null;
|
|
1841
|
-
items: ExercisePerformanceSession[];
|
|
1842
|
-
nextCursor?: string;
|
|
1790
|
+
dayName: string | null;
|
|
1791
|
+
endedAt: IsoDateString;
|
|
1792
|
+
durationSec: number;
|
|
1793
|
+
totalVolumeKg: number;
|
|
1794
|
+
completedSets: number;
|
|
1843
1795
|
}
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1796
|
+
/** MSG-10: `workout` is null once it is no longer available (deleted). */
|
|
1797
|
+
interface MessageWorkoutAttachment {
|
|
1798
|
+
kind: "WORKOUT";
|
|
1799
|
+
workout: MessageWorkoutSummary | null;
|
|
1848
1800
|
}
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1801
|
+
/**
|
|
1802
|
+
* MSG-11: a personal record in a card -- that record as set, even once
|
|
1803
|
+
* beaten: its lift, the performance, when, and the best it beat, as the
|
|
1804
|
+
* progress timeline words it. Nothing of the workout around it.
|
|
1805
|
+
*/
|
|
1806
|
+
interface MessageRecordSummary {
|
|
1807
|
+
/** The `PERSONAL_RECORD` training event. */
|
|
1808
|
+
eventId: string;
|
|
1809
|
+
exerciseId: string;
|
|
1810
|
+
exerciseName: string;
|
|
1811
|
+
occurredAt: IsoDateString;
|
|
1812
|
+
current: ProgressTimelineRecordPerformance;
|
|
1813
|
+
previous: ProgressTimelineRecordPerformance | null;
|
|
1814
|
+
reason: ProgressTimelineRecordReason;
|
|
1853
1815
|
}
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
muscles: MuscleGroupHeatmapValue[];
|
|
1816
|
+
/** MSG-11: `record` is null once a correction removed it. */
|
|
1817
|
+
interface MessageRecordAttachment {
|
|
1818
|
+
kind: "RECORD";
|
|
1819
|
+
record: MessageRecordSummary | null;
|
|
1859
1820
|
}
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1821
|
+
type MessageAttachment = MessageRoutineAttachment | MessageWorkoutAttachment | MessageRecordAttachment;
|
|
1822
|
+
/** MSG-10: one completed set of a shared workout. Never its RPE. */
|
|
1823
|
+
interface SharedWorkoutSet {
|
|
1824
|
+
setNumber: number;
|
|
1825
|
+
kind: SetKind;
|
|
1826
|
+
/** Canonical kilograms; null for a set logged without a load. */
|
|
1827
|
+
weightKg: number | null;
|
|
1828
|
+
reps: number | null;
|
|
1865
1829
|
}
|
|
1866
|
-
interface
|
|
1867
|
-
|
|
1868
|
-
/**
|
|
1869
|
-
|
|
1830
|
+
interface SharedWorkoutExercise {
|
|
1831
|
+
exerciseId: string;
|
|
1832
|
+
/** The exercise as it was performed (a swapped slot by its substitute). */
|
|
1833
|
+
name: string;
|
|
1834
|
+
sets: SharedWorkoutSet[];
|
|
1870
1835
|
}
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1836
|
+
/**
|
|
1837
|
+
* MSG-10: GET /conversations/:id/messages/:messageId/workout. The workout a
|
|
1838
|
+
* message shared, opened: the summary, the records it set and each
|
|
1839
|
+
* exercise's completed sets, in the order they were trained. Nothing else of
|
|
1840
|
+
* the session -- no notes, no RPE, no previous-session comparison.
|
|
1841
|
+
*/
|
|
1842
|
+
interface SharedWorkout extends MessageWorkoutSummary {
|
|
1843
|
+
owner: SharedSessionOwner;
|
|
1844
|
+
/** The owner's unit; a reader shows weights in their own. */
|
|
1845
|
+
weightUnit: WeightUnit;
|
|
1846
|
+
records: SessionRecapRecord[];
|
|
1847
|
+
exercises: SharedWorkoutExercise[];
|
|
1877
1848
|
}
|
|
1878
|
-
|
|
1849
|
+
/**
|
|
1850
|
+
* MSG-07: the stored text of a message. A message with a routine may leave it
|
|
1851
|
+
* empty (null); one without must say something. Undefined when the text is
|
|
1852
|
+
* refused: empty with nothing attached, or too long.
|
|
1853
|
+
*/
|
|
1854
|
+
declare function messageNote(body: string | undefined | null, hasAttachment: boolean): string | null | undefined;
|
|
1855
|
+
/** The other participant, or null once their account was deleted. */
|
|
1856
|
+
interface ConversationMember {
|
|
1879
1857
|
id: string;
|
|
1858
|
+
username: string;
|
|
1880
1859
|
name: string;
|
|
1881
|
-
|
|
1882
|
-
totalCompletedSets: number;
|
|
1883
|
-
points: VolumeTrendPoint[];
|
|
1884
|
-
}
|
|
1885
|
-
interface MuscleVolumeTrendSeries extends VolumeTrendSeries {
|
|
1886
|
-
id: MuscleGroup;
|
|
1887
|
-
}
|
|
1888
|
-
/** Stable successful response of GET /workouts/progress/volume. */
|
|
1889
|
-
interface VolumeTrendResponse {
|
|
1890
|
-
timeZone: string;
|
|
1891
|
-
weeks: number;
|
|
1892
|
-
overall: VolumeTrendPoint[];
|
|
1893
|
-
muscles: MuscleVolumeTrendSeries[];
|
|
1894
|
-
routines: VolumeTrendSeries[];
|
|
1895
|
-
exercises: VolumeTrendSeries[];
|
|
1896
|
-
}
|
|
1897
|
-
interface SessionComparisonQuery {
|
|
1898
|
-
routineDayId?: string;
|
|
1899
|
-
}
|
|
1900
|
-
interface SessionComparisonRoutineDay {
|
|
1901
|
-
routineDayId: string;
|
|
1902
|
-
routineId: string;
|
|
1903
|
-
routineName: string;
|
|
1904
|
-
dayName?: string | null;
|
|
1905
|
-
lastCompletedAt: IsoDateString;
|
|
1906
|
-
completedSessionCount: number;
|
|
1860
|
+
avatarUrl: string | null;
|
|
1907
1861
|
}
|
|
1908
|
-
interface
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1862
|
+
interface ConversationMessage {
|
|
1863
|
+
id: string;
|
|
1864
|
+
sentByMe: boolean;
|
|
1865
|
+
/**
|
|
1866
|
+
* Null once its author deleted it; the place stays as "Message deleted".
|
|
1867
|
+
* Also null for the other participant while moderation hides it (MSG-09),
|
|
1868
|
+
* and for a routine sent without a note (MSG-07).
|
|
1869
|
+
*/
|
|
1870
|
+
body: string | null;
|
|
1871
|
+
deleted: boolean;
|
|
1872
|
+
/**
|
|
1873
|
+
* MSG-09: a moderator hid this message from the other participant. They read
|
|
1874
|
+
* "Removed by moderation" in its place; its author still reads the text and
|
|
1875
|
+
* is told it is hidden.
|
|
1876
|
+
*/
|
|
1877
|
+
hiddenByModeration: boolean;
|
|
1878
|
+
/**
|
|
1879
|
+
* MSG-07: a routine it carries, resolved as it is now. Null when it carries
|
|
1880
|
+
* none, and whenever the text is withheld (deleted, or hidden from the
|
|
1881
|
+
* viewer by moderation).
|
|
1882
|
+
*/
|
|
1883
|
+
attachment: MessageAttachment | null;
|
|
1884
|
+
createdAt: IsoDateString;
|
|
1914
1885
|
}
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1886
|
+
/**
|
|
1887
|
+
* MSG-02: a conversation that is still a request. `INCOMING`: the viewer may
|
|
1888
|
+
* accept, decline or block. `OUTGOING`: the viewer sent it and waits -- told
|
|
1889
|
+
* neither whether it was seen nor whether it was declined.
|
|
1890
|
+
*/
|
|
1891
|
+
interface ConversationRequest {
|
|
1892
|
+
direction: "INCOMING" | "OUTGOING";
|
|
1921
1893
|
}
|
|
1922
|
-
interface
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1894
|
+
interface ConversationSummary {
|
|
1895
|
+
id: string;
|
|
1896
|
+
/** Null when the other member deleted their account ("Deleted member"). */
|
|
1897
|
+
counterpart: ConversationMember | null;
|
|
1898
|
+
/** The newest message the viewer can see, or null when there is none. */
|
|
1899
|
+
lastMessage: ConversationMessage | null;
|
|
1900
|
+
lastMessageAt: IsoDateString | null;
|
|
1901
|
+
/**
|
|
1902
|
+
* Whether the viewer may write in it now. False when the other member's
|
|
1903
|
+
* account is gone, or the viewer's own messaging is unavailable or
|
|
1904
|
+
* restricted.
|
|
1905
|
+
*/
|
|
1906
|
+
canSend: boolean;
|
|
1907
|
+
/**
|
|
1908
|
+
* MSG-09: a moderator restricted the viewer's messaging, which is why they
|
|
1909
|
+
* cannot write. Only ever about the viewer: nobody else is told.
|
|
1910
|
+
*/
|
|
1911
|
+
messagingRestricted: boolean;
|
|
1912
|
+
/**
|
|
1913
|
+
* MSG-03: the other member wrote something the viewer has not seen -- a
|
|
1914
|
+
* message after the viewer's read position that is neither deleted nor
|
|
1915
|
+
* removed for them. The viewer's own messages never count.
|
|
1916
|
+
*/
|
|
1917
|
+
unread: boolean;
|
|
1918
|
+
/**
|
|
1919
|
+
* MSG-03: the viewer's read position, where "new since you last looked"
|
|
1920
|
+
* starts. Null when they have never read the conversation. It is the
|
|
1921
|
+
* viewer's alone: no read receipts, so a sender never learns it.
|
|
1922
|
+
*/
|
|
1923
|
+
lastReadAt: IsoDateString | null;
|
|
1924
|
+
/** MSG-02: null once accepted, or for a conversation that never was a request. */
|
|
1925
|
+
request: ConversationRequest | null;
|
|
1934
1926
|
}
|
|
1935
|
-
/**
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1927
|
+
/**
|
|
1928
|
+
* MSG-02: GET /conversations?box=. The inbox holds accepted conversations
|
|
1929
|
+
* and the viewer's own requests; Requests holds the ones waiting for them.
|
|
1930
|
+
*/
|
|
1931
|
+
declare const CONVERSATION_BOXES: readonly ["INBOX", "REQUESTS"];
|
|
1932
|
+
type ConversationBox = (typeof CONVERSATION_BOXES)[number];
|
|
1933
|
+
/**
|
|
1934
|
+
* MSG-02: after a decline, the same member's new request is refused for this
|
|
1935
|
+
* many days, unless the recipient follows them or writes first.
|
|
1936
|
+
*/
|
|
1937
|
+
declare const MESSAGE_REQUEST_DECLINE_COOLDOWN_DAYS = 30;
|
|
1938
|
+
/**
|
|
1939
|
+
* MSG-08: a message push waits this long and is dropped if the conversation
|
|
1940
|
+
* was read meanwhile, so two members talking live do not buzz each other.
|
|
1941
|
+
*/
|
|
1942
|
+
declare const MESSAGE_PUSH_DELAY_SECONDS = 30;
|
|
1943
|
+
/** GET /conversations, newest activity first. */
|
|
1944
|
+
interface ConversationsResponse {
|
|
1945
|
+
conversations: ConversationSummary[];
|
|
1946
|
+
nextCursor: string | null;
|
|
1947
|
+
/** MSG-09: the viewer's own messaging is restricted by moderation. */
|
|
1948
|
+
messagingRestricted: boolean;
|
|
1941
1949
|
}
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
+
/**
|
|
1951
|
+
* MSG-09: a report of a message captures it and at most this many messages
|
|
1952
|
+
* before it in its conversation, as the reporter could see them then.
|
|
1953
|
+
*/
|
|
1954
|
+
declare const MESSAGE_REPORT_CONTEXT_BEFORE = 5;
|
|
1955
|
+
/**
|
|
1956
|
+
* MSG-03: POST /conversations/:id/read. Moves the viewer's read position to
|
|
1957
|
+
* the message they have seen (`through`, the newest one on their screen),
|
|
1958
|
+
* never backwards, so a message that arrived after it stays unread.
|
|
1959
|
+
*/
|
|
1960
|
+
interface MarkConversationReadRequest {
|
|
1961
|
+
through: string;
|
|
1950
1962
|
}
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1963
|
+
/** MSG-03: GET /conversations/unread, for the navigation's count. */
|
|
1964
|
+
interface UnreadConversationsResponse {
|
|
1965
|
+
/** Conversations with something new, not messages (owner, 2026-10-06). */
|
|
1966
|
+
unreadConversations: number;
|
|
1967
|
+
/**
|
|
1968
|
+
* MSG-02: requests waiting for the viewer. For the Requests tab only: they
|
|
1969
|
+
* never count in the navigation (owner, 2026-10-06).
|
|
1970
|
+
*/
|
|
1971
|
+
requests: number;
|
|
1955
1972
|
}
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1973
|
+
/** GET /conversations/:id/messages, newest first; `cursor` pages older. */
|
|
1974
|
+
interface ConversationMessagesResponse {
|
|
1975
|
+
conversation: ConversationSummary;
|
|
1976
|
+
messages: ConversationMessage[];
|
|
1977
|
+
nextCursor: string | null;
|
|
1960
1978
|
}
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1979
|
+
/**
|
|
1980
|
+
* POST /conversations. Starts a conversation with its first message, so an
|
|
1981
|
+
* empty conversation never exists; when one with this member already exists
|
|
1982
|
+
* the message is sent there instead. `recipient` is a username or an id.
|
|
1983
|
+
*/
|
|
1984
|
+
interface StartConversationRequest {
|
|
1985
|
+
recipient: string;
|
|
1986
|
+
/** Optional when the message carries a routine or a workout. */
|
|
1987
|
+
body?: string;
|
|
1988
|
+
/** MSG-07: one of the sender's own routines. */
|
|
1989
|
+
routineId?: string;
|
|
1990
|
+
/** MSG-10: one of the sender's own finished workouts. Not with a routine. */
|
|
1991
|
+
sessionId?: string;
|
|
1992
|
+
/** MSG-11: one of the sender's own personal records, by its event. */
|
|
1993
|
+
recordEventId?: string;
|
|
1972
1994
|
}
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1995
|
+
/** POST /conversations/:id/messages. */
|
|
1996
|
+
interface SendMessageRequest {
|
|
1997
|
+
/** Optional when the message carries a routine or a workout. */
|
|
1998
|
+
body?: string;
|
|
1999
|
+
/** MSG-07: one of the sender's own routines. */
|
|
2000
|
+
routineId?: string;
|
|
2001
|
+
/** MSG-10: one of the sender's own finished workouts. Not with a routine. */
|
|
2002
|
+
sessionId?: string;
|
|
2003
|
+
/** MSG-11: one of the sender's own personal records, by its event. */
|
|
2004
|
+
recordEventId?: string;
|
|
1981
2005
|
}
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
items: ProgressTimelineItem[];
|
|
1986
|
-
nextCursor?: string;
|
|
2006
|
+
interface SendMessageResponse {
|
|
2007
|
+
conversation: ConversationSummary;
|
|
2008
|
+
message: ConversationMessage;
|
|
1987
2009
|
}
|
|
1988
|
-
/**
|
|
1989
|
-
interface
|
|
1990
|
-
|
|
1991
|
-
sessionId: string;
|
|
1992
|
-
sourceRoutineId: string;
|
|
1993
|
-
sourceRoutineDayId: string;
|
|
1994
|
-
capturedAt: string;
|
|
1995
|
-
provenance: 'CAPTURED' | 'APPROXIMATED';
|
|
1996
|
-
notes: string | null;
|
|
1997
|
-
routine: NonNullable<WorkoutSession['routine']>;
|
|
1998
|
-
routineDay: NonNullable<WorkoutSession['routineDay']>;
|
|
1999
|
-
/** ROUT-15; absent on snapshots captured before blocks executed. */
|
|
2000
|
-
trainingBlock?: WorkoutSession['trainingBlock'];
|
|
2001
|
-
/** ROUT-16; absent on snapshots captured before deloads existed. */
|
|
2002
|
-
temporaryOverride?: WorkoutSession['temporaryOverride'];
|
|
2010
|
+
/** PUT /users/preferences/messages. */
|
|
2011
|
+
interface UpdateMessagePermissionRequest {
|
|
2012
|
+
messagePermission: MessagePermission;
|
|
2003
2013
|
}
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2014
|
+
/**
|
|
2015
|
+
* On the authenticated member profile only: whether the viewer may start a
|
|
2016
|
+
* conversation, and the one they already have. The server decides; a viewer
|
|
2017
|
+
* who may not is told nothing more.
|
|
2018
|
+
*/
|
|
2019
|
+
interface MemberMessagingState {
|
|
2020
|
+
canStart: boolean;
|
|
2021
|
+
conversationId: string | null;
|
|
2022
|
+
/** MSG-02: a first message would land in their Requests. */
|
|
2023
|
+
asRequest: boolean;
|
|
2008
2024
|
}
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2025
|
+
declare function isMessagePermission(value: unknown): value is MessagePermission;
|
|
2026
|
+
|
|
2027
|
+
/** A step id as the registry names it: lowercase words joined by hyphens. */
|
|
2028
|
+
declare const ONBOARDING_STEP_ID_PATTERN_SOURCE = "^[a-z][a-z0-9-]{0,39}$";
|
|
2029
|
+
declare const ONBOARDING_STEPS_MAX = 30;
|
|
2030
|
+
declare const ONBOARDING_VERSION_MAX = 1000;
|
|
2031
|
+
interface OnboardingState {
|
|
2032
|
+
/**
|
|
2033
|
+
* The registry version the account completed. A new account starts at 0;
|
|
2034
|
+
* accounts that existed when onboarding shipped start at 1, so they are
|
|
2035
|
+
* offered only steps added later.
|
|
2036
|
+
*/
|
|
2037
|
+
completedVersion: number;
|
|
2038
|
+
/** Steps answered or skipped since that version, so the flow resumes. */
|
|
2039
|
+
stepsDone: string[];
|
|
2040
|
+
/** When the flow first opened by itself; it never does again. */
|
|
2041
|
+
offeredAt: IsoDateString | null;
|
|
2014
2042
|
}
|
|
2015
2043
|
/**
|
|
2016
|
-
*
|
|
2017
|
-
*
|
|
2018
|
-
*
|
|
2019
|
-
* best (the session that set the best excluded, and counting only inside the
|
|
2020
|
-
* look-back window), the best is at least
|
|
2021
|
-
* `PLATEAU_MIN_DAYS_SINCE_BEST` days old, and the lift was trained within the
|
|
2022
|
-
* last `PLATEAU_RECENT_DAYS` days. They describe numbers, never a cause.
|
|
2044
|
+
* PUT /users/preferences/onboarding. Partial: `stepsDone` is added to what is
|
|
2045
|
+
* stored (two devices never undo each other), `completedVersion` only ever
|
|
2046
|
+
* rises and clears the steps, and `offered` records the first opening once.
|
|
2023
2047
|
*/
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2048
|
+
interface UpdateOnboardingRequest {
|
|
2049
|
+
stepsDone?: string[];
|
|
2050
|
+
completedVersion?: number;
|
|
2051
|
+
offered?: true;
|
|
2052
|
+
}
|
|
2053
|
+
declare function isOnboardingStepId(value: unknown): value is string;
|
|
2054
|
+
|
|
2028
2055
|
/**
|
|
2029
|
-
*
|
|
2030
|
-
*
|
|
2056
|
+
* The weekday a week starts on, as `Date.getDay()` numbers it: 1 Monday, 0
|
|
2057
|
+
* Sunday. Monday is everyone's default, so nothing changes until a member
|
|
2058
|
+
* chooses. **The rank never follows it**: its active weeks are Monday weeks
|
|
2059
|
+
* for every member, because a rank is public and must mean the same on every
|
|
2060
|
+
* profile.
|
|
2031
2061
|
*/
|
|
2032
|
-
declare const
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
interface
|
|
2044
|
-
|
|
2045
|
-
exerciseName: string;
|
|
2046
|
-
/** The persisted best-set frontier. */
|
|
2047
|
-
best: PlateauSet & {
|
|
2048
|
-
achievedAt: IsoDateString;
|
|
2049
|
-
};
|
|
2050
|
-
/** Sessions were counted from the later of the best and the window start. */
|
|
2051
|
-
countedSince: IsoDateString;
|
|
2052
|
-
sessionsWithoutNewBest: number;
|
|
2053
|
-
/** The set since then with the highest estimated 1RM (latest on ties). */
|
|
2054
|
-
closest: PlateauSet & {
|
|
2055
|
-
performedAt: IsoDateString;
|
|
2056
|
-
};
|
|
2057
|
-
/** closest.estimated1rmKg / best.estimated1rmKg. */
|
|
2058
|
-
closestRatio: number;
|
|
2059
|
-
lastPerformedAt: IsoDateString;
|
|
2060
|
-
}
|
|
2061
|
-
/** Stable successful response of GET /workouts/progress/plateaus. */
|
|
2062
|
-
interface PlateausResponse {
|
|
2063
|
-
asOf: IsoDateString;
|
|
2064
|
-
thresholds: {
|
|
2065
|
-
windowDays: number;
|
|
2066
|
-
/** The account's PREF-05 choice, within the bounds above. */
|
|
2067
|
-
minSessions: number;
|
|
2068
|
-
minDaysSinceBest: number;
|
|
2069
|
-
recentDays: number;
|
|
2070
|
-
};
|
|
2071
|
-
/** Lifts with a best set that were trained within the recent days. */
|
|
2072
|
-
checkedExercises: number;
|
|
2073
|
-
/** Longest-running first: most sessions without a new best. */
|
|
2074
|
-
plateaus: ExercisePlateau[];
|
|
2062
|
+
declare const WEEK_STARTS: readonly [1, 0];
|
|
2063
|
+
type WeekStartsOn = (typeof WEEK_STARTS)[number];
|
|
2064
|
+
declare const DEFAULT_WEEK_STARTS_ON: WeekStartsOn;
|
|
2065
|
+
declare function isWeekStartsOn(value: unknown): value is WeekStartsOn;
|
|
2066
|
+
/**
|
|
2067
|
+
* The first day of the week a `YYYY-MM-DD` calendar date belongs to, as a
|
|
2068
|
+
* `YYYY-MM-DD` date, for a week starting on `weekStartsOn`. Calendar
|
|
2069
|
+
* arithmetic only: no time zone, so a daylight-saving change cannot move it.
|
|
2070
|
+
*/
|
|
2071
|
+
declare function weekStartOf(dateKey: string, weekStartsOn?: WeekStartsOn): string;
|
|
2072
|
+
/** PUT /users/preferences/week-start */
|
|
2073
|
+
interface UpdateWeekStartRequest {
|
|
2074
|
+
weekStartsOn: WeekStartsOn;
|
|
2075
2075
|
}
|
|
2076
|
+
/**
|
|
2077
|
+
* How lengths are shown and typed: centimetres, or inches (a height in feet
|
|
2078
|
+
* and inches). Every length is **stored in centimetres**, as weights are
|
|
2079
|
+
* stored in kilograms; the unit is only the display and entry boundary.
|
|
2080
|
+
*/
|
|
2081
|
+
declare const LENGTH_UNITS: readonly ["CM", "IN"];
|
|
2082
|
+
type LengthUnit = (typeof LENGTH_UNITS)[number];
|
|
2083
|
+
declare const CM_PER_INCH = 2.54;
|
|
2084
|
+
declare const INCHES_PER_FOOT = 12;
|
|
2085
|
+
/** Centimetres as inches, to two decimals. */
|
|
2086
|
+
declare function cmToInches(cm: number): number;
|
|
2087
|
+
/** Inches as centimetres, to two decimals. */
|
|
2088
|
+
declare function inchesToCm(inches: number): number;
|
|
2089
|
+
/**
|
|
2090
|
+
* A height in centimetres as whole feet and inches to one decimal. The total
|
|
2091
|
+
* is rounded before it is split, so 71.98 in reads as 6 ft 0 in, never as
|
|
2092
|
+
* 5 ft 12 in.
|
|
2093
|
+
*/
|
|
2094
|
+
declare function cmToFeetInches(cm: number): {
|
|
2095
|
+
feet: number;
|
|
2096
|
+
inches: number;
|
|
2097
|
+
};
|
|
2098
|
+
/** Feet and inches as centimetres, to two decimals. */
|
|
2099
|
+
declare function feetInchesToCm(feet: number, inches: number): number;
|
|
2076
2100
|
|
|
2077
2101
|
declare const ACHIEVEMENT_CATEGORIES: readonly ["SESSIONS", "SETS", "VOLUME_KG", "RECORDS", "STREAK_DAYS"];
|
|
2078
2102
|
type AchievementCategory = (typeof ACHIEVEMENT_CATEGORIES)[number];
|
|
@@ -2346,6 +2370,11 @@ interface CapturedMessage {
|
|
|
2346
2370
|
* empty when it was no longer available, or null when it carried none.
|
|
2347
2371
|
*/
|
|
2348
2372
|
workoutName?: string | null;
|
|
2373
|
+
/**
|
|
2374
|
+
* MSG-11: the record it carried, by its lift, empty when it was no longer
|
|
2375
|
+
* available, or null when it carried none.
|
|
2376
|
+
*/
|
|
2377
|
+
recordName?: string | null;
|
|
2349
2378
|
createdAt: IsoDateString;
|
|
2350
2379
|
}
|
|
2351
2380
|
/**
|
|
@@ -4718,6 +4747,8 @@ interface AccountExportV1 {
|
|
|
4718
4747
|
routineId?: string;
|
|
4719
4748
|
/** MSG-10: the member's own workout the message shared, by id. */
|
|
4720
4749
|
sessionId?: string;
|
|
4750
|
+
/** MSG-11: the member's own record the message shared, by its event. */
|
|
4751
|
+
recordEventId?: string;
|
|
4721
4752
|
createdAt: IsoDateString;
|
|
4722
4753
|
}>;
|
|
4723
4754
|
reportsFiled: Array<{
|
|
@@ -4895,7 +4926,7 @@ declare const API_ERROR_MESSAGES: {
|
|
|
4895
4926
|
readonly ENCOURAGEMENT_RETRY: "Please retry the encouragement.";
|
|
4896
4927
|
readonly MESSAGE_SELF: "You cannot message yourself";
|
|
4897
4928
|
readonly MESSAGE_LENGTH: "A message must not be empty and may be at most {max} characters.";
|
|
4898
|
-
readonly MESSAGE_ONE_ATTACHMENT: "A message can carry one routine or one
|
|
4929
|
+
readonly MESSAGE_ONE_ATTACHMENT: "A message can carry one routine, one workout or one record.";
|
|
4899
4930
|
readonly MESSAGES_PER_MINUTE: "You can send at most {max} messages a minute.";
|
|
4900
4931
|
readonly CONVERSATIONS_PER_DAY: "You can start at most {max} new conversations a day.";
|
|
4901
4932
|
readonly MESSAGE_NOT_ADMITTED: "This member is not taking messages from you.";
|
|
@@ -5087,4 +5118,4 @@ declare function isRealtimeTopic(value: unknown): value is RealtimeTopic;
|
|
|
5087
5118
|
/** The event in one `data:` payload, or null for anything else. */
|
|
5088
5119
|
declare function parseRealtimeEvent(data: string): RealtimeEvent | null;
|
|
5089
5120
|
|
|
5090
|
-
export { ACCOUNT_EXPORT_FORMAT, ACCOUNT_EXPORT_VERSION, ACHIEVEMENT_CATEGORIES, ACHIEVEMENT_DEFINITIONS, ACTIVITY_CAPS, ACTIVITY_COMMENTS_PAGE_SIZE, ACTIVITY_COMMENTS_PER_DAY_MAX, ACTIVITY_COMMENT_MAX_LENGTH, ACTIVITY_DEFAULT_AUDIENCE, ACTIVITY_ENTRY_ID_MAX_LENGTH, ACTIVITY_FEED_FOLLOWED_MAX, ACTIVITY_PAGE_DEFAULT_LIMIT, ACTIVITY_PAGE_MAX_LIMIT, ACTIVITY_PREVIEW_AUDIENCES, ACTIVITY_REACTIONS, ACTIVITY_TYPES, ACTIVITY_TYPE_SECTIONS, API_ERROR_CODES, API_ERROR_MESSAGES, type AccountExportBodyMeasurement, type AccountExportGoal, type AccountExportMember, type AccountExportPersonalRecord, type AccountExportRoutine, type AccountExportScheduleOverride, type AccountExportTrainingEvent, type AccountExportTrainingLocation, type AccountExportV1, type AchievementActivity, type AchievementCategory, type AchievementCategoryProgress, type AchievementDefinition, type AchievementNotification, type AchievementUnlockedEventPayload, type AchievementsResponse, type ActivityAudience, type ActivityCap, type ActivityComment, type ActivityCommentNotification, type ActivityCommentSummary, type ActivityCommentsQuery, type ActivityCommentsResponse, type ActivityEntry, type ActivityEntrySharing, type ActivityFeedResponse, type ActivityLink, type ActivityPage, type ActivityPageQuery, type ActivityPreviewAudience, type ActivityPreviewQuery, type ActivityReaction, type ActivityReactionSummary, type ActivitySection, type ActivitySharingSettings, type ActivityType, type ApiErrorBody, type ApiErrorCode, type ApiErrorParams, type AppLocale, type AppNotification, BAR_CHOICES_KG, BAR_WARM_UP_STEPS, BLOCKED_MEMBERS_MAX, BODY_MEASUREMENT_FIELDS, BODY_MEASUREMENT_FIELD_KEYS, BODY_PROGRESS_RANGES, type BlockComparisonLift, type BlockComparisonLiftBest, type BlockComparisonPeriod, type BlockComparisonPeriodKind, type BlockedMember, type BlockedMembersResponse, type BodyFieldSummary, type BodyMeasurement, type BodyMeasurementField, type BodyMeasurementProblem, type BodyMeasurementValues, type BodyProgressRange, type BodyProgressResponse, type Brand, CLONE_ROUTINE_REFUSALS, CM_PER_INCH, COMEBACK_MIN_INACTIVE_DAYS, COMEBACK_RECOGNITION_LIMIT, COMEBACK_REQUIRED_ACTIVE_DAYS, COMEBACK_SESSION_LOOKBACK, COMEBACK_WINDOW_DAYS, CONVERSATIONS_PAGE_SIZE, CONVERSATION_BOXES, CUSTOM_EXERCISES_MAX, CUSTOM_EXERCISE_NAME_MAX, CUSTOM_EXERCISE_NOTE_MAX, CUSTOM_EXERCISE_PROBLEM_MESSAGES, CUSTOM_EXERCISE_REFUSALS, type CalendarDate, type CapturedMessage, type CloneRoutineRefusal, type CloneRoutineRequest, type ComebackActivity, type ComebackRecognition, type ComebackRecognitionSummary, type ContinueLinearBlockRequest, type ConversationBox, type ConversationMember, type ConversationMessage, type ConversationMessagesResponse, type ConversationRequest, type ConversationSummary, type ConversationsResponse, type CorrectSessionRequest, type CorrectSessionResponse, type CorrectSessionSetRequest, type CreateActivityCommentRequest, type CreateActivityCommentResponse, type CreateDeloadRequest, type CreateReportRequest, type CreateReportResponse, type CreateRoutineDayInput, type CreateRoutineExerciseInput, type CreateRoutineRequest, type CreateRoutineVersionRequest, type CreateSessionShareRequest, type CustomExerciseInput, type CustomExerciseProblem, type CustomExerciseRefusal, DASHBOARD_SECTION_IDS, DEFAULT_DASHBOARD_LAYOUT, DEFAULT_LOCALE, DEFAULT_MESSAGE_PERMISSION, DEFAULT_WEEK_STARTS_ON, DELOAD_DEFAULT_DAYS, DELOAD_DEFAULT_LOAD_REDUCTION, DELOAD_DEFAULT_SET_MODE, DELOAD_LOAD_REDUCTIONS, DELOAD_MAX_DAYS, DELOAD_NOT_LIGHTER, DELOAD_SET_MODES, DELOAD_SUGGESTION_COOLDOWN_DAYS, DELOAD_SUGGESTION_EARLIER_DAYS, DELOAD_SUGGESTION_MIN_MARKED_TODAY, DELOAD_SUGGESTION_ROUTINE_DAYS, DELOAD_SUGGESTION_SIGNALS, type DashboardLayout, type DashboardLayoutEntry, type DashboardSectionId, type DeclineSignal, type DecliningLift, type DecliningLiftSession, type DeleteAccountRequest, type DeleteAccountResponse, type DeleteActivityCommentResponse, type DeletePushSubscriptionRequest, type DeloadLoadReduction, type DeloadOptions, type DeloadSetMode, type DeloadSuggestion, type DeloadSuggestionEvidence, type DeloadSuggestionResponse, type DeloadSuggestionSignal, type DeloadSuggestionUnavailableReason, type DiscoverableRoutine, type DismissGoalSuggestionRequest, EXERCISE_EQUIPMENT, EXERCISE_GROUP_KIND_LABELS, EXERCISE_GROUP_MAX, EXERCISE_MECHANICS, type EarnedAchievement, type EarnedPersonalRecord, type EffortPeriod, type EffortSignal, type Exercise, type ExerciseEquipment, type ExerciseGroup, type ExerciseGroupKind, type ExerciseGroupPosition, type ExerciseId, type ExerciseMechanic, type ExercisePerformanceHistoryQuery, type ExercisePerformanceHistoryResponse, type ExercisePerformancePrescription, type ExercisePerformancePrescriptionSet, type ExercisePerformanceSession, type ExercisePerformanceSet, type ExercisePerformanceSummary, type ExercisePlateau, type ExerciseStrengthSummary, type ExerciseStrengthTrendPoint, type ExerciseStrengthTrendQuery, type ExerciseStrengthTrendResponse, FEATURED_PROFILE_ITEMS_MAX, FEATURED_PROFILE_ITEM_KINDS, FEATURED_PROFILE_REFERENCE_MAX_LENGTH, FOLLOW_SUGGESTIONS_DEFAULT_LIMIT, FOLLOW_SUGGESTIONS_MAX_LIMIT, FOLLOW_SUGGESTION_REASONS, type FeaturedProfileAchievementItem, type FeaturedProfileItem, type FeaturedProfileItemKind, type FeaturedProfileRankItem, type FeaturedProfileRecordItem, type FeaturedProfileRoutineItem, type FeaturedProfileSelection, type FeaturedProfileSelectionInput, type FeaturedProfileSelectionsResponse, type FinishStatus, type FinishWorkoutRequest, type FinishWorkoutResponse, type FollowSuggestion, type FollowSuggestionReason, type FollowSuggestionsResponse, GOAL_SUGGESTIONS_MAX, GOAL_SUGGESTION_DISMISSALS_MAX, GOAL_SUGGESTION_LIFT_MIN_SESSIONS, GOAL_SUGGESTION_LIFT_WINDOW_DAYS, GOAL_SUGGESTION_MIN_ACTIVE_WEEKS, GOAL_SUGGESTION_STRENGTH_STEP, GOAL_SUGGESTION_TYPES, GOAL_SUGGESTION_VOLUME_WEEKS, type GoalSuggestion, type GoalSuggestionBasis, type GoalSuggestionType, type GoalSuggestionsResponse, INCHES_PER_FOOT, type IsoDateString, LENGTH_UNITS, LIMITED_SHORTFALL_KG, LP_BLOCK_STEPS, LP_ESTIMATE_MAX_REPS_TO_FAILURE, LP_ESTIMATE_MIN_SETS, LP_ESTIMATE_STEPS, LP_NEXT_BLOCK_KINDS, LP_PHASES, LP_PROGRESS_CAP, LP_PROGRESS_THRESHOLD, LP_RECOVERY, LP_REFERENCE_MAX_KG, LP_REST_SECONDS, LP_STEPS, LP_WORKING_SETS, type LengthUnit, type LinearBlockChange, type LinearBlockFinishedNotification, type LinearPeriodizationState, type ListSessionsParams, type LpEstimate, type LpLoggedSet, type LpNextBlockKind, type LpPhase, type LpRecommendation, type LpSample, type LpSetPrescription, type LpSetTarget, type LpStep, type LpStoredSet, MAX_SETS_PER_EXERCISE, MEASURABLE_GOALS_MAX, MEASURABLE_GOAL_DIRECTIONS, MEASURABLE_GOAL_TYPES, MESSAGES_PAGE_SIZE, MESSAGES_PER_MINUTE_MAX, MESSAGE_ATTACHMENT_KINDS, MESSAGE_BODY_MAX, MESSAGE_PERMISSIONS, MESSAGE_PUSH_DELAY_SECONDS, MESSAGE_REPORT_CONTEXT_BEFORE, MESSAGE_REQUEST_DECLINE_COOLDOWN_DAYS, MINUTES_IN_DAY, MODERATION_ACTION_KINDS, MODERATION_HISTORY_PAGE_SIZE, MODERATION_NOTE_MAX_LENGTH, MODERATION_QUEUE_PAGE_SIZE, MOVEMENT_PATTERNS, MUSCLE_GROUPS, type MarkConversationReadRequest, type MarkNotificationsReadRequest, type MarkNotificationsReadResponse, type MeasurableGoal, type MeasurableGoalDirection, type MeasurableGoalExercise, type MeasurableGoalInput, type MeasurableGoalType, type MemberActivityResponse, type MemberMessagingState, type MemberModerationState, type MemberRoutinesResponse, type MemberSearchPage, type MessageAttachment, type MessageAttachmentKind, type MessagePermission, type MessagePushPayload, type MessageRoutineAttachment, type MessageWorkoutAttachment, type MessageWorkoutSummary, type ModerationActionKind, type ModerationActionRecord, type ModerationHistoryQuery, type ModerationHistoryResponse, type ModerationQueueQuery, type ModerationQueueResponse, type ModerationReport, type ModeratorState, type MoveOccurrenceRequest, type MovementPattern, type MuscleGroup, type MuscleGroupHeatmapQuery, type MuscleGroupHeatmapResponse, type MuscleGroupHeatmapValue, type MuscleGroupHeatmapWeek, type MuscleVolumeTrendSeries, NEW_CONVERSATIONS_PER_DAY_MAX, NOTIFICATIONS_LIST_LIMIT, NOTIFICATIONS_LOOKBACK_DAYS, NOTIFICATIONS_PAGE_SIZE, NOTIFICATIONS_PAGE_SIZE_MAX, NOTIFICATIONS_RETENTION_DAYS, NOTIFICATION_CATEGORIES, NOTIFICATION_KINDS, type NewFollowerNotification, type NotificationCategory, type NotificationKind, type NotificationPreferences, type NotificationPreferencesResponse, type NotificationsQuery, type NotificationsResponse, ONBOARDING_STEPS_MAX, ONBOARDING_STEP_ID_PATTERN_SOURCE, ONBOARDING_VERSION_MAX, OTHER_WARM_UP_STEPS, type OnboardingState, type OwnActivityEntry, type OwnActivityResponse, PLATEAU_MIN_DAYS_SINCE_BEST, PLATEAU_MIN_SESSIONS, PLATEAU_MIN_SESSIONS_MAX, PLATEAU_MIN_SESSIONS_MIN, PLATEAU_RECENT_DAYS, PLATEAU_WINDOW_DAYS, PLATE_SETS, PREFERRED_TRAINING_STYLE_VALUES, PROFILE_BIO_MAX_LENGTH, PROFILE_FAVORITE_EXERCISES_MAX, PROFILE_LOCATION_MAX_LENGTH, PROFILE_TRAINING_DISCIPLINES_MAX, PROFILE_TRAINING_GOALS_MAX, PROFILE_VISIBILITY_VALUES, PROGRESSION_SCHEMES, PROGRESS_TIMELINE_EVENT_TYPES, PUSH_PAYLOAD_KINDS, PUSH_SUBSCRIPTIONS_MAX, type PaginatedResponse, type PersonalGoalProgress, type PersonalGoalsResponse, type PersonalRecordActivity, type PersonalRecordEntry, type PersonalRecordKind, type PlannedReminder, type PlateLoadingItem, type PlateLoadingResult, type PlatePairInventory, type PlateSetChoice, type PlateauPreferences, type PlateauSet, type PlateausResponse, type PreferredTrainingStyle, type PreviousPerformanceResponse, type PreviousSessionRecap, type PreviousSetPerformance, type ProfileDiscoverySettings, type ProfileFavoriteExercise, type ProfilePrivacySettings, type ProfileViewerAccess, type ProfileVisibility, type ProgressTimelineEventType, type ProgressTimelineItem, type ProgressTimelinePersonalRecordItem, type ProgressTimelineProgressionItem, type ProgressTimelineQuery, type ProgressTimelineRecordPerformance, type ProgressTimelineRecordReason, type ProgressTimelineResponse, type ProgressTimelineSessionContext, type ProgressionActivity, type ProgressionChange, type ProgressionRule, type ProgressionScheme, type ProgressionSetChange, type PublicBodyMetrics, type PublicProfileAchievements, type PublicTrainingSummary, type PublicUserProfile, type PushPayload, type PushPayloadKind, type PushSubscriptionKeys, type PushSubscriptionSummary, type PushSubscriptionsResponse, type QuietHours, REALTIME_HEARTBEAT_MS, REALTIME_MAX_STREAMS_PER_MEMBER, REALTIME_MAX_STREAM_MS, REALTIME_STREAM_PATH, REALTIME_TOPICS, REALTIME_UNAVAILABLE_RETRY_SECONDS, RECENT_SEARCHES_MAX, RECENT_SEARCH_KINDS, RELATIONSHIP_LIST_DEFAULT_LIMIT, RELATIONSHIP_LIST_KINDS, RELATIONSHIP_LIST_MAX_LIMIT, RENAISSANCE_RANK_DEFINITIONS, REPORTS_PER_DAY_MAX, REPORT_DETAILS_MAX_LENGTH, REPORT_REASONS, REPORT_STATUSES, REPORT_SUBJECT_KINDS, REP_TYPES, RESERVED_USERNAMES, REST_ALERT_MAX_LEAD_SECONDS, REST_ALERT_MIN_LEAD_SECONDS, REST_ALERT_REFUSALS, ROUTINE_DAYS_MAX, ROUTINE_DAY_NAME_MAX, ROUTINE_DISCOVERY_DEFAULT_LIMIT, ROUTINE_DISCOVERY_MAX_LIMIT, ROUTINE_DISCOVERY_SCAN_LIMIT, ROUTINE_DURATION_BANDS, ROUTINE_DURATION_BAND_MAX_MINUTES, ROUTINE_SCHEDULE_MODES, ROUTINE_SHARE_MAX_ACTIVE_LINKS, ROUTINE_TRAINING_BLOCKS_MAX, ROUTINE_TRAINING_BLOCK_NAME_MAX, ROUTINE_TRAINING_BLOCK_REVISIONS_MAX, ROUTINE_TRAINING_BLOCK_SOURCE_KINDS, ROUTINE_TRAINING_BLOCK_STATES, ROUTINE_VERSIONS_MAX, ROUTINE_VERSION_KINDS, ROUTINE_VERSION_NAME_MAX, ROUTINE_VISIBILITY_VALUES, type RealtimeEvent, type RealtimeTopic, type RecentActivityEntry, type RecentExercise, type RecentRoutine, type RecentSearchItem, type RecentSearchKind, type RecentSearchesResponse, type RecordRecentSearchRequest, type RegisterPushSubscriptionRequest, type RelationshipListKind, type RelationshipListQuery, type RelationshipListResponse, type RelationshipMember, type RenaissanceRankDefinition, type RenaissanceRankProgress, type RepTargetPeriod, type RepTargetSignal, type RepType, type ReplaceFeaturedProfileItemsRequest, type ReplaceMeasurableGoalsRequest, type ReplaceTrainingLocationsRequest, type ReportReason, type ReportStatus, type ReportSubjectKind, type ReportSubjectPreview, type ReportedMessageContext, type ResolvedRoutinePlan, type RestAlertPushPayload, type RestAlertRefusal, type RestoreRoutineVersionResponse, type ReviewReportRequest, type ReviewReportResponse, type Routine, type RoutineClassification, type RoutineDay, type RoutineDayId, type RoutineDiscoveryQuery, type RoutineDiscoveryResponse, type RoutineDurationBand, type RoutineExercise, type RoutineFacets, type RoutineId, type RoutineLineage, type RoutinePlanSource, type RoutineScheduleMode, type RoutineSearchPage, type RoutineSet, type RoutineShare, type RoutineShareListResponse, type RoutineSharedActivity, type RoutineTemporaryOverride, type RoutineTemporaryOverridePlan, type RoutineTemporaryOverridesResponse, type RoutineTrainingBlock, type RoutineTrainingBlockPlan, type RoutineTrainingBlockRevision, type RoutineTrainingBlockRevisionsResponse, type RoutineTrainingBlockSource, type RoutineTrainingBlockSourceKind, type RoutineTrainingBlockState, type RoutineTrainingBlocksResponse, type RoutineVersion, type RoutineVersionDay, type RoutineVersionExercise, type RoutineVersionKind, type RoutineVersionSetup, type RoutineVersionsResponse, type RoutineVisibility, SCHEDULE_MOVE_MAX_DAYS, SCHEDULE_OVERRIDES_MAX_RANGE_DAYS, SCHEDULE_OVERRIDE_KINDS, SCHEDULE_SKIP_PAST_DAYS, SEARCH_PAGE_SIZE, SEARCH_PAGE_SIZE_MAX, SEARCH_PREVIEW_LIMIT, SEARCH_QUERY_MAX_LENGTH, SEARCH_QUERY_MIN_LENGTH, SEARCH_SERVER_CATEGORIES, SESSION_CORRECTIONS_MAX, SESSION_CORRECTION_LIMITS, SESSION_CORRECTION_WINDOW_HOURS, SESSION_EXERCISE_NOTE_MAX_LENGTH, SESSION_NOTE_MAX_LENGTH, SESSION_SHARE_DEFAULT_FIELDS, SESSION_SHARE_FIELDS, SESSION_SHARE_MAX_ACTIVE_LINKS, SET_KINDS, SET_KIND_LABELS, SEXES, SHARED_ROUTINE_SOURCES, STARRED_EXERCISES_MAX, STREAK_MAX_GAP_DAYS, SUPPORTED_LOCALES, type ScheduleOverride, type ScheduleOverrideKind, type ScheduleOverridesQuery, type ScheduleOverridesResponse, type ScheduleRestAlertRequest, type ScheduleRestAlertResponse, type SearchPage, type SearchPageQuery, type SearchPreviewQuery, type SearchPreviewResponse, type SearchServerCategory, type SendMessageRequest, type SendMessageResponse, type SendTrainingPartnerEncouragementRequest, type SendTrainingPartnerEncouragementResponse, type SessionComparisonExercise, type SessionComparisonQuery, type SessionComparisonResponse, type SessionComparisonRoutineDay, type SessionComparisonSession, type SessionComparisonSet, type SessionCompletedActivity, type SessionCorrection, type SessionCorrectionClosedReason, type SessionCorrectionWindow, type SessionCorrectionsResponse, type SessionExerciseNote, type SessionExerciseSubstitution, type SessionProgressNotification, type SessionRecapExerciseNote, type SessionRecapRecord, type SessionSetCorrection, type SessionShare, type SessionShareField, type SessionShareListResponse, type SessionTemporaryOverride, type SessionTrainingBlock, type SetAccountTimeZoneRequest, type SetActivityEntryAudienceRequest, type SetActivityEntryAudienceResponse, type SetActivityReactionRequest, type SetActivityReactionResponse, type SetKind, type SetLog, type SetLogValues, type Sex, type SharedRoutine, type SharedRoutineOwner, type SharedRoutineSearchResult, type SharedRoutineSource, type SharedRoutineSummary, type SharedSessionOwner, type SharedSessionRecap, type SharedWorkout, type SharedWorkoutExercise, type SharedWorkoutSet, type SkipOccurrenceRequest, type StarredExercise, type StarredExercisesResponse, type StartConversationRequest, type StartWorkoutRequest, type StartWorkoutResponse, type StreakAtRiskPushPayload, type StreakMilestoneActivity, type StreakMilestoneEventPayload, type SubstituteSessionExerciseRequest, type SubstituteSessionExerciseResponse, type SupabaseAuthResponse, type SupabaseAuthUser, type SupabaseMigrationResponse, TEMPORARY_OVERRIDE_KINDS, TEMPORARY_OVERRIDE_SOURCE_KINDS, TRAINING_BLOCK_COMPARISON_MAX_DAYS, TRAINING_DISCIPLINE_VALUES, TRAINING_EVENT_TYPES, TRAINING_EXPERIENCE_LEVEL_VALUES, TRAINING_GOAL_VALUES, TRAINING_PARTNERSHIP_STATUSES, TRAINING_PARTNERS_MAX, TRAINING_PARTNER_ENCOURAGEMENTS_PER_24_HOURS_MAX, TRAINING_PARTNER_ENCOURAGEMENT_KINDS, TRAINING_PARTNER_PERMISSION_KEYS, TRAINING_PARTNER_REQUESTS_PER_DAY_MAX, TRAINING_SIGNAL_DECLINES_MAX, TRAINING_SIGNAL_DECLINE_SESSIONS, TRAINING_SIGNAL_MIN_DECLINE, TRAINING_SIGNAL_MIN_RPE_SETS, TRAINING_SIGNAL_MIN_SHORT_SETS, TRAINING_SIGNAL_MIN_TARGET_SETS, TRAINING_SIGNAL_PERIOD_DAYS, TRAINING_SIGNAL_RPE_RISE, TRAINING_SIGNAL_SHORT_LIFTS_MAX, TRAINING_SIGNAL_SHORT_POINTS_RISE, TRAINING_SIGNAL_WORKOUT_DROP, type TemporaryOverrideKind, type TemporaryOverrideSource, type TemporaryOverrideSourceKind, type TrainingBlockComparisonResponse, type TrainingDiscipline, type TrainingEventType, type TrainingExperienceLevel, type TrainingGoal, type TrainingIdentity, type TrainingLocationPreference, type TrainingLocationPreferenceInput, type TrainingPartnerAchievementNotification, type TrainingPartnerAchievementPushPayload, type TrainingPartnerEncouragementKind, type TrainingPartnerEncouragementNotification, type TrainingPartnerPermissions, type TrainingPartnerScheduleDay, type TrainingPartnerScheduleResponse, type TrainingPartnerSessionNotification, type TrainingPartnerSessionPushPayload, type TrainingPartnership, type TrainingPartnershipStatus, type TrainingPartnershipsResponse, type TrainingReminderPreference, type TrainingReminderPushPayload, type TrainingSignalPeriod, type TrainingSignalsResponse, USERNAME_MAX_LENGTH, USERNAME_MIN_LENGTH, USERNAME_PATTERN_SOURCE, type UnreadConversationsResponse, type UpdateActivitySharingRequest, type UpdateCustomExerciseRequest, type UpdateDashboardLayoutRequest, type UpdateLocaleRequest, type UpdateMessagePermissionRequest, type UpdateNotificationPreferencesRequest, type UpdateOnboardingRequest, type UpdateProfileDiscoveryRequest, type UpdateProfilePrivacyRequest, type UpdateProfileRequest, type UpdateRoutineRequest, type UpdateRoutineVisibilityRequest, type UpdateSessionNotesRequest, type UpdateSessionNotesResponse, type UpdateTrainingPartnerPermissionsRequest, type UpdateWeekStartRequest, type UpsertBodyMeasurementRequest, type UpsertRoutineTrainingBlockRequest, type UpsertSetLogRequest, type UpsertSetLogResponse, type UserId, type UserProfile, type UserSearchResponse, type VolumeTrendPoint, type VolumeTrendQuery, type VolumeTrendResponse, type VolumeTrendSeries, WEEK_STARTS, WEIGHT_UNITS, WORKOUT_SESSION_STATUSES, type WarmUpEquipment, type WarmUpLoad, type WarmUpRamp, type WarmUpSet, type WarmUpStep, type WeekStartsOn, type WeightUnit, type WorkoutAnalyticsStatus, type WorkoutPeriod, type WorkoutProgressQuery, type WorkoutProgressResponse, type WorkoutSearchPage, type WorkoutSession, type WorkoutSessionId, type WorkoutSessionListResponse, type WorkoutSessionRecap, type WorkoutSessionSnapshotV1, type WorkoutSessionStatus, type WorkoutSessionSummary, type WorkoutSignal, type WorkoutStatsQuery, type WorkoutStatsResponse, accountExportFileName, advanceLinearPeriodization, apiError, apiErrorMessage, applyDeload, bodyMeasurementProblems, bodyProgressRangeStart, buildWarmUpRamp, calculatePlateLoading, canLinkToNext, cmToFeetInches, cmToInches, continueLinearPeriodization, countsAsWork, countsForProgression, customExerciseProblem, defaultWarmUpEquipment, deloadLengthDays, exerciseGroupLabel, exerciseGroupPosition, exerciseGroups, exerciseNameKey, feetInchesToCm, followWorkingLoad, goalSuggestionKey, hasOversizedGroup, inchesToCm, isApiErrorCode, isAppLocale, isBarLoaded, isBodyMeasurementDate, isDashboardSectionId, isDefaultDashboardLayout, isGoalSuggestionKey, isMessagePermission, isOnboardingStepId, isRealtimeTopic, isSetKind, isWeekStartsOn, isWithinQuietHours, latestBodyWeight, leadWorkingWeight, linearPeriodizationProblem, lpEstimate, lpLoadKg, lpPrescription, lpRecommendation, lpRirMidpoint, lpSampleRir, lpSetEstimateKg, lpStep, lpStoredSets, lpWorkingSets, matchesDeletionConfirmation, messageBodyLength, messageNote, normalizeDashboardLayout, normalizeExerciseLinks, normalizeExerciseName, normalizeMessageBody, normalizeSearchQuery, parseRealtimeEvent, primaryEquipment, requiredToFinish, resolveActiveTrainingBlock, resolveRoutinePlan, roundDownToIncrement, roundToIncrement, routineDayLabel, sameLpPosition, sessionCorrectionWindow, setKindOf, setLogValuesDiffer, startLinearPeriodization, summarizeBodyProgress, trainingBlockCovers, warmUpLoad, weekStartOf };
|
|
5121
|
+
export { ACCOUNT_EXPORT_FORMAT, ACCOUNT_EXPORT_VERSION, ACHIEVEMENT_CATEGORIES, ACHIEVEMENT_DEFINITIONS, ACTIVITY_CAPS, ACTIVITY_COMMENTS_PAGE_SIZE, ACTIVITY_COMMENTS_PER_DAY_MAX, ACTIVITY_COMMENT_MAX_LENGTH, ACTIVITY_DEFAULT_AUDIENCE, ACTIVITY_ENTRY_ID_MAX_LENGTH, ACTIVITY_FEED_FOLLOWED_MAX, ACTIVITY_PAGE_DEFAULT_LIMIT, ACTIVITY_PAGE_MAX_LIMIT, ACTIVITY_PREVIEW_AUDIENCES, ACTIVITY_REACTIONS, ACTIVITY_TYPES, ACTIVITY_TYPE_SECTIONS, API_ERROR_CODES, API_ERROR_MESSAGES, type AccountExportBodyMeasurement, type AccountExportGoal, type AccountExportMember, type AccountExportPersonalRecord, type AccountExportRoutine, type AccountExportScheduleOverride, type AccountExportTrainingEvent, type AccountExportTrainingLocation, type AccountExportV1, type AchievementActivity, type AchievementCategory, type AchievementCategoryProgress, type AchievementDefinition, type AchievementNotification, type AchievementUnlockedEventPayload, type AchievementsResponse, type ActivityAudience, type ActivityCap, type ActivityComment, type ActivityCommentNotification, type ActivityCommentSummary, type ActivityCommentsQuery, type ActivityCommentsResponse, type ActivityEntry, type ActivityEntrySharing, type ActivityFeedResponse, type ActivityLink, type ActivityPage, type ActivityPageQuery, type ActivityPreviewAudience, type ActivityPreviewQuery, type ActivityReaction, type ActivityReactionSummary, type ActivitySection, type ActivitySharingSettings, type ActivityType, type ApiErrorBody, type ApiErrorCode, type ApiErrorParams, type AppLocale, type AppNotification, BAR_CHOICES_KG, BAR_WARM_UP_STEPS, BLOCKED_MEMBERS_MAX, BODY_MEASUREMENT_FIELDS, BODY_MEASUREMENT_FIELD_KEYS, BODY_PROGRESS_RANGES, type BlockComparisonLift, type BlockComparisonLiftBest, type BlockComparisonPeriod, type BlockComparisonPeriodKind, type BlockedMember, type BlockedMembersResponse, type BodyFieldSummary, type BodyMeasurement, type BodyMeasurementField, type BodyMeasurementProblem, type BodyMeasurementValues, type BodyProgressRange, type BodyProgressResponse, type Brand, CLONE_ROUTINE_REFUSALS, CM_PER_INCH, COMEBACK_MIN_INACTIVE_DAYS, COMEBACK_RECOGNITION_LIMIT, COMEBACK_REQUIRED_ACTIVE_DAYS, COMEBACK_SESSION_LOOKBACK, COMEBACK_WINDOW_DAYS, CONVERSATIONS_PAGE_SIZE, CONVERSATION_BOXES, CUSTOM_EXERCISES_MAX, CUSTOM_EXERCISE_NAME_MAX, CUSTOM_EXERCISE_NOTE_MAX, CUSTOM_EXERCISE_PROBLEM_MESSAGES, CUSTOM_EXERCISE_REFUSALS, type CalendarDate, type CapturedMessage, type CloneRoutineRefusal, type CloneRoutineRequest, type ComebackActivity, type ComebackRecognition, type ComebackRecognitionSummary, type ContinueLinearBlockRequest, type ConversationBox, type ConversationMember, type ConversationMessage, type ConversationMessagesResponse, type ConversationRequest, type ConversationSummary, type ConversationsResponse, type CorrectSessionRequest, type CorrectSessionResponse, type CorrectSessionSetRequest, type CreateActivityCommentRequest, type CreateActivityCommentResponse, type CreateDeloadRequest, type CreateReportRequest, type CreateReportResponse, type CreateRoutineDayInput, type CreateRoutineExerciseInput, type CreateRoutineRequest, type CreateRoutineVersionRequest, type CreateSessionShareRequest, type CustomExerciseInput, type CustomExerciseProblem, type CustomExerciseRefusal, DASHBOARD_SECTION_IDS, DEFAULT_DASHBOARD_LAYOUT, DEFAULT_LOCALE, DEFAULT_MESSAGE_PERMISSION, DEFAULT_WEEK_STARTS_ON, DELOAD_DEFAULT_DAYS, DELOAD_DEFAULT_LOAD_REDUCTION, DELOAD_DEFAULT_SET_MODE, DELOAD_LOAD_REDUCTIONS, DELOAD_MAX_DAYS, DELOAD_NOT_LIGHTER, DELOAD_SET_MODES, DELOAD_SUGGESTION_COOLDOWN_DAYS, DELOAD_SUGGESTION_EARLIER_DAYS, DELOAD_SUGGESTION_MIN_MARKED_TODAY, DELOAD_SUGGESTION_ROUTINE_DAYS, DELOAD_SUGGESTION_SIGNALS, type DashboardLayout, type DashboardLayoutEntry, type DashboardSectionId, type DeclineSignal, type DecliningLift, type DecliningLiftSession, type DeleteAccountRequest, type DeleteAccountResponse, type DeleteActivityCommentResponse, type DeletePushSubscriptionRequest, type DeloadLoadReduction, type DeloadOptions, type DeloadSetMode, type DeloadSuggestion, type DeloadSuggestionEvidence, type DeloadSuggestionResponse, type DeloadSuggestionSignal, type DeloadSuggestionUnavailableReason, type DiscoverableRoutine, type DismissGoalSuggestionRequest, EXERCISE_EQUIPMENT, EXERCISE_GROUP_KIND_LABELS, EXERCISE_GROUP_MAX, EXERCISE_MECHANICS, type EarnedAchievement, type EarnedPersonalRecord, type EffortPeriod, type EffortSignal, type Exercise, type ExerciseEquipment, type ExerciseGroup, type ExerciseGroupKind, type ExerciseGroupPosition, type ExerciseId, type ExerciseMechanic, type ExercisePerformanceHistoryQuery, type ExercisePerformanceHistoryResponse, type ExercisePerformancePrescription, type ExercisePerformancePrescriptionSet, type ExercisePerformanceSession, type ExercisePerformanceSet, type ExercisePerformanceSummary, type ExercisePlateau, type ExerciseStrengthSummary, type ExerciseStrengthTrendPoint, type ExerciseStrengthTrendQuery, type ExerciseStrengthTrendResponse, FEATURED_PROFILE_ITEMS_MAX, FEATURED_PROFILE_ITEM_KINDS, FEATURED_PROFILE_REFERENCE_MAX_LENGTH, FOLLOW_SUGGESTIONS_DEFAULT_LIMIT, FOLLOW_SUGGESTIONS_MAX_LIMIT, FOLLOW_SUGGESTION_REASONS, type FeaturedProfileAchievementItem, type FeaturedProfileItem, type FeaturedProfileItemKind, type FeaturedProfileRankItem, type FeaturedProfileRecordItem, type FeaturedProfileRoutineItem, type FeaturedProfileSelection, type FeaturedProfileSelectionInput, type FeaturedProfileSelectionsResponse, type FinishStatus, type FinishWorkoutRequest, type FinishWorkoutResponse, type FollowSuggestion, type FollowSuggestionReason, type FollowSuggestionsResponse, GOAL_SUGGESTIONS_MAX, GOAL_SUGGESTION_DISMISSALS_MAX, GOAL_SUGGESTION_LIFT_MIN_SESSIONS, GOAL_SUGGESTION_LIFT_WINDOW_DAYS, GOAL_SUGGESTION_MIN_ACTIVE_WEEKS, GOAL_SUGGESTION_STRENGTH_STEP, GOAL_SUGGESTION_TYPES, GOAL_SUGGESTION_VOLUME_WEEKS, type GoalSuggestion, type GoalSuggestionBasis, type GoalSuggestionType, type GoalSuggestionsResponse, INCHES_PER_FOOT, type IsoDateString, LENGTH_UNITS, LIMITED_SHORTFALL_KG, LP_BLOCK_STEPS, LP_ESTIMATE_MAX_REPS_TO_FAILURE, LP_ESTIMATE_MIN_SETS, LP_ESTIMATE_STEPS, LP_NEXT_BLOCK_KINDS, LP_PHASES, LP_PROGRESS_CAP, LP_PROGRESS_THRESHOLD, LP_RECOVERY, LP_REFERENCE_MAX_KG, LP_REST_SECONDS, LP_STEPS, LP_WORKING_SETS, type LengthUnit, type LinearBlockChange, type LinearBlockFinishedNotification, type LinearPeriodizationState, type ListSessionsParams, type LpEstimate, type LpLoggedSet, type LpNextBlockKind, type LpPhase, type LpRecommendation, type LpSample, type LpSetPrescription, type LpSetTarget, type LpStep, type LpStoredSet, MAX_SETS_PER_EXERCISE, MEASURABLE_GOALS_MAX, MEASURABLE_GOAL_DIRECTIONS, MEASURABLE_GOAL_TYPES, MESSAGES_PAGE_SIZE, MESSAGES_PER_MINUTE_MAX, MESSAGE_ATTACHMENT_KINDS, MESSAGE_BODY_MAX, MESSAGE_PERMISSIONS, MESSAGE_PUSH_DELAY_SECONDS, MESSAGE_REPORT_CONTEXT_BEFORE, MESSAGE_REQUEST_DECLINE_COOLDOWN_DAYS, MINUTES_IN_DAY, MODERATION_ACTION_KINDS, MODERATION_HISTORY_PAGE_SIZE, MODERATION_NOTE_MAX_LENGTH, MODERATION_QUEUE_PAGE_SIZE, MOVEMENT_PATTERNS, MUSCLE_GROUPS, type MarkConversationReadRequest, type MarkNotificationsReadRequest, type MarkNotificationsReadResponse, type MeasurableGoal, type MeasurableGoalDirection, type MeasurableGoalExercise, type MeasurableGoalInput, type MeasurableGoalType, type MemberActivityResponse, type MemberMessagingState, type MemberModerationState, type MemberRoutinesResponse, type MemberSearchPage, type MessageAttachment, type MessageAttachmentKind, type MessagePermission, type MessagePushPayload, type MessageRecordAttachment, type MessageRecordSummary, type MessageRoutineAttachment, type MessageWorkoutAttachment, type MessageWorkoutSummary, type ModerationActionKind, type ModerationActionRecord, type ModerationHistoryQuery, type ModerationHistoryResponse, type ModerationQueueQuery, type ModerationQueueResponse, type ModerationReport, type ModeratorState, type MoveOccurrenceRequest, type MovementPattern, type MuscleGroup, type MuscleGroupHeatmapQuery, type MuscleGroupHeatmapResponse, type MuscleGroupHeatmapValue, type MuscleGroupHeatmapWeek, type MuscleVolumeTrendSeries, NEW_CONVERSATIONS_PER_DAY_MAX, NOTIFICATIONS_LIST_LIMIT, NOTIFICATIONS_LOOKBACK_DAYS, NOTIFICATIONS_PAGE_SIZE, NOTIFICATIONS_PAGE_SIZE_MAX, NOTIFICATIONS_RETENTION_DAYS, NOTIFICATION_CATEGORIES, NOTIFICATION_KINDS, type NewFollowerNotification, type NotificationCategory, type NotificationKind, type NotificationPreferences, type NotificationPreferencesResponse, type NotificationsQuery, type NotificationsResponse, ONBOARDING_STEPS_MAX, ONBOARDING_STEP_ID_PATTERN_SOURCE, ONBOARDING_VERSION_MAX, OTHER_WARM_UP_STEPS, type OnboardingState, type OwnActivityEntry, type OwnActivityResponse, PLATEAU_MIN_DAYS_SINCE_BEST, PLATEAU_MIN_SESSIONS, PLATEAU_MIN_SESSIONS_MAX, PLATEAU_MIN_SESSIONS_MIN, PLATEAU_RECENT_DAYS, PLATEAU_WINDOW_DAYS, PLATE_SETS, PREFERRED_TRAINING_STYLE_VALUES, PROFILE_BIO_MAX_LENGTH, PROFILE_FAVORITE_EXERCISES_MAX, PROFILE_LOCATION_MAX_LENGTH, PROFILE_TRAINING_DISCIPLINES_MAX, PROFILE_TRAINING_GOALS_MAX, PROFILE_VISIBILITY_VALUES, PROGRESSION_SCHEMES, PROGRESS_TIMELINE_EVENT_TYPES, PUSH_PAYLOAD_KINDS, PUSH_SUBSCRIPTIONS_MAX, type PaginatedResponse, type PersonalGoalProgress, type PersonalGoalsResponse, type PersonalRecordActivity, type PersonalRecordEntry, type PersonalRecordKind, type PlannedReminder, type PlateLoadingItem, type PlateLoadingResult, type PlatePairInventory, type PlateSetChoice, type PlateauPreferences, type PlateauSet, type PlateausResponse, type PreferredTrainingStyle, type PreviousPerformanceResponse, type PreviousSessionRecap, type PreviousSetPerformance, type ProfileDiscoverySettings, type ProfileFavoriteExercise, type ProfilePrivacySettings, type ProfileViewerAccess, type ProfileVisibility, type ProgressTimelineEventType, type ProgressTimelineItem, type ProgressTimelinePersonalRecordItem, type ProgressTimelineProgressionItem, type ProgressTimelineQuery, type ProgressTimelineRecordPerformance, type ProgressTimelineRecordReason, type ProgressTimelineResponse, type ProgressTimelineSessionContext, type ProgressionActivity, type ProgressionChange, type ProgressionRule, type ProgressionScheme, type ProgressionSetChange, type PublicBodyMetrics, type PublicProfileAchievements, type PublicTrainingSummary, type PublicUserProfile, type PushPayload, type PushPayloadKind, type PushSubscriptionKeys, type PushSubscriptionSummary, type PushSubscriptionsResponse, type QuietHours, REALTIME_HEARTBEAT_MS, REALTIME_MAX_STREAMS_PER_MEMBER, REALTIME_MAX_STREAM_MS, REALTIME_STREAM_PATH, REALTIME_TOPICS, REALTIME_UNAVAILABLE_RETRY_SECONDS, RECENT_SEARCHES_MAX, RECENT_SEARCH_KINDS, RELATIONSHIP_LIST_DEFAULT_LIMIT, RELATIONSHIP_LIST_KINDS, RELATIONSHIP_LIST_MAX_LIMIT, RENAISSANCE_RANK_DEFINITIONS, REPORTS_PER_DAY_MAX, REPORT_DETAILS_MAX_LENGTH, REPORT_REASONS, REPORT_STATUSES, REPORT_SUBJECT_KINDS, REP_TYPES, RESERVED_USERNAMES, REST_ALERT_MAX_LEAD_SECONDS, REST_ALERT_MIN_LEAD_SECONDS, REST_ALERT_REFUSALS, ROUTINE_DAYS_MAX, ROUTINE_DAY_NAME_MAX, ROUTINE_DISCOVERY_DEFAULT_LIMIT, ROUTINE_DISCOVERY_MAX_LIMIT, ROUTINE_DISCOVERY_SCAN_LIMIT, ROUTINE_DURATION_BANDS, ROUTINE_DURATION_BAND_MAX_MINUTES, ROUTINE_SCHEDULE_MODES, ROUTINE_SHARE_MAX_ACTIVE_LINKS, ROUTINE_TRAINING_BLOCKS_MAX, ROUTINE_TRAINING_BLOCK_NAME_MAX, ROUTINE_TRAINING_BLOCK_REVISIONS_MAX, ROUTINE_TRAINING_BLOCK_SOURCE_KINDS, ROUTINE_TRAINING_BLOCK_STATES, ROUTINE_VERSIONS_MAX, ROUTINE_VERSION_KINDS, ROUTINE_VERSION_NAME_MAX, ROUTINE_VISIBILITY_VALUES, type RealtimeEvent, type RealtimeTopic, type RecentActivityEntry, type RecentExercise, type RecentRoutine, type RecentSearchItem, type RecentSearchKind, type RecentSearchesResponse, type RecordRecentSearchRequest, type RegisterPushSubscriptionRequest, type RelationshipListKind, type RelationshipListQuery, type RelationshipListResponse, type RelationshipMember, type RenaissanceRankDefinition, type RenaissanceRankProgress, type RepTargetPeriod, type RepTargetSignal, type RepType, type ReplaceFeaturedProfileItemsRequest, type ReplaceMeasurableGoalsRequest, type ReplaceTrainingLocationsRequest, type ReportReason, type ReportStatus, type ReportSubjectKind, type ReportSubjectPreview, type ReportedMessageContext, type ResolvedRoutinePlan, type RestAlertPushPayload, type RestAlertRefusal, type RestoreRoutineVersionResponse, type ReviewReportRequest, type ReviewReportResponse, type Routine, type RoutineClassification, type RoutineDay, type RoutineDayId, type RoutineDiscoveryQuery, type RoutineDiscoveryResponse, type RoutineDurationBand, type RoutineExercise, type RoutineFacets, type RoutineId, type RoutineLineage, type RoutinePlanSource, type RoutineScheduleMode, type RoutineSearchPage, type RoutineSet, type RoutineShare, type RoutineShareListResponse, type RoutineSharedActivity, type RoutineTemporaryOverride, type RoutineTemporaryOverridePlan, type RoutineTemporaryOverridesResponse, type RoutineTrainingBlock, type RoutineTrainingBlockPlan, type RoutineTrainingBlockRevision, type RoutineTrainingBlockRevisionsResponse, type RoutineTrainingBlockSource, type RoutineTrainingBlockSourceKind, type RoutineTrainingBlockState, type RoutineTrainingBlocksResponse, type RoutineVersion, type RoutineVersionDay, type RoutineVersionExercise, type RoutineVersionKind, type RoutineVersionSetup, type RoutineVersionsResponse, type RoutineVisibility, SCHEDULE_MOVE_MAX_DAYS, SCHEDULE_OVERRIDES_MAX_RANGE_DAYS, SCHEDULE_OVERRIDE_KINDS, SCHEDULE_SKIP_PAST_DAYS, SEARCH_PAGE_SIZE, SEARCH_PAGE_SIZE_MAX, SEARCH_PREVIEW_LIMIT, SEARCH_QUERY_MAX_LENGTH, SEARCH_QUERY_MIN_LENGTH, SEARCH_SERVER_CATEGORIES, SESSION_CORRECTIONS_MAX, SESSION_CORRECTION_LIMITS, SESSION_CORRECTION_WINDOW_HOURS, SESSION_EXERCISE_NOTE_MAX_LENGTH, SESSION_NOTE_MAX_LENGTH, SESSION_SHARE_DEFAULT_FIELDS, SESSION_SHARE_FIELDS, SESSION_SHARE_MAX_ACTIVE_LINKS, SET_KINDS, SET_KIND_LABELS, SEXES, SHARED_ROUTINE_SOURCES, STARRED_EXERCISES_MAX, STREAK_MAX_GAP_DAYS, SUPPORTED_LOCALES, type ScheduleOverride, type ScheduleOverrideKind, type ScheduleOverridesQuery, type ScheduleOverridesResponse, type ScheduleRestAlertRequest, type ScheduleRestAlertResponse, type SearchPage, type SearchPageQuery, type SearchPreviewQuery, type SearchPreviewResponse, type SearchServerCategory, type SendMessageRequest, type SendMessageResponse, type SendTrainingPartnerEncouragementRequest, type SendTrainingPartnerEncouragementResponse, type SessionComparisonExercise, type SessionComparisonQuery, type SessionComparisonResponse, type SessionComparisonRoutineDay, type SessionComparisonSession, type SessionComparisonSet, type SessionCompletedActivity, type SessionCorrection, type SessionCorrectionClosedReason, type SessionCorrectionWindow, type SessionCorrectionsResponse, type SessionExerciseNote, type SessionExerciseSubstitution, type SessionProgressNotification, type SessionRecapExerciseNote, type SessionRecapRecord, type SessionSetCorrection, type SessionShare, type SessionShareField, type SessionShareListResponse, type SessionTemporaryOverride, type SessionTrainingBlock, type SetAccountTimeZoneRequest, type SetActivityEntryAudienceRequest, type SetActivityEntryAudienceResponse, type SetActivityReactionRequest, type SetActivityReactionResponse, type SetKind, type SetLog, type SetLogValues, type Sex, type SharedRoutine, type SharedRoutineOwner, type SharedRoutineSearchResult, type SharedRoutineSource, type SharedRoutineSummary, type SharedSessionOwner, type SharedSessionRecap, type SharedWorkout, type SharedWorkoutExercise, type SharedWorkoutSet, type SkipOccurrenceRequest, type StarredExercise, type StarredExercisesResponse, type StartConversationRequest, type StartWorkoutRequest, type StartWorkoutResponse, type StreakAtRiskPushPayload, type StreakMilestoneActivity, type StreakMilestoneEventPayload, type SubstituteSessionExerciseRequest, type SubstituteSessionExerciseResponse, type SupabaseAuthResponse, type SupabaseAuthUser, type SupabaseMigrationResponse, TEMPORARY_OVERRIDE_KINDS, TEMPORARY_OVERRIDE_SOURCE_KINDS, TRAINING_BLOCK_COMPARISON_MAX_DAYS, TRAINING_DISCIPLINE_VALUES, TRAINING_EVENT_TYPES, TRAINING_EXPERIENCE_LEVEL_VALUES, TRAINING_GOAL_VALUES, TRAINING_PARTNERSHIP_STATUSES, TRAINING_PARTNERS_MAX, TRAINING_PARTNER_ENCOURAGEMENTS_PER_24_HOURS_MAX, TRAINING_PARTNER_ENCOURAGEMENT_KINDS, TRAINING_PARTNER_PERMISSION_KEYS, TRAINING_PARTNER_REQUESTS_PER_DAY_MAX, TRAINING_SIGNAL_DECLINES_MAX, TRAINING_SIGNAL_DECLINE_SESSIONS, TRAINING_SIGNAL_MIN_DECLINE, TRAINING_SIGNAL_MIN_RPE_SETS, TRAINING_SIGNAL_MIN_SHORT_SETS, TRAINING_SIGNAL_MIN_TARGET_SETS, TRAINING_SIGNAL_PERIOD_DAYS, TRAINING_SIGNAL_RPE_RISE, TRAINING_SIGNAL_SHORT_LIFTS_MAX, TRAINING_SIGNAL_SHORT_POINTS_RISE, TRAINING_SIGNAL_WORKOUT_DROP, type TemporaryOverrideKind, type TemporaryOverrideSource, type TemporaryOverrideSourceKind, type TrainingBlockComparisonResponse, type TrainingDiscipline, type TrainingEventType, type TrainingExperienceLevel, type TrainingGoal, type TrainingIdentity, type TrainingLocationPreference, type TrainingLocationPreferenceInput, type TrainingPartnerAchievementNotification, type TrainingPartnerAchievementPushPayload, type TrainingPartnerEncouragementKind, type TrainingPartnerEncouragementNotification, type TrainingPartnerPermissions, type TrainingPartnerScheduleDay, type TrainingPartnerScheduleResponse, type TrainingPartnerSessionNotification, type TrainingPartnerSessionPushPayload, type TrainingPartnership, type TrainingPartnershipStatus, type TrainingPartnershipsResponse, type TrainingReminderPreference, type TrainingReminderPushPayload, type TrainingSignalPeriod, type TrainingSignalsResponse, USERNAME_MAX_LENGTH, USERNAME_MIN_LENGTH, USERNAME_PATTERN_SOURCE, type UnreadConversationsResponse, type UpdateActivitySharingRequest, type UpdateCustomExerciseRequest, type UpdateDashboardLayoutRequest, type UpdateLocaleRequest, type UpdateMessagePermissionRequest, type UpdateNotificationPreferencesRequest, type UpdateOnboardingRequest, type UpdateProfileDiscoveryRequest, type UpdateProfilePrivacyRequest, type UpdateProfileRequest, type UpdateRoutineRequest, type UpdateRoutineVisibilityRequest, type UpdateSessionNotesRequest, type UpdateSessionNotesResponse, type UpdateTrainingPartnerPermissionsRequest, type UpdateWeekStartRequest, type UpsertBodyMeasurementRequest, type UpsertRoutineTrainingBlockRequest, type UpsertSetLogRequest, type UpsertSetLogResponse, type UserId, type UserProfile, type UserSearchResponse, type VolumeTrendPoint, type VolumeTrendQuery, type VolumeTrendResponse, type VolumeTrendSeries, WEEK_STARTS, WEIGHT_UNITS, WORKOUT_SESSION_STATUSES, type WarmUpEquipment, type WarmUpLoad, type WarmUpRamp, type WarmUpSet, type WarmUpStep, type WeekStartsOn, type WeightUnit, type WorkoutAnalyticsStatus, type WorkoutPeriod, type WorkoutProgressQuery, type WorkoutProgressResponse, type WorkoutSearchPage, type WorkoutSession, type WorkoutSessionId, type WorkoutSessionListResponse, type WorkoutSessionRecap, type WorkoutSessionSnapshotV1, type WorkoutSessionStatus, type WorkoutSessionSummary, type WorkoutSignal, type WorkoutStatsQuery, type WorkoutStatsResponse, accountExportFileName, advanceLinearPeriodization, apiError, apiErrorMessage, applyDeload, bodyMeasurementProblems, bodyProgressRangeStart, buildWarmUpRamp, calculatePlateLoading, canLinkToNext, cmToFeetInches, cmToInches, continueLinearPeriodization, countsAsWork, countsForProgression, customExerciseProblem, defaultWarmUpEquipment, deloadLengthDays, exerciseGroupLabel, exerciseGroupPosition, exerciseGroups, exerciseNameKey, feetInchesToCm, followWorkingLoad, goalSuggestionKey, hasOversizedGroup, inchesToCm, isApiErrorCode, isAppLocale, isBarLoaded, isBodyMeasurementDate, isDashboardSectionId, isDefaultDashboardLayout, isGoalSuggestionKey, isMessagePermission, isOnboardingStepId, isRealtimeTopic, isSetKind, isWeekStartsOn, isWithinQuietHours, latestBodyWeight, leadWorkingWeight, linearPeriodizationProblem, lpEstimate, lpLoadKg, lpPrescription, lpRecommendation, lpRirMidpoint, lpSampleRir, lpSetEstimateKg, lpStep, lpStoredSets, lpWorkingSets, matchesDeletionConfirmation, messageBodyLength, messageNote, normalizeDashboardLayout, normalizeExerciseLinks, normalizeExerciseName, normalizeMessageBody, normalizeSearchQuery, parseRealtimeEvent, primaryEquipment, requiredToFinish, resolveActiveTrainingBlock, resolveRoutinePlan, roundDownToIncrement, roundToIncrement, routineDayLabel, sameLpPosition, sessionCorrectionWindow, setKindOf, setLogValuesDiffer, startLinearPeriodization, summarizeBodyProgress, trainingBlockCovers, warmUpLoad, weekStartOf };
|