hevy-shared 1.0.569 → 1.0.570
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/built/index.d.ts +4 -4
- package/built/index.zod.d.ts +94 -94
- package/built/index.zod.js +4 -4
- package/package.json +1 -1
package/built/index.d.ts
CHANGED
|
@@ -1641,8 +1641,8 @@ interface BaseFeedback {
|
|
|
1641
1641
|
type: FeedbackType;
|
|
1642
1642
|
userId: string;
|
|
1643
1643
|
message?: string;
|
|
1644
|
-
data?:
|
|
1645
|
-
debugInfo?:
|
|
1644
|
+
data?: Record<string, unknown> | null;
|
|
1645
|
+
debugInfo?: Record<string, unknown> | null;
|
|
1646
1646
|
}
|
|
1647
1647
|
export interface GeneralFeedback extends BaseFeedback {
|
|
1648
1648
|
type: 'general';
|
|
@@ -1710,8 +1710,8 @@ export type BackofficeFeedback = {
|
|
|
1710
1710
|
type: string;
|
|
1711
1711
|
username?: string;
|
|
1712
1712
|
message?: string;
|
|
1713
|
-
data?:
|
|
1714
|
-
debug_info?:
|
|
1713
|
+
data?: Record<string, unknown> | null;
|
|
1714
|
+
debug_info?: Record<string, unknown> | null;
|
|
1715
1715
|
created_at: Date;
|
|
1716
1716
|
};
|
|
1717
1717
|
export interface BackofficeFeedbacksResponse {
|
package/built/index.zod.d.ts
CHANGED
|
@@ -7435,8 +7435,8 @@ export declare const GeneralFeedback: z.ZodObject<{
|
|
|
7435
7435
|
platform: z.ZodUnion<[z.ZodLiteral<"hevy">, z.ZodLiteral<"hevy-web">, z.ZodLiteral<"hevy-coach">, z.ZodLiteral<"hevy-coach-web">]>;
|
|
7436
7436
|
userId: z.ZodString;
|
|
7437
7437
|
message: z.ZodOptional<z.ZodString>;
|
|
7438
|
-
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7439
|
-
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7438
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7439
|
+
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7440
7440
|
} & {
|
|
7441
7441
|
type: z.ZodLiteral<"general">;
|
|
7442
7442
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7444,22 +7444,22 @@ export declare const GeneralFeedback: z.ZodObject<{
|
|
|
7444
7444
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
7445
7445
|
userId: string;
|
|
7446
7446
|
message?: string | undefined;
|
|
7447
|
-
data?: Record<string,
|
|
7448
|
-
debugInfo?: Record<string,
|
|
7447
|
+
data?: Record<string, unknown> | null | undefined;
|
|
7448
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7449
7449
|
}, {
|
|
7450
7450
|
type: "general";
|
|
7451
7451
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
7452
7452
|
userId: string;
|
|
7453
7453
|
message?: string | undefined;
|
|
7454
|
-
data?: Record<string,
|
|
7455
|
-
debugInfo?: Record<string,
|
|
7454
|
+
data?: Record<string, unknown> | null | undefined;
|
|
7455
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7456
7456
|
}>;
|
|
7457
7457
|
export declare const FeatureRequestFeedback: z.ZodObject<{
|
|
7458
7458
|
platform: z.ZodUnion<[z.ZodLiteral<"hevy">, z.ZodLiteral<"hevy-web">, z.ZodLiteral<"hevy-coach">, z.ZodLiteral<"hevy-coach-web">]>;
|
|
7459
7459
|
userId: z.ZodString;
|
|
7460
7460
|
message: z.ZodOptional<z.ZodString>;
|
|
7461
|
-
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7462
|
-
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7461
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7462
|
+
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7463
7463
|
} & {
|
|
7464
7464
|
type: z.ZodLiteral<"feature-request">;
|
|
7465
7465
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7467,22 +7467,22 @@ export declare const FeatureRequestFeedback: z.ZodObject<{
|
|
|
7467
7467
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
7468
7468
|
userId: string;
|
|
7469
7469
|
message?: string | undefined;
|
|
7470
|
-
data?: Record<string,
|
|
7471
|
-
debugInfo?: Record<string,
|
|
7470
|
+
data?: Record<string, unknown> | null | undefined;
|
|
7471
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7472
7472
|
}, {
|
|
7473
7473
|
type: "feature-request";
|
|
7474
7474
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
7475
7475
|
userId: string;
|
|
7476
7476
|
message?: string | undefined;
|
|
7477
|
-
data?: Record<string,
|
|
7478
|
-
debugInfo?: Record<string,
|
|
7477
|
+
data?: Record<string, unknown> | null | undefined;
|
|
7478
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7479
7479
|
}>;
|
|
7480
7480
|
export declare const BugReportFeedback: z.ZodObject<{
|
|
7481
7481
|
platform: z.ZodUnion<[z.ZodLiteral<"hevy">, z.ZodLiteral<"hevy-web">, z.ZodLiteral<"hevy-coach">, z.ZodLiteral<"hevy-coach-web">]>;
|
|
7482
7482
|
userId: z.ZodString;
|
|
7483
7483
|
message: z.ZodOptional<z.ZodString>;
|
|
7484
|
-
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7485
|
-
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7484
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7485
|
+
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7486
7486
|
} & {
|
|
7487
7487
|
type: z.ZodLiteral<"bug-report">;
|
|
7488
7488
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7490,21 +7490,21 @@ export declare const BugReportFeedback: z.ZodObject<{
|
|
|
7490
7490
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
7491
7491
|
userId: string;
|
|
7492
7492
|
message?: string | undefined;
|
|
7493
|
-
data?: Record<string,
|
|
7494
|
-
debugInfo?: Record<string,
|
|
7493
|
+
data?: Record<string, unknown> | null | undefined;
|
|
7494
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7495
7495
|
}, {
|
|
7496
7496
|
type: "bug-report";
|
|
7497
7497
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
7498
7498
|
userId: string;
|
|
7499
7499
|
message?: string | undefined;
|
|
7500
|
-
data?: Record<string,
|
|
7501
|
-
debugInfo?: Record<string,
|
|
7500
|
+
data?: Record<string, unknown> | null | undefined;
|
|
7501
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7502
7502
|
}>;
|
|
7503
7503
|
export declare const GetHelpFeedback: z.ZodObject<{
|
|
7504
7504
|
platform: z.ZodUnion<[z.ZodLiteral<"hevy">, z.ZodLiteral<"hevy-web">, z.ZodLiteral<"hevy-coach">, z.ZodLiteral<"hevy-coach-web">]>;
|
|
7505
7505
|
userId: z.ZodString;
|
|
7506
7506
|
message: z.ZodOptional<z.ZodString>;
|
|
7507
|
-
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7507
|
+
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7508
7508
|
} & {
|
|
7509
7509
|
type: z.ZodLiteral<"get-help">;
|
|
7510
7510
|
data: z.ZodObject<{
|
|
@@ -7522,7 +7522,7 @@ export declare const GetHelpFeedback: z.ZodObject<{
|
|
|
7522
7522
|
source: string;
|
|
7523
7523
|
};
|
|
7524
7524
|
message?: string | undefined;
|
|
7525
|
-
debugInfo?: Record<string,
|
|
7525
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7526
7526
|
}, {
|
|
7527
7527
|
type: "get-help";
|
|
7528
7528
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
@@ -7531,13 +7531,13 @@ export declare const GetHelpFeedback: z.ZodObject<{
|
|
|
7531
7531
|
source: string;
|
|
7532
7532
|
};
|
|
7533
7533
|
message?: string | undefined;
|
|
7534
|
-
debugInfo?: Record<string,
|
|
7534
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7535
7535
|
}>;
|
|
7536
7536
|
export declare const ReportCommentFeedback: z.ZodObject<{
|
|
7537
7537
|
platform: z.ZodUnion<[z.ZodLiteral<"hevy">, z.ZodLiteral<"hevy-web">, z.ZodLiteral<"hevy-coach">, z.ZodLiteral<"hevy-coach-web">]>;
|
|
7538
7538
|
userId: z.ZodString;
|
|
7539
7539
|
message: z.ZodOptional<z.ZodString>;
|
|
7540
|
-
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7540
|
+
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7541
7541
|
} & {
|
|
7542
7542
|
type: z.ZodLiteral<"report-comment">;
|
|
7543
7543
|
data: z.ZodObject<{
|
|
@@ -7567,7 +7567,7 @@ export declare const ReportCommentFeedback: z.ZodObject<{
|
|
|
7567
7567
|
workoutId: string;
|
|
7568
7568
|
};
|
|
7569
7569
|
message?: string | undefined;
|
|
7570
|
-
debugInfo?: Record<string,
|
|
7570
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7571
7571
|
}, {
|
|
7572
7572
|
type: "report-comment";
|
|
7573
7573
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
@@ -7579,13 +7579,13 @@ export declare const ReportCommentFeedback: z.ZodObject<{
|
|
|
7579
7579
|
workoutId: string;
|
|
7580
7580
|
};
|
|
7581
7581
|
message?: string | undefined;
|
|
7582
|
-
debugInfo?: Record<string,
|
|
7582
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7583
7583
|
}>;
|
|
7584
7584
|
export declare const ReportWorkoutFeedback: z.ZodObject<{
|
|
7585
7585
|
platform: z.ZodUnion<[z.ZodLiteral<"hevy">, z.ZodLiteral<"hevy-web">, z.ZodLiteral<"hevy-coach">, z.ZodLiteral<"hevy-coach-web">]>;
|
|
7586
7586
|
userId: z.ZodString;
|
|
7587
7587
|
message: z.ZodOptional<z.ZodString>;
|
|
7588
|
-
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7588
|
+
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7589
7589
|
} & {
|
|
7590
7590
|
type: z.ZodLiteral<"report-workout">;
|
|
7591
7591
|
data: z.ZodObject<{
|
|
@@ -7607,7 +7607,7 @@ export declare const ReportWorkoutFeedback: z.ZodObject<{
|
|
|
7607
7607
|
workoutUsername: string;
|
|
7608
7608
|
};
|
|
7609
7609
|
message?: string | undefined;
|
|
7610
|
-
debugInfo?: Record<string,
|
|
7610
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7611
7611
|
}, {
|
|
7612
7612
|
type: "report-workout";
|
|
7613
7613
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
@@ -7617,13 +7617,13 @@ export declare const ReportWorkoutFeedback: z.ZodObject<{
|
|
|
7617
7617
|
workoutUsername: string;
|
|
7618
7618
|
};
|
|
7619
7619
|
message?: string | undefined;
|
|
7620
|
-
debugInfo?: Record<string,
|
|
7620
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7621
7621
|
}>;
|
|
7622
7622
|
export declare const ReportProfileFeedback: z.ZodObject<{
|
|
7623
7623
|
platform: z.ZodUnion<[z.ZodLiteral<"hevy">, z.ZodLiteral<"hevy-web">, z.ZodLiteral<"hevy-coach">, z.ZodLiteral<"hevy-coach-web">]>;
|
|
7624
7624
|
userId: z.ZodString;
|
|
7625
7625
|
message: z.ZodOptional<z.ZodString>;
|
|
7626
|
-
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7626
|
+
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7627
7627
|
} & {
|
|
7628
7628
|
type: z.ZodLiteral<"report-profile">;
|
|
7629
7629
|
data: z.ZodObject<{
|
|
@@ -7641,7 +7641,7 @@ export declare const ReportProfileFeedback: z.ZodObject<{
|
|
|
7641
7641
|
profileUsername: string;
|
|
7642
7642
|
};
|
|
7643
7643
|
message?: string | undefined;
|
|
7644
|
-
debugInfo?: Record<string,
|
|
7644
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7645
7645
|
}, {
|
|
7646
7646
|
type: "report-profile";
|
|
7647
7647
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
@@ -7650,14 +7650,14 @@ export declare const ReportProfileFeedback: z.ZodObject<{
|
|
|
7650
7650
|
profileUsername: string;
|
|
7651
7651
|
};
|
|
7652
7652
|
message?: string | undefined;
|
|
7653
|
-
debugInfo?: Record<string,
|
|
7653
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7654
7654
|
}>;
|
|
7655
7655
|
export declare const RatingPromptFeedback: z.ZodObject<{
|
|
7656
7656
|
platform: z.ZodUnion<[z.ZodLiteral<"hevy">, z.ZodLiteral<"hevy-web">, z.ZodLiteral<"hevy-coach">, z.ZodLiteral<"hevy-coach-web">]>;
|
|
7657
7657
|
userId: z.ZodString;
|
|
7658
7658
|
message: z.ZodOptional<z.ZodString>;
|
|
7659
|
-
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7660
|
-
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7659
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7660
|
+
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7661
7661
|
} & {
|
|
7662
7662
|
type: z.ZodLiteral<"rating-review">;
|
|
7663
7663
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7665,21 +7665,21 @@ export declare const RatingPromptFeedback: z.ZodObject<{
|
|
|
7665
7665
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
7666
7666
|
userId: string;
|
|
7667
7667
|
message?: string | undefined;
|
|
7668
|
-
data?: Record<string,
|
|
7669
|
-
debugInfo?: Record<string,
|
|
7668
|
+
data?: Record<string, unknown> | null | undefined;
|
|
7669
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7670
7670
|
}, {
|
|
7671
7671
|
type: "rating-review";
|
|
7672
7672
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
7673
7673
|
userId: string;
|
|
7674
7674
|
message?: string | undefined;
|
|
7675
|
-
data?: Record<string,
|
|
7676
|
-
debugInfo?: Record<string,
|
|
7675
|
+
data?: Record<string, unknown> | null | undefined;
|
|
7676
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7677
7677
|
}>;
|
|
7678
7678
|
export declare const CancelSubscriptionFeedback: z.ZodObject<{
|
|
7679
7679
|
platform: z.ZodUnion<[z.ZodLiteral<"hevy">, z.ZodLiteral<"hevy-web">, z.ZodLiteral<"hevy-coach">, z.ZodLiteral<"hevy-coach-web">]>;
|
|
7680
7680
|
userId: z.ZodString;
|
|
7681
7681
|
message: z.ZodOptional<z.ZodString>;
|
|
7682
|
-
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7682
|
+
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7683
7683
|
} & {
|
|
7684
7684
|
type: z.ZodLiteral<"cancel-subscription">;
|
|
7685
7685
|
data: z.ZodOptional<z.ZodObject<{
|
|
@@ -7697,7 +7697,7 @@ export declare const CancelSubscriptionFeedback: z.ZodObject<{
|
|
|
7697
7697
|
data?: {
|
|
7698
7698
|
reason: string;
|
|
7699
7699
|
} | undefined;
|
|
7700
|
-
debugInfo?: Record<string,
|
|
7700
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7701
7701
|
}, {
|
|
7702
7702
|
type: "cancel-subscription";
|
|
7703
7703
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
@@ -7706,14 +7706,14 @@ export declare const CancelSubscriptionFeedback: z.ZodObject<{
|
|
|
7706
7706
|
data?: {
|
|
7707
7707
|
reason: string;
|
|
7708
7708
|
} | undefined;
|
|
7709
|
-
debugInfo?: Record<string,
|
|
7709
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7710
7710
|
}>;
|
|
7711
7711
|
export declare const Feedback: z.ZodUnion<[z.ZodObject<{
|
|
7712
7712
|
platform: z.ZodUnion<[z.ZodLiteral<"hevy">, z.ZodLiteral<"hevy-web">, z.ZodLiteral<"hevy-coach">, z.ZodLiteral<"hevy-coach-web">]>;
|
|
7713
7713
|
userId: z.ZodString;
|
|
7714
7714
|
message: z.ZodOptional<z.ZodString>;
|
|
7715
|
-
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7716
|
-
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7715
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7716
|
+
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7717
7717
|
} & {
|
|
7718
7718
|
type: z.ZodLiteral<"general">;
|
|
7719
7719
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7721,21 +7721,21 @@ export declare const Feedback: z.ZodUnion<[z.ZodObject<{
|
|
|
7721
7721
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
7722
7722
|
userId: string;
|
|
7723
7723
|
message?: string | undefined;
|
|
7724
|
-
data?: Record<string,
|
|
7725
|
-
debugInfo?: Record<string,
|
|
7724
|
+
data?: Record<string, unknown> | null | undefined;
|
|
7725
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7726
7726
|
}, {
|
|
7727
7727
|
type: "general";
|
|
7728
7728
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
7729
7729
|
userId: string;
|
|
7730
7730
|
message?: string | undefined;
|
|
7731
|
-
data?: Record<string,
|
|
7732
|
-
debugInfo?: Record<string,
|
|
7731
|
+
data?: Record<string, unknown> | null | undefined;
|
|
7732
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7733
7733
|
}>, z.ZodObject<{
|
|
7734
7734
|
platform: z.ZodUnion<[z.ZodLiteral<"hevy">, z.ZodLiteral<"hevy-web">, z.ZodLiteral<"hevy-coach">, z.ZodLiteral<"hevy-coach-web">]>;
|
|
7735
7735
|
userId: z.ZodString;
|
|
7736
7736
|
message: z.ZodOptional<z.ZodString>;
|
|
7737
|
-
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7738
|
-
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7737
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7738
|
+
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7739
7739
|
} & {
|
|
7740
7740
|
type: z.ZodLiteral<"feature-request">;
|
|
7741
7741
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7743,21 +7743,21 @@ export declare const Feedback: z.ZodUnion<[z.ZodObject<{
|
|
|
7743
7743
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
7744
7744
|
userId: string;
|
|
7745
7745
|
message?: string | undefined;
|
|
7746
|
-
data?: Record<string,
|
|
7747
|
-
debugInfo?: Record<string,
|
|
7746
|
+
data?: Record<string, unknown> | null | undefined;
|
|
7747
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7748
7748
|
}, {
|
|
7749
7749
|
type: "feature-request";
|
|
7750
7750
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
7751
7751
|
userId: string;
|
|
7752
7752
|
message?: string | undefined;
|
|
7753
|
-
data?: Record<string,
|
|
7754
|
-
debugInfo?: Record<string,
|
|
7753
|
+
data?: Record<string, unknown> | null | undefined;
|
|
7754
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7755
7755
|
}>, z.ZodObject<{
|
|
7756
7756
|
platform: z.ZodUnion<[z.ZodLiteral<"hevy">, z.ZodLiteral<"hevy-web">, z.ZodLiteral<"hevy-coach">, z.ZodLiteral<"hevy-coach-web">]>;
|
|
7757
7757
|
userId: z.ZodString;
|
|
7758
7758
|
message: z.ZodOptional<z.ZodString>;
|
|
7759
|
-
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7760
|
-
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7759
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7760
|
+
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7761
7761
|
} & {
|
|
7762
7762
|
type: z.ZodLiteral<"bug-report">;
|
|
7763
7763
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7765,20 +7765,20 @@ export declare const Feedback: z.ZodUnion<[z.ZodObject<{
|
|
|
7765
7765
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
7766
7766
|
userId: string;
|
|
7767
7767
|
message?: string | undefined;
|
|
7768
|
-
data?: Record<string,
|
|
7769
|
-
debugInfo?: Record<string,
|
|
7768
|
+
data?: Record<string, unknown> | null | undefined;
|
|
7769
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7770
7770
|
}, {
|
|
7771
7771
|
type: "bug-report";
|
|
7772
7772
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
7773
7773
|
userId: string;
|
|
7774
7774
|
message?: string | undefined;
|
|
7775
|
-
data?: Record<string,
|
|
7776
|
-
debugInfo?: Record<string,
|
|
7775
|
+
data?: Record<string, unknown> | null | undefined;
|
|
7776
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7777
7777
|
}>, z.ZodObject<{
|
|
7778
7778
|
platform: z.ZodUnion<[z.ZodLiteral<"hevy">, z.ZodLiteral<"hevy-web">, z.ZodLiteral<"hevy-coach">, z.ZodLiteral<"hevy-coach-web">]>;
|
|
7779
7779
|
userId: z.ZodString;
|
|
7780
7780
|
message: z.ZodOptional<z.ZodString>;
|
|
7781
|
-
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7781
|
+
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7782
7782
|
} & {
|
|
7783
7783
|
type: z.ZodLiteral<"get-help">;
|
|
7784
7784
|
data: z.ZodObject<{
|
|
@@ -7796,7 +7796,7 @@ export declare const Feedback: z.ZodUnion<[z.ZodObject<{
|
|
|
7796
7796
|
source: string;
|
|
7797
7797
|
};
|
|
7798
7798
|
message?: string | undefined;
|
|
7799
|
-
debugInfo?: Record<string,
|
|
7799
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7800
7800
|
}, {
|
|
7801
7801
|
type: "get-help";
|
|
7802
7802
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
@@ -7805,12 +7805,12 @@ export declare const Feedback: z.ZodUnion<[z.ZodObject<{
|
|
|
7805
7805
|
source: string;
|
|
7806
7806
|
};
|
|
7807
7807
|
message?: string | undefined;
|
|
7808
|
-
debugInfo?: Record<string,
|
|
7808
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7809
7809
|
}>, z.ZodObject<{
|
|
7810
7810
|
platform: z.ZodUnion<[z.ZodLiteral<"hevy">, z.ZodLiteral<"hevy-web">, z.ZodLiteral<"hevy-coach">, z.ZodLiteral<"hevy-coach-web">]>;
|
|
7811
7811
|
userId: z.ZodString;
|
|
7812
7812
|
message: z.ZodOptional<z.ZodString>;
|
|
7813
|
-
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7813
|
+
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7814
7814
|
} & {
|
|
7815
7815
|
type: z.ZodLiteral<"report-comment">;
|
|
7816
7816
|
data: z.ZodObject<{
|
|
@@ -7840,7 +7840,7 @@ export declare const Feedback: z.ZodUnion<[z.ZodObject<{
|
|
|
7840
7840
|
workoutId: string;
|
|
7841
7841
|
};
|
|
7842
7842
|
message?: string | undefined;
|
|
7843
|
-
debugInfo?: Record<string,
|
|
7843
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7844
7844
|
}, {
|
|
7845
7845
|
type: "report-comment";
|
|
7846
7846
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
@@ -7852,12 +7852,12 @@ export declare const Feedback: z.ZodUnion<[z.ZodObject<{
|
|
|
7852
7852
|
workoutId: string;
|
|
7853
7853
|
};
|
|
7854
7854
|
message?: string | undefined;
|
|
7855
|
-
debugInfo?: Record<string,
|
|
7855
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7856
7856
|
}>, z.ZodObject<{
|
|
7857
7857
|
platform: z.ZodUnion<[z.ZodLiteral<"hevy">, z.ZodLiteral<"hevy-web">, z.ZodLiteral<"hevy-coach">, z.ZodLiteral<"hevy-coach-web">]>;
|
|
7858
7858
|
userId: z.ZodString;
|
|
7859
7859
|
message: z.ZodOptional<z.ZodString>;
|
|
7860
|
-
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7860
|
+
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7861
7861
|
} & {
|
|
7862
7862
|
type: z.ZodLiteral<"report-workout">;
|
|
7863
7863
|
data: z.ZodObject<{
|
|
@@ -7879,7 +7879,7 @@ export declare const Feedback: z.ZodUnion<[z.ZodObject<{
|
|
|
7879
7879
|
workoutUsername: string;
|
|
7880
7880
|
};
|
|
7881
7881
|
message?: string | undefined;
|
|
7882
|
-
debugInfo?: Record<string,
|
|
7882
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7883
7883
|
}, {
|
|
7884
7884
|
type: "report-workout";
|
|
7885
7885
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
@@ -7889,12 +7889,12 @@ export declare const Feedback: z.ZodUnion<[z.ZodObject<{
|
|
|
7889
7889
|
workoutUsername: string;
|
|
7890
7890
|
};
|
|
7891
7891
|
message?: string | undefined;
|
|
7892
|
-
debugInfo?: Record<string,
|
|
7892
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7893
7893
|
}>, z.ZodObject<{
|
|
7894
7894
|
platform: z.ZodUnion<[z.ZodLiteral<"hevy">, z.ZodLiteral<"hevy-web">, z.ZodLiteral<"hevy-coach">, z.ZodLiteral<"hevy-coach-web">]>;
|
|
7895
7895
|
userId: z.ZodString;
|
|
7896
7896
|
message: z.ZodOptional<z.ZodString>;
|
|
7897
|
-
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7897
|
+
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7898
7898
|
} & {
|
|
7899
7899
|
type: z.ZodLiteral<"report-profile">;
|
|
7900
7900
|
data: z.ZodObject<{
|
|
@@ -7912,7 +7912,7 @@ export declare const Feedback: z.ZodUnion<[z.ZodObject<{
|
|
|
7912
7912
|
profileUsername: string;
|
|
7913
7913
|
};
|
|
7914
7914
|
message?: string | undefined;
|
|
7915
|
-
debugInfo?: Record<string,
|
|
7915
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7916
7916
|
}, {
|
|
7917
7917
|
type: "report-profile";
|
|
7918
7918
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
@@ -7921,13 +7921,13 @@ export declare const Feedback: z.ZodUnion<[z.ZodObject<{
|
|
|
7921
7921
|
profileUsername: string;
|
|
7922
7922
|
};
|
|
7923
7923
|
message?: string | undefined;
|
|
7924
|
-
debugInfo?: Record<string,
|
|
7924
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7925
7925
|
}>, z.ZodObject<{
|
|
7926
7926
|
platform: z.ZodUnion<[z.ZodLiteral<"hevy">, z.ZodLiteral<"hevy-web">, z.ZodLiteral<"hevy-coach">, z.ZodLiteral<"hevy-coach-web">]>;
|
|
7927
7927
|
userId: z.ZodString;
|
|
7928
7928
|
message: z.ZodOptional<z.ZodString>;
|
|
7929
|
-
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7930
|
-
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7929
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7930
|
+
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7931
7931
|
} & {
|
|
7932
7932
|
type: z.ZodLiteral<"rating-review">;
|
|
7933
7933
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7935,20 +7935,20 @@ export declare const Feedback: z.ZodUnion<[z.ZodObject<{
|
|
|
7935
7935
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
7936
7936
|
userId: string;
|
|
7937
7937
|
message?: string | undefined;
|
|
7938
|
-
data?: Record<string,
|
|
7939
|
-
debugInfo?: Record<string,
|
|
7938
|
+
data?: Record<string, unknown> | null | undefined;
|
|
7939
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7940
7940
|
}, {
|
|
7941
7941
|
type: "rating-review";
|
|
7942
7942
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
7943
7943
|
userId: string;
|
|
7944
7944
|
message?: string | undefined;
|
|
7945
|
-
data?: Record<string,
|
|
7946
|
-
debugInfo?: Record<string,
|
|
7945
|
+
data?: Record<string, unknown> | null | undefined;
|
|
7946
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7947
7947
|
}>, z.ZodObject<{
|
|
7948
7948
|
platform: z.ZodUnion<[z.ZodLiteral<"hevy">, z.ZodLiteral<"hevy-web">, z.ZodLiteral<"hevy-coach">, z.ZodLiteral<"hevy-coach-web">]>;
|
|
7949
7949
|
userId: z.ZodString;
|
|
7950
7950
|
message: z.ZodOptional<z.ZodString>;
|
|
7951
|
-
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
7951
|
+
debugInfo: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
7952
7952
|
} & {
|
|
7953
7953
|
type: z.ZodLiteral<"cancel-subscription">;
|
|
7954
7954
|
data: z.ZodOptional<z.ZodObject<{
|
|
@@ -7966,7 +7966,7 @@ export declare const Feedback: z.ZodUnion<[z.ZodObject<{
|
|
|
7966
7966
|
data?: {
|
|
7967
7967
|
reason: string;
|
|
7968
7968
|
} | undefined;
|
|
7969
|
-
debugInfo?: Record<string,
|
|
7969
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7970
7970
|
}, {
|
|
7971
7971
|
type: "cancel-subscription";
|
|
7972
7972
|
platform: "hevy-coach" | "hevy" | "hevy-web" | "hevy-coach-web";
|
|
@@ -7975,7 +7975,7 @@ export declare const Feedback: z.ZodUnion<[z.ZodObject<{
|
|
|
7975
7975
|
data?: {
|
|
7976
7976
|
reason: string;
|
|
7977
7977
|
} | undefined;
|
|
7978
|
-
debugInfo?: Record<string,
|
|
7978
|
+
debugInfo?: Record<string, unknown> | null | undefined;
|
|
7979
7979
|
}>]>;
|
|
7980
7980
|
export declare const SuggestedUserSource: z.ZodUnion<[z.ZodLiteral<"popular">, z.ZodLiteral<"local">, z.ZodLiteral<"contact">, z.ZodLiteral<"mutual_follows">, z.ZodLiteral<"follows_you">, z.ZodLiteral<"featured">]>;
|
|
7981
7981
|
export declare const SuggestedUserLabel: z.ZodUnion<[z.ZodLiteral<"contact">, z.ZodLiteral<"mutual_friends">, z.ZodLiteral<"follows_you">, z.ZodLiteral<"featured">]>;
|
|
@@ -8016,8 +8016,8 @@ export declare const BackofficeFeedback: z.ZodObject<{
|
|
|
8016
8016
|
type: z.ZodString;
|
|
8017
8017
|
username: z.ZodOptional<z.ZodString>;
|
|
8018
8018
|
message: z.ZodOptional<z.ZodString>;
|
|
8019
|
-
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
8020
|
-
debug_info: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
8019
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
8020
|
+
debug_info: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
8021
8021
|
created_at: z.ZodDate;
|
|
8022
8022
|
}, "strip", z.ZodTypeAny, {
|
|
8023
8023
|
created_at: Date;
|
|
@@ -8026,8 +8026,8 @@ export declare const BackofficeFeedback: z.ZodObject<{
|
|
|
8026
8026
|
platform: string;
|
|
8027
8027
|
message?: string | undefined;
|
|
8028
8028
|
username?: string | undefined;
|
|
8029
|
-
data?: Record<string,
|
|
8030
|
-
debug_info?: Record<string,
|
|
8029
|
+
data?: Record<string, unknown> | null | undefined;
|
|
8030
|
+
debug_info?: Record<string, unknown> | null | undefined;
|
|
8031
8031
|
}, {
|
|
8032
8032
|
created_at: Date;
|
|
8033
8033
|
type: string;
|
|
@@ -8035,8 +8035,8 @@ export declare const BackofficeFeedback: z.ZodObject<{
|
|
|
8035
8035
|
platform: string;
|
|
8036
8036
|
message?: string | undefined;
|
|
8037
8037
|
username?: string | undefined;
|
|
8038
|
-
data?: Record<string,
|
|
8039
|
-
debug_info?: Record<string,
|
|
8038
|
+
data?: Record<string, unknown> | null | undefined;
|
|
8039
|
+
debug_info?: Record<string, unknown> | null | undefined;
|
|
8040
8040
|
}>;
|
|
8041
8041
|
export declare const BackofficeFeedbacksResponse: z.ZodObject<{
|
|
8042
8042
|
feedbacks: z.ZodArray<z.ZodObject<{
|
|
@@ -8045,8 +8045,8 @@ export declare const BackofficeFeedbacksResponse: z.ZodObject<{
|
|
|
8045
8045
|
type: z.ZodString;
|
|
8046
8046
|
username: z.ZodOptional<z.ZodString>;
|
|
8047
8047
|
message: z.ZodOptional<z.ZodString>;
|
|
8048
|
-
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
8049
|
-
debug_info: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
8048
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
8049
|
+
debug_info: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
8050
8050
|
created_at: z.ZodDate;
|
|
8051
8051
|
}, "strip", z.ZodTypeAny, {
|
|
8052
8052
|
created_at: Date;
|
|
@@ -8055,8 +8055,8 @@ export declare const BackofficeFeedbacksResponse: z.ZodObject<{
|
|
|
8055
8055
|
platform: string;
|
|
8056
8056
|
message?: string | undefined;
|
|
8057
8057
|
username?: string | undefined;
|
|
8058
|
-
data?: Record<string,
|
|
8059
|
-
debug_info?: Record<string,
|
|
8058
|
+
data?: Record<string, unknown> | null | undefined;
|
|
8059
|
+
debug_info?: Record<string, unknown> | null | undefined;
|
|
8060
8060
|
}, {
|
|
8061
8061
|
created_at: Date;
|
|
8062
8062
|
type: string;
|
|
@@ -8064,8 +8064,8 @@ export declare const BackofficeFeedbacksResponse: z.ZodObject<{
|
|
|
8064
8064
|
platform: string;
|
|
8065
8065
|
message?: string | undefined;
|
|
8066
8066
|
username?: string | undefined;
|
|
8067
|
-
data?: Record<string,
|
|
8068
|
-
debug_info?: Record<string,
|
|
8067
|
+
data?: Record<string, unknown> | null | undefined;
|
|
8068
|
+
debug_info?: Record<string, unknown> | null | undefined;
|
|
8069
8069
|
}>, "many">;
|
|
8070
8070
|
}, "strip", z.ZodTypeAny, {
|
|
8071
8071
|
feedbacks: {
|
|
@@ -8075,8 +8075,8 @@ export declare const BackofficeFeedbacksResponse: z.ZodObject<{
|
|
|
8075
8075
|
platform: string;
|
|
8076
8076
|
message?: string | undefined;
|
|
8077
8077
|
username?: string | undefined;
|
|
8078
|
-
data?: Record<string,
|
|
8079
|
-
debug_info?: Record<string,
|
|
8078
|
+
data?: Record<string, unknown> | null | undefined;
|
|
8079
|
+
debug_info?: Record<string, unknown> | null | undefined;
|
|
8080
8080
|
}[];
|
|
8081
8081
|
}, {
|
|
8082
8082
|
feedbacks: {
|
|
@@ -8086,8 +8086,8 @@ export declare const BackofficeFeedbacksResponse: z.ZodObject<{
|
|
|
8086
8086
|
platform: string;
|
|
8087
8087
|
message?: string | undefined;
|
|
8088
8088
|
username?: string | undefined;
|
|
8089
|
-
data?: Record<string,
|
|
8090
|
-
debug_info?: Record<string,
|
|
8089
|
+
data?: Record<string, unknown> | null | undefined;
|
|
8090
|
+
debug_info?: Record<string, unknown> | null | undefined;
|
|
8091
8091
|
}[];
|
|
8092
8092
|
}>;
|
|
8093
8093
|
export declare const BackofficeRemoteFeatureFlag: z.ZodObject<{
|
package/built/index.zod.js
CHANGED
|
@@ -1515,8 +1515,8 @@ const BaseFeedback = zod_1.z.object({
|
|
|
1515
1515
|
type: exports.FeedbackType,
|
|
1516
1516
|
userId: zod_1.z.string(),
|
|
1517
1517
|
message: zod_1.z.string().optional(),
|
|
1518
|
-
data: zod_1.z.record(zod_1.z.
|
|
1519
|
-
debugInfo: zod_1.z.record(zod_1.z.
|
|
1518
|
+
data: zod_1.z.record(zod_1.z.unknown()).optional().nullable(),
|
|
1519
|
+
debugInfo: zod_1.z.record(zod_1.z.unknown()).optional().nullable(),
|
|
1520
1520
|
});
|
|
1521
1521
|
exports.GeneralFeedback = BaseFeedback.extend({
|
|
1522
1522
|
type: zod_1.z.literal('general'),
|
|
@@ -1608,8 +1608,8 @@ exports.BackofficeFeedback = zod_1.z.object({
|
|
|
1608
1608
|
type: zod_1.z.string(),
|
|
1609
1609
|
username: zod_1.z.string().optional(),
|
|
1610
1610
|
message: zod_1.z.string().optional(),
|
|
1611
|
-
data: zod_1.z.record(zod_1.z.
|
|
1612
|
-
debug_info: zod_1.z.record(zod_1.z.
|
|
1611
|
+
data: zod_1.z.record(zod_1.z.unknown()).optional().nullable(),
|
|
1612
|
+
debug_info: zod_1.z.record(zod_1.z.unknown()).optional().nullable(),
|
|
1613
1613
|
created_at: zod_1.z.date(),
|
|
1614
1614
|
});
|
|
1615
1615
|
exports.BackofficeFeedbacksResponse = zod_1.z.object({
|