@keiser/metrics-sdk-admin-typescript 5.3.17 → 5.4.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/README.md +27 -2
- package/dist/apis/MetricsAdminApi.d.ts +13 -2
- package/dist/connection.d.ts +3 -3
- package/dist/index.js +6006 -3206
- package/dist/index.mjs +5864 -3207
- package/dist/models/A400DataSetData.d.ts +50 -0
- package/dist/models/A500AppType.d.ts +20 -8
- package/dist/models/A500DataSetData.d.ts +5 -5
- package/dist/models/A500DataSetType.d.ts +18 -6
- package/dist/models/A500MachineStateData.d.ts +4 -4
- package/dist/models/A500RepDataPointData.d.ts +3 -3
- package/dist/models/A500TestResultData.d.ts +2 -2
- package/dist/models/A500TimeSeriesPointData.d.ts +2 -2
- package/dist/models/AcceptedTermsVersionData.d.ts +2 -2
- package/dist/models/AccessControlRight.d.ts +18 -6
- package/dist/models/AnalyticRight.d.ts +17 -5
- package/dist/models/BodyCompositionMeasurementData.d.ts +2 -2
- package/dist/models/CacheKeysResponse.d.ts +2 -2
- package/dist/models/CacheObject.d.ts +2 -2
- package/dist/models/CacheObjectResponse.d.ts +2 -2
- package/dist/models/CardioExerciseData.d.ts +4 -4
- package/dist/models/CardioExerciseVariantData.d.ts +4 -4
- package/dist/models/CardioExerciseVariantType.d.ts +17 -5
- package/dist/models/CardioMachineData.d.ts +3 -3
- package/dist/models/CardioMachineParseCode.d.ts +18 -6
- package/dist/models/CharacterType.d.ts +18 -6
- package/dist/models/DisplayDataMode.d.ts +35 -0
- package/dist/models/DisplayFocusMode.d.ts +35 -0
- package/dist/models/DisplayUnit.d.ts +36 -0
- package/dist/models/EmailAddressData.d.ts +2 -2
- package/dist/models/EmployeeRole.d.ts +21 -9
- package/dist/models/Exercise.d.ts +49 -0
- package/dist/models/ExerciseAliasData.d.ts +4 -4
- package/dist/models/ExerciseAliasType.d.ts +19 -7
- package/dist/models/ExerciseOrdinalSetAssignmentData.d.ts +3 -3
- package/dist/models/ExerciseOrdinalSetData.d.ts +2 -2
- package/dist/models/ExerciseRight.d.ts +17 -5
- package/dist/models/FacilityConfigurationData.d.ts +2 -2
- package/dist/models/FacilityData.d.ts +15 -2
- package/dist/models/FacilityDisplayConfigurationData.d.ts +132 -0
- package/dist/models/FacilityDisplayOperatingSchedule.d.ts +68 -0
- package/dist/models/FacilityDisplayOperatingScheduleEntry.d.ts +38 -0
- package/dist/models/FacilityDisplayOperatingScheduleTime.d.ts +37 -0
- package/dist/models/FacilityLicenseData.d.ts +2 -2
- package/dist/models/FacilityLicenseListResponse.d.ts +2 -2
- package/dist/models/FacilityLicenseListResponseMeta.d.ts +2 -2
- package/dist/models/FacilityLicenseResponse.d.ts +2 -2
- package/dist/models/FacilityLicenseSorting.d.ts +20 -8
- package/dist/models/FacilityLicenseType.d.ts +19 -7
- package/dist/models/FacilityProfileData.d.ts +2 -2
- package/dist/models/FacilityRelationshipData.d.ts +21 -3
- package/dist/models/FacilityResponse.d.ts +44 -0
- package/dist/models/FacilityRight.d.ts +18 -6
- package/dist/models/FacilitySessionUserData.d.ts +6 -6
- package/dist/models/FacilityStrengthMachineConfigurationData.d.ts +3 -3
- package/dist/models/FacilityStrengthMachineData.d.ts +3 -3
- package/dist/models/ForceUnit.d.ts +20 -8
- package/dist/models/GlobalAccessControlCreationResponse.d.ts +2 -2
- package/dist/models/GlobalAccessControlData.d.ts +6 -6
- package/dist/models/GlobalAccessControlListResponse.d.ts +2 -2
- package/dist/models/GlobalAccessControlListResponseMeta.d.ts +2 -2
- package/dist/models/GlobalAccessControlResponse.d.ts +2 -2
- package/dist/models/GlobalAccessControlSecretData.d.ts +2 -2
- package/dist/models/GlobalAccessControlSecretResponse.d.ts +2 -2
- package/dist/models/GlobalAccessControlSorting.d.ts +18 -6
- package/dist/models/HeartRateDataPointData.d.ts +2 -2
- package/dist/models/HeartRateDataSetData.d.ts +2 -2
- package/dist/models/HeartRateDataSetSessionData.d.ts +2 -2
- package/dist/models/HeightMeasurementData.d.ts +2 -2
- package/dist/models/High.d.ts +2 -2
- package/dist/models/LicenseRight.d.ts +18 -6
- package/dist/models/Low.d.ts +2 -2
- package/dist/models/MSeriesDataPointData.d.ts +2 -2
- package/dist/models/MSeriesDataSetData.d.ts +4 -4
- package/dist/models/MSeriesDataSetSegmentData.d.ts +2 -2
- package/dist/models/MSeriesFtpMeasurementData.d.ts +2 -2
- package/dist/models/MSeriesGuidedSessionRight.d.ts +18 -6
- package/dist/models/MachineWorkoutSetResponseData.d.ts +154 -0
- package/dist/models/MaintenanceStatus.d.ts +2 -2
- package/dist/models/MotionDataPoint.d.ts +79 -0
- package/dist/models/MuscleArea.d.ts +19 -7
- package/dist/models/MuscleData.d.ts +2 -2
- package/dist/models/MuscleGroup.d.ts +30 -18
- package/dist/models/MuscleTargetLevel.d.ts +19 -7
- package/dist/models/OAuthServiceData.d.ts +2 -2
- package/dist/models/PowerRegression.d.ts +43 -0
- package/dist/models/PrimaryEmailAddressData.d.ts +2 -2
- package/dist/models/ProfileData.d.ts +14 -2
- package/dist/models/Queue.d.ts +18 -6
- package/dist/models/ResistancePrecision.d.ts +18 -6
- package/dist/models/ResqueDetailsData.d.ts +6 -4
- package/dist/models/ResqueDetailsResponse.d.ts +2 -2
- package/dist/models/ResqueRight.d.ts +18 -6
- package/dist/models/ServiceStatusResponse.d.ts +2 -2
- package/dist/models/SessionData.d.ts +6 -6
- package/dist/models/SessionPlanActivitySetData.d.ts +2 -2
- package/dist/models/SessionPlanCardioSetData.d.ts +3 -3
- package/dist/models/SessionPlanData.d.ts +3 -3
- package/dist/models/SessionPlanSequenceAssignmentData.d.ts +2 -2
- package/dist/models/SessionPlanSequenceData.d.ts +2 -2
- package/dist/models/SessionPlanSequenceInstanceData.d.ts +3 -3
- package/dist/models/SessionPlanSetData.d.ts +4 -4
- package/dist/models/SessionPlanSetInstanceData.d.ts +3 -3
- package/dist/models/SessionPlanSetType.d.ts +20 -8
- package/dist/models/SessionPlanStrengthSetData.d.ts +3 -3
- package/dist/models/SessionPlanStretchSetData.d.ts +2 -2
- package/dist/models/SetType.d.ts +36 -0
- package/dist/models/Side.d.ts +18 -6
- package/dist/models/SixRepTestData.d.ts +43 -0
- package/dist/models/StatData.d.ts +2 -2
- package/dist/models/StatListResponse.d.ts +3 -3
- package/dist/models/StatListResponseMeta.d.ts +2 -2
- package/dist/models/StatSorting.d.ts +18 -6
- package/dist/models/StrengthExerciseCategory.d.ts +21 -9
- package/dist/models/StrengthExerciseData.d.ts +5 -5
- package/dist/models/StrengthExerciseMovement.d.ts +18 -6
- package/dist/models/StrengthExerciseMovementDEP.d.ts +18 -6
- package/dist/models/StrengthExercisePlane.d.ts +19 -7
- package/dist/models/StrengthExerciseVariantAttachment.d.ts +25 -13
- package/dist/models/StrengthExerciseVariantData.d.ts +6 -6
- package/dist/models/StrengthExerciseVariantType.d.ts +22 -10
- package/dist/models/StrengthMachineAppType.d.ts +20 -8
- package/dist/models/StrengthMachineData.d.ts +10 -3
- package/dist/models/StrengthMachineDataSetData.d.ts +37 -5
- package/dist/models/StrengthMachineDataSetTestData.d.ts +3 -3
- package/dist/models/StrengthMachineDataSetTestSubsetData.d.ts +2 -2
- package/dist/models/StrengthMachineLine.d.ts +23 -11
- package/dist/models/StrengthMachineModelData.d.ts +2 -2
- package/dist/models/StrengthMachineModelNumberData.d.ts +37 -0
- package/dist/models/StrengthTestType.d.ts +20 -8
- package/dist/models/StretchExerciseData.d.ts +3 -3
- package/dist/models/StretchExerciseVariantData.d.ts +2 -2
- package/dist/models/StretchExerciseVariantType.d.ts +17 -5
- package/dist/models/TaskFailedResponse.d.ts +3 -3
- package/dist/models/TaskFailure.d.ts +3 -3
- package/dist/models/TaskPayload.d.ts +2 -2
- package/dist/models/TaskQueueResponse.d.ts +3 -3
- package/dist/models/TaskQueueResponseMeta.d.ts +2 -2
- package/dist/models/TaskQueues.d.ts +2 -2
- package/dist/models/TaskSorting.d.ts +17 -5
- package/dist/models/TaskStats.d.ts +2 -2
- package/dist/models/TenRepTestData.d.ts +59 -0
- package/dist/models/TenRepTestSideResults.d.ts +63 -0
- package/dist/models/TestSide.d.ts +19 -7
- package/dist/models/TimeZone.d.ts +625 -0
- package/dist/models/UserData.d.ts +6 -6
- package/dist/models/UserListResponse.d.ts +2 -2
- package/dist/models/UserListResponseMeta.d.ts +2 -2
- package/dist/models/UserResponse.d.ts +2 -2
- package/dist/models/UserRight.d.ts +18 -6
- package/dist/models/UserSorting.d.ts +19 -7
- package/dist/models/Value.d.ts +37 -0
- package/dist/models/VelocityRegression.d.ts +37 -0
- package/dist/models/WeightMeasurementData.d.ts +2 -2
- package/dist/models/WorkersResponse.d.ts +6 -4
- package/dist/models/WorkoutSetPositionDataEvent.d.ts +50 -0
- package/dist/models/WorkoutSetRepDataPoint.d.ts +50 -0
- package/dist/models/WorkoutSetSideData.d.ts +110 -0
- package/dist/models/index.d.ts +24 -0
- package/dist/runtime.d.ts +13 -2
- package/docs/A400DataSetData.md +13 -0
- package/docs/A500AppType.md +4 -4
- package/docs/A500DataSetType.md +2 -2
- package/docs/AccessControlRight.md +2 -2
- package/docs/AnalyticRight.md +1 -1
- package/docs/CardioExerciseVariantType.md +1 -1
- package/docs/CardioMachineParseCode.md +2 -2
- package/docs/CharacterType.md +2 -2
- package/docs/DisplayDataMode.md +11 -0
- package/docs/DisplayFocusMode.md +11 -0
- package/docs/DisplayUnit.md +13 -0
- package/docs/EmployeeRole.md +5 -5
- package/docs/Exercise.md +13 -0
- package/docs/ExerciseAliasType.md +3 -3
- package/docs/ExerciseRight.md +1 -1
- package/docs/FacilityData.md +2 -0
- package/docs/FacilityDisplayConfigurationData.md +26 -0
- package/docs/FacilityDisplayOperatingSchedule.md +16 -0
- package/docs/FacilityDisplayOperatingScheduleEntry.md +11 -0
- package/docs/FacilityDisplayOperatingScheduleTime.md +11 -0
- package/docs/FacilityLicenseSorting.md +4 -4
- package/docs/FacilityLicenseType.md +3 -3
- package/docs/FacilityRelationshipData.md +3 -0
- package/docs/FacilityResponse.md +12 -0
- package/docs/FacilityRight.md +2 -2
- package/docs/ForceUnit.md +4 -4
- package/docs/GlobalAccessControlSorting.md +2 -2
- package/docs/LicenseRight.md +2 -2
- package/docs/MSeriesGuidedSessionRight.md +2 -2
- package/docs/MachineWorkoutSetResponseData.md +29 -0
- package/docs/MetricsAdminApi.md +55 -0
- package/docs/MotionDataPoint.md +18 -0
- package/docs/MuscleArea.md +3 -3
- package/docs/MuscleGroup.md +14 -14
- package/docs/MuscleTargetLevel.md +3 -3
- package/docs/PowerRegression.md +12 -0
- package/docs/ProfileData.md +2 -0
- package/docs/Queue.md +2 -2
- package/docs/ResistancePrecision.md +2 -2
- package/docs/ResqueDetailsData.md +1 -1
- package/docs/ResqueRight.md +2 -2
- package/docs/SessionPlanSetType.md +4 -4
- package/docs/SetType.md +13 -0
- package/docs/Side.md +2 -2
- package/docs/SixRepTestData.md +12 -0
- package/docs/StatSorting.md +2 -2
- package/docs/StrengthExerciseCategory.md +5 -5
- package/docs/StrengthExerciseMovement.md +2 -2
- package/docs/StrengthExerciseMovementDEP.md +2 -2
- package/docs/StrengthExercisePlane.md +3 -3
- package/docs/StrengthExerciseVariantAttachment.md +9 -9
- package/docs/StrengthExerciseVariantData.md +1 -1
- package/docs/StrengthExerciseVariantType.md +6 -6
- package/docs/StrengthMachineAppType.md +4 -4
- package/docs/StrengthMachineData.md +1 -0
- package/docs/StrengthMachineDataSetData.md +5 -0
- package/docs/StrengthMachineLine.md +7 -7
- package/docs/StrengthMachineModelNumberData.md +11 -0
- package/docs/StrengthTestType.md +4 -4
- package/docs/StretchExerciseVariantType.md +1 -1
- package/docs/TaskSorting.md +1 -1
- package/docs/TenRepTestData.md +26 -0
- package/docs/TenRepTestSideResults.md +15 -0
- package/docs/TestSide.md +3 -3
- package/docs/TimeZone.md +1191 -0
- package/docs/UserRight.md +2 -2
- package/docs/UserSorting.md +3 -3
- package/docs/Value.md +11 -0
- package/docs/VelocityRegression.md +11 -0
- package/docs/WorkersResponse.md +1 -1
- package/docs/WorkoutSetPositionDataEvent.md +13 -0
- package/docs/WorkoutSetRepDataPoint.md +13 -0
- package/docs/WorkoutSetSideData.md +23 -0
- package/package.json +3 -1
- package/src/apis/MetricsAdminApi.ts +65 -1
- package/src/connection.ts +21 -9
- package/src/models/A400DataSetData.ts +94 -0
- package/src/models/A500AppType.ts +28 -9
- package/src/models/A500DataSetData.ts +38 -43
- package/src/models/A500DataSetType.ts +26 -7
- package/src/models/A500MachineStateData.ts +31 -36
- package/src/models/A500RepDataPointData.ts +55 -60
- package/src/models/A500TestResultData.ts +33 -38
- package/src/models/A500TimeSeriesPointData.ts +47 -52
- package/src/models/AcceptedTermsVersionData.ts +13 -18
- package/src/models/AccessControlRight.ts +26 -7
- package/src/models/AnalyticRight.ts +25 -6
- package/src/models/BodyCompositionMeasurementData.ts +69 -74
- package/src/models/CacheKeysResponse.ts +13 -18
- package/src/models/CacheObject.ts +17 -22
- package/src/models/CacheObjectResponse.ts +13 -18
- package/src/models/CardioExerciseData.ts +31 -36
- package/src/models/CardioExerciseVariantData.ts +32 -37
- package/src/models/CardioExerciseVariantType.ts +25 -6
- package/src/models/CardioMachineData.ts +27 -32
- package/src/models/CardioMachineParseCode.ts +26 -7
- package/src/models/CharacterType.ts +26 -7
- package/src/models/DisplayDataMode.ts +60 -0
- package/src/models/DisplayFocusMode.ts +60 -0
- package/src/models/DisplayUnit.ts +62 -0
- package/src/models/EmailAddressData.ts +15 -20
- package/src/models/EmployeeRole.ts +29 -10
- package/src/models/Exercise.ts +88 -0
- package/src/models/ExerciseAliasData.ts +30 -35
- package/src/models/ExerciseAliasType.ts +27 -8
- package/src/models/ExerciseOrdinalSetAssignmentData.ts +25 -30
- package/src/models/ExerciseOrdinalSetData.ts +17 -22
- package/src/models/ExerciseRight.ts +25 -6
- package/src/models/FacilityConfigurationData.ts +27 -32
- package/src/models/FacilityData.ts +42 -24
- package/src/models/FacilityDisplayConfigurationData.ts +233 -0
- package/src/models/FacilityDisplayOperatingSchedule.ts +122 -0
- package/src/models/FacilityDisplayOperatingScheduleEntry.ts +77 -0
- package/src/models/FacilityDisplayOperatingScheduleTime.ts +70 -0
- package/src/models/FacilityLicenseData.ts +23 -28
- package/src/models/FacilityLicenseListResponse.ts +15 -20
- package/src/models/FacilityLicenseListResponseMeta.ts +25 -30
- package/src/models/FacilityLicenseResponse.ts +13 -18
- package/src/models/FacilityLicenseSorting.ts +28 -9
- package/src/models/FacilityLicenseType.ts +27 -8
- package/src/models/FacilityProfileData.ts +23 -28
- package/src/models/FacilityRelationshipData.ts +56 -36
- package/src/models/FacilityResponse.ts +84 -0
- package/src/models/FacilityRight.ts +26 -7
- package/src/models/FacilitySessionUserData.ts +55 -60
- package/src/models/FacilityStrengthMachineConfigurationData.ts +29 -34
- package/src/models/FacilityStrengthMachineData.ts +37 -42
- package/src/models/ForceUnit.ts +28 -9
- package/src/models/GlobalAccessControlCreationResponse.ts +15 -20
- package/src/models/GlobalAccessControlData.ts +51 -56
- package/src/models/GlobalAccessControlListResponse.ts +15 -20
- package/src/models/GlobalAccessControlListResponseMeta.ts +19 -24
- package/src/models/GlobalAccessControlResponse.ts +13 -18
- package/src/models/GlobalAccessControlSecretData.ts +11 -16
- package/src/models/GlobalAccessControlSecretResponse.ts +13 -18
- package/src/models/GlobalAccessControlSorting.ts +26 -7
- package/src/models/HeartRateDataPointData.ts +15 -20
- package/src/models/HeartRateDataSetData.ts +25 -30
- package/src/models/HeartRateDataSetSessionData.ts +17 -22
- package/src/models/HeightMeasurementData.ts +17 -22
- package/src/models/High.ts +9 -14
- package/src/models/LicenseRight.ts +26 -7
- package/src/models/Low.ts +9 -14
- package/src/models/MSeriesDataPointData.ts +33 -38
- package/src/models/MSeriesDataSetData.ts +82 -87
- package/src/models/MSeriesDataSetSegmentData.ts +41 -46
- package/src/models/MSeriesFtpMeasurementData.ts +23 -28
- package/src/models/MSeriesGuidedSessionRight.ts +26 -7
- package/src/models/MachineWorkoutSetResponseData.ts +285 -0
- package/src/models/MaintenanceStatus.ts +23 -28
- package/src/models/MotionDataPoint.ts +133 -0
- package/src/models/MuscleArea.ts +27 -8
- package/src/models/MuscleData.ts +17 -22
- package/src/models/MuscleGroup.ts +38 -19
- package/src/models/MuscleTargetLevel.ts +27 -8
- package/src/models/OAuthServiceData.ts +23 -28
- package/src/models/PowerRegression.ts +79 -0
- package/src/models/PrimaryEmailAddressData.ts +11 -16
- package/src/models/ProfileData.ts +37 -26
- package/src/models/Queue.ts +26 -7
- package/src/models/ResistancePrecision.ts +26 -7
- package/src/models/ResqueDetailsData.ts +17 -22
- package/src/models/ResqueDetailsResponse.ts +13 -18
- package/src/models/ResqueRight.ts +26 -7
- package/src/models/ServiceStatusResponse.ts +9 -14
- package/src/models/SessionData.ts +63 -68
- package/src/models/SessionPlanActivitySetData.ts +9 -14
- package/src/models/SessionPlanCardioSetData.ts +23 -28
- package/src/models/SessionPlanData.ts +43 -48
- package/src/models/SessionPlanSequenceAssignmentData.ts +13 -18
- package/src/models/SessionPlanSequenceData.ts +19 -24
- package/src/models/SessionPlanSequenceInstanceData.ts +31 -36
- package/src/models/SessionPlanSetData.ts +32 -37
- package/src/models/SessionPlanSetInstanceData.ts +29 -34
- package/src/models/SessionPlanSetType.ts +28 -9
- package/src/models/SessionPlanStrengthSetData.ts +23 -28
- package/src/models/SessionPlanStretchSetData.ts +9 -14
- package/src/models/SetType.ts +62 -0
- package/src/models/Side.ts +26 -7
- package/src/models/SixRepTestData.ts +79 -0
- package/src/models/StatData.ts +31 -36
- package/src/models/StatListResponse.ts +21 -26
- package/src/models/StatListResponseMeta.ts +21 -26
- package/src/models/StatSorting.ts +26 -7
- package/src/models/StrengthExerciseCategory.ts +29 -10
- package/src/models/StrengthExerciseData.ts +44 -49
- package/src/models/StrengthExerciseMovement.ts +26 -7
- package/src/models/StrengthExerciseMovementDEP.ts +26 -7
- package/src/models/StrengthExercisePlane.ts +27 -8
- package/src/models/StrengthExerciseVariantAttachment.ts +33 -14
- package/src/models/StrengthExerciseVariantData.ts +44 -50
- package/src/models/StrengthExerciseVariantType.ts +30 -11
- package/src/models/StrengthMachineAppType.ts +28 -9
- package/src/models/StrengthMachineData.ts +43 -34
- package/src/models/StrengthMachineDataSetData.ts +126 -79
- package/src/models/StrengthMachineDataSetTestData.ts +19 -24
- package/src/models/StrengthMachineDataSetTestSubsetData.ts +15 -20
- package/src/models/StrengthMachineLine.ts +31 -12
- package/src/models/StrengthMachineModelData.ts +9 -14
- package/src/models/StrengthMachineModelNumberData.ts +70 -0
- package/src/models/StrengthTestType.ts +28 -9
- package/src/models/StretchExerciseData.ts +23 -28
- package/src/models/StretchExerciseVariantData.ts +19 -24
- package/src/models/StretchExerciseVariantType.ts +25 -6
- package/src/models/TaskFailedResponse.ts +21 -26
- package/src/models/TaskFailure.ts +27 -32
- package/src/models/TaskPayload.ts +13 -18
- package/src/models/TaskQueueResponse.ts +21 -26
- package/src/models/TaskQueueResponseMeta.ts +19 -24
- package/src/models/TaskQueues.ts +11 -16
- package/src/models/TaskSorting.ts +25 -6
- package/src/models/TaskStats.ts +11 -16
- package/src/models/TenRepTestData.ts +111 -0
- package/src/models/TenRepTestSideResults.ts +119 -0
- package/src/models/TestSide.ts +27 -8
- package/src/models/TimeZone.ts +1240 -0
- package/src/models/UserData.ts +55 -60
- package/src/models/UserListResponse.ts +15 -20
- package/src/models/UserListResponseMeta.ts +21 -26
- package/src/models/UserResponse.ts +13 -18
- package/src/models/UserRight.ts +26 -7
- package/src/models/UserSorting.ts +27 -8
- package/src/models/Value.ts +69 -0
- package/src/models/VelocityRegression.ts +70 -0
- package/src/models/WeightMeasurementData.ts +21 -26
- package/src/models/WorkersResponse.ts +15 -20
- package/src/models/WorkoutSetPositionDataEvent.ts +95 -0
- package/src/models/WorkoutSetRepDataPoint.ts +95 -0
- package/src/models/WorkoutSetSideData.ts +185 -0
- package/src/models/index.ts +24 -0
- package/src/runtime.ts +44 -9
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* metrics-sdk-admin
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 5.4.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface VelocityRegression
|
|
20
|
+
*/
|
|
21
|
+
export interface VelocityRegression {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof VelocityRegression
|
|
26
|
+
*/
|
|
27
|
+
m: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof VelocityRegression
|
|
32
|
+
*/
|
|
33
|
+
b: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the VelocityRegression interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfVelocityRegression(value: object): value is VelocityRegression {
|
|
40
|
+
if (!('m' in value) || value['m'] === undefined) return false;
|
|
41
|
+
if (!('b' in value) || value['b'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function VelocityRegressionFromJSON(json: any): VelocityRegression {
|
|
46
|
+
return VelocityRegressionFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function VelocityRegressionFromJSONTyped(json: any, ignoreDiscriminator: boolean): VelocityRegression {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'm': json['m'],
|
|
56
|
+
'b': json['b'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function VelocityRegressionToJSON(value?: VelocityRegression | null): any {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'm': value['m'],
|
|
67
|
+
'b': value['b'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* metrics-sdk-admin
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.4.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
import type { BodyCompositionMeasurementData } from './BodyCompositionMeasurementData';
|
|
17
17
|
import {
|
|
18
18
|
BodyCompositionMeasurementDataFromJSON,
|
|
@@ -73,15 +73,13 @@ export interface WeightMeasurementData {
|
|
|
73
73
|
/**
|
|
74
74
|
* Check if a given object implements the WeightMeasurementData interface.
|
|
75
75
|
*/
|
|
76
|
-
export function instanceOfWeightMeasurementData(value: object):
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
return isInstance;
|
|
76
|
+
export function instanceOfWeightMeasurementData(value: object): value is WeightMeasurementData {
|
|
77
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
78
|
+
if (!('userId' in value) || value['userId'] === undefined) return false;
|
|
79
|
+
if (!('source' in value) || value['source'] === undefined) return false;
|
|
80
|
+
if (!('takenAt' in value) || value['takenAt'] === undefined) return false;
|
|
81
|
+
if (!('metricWeight' in value) || value['metricWeight'] === undefined) return false;
|
|
82
|
+
return true;
|
|
85
83
|
}
|
|
86
84
|
|
|
87
85
|
export function WeightMeasurementDataFromJSON(json: any): WeightMeasurementData {
|
|
@@ -89,7 +87,7 @@ export function WeightMeasurementDataFromJSON(json: any): WeightMeasurementData
|
|
|
89
87
|
}
|
|
90
88
|
|
|
91
89
|
export function WeightMeasurementDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): WeightMeasurementData {
|
|
92
|
-
if (
|
|
90
|
+
if (json == null) {
|
|
93
91
|
return json;
|
|
94
92
|
}
|
|
95
93
|
return {
|
|
@@ -99,27 +97,24 @@ export function WeightMeasurementDataFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
99
97
|
'source': json['source'],
|
|
100
98
|
'takenAt': (new Date(json['takenAt'])),
|
|
101
99
|
'metricWeight': json['metricWeight'],
|
|
102
|
-
'bodyFatPercentage':
|
|
103
|
-
'bodyCompositionMeasurement':
|
|
100
|
+
'bodyFatPercentage': json['bodyFatPercentage'] == null ? undefined : json['bodyFatPercentage'],
|
|
101
|
+
'bodyCompositionMeasurement': json['bodyCompositionMeasurement'] == null ? undefined : BodyCompositionMeasurementDataFromJSON(json['bodyCompositionMeasurement']),
|
|
104
102
|
};
|
|
105
103
|
}
|
|
106
104
|
|
|
107
105
|
export function WeightMeasurementDataToJSON(value?: WeightMeasurementData | null): any {
|
|
108
|
-
if (value
|
|
109
|
-
return
|
|
110
|
-
}
|
|
111
|
-
if (value === null) {
|
|
112
|
-
return null;
|
|
106
|
+
if (value == null) {
|
|
107
|
+
return value;
|
|
113
108
|
}
|
|
114
109
|
return {
|
|
115
110
|
|
|
116
|
-
'id': value
|
|
117
|
-
'userId': value
|
|
118
|
-
'source': value
|
|
119
|
-
'takenAt': (value
|
|
120
|
-
'metricWeight': value
|
|
121
|
-
'bodyFatPercentage': value
|
|
122
|
-
'bodyCompositionMeasurement': BodyCompositionMeasurementDataToJSON(value
|
|
111
|
+
'id': value['id'],
|
|
112
|
+
'userId': value['userId'],
|
|
113
|
+
'source': value['source'],
|
|
114
|
+
'takenAt': ((value['takenAt']).toISOString()),
|
|
115
|
+
'metricWeight': value['metricWeight'],
|
|
116
|
+
'bodyFatPercentage': value['bodyFatPercentage'],
|
|
117
|
+
'bodyCompositionMeasurement': BodyCompositionMeasurementDataToJSON(value['bodyCompositionMeasurement']),
|
|
123
118
|
};
|
|
124
119
|
}
|
|
125
120
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* metrics-sdk-admin
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.4.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -21,10 +21,10 @@ import { exists, mapValues } from '../runtime';
|
|
|
21
21
|
export interface WorkersResponse {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {
|
|
24
|
+
* @type {{ [key: string]: any; }}
|
|
25
25
|
* @memberof WorkersResponse
|
|
26
26
|
*/
|
|
27
|
-
workers:
|
|
27
|
+
workers: { [key: string]: any; };
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
@@ -42,11 +42,9 @@ export interface WorkersResponse {
|
|
|
42
42
|
/**
|
|
43
43
|
* Check if a given object implements the WorkersResponse interface.
|
|
44
44
|
*/
|
|
45
|
-
export function instanceOfWorkersResponse(value: object):
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
return isInstance;
|
|
45
|
+
export function instanceOfWorkersResponse(value: object): value is WorkersResponse {
|
|
46
|
+
if (!('workers' in value) || value['workers'] === undefined) return false;
|
|
47
|
+
return true;
|
|
50
48
|
}
|
|
51
49
|
|
|
52
50
|
export function WorkersResponseFromJSON(json: any): WorkersResponse {
|
|
@@ -54,29 +52,26 @@ export function WorkersResponseFromJSON(json: any): WorkersResponse {
|
|
|
54
52
|
}
|
|
55
53
|
|
|
56
54
|
export function WorkersResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkersResponse {
|
|
57
|
-
if (
|
|
55
|
+
if (json == null) {
|
|
58
56
|
return json;
|
|
59
57
|
}
|
|
60
58
|
return {
|
|
61
59
|
|
|
62
60
|
'workers': json['workers'],
|
|
63
|
-
'accessToken':
|
|
64
|
-
'refreshToken':
|
|
61
|
+
'accessToken': json['accessToken'] == null ? undefined : json['accessToken'],
|
|
62
|
+
'refreshToken': json['refreshToken'] == null ? undefined : json['refreshToken'],
|
|
65
63
|
};
|
|
66
64
|
}
|
|
67
65
|
|
|
68
66
|
export function WorkersResponseToJSON(value?: WorkersResponse | null): any {
|
|
69
|
-
if (value
|
|
70
|
-
return
|
|
71
|
-
}
|
|
72
|
-
if (value === null) {
|
|
73
|
-
return null;
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
74
69
|
}
|
|
75
70
|
return {
|
|
76
71
|
|
|
77
|
-
'workers': value
|
|
78
|
-
'accessToken': value
|
|
79
|
-
'refreshToken': value
|
|
72
|
+
'workers': value['workers'],
|
|
73
|
+
'accessToken': value['accessToken'],
|
|
74
|
+
'refreshToken': value['refreshToken'],
|
|
80
75
|
};
|
|
81
76
|
}
|
|
82
77
|
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* metrics-sdk-admin
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 5.4.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { MotionDataPoint } from './MotionDataPoint';
|
|
17
|
+
import {
|
|
18
|
+
MotionDataPointFromJSON,
|
|
19
|
+
MotionDataPointFromJSONTyped,
|
|
20
|
+
MotionDataPointToJSON,
|
|
21
|
+
} from './MotionDataPoint';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface WorkoutSetPositionDataEvent
|
|
27
|
+
*/
|
|
28
|
+
export interface WorkoutSetPositionDataEvent {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof WorkoutSetPositionDataEvent
|
|
33
|
+
*/
|
|
34
|
+
timeSinceEpoch: number;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof WorkoutSetPositionDataEvent
|
|
39
|
+
*/
|
|
40
|
+
completedAt: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {MotionDataPoint}
|
|
44
|
+
* @memberof WorkoutSetPositionDataEvent
|
|
45
|
+
*/
|
|
46
|
+
left: MotionDataPoint;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {MotionDataPoint}
|
|
50
|
+
* @memberof WorkoutSetPositionDataEvent
|
|
51
|
+
*/
|
|
52
|
+
right: MotionDataPoint;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the WorkoutSetPositionDataEvent interface.
|
|
57
|
+
*/
|
|
58
|
+
export function instanceOfWorkoutSetPositionDataEvent(value: object): value is WorkoutSetPositionDataEvent {
|
|
59
|
+
if (!('timeSinceEpoch' in value) || value['timeSinceEpoch'] === undefined) return false;
|
|
60
|
+
if (!('completedAt' in value) || value['completedAt'] === undefined) return false;
|
|
61
|
+
if (!('left' in value) || value['left'] === undefined) return false;
|
|
62
|
+
if (!('right' in value) || value['right'] === undefined) return false;
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function WorkoutSetPositionDataEventFromJSON(json: any): WorkoutSetPositionDataEvent {
|
|
67
|
+
return WorkoutSetPositionDataEventFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function WorkoutSetPositionDataEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkoutSetPositionDataEvent {
|
|
71
|
+
if (json == null) {
|
|
72
|
+
return json;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'timeSinceEpoch': json['timeSinceEpoch'],
|
|
77
|
+
'completedAt': json['completedAt'],
|
|
78
|
+
'left': MotionDataPointFromJSON(json['left']),
|
|
79
|
+
'right': MotionDataPointFromJSON(json['right']),
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function WorkoutSetPositionDataEventToJSON(value?: WorkoutSetPositionDataEvent | null): any {
|
|
84
|
+
if (value == null) {
|
|
85
|
+
return value;
|
|
86
|
+
}
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'timeSinceEpoch': value['timeSinceEpoch'],
|
|
90
|
+
'completedAt': value['completedAt'],
|
|
91
|
+
'left': MotionDataPointToJSON(value['left']),
|
|
92
|
+
'right': MotionDataPointToJSON(value['right']),
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* metrics-sdk-admin
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 5.4.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { WorkoutSetSideData } from './WorkoutSetSideData';
|
|
17
|
+
import {
|
|
18
|
+
WorkoutSetSideDataFromJSON,
|
|
19
|
+
WorkoutSetSideDataFromJSONTyped,
|
|
20
|
+
WorkoutSetSideDataToJSON,
|
|
21
|
+
} from './WorkoutSetSideData';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface WorkoutSetRepDataPoint
|
|
27
|
+
*/
|
|
28
|
+
export interface WorkoutSetRepDataPoint {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof WorkoutSetRepDataPoint
|
|
33
|
+
*/
|
|
34
|
+
resistance: number;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {WorkoutSetSideData}
|
|
38
|
+
* @memberof WorkoutSetRepDataPoint
|
|
39
|
+
*/
|
|
40
|
+
left: WorkoutSetSideData;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {WorkoutSetSideData}
|
|
44
|
+
* @memberof WorkoutSetRepDataPoint
|
|
45
|
+
*/
|
|
46
|
+
right: WorkoutSetSideData;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof WorkoutSetRepDataPoint
|
|
51
|
+
*/
|
|
52
|
+
addedMass: number;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the WorkoutSetRepDataPoint interface.
|
|
57
|
+
*/
|
|
58
|
+
export function instanceOfWorkoutSetRepDataPoint(value: object): value is WorkoutSetRepDataPoint {
|
|
59
|
+
if (!('resistance' in value) || value['resistance'] === undefined) return false;
|
|
60
|
+
if (!('left' in value) || value['left'] === undefined) return false;
|
|
61
|
+
if (!('right' in value) || value['right'] === undefined) return false;
|
|
62
|
+
if (!('addedMass' in value) || value['addedMass'] === undefined) return false;
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function WorkoutSetRepDataPointFromJSON(json: any): WorkoutSetRepDataPoint {
|
|
67
|
+
return WorkoutSetRepDataPointFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function WorkoutSetRepDataPointFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkoutSetRepDataPoint {
|
|
71
|
+
if (json == null) {
|
|
72
|
+
return json;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'resistance': json['resistance'],
|
|
77
|
+
'left': WorkoutSetSideDataFromJSON(json['left']),
|
|
78
|
+
'right': WorkoutSetSideDataFromJSON(json['right']),
|
|
79
|
+
'addedMass': json['addedMass'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function WorkoutSetRepDataPointToJSON(value?: WorkoutSetRepDataPoint | null): any {
|
|
84
|
+
if (value == null) {
|
|
85
|
+
return value;
|
|
86
|
+
}
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'resistance': value['resistance'],
|
|
90
|
+
'left': WorkoutSetSideDataToJSON(value['left']),
|
|
91
|
+
'right': WorkoutSetSideDataToJSON(value['right']),
|
|
92
|
+
'addedMass': value['addedMass'],
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* metrics-sdk-admin
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 5.4.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { Value } from './Value';
|
|
17
|
+
import {
|
|
18
|
+
ValueFromJSON,
|
|
19
|
+
ValueFromJSONTyped,
|
|
20
|
+
ValueToJSON,
|
|
21
|
+
} from './Value';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface WorkoutSetSideData
|
|
27
|
+
*/
|
|
28
|
+
export interface WorkoutSetSideData {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof WorkoutSetSideData
|
|
33
|
+
*/
|
|
34
|
+
resistance: number;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Value}
|
|
38
|
+
* @memberof WorkoutSetSideData
|
|
39
|
+
*/
|
|
40
|
+
peakPower: Value;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Value}
|
|
44
|
+
* @memberof WorkoutSetSideData
|
|
45
|
+
*/
|
|
46
|
+
meanPower: Value;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {Value}
|
|
50
|
+
* @memberof WorkoutSetSideData
|
|
51
|
+
*/
|
|
52
|
+
peakVelocity: Value;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {Value}
|
|
56
|
+
* @memberof WorkoutSetSideData
|
|
57
|
+
*/
|
|
58
|
+
meanVelocity: Value;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {Value}
|
|
62
|
+
* @memberof WorkoutSetSideData
|
|
63
|
+
*/
|
|
64
|
+
peakForce: Value;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {Value}
|
|
68
|
+
* @memberof WorkoutSetSideData
|
|
69
|
+
*/
|
|
70
|
+
meanForce: Value;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof WorkoutSetSideData
|
|
75
|
+
*/
|
|
76
|
+
work: number;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @memberof WorkoutSetSideData
|
|
81
|
+
*/
|
|
82
|
+
rangeOfMotion: number;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof WorkoutSetSideData
|
|
87
|
+
*/
|
|
88
|
+
addedMass: number;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {number}
|
|
92
|
+
* @memberof WorkoutSetSideData
|
|
93
|
+
*/
|
|
94
|
+
completedAt: number;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof WorkoutSetSideData
|
|
99
|
+
*/
|
|
100
|
+
machineSide: string;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {number}
|
|
104
|
+
* @memberof WorkoutSetSideData
|
|
105
|
+
*/
|
|
106
|
+
startSinceEpoch: number;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {number}
|
|
110
|
+
* @memberof WorkoutSetSideData
|
|
111
|
+
*/
|
|
112
|
+
endSinceEpoch: number;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Check if a given object implements the WorkoutSetSideData interface.
|
|
117
|
+
*/
|
|
118
|
+
export function instanceOfWorkoutSetSideData(value: object): value is WorkoutSetSideData {
|
|
119
|
+
if (!('resistance' in value) || value['resistance'] === undefined) return false;
|
|
120
|
+
if (!('peakPower' in value) || value['peakPower'] === undefined) return false;
|
|
121
|
+
if (!('meanPower' in value) || value['meanPower'] === undefined) return false;
|
|
122
|
+
if (!('peakVelocity' in value) || value['peakVelocity'] === undefined) return false;
|
|
123
|
+
if (!('meanVelocity' in value) || value['meanVelocity'] === undefined) return false;
|
|
124
|
+
if (!('peakForce' in value) || value['peakForce'] === undefined) return false;
|
|
125
|
+
if (!('meanForce' in value) || value['meanForce'] === undefined) return false;
|
|
126
|
+
if (!('work' in value) || value['work'] === undefined) return false;
|
|
127
|
+
if (!('rangeOfMotion' in value) || value['rangeOfMotion'] === undefined) return false;
|
|
128
|
+
if (!('addedMass' in value) || value['addedMass'] === undefined) return false;
|
|
129
|
+
if (!('completedAt' in value) || value['completedAt'] === undefined) return false;
|
|
130
|
+
if (!('machineSide' in value) || value['machineSide'] === undefined) return false;
|
|
131
|
+
if (!('startSinceEpoch' in value) || value['startSinceEpoch'] === undefined) return false;
|
|
132
|
+
if (!('endSinceEpoch' in value) || value['endSinceEpoch'] === undefined) return false;
|
|
133
|
+
return true;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export function WorkoutSetSideDataFromJSON(json: any): WorkoutSetSideData {
|
|
137
|
+
return WorkoutSetSideDataFromJSONTyped(json, false);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export function WorkoutSetSideDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkoutSetSideData {
|
|
141
|
+
if (json == null) {
|
|
142
|
+
return json;
|
|
143
|
+
}
|
|
144
|
+
return {
|
|
145
|
+
|
|
146
|
+
'resistance': json['resistance'],
|
|
147
|
+
'peakPower': ValueFromJSON(json['peakPower']),
|
|
148
|
+
'meanPower': ValueFromJSON(json['meanPower']),
|
|
149
|
+
'peakVelocity': ValueFromJSON(json['peakVelocity']),
|
|
150
|
+
'meanVelocity': ValueFromJSON(json['meanVelocity']),
|
|
151
|
+
'peakForce': ValueFromJSON(json['peakForce']),
|
|
152
|
+
'meanForce': ValueFromJSON(json['meanForce']),
|
|
153
|
+
'work': json['work'],
|
|
154
|
+
'rangeOfMotion': json['rangeOfMotion'],
|
|
155
|
+
'addedMass': json['addedMass'],
|
|
156
|
+
'completedAt': json['completedAt'],
|
|
157
|
+
'machineSide': json['machineSide'],
|
|
158
|
+
'startSinceEpoch': json['startSinceEpoch'],
|
|
159
|
+
'endSinceEpoch': json['endSinceEpoch'],
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export function WorkoutSetSideDataToJSON(value?: WorkoutSetSideData | null): any {
|
|
164
|
+
if (value == null) {
|
|
165
|
+
return value;
|
|
166
|
+
}
|
|
167
|
+
return {
|
|
168
|
+
|
|
169
|
+
'resistance': value['resistance'],
|
|
170
|
+
'peakPower': ValueToJSON(value['peakPower']),
|
|
171
|
+
'meanPower': ValueToJSON(value['meanPower']),
|
|
172
|
+
'peakVelocity': ValueToJSON(value['peakVelocity']),
|
|
173
|
+
'meanVelocity': ValueToJSON(value['meanVelocity']),
|
|
174
|
+
'peakForce': ValueToJSON(value['peakForce']),
|
|
175
|
+
'meanForce': ValueToJSON(value['meanForce']),
|
|
176
|
+
'work': value['work'],
|
|
177
|
+
'rangeOfMotion': value['rangeOfMotion'],
|
|
178
|
+
'addedMass': value['addedMass'],
|
|
179
|
+
'completedAt': value['completedAt'],
|
|
180
|
+
'machineSide': value['machineSide'],
|
|
181
|
+
'startSinceEpoch': value['startSinceEpoch'],
|
|
182
|
+
'endSinceEpoch': value['endSinceEpoch'],
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
|