@keiser/metrics-sdk-admin-typescript 5.3.18 → 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,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 { SessionPlanSetData } from './SessionPlanSetData';
|
|
17
17
|
import {
|
|
18
18
|
SessionPlanSetDataFromJSON,
|
|
@@ -73,12 +73,10 @@ export interface SessionPlanSequenceData {
|
|
|
73
73
|
/**
|
|
74
74
|
* Check if a given object implements the SessionPlanSequenceData interface.
|
|
75
75
|
*/
|
|
76
|
-
export function instanceOfSessionPlanSequenceData(value: object):
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
return isInstance;
|
|
76
|
+
export function instanceOfSessionPlanSequenceData(value: object): value is SessionPlanSequenceData {
|
|
77
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
78
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
79
|
+
return true;
|
|
82
80
|
}
|
|
83
81
|
|
|
84
82
|
export function SessionPlanSequenceDataFromJSON(json: any): SessionPlanSequenceData {
|
|
@@ -86,35 +84,32 @@ export function SessionPlanSequenceDataFromJSON(json: any): SessionPlanSequenceD
|
|
|
86
84
|
}
|
|
87
85
|
|
|
88
86
|
export function SessionPlanSequenceDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionPlanSequenceData {
|
|
89
|
-
if (
|
|
87
|
+
if (json == null) {
|
|
90
88
|
return json;
|
|
91
89
|
}
|
|
92
90
|
return {
|
|
93
91
|
|
|
94
92
|
'id': json['id'],
|
|
95
93
|
'name': json['name'],
|
|
96
|
-
'description':
|
|
97
|
-
'notes':
|
|
98
|
-
'user':
|
|
99
|
-
'sessionPlanSets':
|
|
94
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
95
|
+
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
96
|
+
'user': json['user'] == null ? undefined : UserDataFromJSON(json['user']),
|
|
97
|
+
'sessionPlanSets': json['sessionPlanSets'] == null ? undefined : ((json['sessionPlanSets'] as Array<any>).map(SessionPlanSetDataFromJSON)),
|
|
100
98
|
};
|
|
101
99
|
}
|
|
102
100
|
|
|
103
101
|
export function SessionPlanSequenceDataToJSON(value?: SessionPlanSequenceData | null): any {
|
|
104
|
-
if (value
|
|
105
|
-
return
|
|
106
|
-
}
|
|
107
|
-
if (value === null) {
|
|
108
|
-
return null;
|
|
102
|
+
if (value == null) {
|
|
103
|
+
return value;
|
|
109
104
|
}
|
|
110
105
|
return {
|
|
111
106
|
|
|
112
|
-
'id': value
|
|
113
|
-
'name': value
|
|
114
|
-
'description': value
|
|
115
|
-
'notes': value
|
|
116
|
-
'user': UserDataToJSON(value
|
|
117
|
-
'sessionPlanSets': value
|
|
107
|
+
'id': value['id'],
|
|
108
|
+
'name': value['name'],
|
|
109
|
+
'description': value['description'],
|
|
110
|
+
'notes': value['notes'],
|
|
111
|
+
'user': UserDataToJSON(value['user']),
|
|
112
|
+
'sessionPlanSets': value['sessionPlanSets'] == null ? undefined : ((value['sessionPlanSets'] as Array<any>).map(SessionPlanSetDataToJSON)),
|
|
118
113
|
};
|
|
119
114
|
}
|
|
120
115
|
|
|
@@ -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,25 +12,25 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
import type { SessionPlanData } from './SessionPlanData';
|
|
17
17
|
import {
|
|
18
18
|
SessionPlanDataFromJSON,
|
|
19
19
|
SessionPlanDataFromJSONTyped,
|
|
20
20
|
SessionPlanDataToJSON,
|
|
21
21
|
} from './SessionPlanData';
|
|
22
|
-
import type { SessionPlanSetInstanceData } from './SessionPlanSetInstanceData';
|
|
23
|
-
import {
|
|
24
|
-
SessionPlanSetInstanceDataFromJSON,
|
|
25
|
-
SessionPlanSetInstanceDataFromJSONTyped,
|
|
26
|
-
SessionPlanSetInstanceDataToJSON,
|
|
27
|
-
} from './SessionPlanSetInstanceData';
|
|
28
22
|
import type { UserData } from './UserData';
|
|
29
23
|
import {
|
|
30
24
|
UserDataFromJSON,
|
|
31
25
|
UserDataFromJSONTyped,
|
|
32
26
|
UserDataToJSON,
|
|
33
27
|
} from './UserData';
|
|
28
|
+
import type { SessionPlanSetInstanceData } from './SessionPlanSetInstanceData';
|
|
29
|
+
import {
|
|
30
|
+
SessionPlanSetInstanceDataFromJSON,
|
|
31
|
+
SessionPlanSetInstanceDataFromJSONTyped,
|
|
32
|
+
SessionPlanSetInstanceDataToJSON,
|
|
33
|
+
} from './SessionPlanSetInstanceData';
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
@@ -97,16 +97,14 @@ export interface SessionPlanSequenceInstanceData {
|
|
|
97
97
|
/**
|
|
98
98
|
* Check if a given object implements the SessionPlanSequenceInstanceData interface.
|
|
99
99
|
*/
|
|
100
|
-
export function instanceOfSessionPlanSequenceInstanceData(value: object):
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
return isInstance;
|
|
100
|
+
export function instanceOfSessionPlanSequenceInstanceData(value: object): value is SessionPlanSequenceInstanceData {
|
|
101
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
102
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
103
|
+
if (!('description' in value) || value['description'] === undefined) return false;
|
|
104
|
+
if (!('notes' in value) || value['notes'] === undefined) return false;
|
|
105
|
+
if (!('startedAt' in value) || value['startedAt'] === undefined) return false;
|
|
106
|
+
if (!('scheduleIndex' in value) || value['scheduleIndex'] === undefined) return false;
|
|
107
|
+
return true;
|
|
110
108
|
}
|
|
111
109
|
|
|
112
110
|
export function SessionPlanSequenceInstanceDataFromJSON(json: any): SessionPlanSequenceInstanceData {
|
|
@@ -114,7 +112,7 @@ export function SessionPlanSequenceInstanceDataFromJSON(json: any): SessionPlanS
|
|
|
114
112
|
}
|
|
115
113
|
|
|
116
114
|
export function SessionPlanSequenceInstanceDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionPlanSequenceInstanceData {
|
|
117
|
-
if (
|
|
115
|
+
if (json == null) {
|
|
118
116
|
return json;
|
|
119
117
|
}
|
|
120
118
|
return {
|
|
@@ -125,30 +123,27 @@ export function SessionPlanSequenceInstanceDataFromJSONTyped(json: any, ignoreDi
|
|
|
125
123
|
'notes': json['notes'],
|
|
126
124
|
'startedAt': (new Date(json['startedAt'])),
|
|
127
125
|
'scheduleIndex': json['scheduleIndex'],
|
|
128
|
-
'user':
|
|
129
|
-
'sessionPlan':
|
|
130
|
-
'sessionPlanSetInstances':
|
|
126
|
+
'user': json['user'] == null ? undefined : UserDataFromJSON(json['user']),
|
|
127
|
+
'sessionPlan': json['sessionPlan'] == null ? undefined : SessionPlanDataFromJSON(json['sessionPlan']),
|
|
128
|
+
'sessionPlanSetInstances': json['sessionPlanSetInstances'] == null ? undefined : ((json['sessionPlanSetInstances'] as Array<any>).map(SessionPlanSetInstanceDataFromJSON)),
|
|
131
129
|
};
|
|
132
130
|
}
|
|
133
131
|
|
|
134
132
|
export function SessionPlanSequenceInstanceDataToJSON(value?: SessionPlanSequenceInstanceData | null): any {
|
|
135
|
-
if (value
|
|
136
|
-
return
|
|
137
|
-
}
|
|
138
|
-
if (value === null) {
|
|
139
|
-
return null;
|
|
133
|
+
if (value == null) {
|
|
134
|
+
return value;
|
|
140
135
|
}
|
|
141
136
|
return {
|
|
142
137
|
|
|
143
|
-
'id': value
|
|
144
|
-
'name': value
|
|
145
|
-
'description': value
|
|
146
|
-
'notes': value
|
|
147
|
-
'startedAt': (value
|
|
148
|
-
'scheduleIndex': value
|
|
149
|
-
'user': UserDataToJSON(value
|
|
150
|
-
'sessionPlan': SessionPlanDataToJSON(value
|
|
151
|
-
'sessionPlanSetInstances': value
|
|
138
|
+
'id': value['id'],
|
|
139
|
+
'name': value['name'],
|
|
140
|
+
'description': value['description'],
|
|
141
|
+
'notes': value['notes'],
|
|
142
|
+
'startedAt': ((value['startedAt']).toISOString()),
|
|
143
|
+
'scheduleIndex': value['scheduleIndex'],
|
|
144
|
+
'user': UserDataToJSON(value['user']),
|
|
145
|
+
'sessionPlan': SessionPlanDataToJSON(value['sessionPlan']),
|
|
146
|
+
'sessionPlanSetInstances': value['sessionPlanSetInstances'] == null ? undefined : ((value['sessionPlanSetInstances'] as Array<any>).map(SessionPlanSetInstanceDataToJSON)),
|
|
152
147
|
};
|
|
153
148
|
}
|
|
154
149
|
|
|
@@ -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,37 +12,37 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
import type { SessionPlanActivitySetData } from './SessionPlanActivitySetData';
|
|
17
17
|
import {
|
|
18
18
|
SessionPlanActivitySetDataFromJSON,
|
|
19
19
|
SessionPlanActivitySetDataFromJSONTyped,
|
|
20
20
|
SessionPlanActivitySetDataToJSON,
|
|
21
21
|
} from './SessionPlanActivitySetData';
|
|
22
|
+
import type { SessionPlanStretchSetData } from './SessionPlanStretchSetData';
|
|
23
|
+
import {
|
|
24
|
+
SessionPlanStretchSetDataFromJSON,
|
|
25
|
+
SessionPlanStretchSetDataFromJSONTyped,
|
|
26
|
+
SessionPlanStretchSetDataToJSON,
|
|
27
|
+
} from './SessionPlanStretchSetData';
|
|
22
28
|
import type { SessionPlanCardioSetData } from './SessionPlanCardioSetData';
|
|
23
29
|
import {
|
|
24
30
|
SessionPlanCardioSetDataFromJSON,
|
|
25
31
|
SessionPlanCardioSetDataFromJSONTyped,
|
|
26
32
|
SessionPlanCardioSetDataToJSON,
|
|
27
33
|
} from './SessionPlanCardioSetData';
|
|
28
|
-
import type { SessionPlanSetType } from './SessionPlanSetType';
|
|
29
|
-
import {
|
|
30
|
-
SessionPlanSetTypeFromJSON,
|
|
31
|
-
SessionPlanSetTypeFromJSONTyped,
|
|
32
|
-
SessionPlanSetTypeToJSON,
|
|
33
|
-
} from './SessionPlanSetType';
|
|
34
34
|
import type { SessionPlanStrengthSetData } from './SessionPlanStrengthSetData';
|
|
35
35
|
import {
|
|
36
36
|
SessionPlanStrengthSetDataFromJSON,
|
|
37
37
|
SessionPlanStrengthSetDataFromJSONTyped,
|
|
38
38
|
SessionPlanStrengthSetDataToJSON,
|
|
39
39
|
} from './SessionPlanStrengthSetData';
|
|
40
|
-
import type {
|
|
40
|
+
import type { SessionPlanSetType } from './SessionPlanSetType';
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from './
|
|
42
|
+
SessionPlanSetTypeFromJSON,
|
|
43
|
+
SessionPlanSetTypeFromJSONTyped,
|
|
44
|
+
SessionPlanSetTypeToJSON,
|
|
45
|
+
} from './SessionPlanSetType';
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
@@ -97,11 +97,9 @@ export interface SessionPlanSetData {
|
|
|
97
97
|
/**
|
|
98
98
|
* Check if a given object implements the SessionPlanSetData interface.
|
|
99
99
|
*/
|
|
100
|
-
export function instanceOfSessionPlanSetData(value: object):
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
return isInstance;
|
|
100
|
+
export function instanceOfSessionPlanSetData(value: object): value is SessionPlanSetData {
|
|
101
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
102
|
+
return true;
|
|
105
103
|
}
|
|
106
104
|
|
|
107
105
|
export function SessionPlanSetDataFromJSON(json: any): SessionPlanSetData {
|
|
@@ -109,37 +107,34 @@ export function SessionPlanSetDataFromJSON(json: any): SessionPlanSetData {
|
|
|
109
107
|
}
|
|
110
108
|
|
|
111
109
|
export function SessionPlanSetDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionPlanSetData {
|
|
112
|
-
if (
|
|
110
|
+
if (json == null) {
|
|
113
111
|
return json;
|
|
114
112
|
}
|
|
115
113
|
return {
|
|
116
114
|
|
|
117
115
|
'id': json['id'],
|
|
118
|
-
'notes':
|
|
119
|
-
'type':
|
|
120
|
-
'sessionPlanCardioSet':
|
|
121
|
-
'sessionPlanStrengthSet':
|
|
122
|
-
'sessionPlanStretchSet':
|
|
123
|
-
'sessionPlanAcvivitySet':
|
|
116
|
+
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
117
|
+
'type': json['type'] == null ? undefined : SessionPlanSetTypeFromJSON(json['type']),
|
|
118
|
+
'sessionPlanCardioSet': json['sessionPlanCardioSet'] == null ? undefined : SessionPlanCardioSetDataFromJSON(json['sessionPlanCardioSet']),
|
|
119
|
+
'sessionPlanStrengthSet': json['sessionPlanStrengthSet'] == null ? undefined : SessionPlanStrengthSetDataFromJSON(json['sessionPlanStrengthSet']),
|
|
120
|
+
'sessionPlanStretchSet': json['sessionPlanStretchSet'] == null ? undefined : SessionPlanStretchSetDataFromJSON(json['sessionPlanStretchSet']),
|
|
121
|
+
'sessionPlanAcvivitySet': json['sessionPlanAcvivitySet'] == null ? undefined : SessionPlanActivitySetDataFromJSON(json['sessionPlanAcvivitySet']),
|
|
124
122
|
};
|
|
125
123
|
}
|
|
126
124
|
|
|
127
125
|
export function SessionPlanSetDataToJSON(value?: SessionPlanSetData | null): any {
|
|
128
|
-
if (value
|
|
129
|
-
return
|
|
130
|
-
}
|
|
131
|
-
if (value === null) {
|
|
132
|
-
return null;
|
|
126
|
+
if (value == null) {
|
|
127
|
+
return value;
|
|
133
128
|
}
|
|
134
129
|
return {
|
|
135
130
|
|
|
136
|
-
'id': value
|
|
137
|
-
'notes': value
|
|
138
|
-
'type': SessionPlanSetTypeToJSON(value
|
|
139
|
-
'sessionPlanCardioSet': SessionPlanCardioSetDataToJSON(value
|
|
140
|
-
'sessionPlanStrengthSet': SessionPlanStrengthSetDataToJSON(value
|
|
141
|
-
'sessionPlanStretchSet': SessionPlanStretchSetDataToJSON(value
|
|
142
|
-
'sessionPlanAcvivitySet': SessionPlanActivitySetDataToJSON(value
|
|
131
|
+
'id': value['id'],
|
|
132
|
+
'notes': value['notes'],
|
|
133
|
+
'type': SessionPlanSetTypeToJSON(value['type']),
|
|
134
|
+
'sessionPlanCardioSet': SessionPlanCardioSetDataToJSON(value['sessionPlanCardioSet']),
|
|
135
|
+
'sessionPlanStrengthSet': SessionPlanStrengthSetDataToJSON(value['sessionPlanStrengthSet']),
|
|
136
|
+
'sessionPlanStretchSet': SessionPlanStretchSetDataToJSON(value['sessionPlanStretchSet']),
|
|
137
|
+
'sessionPlanAcvivitySet': SessionPlanActivitySetDataToJSON(value['sessionPlanAcvivitySet']),
|
|
143
138
|
};
|
|
144
139
|
}
|
|
145
140
|
|
|
@@ -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,19 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
import type { SessionPlanActivitySetData } from './SessionPlanActivitySetData';
|
|
17
17
|
import {
|
|
18
18
|
SessionPlanActivitySetDataFromJSON,
|
|
19
19
|
SessionPlanActivitySetDataFromJSONTyped,
|
|
20
20
|
SessionPlanActivitySetDataToJSON,
|
|
21
21
|
} from './SessionPlanActivitySetData';
|
|
22
|
+
import type { SessionPlanStretchSetData } from './SessionPlanStretchSetData';
|
|
23
|
+
import {
|
|
24
|
+
SessionPlanStretchSetDataFromJSON,
|
|
25
|
+
SessionPlanStretchSetDataFromJSONTyped,
|
|
26
|
+
SessionPlanStretchSetDataToJSON,
|
|
27
|
+
} from './SessionPlanStretchSetData';
|
|
22
28
|
import type { SessionPlanCardioSetData } from './SessionPlanCardioSetData';
|
|
23
29
|
import {
|
|
24
30
|
SessionPlanCardioSetDataFromJSON,
|
|
@@ -31,12 +37,6 @@ import {
|
|
|
31
37
|
SessionPlanStrengthSetDataFromJSONTyped,
|
|
32
38
|
SessionPlanStrengthSetDataToJSON,
|
|
33
39
|
} from './SessionPlanStrengthSetData';
|
|
34
|
-
import type { SessionPlanStretchSetData } from './SessionPlanStretchSetData';
|
|
35
|
-
import {
|
|
36
|
-
SessionPlanStretchSetDataFromJSON,
|
|
37
|
-
SessionPlanStretchSetDataFromJSONTyped,
|
|
38
|
-
SessionPlanStretchSetDataToJSON,
|
|
39
|
-
} from './SessionPlanStretchSetData';
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
@@ -115,12 +115,10 @@ export type SessionPlanSetInstanceDataTypeEnum =
|
|
|
115
115
|
/**
|
|
116
116
|
* Check if a given object implements the SessionPlanSetInstanceData interface.
|
|
117
117
|
*/
|
|
118
|
-
export function instanceOfSessionPlanSetInstanceData(value: object):
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
return isInstance;
|
|
118
|
+
export function instanceOfSessionPlanSetInstanceData(value: object): value is SessionPlanSetInstanceData {
|
|
119
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
120
|
+
if (!('completed' in value) || value['completed'] === undefined) return false;
|
|
121
|
+
return true;
|
|
124
122
|
}
|
|
125
123
|
|
|
126
124
|
export function SessionPlanSetInstanceDataFromJSON(json: any): SessionPlanSetInstanceData {
|
|
@@ -128,39 +126,36 @@ export function SessionPlanSetInstanceDataFromJSON(json: any): SessionPlanSetIns
|
|
|
128
126
|
}
|
|
129
127
|
|
|
130
128
|
export function SessionPlanSetInstanceDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionPlanSetInstanceData {
|
|
131
|
-
if (
|
|
129
|
+
if (json == null) {
|
|
132
130
|
return json;
|
|
133
131
|
}
|
|
134
132
|
return {
|
|
135
133
|
|
|
136
134
|
'id': json['id'],
|
|
137
|
-
'notes':
|
|
135
|
+
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
138
136
|
'completed': json['completed'],
|
|
139
|
-
'type':
|
|
140
|
-
'sessionPlanCardioSet':
|
|
141
|
-
'sessionPlanStrengthSet':
|
|
142
|
-
'sessionPlanStretchSet':
|
|
143
|
-
'sessionPlanAcvivitySet':
|
|
137
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
138
|
+
'sessionPlanCardioSet': json['sessionPlanCardioSet'] == null ? undefined : SessionPlanCardioSetDataFromJSON(json['sessionPlanCardioSet']),
|
|
139
|
+
'sessionPlanStrengthSet': json['sessionPlanStrengthSet'] == null ? undefined : SessionPlanStrengthSetDataFromJSON(json['sessionPlanStrengthSet']),
|
|
140
|
+
'sessionPlanStretchSet': json['sessionPlanStretchSet'] == null ? undefined : SessionPlanStretchSetDataFromJSON(json['sessionPlanStretchSet']),
|
|
141
|
+
'sessionPlanAcvivitySet': json['sessionPlanAcvivitySet'] == null ? undefined : SessionPlanActivitySetDataFromJSON(json['sessionPlanAcvivitySet']),
|
|
144
142
|
};
|
|
145
143
|
}
|
|
146
144
|
|
|
147
145
|
export function SessionPlanSetInstanceDataToJSON(value?: SessionPlanSetInstanceData | null): any {
|
|
148
|
-
if (value
|
|
149
|
-
return
|
|
150
|
-
}
|
|
151
|
-
if (value === null) {
|
|
152
|
-
return null;
|
|
146
|
+
if (value == null) {
|
|
147
|
+
return value;
|
|
153
148
|
}
|
|
154
149
|
return {
|
|
155
150
|
|
|
156
|
-
'id': value
|
|
157
|
-
'notes': value
|
|
158
|
-
'completed': value
|
|
159
|
-
'type': value
|
|
160
|
-
'sessionPlanCardioSet': SessionPlanCardioSetDataToJSON(value
|
|
161
|
-
'sessionPlanStrengthSet': SessionPlanStrengthSetDataToJSON(value
|
|
162
|
-
'sessionPlanStretchSet': SessionPlanStretchSetDataToJSON(value
|
|
163
|
-
'sessionPlanAcvivitySet': SessionPlanActivitySetDataToJSON(value
|
|
151
|
+
'id': value['id'],
|
|
152
|
+
'notes': value['notes'],
|
|
153
|
+
'completed': value['completed'],
|
|
154
|
+
'type': value['type'],
|
|
155
|
+
'sessionPlanCardioSet': SessionPlanCardioSetDataToJSON(value['sessionPlanCardioSet']),
|
|
156
|
+
'sessionPlanStrengthSet': SessionPlanStrengthSetDataToJSON(value['sessionPlanStrengthSet']),
|
|
157
|
+
'sessionPlanStretchSet': SessionPlanStretchSetDataToJSON(value['sessionPlanStretchSet']),
|
|
158
|
+
'sessionPlanAcvivitySet': SessionPlanActivitySetDataToJSON(value['sessionPlanAcvivitySet']),
|
|
164
159
|
};
|
|
165
160
|
}
|
|
166
161
|
|
|
@@ -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,16 +12,31 @@
|
|
|
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 SessionPlanSetType = {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
36
|
+
cardio: 'cardio',
|
|
37
|
+
strength: 'strength',
|
|
38
|
+
stretch: 'stretch',
|
|
39
|
+
activity: 'activity'
|
|
25
40
|
} as const;
|
|
26
41
|
export type SessionPlanSetType =
|
|
27
42
|
| 'cardio'
|
|
@@ -31,15 +46,19 @@ export type SessionPlanSetType =
|
|
|
31
46
|
;
|
|
32
47
|
|
|
33
48
|
|
|
34
|
-
export function
|
|
49
|
+
export function instanceOfSessionPlanSetType(value: unknown): boolean {
|
|
50
|
+
return (Object.values(SessionPlanSetType) as unknown[]).includes(value);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function SessionPlanSetTypeFromJSON(json: unknown): SessionPlanSetType {
|
|
35
54
|
return SessionPlanSetTypeFromJSONTyped(json, false);
|
|
36
55
|
}
|
|
37
56
|
|
|
38
|
-
export function SessionPlanSetTypeFromJSONTyped(json:
|
|
57
|
+
export function SessionPlanSetTypeFromJSONTyped(json: unknown, ignoreDiscriminator: boolean): SessionPlanSetType {
|
|
39
58
|
return json as SessionPlanSetType;
|
|
40
59
|
}
|
|
41
60
|
|
|
42
|
-
export function SessionPlanSetTypeToJSON(value?: SessionPlanSetType | null):
|
|
43
|
-
return value
|
|
61
|
+
export function SessionPlanSetTypeToJSON(value?: SessionPlanSetType | null): SessionPlanSetType | null | undefined {
|
|
62
|
+
return value;
|
|
44
63
|
}
|
|
45
64
|
|
|
@@ -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,25 +12,25 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
import type { ForceUnit } from './ForceUnit';
|
|
17
17
|
import {
|
|
18
18
|
ForceUnitFromJSON,
|
|
19
19
|
ForceUnitFromJSONTyped,
|
|
20
20
|
ForceUnitToJSON,
|
|
21
21
|
} from './ForceUnit';
|
|
22
|
-
import type { StrengthExerciseData } from './StrengthExerciseData';
|
|
23
|
-
import {
|
|
24
|
-
StrengthExerciseDataFromJSON,
|
|
25
|
-
StrengthExerciseDataFromJSONTyped,
|
|
26
|
-
StrengthExerciseDataToJSON,
|
|
27
|
-
} from './StrengthExerciseData';
|
|
28
22
|
import type { StrengthMachineData } from './StrengthMachineData';
|
|
29
23
|
import {
|
|
30
24
|
StrengthMachineDataFromJSON,
|
|
31
25
|
StrengthMachineDataFromJSONTyped,
|
|
32
26
|
StrengthMachineDataToJSON,
|
|
33
27
|
} from './StrengthMachineData';
|
|
28
|
+
import type { StrengthExerciseData } from './StrengthExerciseData';
|
|
29
|
+
import {
|
|
30
|
+
StrengthExerciseDataFromJSON,
|
|
31
|
+
StrengthExerciseDataFromJSONTyped,
|
|
32
|
+
StrengthExerciseDataToJSON,
|
|
33
|
+
} from './StrengthExerciseData';
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
@@ -73,13 +73,11 @@ export interface SessionPlanStrengthSetData {
|
|
|
73
73
|
/**
|
|
74
74
|
* Check if a given object implements the SessionPlanStrengthSetData interface.
|
|
75
75
|
*/
|
|
76
|
-
export function instanceOfSessionPlanStrengthSetData(value: object):
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
return isInstance;
|
|
76
|
+
export function instanceOfSessionPlanStrengthSetData(value: object): value is SessionPlanStrengthSetData {
|
|
77
|
+
if (!('repetitionCount' in value) || value['repetitionCount'] === undefined) return false;
|
|
78
|
+
if (!('resistance' in value) || value['resistance'] === undefined) return false;
|
|
79
|
+
if (!('forceUnit' in value) || value['forceUnit'] === undefined) return false;
|
|
80
|
+
return true;
|
|
83
81
|
}
|
|
84
82
|
|
|
85
83
|
export function SessionPlanStrengthSetDataFromJSON(json: any): SessionPlanStrengthSetData {
|
|
@@ -87,7 +85,7 @@ export function SessionPlanStrengthSetDataFromJSON(json: any): SessionPlanStreng
|
|
|
87
85
|
}
|
|
88
86
|
|
|
89
87
|
export function SessionPlanStrengthSetDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionPlanStrengthSetData {
|
|
90
|
-
if (
|
|
88
|
+
if (json == null) {
|
|
91
89
|
return json;
|
|
92
90
|
}
|
|
93
91
|
return {
|
|
@@ -95,25 +93,22 @@ export function SessionPlanStrengthSetDataFromJSONTyped(json: any, ignoreDiscrim
|
|
|
95
93
|
'repetitionCount': json['repetitionCount'],
|
|
96
94
|
'resistance': json['resistance'],
|
|
97
95
|
'forceUnit': ForceUnitFromJSON(json['forceUnit']),
|
|
98
|
-
'strengthExercise':
|
|
99
|
-
'strengthMachine':
|
|
96
|
+
'strengthExercise': json['strengthExercise'] == null ? undefined : StrengthExerciseDataFromJSON(json['strengthExercise']),
|
|
97
|
+
'strengthMachine': json['strengthMachine'] == null ? undefined : StrengthMachineDataFromJSON(json['strengthMachine']),
|
|
100
98
|
};
|
|
101
99
|
}
|
|
102
100
|
|
|
103
101
|
export function SessionPlanStrengthSetDataToJSON(value?: SessionPlanStrengthSetData | null): any {
|
|
104
|
-
if (value
|
|
105
|
-
return
|
|
106
|
-
}
|
|
107
|
-
if (value === null) {
|
|
108
|
-
return null;
|
|
102
|
+
if (value == null) {
|
|
103
|
+
return value;
|
|
109
104
|
}
|
|
110
105
|
return {
|
|
111
106
|
|
|
112
|
-
'repetitionCount': value
|
|
113
|
-
'resistance': value
|
|
114
|
-
'forceUnit': ForceUnitToJSON(value
|
|
115
|
-
'strengthExercise': StrengthExerciseDataToJSON(value
|
|
116
|
-
'strengthMachine': StrengthMachineDataToJSON(value
|
|
107
|
+
'repetitionCount': value['repetitionCount'],
|
|
108
|
+
'resistance': value['resistance'],
|
|
109
|
+
'forceUnit': ForceUnitToJSON(value['forceUnit']),
|
|
110
|
+
'strengthExercise': StrengthExerciseDataToJSON(value['strengthExercise']),
|
|
111
|
+
'strengthMachine': StrengthMachineDataToJSON(value['strengthMachine']),
|
|
117
112
|
};
|
|
118
113
|
}
|
|
119
114
|
|