@nativesquare/soma 0.8.0 → 0.9.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/client/index.d.ts +7 -128
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +31 -112
- package/dist/client/index.js.map +1 -1
- package/dist/component/_generated/api.d.ts +80 -4
- package/dist/component/_generated/api.d.ts.map +1 -1
- package/dist/component/_generated/api.js.map +1 -1
- package/dist/component/_generated/component.d.ts +135 -261
- package/dist/component/_generated/component.d.ts.map +1 -1
- package/dist/component/garmin/private.d.ts +475 -0
- package/dist/component/garmin/private.d.ts.map +1 -0
- package/dist/component/garmin/private.js +1614 -0
- package/dist/component/garmin/private.js.map +1 -0
- package/dist/component/garmin/public.d.ts +155 -0
- package/dist/component/garmin/public.d.ts.map +1 -0
- package/dist/component/garmin/public.js +787 -0
- package/dist/component/garmin/public.js.map +1 -0
- package/dist/component/garmin/schemas/activity.d.ts +94 -0
- package/dist/component/garmin/schemas/activity.d.ts.map +1 -0
- package/dist/component/garmin/schemas/activity.js +27 -0
- package/dist/component/garmin/schemas/activity.js.map +1 -0
- package/dist/component/garmin/schemas/activityDetails.d.ts +146 -0
- package/dist/component/garmin/schemas/activityDetails.d.ts.map +1 -0
- package/dist/component/garmin/schemas/activityDetails.js +27 -0
- package/dist/component/garmin/schemas/activityDetails.js.map +1 -0
- package/dist/component/garmin/schemas/bloodPressure.d.ts +38 -0
- package/dist/component/garmin/schemas/bloodPressure.d.ts.map +1 -0
- package/dist/component/garmin/schemas/bloodPressure.js +27 -0
- package/dist/component/garmin/schemas/bloodPressure.js.map +1 -0
- package/dist/component/garmin/schemas/bodyCompositions.d.ts +42 -0
- package/dist/component/garmin/schemas/bodyCompositions.d.ts.map +1 -0
- package/dist/component/garmin/schemas/bodyCompositions.js +27 -0
- package/dist/component/garmin/schemas/bodyCompositions.js.map +1 -0
- package/dist/component/garmin/schemas/dailies.d.ts +98 -0
- package/dist/component/garmin/schemas/dailies.d.ts.map +1 -0
- package/dist/component/garmin/schemas/dailies.js +27 -0
- package/dist/component/garmin/schemas/dailies.js.map +1 -0
- package/dist/component/garmin/schemas/epochs.d.ts +54 -0
- package/dist/component/garmin/schemas/epochs.d.ts.map +1 -0
- package/dist/component/garmin/schemas/epochs.js +27 -0
- package/dist/component/garmin/schemas/epochs.js.map +1 -0
- package/dist/component/garmin/schemas/healthSnapshot.d.ts +48 -0
- package/dist/component/garmin/schemas/healthSnapshot.d.ts.map +1 -0
- package/dist/component/garmin/schemas/healthSnapshot.js +27 -0
- package/dist/component/garmin/schemas/healthSnapshot.js.map +1 -0
- package/dist/component/garmin/schemas/hrvSummary.d.ts +40 -0
- package/dist/component/garmin/schemas/hrvSummary.d.ts.map +1 -0
- package/dist/component/garmin/schemas/hrvSummary.js +27 -0
- package/dist/component/garmin/schemas/hrvSummary.js.map +1 -0
- package/dist/component/garmin/schemas/manuallyUpdatedActivities.d.ts +94 -0
- package/dist/component/garmin/schemas/manuallyUpdatedActivities.d.ts.map +1 -0
- package/dist/component/garmin/schemas/manuallyUpdatedActivities.js +27 -0
- package/dist/component/garmin/schemas/manuallyUpdatedActivities.js.map +1 -0
- package/dist/component/garmin/schemas/menstrualCycleTracking.d.ts +100 -0
- package/dist/component/garmin/schemas/menstrualCycleTracking.d.ts.map +1 -0
- package/dist/component/garmin/schemas/menstrualCycleTracking.js +28 -0
- package/dist/component/garmin/schemas/menstrualCycleTracking.js.map +1 -0
- package/dist/component/garmin/schemas/moveIQ.d.ts +40 -0
- package/dist/component/garmin/schemas/moveIQ.d.ts.map +1 -0
- package/dist/component/garmin/schemas/moveIQ.js +27 -0
- package/dist/component/garmin/schemas/moveIQ.js.map +1 -0
- package/dist/component/garmin/schemas/pulseOx.d.ts +38 -0
- package/dist/component/garmin/schemas/pulseOx.d.ts.map +1 -0
- package/dist/component/garmin/schemas/pulseOx.js +28 -0
- package/dist/component/garmin/schemas/pulseOx.js.map +1 -0
- package/dist/component/garmin/schemas/respiration.d.ts +34 -0
- package/dist/component/garmin/schemas/respiration.d.ts.map +1 -0
- package/dist/component/garmin/schemas/respiration.js +28 -0
- package/dist/component/garmin/schemas/respiration.js.map +1 -0
- package/dist/component/garmin/schemas/skinTemperature.d.ts +36 -0
- package/dist/component/garmin/schemas/skinTemperature.d.ts.map +1 -0
- package/dist/component/garmin/schemas/skinTemperature.js +28 -0
- package/dist/component/garmin/schemas/skinTemperature.js.map +1 -0
- package/dist/component/garmin/schemas/sleeps.d.ts +88 -0
- package/dist/component/garmin/schemas/sleeps.d.ts.map +1 -0
- package/dist/component/garmin/schemas/sleeps.js +27 -0
- package/dist/component/garmin/schemas/sleeps.js.map +1 -0
- package/dist/component/garmin/schemas/stress.d.ts +70 -0
- package/dist/component/garmin/schemas/stress.d.ts.map +1 -0
- package/dist/component/garmin/schemas/stress.js +28 -0
- package/dist/component/garmin/schemas/stress.js.map +1 -0
- package/dist/component/garmin/schemas/userMetrics.d.ts +36 -0
- package/dist/component/garmin/schemas/userMetrics.d.ts.map +1 -0
- package/dist/component/garmin/schemas/userMetrics.js +28 -0
- package/dist/component/garmin/schemas/userMetrics.js.map +1 -0
- package/dist/component/garmin/transform/activity.d.ts +13 -0
- package/dist/component/garmin/transform/activity.d.ts.map +1 -0
- package/dist/component/garmin/transform/activity.js +111 -0
- package/dist/component/garmin/transform/activity.js.map +1 -0
- package/dist/component/garmin/transform/activityDetails.d.ts +13 -0
- package/dist/component/garmin/transform/activityDetails.d.ts.map +1 -0
- package/dist/component/garmin/transform/activityDetails.js +173 -0
- package/dist/component/garmin/transform/activityDetails.js.map +1 -0
- package/dist/component/garmin/transform/bloodPressure.d.ts +12 -0
- package/dist/component/garmin/transform/bloodPressure.d.ts.map +1 -0
- package/dist/component/garmin/transform/bloodPressure.js +33 -0
- package/dist/component/garmin/transform/bloodPressure.js.map +1 -0
- package/dist/component/garmin/transform/bodyCompositions.d.ts +12 -0
- package/dist/component/garmin/transform/bodyCompositions.d.ts.map +1 -0
- package/dist/component/garmin/transform/bodyCompositions.js +42 -0
- package/dist/component/garmin/transform/bodyCompositions.js.map +1 -0
- package/dist/component/garmin/transform/dailies.d.ts +12 -0
- package/dist/component/garmin/transform/dailies.d.ts.map +1 -0
- package/dist/component/garmin/transform/dailies.js +132 -0
- package/dist/component/garmin/transform/dailies.js.map +1 -0
- package/dist/component/garmin/transform/epochs.d.ts +13 -0
- package/dist/component/garmin/transform/epochs.d.ts.map +1 -0
- package/dist/component/garmin/transform/epochs.js +76 -0
- package/dist/component/garmin/transform/epochs.js.map +1 -0
- package/dist/component/garmin/transform/healthSnapshot.d.ts +12 -0
- package/dist/component/garmin/transform/healthSnapshot.d.ts.map +1 -0
- package/dist/component/garmin/transform/healthSnapshot.js +111 -0
- package/dist/component/garmin/transform/healthSnapshot.js.map +1 -0
- package/dist/component/garmin/transform/hrvSummary.d.ts +12 -0
- package/dist/component/garmin/transform/hrvSummary.d.ts.map +1 -0
- package/dist/component/garmin/transform/hrvSummary.js +45 -0
- package/dist/component/garmin/transform/hrvSummary.js.map +1 -0
- package/dist/component/garmin/transform/manuallyUpdatedActivities.d.ts +11 -0
- package/dist/component/garmin/transform/manuallyUpdatedActivities.d.ts.map +1 -0
- package/dist/component/garmin/transform/manuallyUpdatedActivities.js +20 -0
- package/dist/component/garmin/transform/manuallyUpdatedActivities.js.map +1 -0
- package/dist/component/garmin/transform/menstrualCycleTracking.d.ts +10 -0
- package/dist/component/garmin/transform/menstrualCycleTracking.d.ts.map +1 -0
- package/dist/component/garmin/transform/menstrualCycleTracking.js +43 -0
- package/dist/component/garmin/transform/menstrualCycleTracking.js.map +1 -0
- package/dist/component/garmin/transform/moveIQ.d.ts +17 -0
- package/dist/component/garmin/transform/moveIQ.d.ts.map +1 -0
- package/dist/component/garmin/transform/moveIQ.js +41 -0
- package/dist/component/garmin/transform/moveIQ.js.map +1 -0
- package/dist/component/garmin/transform/pulseOx.d.ts +12 -0
- package/dist/component/garmin/transform/pulseOx.d.ts.map +1 -0
- package/dist/component/garmin/transform/pulseOx.js +46 -0
- package/dist/component/garmin/transform/pulseOx.js.map +1 -0
- package/dist/component/garmin/transform/respiration.d.ts +12 -0
- package/dist/component/garmin/transform/respiration.d.ts.map +1 -0
- package/dist/component/garmin/transform/respiration.js +54 -0
- package/dist/component/garmin/transform/respiration.js.map +1 -0
- package/dist/component/garmin/transform/skinTemperature.d.ts +12 -0
- package/dist/component/garmin/transform/skinTemperature.d.ts.map +1 -0
- package/dist/component/garmin/transform/skinTemperature.js +38 -0
- package/dist/component/garmin/transform/skinTemperature.js.map +1 -0
- package/dist/component/garmin/transform/sleeps.d.ts +55 -0
- package/dist/component/garmin/transform/sleeps.d.ts.map +1 -0
- package/dist/component/garmin/transform/sleeps.js +120 -0
- package/dist/component/garmin/transform/sleeps.js.map +1 -0
- package/dist/component/garmin/transform/stress.d.ts +12 -0
- package/dist/component/garmin/transform/stress.d.ts.map +1 -0
- package/dist/component/garmin/transform/stress.js +56 -0
- package/dist/component/garmin/transform/stress.js.map +1 -0
- package/dist/component/garmin/transform/userMetrics.d.ts +12 -0
- package/dist/component/garmin/transform/userMetrics.d.ts.map +1 -0
- package/dist/component/garmin/transform/userMetrics.js +48 -0
- package/dist/component/garmin/transform/userMetrics.js.map +1 -0
- package/dist/component/garmin/types/garmin.d.ts +21 -0
- package/dist/component/garmin/types/garmin.d.ts.map +1 -0
- package/dist/component/garmin/types/garmin.js +6 -0
- package/dist/component/garmin/types/garmin.js.map +1 -0
- package/dist/component/garmin/types/zod/zod.gen.d.ts +1319 -0
- package/dist/component/garmin/types/zod/zod.gen.d.ts.map +1 -0
- package/dist/component/garmin/types/zod/zod.gen.js +784 -0
- package/dist/component/garmin/types/zod/zod.gen.js.map +1 -0
- package/dist/component/garmin/webhooks.d.ts +141 -0
- package/dist/component/garmin/webhooks.d.ts.map +1 -0
- package/dist/component/garmin/webhooks.js +766 -0
- package/dist/component/garmin/webhooks.js.map +1 -0
- package/dist/component/private.d.ts +4 -4
- package/dist/component/public.d.ts +333 -333
- package/dist/component/schema.d.ts +133 -133
- package/dist/component/strava/private.d.ts +30 -0
- package/dist/component/strava/private.d.ts.map +1 -0
- package/dist/component/strava/private.js +71 -0
- package/dist/component/strava/private.js.map +1 -0
- package/dist/component/{strava.d.ts → strava/public.d.ts} +3 -31
- package/dist/component/strava/public.d.ts.map +1 -0
- package/dist/component/{strava.js → strava/public.js} +22 -101
- package/dist/component/strava/public.js.map +1 -0
- package/dist/component/validators/activity.d.ts +6 -0
- package/dist/component/validators/activity.d.ts.map +1 -1
- package/dist/component/validators/activity.js.map +1 -1
- package/dist/component/validators/body.d.ts +20 -14
- package/dist/component/validators/body.d.ts.map +1 -1
- package/dist/component/validators/body.js.map +1 -1
- package/dist/component/validators/daily.d.ts +6 -0
- package/dist/component/validators/daily.d.ts.map +1 -1
- package/dist/component/validators/daily.js.map +1 -1
- package/dist/component/validators/enums.d.ts +1 -1
- package/dist/component/validators/menstruation.d.ts +5 -0
- package/dist/component/validators/menstruation.d.ts.map +1 -1
- package/dist/component/validators/menstruation.js.map +1 -1
- package/dist/garmin/client.js.map +1 -1
- package/dist/garmin/index.d.ts +0 -2
- package/dist/garmin/index.d.ts.map +1 -1
- package/dist/garmin/index.js +0 -1
- package/dist/garmin/index.js.map +1 -1
- package/dist/garmin/sync.d.ts.map +1 -1
- package/dist/garmin/sync.js +3 -2
- package/dist/garmin/sync.js.map +1 -1
- package/dist/garmin/types.d.ts +1 -1
- package/dist/garmin/types.d.ts.map +1 -1
- package/dist/validators.d.ts +31 -28
- package/dist/validators.d.ts.map +1 -1
- package/dist/validators.js +2 -2
- package/dist/validators.js.map +1 -1
- package/package.json +4 -7
- package/src/client/index.ts +41 -172
- package/src/component/_generated/api.ts +96 -4
- package/src/component/_generated/component.ts +252 -284
- package/src/{garmin → component/garmin}/auth.ts +8 -1
- package/src/component/garmin/client.ts +39 -0
- package/src/component/garmin/private.ts +1798 -0
- package/src/component/garmin/public.ts +938 -0
- package/src/component/garmin/schemas/activity.ts +40 -0
- package/src/component/garmin/schemas/activityDetails.ts +45 -0
- package/src/component/garmin/schemas/bloodPressure.ts +38 -0
- package/src/component/garmin/schemas/bodyCompositions.ts +38 -0
- package/src/component/garmin/schemas/dailies.ts +38 -0
- package/src/component/garmin/schemas/epochs.ts +38 -0
- package/src/component/garmin/schemas/healthSnapshot.ts +38 -0
- package/src/component/garmin/schemas/hrvSummary.ts +38 -0
- package/src/component/garmin/schemas/manuallyUpdatedActivities.ts +49 -0
- package/src/component/garmin/schemas/menstrualCycleTracking.ts +39 -0
- package/src/component/garmin/schemas/moveIQ.ts +38 -0
- package/src/component/garmin/schemas/pulseOx.ts +39 -0
- package/src/component/garmin/schemas/respiration.ts +39 -0
- package/src/component/garmin/schemas/skinTemperature.ts +39 -0
- package/src/component/garmin/schemas/sleeps.ts +38 -0
- package/src/component/garmin/schemas/stress.ts +43 -0
- package/src/component/garmin/schemas/userMetrics.ts +39 -0
- package/src/component/garmin/transform/activity.ts +143 -0
- package/src/component/garmin/transform/activityDetails.ts +236 -0
- package/src/{garmin → component/garmin/transform}/bloodPressure.ts +39 -41
- package/src/component/garmin/transform/bodyCompositions.ts +51 -0
- package/src/component/garmin/transform/dailies.ts +179 -0
- package/src/component/garmin/transform/epochs.ts +94 -0
- package/src/component/garmin/transform/healthSnapshot.ts +152 -0
- package/src/component/garmin/transform/hrvSummary.ts +56 -0
- package/src/component/garmin/transform/manuallyUpdatedActivities.ts +27 -0
- package/src/{garmin/maps/activity-type.ts → component/garmin/transform/maps/activityType.ts} +116 -116
- package/src/{garmin/maps/sleep-level.ts → component/garmin/transform/maps/sleepLevel.ts} +22 -22
- package/src/component/garmin/transform/menstrualCycleTracking.ts +48 -0
- package/src/component/garmin/transform/moveIQ.ts +48 -0
- package/src/{garmin → component/garmin/transform}/plannedWorkout.ts +328 -333
- package/src/component/garmin/transform/pulseOx.ts +64 -0
- package/src/component/garmin/transform/respiration.ts +73 -0
- package/src/component/garmin/transform/skinTemperature.ts +44 -0
- package/src/component/garmin/transform/sleeps.ts +159 -0
- package/src/component/garmin/transform/stress.ts +78 -0
- package/src/component/garmin/transform/userMetrics.ts +56 -0
- package/src/component/garmin/types/specs/training-api-workouts.json +699 -0
- package/src/component/garmin/types/trainingApiWorkouts/client/client.gen.ts +290 -0
- package/src/component/garmin/types/trainingApiWorkouts/client/index.ts +25 -0
- package/src/component/garmin/types/trainingApiWorkouts/client/types.gen.ts +214 -0
- package/src/component/garmin/types/trainingApiWorkouts/client/utils.gen.ts +316 -0
- package/src/component/garmin/types/trainingApiWorkouts/client.gen.ts +16 -0
- package/src/component/garmin/types/trainingApiWorkouts/core/auth.gen.ts +41 -0
- package/src/component/garmin/types/trainingApiWorkouts/core/bodySerializer.gen.ts +82 -0
- package/src/component/garmin/types/trainingApiWorkouts/core/params.gen.ts +169 -0
- package/src/component/garmin/types/trainingApiWorkouts/core/pathSerializer.gen.ts +171 -0
- package/src/component/garmin/types/trainingApiWorkouts/core/queryKeySerializer.gen.ts +117 -0
- package/src/component/garmin/types/trainingApiWorkouts/core/serverSentEvents.gen.ts +243 -0
- package/src/component/garmin/types/trainingApiWorkouts/core/types.gen.ts +104 -0
- package/src/component/garmin/types/trainingApiWorkouts/core/utils.gen.ts +140 -0
- package/src/component/garmin/types/trainingApiWorkouts/index.ts +4 -0
- package/src/component/garmin/types/trainingApiWorkouts/sdk.gen.ts +126 -0
- package/src/component/garmin/types/trainingApiWorkouts/types.gen.ts +387 -0
- package/src/component/garmin/types/trainingApiWorkouts/zod.gen.ts +423 -0
- package/src/component/garmin/types/wellnessApi/client/client.gen.ts +290 -0
- package/src/component/garmin/types/wellnessApi/client/index.ts +25 -0
- package/src/component/garmin/types/wellnessApi/client/types.gen.ts +214 -0
- package/src/component/garmin/types/wellnessApi/client/utils.gen.ts +316 -0
- package/src/component/garmin/types/wellnessApi/client.gen.ts +16 -0
- package/src/component/garmin/types/wellnessApi/core/auth.gen.ts +41 -0
- package/src/component/garmin/types/wellnessApi/core/bodySerializer.gen.ts +82 -0
- package/src/component/garmin/types/wellnessApi/core/params.gen.ts +169 -0
- package/src/component/garmin/types/wellnessApi/core/pathSerializer.gen.ts +171 -0
- package/src/component/garmin/types/wellnessApi/core/queryKeySerializer.gen.ts +117 -0
- package/src/component/garmin/types/wellnessApi/core/serverSentEvents.gen.ts +243 -0
- package/src/component/garmin/types/wellnessApi/core/types.gen.ts +104 -0
- package/src/component/garmin/types/wellnessApi/core/utils.gen.ts +140 -0
- package/src/component/garmin/types/wellnessApi/index.ts +4 -0
- package/src/component/garmin/types/wellnessApi/sdk.gen.ts +207 -0
- package/src/component/garmin/types/wellnessApi/types.gen.ts +2942 -0
- package/src/component/garmin/types/wellnessApi/zod.gen.ts +878 -0
- package/src/component/garmin/utils.ts +25 -0
- package/src/component/garmin/webhooks.ts +852 -0
- package/src/component/strava/private.ts +89 -0
- package/src/component/{strava.ts → strava/public.ts} +341 -404
- package/src/component/validators/activity.ts +5 -0
- package/src/component/validators/body.ts +5 -0
- package/src/component/validators/daily.ts +5 -0
- package/src/component/validators/menstruation.ts +5 -1
- package/src/component/validators/plannedWorkout.ts +5 -0
- package/src/validators.ts +12 -2
- package/dist/component/garmin.d.ts +0 -366
- package/dist/component/garmin.d.ts.map +0 -1
- package/dist/component/garmin.js +0 -1481
- package/dist/component/garmin.js.map +0 -1
- package/dist/component/strava.d.ts.map +0 -1
- package/dist/component/strava.js.map +0 -1
- package/dist/garmin/activity.d.ts +0 -92
- package/dist/garmin/activity.d.ts.map +0 -1
- package/dist/garmin/activity.js +0 -201
- package/dist/garmin/activity.js.map +0 -1
- package/src/component/garmin.ts +0 -1722
- package/src/garmin/activity.test.ts +0 -170
- package/src/garmin/activity.ts +0 -265
- package/src/garmin/auth.test.ts +0 -103
- package/src/garmin/body.ts +0 -59
- package/src/garmin/client.ts +0 -886
- package/src/garmin/daily.ts +0 -215
- package/src/garmin/hrv.ts +0 -57
- package/src/garmin/index.ts +0 -145
- package/src/garmin/maps/activity-type.test.ts +0 -78
- package/src/garmin/menstruation.ts +0 -44
- package/src/garmin/pulseOx.ts +0 -45
- package/src/garmin/respiration.ts +0 -55
- package/src/garmin/skinTemp.ts +0 -42
- package/src/garmin/sleep.test.ts +0 -109
- package/src/garmin/sleep.ts +0 -176
- package/src/garmin/stressDetails.ts +0 -71
- package/src/garmin/sync.ts +0 -566
- package/src/garmin/types.ts +0 -268
- package/src/garmin/userMetrics.ts +0 -50
- package/src/garmin/wellness-api.d.ts +0 -5637
- /package/src/{garmin/spec → component/garmin/types/specs}/wellness-api.json +0 -0
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
|
|
3
|
+
import * as z from 'zod';
|
|
4
|
+
|
|
5
|
+
export const zStep = z.object({
|
|
6
|
+
stepOrder: z.int().min(-2147483648, { error: 'Invalid value: Expected int32 to be >= -2147483648' }).max(2147483647, { error: 'Invalid value: Expected int32 to be <= 2147483647' }).optional(),
|
|
7
|
+
type: z.string()
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
export const zWorkoutRepeatStep = zStep.and(z.object({
|
|
11
|
+
repeatType: z.enum([
|
|
12
|
+
'REPEAT_UNTIL_STEPS_CMPLT',
|
|
13
|
+
'REPEAT_UNTIL_TIME',
|
|
14
|
+
'REPEAT_UNTIL_DISTANCE',
|
|
15
|
+
'REPEAT_UNTIL_CALORIES',
|
|
16
|
+
'REPEAT_UNTIL_HR_LESS_THAN',
|
|
17
|
+
'REPEAT_UNTIL_HR_GREATER_THAN',
|
|
18
|
+
'REPEAT_UNTIL_POWER_LESS_THAN',
|
|
19
|
+
'REPEAT_UNTIL_POWER_GREATER_THAN',
|
|
20
|
+
'REPEAT_UNTIL_POWER_LAST_LAP_LESS_THAN',
|
|
21
|
+
'REPEAT_UNTIL_MAX_POWER_LAST_LAP_LESS_THAN',
|
|
22
|
+
'REPEAT_UNTIL_TRAINING_PEAKS_TSS'
|
|
23
|
+
]).optional(),
|
|
24
|
+
repeatValue: z.number().optional(),
|
|
25
|
+
skipLastRestStep: z.boolean().optional(),
|
|
26
|
+
type: z.literal('WorkoutRepeatStep')
|
|
27
|
+
}));
|
|
28
|
+
|
|
29
|
+
export const zWorkoutStep = zStep.and(z.object({
|
|
30
|
+
intensity: z.enum([
|
|
31
|
+
'ACTIVE',
|
|
32
|
+
'REST',
|
|
33
|
+
'WARMUP',
|
|
34
|
+
'COOLDOWN',
|
|
35
|
+
'RECOVERY',
|
|
36
|
+
'INTERVAL',
|
|
37
|
+
'MAIN'
|
|
38
|
+
]).optional(),
|
|
39
|
+
description: z.string().optional(),
|
|
40
|
+
durationType: z.enum([
|
|
41
|
+
'TIME',
|
|
42
|
+
'DISTANCE',
|
|
43
|
+
'HR_LESS_THAN',
|
|
44
|
+
'HR_GREATER_THAN',
|
|
45
|
+
'CALORIES',
|
|
46
|
+
'OPEN',
|
|
47
|
+
'POWER_LESS_THAN',
|
|
48
|
+
'POWER_GREATER_THAN',
|
|
49
|
+
'TRAINING_PEAKS_TSS',
|
|
50
|
+
'REPETITION_TIME',
|
|
51
|
+
'REPS',
|
|
52
|
+
'TIME_AT_VALID_CDA',
|
|
53
|
+
'FIXED_REST',
|
|
54
|
+
'FIXED_REPETITION',
|
|
55
|
+
'REPETITION_SWIM_CSS_OFFSET'
|
|
56
|
+
]).optional(),
|
|
57
|
+
durationValue: z.number().optional(),
|
|
58
|
+
durationValueType: z.enum([
|
|
59
|
+
'PERCENT',
|
|
60
|
+
'MILE',
|
|
61
|
+
'KILOMETER',
|
|
62
|
+
'METER',
|
|
63
|
+
'YARD'
|
|
64
|
+
]).optional(),
|
|
65
|
+
targetType: z.enum([
|
|
66
|
+
'SPEED',
|
|
67
|
+
'HEART_RATE',
|
|
68
|
+
'OPEN',
|
|
69
|
+
'CADENCE',
|
|
70
|
+
'POWER',
|
|
71
|
+
'GRADE',
|
|
72
|
+
'RESISTANCE',
|
|
73
|
+
'POWER_3S',
|
|
74
|
+
'POWER_10S',
|
|
75
|
+
'POWER_30S',
|
|
76
|
+
'POWER_LAP',
|
|
77
|
+
'SWIM_STROKE',
|
|
78
|
+
'SPEED_LAP',
|
|
79
|
+
'HEART_RATE_LAP',
|
|
80
|
+
'PACE',
|
|
81
|
+
'PACE_ZONE',
|
|
82
|
+
'SWIM_INSTRUCTION',
|
|
83
|
+
'SWIM_CSS_OFFSET'
|
|
84
|
+
]).optional(),
|
|
85
|
+
targetValue: z.number().optional(),
|
|
86
|
+
targetValueLow: z.number().optional(),
|
|
87
|
+
targetValueHigh: z.number().optional(),
|
|
88
|
+
targetValueType: z.enum([
|
|
89
|
+
'PERCENT',
|
|
90
|
+
'MILE',
|
|
91
|
+
'KILOMETER',
|
|
92
|
+
'METER',
|
|
93
|
+
'YARD'
|
|
94
|
+
]).optional(),
|
|
95
|
+
secondaryTargetType: z.enum([
|
|
96
|
+
'SPEED',
|
|
97
|
+
'HEART_RATE',
|
|
98
|
+
'OPEN',
|
|
99
|
+
'CADENCE',
|
|
100
|
+
'POWER',
|
|
101
|
+
'GRADE',
|
|
102
|
+
'RESISTANCE',
|
|
103
|
+
'POWER_3S',
|
|
104
|
+
'POWER_10S',
|
|
105
|
+
'POWER_30S',
|
|
106
|
+
'POWER_LAP',
|
|
107
|
+
'SWIM_STROKE',
|
|
108
|
+
'SPEED_LAP',
|
|
109
|
+
'HEART_RATE_LAP',
|
|
110
|
+
'PACE',
|
|
111
|
+
'PACE_ZONE',
|
|
112
|
+
'SWIM_INSTRUCTION',
|
|
113
|
+
'SWIM_CSS_OFFSET'
|
|
114
|
+
]).optional(),
|
|
115
|
+
secondaryTargetValue: z.number().optional(),
|
|
116
|
+
secondaryTargetValueLow: z.number().optional(),
|
|
117
|
+
secondaryTargetValueHigh: z.number().optional(),
|
|
118
|
+
secondaryTargetValueType: z.enum([
|
|
119
|
+
'PERCENT',
|
|
120
|
+
'MILE',
|
|
121
|
+
'KILOMETER',
|
|
122
|
+
'METER',
|
|
123
|
+
'YARD'
|
|
124
|
+
]).optional(),
|
|
125
|
+
strokeType: z.enum([
|
|
126
|
+
'BACKSTROKE',
|
|
127
|
+
'BREASTSTROKE',
|
|
128
|
+
'DRILL',
|
|
129
|
+
'BUTTERFLY',
|
|
130
|
+
'FREESTYLE',
|
|
131
|
+
'MIXED',
|
|
132
|
+
'IM',
|
|
133
|
+
'IM_BY_ROUND',
|
|
134
|
+
'REVERSE_IM_BY_ROUND',
|
|
135
|
+
'CHOICE'
|
|
136
|
+
]).optional(),
|
|
137
|
+
drillType: z.enum([
|
|
138
|
+
'KICK',
|
|
139
|
+
'PULL',
|
|
140
|
+
'DRILL'
|
|
141
|
+
]).optional(),
|
|
142
|
+
equipmentType: z.enum([
|
|
143
|
+
'NONE',
|
|
144
|
+
'SWIM_FINS',
|
|
145
|
+
'SWIM_KICKBOARD',
|
|
146
|
+
'SWIM_PADDLES',
|
|
147
|
+
'SWIM_PULL_BUOY',
|
|
148
|
+
'SWIM_SNORKEL'
|
|
149
|
+
]).optional(),
|
|
150
|
+
exerciseCategory: z.string().optional(),
|
|
151
|
+
exerciseName: z.string().optional(),
|
|
152
|
+
weightValue: z.number().optional(),
|
|
153
|
+
weightDisplayUnit: z.enum([
|
|
154
|
+
'OTHER',
|
|
155
|
+
'KILOGRAM',
|
|
156
|
+
'POUND'
|
|
157
|
+
]).optional(),
|
|
158
|
+
type: z.literal('WorkoutStep')
|
|
159
|
+
}));
|
|
160
|
+
|
|
161
|
+
export const zWorkout = z.object({
|
|
162
|
+
workoutId: z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }).optional(),
|
|
163
|
+
ownerId: z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }).optional(),
|
|
164
|
+
workoutName: z.string().optional(),
|
|
165
|
+
description: z.string().optional(),
|
|
166
|
+
updatedDate: z.string().regex(/2022-08-10T09:47:59\.031/).optional(),
|
|
167
|
+
createdDate: z.string().regex(/2022-08-10T09:47:59\.031/).optional(),
|
|
168
|
+
updatedTimeStamp: z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }).optional(),
|
|
169
|
+
createdTimeStamp: z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }).optional(),
|
|
170
|
+
sport: z.enum([
|
|
171
|
+
'RUNNING',
|
|
172
|
+
'CYCLING',
|
|
173
|
+
'LAP_SWIMMING',
|
|
174
|
+
'STRENGTH_TRAINING',
|
|
175
|
+
'CARDIO_TRAINING',
|
|
176
|
+
'YOGA',
|
|
177
|
+
'PILATES',
|
|
178
|
+
'GENERIC',
|
|
179
|
+
'HIIT',
|
|
180
|
+
'MULTI_SPORT'
|
|
181
|
+
]).optional(),
|
|
182
|
+
estimatedDurationInSecs: z.int().min(-2147483648, { error: 'Invalid value: Expected int32 to be >= -2147483648' }).max(2147483647, { error: 'Invalid value: Expected int32 to be <= 2147483647' }).optional(),
|
|
183
|
+
estimatedDistanceInMeters: z.number().optional(),
|
|
184
|
+
poolLength: z.number().optional(),
|
|
185
|
+
poolLengthUnit: z.enum(['YARD', 'METER']).optional(),
|
|
186
|
+
workoutProvider: z.string().optional(),
|
|
187
|
+
workoutSourceId: z.string().optional(),
|
|
188
|
+
steps: z.array(z.union([zWorkoutRepeatStep, zWorkoutStep])).optional()
|
|
189
|
+
});
|
|
190
|
+
|
|
191
|
+
export const zSegment = z.object({
|
|
192
|
+
segmentOrder: z.int().min(-2147483648, { error: 'Invalid value: Expected int32 to be >= -2147483648' }).max(2147483647, { error: 'Invalid value: Expected int32 to be <= 2147483647' }).optional(),
|
|
193
|
+
sport: z.enum([
|
|
194
|
+
'RUNNING',
|
|
195
|
+
'CYCLING',
|
|
196
|
+
'LAP_SWIMMING',
|
|
197
|
+
'STRENGTH_TRAINING',
|
|
198
|
+
'CARDIO_TRAINING',
|
|
199
|
+
'YOGA',
|
|
200
|
+
'PILATES',
|
|
201
|
+
'GENERIC',
|
|
202
|
+
'HIIT',
|
|
203
|
+
'MULTI_SPORT'
|
|
204
|
+
]).optional(),
|
|
205
|
+
estimatedDurationInSecs: z.int().min(-2147483648, { error: 'Invalid value: Expected int32 to be >= -2147483648' }).max(2147483647, { error: 'Invalid value: Expected int32 to be <= 2147483647' }).optional(),
|
|
206
|
+
estimatedDistanceInMeters: z.number().optional(),
|
|
207
|
+
poolLength: z.number().optional(),
|
|
208
|
+
poolLengthUnit: z.enum(['YARD', 'METER']).optional(),
|
|
209
|
+
steps: z.array(z.union([zWorkoutRepeatStep, zWorkoutStep])).optional()
|
|
210
|
+
});
|
|
211
|
+
|
|
212
|
+
export const zWorkoutV2 = z.object({
|
|
213
|
+
workoutId: z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }).optional(),
|
|
214
|
+
ownerId: z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }).optional(),
|
|
215
|
+
workoutName: z.string().optional(),
|
|
216
|
+
description: z.string().optional(),
|
|
217
|
+
updatedDate: z.string().regex(/2022-08-10T09:47:59\.031/).optional(),
|
|
218
|
+
createdDate: z.string().regex(/2022-08-10T09:47:59\.031/).optional(),
|
|
219
|
+
updatedTimeStamp: z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }).optional(),
|
|
220
|
+
createdTimeStamp: z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }).optional(),
|
|
221
|
+
sport: z.enum([
|
|
222
|
+
'RUNNING',
|
|
223
|
+
'CYCLING',
|
|
224
|
+
'LAP_SWIMMING',
|
|
225
|
+
'STRENGTH_TRAINING',
|
|
226
|
+
'CARDIO_TRAINING',
|
|
227
|
+
'YOGA',
|
|
228
|
+
'PILATES',
|
|
229
|
+
'GENERIC',
|
|
230
|
+
'HIIT',
|
|
231
|
+
'MULTI_SPORT'
|
|
232
|
+
]).optional(),
|
|
233
|
+
estimatedDurationInSecs: z.int().min(-2147483648, { error: 'Invalid value: Expected int32 to be >= -2147483648' }).max(2147483647, { error: 'Invalid value: Expected int32 to be <= 2147483647' }).optional(),
|
|
234
|
+
estimatedDistanceInMeters: z.number().optional(),
|
|
235
|
+
poolLength: z.number().optional(),
|
|
236
|
+
poolLengthUnit: z.enum(['YARD', 'METER']).optional(),
|
|
237
|
+
workoutProvider: z.string().optional(),
|
|
238
|
+
workoutSourceId: z.string().optional(),
|
|
239
|
+
isSessionTransitionEnabled: z.boolean().optional(),
|
|
240
|
+
segments: z.array(zSegment).optional()
|
|
241
|
+
});
|
|
242
|
+
|
|
243
|
+
export const zWorkoutSchedule = z.object({
|
|
244
|
+
scheduleId: z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }).optional(),
|
|
245
|
+
workoutId: z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }).optional(),
|
|
246
|
+
date: z.iso.date().optional()
|
|
247
|
+
});
|
|
248
|
+
|
|
249
|
+
export const zServiceFailure = z.object({
|
|
250
|
+
errorType: z.string().optional(),
|
|
251
|
+
message: z.string().optional(),
|
|
252
|
+
errorMessage: z.string().optional(),
|
|
253
|
+
errorId: z.string().optional()
|
|
254
|
+
});
|
|
255
|
+
|
|
256
|
+
export const zConnectErrorBody = z.object({
|
|
257
|
+
message: z.string().optional(),
|
|
258
|
+
error: z.string().optional()
|
|
259
|
+
});
|
|
260
|
+
|
|
261
|
+
export const zDeleteWorkoutData = z.object({
|
|
262
|
+
body: z.never().optional(),
|
|
263
|
+
path: z.object({
|
|
264
|
+
workoutId: z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' })
|
|
265
|
+
}),
|
|
266
|
+
query: z.never().optional()
|
|
267
|
+
});
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* No Content
|
|
271
|
+
*/
|
|
272
|
+
export const zDeleteWorkoutResponse = z.void();
|
|
273
|
+
|
|
274
|
+
export const zGetWorkoutData = z.object({
|
|
275
|
+
body: z.never().optional(),
|
|
276
|
+
path: z.object({
|
|
277
|
+
workoutId: z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' })
|
|
278
|
+
}),
|
|
279
|
+
query: z.never().optional()
|
|
280
|
+
});
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* OK
|
|
284
|
+
*/
|
|
285
|
+
export const zGetWorkoutResponse = zWorkout;
|
|
286
|
+
|
|
287
|
+
export const zUpdateWorkoutData = z.object({
|
|
288
|
+
body: zWorkout,
|
|
289
|
+
path: z.object({
|
|
290
|
+
workoutId: z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' })
|
|
291
|
+
}),
|
|
292
|
+
query: z.never().optional()
|
|
293
|
+
});
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* No Content
|
|
297
|
+
*/
|
|
298
|
+
export const zUpdateWorkoutResponse = z.void();
|
|
299
|
+
|
|
300
|
+
export const zDeleteWorkoutV2Data = z.object({
|
|
301
|
+
body: z.never().optional(),
|
|
302
|
+
path: z.object({
|
|
303
|
+
workoutId: z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' })
|
|
304
|
+
}),
|
|
305
|
+
query: z.never().optional()
|
|
306
|
+
});
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* No Content
|
|
310
|
+
*/
|
|
311
|
+
export const zDeleteWorkoutV2Response = z.void();
|
|
312
|
+
|
|
313
|
+
export const zGetWorkoutV2Data = z.object({
|
|
314
|
+
body: z.never().optional(),
|
|
315
|
+
path: z.object({
|
|
316
|
+
workoutId: z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' })
|
|
317
|
+
}),
|
|
318
|
+
query: z.never().optional()
|
|
319
|
+
});
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* OK
|
|
323
|
+
*/
|
|
324
|
+
export const zGetWorkoutV2Response = zWorkoutV2;
|
|
325
|
+
|
|
326
|
+
export const zUpdateWorkoutV2Data = z.object({
|
|
327
|
+
body: zWorkoutV2,
|
|
328
|
+
path: z.object({
|
|
329
|
+
workoutId: z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' })
|
|
330
|
+
}),
|
|
331
|
+
query: z.never().optional()
|
|
332
|
+
});
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* No Content
|
|
336
|
+
*/
|
|
337
|
+
export const zUpdateWorkoutV2Response = z.void();
|
|
338
|
+
|
|
339
|
+
export const zCreateWorkoutV2Data = z.object({
|
|
340
|
+
body: zWorkoutV2,
|
|
341
|
+
path: z.never().optional(),
|
|
342
|
+
query: z.never().optional()
|
|
343
|
+
});
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* OK
|
|
347
|
+
*/
|
|
348
|
+
export const zCreateWorkoutV2Response = zWorkoutV2;
|
|
349
|
+
|
|
350
|
+
export const zCreateWorkoutData = z.object({
|
|
351
|
+
body: zWorkout,
|
|
352
|
+
path: z.never().optional(),
|
|
353
|
+
query: z.never().optional()
|
|
354
|
+
});
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* OK
|
|
358
|
+
*/
|
|
359
|
+
export const zCreateWorkoutResponse = zWorkout;
|
|
360
|
+
|
|
361
|
+
export const zDeleteWorkoutScheduleData = z.object({
|
|
362
|
+
body: z.never().optional(),
|
|
363
|
+
path: z.object({
|
|
364
|
+
workoutScheduleId: z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' })
|
|
365
|
+
}),
|
|
366
|
+
query: z.never().optional()
|
|
367
|
+
});
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* No Content
|
|
371
|
+
*/
|
|
372
|
+
export const zDeleteWorkoutScheduleResponse = z.void();
|
|
373
|
+
|
|
374
|
+
export const zGetWorkoutScheduleData = z.object({
|
|
375
|
+
body: z.never().optional(),
|
|
376
|
+
path: z.object({
|
|
377
|
+
workoutScheduleId: z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' })
|
|
378
|
+
}),
|
|
379
|
+
query: z.never().optional()
|
|
380
|
+
});
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* OK
|
|
384
|
+
*/
|
|
385
|
+
export const zGetWorkoutScheduleResponse = zWorkoutSchedule;
|
|
386
|
+
|
|
387
|
+
export const zUpdateWorkoutScheduleData = z.object({
|
|
388
|
+
body: zWorkoutSchedule,
|
|
389
|
+
path: z.object({
|
|
390
|
+
workoutScheduleId: z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' })
|
|
391
|
+
}),
|
|
392
|
+
query: z.never().optional()
|
|
393
|
+
});
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* No Content
|
|
397
|
+
*/
|
|
398
|
+
export const zUpdateWorkoutScheduleResponse = z.void();
|
|
399
|
+
|
|
400
|
+
export const zQueryWorkoutScheduleByDatesData = z.object({
|
|
401
|
+
body: z.never().optional(),
|
|
402
|
+
path: z.never().optional(),
|
|
403
|
+
query: z.object({
|
|
404
|
+
startDate: z.iso.date(),
|
|
405
|
+
endDate: z.iso.date()
|
|
406
|
+
})
|
|
407
|
+
});
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* OK
|
|
411
|
+
*/
|
|
412
|
+
export const zQueryWorkoutScheduleByDatesResponse = z.array(zWorkoutSchedule);
|
|
413
|
+
|
|
414
|
+
export const zCreateWorkoutScheduleData = z.object({
|
|
415
|
+
body: zWorkoutSchedule,
|
|
416
|
+
path: z.never().optional(),
|
|
417
|
+
query: z.never().optional()
|
|
418
|
+
});
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* OK
|
|
422
|
+
*/
|
|
423
|
+
export const zCreateWorkoutScheduleResponse = z.coerce.bigint().min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }).max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' });
|