@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
|
@@ -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,17 +12,32 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
/* tslint:disable */
|
|
16
|
+
/* eslint-disable */
|
|
17
|
+
/**
|
|
18
|
+
* metrics-sdk-admin
|
|
19
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: 5.4.0
|
|
22
|
+
*
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
|
|
15
30
|
|
|
16
31
|
/**
|
|
17
32
|
*
|
|
18
33
|
* @export
|
|
19
34
|
*/
|
|
20
35
|
export const StrengthExerciseCategory = {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
36
|
+
lowerBody: 'lowerBody',
|
|
37
|
+
upperBody: 'upperBody',
|
|
38
|
+
core: 'core',
|
|
39
|
+
explosive: 'explosive',
|
|
40
|
+
complex: 'complex'
|
|
26
41
|
} as const;
|
|
27
42
|
export type StrengthExerciseCategory =
|
|
28
43
|
| 'lowerBody'
|
|
@@ -33,15 +48,19 @@ export type StrengthExerciseCategory =
|
|
|
33
48
|
;
|
|
34
49
|
|
|
35
50
|
|
|
36
|
-
export function
|
|
51
|
+
export function instanceOfStrengthExerciseCategory(value: unknown): boolean {
|
|
52
|
+
return (Object.values(StrengthExerciseCategory) as unknown[]).includes(value);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function StrengthExerciseCategoryFromJSON(json: unknown): StrengthExerciseCategory {
|
|
37
56
|
return StrengthExerciseCategoryFromJSONTyped(json, false);
|
|
38
57
|
}
|
|
39
58
|
|
|
40
|
-
export function StrengthExerciseCategoryFromJSONTyped(json:
|
|
59
|
+
export function StrengthExerciseCategoryFromJSONTyped(json: unknown, ignoreDiscriminator: boolean): StrengthExerciseCategory {
|
|
41
60
|
return json as StrengthExerciseCategory;
|
|
42
61
|
}
|
|
43
62
|
|
|
44
|
-
export function StrengthExerciseCategoryToJSON(value?: StrengthExerciseCategory | null):
|
|
45
|
-
return value
|
|
63
|
+
export function StrengthExerciseCategoryToJSON(value?: StrengthExerciseCategory | null): StrengthExerciseCategory | null | undefined {
|
|
64
|
+
return value;
|
|
46
65
|
}
|
|
47
66
|
|
|
@@ -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,13 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
16
|
-
import type { ExerciseAliasData } from './ExerciseAliasData';
|
|
17
|
-
import {
|
|
18
|
-
ExerciseAliasDataFromJSON,
|
|
19
|
-
ExerciseAliasDataFromJSONTyped,
|
|
20
|
-
ExerciseAliasDataToJSON,
|
|
21
|
-
} from './ExerciseAliasData';
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
22
16
|
import type { MuscleData } from './MuscleData';
|
|
23
17
|
import {
|
|
24
18
|
MuscleDataFromJSON,
|
|
@@ -31,12 +25,12 @@ import {
|
|
|
31
25
|
StrengthExerciseCategoryFromJSONTyped,
|
|
32
26
|
StrengthExerciseCategoryToJSON,
|
|
33
27
|
} from './StrengthExerciseCategory';
|
|
34
|
-
import type {
|
|
28
|
+
import type { ExerciseAliasData } from './ExerciseAliasData';
|
|
35
29
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from './
|
|
30
|
+
ExerciseAliasDataFromJSON,
|
|
31
|
+
ExerciseAliasDataFromJSONTyped,
|
|
32
|
+
ExerciseAliasDataToJSON,
|
|
33
|
+
} from './ExerciseAliasData';
|
|
40
34
|
import type { StrengthExerciseMovementDEP } from './StrengthExerciseMovementDEP';
|
|
41
35
|
import {
|
|
42
36
|
StrengthExerciseMovementDEPFromJSON,
|
|
@@ -49,18 +43,24 @@ import {
|
|
|
49
43
|
StrengthExercisePlaneFromJSONTyped,
|
|
50
44
|
StrengthExercisePlaneToJSON,
|
|
51
45
|
} from './StrengthExercisePlane';
|
|
52
|
-
import type { StrengthExerciseVariantData } from './StrengthExerciseVariantData';
|
|
53
|
-
import {
|
|
54
|
-
StrengthExerciseVariantDataFromJSON,
|
|
55
|
-
StrengthExerciseVariantDataFromJSONTyped,
|
|
56
|
-
StrengthExerciseVariantDataToJSON,
|
|
57
|
-
} from './StrengthExerciseVariantData';
|
|
58
46
|
import type { StrengthMachineData } from './StrengthMachineData';
|
|
59
47
|
import {
|
|
60
48
|
StrengthMachineDataFromJSON,
|
|
61
49
|
StrengthMachineDataFromJSONTyped,
|
|
62
50
|
StrengthMachineDataToJSON,
|
|
63
51
|
} from './StrengthMachineData';
|
|
52
|
+
import type { StrengthExerciseMovement } from './StrengthExerciseMovement';
|
|
53
|
+
import {
|
|
54
|
+
StrengthExerciseMovementFromJSON,
|
|
55
|
+
StrengthExerciseMovementFromJSONTyped,
|
|
56
|
+
StrengthExerciseMovementToJSON,
|
|
57
|
+
} from './StrengthExerciseMovement';
|
|
58
|
+
import type { StrengthExerciseVariantData } from './StrengthExerciseVariantData';
|
|
59
|
+
import {
|
|
60
|
+
StrengthExerciseVariantDataFromJSON,
|
|
61
|
+
StrengthExerciseVariantDataFromJSONTyped,
|
|
62
|
+
StrengthExerciseVariantDataToJSON,
|
|
63
|
+
} from './StrengthExerciseVariantData';
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
@@ -133,13 +133,11 @@ export interface StrengthExerciseData {
|
|
|
133
133
|
/**
|
|
134
134
|
* Check if a given object implements the StrengthExerciseData interface.
|
|
135
135
|
*/
|
|
136
|
-
export function instanceOfStrengthExerciseData(value: object):
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
return isInstance;
|
|
136
|
+
export function instanceOfStrengthExerciseData(value: object): value is StrengthExerciseData {
|
|
137
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
138
|
+
if (!('category' in value) || value['category'] === undefined) return false;
|
|
139
|
+
if (!('plane' in value) || value['plane'] === undefined) return false;
|
|
140
|
+
return true;
|
|
143
141
|
}
|
|
144
142
|
|
|
145
143
|
export function StrengthExerciseDataFromJSON(json: any): StrengthExerciseData {
|
|
@@ -147,43 +145,40 @@ export function StrengthExerciseDataFromJSON(json: any): StrengthExerciseData {
|
|
|
147
145
|
}
|
|
148
146
|
|
|
149
147
|
export function StrengthExerciseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): StrengthExerciseData {
|
|
150
|
-
if (
|
|
148
|
+
if (json == null) {
|
|
151
149
|
return json;
|
|
152
150
|
}
|
|
153
151
|
return {
|
|
154
152
|
|
|
155
153
|
'id': json['id'],
|
|
156
154
|
'category': StrengthExerciseCategoryFromJSON(json['category']),
|
|
157
|
-
'movement':
|
|
158
|
-
'humanMovement':
|
|
155
|
+
'movement': json['movement'] == null ? undefined : StrengthExerciseMovementDEPFromJSON(json['movement']),
|
|
156
|
+
'humanMovement': json['humanMovement'] == null ? undefined : StrengthExerciseMovementFromJSON(json['humanMovement']),
|
|
159
157
|
'plane': StrengthExercisePlaneFromJSON(json['plane']),
|
|
160
|
-
'defaultExerciseAlias':
|
|
161
|
-
'exerciseAliases':
|
|
162
|
-
'strengthExerciseVariants':
|
|
163
|
-
'strengthExerciseMuscles':
|
|
164
|
-
'strengthMachines':
|
|
158
|
+
'defaultExerciseAlias': json['defaultExerciseAlias'] == null ? undefined : ExerciseAliasDataFromJSON(json['defaultExerciseAlias']),
|
|
159
|
+
'exerciseAliases': json['exerciseAliases'] == null ? undefined : ((json['exerciseAliases'] as Array<any>).map(ExerciseAliasDataFromJSON)),
|
|
160
|
+
'strengthExerciseVariants': json['strengthExerciseVariants'] == null ? undefined : ((json['strengthExerciseVariants'] as Array<any>).map(StrengthExerciseVariantDataFromJSON)),
|
|
161
|
+
'strengthExerciseMuscles': json['strengthExerciseMuscles'] == null ? undefined : ((json['strengthExerciseMuscles'] as Array<any>).map(MuscleDataFromJSON)),
|
|
162
|
+
'strengthMachines': json['strengthMachines'] == null ? undefined : ((json['strengthMachines'] as Array<any>).map(StrengthMachineDataFromJSON)),
|
|
165
163
|
};
|
|
166
164
|
}
|
|
167
165
|
|
|
168
166
|
export function StrengthExerciseDataToJSON(value?: StrengthExerciseData | null): any {
|
|
169
|
-
if (value
|
|
170
|
-
return
|
|
171
|
-
}
|
|
172
|
-
if (value === null) {
|
|
173
|
-
return null;
|
|
167
|
+
if (value == null) {
|
|
168
|
+
return value;
|
|
174
169
|
}
|
|
175
170
|
return {
|
|
176
171
|
|
|
177
|
-
'id': value
|
|
178
|
-
'category': StrengthExerciseCategoryToJSON(value
|
|
179
|
-
'movement': StrengthExerciseMovementDEPToJSON(value
|
|
180
|
-
'humanMovement': StrengthExerciseMovementToJSON(value
|
|
181
|
-
'plane': StrengthExercisePlaneToJSON(value
|
|
182
|
-
'defaultExerciseAlias': ExerciseAliasDataToJSON(value
|
|
183
|
-
'exerciseAliases': value
|
|
184
|
-
'strengthExerciseVariants': value
|
|
185
|
-
'strengthExerciseMuscles': value
|
|
186
|
-
'strengthMachines': value
|
|
172
|
+
'id': value['id'],
|
|
173
|
+
'category': StrengthExerciseCategoryToJSON(value['category']),
|
|
174
|
+
'movement': StrengthExerciseMovementDEPToJSON(value['movement']),
|
|
175
|
+
'humanMovement': StrengthExerciseMovementToJSON(value['humanMovement']),
|
|
176
|
+
'plane': StrengthExercisePlaneToJSON(value['plane']),
|
|
177
|
+
'defaultExerciseAlias': ExerciseAliasDataToJSON(value['defaultExerciseAlias']),
|
|
178
|
+
'exerciseAliases': value['exerciseAliases'] == null ? undefined : ((value['exerciseAliases'] as Array<any>).map(ExerciseAliasDataToJSON)),
|
|
179
|
+
'strengthExerciseVariants': value['strengthExerciseVariants'] == null ? undefined : ((value['strengthExerciseVariants'] as Array<any>).map(StrengthExerciseVariantDataToJSON)),
|
|
180
|
+
'strengthExerciseMuscles': value['strengthExerciseMuscles'] == null ? undefined : ((value['strengthExerciseMuscles'] as Array<any>).map(MuscleDataToJSON)),
|
|
181
|
+
'strengthMachines': value['strengthMachines'] == null ? undefined : ((value['strengthMachines'] as Array<any>).map(StrengthMachineDataToJSON)),
|
|
187
182
|
};
|
|
188
183
|
}
|
|
189
184
|
|
|
@@ -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,14 +12,29 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
/* tslint:disable */
|
|
16
|
+
/* eslint-disable */
|
|
17
|
+
/**
|
|
18
|
+
* metrics-sdk-admin
|
|
19
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: 5.4.0
|
|
22
|
+
*
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
|
|
15
30
|
|
|
16
31
|
/**
|
|
17
32
|
*
|
|
18
33
|
* @export
|
|
19
34
|
*/
|
|
20
35
|
export const StrengthExerciseMovement = {
|
|
21
|
-
|
|
22
|
-
|
|
36
|
+
unilateral: 'unilateral',
|
|
37
|
+
bilateral: 'bilateral'
|
|
23
38
|
} as const;
|
|
24
39
|
export type StrengthExerciseMovement =
|
|
25
40
|
| 'unilateral'
|
|
@@ -27,15 +42,19 @@ export type StrengthExerciseMovement =
|
|
|
27
42
|
;
|
|
28
43
|
|
|
29
44
|
|
|
30
|
-
export function
|
|
45
|
+
export function instanceOfStrengthExerciseMovement(value: unknown): boolean {
|
|
46
|
+
return (Object.values(StrengthExerciseMovement) as unknown[]).includes(value);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function StrengthExerciseMovementFromJSON(json: unknown): StrengthExerciseMovement {
|
|
31
50
|
return StrengthExerciseMovementFromJSONTyped(json, false);
|
|
32
51
|
}
|
|
33
52
|
|
|
34
|
-
export function StrengthExerciseMovementFromJSONTyped(json:
|
|
53
|
+
export function StrengthExerciseMovementFromJSONTyped(json: unknown, ignoreDiscriminator: boolean): StrengthExerciseMovement {
|
|
35
54
|
return json as StrengthExerciseMovement;
|
|
36
55
|
}
|
|
37
56
|
|
|
38
|
-
export function StrengthExerciseMovementToJSON(value?: StrengthExerciseMovement | null):
|
|
39
|
-
return value
|
|
57
|
+
export function StrengthExerciseMovementToJSON(value?: StrengthExerciseMovement | null): StrengthExerciseMovement | null | undefined {
|
|
58
|
+
return value;
|
|
40
59
|
}
|
|
41
60
|
|
|
@@ -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,14 +12,29 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
/* tslint:disable */
|
|
16
|
+
/* eslint-disable */
|
|
17
|
+
/**
|
|
18
|
+
* metrics-sdk-admin
|
|
19
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: 5.4.0
|
|
22
|
+
*
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
|
|
15
30
|
|
|
16
31
|
/**
|
|
17
32
|
*
|
|
18
33
|
* @export
|
|
19
34
|
*/
|
|
20
35
|
export const StrengthExerciseMovementDEP = {
|
|
21
|
-
|
|
22
|
-
|
|
36
|
+
isolation: 'isolation',
|
|
37
|
+
compound: 'compound'
|
|
23
38
|
} as const;
|
|
24
39
|
export type StrengthExerciseMovementDEP =
|
|
25
40
|
| 'isolation'
|
|
@@ -27,15 +42,19 @@ export type StrengthExerciseMovementDEP =
|
|
|
27
42
|
;
|
|
28
43
|
|
|
29
44
|
|
|
30
|
-
export function
|
|
45
|
+
export function instanceOfStrengthExerciseMovementDEP(value: unknown): boolean {
|
|
46
|
+
return (Object.values(StrengthExerciseMovementDEP) as unknown[]).includes(value);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function StrengthExerciseMovementDEPFromJSON(json: unknown): StrengthExerciseMovementDEP {
|
|
31
50
|
return StrengthExerciseMovementDEPFromJSONTyped(json, false);
|
|
32
51
|
}
|
|
33
52
|
|
|
34
|
-
export function StrengthExerciseMovementDEPFromJSONTyped(json:
|
|
53
|
+
export function StrengthExerciseMovementDEPFromJSONTyped(json: unknown, ignoreDiscriminator: boolean): StrengthExerciseMovementDEP {
|
|
35
54
|
return json as StrengthExerciseMovementDEP;
|
|
36
55
|
}
|
|
37
56
|
|
|
38
|
-
export function StrengthExerciseMovementDEPToJSON(value?: StrengthExerciseMovementDEP | null):
|
|
39
|
-
return value
|
|
57
|
+
export function StrengthExerciseMovementDEPToJSON(value?: StrengthExerciseMovementDEP | null): StrengthExerciseMovementDEP | null | undefined {
|
|
58
|
+
return value;
|
|
40
59
|
}
|
|
41
60
|
|
|
@@ -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,15 +12,30 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
/* tslint:disable */
|
|
16
|
+
/* eslint-disable */
|
|
17
|
+
/**
|
|
18
|
+
* metrics-sdk-admin
|
|
19
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: 5.4.0
|
|
22
|
+
*
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
|
|
15
30
|
|
|
16
31
|
/**
|
|
17
32
|
*
|
|
18
33
|
* @export
|
|
19
34
|
*/
|
|
20
35
|
export const StrengthExercisePlane = {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
36
|
+
sagittal: 'sagittal',
|
|
37
|
+
frontal: 'frontal',
|
|
38
|
+
transverse: 'transverse'
|
|
24
39
|
} as const;
|
|
25
40
|
export type StrengthExercisePlane =
|
|
26
41
|
| 'sagittal'
|
|
@@ -29,15 +44,19 @@ export type StrengthExercisePlane =
|
|
|
29
44
|
;
|
|
30
45
|
|
|
31
46
|
|
|
32
|
-
export function
|
|
47
|
+
export function instanceOfStrengthExercisePlane(value: unknown): boolean {
|
|
48
|
+
return (Object.values(StrengthExercisePlane) as unknown[]).includes(value);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function StrengthExercisePlaneFromJSON(json: unknown): StrengthExercisePlane {
|
|
33
52
|
return StrengthExercisePlaneFromJSONTyped(json, false);
|
|
34
53
|
}
|
|
35
54
|
|
|
36
|
-
export function StrengthExercisePlaneFromJSONTyped(json:
|
|
55
|
+
export function StrengthExercisePlaneFromJSONTyped(json: unknown, ignoreDiscriminator: boolean): StrengthExercisePlane {
|
|
37
56
|
return json as StrengthExercisePlane;
|
|
38
57
|
}
|
|
39
58
|
|
|
40
|
-
export function StrengthExercisePlaneToJSON(value?: StrengthExercisePlane | null):
|
|
41
|
-
return value
|
|
59
|
+
export function StrengthExercisePlaneToJSON(value?: StrengthExercisePlane | null): StrengthExercisePlane | null | undefined {
|
|
60
|
+
return value;
|
|
42
61
|
}
|
|
43
62
|
|
|
@@ -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,21 +12,36 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
/* tslint:disable */
|
|
16
|
+
/* eslint-disable */
|
|
17
|
+
/**
|
|
18
|
+
* metrics-sdk-admin
|
|
19
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: 5.4.0
|
|
22
|
+
*
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
|
|
15
30
|
|
|
16
31
|
/**
|
|
17
32
|
*
|
|
18
33
|
* @export
|
|
19
34
|
*/
|
|
20
35
|
export const StrengthExerciseVariantAttachment = {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
36
|
+
bar: 'bar',
|
|
37
|
+
rope: 'rope',
|
|
38
|
+
singleHandles: 'singleHandles',
|
|
39
|
+
doubleHandles: 'doubleHandles',
|
|
40
|
+
ankleStrap: 'ankleStrap',
|
|
41
|
+
thighStrap: 'thighStrap',
|
|
42
|
+
belt: 'belt',
|
|
43
|
+
dip: 'dip',
|
|
44
|
+
pullUpBar: 'pullUpBar'
|
|
30
45
|
} as const;
|
|
31
46
|
export type StrengthExerciseVariantAttachment =
|
|
32
47
|
| 'bar'
|
|
@@ -41,15 +56,19 @@ export type StrengthExerciseVariantAttachment =
|
|
|
41
56
|
;
|
|
42
57
|
|
|
43
58
|
|
|
44
|
-
export function
|
|
59
|
+
export function instanceOfStrengthExerciseVariantAttachment(value: unknown): boolean {
|
|
60
|
+
return (Object.values(StrengthExerciseVariantAttachment) as unknown[]).includes(value);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function StrengthExerciseVariantAttachmentFromJSON(json: unknown): StrengthExerciseVariantAttachment {
|
|
45
64
|
return StrengthExerciseVariantAttachmentFromJSONTyped(json, false);
|
|
46
65
|
}
|
|
47
66
|
|
|
48
|
-
export function StrengthExerciseVariantAttachmentFromJSONTyped(json:
|
|
67
|
+
export function StrengthExerciseVariantAttachmentFromJSONTyped(json: unknown, ignoreDiscriminator: boolean): StrengthExerciseVariantAttachment {
|
|
49
68
|
return json as StrengthExerciseVariantAttachment;
|
|
50
69
|
}
|
|
51
70
|
|
|
52
|
-
export function StrengthExerciseVariantAttachmentToJSON(value?: StrengthExerciseVariantAttachment | null):
|
|
53
|
-
return value
|
|
71
|
+
export function StrengthExerciseVariantAttachmentToJSON(value?: StrengthExerciseVariantAttachment | null): StrengthExerciseVariantAttachment | null | undefined {
|
|
72
|
+
return value;
|
|
54
73
|
}
|
|
55
74
|
|
|
@@ -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,43 +12,43 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { StrengthExerciseVariantType } from './StrengthExerciseVariantType';
|
|
17
|
+
import {
|
|
18
|
+
StrengthExerciseVariantTypeFromJSON,
|
|
19
|
+
StrengthExerciseVariantTypeFromJSONTyped,
|
|
20
|
+
StrengthExerciseVariantTypeToJSON,
|
|
21
|
+
} from './StrengthExerciseVariantType';
|
|
22
|
+
import type { StrengthMachineData } from './StrengthMachineData';
|
|
23
|
+
import {
|
|
24
|
+
StrengthMachineDataFromJSON,
|
|
25
|
+
StrengthMachineDataFromJSONTyped,
|
|
26
|
+
StrengthMachineDataToJSON,
|
|
27
|
+
} from './StrengthMachineData';
|
|
16
28
|
import type { ExerciseOrdinalSetAssignmentData } from './ExerciseOrdinalSetAssignmentData';
|
|
17
29
|
import {
|
|
18
30
|
ExerciseOrdinalSetAssignmentDataFromJSON,
|
|
19
31
|
ExerciseOrdinalSetAssignmentDataFromJSONTyped,
|
|
20
32
|
ExerciseOrdinalSetAssignmentDataToJSON,
|
|
21
33
|
} from './ExerciseOrdinalSetAssignmentData';
|
|
22
|
-
import type { StrengthExerciseData } from './StrengthExerciseData';
|
|
23
|
-
import {
|
|
24
|
-
StrengthExerciseDataFromJSON,
|
|
25
|
-
StrengthExerciseDataFromJSONTyped,
|
|
26
|
-
StrengthExerciseDataToJSON,
|
|
27
|
-
} from './StrengthExerciseData';
|
|
28
34
|
import type { StrengthExerciseMovement } from './StrengthExerciseMovement';
|
|
29
35
|
import {
|
|
30
36
|
StrengthExerciseMovementFromJSON,
|
|
31
37
|
StrengthExerciseMovementFromJSONTyped,
|
|
32
38
|
StrengthExerciseMovementToJSON,
|
|
33
39
|
} from './StrengthExerciseMovement';
|
|
40
|
+
import type { StrengthExerciseData } from './StrengthExerciseData';
|
|
41
|
+
import {
|
|
42
|
+
StrengthExerciseDataFromJSON,
|
|
43
|
+
StrengthExerciseDataFromJSONTyped,
|
|
44
|
+
StrengthExerciseDataToJSON,
|
|
45
|
+
} from './StrengthExerciseData';
|
|
34
46
|
import type { StrengthExerciseVariantAttachment } from './StrengthExerciseVariantAttachment';
|
|
35
47
|
import {
|
|
36
48
|
StrengthExerciseVariantAttachmentFromJSON,
|
|
37
49
|
StrengthExerciseVariantAttachmentFromJSONTyped,
|
|
38
50
|
StrengthExerciseVariantAttachmentToJSON,
|
|
39
51
|
} from './StrengthExerciseVariantAttachment';
|
|
40
|
-
import type { StrengthExerciseVariantType } from './StrengthExerciseVariantType';
|
|
41
|
-
import {
|
|
42
|
-
StrengthExerciseVariantTypeFromJSON,
|
|
43
|
-
StrengthExerciseVariantTypeFromJSONTyped,
|
|
44
|
-
StrengthExerciseVariantTypeToJSON,
|
|
45
|
-
} from './StrengthExerciseVariantType';
|
|
46
|
-
import type { StrengthMachineData } from './StrengthMachineData';
|
|
47
|
-
import {
|
|
48
|
-
StrengthMachineDataFromJSON,
|
|
49
|
-
StrengthMachineDataFromJSONTyped,
|
|
50
|
-
StrengthMachineDataToJSON,
|
|
51
|
-
} from './StrengthMachineData';
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
@@ -79,7 +79,7 @@ export interface StrengthExerciseVariantData {
|
|
|
79
79
|
* @type {StrengthExerciseMovement}
|
|
80
80
|
* @memberof StrengthExerciseVariantData
|
|
81
81
|
*/
|
|
82
|
-
equipmentMechanicalMovement
|
|
82
|
+
equipmentMechanicalMovement?: StrengthExerciseMovement;
|
|
83
83
|
/**
|
|
84
84
|
*
|
|
85
85
|
* @type {string}
|
|
@@ -115,13 +115,10 @@ export interface StrengthExerciseVariantData {
|
|
|
115
115
|
/**
|
|
116
116
|
* Check if a given object implements the StrengthExerciseVariantData interface.
|
|
117
117
|
*/
|
|
118
|
-
export function instanceOfStrengthExerciseVariantData(value: object):
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
isInstance = isInstance && "equipmentMechanicalMovement" in value;
|
|
123
|
-
|
|
124
|
-
return isInstance;
|
|
118
|
+
export function instanceOfStrengthExerciseVariantData(value: object): value is StrengthExerciseVariantData {
|
|
119
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
120
|
+
if (!('variant' in value) || value['variant'] === undefined) return false;
|
|
121
|
+
return true;
|
|
125
122
|
}
|
|
126
123
|
|
|
127
124
|
export function StrengthExerciseVariantDataFromJSON(json: any): StrengthExerciseVariantData {
|
|
@@ -129,41 +126,38 @@ export function StrengthExerciseVariantDataFromJSON(json: any): StrengthExercise
|
|
|
129
126
|
}
|
|
130
127
|
|
|
131
128
|
export function StrengthExerciseVariantDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): StrengthExerciseVariantData {
|
|
132
|
-
if (
|
|
129
|
+
if (json == null) {
|
|
133
130
|
return json;
|
|
134
131
|
}
|
|
135
132
|
return {
|
|
136
133
|
|
|
137
134
|
'id': json['id'],
|
|
138
135
|
'variant': StrengthExerciseVariantTypeFromJSON(json['variant']),
|
|
139
|
-
'attachment':
|
|
140
|
-
'equipmentMechanicalMovement': StrengthExerciseMovementFromJSON(json['equipmentMechanicalMovement']),
|
|
141
|
-
'instructionalImage':
|
|
142
|
-
'instructionalVideo':
|
|
143
|
-
'strengthExercise':
|
|
144
|
-
'strengthMachine':
|
|
145
|
-
'exerciseOrdinalSetAssignments':
|
|
136
|
+
'attachment': json['attachment'] == null ? undefined : StrengthExerciseVariantAttachmentFromJSON(json['attachment']),
|
|
137
|
+
'equipmentMechanicalMovement': json['equipmentMechanicalMovement'] == null ? undefined : StrengthExerciseMovementFromJSON(json['equipmentMechanicalMovement']),
|
|
138
|
+
'instructionalImage': json['instructionalImage'] == null ? undefined : json['instructionalImage'],
|
|
139
|
+
'instructionalVideo': json['instructionalVideo'] == null ? undefined : json['instructionalVideo'],
|
|
140
|
+
'strengthExercise': json['strengthExercise'] == null ? undefined : StrengthExerciseDataFromJSON(json['strengthExercise']),
|
|
141
|
+
'strengthMachine': json['strengthMachine'] == null ? undefined : StrengthMachineDataFromJSON(json['strengthMachine']),
|
|
142
|
+
'exerciseOrdinalSetAssignments': json['exerciseOrdinalSetAssignments'] == null ? undefined : ((json['exerciseOrdinalSetAssignments'] as Array<any>).map(ExerciseOrdinalSetAssignmentDataFromJSON)),
|
|
146
143
|
};
|
|
147
144
|
}
|
|
148
145
|
|
|
149
146
|
export function StrengthExerciseVariantDataToJSON(value?: StrengthExerciseVariantData | null): any {
|
|
150
|
-
if (value
|
|
151
|
-
return
|
|
152
|
-
}
|
|
153
|
-
if (value === null) {
|
|
154
|
-
return null;
|
|
147
|
+
if (value == null) {
|
|
148
|
+
return value;
|
|
155
149
|
}
|
|
156
150
|
return {
|
|
157
151
|
|
|
158
|
-
'id': value
|
|
159
|
-
'variant': StrengthExerciseVariantTypeToJSON(value
|
|
160
|
-
'attachment': StrengthExerciseVariantAttachmentToJSON(value
|
|
161
|
-
'equipmentMechanicalMovement': StrengthExerciseMovementToJSON(value
|
|
162
|
-
'instructionalImage': value
|
|
163
|
-
'instructionalVideo': value
|
|
164
|
-
'strengthExercise': StrengthExerciseDataToJSON(value
|
|
165
|
-
'strengthMachine': StrengthMachineDataToJSON(value
|
|
166
|
-
'exerciseOrdinalSetAssignments': value
|
|
152
|
+
'id': value['id'],
|
|
153
|
+
'variant': StrengthExerciseVariantTypeToJSON(value['variant']),
|
|
154
|
+
'attachment': StrengthExerciseVariantAttachmentToJSON(value['attachment']),
|
|
155
|
+
'equipmentMechanicalMovement': StrengthExerciseMovementToJSON(value['equipmentMechanicalMovement']),
|
|
156
|
+
'instructionalImage': value['instructionalImage'],
|
|
157
|
+
'instructionalVideo': value['instructionalVideo'],
|
|
158
|
+
'strengthExercise': StrengthExerciseDataToJSON(value['strengthExercise']),
|
|
159
|
+
'strengthMachine': StrengthMachineDataToJSON(value['strengthMachine']),
|
|
160
|
+
'exerciseOrdinalSetAssignments': value['exerciseOrdinalSetAssignments'] == null ? undefined : ((value['exerciseOrdinalSetAssignments'] as Array<any>).map(ExerciseOrdinalSetAssignmentDataToJSON)),
|
|
167
161
|
};
|
|
168
162
|
}
|
|
169
163
|
|