@sunsteel/contracts 0.105.0 → 0.107.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 +70 -4
- package/dist/index.d.cts +121 -4
- package/dist/index.d.ts +121 -4
- package/dist/index.js +55 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -203,6 +203,19 @@ __export(index_exports, {
|
|
|
203
203
|
ROUTINE_DISCOVERY_DEFAULT_LIMIT: () => ROUTINE_DISCOVERY_DEFAULT_LIMIT,
|
|
204
204
|
ROUTINE_DISCOVERY_MAX_LIMIT: () => ROUTINE_DISCOVERY_MAX_LIMIT,
|
|
205
205
|
ROUTINE_DISCOVERY_SCAN_LIMIT: () => ROUTINE_DISCOVERY_SCAN_LIMIT,
|
|
206
|
+
ROUTINE_DRAFT_DESCRIPTION_MAX: () => ROUTINE_DRAFT_DESCRIPTION_MAX,
|
|
207
|
+
ROUTINE_DRAFT_EXERCISES_PER_DAY_MAX: () => ROUTINE_DRAFT_EXERCISES_PER_DAY_MAX,
|
|
208
|
+
ROUTINE_DRAFT_NAME_MAX: () => ROUTINE_DRAFT_NAME_MAX,
|
|
209
|
+
ROUTINE_DRAFT_REPS_MAX: () => ROUTINE_DRAFT_REPS_MAX,
|
|
210
|
+
ROUTINE_DRAFT_REPS_MIN: () => ROUTINE_DRAFT_REPS_MIN,
|
|
211
|
+
ROUTINE_DRAFT_REQUEST_MAX: () => ROUTINE_DRAFT_REQUEST_MAX,
|
|
212
|
+
ROUTINE_DRAFT_REQUEST_MIN: () => ROUTINE_DRAFT_REQUEST_MIN,
|
|
213
|
+
ROUTINE_DRAFT_REST_SECONDS_MAX: () => ROUTINE_DRAFT_REST_SECONDS_MAX,
|
|
214
|
+
ROUTINE_DRAFT_REST_SECONDS_MIN: () => ROUTINE_DRAFT_REST_SECONDS_MIN,
|
|
215
|
+
ROUTINE_DRAFT_SETS_PER_DAY_MAX: () => ROUTINE_DRAFT_SETS_PER_DAY_MAX,
|
|
216
|
+
ROUTINE_DRAFT_SETS_PER_EXERCISE_MAX: () => ROUTINE_DRAFT_SETS_PER_EXERCISE_MAX,
|
|
217
|
+
ROUTINE_DRAFT_STATES: () => ROUTINE_DRAFT_STATES,
|
|
218
|
+
ROUTINE_DRAFT_WEEKLY_MUSCLE_SETS_MAX: () => ROUTINE_DRAFT_WEEKLY_MUSCLE_SETS_MAX,
|
|
206
219
|
ROUTINE_DURATION_BANDS: () => ROUTINE_DURATION_BANDS,
|
|
207
220
|
ROUTINE_DURATION_BAND_MAX_MINUTES: () => ROUTINE_DURATION_BAND_MAX_MINUTES,
|
|
208
221
|
ROUTINE_SCHEDULE_MODES: () => ROUTINE_SCHEDULE_MODES,
|
|
@@ -240,7 +253,9 @@ __export(index_exports, {
|
|
|
240
253
|
SHARED_ROUTINE_SOURCES: () => SHARED_ROUTINE_SOURCES,
|
|
241
254
|
STARRED_EXERCISES_MAX: () => STARRED_EXERCISES_MAX,
|
|
242
255
|
STREAK_MAX_GAP_DAYS: () => STREAK_MAX_GAP_DAYS,
|
|
256
|
+
SUBSCRIPTION_GRACE_DAYS: () => SUBSCRIPTION_GRACE_DAYS,
|
|
243
257
|
SUBSCRIPTION_STATUSES: () => SUBSCRIPTION_STATUSES,
|
|
258
|
+
SUBSCRIPTION_TRIAL_DAYS: () => SUBSCRIPTION_TRIAL_DAYS,
|
|
244
259
|
SUPPORTED_LOCALES: () => SUPPORTED_LOCALES,
|
|
245
260
|
TEMPORARY_OVERRIDE_KINDS: () => TEMPORARY_OVERRIDE_KINDS,
|
|
246
261
|
TEMPORARY_OVERRIDE_SOURCE_KINDS: () => TEMPORARY_OVERRIDE_SOURCE_KINDS,
|
|
@@ -554,7 +569,9 @@ var PLAN_LIMIT_KEYS = [
|
|
|
554
569
|
/** PREF-01: training locations. */
|
|
555
570
|
"TRAINING_LOCATIONS",
|
|
556
571
|
/** PROG-03, PROG-04: weeks of muscle history. */
|
|
557
|
-
"MUSCLE_HISTORY_WEEKS"
|
|
572
|
+
"MUSCLE_HISTORY_WEEKS",
|
|
573
|
+
/** INTEL-03: routine drafts delivered per calendar month (UTC). */
|
|
574
|
+
"ROUTINE_DRAFTS_PER_MONTH"
|
|
558
575
|
];
|
|
559
576
|
var PLANS = {
|
|
560
577
|
FREE: {
|
|
@@ -564,7 +581,8 @@ var PLANS = {
|
|
|
564
581
|
ROUTINE_VERSIONS: 3,
|
|
565
582
|
GOALS: 3,
|
|
566
583
|
TRAINING_LOCATIONS: 1,
|
|
567
|
-
MUSCLE_HISTORY_WEEKS: 4
|
|
584
|
+
MUSCLE_HISTORY_WEEKS: 4,
|
|
585
|
+
ROUTINE_DRAFTS_PER_MONTH: 0
|
|
568
586
|
}
|
|
569
587
|
},
|
|
570
588
|
PRO: {
|
|
@@ -574,7 +592,8 @@ var PLANS = {
|
|
|
574
592
|
ROUTINE_VERSIONS: 20,
|
|
575
593
|
GOALS: 8,
|
|
576
594
|
TRAINING_LOCATIONS: null,
|
|
577
|
-
MUSCLE_HISTORY_WEEKS: 12
|
|
595
|
+
MUSCLE_HISTORY_WEEKS: 12,
|
|
596
|
+
ROUTINE_DRAFTS_PER_MONTH: 10
|
|
578
597
|
}
|
|
579
598
|
}
|
|
580
599
|
};
|
|
@@ -610,6 +629,8 @@ var CHECKOUT_ATTEMPT_STATUSES = [
|
|
|
610
629
|
"EXPIRED"
|
|
611
630
|
];
|
|
612
631
|
var CHECKOUT_ATTEMPT_TTL_MINUTES = 60;
|
|
632
|
+
var SUBSCRIPTION_TRIAL_DAYS = 7;
|
|
633
|
+
var SUBSCRIPTION_GRACE_DAYS = 7;
|
|
613
634
|
var SUBSCRIPTION_STATUSES = ["TRIALING", "ACTIVE", "PAST_DUE", "CANCELED"];
|
|
614
635
|
var FREE_STRENGTH_RANGE_DAYS = 90;
|
|
615
636
|
var STRENGTH_RANGE_SLACK_DAYS = 2;
|
|
@@ -1840,6 +1861,26 @@ var DELOAD_SUGGESTION_SIGNALS = [
|
|
|
1840
1861
|
"DECLINES"
|
|
1841
1862
|
];
|
|
1842
1863
|
|
|
1864
|
+
// src/routine-drafts.ts
|
|
1865
|
+
var ROUTINE_DRAFT_REQUEST_MIN = 10;
|
|
1866
|
+
var ROUTINE_DRAFT_REQUEST_MAX = 1e3;
|
|
1867
|
+
var ROUTINE_DRAFT_NAME_MAX = 60;
|
|
1868
|
+
var ROUTINE_DRAFT_DESCRIPTION_MAX = 280;
|
|
1869
|
+
var ROUTINE_DRAFT_EXERCISES_PER_DAY_MAX = 10;
|
|
1870
|
+
var ROUTINE_DRAFT_SETS_PER_EXERCISE_MAX = 6;
|
|
1871
|
+
var ROUTINE_DRAFT_SETS_PER_DAY_MAX = 30;
|
|
1872
|
+
var ROUTINE_DRAFT_WEEKLY_MUSCLE_SETS_MAX = 30;
|
|
1873
|
+
var ROUTINE_DRAFT_REPS_MIN = 1;
|
|
1874
|
+
var ROUTINE_DRAFT_REPS_MAX = 30;
|
|
1875
|
+
var ROUTINE_DRAFT_REST_SECONDS_MIN = 30;
|
|
1876
|
+
var ROUTINE_DRAFT_REST_SECONDS_MAX = 300;
|
|
1877
|
+
var ROUTINE_DRAFT_STATES = [
|
|
1878
|
+
"READY",
|
|
1879
|
+
"QUOTA_REACHED",
|
|
1880
|
+
"PAUSED",
|
|
1881
|
+
"UNAVAILABLE"
|
|
1882
|
+
];
|
|
1883
|
+
|
|
1843
1884
|
// src/routine-sharing.ts
|
|
1844
1885
|
var ROUTINE_VISIBILITY_VALUES = [
|
|
1845
1886
|
"PRIVATE",
|
|
@@ -2032,7 +2073,9 @@ var NOTIFICATION_KINDS = [
|
|
|
2032
2073
|
"TRAINING_PARTNER_SESSION",
|
|
2033
2074
|
"TRAINING_PARTNER_ACHIEVEMENT",
|
|
2034
2075
|
// ROUT-18: an LP exercise finished its 8-step block.
|
|
2035
|
-
"LINEAR_BLOCK_FINISHED"
|
|
2076
|
+
"LINEAR_BLOCK_FINISHED",
|
|
2077
|
+
// BILL-04: a renewal failed and Pro is in its grace period.
|
|
2078
|
+
"SUBSCRIPTION_PAYMENT_FAILED"
|
|
2036
2079
|
];
|
|
2037
2080
|
var NOTIFICATIONS_LOOKBACK_DAYS = 30;
|
|
2038
2081
|
var NOTIFICATIONS_RETENTION_DAYS = 90;
|
|
@@ -2310,6 +2353,14 @@ var API_ERROR_MESSAGES = {
|
|
|
2310
2353
|
CHECKOUT_UNAVAILABLE: "Checkout isn't available right now",
|
|
2311
2354
|
CHECKOUT_PROVIDER_ERROR: "Mercado Pago couldn't be reached. Nothing was charged; try again.",
|
|
2312
2355
|
PLAN_ALREADY_PRO: "You already have Pro",
|
|
2356
|
+
// ── Subscription (BILL-04) ─────────────────────────────────────────────
|
|
2357
|
+
SUBSCRIPTION_NOT_ACTIVE: "There is no subscription to cancel",
|
|
2358
|
+
// ── Routine drafts (INTEL-03) ──────────────────────────────────────────
|
|
2359
|
+
ROUTINE_DRAFT_QUOTA_REACHED: "You have used your {max} drafts this month",
|
|
2360
|
+
ROUTINE_DRAFTS_PAUSED: "Drafting is paused until next month",
|
|
2361
|
+
ROUTINE_DRAFTS_UNAVAILABLE: "Drafting isn't available right now",
|
|
2362
|
+
ROUTINE_DRAFT_NOT_TRAINING: "That doesn't read like a training request. Nothing was counted.",
|
|
2363
|
+
ROUTINE_DRAFT_FAILED: "We couldn't write a draft from that. Nothing was counted; try again.",
|
|
2313
2364
|
// ── Account and settings ───────────────────────────────────────────────
|
|
2314
2365
|
ACCOUNT_CONFLICT: "Account conflict for this email",
|
|
2315
2366
|
ACCOUNT_DELETE_CONFIRMATION: "Type your username exactly as it appears to confirm.",
|
|
@@ -2616,6 +2667,19 @@ function isMessagePermission(value) {
|
|
|
2616
2667
|
ROUTINE_DISCOVERY_DEFAULT_LIMIT,
|
|
2617
2668
|
ROUTINE_DISCOVERY_MAX_LIMIT,
|
|
2618
2669
|
ROUTINE_DISCOVERY_SCAN_LIMIT,
|
|
2670
|
+
ROUTINE_DRAFT_DESCRIPTION_MAX,
|
|
2671
|
+
ROUTINE_DRAFT_EXERCISES_PER_DAY_MAX,
|
|
2672
|
+
ROUTINE_DRAFT_NAME_MAX,
|
|
2673
|
+
ROUTINE_DRAFT_REPS_MAX,
|
|
2674
|
+
ROUTINE_DRAFT_REPS_MIN,
|
|
2675
|
+
ROUTINE_DRAFT_REQUEST_MAX,
|
|
2676
|
+
ROUTINE_DRAFT_REQUEST_MIN,
|
|
2677
|
+
ROUTINE_DRAFT_REST_SECONDS_MAX,
|
|
2678
|
+
ROUTINE_DRAFT_REST_SECONDS_MIN,
|
|
2679
|
+
ROUTINE_DRAFT_SETS_PER_DAY_MAX,
|
|
2680
|
+
ROUTINE_DRAFT_SETS_PER_EXERCISE_MAX,
|
|
2681
|
+
ROUTINE_DRAFT_STATES,
|
|
2682
|
+
ROUTINE_DRAFT_WEEKLY_MUSCLE_SETS_MAX,
|
|
2619
2683
|
ROUTINE_DURATION_BANDS,
|
|
2620
2684
|
ROUTINE_DURATION_BAND_MAX_MINUTES,
|
|
2621
2685
|
ROUTINE_SCHEDULE_MODES,
|
|
@@ -2653,7 +2717,9 @@ function isMessagePermission(value) {
|
|
|
2653
2717
|
SHARED_ROUTINE_SOURCES,
|
|
2654
2718
|
STARRED_EXERCISES_MAX,
|
|
2655
2719
|
STREAK_MAX_GAP_DAYS,
|
|
2720
|
+
SUBSCRIPTION_GRACE_DAYS,
|
|
2656
2721
|
SUBSCRIPTION_STATUSES,
|
|
2722
|
+
SUBSCRIPTION_TRIAL_DAYS,
|
|
2657
2723
|
SUPPORTED_LOCALES,
|
|
2658
2724
|
TEMPORARY_OVERRIDE_KINDS,
|
|
2659
2725
|
TEMPORARY_OVERRIDE_SOURCE_KINDS,
|
package/dist/index.d.cts
CHANGED
|
@@ -2379,7 +2379,7 @@ declare const FEATURE_KEYS: readonly ["STRENGTH_TRENDS_LONG_RANGES", "TRAINING_C
|
|
|
2379
2379
|
type FeatureKey = (typeof FEATURE_KEYS)[number];
|
|
2380
2380
|
declare function isFeatureKey(value: unknown): value is FeatureKey;
|
|
2381
2381
|
/** The counted capabilities of the Pro split. */
|
|
2382
|
-
declare const PLAN_LIMIT_KEYS: readonly ["ROUTINE_VERSIONS", "GOALS", "TRAINING_LOCATIONS", "MUSCLE_HISTORY_WEEKS"];
|
|
2382
|
+
declare const PLAN_LIMIT_KEYS: readonly ["ROUTINE_VERSIONS", "GOALS", "TRAINING_LOCATIONS", "MUSCLE_HISTORY_WEEKS", "ROUTINE_DRAFTS_PER_MONTH"];
|
|
2383
2383
|
type PlanLimitKey = (typeof PLAN_LIMIT_KEYS)[number];
|
|
2384
2384
|
/** A limit's number, or null where the plan adds none of its own. */
|
|
2385
2385
|
type PlanLimits = Record<PlanLimitKey, number | null>;
|
|
@@ -2473,9 +2473,22 @@ interface CheckoutAttemptSummary {
|
|
|
2473
2473
|
createdAt: string;
|
|
2474
2474
|
expiresAt: string;
|
|
2475
2475
|
}
|
|
2476
|
+
/**
|
|
2477
|
+
* BILL-04, as the owner decided at claim (2026-11-10): a member's first
|
|
2478
|
+
* subscription starts with a free trial of this many days, charged when it
|
|
2479
|
+
* ends; one trial per account, ever.
|
|
2480
|
+
*/
|
|
2481
|
+
declare const SUBSCRIPTION_TRIAL_DAYS = 7;
|
|
2482
|
+
/**
|
|
2483
|
+
* BILL-04: after a renewal fails, Pro stays this many days (`PAST_DUE`) while
|
|
2484
|
+
* the provider retries, then the account is on Free. Nothing is deleted.
|
|
2485
|
+
*/
|
|
2486
|
+
declare const SUBSCRIPTION_GRACE_DAYS = 7;
|
|
2476
2487
|
interface CheckoutOffer {
|
|
2477
2488
|
/** False until a provider is configured; never the fake provider in production. */
|
|
2478
2489
|
available: boolean;
|
|
2490
|
+
/** BILL-04: the trial a new subscription would start with, or null when this account had one. */
|
|
2491
|
+
trialDays: number | null;
|
|
2479
2492
|
/** True while payments run in the provider's sandbox: no money is charged. */
|
|
2480
2493
|
testMode: boolean;
|
|
2481
2494
|
price: PlanPrice;
|
|
@@ -2490,6 +2503,12 @@ interface SubscriptionSummary {
|
|
|
2490
2503
|
/** When the paid period ends, as the provider last reported it. */
|
|
2491
2504
|
currentPeriodEnd: string | null;
|
|
2492
2505
|
createdAt: string;
|
|
2506
|
+
/** BILL-04: the end of the free trial while `TRIALING`, else null. */
|
|
2507
|
+
trialEndsAt: string | null;
|
|
2508
|
+
/** BILL-04: when Pro ends unless a retry succeeds, while `PAST_DUE`; else null. */
|
|
2509
|
+
graceEndsAt: string | null;
|
|
2510
|
+
/** BILL-04: cancelled, so nothing renews and Pro ends at `currentPeriodEnd`. */
|
|
2511
|
+
cancelAtPeriodEnd: boolean;
|
|
2493
2512
|
}
|
|
2494
2513
|
/**
|
|
2495
2514
|
* `POST /billing/checkout/:id/confirm`: what a confirmed read of the provider
|
|
@@ -3690,6 +3709,76 @@ interface DeloadSuggestionResponse {
|
|
|
3690
3709
|
unavailable: DeloadSuggestionUnavailableReason | null;
|
|
3691
3710
|
}
|
|
3692
3711
|
|
|
3712
|
+
/**
|
|
3713
|
+
* INTEL-03: a Pro member describes what they want and receives a routine
|
|
3714
|
+
* draft for the wizard. The server asks the model, checks the answer against
|
|
3715
|
+
* the catalog and these bounds, and hands back a draft; **nothing is stored
|
|
3716
|
+
* until the member presses Create**, through the ordinary routine write.
|
|
3717
|
+
*/
|
|
3718
|
+
/** What the member may type. */
|
|
3719
|
+
declare const ROUTINE_DRAFT_REQUEST_MIN = 10;
|
|
3720
|
+
declare const ROUTINE_DRAFT_REQUEST_MAX = 1000;
|
|
3721
|
+
/** The bounds a draft must keep, so a sane request cannot open an insane plan. */
|
|
3722
|
+
declare const ROUTINE_DRAFT_NAME_MAX = 60;
|
|
3723
|
+
declare const ROUTINE_DRAFT_DESCRIPTION_MAX = 280;
|
|
3724
|
+
declare const ROUTINE_DRAFT_EXERCISES_PER_DAY_MAX = 10;
|
|
3725
|
+
declare const ROUTINE_DRAFT_SETS_PER_EXERCISE_MAX = 6;
|
|
3726
|
+
declare const ROUTINE_DRAFT_SETS_PER_DAY_MAX = 30;
|
|
3727
|
+
/** Direct sets a week for one muscle, counting primary muscles only. */
|
|
3728
|
+
declare const ROUTINE_DRAFT_WEEKLY_MUSCLE_SETS_MAX = 30;
|
|
3729
|
+
declare const ROUTINE_DRAFT_REPS_MIN = 1;
|
|
3730
|
+
declare const ROUTINE_DRAFT_REPS_MAX = 30;
|
|
3731
|
+
declare const ROUTINE_DRAFT_REST_SECONDS_MIN = 30;
|
|
3732
|
+
declare const ROUTINE_DRAFT_REST_SECONDS_MAX = 300;
|
|
3733
|
+
/** `POST /routine-drafts`. */
|
|
3734
|
+
interface CreateRoutineDraftRequest {
|
|
3735
|
+
/** The member's own words. Never stored. */
|
|
3736
|
+
request: string;
|
|
3737
|
+
/** The language the draft's name and day names are written in. */
|
|
3738
|
+
locale: AppLocale;
|
|
3739
|
+
}
|
|
3740
|
+
/** One exercise of a draft: a catalog id and working sets, never a load. */
|
|
3741
|
+
interface RoutineDraftExercise {
|
|
3742
|
+
exerciseId: string;
|
|
3743
|
+
sets: number;
|
|
3744
|
+
minReps: number;
|
|
3745
|
+
maxReps: number;
|
|
3746
|
+
restSeconds: number;
|
|
3747
|
+
minWeightIncrement: number;
|
|
3748
|
+
}
|
|
3749
|
+
interface RoutineDraftDay {
|
|
3750
|
+
/** The weekday (0=Sun..6=Sat) on a weekly routine; the position on a rotation. */
|
|
3751
|
+
slot: number;
|
|
3752
|
+
name: string;
|
|
3753
|
+
exercises: RoutineDraftExercise[];
|
|
3754
|
+
}
|
|
3755
|
+
interface RoutineDraft {
|
|
3756
|
+
name: string;
|
|
3757
|
+
description: string;
|
|
3758
|
+
scheduleMode: RoutineScheduleMode;
|
|
3759
|
+
days: RoutineDraftDay[];
|
|
3760
|
+
}
|
|
3761
|
+
/**
|
|
3762
|
+
* Whether a draft can be asked for now. QUOTA_REACHED is this member's month;
|
|
3763
|
+
* PAUSED is the month's cost ceiling across all members; UNAVAILABLE means no
|
|
3764
|
+
* model is configured.
|
|
3765
|
+
*/
|
|
3766
|
+
declare const ROUTINE_DRAFT_STATES: readonly ["READY", "QUOTA_REACHED", "PAUSED", "UNAVAILABLE"];
|
|
3767
|
+
type RoutineDraftState = (typeof ROUTINE_DRAFT_STATES)[number];
|
|
3768
|
+
/** `GET /routine-drafts/usage`. Only a delivered draft counts. */
|
|
3769
|
+
interface RoutineDraftUsage {
|
|
3770
|
+
state: RoutineDraftState;
|
|
3771
|
+
used: number;
|
|
3772
|
+
/** The plan's monthly drafts. */
|
|
3773
|
+
limit: number;
|
|
3774
|
+
/** When the month ends: the first of the next month, UTC. */
|
|
3775
|
+
resetsAt: string;
|
|
3776
|
+
}
|
|
3777
|
+
interface RoutineDraftResult {
|
|
3778
|
+
draft: RoutineDraft;
|
|
3779
|
+
usage: RoutineDraftUsage;
|
|
3780
|
+
}
|
|
3781
|
+
|
|
3693
3782
|
/** Owner-declared, both optional. Undeclared is not a default, it is unknown. */
|
|
3694
3783
|
interface RoutineClassification {
|
|
3695
3784
|
goal?: TrainingGoal | null;
|
|
@@ -4540,7 +4629,7 @@ interface SendTrainingPartnerEncouragementResponse {
|
|
|
4540
4629
|
* history), a finished session that set records or changed loads, and a new
|
|
4541
4630
|
* follower.
|
|
4542
4631
|
*/
|
|
4543
|
-
declare const NOTIFICATION_KINDS: readonly ["ACHIEVEMENT", "SESSION_PROGRESS", "NEW_FOLLOWER", "ACTIVITY_COMMENT", "TRAINING_PARTNER_ENCOURAGEMENT", "TRAINING_PARTNER_SESSION", "TRAINING_PARTNER_ACHIEVEMENT", "LINEAR_BLOCK_FINISHED"];
|
|
4632
|
+
declare const NOTIFICATION_KINDS: readonly ["ACHIEVEMENT", "SESSION_PROGRESS", "NEW_FOLLOWER", "ACTIVITY_COMMENT", "TRAINING_PARTNER_ENCOURAGEMENT", "TRAINING_PARTNER_SESSION", "TRAINING_PARTNER_ACHIEVEMENT", "LINEAR_BLOCK_FINISHED", "SUBSCRIPTION_PAYMENT_FAILED"];
|
|
4544
4633
|
type NotificationKind = (typeof NOTIFICATION_KINDS)[number];
|
|
4545
4634
|
/** Sources older than this many days are never gathered. */
|
|
4546
4635
|
declare const NOTIFICATIONS_LOOKBACK_DAYS = 30;
|
|
@@ -4678,8 +4767,18 @@ interface LinearBlockFinishedNotification extends NotificationBase {
|
|
|
4678
4767
|
referenceMaxKg: number;
|
|
4679
4768
|
estimatedMaxKg: number | null;
|
|
4680
4769
|
}
|
|
4770
|
+
/**
|
|
4771
|
+
* BILL-04: a renewal charge failed. Pro stays until `graceEndsAt` while the
|
|
4772
|
+
* provider retries; the link is Settings > Account, where the member updates
|
|
4773
|
+
* the payment method on the provider's page or cancels. Never sent by email
|
|
4774
|
+
* until an email sender exists (TD-57).
|
|
4775
|
+
*/
|
|
4776
|
+
interface SubscriptionPaymentFailedNotification extends NotificationBase {
|
|
4777
|
+
kind: 'SUBSCRIPTION_PAYMENT_FAILED';
|
|
4778
|
+
graceEndsAt: string;
|
|
4779
|
+
}
|
|
4681
4780
|
/** Named to stay clear of the DOM's `Notification`. */
|
|
4682
|
-
type AppNotification = AchievementNotification | SessionProgressNotification | NewFollowerNotification | ActivityCommentNotification | TrainingPartnerEncouragementNotification | TrainingPartnerSessionNotification | TrainingPartnerAchievementNotification | LinearBlockFinishedNotification;
|
|
4781
|
+
type AppNotification = AchievementNotification | SessionProgressNotification | NewFollowerNotification | ActivityCommentNotification | TrainingPartnerEncouragementNotification | TrainingPartnerSessionNotification | TrainingPartnerAchievementNotification | LinearBlockFinishedNotification | SubscriptionPaymentFailedNotification;
|
|
4683
4782
|
/** GET /notifications?limit=&cursor= */
|
|
4684
4783
|
interface NotificationsQuery {
|
|
4685
4784
|
/** 1 to `NOTIFICATIONS_PAGE_SIZE_MAX`; `NOTIFICATIONS_PAGE_SIZE` when left out. */
|
|
@@ -5119,6 +5218,18 @@ interface AccountExportV1 {
|
|
|
5119
5218
|
createdAt: IsoDateString;
|
|
5120
5219
|
completedAt: IsoDateString | null;
|
|
5121
5220
|
}>;
|
|
5221
|
+
/**
|
|
5222
|
+
* INTEL-03: each model call made for the account, oldest first. What the
|
|
5223
|
+
* member typed is never stored, so there is none of it here.
|
|
5224
|
+
*/
|
|
5225
|
+
aiUsageRecords?: Array<{
|
|
5226
|
+
feature: string;
|
|
5227
|
+
status: string;
|
|
5228
|
+
model: string;
|
|
5229
|
+
inputTokens: number;
|
|
5230
|
+
outputTokens: number;
|
|
5231
|
+
createdAt: IsoDateString;
|
|
5232
|
+
}>;
|
|
5122
5233
|
/** PROG-12: every dated body weight and measurement entry. */
|
|
5123
5234
|
bodyMeasurements?: AccountExportBodyMeasurement[];
|
|
5124
5235
|
trainingLocations: AccountExportTrainingLocation[];
|
|
@@ -5412,6 +5523,12 @@ declare const API_ERROR_MESSAGES: {
|
|
|
5412
5523
|
readonly CHECKOUT_UNAVAILABLE: "Checkout isn't available right now";
|
|
5413
5524
|
readonly CHECKOUT_PROVIDER_ERROR: "Mercado Pago couldn't be reached. Nothing was charged; try again.";
|
|
5414
5525
|
readonly PLAN_ALREADY_PRO: "You already have Pro";
|
|
5526
|
+
readonly SUBSCRIPTION_NOT_ACTIVE: "There is no subscription to cancel";
|
|
5527
|
+
readonly ROUTINE_DRAFT_QUOTA_REACHED: "You have used your {max} drafts this month";
|
|
5528
|
+
readonly ROUTINE_DRAFTS_PAUSED: "Drafting is paused until next month";
|
|
5529
|
+
readonly ROUTINE_DRAFTS_UNAVAILABLE: "Drafting isn't available right now";
|
|
5530
|
+
readonly ROUTINE_DRAFT_NOT_TRAINING: "That doesn't read like a training request. Nothing was counted.";
|
|
5531
|
+
readonly ROUTINE_DRAFT_FAILED: "We couldn't write a draft from that. Nothing was counted; try again.";
|
|
5415
5532
|
readonly ACCOUNT_CONFLICT: "Account conflict for this email";
|
|
5416
5533
|
readonly ACCOUNT_DELETE_CONFIRMATION: "Type your username exactly as it appears to confirm.";
|
|
5417
5534
|
readonly ACCOUNT_DELETE_MODERATOR: "A moderator account cannot be deleted while it holds moderator access.";
|
|
@@ -5593,4 +5710,4 @@ declare function isRealtimeTopic(value: unknown): value is RealtimeTopic;
|
|
|
5593
5710
|
/** The event in one `data:` payload, or null for anything else. */
|
|
5594
5711
|
declare function parseRealtimeEvent(data: string): RealtimeEvent | null;
|
|
5595
5712
|
|
|
5596
|
-
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 BillingStatus, 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, CHECKOUT_ATTEMPT_STATUSES, CHECKOUT_ATTEMPT_TTL_MINUTES, 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 CheckoutAttemptStatus, type CheckoutAttemptSummary, type CheckoutConfirmation, type CheckoutOffer, 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_PLAN, 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, ENTITLEMENT_SOURCES, EXERCISE_EQUIPMENT, EXERCISE_GROUP_KIND_LABELS, EXERCISE_GROUP_MAX, EXERCISE_MECHANICS, type EarnedAchievement, type EarnedPersonalRecord, type EffortPeriod, type EffortSignal, type EntitlementGrantSummary, type EntitlementSource, 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, FEATURE_KEYS, FINISH_PAUSE_MINUTES, FOLLOW_SUGGESTIONS_DEFAULT_LIMIT, FOLLOW_SUGGESTIONS_MAX_LIMIT, FOLLOW_SUGGESTION_REASONS, FREE_STRENGTH_RANGE_DAYS, type FeatureKey, 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, type GrantWindow, INCHES_PER_FOOT, type IsoDateString, LENGTH_UNITS, LIMITED_SHORTFALL_KG, LOGGED_WORKOUTS_PER_ROUTINE_MAX, LOGGED_WORKOUT_DEFAULT_START_MINUTE, LOGGED_WORKOUT_LOOKBACK_DAYS, LOGGED_WORKOUT_MAX_DURATION_SEC, LOGGED_WORKOUT_MIN_DURATION_SEC, 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 LogPastWorkoutRequest, type LogPastWorkoutResponse, type LoggedBlockStep, type LoggedSetInput, 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_PROGRESS_ID, 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 MessageAchievementAttachment, type MessageAchievementSummary, type MessageAttachment, type MessageAttachmentKind, type MessageComebackAttachment, type MessageComebackSummary, type MessagePermission, type MessageProgressAttachment, type MessageProgressSummary, 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, PLANS, PLAN_IDS, PLAN_LIMIT_KEYS, 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, PRO_PRICE, PUSH_PAYLOAD_KINDS, PUSH_SUBSCRIPTIONS_MAX, type PaginatedResponse, type PersonalGoalProgress, type PersonalGoalsResponse, type PersonalRecordActivity, type PersonalRecordEntry, type PersonalRecordKind, type PlanDefinition, type PlanId, type PlanLimitKey, type PlanLimits, type PlanPrice, 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 RemoveLoggedWorkoutResponse, 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, SUBSCRIPTION_STATUSES, 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 SessionEndTimeCorrection, 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 SubscriptionStatus, type SubscriptionSummary, 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_END_CLOCK_SLACK_SECONDS, WORKOUT_SESSION_ORIGINS, 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 WorkoutSessionOrigin, type WorkoutSessionRecap, type WorkoutSessionSnapshotV1, type WorkoutSessionStatus, type WorkoutSessionSummary, type WorkoutSignal, type WorkoutStatsQuery, type WorkoutStatsResponse, accountExportFileName, addCalendarDays, advanceLinearPeriodization, apiError, apiErrorMessage, applyDeload, bodyMeasurementProblems, bodyProgressRangeStart, buildWarmUpRamp, calculatePlateLoading, canLinkToNext, canLogWorkoutOn, cmToFeetInches, cmToInches, continueLinearPeriodization, correctedEndTime, countsAsWork, countsForProgression, customExerciseProblem, defaultWarmUpEquipment, deloadLengthDays, earliestWorkoutEnd, exerciseGroupLabel, exerciseGroupPosition, exerciseGroups, exerciseNameKey, feetInchesToCm, finishEndTime, finishNeedsEndTime, followWorkingLoad, goalSuggestionKey, hasOversizedGroup, higherPlan, inchesToCm, isApiErrorCode, isAppLocale, isBarLoaded, isBodyMeasurementDate, isDashboardSectionId, isDefaultDashboardLayout, isEntitlementSource, isFeatureKey, isGoalSuggestionKey, isGrantActive, isMessagePermission, isOnboardingStepId, isPlanId, isRealtimeTopic, isSetKind, isWeekStartsOn, isWithinQuietHours, latestBodyWeight, leadWorkingWeight, linearPeriodizationProblem, listWithinLimit, loggedWorkoutDateRange, lpAtStep, lpEstimate, lpLoadKg, lpPrescription, lpRecommendation, lpRirMidpoint, lpSampleRir, lpSetEstimateKg, lpStep, lpStoredSets, lpWorkingSets, matchesDeletionConfirmation, messageBodyLength, messageNote, messageProgressId, normalizeDashboardLayout, normalizeExerciseLinks, normalizeExerciseName, normalizeMessageBody, normalizeSearchQuery, parseRealtimeEvent, planFromGrants, planIncludes, primaryEquipment, requiredToFinish, resolveActiveTrainingBlock, resolveRoutinePlan, roundDownToIncrement, roundToIncrement, routineDayLabel, sameLpPosition, sessionCorrectionWindow, setKindOf, setLogValuesDiffer, startLinearPeriodization, strengthRangeNeedsPro, summarizeBodyProgress, trainingBlockCovers, warmUpLoad, weekStartOf };
|
|
5713
|
+
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 BillingStatus, 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, CHECKOUT_ATTEMPT_STATUSES, CHECKOUT_ATTEMPT_TTL_MINUTES, 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 CheckoutAttemptStatus, type CheckoutAttemptSummary, type CheckoutConfirmation, type CheckoutOffer, 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 CreateRoutineDraftRequest, 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_PLAN, 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, ENTITLEMENT_SOURCES, EXERCISE_EQUIPMENT, EXERCISE_GROUP_KIND_LABELS, EXERCISE_GROUP_MAX, EXERCISE_MECHANICS, type EarnedAchievement, type EarnedPersonalRecord, type EffortPeriod, type EffortSignal, type EntitlementGrantSummary, type EntitlementSource, 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, FEATURE_KEYS, FINISH_PAUSE_MINUTES, FOLLOW_SUGGESTIONS_DEFAULT_LIMIT, FOLLOW_SUGGESTIONS_MAX_LIMIT, FOLLOW_SUGGESTION_REASONS, FREE_STRENGTH_RANGE_DAYS, type FeatureKey, 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, type GrantWindow, INCHES_PER_FOOT, type IsoDateString, LENGTH_UNITS, LIMITED_SHORTFALL_KG, LOGGED_WORKOUTS_PER_ROUTINE_MAX, LOGGED_WORKOUT_DEFAULT_START_MINUTE, LOGGED_WORKOUT_LOOKBACK_DAYS, LOGGED_WORKOUT_MAX_DURATION_SEC, LOGGED_WORKOUT_MIN_DURATION_SEC, 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 LogPastWorkoutRequest, type LogPastWorkoutResponse, type LoggedBlockStep, type LoggedSetInput, 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_PROGRESS_ID, 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 MessageAchievementAttachment, type MessageAchievementSummary, type MessageAttachment, type MessageAttachmentKind, type MessageComebackAttachment, type MessageComebackSummary, type MessagePermission, type MessageProgressAttachment, type MessageProgressSummary, 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, PLANS, PLAN_IDS, PLAN_LIMIT_KEYS, 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, PRO_PRICE, PUSH_PAYLOAD_KINDS, PUSH_SUBSCRIPTIONS_MAX, type PaginatedResponse, type PersonalGoalProgress, type PersonalGoalsResponse, type PersonalRecordActivity, type PersonalRecordEntry, type PersonalRecordKind, type PlanDefinition, type PlanId, type PlanLimitKey, type PlanLimits, type PlanPrice, 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_DRAFT_DESCRIPTION_MAX, ROUTINE_DRAFT_EXERCISES_PER_DAY_MAX, ROUTINE_DRAFT_NAME_MAX, ROUTINE_DRAFT_REPS_MAX, ROUTINE_DRAFT_REPS_MIN, ROUTINE_DRAFT_REQUEST_MAX, ROUTINE_DRAFT_REQUEST_MIN, ROUTINE_DRAFT_REST_SECONDS_MAX, ROUTINE_DRAFT_REST_SECONDS_MIN, ROUTINE_DRAFT_SETS_PER_DAY_MAX, ROUTINE_DRAFT_SETS_PER_EXERCISE_MAX, ROUTINE_DRAFT_STATES, ROUTINE_DRAFT_WEEKLY_MUSCLE_SETS_MAX, 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 RemoveLoggedWorkoutResponse, 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 RoutineDraft, type RoutineDraftDay, type RoutineDraftExercise, type RoutineDraftResult, type RoutineDraftState, type RoutineDraftUsage, 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, SUBSCRIPTION_GRACE_DAYS, SUBSCRIPTION_STATUSES, SUBSCRIPTION_TRIAL_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 SessionEndTimeCorrection, 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 SubscriptionPaymentFailedNotification, type SubscriptionStatus, type SubscriptionSummary, 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_END_CLOCK_SLACK_SECONDS, WORKOUT_SESSION_ORIGINS, 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 WorkoutSessionOrigin, type WorkoutSessionRecap, type WorkoutSessionSnapshotV1, type WorkoutSessionStatus, type WorkoutSessionSummary, type WorkoutSignal, type WorkoutStatsQuery, type WorkoutStatsResponse, accountExportFileName, addCalendarDays, advanceLinearPeriodization, apiError, apiErrorMessage, applyDeload, bodyMeasurementProblems, bodyProgressRangeStart, buildWarmUpRamp, calculatePlateLoading, canLinkToNext, canLogWorkoutOn, cmToFeetInches, cmToInches, continueLinearPeriodization, correctedEndTime, countsAsWork, countsForProgression, customExerciseProblem, defaultWarmUpEquipment, deloadLengthDays, earliestWorkoutEnd, exerciseGroupLabel, exerciseGroupPosition, exerciseGroups, exerciseNameKey, feetInchesToCm, finishEndTime, finishNeedsEndTime, followWorkingLoad, goalSuggestionKey, hasOversizedGroup, higherPlan, inchesToCm, isApiErrorCode, isAppLocale, isBarLoaded, isBodyMeasurementDate, isDashboardSectionId, isDefaultDashboardLayout, isEntitlementSource, isFeatureKey, isGoalSuggestionKey, isGrantActive, isMessagePermission, isOnboardingStepId, isPlanId, isRealtimeTopic, isSetKind, isWeekStartsOn, isWithinQuietHours, latestBodyWeight, leadWorkingWeight, linearPeriodizationProblem, listWithinLimit, loggedWorkoutDateRange, lpAtStep, lpEstimate, lpLoadKg, lpPrescription, lpRecommendation, lpRirMidpoint, lpSampleRir, lpSetEstimateKg, lpStep, lpStoredSets, lpWorkingSets, matchesDeletionConfirmation, messageBodyLength, messageNote, messageProgressId, normalizeDashboardLayout, normalizeExerciseLinks, normalizeExerciseName, normalizeMessageBody, normalizeSearchQuery, parseRealtimeEvent, planFromGrants, planIncludes, primaryEquipment, requiredToFinish, resolveActiveTrainingBlock, resolveRoutinePlan, roundDownToIncrement, roundToIncrement, routineDayLabel, sameLpPosition, sessionCorrectionWindow, setKindOf, setLogValuesDiffer, startLinearPeriodization, strengthRangeNeedsPro, summarizeBodyProgress, trainingBlockCovers, warmUpLoad, weekStartOf };
|
package/dist/index.d.ts
CHANGED
|
@@ -2379,7 +2379,7 @@ declare const FEATURE_KEYS: readonly ["STRENGTH_TRENDS_LONG_RANGES", "TRAINING_C
|
|
|
2379
2379
|
type FeatureKey = (typeof FEATURE_KEYS)[number];
|
|
2380
2380
|
declare function isFeatureKey(value: unknown): value is FeatureKey;
|
|
2381
2381
|
/** The counted capabilities of the Pro split. */
|
|
2382
|
-
declare const PLAN_LIMIT_KEYS: readonly ["ROUTINE_VERSIONS", "GOALS", "TRAINING_LOCATIONS", "MUSCLE_HISTORY_WEEKS"];
|
|
2382
|
+
declare const PLAN_LIMIT_KEYS: readonly ["ROUTINE_VERSIONS", "GOALS", "TRAINING_LOCATIONS", "MUSCLE_HISTORY_WEEKS", "ROUTINE_DRAFTS_PER_MONTH"];
|
|
2383
2383
|
type PlanLimitKey = (typeof PLAN_LIMIT_KEYS)[number];
|
|
2384
2384
|
/** A limit's number, or null where the plan adds none of its own. */
|
|
2385
2385
|
type PlanLimits = Record<PlanLimitKey, number | null>;
|
|
@@ -2473,9 +2473,22 @@ interface CheckoutAttemptSummary {
|
|
|
2473
2473
|
createdAt: string;
|
|
2474
2474
|
expiresAt: string;
|
|
2475
2475
|
}
|
|
2476
|
+
/**
|
|
2477
|
+
* BILL-04, as the owner decided at claim (2026-11-10): a member's first
|
|
2478
|
+
* subscription starts with a free trial of this many days, charged when it
|
|
2479
|
+
* ends; one trial per account, ever.
|
|
2480
|
+
*/
|
|
2481
|
+
declare const SUBSCRIPTION_TRIAL_DAYS = 7;
|
|
2482
|
+
/**
|
|
2483
|
+
* BILL-04: after a renewal fails, Pro stays this many days (`PAST_DUE`) while
|
|
2484
|
+
* the provider retries, then the account is on Free. Nothing is deleted.
|
|
2485
|
+
*/
|
|
2486
|
+
declare const SUBSCRIPTION_GRACE_DAYS = 7;
|
|
2476
2487
|
interface CheckoutOffer {
|
|
2477
2488
|
/** False until a provider is configured; never the fake provider in production. */
|
|
2478
2489
|
available: boolean;
|
|
2490
|
+
/** BILL-04: the trial a new subscription would start with, or null when this account had one. */
|
|
2491
|
+
trialDays: number | null;
|
|
2479
2492
|
/** True while payments run in the provider's sandbox: no money is charged. */
|
|
2480
2493
|
testMode: boolean;
|
|
2481
2494
|
price: PlanPrice;
|
|
@@ -2490,6 +2503,12 @@ interface SubscriptionSummary {
|
|
|
2490
2503
|
/** When the paid period ends, as the provider last reported it. */
|
|
2491
2504
|
currentPeriodEnd: string | null;
|
|
2492
2505
|
createdAt: string;
|
|
2506
|
+
/** BILL-04: the end of the free trial while `TRIALING`, else null. */
|
|
2507
|
+
trialEndsAt: string | null;
|
|
2508
|
+
/** BILL-04: when Pro ends unless a retry succeeds, while `PAST_DUE`; else null. */
|
|
2509
|
+
graceEndsAt: string | null;
|
|
2510
|
+
/** BILL-04: cancelled, so nothing renews and Pro ends at `currentPeriodEnd`. */
|
|
2511
|
+
cancelAtPeriodEnd: boolean;
|
|
2493
2512
|
}
|
|
2494
2513
|
/**
|
|
2495
2514
|
* `POST /billing/checkout/:id/confirm`: what a confirmed read of the provider
|
|
@@ -3690,6 +3709,76 @@ interface DeloadSuggestionResponse {
|
|
|
3690
3709
|
unavailable: DeloadSuggestionUnavailableReason | null;
|
|
3691
3710
|
}
|
|
3692
3711
|
|
|
3712
|
+
/**
|
|
3713
|
+
* INTEL-03: a Pro member describes what they want and receives a routine
|
|
3714
|
+
* draft for the wizard. The server asks the model, checks the answer against
|
|
3715
|
+
* the catalog and these bounds, and hands back a draft; **nothing is stored
|
|
3716
|
+
* until the member presses Create**, through the ordinary routine write.
|
|
3717
|
+
*/
|
|
3718
|
+
/** What the member may type. */
|
|
3719
|
+
declare const ROUTINE_DRAFT_REQUEST_MIN = 10;
|
|
3720
|
+
declare const ROUTINE_DRAFT_REQUEST_MAX = 1000;
|
|
3721
|
+
/** The bounds a draft must keep, so a sane request cannot open an insane plan. */
|
|
3722
|
+
declare const ROUTINE_DRAFT_NAME_MAX = 60;
|
|
3723
|
+
declare const ROUTINE_DRAFT_DESCRIPTION_MAX = 280;
|
|
3724
|
+
declare const ROUTINE_DRAFT_EXERCISES_PER_DAY_MAX = 10;
|
|
3725
|
+
declare const ROUTINE_DRAFT_SETS_PER_EXERCISE_MAX = 6;
|
|
3726
|
+
declare const ROUTINE_DRAFT_SETS_PER_DAY_MAX = 30;
|
|
3727
|
+
/** Direct sets a week for one muscle, counting primary muscles only. */
|
|
3728
|
+
declare const ROUTINE_DRAFT_WEEKLY_MUSCLE_SETS_MAX = 30;
|
|
3729
|
+
declare const ROUTINE_DRAFT_REPS_MIN = 1;
|
|
3730
|
+
declare const ROUTINE_DRAFT_REPS_MAX = 30;
|
|
3731
|
+
declare const ROUTINE_DRAFT_REST_SECONDS_MIN = 30;
|
|
3732
|
+
declare const ROUTINE_DRAFT_REST_SECONDS_MAX = 300;
|
|
3733
|
+
/** `POST /routine-drafts`. */
|
|
3734
|
+
interface CreateRoutineDraftRequest {
|
|
3735
|
+
/** The member's own words. Never stored. */
|
|
3736
|
+
request: string;
|
|
3737
|
+
/** The language the draft's name and day names are written in. */
|
|
3738
|
+
locale: AppLocale;
|
|
3739
|
+
}
|
|
3740
|
+
/** One exercise of a draft: a catalog id and working sets, never a load. */
|
|
3741
|
+
interface RoutineDraftExercise {
|
|
3742
|
+
exerciseId: string;
|
|
3743
|
+
sets: number;
|
|
3744
|
+
minReps: number;
|
|
3745
|
+
maxReps: number;
|
|
3746
|
+
restSeconds: number;
|
|
3747
|
+
minWeightIncrement: number;
|
|
3748
|
+
}
|
|
3749
|
+
interface RoutineDraftDay {
|
|
3750
|
+
/** The weekday (0=Sun..6=Sat) on a weekly routine; the position on a rotation. */
|
|
3751
|
+
slot: number;
|
|
3752
|
+
name: string;
|
|
3753
|
+
exercises: RoutineDraftExercise[];
|
|
3754
|
+
}
|
|
3755
|
+
interface RoutineDraft {
|
|
3756
|
+
name: string;
|
|
3757
|
+
description: string;
|
|
3758
|
+
scheduleMode: RoutineScheduleMode;
|
|
3759
|
+
days: RoutineDraftDay[];
|
|
3760
|
+
}
|
|
3761
|
+
/**
|
|
3762
|
+
* Whether a draft can be asked for now. QUOTA_REACHED is this member's month;
|
|
3763
|
+
* PAUSED is the month's cost ceiling across all members; UNAVAILABLE means no
|
|
3764
|
+
* model is configured.
|
|
3765
|
+
*/
|
|
3766
|
+
declare const ROUTINE_DRAFT_STATES: readonly ["READY", "QUOTA_REACHED", "PAUSED", "UNAVAILABLE"];
|
|
3767
|
+
type RoutineDraftState = (typeof ROUTINE_DRAFT_STATES)[number];
|
|
3768
|
+
/** `GET /routine-drafts/usage`. Only a delivered draft counts. */
|
|
3769
|
+
interface RoutineDraftUsage {
|
|
3770
|
+
state: RoutineDraftState;
|
|
3771
|
+
used: number;
|
|
3772
|
+
/** The plan's monthly drafts. */
|
|
3773
|
+
limit: number;
|
|
3774
|
+
/** When the month ends: the first of the next month, UTC. */
|
|
3775
|
+
resetsAt: string;
|
|
3776
|
+
}
|
|
3777
|
+
interface RoutineDraftResult {
|
|
3778
|
+
draft: RoutineDraft;
|
|
3779
|
+
usage: RoutineDraftUsage;
|
|
3780
|
+
}
|
|
3781
|
+
|
|
3693
3782
|
/** Owner-declared, both optional. Undeclared is not a default, it is unknown. */
|
|
3694
3783
|
interface RoutineClassification {
|
|
3695
3784
|
goal?: TrainingGoal | null;
|
|
@@ -4540,7 +4629,7 @@ interface SendTrainingPartnerEncouragementResponse {
|
|
|
4540
4629
|
* history), a finished session that set records or changed loads, and a new
|
|
4541
4630
|
* follower.
|
|
4542
4631
|
*/
|
|
4543
|
-
declare const NOTIFICATION_KINDS: readonly ["ACHIEVEMENT", "SESSION_PROGRESS", "NEW_FOLLOWER", "ACTIVITY_COMMENT", "TRAINING_PARTNER_ENCOURAGEMENT", "TRAINING_PARTNER_SESSION", "TRAINING_PARTNER_ACHIEVEMENT", "LINEAR_BLOCK_FINISHED"];
|
|
4632
|
+
declare const NOTIFICATION_KINDS: readonly ["ACHIEVEMENT", "SESSION_PROGRESS", "NEW_FOLLOWER", "ACTIVITY_COMMENT", "TRAINING_PARTNER_ENCOURAGEMENT", "TRAINING_PARTNER_SESSION", "TRAINING_PARTNER_ACHIEVEMENT", "LINEAR_BLOCK_FINISHED", "SUBSCRIPTION_PAYMENT_FAILED"];
|
|
4544
4633
|
type NotificationKind = (typeof NOTIFICATION_KINDS)[number];
|
|
4545
4634
|
/** Sources older than this many days are never gathered. */
|
|
4546
4635
|
declare const NOTIFICATIONS_LOOKBACK_DAYS = 30;
|
|
@@ -4678,8 +4767,18 @@ interface LinearBlockFinishedNotification extends NotificationBase {
|
|
|
4678
4767
|
referenceMaxKg: number;
|
|
4679
4768
|
estimatedMaxKg: number | null;
|
|
4680
4769
|
}
|
|
4770
|
+
/**
|
|
4771
|
+
* BILL-04: a renewal charge failed. Pro stays until `graceEndsAt` while the
|
|
4772
|
+
* provider retries; the link is Settings > Account, where the member updates
|
|
4773
|
+
* the payment method on the provider's page or cancels. Never sent by email
|
|
4774
|
+
* until an email sender exists (TD-57).
|
|
4775
|
+
*/
|
|
4776
|
+
interface SubscriptionPaymentFailedNotification extends NotificationBase {
|
|
4777
|
+
kind: 'SUBSCRIPTION_PAYMENT_FAILED';
|
|
4778
|
+
graceEndsAt: string;
|
|
4779
|
+
}
|
|
4681
4780
|
/** Named to stay clear of the DOM's `Notification`. */
|
|
4682
|
-
type AppNotification = AchievementNotification | SessionProgressNotification | NewFollowerNotification | ActivityCommentNotification | TrainingPartnerEncouragementNotification | TrainingPartnerSessionNotification | TrainingPartnerAchievementNotification | LinearBlockFinishedNotification;
|
|
4781
|
+
type AppNotification = AchievementNotification | SessionProgressNotification | NewFollowerNotification | ActivityCommentNotification | TrainingPartnerEncouragementNotification | TrainingPartnerSessionNotification | TrainingPartnerAchievementNotification | LinearBlockFinishedNotification | SubscriptionPaymentFailedNotification;
|
|
4683
4782
|
/** GET /notifications?limit=&cursor= */
|
|
4684
4783
|
interface NotificationsQuery {
|
|
4685
4784
|
/** 1 to `NOTIFICATIONS_PAGE_SIZE_MAX`; `NOTIFICATIONS_PAGE_SIZE` when left out. */
|
|
@@ -5119,6 +5218,18 @@ interface AccountExportV1 {
|
|
|
5119
5218
|
createdAt: IsoDateString;
|
|
5120
5219
|
completedAt: IsoDateString | null;
|
|
5121
5220
|
}>;
|
|
5221
|
+
/**
|
|
5222
|
+
* INTEL-03: each model call made for the account, oldest first. What the
|
|
5223
|
+
* member typed is never stored, so there is none of it here.
|
|
5224
|
+
*/
|
|
5225
|
+
aiUsageRecords?: Array<{
|
|
5226
|
+
feature: string;
|
|
5227
|
+
status: string;
|
|
5228
|
+
model: string;
|
|
5229
|
+
inputTokens: number;
|
|
5230
|
+
outputTokens: number;
|
|
5231
|
+
createdAt: IsoDateString;
|
|
5232
|
+
}>;
|
|
5122
5233
|
/** PROG-12: every dated body weight and measurement entry. */
|
|
5123
5234
|
bodyMeasurements?: AccountExportBodyMeasurement[];
|
|
5124
5235
|
trainingLocations: AccountExportTrainingLocation[];
|
|
@@ -5412,6 +5523,12 @@ declare const API_ERROR_MESSAGES: {
|
|
|
5412
5523
|
readonly CHECKOUT_UNAVAILABLE: "Checkout isn't available right now";
|
|
5413
5524
|
readonly CHECKOUT_PROVIDER_ERROR: "Mercado Pago couldn't be reached. Nothing was charged; try again.";
|
|
5414
5525
|
readonly PLAN_ALREADY_PRO: "You already have Pro";
|
|
5526
|
+
readonly SUBSCRIPTION_NOT_ACTIVE: "There is no subscription to cancel";
|
|
5527
|
+
readonly ROUTINE_DRAFT_QUOTA_REACHED: "You have used your {max} drafts this month";
|
|
5528
|
+
readonly ROUTINE_DRAFTS_PAUSED: "Drafting is paused until next month";
|
|
5529
|
+
readonly ROUTINE_DRAFTS_UNAVAILABLE: "Drafting isn't available right now";
|
|
5530
|
+
readonly ROUTINE_DRAFT_NOT_TRAINING: "That doesn't read like a training request. Nothing was counted.";
|
|
5531
|
+
readonly ROUTINE_DRAFT_FAILED: "We couldn't write a draft from that. Nothing was counted; try again.";
|
|
5415
5532
|
readonly ACCOUNT_CONFLICT: "Account conflict for this email";
|
|
5416
5533
|
readonly ACCOUNT_DELETE_CONFIRMATION: "Type your username exactly as it appears to confirm.";
|
|
5417
5534
|
readonly ACCOUNT_DELETE_MODERATOR: "A moderator account cannot be deleted while it holds moderator access.";
|
|
@@ -5593,4 +5710,4 @@ declare function isRealtimeTopic(value: unknown): value is RealtimeTopic;
|
|
|
5593
5710
|
/** The event in one `data:` payload, or null for anything else. */
|
|
5594
5711
|
declare function parseRealtimeEvent(data: string): RealtimeEvent | null;
|
|
5595
5712
|
|
|
5596
|
-
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 BillingStatus, 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, CHECKOUT_ATTEMPT_STATUSES, CHECKOUT_ATTEMPT_TTL_MINUTES, 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 CheckoutAttemptStatus, type CheckoutAttemptSummary, type CheckoutConfirmation, type CheckoutOffer, 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_PLAN, 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, ENTITLEMENT_SOURCES, EXERCISE_EQUIPMENT, EXERCISE_GROUP_KIND_LABELS, EXERCISE_GROUP_MAX, EXERCISE_MECHANICS, type EarnedAchievement, type EarnedPersonalRecord, type EffortPeriod, type EffortSignal, type EntitlementGrantSummary, type EntitlementSource, 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, FEATURE_KEYS, FINISH_PAUSE_MINUTES, FOLLOW_SUGGESTIONS_DEFAULT_LIMIT, FOLLOW_SUGGESTIONS_MAX_LIMIT, FOLLOW_SUGGESTION_REASONS, FREE_STRENGTH_RANGE_DAYS, type FeatureKey, 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, type GrantWindow, INCHES_PER_FOOT, type IsoDateString, LENGTH_UNITS, LIMITED_SHORTFALL_KG, LOGGED_WORKOUTS_PER_ROUTINE_MAX, LOGGED_WORKOUT_DEFAULT_START_MINUTE, LOGGED_WORKOUT_LOOKBACK_DAYS, LOGGED_WORKOUT_MAX_DURATION_SEC, LOGGED_WORKOUT_MIN_DURATION_SEC, 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 LogPastWorkoutRequest, type LogPastWorkoutResponse, type LoggedBlockStep, type LoggedSetInput, 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_PROGRESS_ID, 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 MessageAchievementAttachment, type MessageAchievementSummary, type MessageAttachment, type MessageAttachmentKind, type MessageComebackAttachment, type MessageComebackSummary, type MessagePermission, type MessageProgressAttachment, type MessageProgressSummary, 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, PLANS, PLAN_IDS, PLAN_LIMIT_KEYS, 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, PRO_PRICE, PUSH_PAYLOAD_KINDS, PUSH_SUBSCRIPTIONS_MAX, type PaginatedResponse, type PersonalGoalProgress, type PersonalGoalsResponse, type PersonalRecordActivity, type PersonalRecordEntry, type PersonalRecordKind, type PlanDefinition, type PlanId, type PlanLimitKey, type PlanLimits, type PlanPrice, 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 RemoveLoggedWorkoutResponse, 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, SUBSCRIPTION_STATUSES, 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 SessionEndTimeCorrection, 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 SubscriptionStatus, type SubscriptionSummary, 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_END_CLOCK_SLACK_SECONDS, WORKOUT_SESSION_ORIGINS, 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 WorkoutSessionOrigin, type WorkoutSessionRecap, type WorkoutSessionSnapshotV1, type WorkoutSessionStatus, type WorkoutSessionSummary, type WorkoutSignal, type WorkoutStatsQuery, type WorkoutStatsResponse, accountExportFileName, addCalendarDays, advanceLinearPeriodization, apiError, apiErrorMessage, applyDeload, bodyMeasurementProblems, bodyProgressRangeStart, buildWarmUpRamp, calculatePlateLoading, canLinkToNext, canLogWorkoutOn, cmToFeetInches, cmToInches, continueLinearPeriodization, correctedEndTime, countsAsWork, countsForProgression, customExerciseProblem, defaultWarmUpEquipment, deloadLengthDays, earliestWorkoutEnd, exerciseGroupLabel, exerciseGroupPosition, exerciseGroups, exerciseNameKey, feetInchesToCm, finishEndTime, finishNeedsEndTime, followWorkingLoad, goalSuggestionKey, hasOversizedGroup, higherPlan, inchesToCm, isApiErrorCode, isAppLocale, isBarLoaded, isBodyMeasurementDate, isDashboardSectionId, isDefaultDashboardLayout, isEntitlementSource, isFeatureKey, isGoalSuggestionKey, isGrantActive, isMessagePermission, isOnboardingStepId, isPlanId, isRealtimeTopic, isSetKind, isWeekStartsOn, isWithinQuietHours, latestBodyWeight, leadWorkingWeight, linearPeriodizationProblem, listWithinLimit, loggedWorkoutDateRange, lpAtStep, lpEstimate, lpLoadKg, lpPrescription, lpRecommendation, lpRirMidpoint, lpSampleRir, lpSetEstimateKg, lpStep, lpStoredSets, lpWorkingSets, matchesDeletionConfirmation, messageBodyLength, messageNote, messageProgressId, normalizeDashboardLayout, normalizeExerciseLinks, normalizeExerciseName, normalizeMessageBody, normalizeSearchQuery, parseRealtimeEvent, planFromGrants, planIncludes, primaryEquipment, requiredToFinish, resolveActiveTrainingBlock, resolveRoutinePlan, roundDownToIncrement, roundToIncrement, routineDayLabel, sameLpPosition, sessionCorrectionWindow, setKindOf, setLogValuesDiffer, startLinearPeriodization, strengthRangeNeedsPro, summarizeBodyProgress, trainingBlockCovers, warmUpLoad, weekStartOf };
|
|
5713
|
+
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 BillingStatus, 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, CHECKOUT_ATTEMPT_STATUSES, CHECKOUT_ATTEMPT_TTL_MINUTES, 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 CheckoutAttemptStatus, type CheckoutAttemptSummary, type CheckoutConfirmation, type CheckoutOffer, 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 CreateRoutineDraftRequest, 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_PLAN, 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, ENTITLEMENT_SOURCES, EXERCISE_EQUIPMENT, EXERCISE_GROUP_KIND_LABELS, EXERCISE_GROUP_MAX, EXERCISE_MECHANICS, type EarnedAchievement, type EarnedPersonalRecord, type EffortPeriod, type EffortSignal, type EntitlementGrantSummary, type EntitlementSource, 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, FEATURE_KEYS, FINISH_PAUSE_MINUTES, FOLLOW_SUGGESTIONS_DEFAULT_LIMIT, FOLLOW_SUGGESTIONS_MAX_LIMIT, FOLLOW_SUGGESTION_REASONS, FREE_STRENGTH_RANGE_DAYS, type FeatureKey, 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, type GrantWindow, INCHES_PER_FOOT, type IsoDateString, LENGTH_UNITS, LIMITED_SHORTFALL_KG, LOGGED_WORKOUTS_PER_ROUTINE_MAX, LOGGED_WORKOUT_DEFAULT_START_MINUTE, LOGGED_WORKOUT_LOOKBACK_DAYS, LOGGED_WORKOUT_MAX_DURATION_SEC, LOGGED_WORKOUT_MIN_DURATION_SEC, 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 LogPastWorkoutRequest, type LogPastWorkoutResponse, type LoggedBlockStep, type LoggedSetInput, 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_PROGRESS_ID, 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 MessageAchievementAttachment, type MessageAchievementSummary, type MessageAttachment, type MessageAttachmentKind, type MessageComebackAttachment, type MessageComebackSummary, type MessagePermission, type MessageProgressAttachment, type MessageProgressSummary, 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, PLANS, PLAN_IDS, PLAN_LIMIT_KEYS, 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, PRO_PRICE, PUSH_PAYLOAD_KINDS, PUSH_SUBSCRIPTIONS_MAX, type PaginatedResponse, type PersonalGoalProgress, type PersonalGoalsResponse, type PersonalRecordActivity, type PersonalRecordEntry, type PersonalRecordKind, type PlanDefinition, type PlanId, type PlanLimitKey, type PlanLimits, type PlanPrice, 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_DRAFT_DESCRIPTION_MAX, ROUTINE_DRAFT_EXERCISES_PER_DAY_MAX, ROUTINE_DRAFT_NAME_MAX, ROUTINE_DRAFT_REPS_MAX, ROUTINE_DRAFT_REPS_MIN, ROUTINE_DRAFT_REQUEST_MAX, ROUTINE_DRAFT_REQUEST_MIN, ROUTINE_DRAFT_REST_SECONDS_MAX, ROUTINE_DRAFT_REST_SECONDS_MIN, ROUTINE_DRAFT_SETS_PER_DAY_MAX, ROUTINE_DRAFT_SETS_PER_EXERCISE_MAX, ROUTINE_DRAFT_STATES, ROUTINE_DRAFT_WEEKLY_MUSCLE_SETS_MAX, 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 RemoveLoggedWorkoutResponse, 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 RoutineDraft, type RoutineDraftDay, type RoutineDraftExercise, type RoutineDraftResult, type RoutineDraftState, type RoutineDraftUsage, 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, SUBSCRIPTION_GRACE_DAYS, SUBSCRIPTION_STATUSES, SUBSCRIPTION_TRIAL_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 SessionEndTimeCorrection, 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 SubscriptionPaymentFailedNotification, type SubscriptionStatus, type SubscriptionSummary, 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_END_CLOCK_SLACK_SECONDS, WORKOUT_SESSION_ORIGINS, 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 WorkoutSessionOrigin, type WorkoutSessionRecap, type WorkoutSessionSnapshotV1, type WorkoutSessionStatus, type WorkoutSessionSummary, type WorkoutSignal, type WorkoutStatsQuery, type WorkoutStatsResponse, accountExportFileName, addCalendarDays, advanceLinearPeriodization, apiError, apiErrorMessage, applyDeload, bodyMeasurementProblems, bodyProgressRangeStart, buildWarmUpRamp, calculatePlateLoading, canLinkToNext, canLogWorkoutOn, cmToFeetInches, cmToInches, continueLinearPeriodization, correctedEndTime, countsAsWork, countsForProgression, customExerciseProblem, defaultWarmUpEquipment, deloadLengthDays, earliestWorkoutEnd, exerciseGroupLabel, exerciseGroupPosition, exerciseGroups, exerciseNameKey, feetInchesToCm, finishEndTime, finishNeedsEndTime, followWorkingLoad, goalSuggestionKey, hasOversizedGroup, higherPlan, inchesToCm, isApiErrorCode, isAppLocale, isBarLoaded, isBodyMeasurementDate, isDashboardSectionId, isDefaultDashboardLayout, isEntitlementSource, isFeatureKey, isGoalSuggestionKey, isGrantActive, isMessagePermission, isOnboardingStepId, isPlanId, isRealtimeTopic, isSetKind, isWeekStartsOn, isWithinQuietHours, latestBodyWeight, leadWorkingWeight, linearPeriodizationProblem, listWithinLimit, loggedWorkoutDateRange, lpAtStep, lpEstimate, lpLoadKg, lpPrescription, lpRecommendation, lpRirMidpoint, lpSampleRir, lpSetEstimateKg, lpStep, lpStoredSets, lpWorkingSets, matchesDeletionConfirmation, messageBodyLength, messageNote, messageProgressId, normalizeDashboardLayout, normalizeExerciseLinks, normalizeExerciseName, normalizeMessageBody, normalizeSearchQuery, parseRealtimeEvent, planFromGrants, planIncludes, primaryEquipment, requiredToFinish, resolveActiveTrainingBlock, resolveRoutinePlan, roundDownToIncrement, roundToIncrement, routineDayLabel, sameLpPosition, sessionCorrectionWindow, setKindOf, setLogValuesDiffer, startLinearPeriodization, strengthRangeNeedsPro, summarizeBodyProgress, trainingBlockCovers, warmUpLoad, weekStartOf };
|
package/dist/index.js
CHANGED
|
@@ -179,7 +179,9 @@ var PLAN_LIMIT_KEYS = [
|
|
|
179
179
|
/** PREF-01: training locations. */
|
|
180
180
|
"TRAINING_LOCATIONS",
|
|
181
181
|
/** PROG-03, PROG-04: weeks of muscle history. */
|
|
182
|
-
"MUSCLE_HISTORY_WEEKS"
|
|
182
|
+
"MUSCLE_HISTORY_WEEKS",
|
|
183
|
+
/** INTEL-03: routine drafts delivered per calendar month (UTC). */
|
|
184
|
+
"ROUTINE_DRAFTS_PER_MONTH"
|
|
183
185
|
];
|
|
184
186
|
var PLANS = {
|
|
185
187
|
FREE: {
|
|
@@ -189,7 +191,8 @@ var PLANS = {
|
|
|
189
191
|
ROUTINE_VERSIONS: 3,
|
|
190
192
|
GOALS: 3,
|
|
191
193
|
TRAINING_LOCATIONS: 1,
|
|
192
|
-
MUSCLE_HISTORY_WEEKS: 4
|
|
194
|
+
MUSCLE_HISTORY_WEEKS: 4,
|
|
195
|
+
ROUTINE_DRAFTS_PER_MONTH: 0
|
|
193
196
|
}
|
|
194
197
|
},
|
|
195
198
|
PRO: {
|
|
@@ -199,7 +202,8 @@ var PLANS = {
|
|
|
199
202
|
ROUTINE_VERSIONS: 20,
|
|
200
203
|
GOALS: 8,
|
|
201
204
|
TRAINING_LOCATIONS: null,
|
|
202
|
-
MUSCLE_HISTORY_WEEKS: 12
|
|
205
|
+
MUSCLE_HISTORY_WEEKS: 12,
|
|
206
|
+
ROUTINE_DRAFTS_PER_MONTH: 10
|
|
203
207
|
}
|
|
204
208
|
}
|
|
205
209
|
};
|
|
@@ -235,6 +239,8 @@ var CHECKOUT_ATTEMPT_STATUSES = [
|
|
|
235
239
|
"EXPIRED"
|
|
236
240
|
];
|
|
237
241
|
var CHECKOUT_ATTEMPT_TTL_MINUTES = 60;
|
|
242
|
+
var SUBSCRIPTION_TRIAL_DAYS = 7;
|
|
243
|
+
var SUBSCRIPTION_GRACE_DAYS = 7;
|
|
238
244
|
var SUBSCRIPTION_STATUSES = ["TRIALING", "ACTIVE", "PAST_DUE", "CANCELED"];
|
|
239
245
|
var FREE_STRENGTH_RANGE_DAYS = 90;
|
|
240
246
|
var STRENGTH_RANGE_SLACK_DAYS = 2;
|
|
@@ -1465,6 +1471,26 @@ var DELOAD_SUGGESTION_SIGNALS = [
|
|
|
1465
1471
|
"DECLINES"
|
|
1466
1472
|
];
|
|
1467
1473
|
|
|
1474
|
+
// src/routine-drafts.ts
|
|
1475
|
+
var ROUTINE_DRAFT_REQUEST_MIN = 10;
|
|
1476
|
+
var ROUTINE_DRAFT_REQUEST_MAX = 1e3;
|
|
1477
|
+
var ROUTINE_DRAFT_NAME_MAX = 60;
|
|
1478
|
+
var ROUTINE_DRAFT_DESCRIPTION_MAX = 280;
|
|
1479
|
+
var ROUTINE_DRAFT_EXERCISES_PER_DAY_MAX = 10;
|
|
1480
|
+
var ROUTINE_DRAFT_SETS_PER_EXERCISE_MAX = 6;
|
|
1481
|
+
var ROUTINE_DRAFT_SETS_PER_DAY_MAX = 30;
|
|
1482
|
+
var ROUTINE_DRAFT_WEEKLY_MUSCLE_SETS_MAX = 30;
|
|
1483
|
+
var ROUTINE_DRAFT_REPS_MIN = 1;
|
|
1484
|
+
var ROUTINE_DRAFT_REPS_MAX = 30;
|
|
1485
|
+
var ROUTINE_DRAFT_REST_SECONDS_MIN = 30;
|
|
1486
|
+
var ROUTINE_DRAFT_REST_SECONDS_MAX = 300;
|
|
1487
|
+
var ROUTINE_DRAFT_STATES = [
|
|
1488
|
+
"READY",
|
|
1489
|
+
"QUOTA_REACHED",
|
|
1490
|
+
"PAUSED",
|
|
1491
|
+
"UNAVAILABLE"
|
|
1492
|
+
];
|
|
1493
|
+
|
|
1468
1494
|
// src/routine-sharing.ts
|
|
1469
1495
|
var ROUTINE_VISIBILITY_VALUES = [
|
|
1470
1496
|
"PRIVATE",
|
|
@@ -1657,7 +1683,9 @@ var NOTIFICATION_KINDS = [
|
|
|
1657
1683
|
"TRAINING_PARTNER_SESSION",
|
|
1658
1684
|
"TRAINING_PARTNER_ACHIEVEMENT",
|
|
1659
1685
|
// ROUT-18: an LP exercise finished its 8-step block.
|
|
1660
|
-
"LINEAR_BLOCK_FINISHED"
|
|
1686
|
+
"LINEAR_BLOCK_FINISHED",
|
|
1687
|
+
// BILL-04: a renewal failed and Pro is in its grace period.
|
|
1688
|
+
"SUBSCRIPTION_PAYMENT_FAILED"
|
|
1661
1689
|
];
|
|
1662
1690
|
var NOTIFICATIONS_LOOKBACK_DAYS = 30;
|
|
1663
1691
|
var NOTIFICATIONS_RETENTION_DAYS = 90;
|
|
@@ -1935,6 +1963,14 @@ var API_ERROR_MESSAGES = {
|
|
|
1935
1963
|
CHECKOUT_UNAVAILABLE: "Checkout isn't available right now",
|
|
1936
1964
|
CHECKOUT_PROVIDER_ERROR: "Mercado Pago couldn't be reached. Nothing was charged; try again.",
|
|
1937
1965
|
PLAN_ALREADY_PRO: "You already have Pro",
|
|
1966
|
+
// ── Subscription (BILL-04) ─────────────────────────────────────────────
|
|
1967
|
+
SUBSCRIPTION_NOT_ACTIVE: "There is no subscription to cancel",
|
|
1968
|
+
// ── Routine drafts (INTEL-03) ──────────────────────────────────────────
|
|
1969
|
+
ROUTINE_DRAFT_QUOTA_REACHED: "You have used your {max} drafts this month",
|
|
1970
|
+
ROUTINE_DRAFTS_PAUSED: "Drafting is paused until next month",
|
|
1971
|
+
ROUTINE_DRAFTS_UNAVAILABLE: "Drafting isn't available right now",
|
|
1972
|
+
ROUTINE_DRAFT_NOT_TRAINING: "That doesn't read like a training request. Nothing was counted.",
|
|
1973
|
+
ROUTINE_DRAFT_FAILED: "We couldn't write a draft from that. Nothing was counted; try again.",
|
|
1938
1974
|
// ── Account and settings ───────────────────────────────────────────────
|
|
1939
1975
|
ACCOUNT_CONFLICT: "Account conflict for this email",
|
|
1940
1976
|
ACCOUNT_DELETE_CONFIRMATION: "Type your username exactly as it appears to confirm.",
|
|
@@ -2240,6 +2276,19 @@ export {
|
|
|
2240
2276
|
ROUTINE_DISCOVERY_DEFAULT_LIMIT,
|
|
2241
2277
|
ROUTINE_DISCOVERY_MAX_LIMIT,
|
|
2242
2278
|
ROUTINE_DISCOVERY_SCAN_LIMIT,
|
|
2279
|
+
ROUTINE_DRAFT_DESCRIPTION_MAX,
|
|
2280
|
+
ROUTINE_DRAFT_EXERCISES_PER_DAY_MAX,
|
|
2281
|
+
ROUTINE_DRAFT_NAME_MAX,
|
|
2282
|
+
ROUTINE_DRAFT_REPS_MAX,
|
|
2283
|
+
ROUTINE_DRAFT_REPS_MIN,
|
|
2284
|
+
ROUTINE_DRAFT_REQUEST_MAX,
|
|
2285
|
+
ROUTINE_DRAFT_REQUEST_MIN,
|
|
2286
|
+
ROUTINE_DRAFT_REST_SECONDS_MAX,
|
|
2287
|
+
ROUTINE_DRAFT_REST_SECONDS_MIN,
|
|
2288
|
+
ROUTINE_DRAFT_SETS_PER_DAY_MAX,
|
|
2289
|
+
ROUTINE_DRAFT_SETS_PER_EXERCISE_MAX,
|
|
2290
|
+
ROUTINE_DRAFT_STATES,
|
|
2291
|
+
ROUTINE_DRAFT_WEEKLY_MUSCLE_SETS_MAX,
|
|
2243
2292
|
ROUTINE_DURATION_BANDS,
|
|
2244
2293
|
ROUTINE_DURATION_BAND_MAX_MINUTES,
|
|
2245
2294
|
ROUTINE_SCHEDULE_MODES,
|
|
@@ -2277,7 +2326,9 @@ export {
|
|
|
2277
2326
|
SHARED_ROUTINE_SOURCES,
|
|
2278
2327
|
STARRED_EXERCISES_MAX,
|
|
2279
2328
|
STREAK_MAX_GAP_DAYS,
|
|
2329
|
+
SUBSCRIPTION_GRACE_DAYS,
|
|
2280
2330
|
SUBSCRIPTION_STATUSES,
|
|
2331
|
+
SUBSCRIPTION_TRIAL_DAYS,
|
|
2281
2332
|
SUPPORTED_LOCALES,
|
|
2282
2333
|
TEMPORARY_OVERRIDE_KINDS,
|
|
2283
2334
|
TEMPORARY_OVERRIDE_SOURCE_KINDS,
|