@keiser/metrics-sdk-admin-typescript 5.3.18 → 5.4.1
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,62 @@
|
|
|
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.1
|
|
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
|
+
/* 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.1
|
|
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
|
+
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export const DisplayUnit = {
|
|
36
|
+
metric: 'metric',
|
|
37
|
+
imperial: 'imperial',
|
|
38
|
+
si: 'si'
|
|
39
|
+
} as const;
|
|
40
|
+
export type DisplayUnit =
|
|
41
|
+
| 'metric'
|
|
42
|
+
| 'imperial'
|
|
43
|
+
| 'si'
|
|
44
|
+
;
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
export function instanceOfDisplayUnit(value: unknown): boolean {
|
|
48
|
+
return (Object.values(DisplayUnit) as unknown[]).includes(value);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function DisplayUnitFromJSON(json: unknown): DisplayUnit {
|
|
52
|
+
return DisplayUnitFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function DisplayUnitFromJSONTyped(json: unknown, ignoreDiscriminator: boolean): DisplayUnit {
|
|
56
|
+
return json as DisplayUnit;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function DisplayUnitToJSON(value?: DisplayUnit | null): DisplayUnit | null | undefined {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
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.1
|
|
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
|
|
@@ -48,14 +48,12 @@ export interface EmailAddressData {
|
|
|
48
48
|
/**
|
|
49
49
|
* Check if a given object implements the EmailAddressData interface.
|
|
50
50
|
*/
|
|
51
|
-
export function instanceOfEmailAddressData(value: object):
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
return isInstance;
|
|
51
|
+
export function instanceOfEmailAddressData(value: object): value is EmailAddressData {
|
|
52
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
53
|
+
if (!('userId' in value) || value['userId'] === undefined) return false;
|
|
54
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
55
|
+
if (!('validated' in value) || value['validated'] === undefined) return false;
|
|
56
|
+
return true;
|
|
59
57
|
}
|
|
60
58
|
|
|
61
59
|
export function EmailAddressDataFromJSON(json: any): EmailAddressData {
|
|
@@ -63,7 +61,7 @@ export function EmailAddressDataFromJSON(json: any): EmailAddressData {
|
|
|
63
61
|
}
|
|
64
62
|
|
|
65
63
|
export function EmailAddressDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailAddressData {
|
|
66
|
-
if (
|
|
64
|
+
if (json == null) {
|
|
67
65
|
return json;
|
|
68
66
|
}
|
|
69
67
|
return {
|
|
@@ -76,18 +74,15 @@ export function EmailAddressDataFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
76
74
|
}
|
|
77
75
|
|
|
78
76
|
export function EmailAddressDataToJSON(value?: EmailAddressData | null): any {
|
|
79
|
-
if (value
|
|
80
|
-
return
|
|
81
|
-
}
|
|
82
|
-
if (value === null) {
|
|
83
|
-
return null;
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
84
79
|
}
|
|
85
80
|
return {
|
|
86
81
|
|
|
87
|
-
'id': value
|
|
88
|
-
'userId': value
|
|
89
|
-
'email': value
|
|
90
|
-
'validated': value
|
|
82
|
+
'id': value['id'],
|
|
83
|
+
'userId': value['userId'],
|
|
84
|
+
'email': value['email'],
|
|
85
|
+
'validated': value['validated'],
|
|
91
86
|
};
|
|
92
87
|
}
|
|
93
88
|
|
|
@@ -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.1
|
|
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.1
|
|
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 EmployeeRole = {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
36
|
+
admin: 'admin',
|
|
37
|
+
customerSupport: 'customerSupport',
|
|
38
|
+
trainer: 'trainer',
|
|
39
|
+
frontDesk: 'frontDesk',
|
|
40
|
+
maintenance: 'maintenance'
|
|
26
41
|
} as const;
|
|
27
42
|
export type EmployeeRole =
|
|
28
43
|
| 'admin'
|
|
@@ -33,15 +48,19 @@ export type EmployeeRole =
|
|
|
33
48
|
;
|
|
34
49
|
|
|
35
50
|
|
|
36
|
-
export function
|
|
51
|
+
export function instanceOfEmployeeRole(value: unknown): boolean {
|
|
52
|
+
return (Object.values(EmployeeRole) as unknown[]).includes(value);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function EmployeeRoleFromJSON(json: unknown): EmployeeRole {
|
|
37
56
|
return EmployeeRoleFromJSONTyped(json, false);
|
|
38
57
|
}
|
|
39
58
|
|
|
40
|
-
export function EmployeeRoleFromJSONTyped(json:
|
|
59
|
+
export function EmployeeRoleFromJSONTyped(json: unknown, ignoreDiscriminator: boolean): EmployeeRole {
|
|
41
60
|
return json as EmployeeRole;
|
|
42
61
|
}
|
|
43
62
|
|
|
44
|
-
export function EmployeeRoleToJSON(value?: EmployeeRole | null):
|
|
45
|
-
return value
|
|
63
|
+
export function EmployeeRoleToJSON(value?: EmployeeRole | null): EmployeeRole | null | undefined {
|
|
64
|
+
return value;
|
|
46
65
|
}
|
|
47
66
|
|
|
@@ -0,0 +1,88 @@
|
|
|
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.1
|
|
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 Exercise
|
|
20
|
+
*/
|
|
21
|
+
export interface Exercise {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof Exercise
|
|
26
|
+
*/
|
|
27
|
+
id: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof Exercise
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof Exercise
|
|
38
|
+
*/
|
|
39
|
+
bodyArea: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof Exercise
|
|
44
|
+
*/
|
|
45
|
+
movement: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the Exercise interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfExercise(value: object): value is Exercise {
|
|
52
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
53
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
54
|
+
if (!('bodyArea' in value) || value['bodyArea'] === undefined) return false;
|
|
55
|
+
if (!('movement' in value) || value['movement'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function ExerciseFromJSON(json: any): Exercise {
|
|
60
|
+
return ExerciseFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function ExerciseFromJSONTyped(json: any, ignoreDiscriminator: boolean): Exercise {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'id': json['id'],
|
|
70
|
+
'name': json['name'],
|
|
71
|
+
'bodyArea': json['bodyArea'],
|
|
72
|
+
'movement': json['movement'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function ExerciseToJSON(value?: Exercise | null): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'id': value['id'],
|
|
83
|
+
'name': value['name'],
|
|
84
|
+
'bodyArea': value['bodyArea'],
|
|
85
|
+
'movement': value['movement'],
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
@@ -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.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,31 +12,31 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
16
|
-
import type { CardioExerciseData } from './CardioExerciseData';
|
|
17
|
-
import {
|
|
18
|
-
CardioExerciseDataFromJSON,
|
|
19
|
-
CardioExerciseDataFromJSONTyped,
|
|
20
|
-
CardioExerciseDataToJSON,
|
|
21
|
-
} from './CardioExerciseData';
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
22
16
|
import type { ExerciseAliasType } from './ExerciseAliasType';
|
|
23
17
|
import {
|
|
24
18
|
ExerciseAliasTypeFromJSON,
|
|
25
19
|
ExerciseAliasTypeFromJSONTyped,
|
|
26
20
|
ExerciseAliasTypeToJSON,
|
|
27
21
|
} from './ExerciseAliasType';
|
|
22
|
+
import type { StretchExerciseData } from './StretchExerciseData';
|
|
23
|
+
import {
|
|
24
|
+
StretchExerciseDataFromJSON,
|
|
25
|
+
StretchExerciseDataFromJSONTyped,
|
|
26
|
+
StretchExerciseDataToJSON,
|
|
27
|
+
} from './StretchExerciseData';
|
|
28
28
|
import type { StrengthExerciseData } from './StrengthExerciseData';
|
|
29
29
|
import {
|
|
30
30
|
StrengthExerciseDataFromJSON,
|
|
31
31
|
StrengthExerciseDataFromJSONTyped,
|
|
32
32
|
StrengthExerciseDataToJSON,
|
|
33
33
|
} from './StrengthExerciseData';
|
|
34
|
-
import type {
|
|
34
|
+
import type { CardioExerciseData } from './CardioExerciseData';
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from './
|
|
36
|
+
CardioExerciseDataFromJSON,
|
|
37
|
+
CardioExerciseDataFromJSONTyped,
|
|
38
|
+
CardioExerciseDataToJSON,
|
|
39
|
+
} from './CardioExerciseData';
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
@@ -85,12 +85,10 @@ export interface ExerciseAliasData {
|
|
|
85
85
|
/**
|
|
86
86
|
* Check if a given object implements the ExerciseAliasData interface.
|
|
87
87
|
*/
|
|
88
|
-
export function instanceOfExerciseAliasData(value: object):
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
return isInstance;
|
|
88
|
+
export function instanceOfExerciseAliasData(value: object): value is ExerciseAliasData {
|
|
89
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
90
|
+
if (!('alias' in value) || value['alias'] === undefined) return false;
|
|
91
|
+
return true;
|
|
94
92
|
}
|
|
95
93
|
|
|
96
94
|
export function ExerciseAliasDataFromJSON(json: any): ExerciseAliasData {
|
|
@@ -98,35 +96,32 @@ export function ExerciseAliasDataFromJSON(json: any): ExerciseAliasData {
|
|
|
98
96
|
}
|
|
99
97
|
|
|
100
98
|
export function ExerciseAliasDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExerciseAliasData {
|
|
101
|
-
if (
|
|
99
|
+
if (json == null) {
|
|
102
100
|
return json;
|
|
103
101
|
}
|
|
104
102
|
return {
|
|
105
103
|
|
|
106
104
|
'id': json['id'],
|
|
107
105
|
'alias': json['alias'],
|
|
108
|
-
'type':
|
|
109
|
-
'strengthExercise':
|
|
110
|
-
'cardioExercise':
|
|
111
|
-
'stretchExercise':
|
|
106
|
+
'type': json['type'] == null ? undefined : ExerciseAliasTypeFromJSON(json['type']),
|
|
107
|
+
'strengthExercise': json['strengthExercise'] == null ? undefined : StrengthExerciseDataFromJSON(json['strengthExercise']),
|
|
108
|
+
'cardioExercise': json['cardioExercise'] == null ? undefined : CardioExerciseDataFromJSON(json['cardioExercise']),
|
|
109
|
+
'stretchExercise': json['stretchExercise'] == null ? undefined : StretchExerciseDataFromJSON(json['stretchExercise']),
|
|
112
110
|
};
|
|
113
111
|
}
|
|
114
112
|
|
|
115
113
|
export function ExerciseAliasDataToJSON(value?: ExerciseAliasData | null): any {
|
|
116
|
-
if (value
|
|
117
|
-
return
|
|
118
|
-
}
|
|
119
|
-
if (value === null) {
|
|
120
|
-
return null;
|
|
114
|
+
if (value == null) {
|
|
115
|
+
return value;
|
|
121
116
|
}
|
|
122
117
|
return {
|
|
123
118
|
|
|
124
|
-
'id': value
|
|
125
|
-
'alias': value
|
|
126
|
-
'type': ExerciseAliasTypeToJSON(value
|
|
127
|
-
'strengthExercise': StrengthExerciseDataToJSON(value
|
|
128
|
-
'cardioExercise': CardioExerciseDataToJSON(value
|
|
129
|
-
'stretchExercise': StretchExerciseDataToJSON(value
|
|
119
|
+
'id': value['id'],
|
|
120
|
+
'alias': value['alias'],
|
|
121
|
+
'type': ExerciseAliasTypeToJSON(value['type']),
|
|
122
|
+
'strengthExercise': StrengthExerciseDataToJSON(value['strengthExercise']),
|
|
123
|
+
'cardioExercise': CardioExerciseDataToJSON(value['cardioExercise']),
|
|
124
|
+
'stretchExercise': StretchExerciseDataToJSON(value['stretchExercise']),
|
|
130
125
|
};
|
|
131
126
|
}
|
|
132
127
|
|
|
@@ -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.1
|
|
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.1
|
|
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 ExerciseAliasType = {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
36
|
+
cardio: 'cardio',
|
|
37
|
+
strength: 'strength',
|
|
38
|
+
stretch: 'stretch'
|
|
24
39
|
} as const;
|
|
25
40
|
export type ExerciseAliasType =
|
|
26
41
|
| 'cardio'
|
|
@@ -29,15 +44,19 @@ export type ExerciseAliasType =
|
|
|
29
44
|
;
|
|
30
45
|
|
|
31
46
|
|
|
32
|
-
export function
|
|
47
|
+
export function instanceOfExerciseAliasType(value: unknown): boolean {
|
|
48
|
+
return (Object.values(ExerciseAliasType) as unknown[]).includes(value);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function ExerciseAliasTypeFromJSON(json: unknown): ExerciseAliasType {
|
|
33
52
|
return ExerciseAliasTypeFromJSONTyped(json, false);
|
|
34
53
|
}
|
|
35
54
|
|
|
36
|
-
export function ExerciseAliasTypeFromJSONTyped(json:
|
|
55
|
+
export function ExerciseAliasTypeFromJSONTyped(json: unknown, ignoreDiscriminator: boolean): ExerciseAliasType {
|
|
37
56
|
return json as ExerciseAliasType;
|
|
38
57
|
}
|
|
39
58
|
|
|
40
|
-
export function ExerciseAliasTypeToJSON(value?: ExerciseAliasType | null):
|
|
41
|
-
return value
|
|
59
|
+
export function ExerciseAliasTypeToJSON(value?: ExerciseAliasType | null): ExerciseAliasType | 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.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,13 +12,19 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
import type { CardioExerciseVariantData } from './CardioExerciseVariantData';
|
|
17
17
|
import {
|
|
18
18
|
CardioExerciseVariantDataFromJSON,
|
|
19
19
|
CardioExerciseVariantDataFromJSONTyped,
|
|
20
20
|
CardioExerciseVariantDataToJSON,
|
|
21
21
|
} from './CardioExerciseVariantData';
|
|
22
|
+
import type { StretchExerciseVariantData } from './StretchExerciseVariantData';
|
|
23
|
+
import {
|
|
24
|
+
StretchExerciseVariantDataFromJSON,
|
|
25
|
+
StretchExerciseVariantDataFromJSONTyped,
|
|
26
|
+
StretchExerciseVariantDataToJSON,
|
|
27
|
+
} from './StretchExerciseVariantData';
|
|
22
28
|
import type { ExerciseOrdinalSetData } from './ExerciseOrdinalSetData';
|
|
23
29
|
import {
|
|
24
30
|
ExerciseOrdinalSetDataFromJSON,
|
|
@@ -31,12 +37,6 @@ import {
|
|
|
31
37
|
StrengthExerciseVariantDataFromJSONTyped,
|
|
32
38
|
StrengthExerciseVariantDataToJSON,
|
|
33
39
|
} from './StrengthExerciseVariantData';
|
|
34
|
-
import type { StretchExerciseVariantData } from './StretchExerciseVariantData';
|
|
35
|
-
import {
|
|
36
|
-
StretchExerciseVariantDataFromJSON,
|
|
37
|
-
StretchExerciseVariantDataFromJSONTyped,
|
|
38
|
-
StretchExerciseVariantDataToJSON,
|
|
39
|
-
} from './StretchExerciseVariantData';
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
@@ -85,12 +85,10 @@ export interface ExerciseOrdinalSetAssignmentData {
|
|
|
85
85
|
/**
|
|
86
86
|
* Check if a given object implements the ExerciseOrdinalSetAssignmentData interface.
|
|
87
87
|
*/
|
|
88
|
-
export function instanceOfExerciseOrdinalSetAssignmentData(value: object):
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
return isInstance;
|
|
88
|
+
export function instanceOfExerciseOrdinalSetAssignmentData(value: object): value is ExerciseOrdinalSetAssignmentData {
|
|
89
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
90
|
+
if (!('ordinalIdentifier' in value) || value['ordinalIdentifier'] === undefined) return false;
|
|
91
|
+
return true;
|
|
94
92
|
}
|
|
95
93
|
|
|
96
94
|
export function ExerciseOrdinalSetAssignmentDataFromJSON(json: any): ExerciseOrdinalSetAssignmentData {
|
|
@@ -98,35 +96,32 @@ export function ExerciseOrdinalSetAssignmentDataFromJSON(json: any): ExerciseOrd
|
|
|
98
96
|
}
|
|
99
97
|
|
|
100
98
|
export function ExerciseOrdinalSetAssignmentDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExerciseOrdinalSetAssignmentData {
|
|
101
|
-
if (
|
|
99
|
+
if (json == null) {
|
|
102
100
|
return json;
|
|
103
101
|
}
|
|
104
102
|
return {
|
|
105
103
|
|
|
106
104
|
'id': json['id'],
|
|
107
105
|
'ordinalIdentifier': json['ordinalIdentifier'],
|
|
108
|
-
'exerciseOrdinalSet':
|
|
109
|
-
'strengthExerciseVariant':
|
|
110
|
-
'cardioExerciseVariant':
|
|
111
|
-
'stretchExerciseVariant':
|
|
106
|
+
'exerciseOrdinalSet': json['exerciseOrdinalSet'] == null ? undefined : ExerciseOrdinalSetDataFromJSON(json['exerciseOrdinalSet']),
|
|
107
|
+
'strengthExerciseVariant': json['strengthExerciseVariant'] == null ? undefined : StrengthExerciseVariantDataFromJSON(json['strengthExerciseVariant']),
|
|
108
|
+
'cardioExerciseVariant': json['cardioExerciseVariant'] == null ? undefined : CardioExerciseVariantDataFromJSON(json['cardioExerciseVariant']),
|
|
109
|
+
'stretchExerciseVariant': json['stretchExerciseVariant'] == null ? undefined : StretchExerciseVariantDataFromJSON(json['stretchExerciseVariant']),
|
|
112
110
|
};
|
|
113
111
|
}
|
|
114
112
|
|
|
115
113
|
export function ExerciseOrdinalSetAssignmentDataToJSON(value?: ExerciseOrdinalSetAssignmentData | null): any {
|
|
116
|
-
if (value
|
|
117
|
-
return
|
|
118
|
-
}
|
|
119
|
-
if (value === null) {
|
|
120
|
-
return null;
|
|
114
|
+
if (value == null) {
|
|
115
|
+
return value;
|
|
121
116
|
}
|
|
122
117
|
return {
|
|
123
118
|
|
|
124
|
-
'id': value
|
|
125
|
-
'ordinalIdentifier': value
|
|
126
|
-
'exerciseOrdinalSet': ExerciseOrdinalSetDataToJSON(value
|
|
127
|
-
'strengthExerciseVariant': StrengthExerciseVariantDataToJSON(value
|
|
128
|
-
'cardioExerciseVariant': CardioExerciseVariantDataToJSON(value
|
|
129
|
-
'stretchExerciseVariant': StretchExerciseVariantDataToJSON(value
|
|
119
|
+
'id': value['id'],
|
|
120
|
+
'ordinalIdentifier': value['ordinalIdentifier'],
|
|
121
|
+
'exerciseOrdinalSet': ExerciseOrdinalSetDataToJSON(value['exerciseOrdinalSet']),
|
|
122
|
+
'strengthExerciseVariant': StrengthExerciseVariantDataToJSON(value['strengthExerciseVariant']),
|
|
123
|
+
'cardioExerciseVariant': CardioExerciseVariantDataToJSON(value['cardioExerciseVariant']),
|
|
124
|
+
'stretchExerciseVariant': StretchExerciseVariantDataToJSON(value['stretchExerciseVariant']),
|
|
130
125
|
};
|
|
131
126
|
}
|
|
132
127
|
|
|
@@ -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.1
|
|
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 { ExerciseOrdinalSetAssignmentData } from './ExerciseOrdinalSetAssignmentData';
|
|
17
17
|
import {
|
|
18
18
|
ExerciseOrdinalSetAssignmentDataFromJSON,
|
|
@@ -61,13 +61,11 @@ export interface ExerciseOrdinalSetData {
|
|
|
61
61
|
/**
|
|
62
62
|
* Check if a given object implements the ExerciseOrdinalSetData interface.
|
|
63
63
|
*/
|
|
64
|
-
export function instanceOfExerciseOrdinalSetData(value: object):
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
return isInstance;
|
|
64
|
+
export function instanceOfExerciseOrdinalSetData(value: object): value is ExerciseOrdinalSetData {
|
|
65
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
66
|
+
if (!('code' in value) || value['code'] === undefined) return false;
|
|
67
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
68
|
+
return true;
|
|
71
69
|
}
|
|
72
70
|
|
|
73
71
|
export function ExerciseOrdinalSetDataFromJSON(json: any): ExerciseOrdinalSetData {
|
|
@@ -75,7 +73,7 @@ export function ExerciseOrdinalSetDataFromJSON(json: any): ExerciseOrdinalSetDat
|
|
|
75
73
|
}
|
|
76
74
|
|
|
77
75
|
export function ExerciseOrdinalSetDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExerciseOrdinalSetData {
|
|
78
|
-
if (
|
|
76
|
+
if (json == null) {
|
|
79
77
|
return json;
|
|
80
78
|
}
|
|
81
79
|
return {
|
|
@@ -83,25 +81,22 @@ export function ExerciseOrdinalSetDataFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
83
81
|
'id': json['id'],
|
|
84
82
|
'code': json['code'],
|
|
85
83
|
'name': json['name'],
|
|
86
|
-
'description':
|
|
87
|
-
'exerciseOrdinalSetAssignments':
|
|
84
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
85
|
+
'exerciseOrdinalSetAssignments': json['exerciseOrdinalSetAssignments'] == null ? undefined : ((json['exerciseOrdinalSetAssignments'] as Array<any>).map(ExerciseOrdinalSetAssignmentDataFromJSON)),
|
|
88
86
|
};
|
|
89
87
|
}
|
|
90
88
|
|
|
91
89
|
export function ExerciseOrdinalSetDataToJSON(value?: ExerciseOrdinalSetData | null): any {
|
|
92
|
-
if (value
|
|
93
|
-
return
|
|
94
|
-
}
|
|
95
|
-
if (value === null) {
|
|
96
|
-
return null;
|
|
90
|
+
if (value == null) {
|
|
91
|
+
return value;
|
|
97
92
|
}
|
|
98
93
|
return {
|
|
99
94
|
|
|
100
|
-
'id': value
|
|
101
|
-
'code': value
|
|
102
|
-
'name': value
|
|
103
|
-
'description': value
|
|
104
|
-
'exerciseOrdinalSetAssignments': value
|
|
95
|
+
'id': value['id'],
|
|
96
|
+
'code': value['code'],
|
|
97
|
+
'name': value['name'],
|
|
98
|
+
'description': value['description'],
|
|
99
|
+
'exerciseOrdinalSetAssignments': value['exerciseOrdinalSetAssignments'] == null ? undefined : ((value['exerciseOrdinalSetAssignments'] as Array<any>).map(ExerciseOrdinalSetAssignmentDataToJSON)),
|
|
105
100
|
};
|
|
106
101
|
}
|
|
107
102
|
|