@keiser/metrics-sdk-admin-typescript 5.3.17 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -2
- package/dist/apis/MetricsAdminApi.d.ts +13 -2
- package/dist/connection.d.ts +3 -3
- package/dist/index.js +6006 -3206
- package/dist/index.mjs +5864 -3207
- package/dist/models/A400DataSetData.d.ts +50 -0
- package/dist/models/A500AppType.d.ts +20 -8
- package/dist/models/A500DataSetData.d.ts +5 -5
- package/dist/models/A500DataSetType.d.ts +18 -6
- package/dist/models/A500MachineStateData.d.ts +4 -4
- package/dist/models/A500RepDataPointData.d.ts +3 -3
- package/dist/models/A500TestResultData.d.ts +2 -2
- package/dist/models/A500TimeSeriesPointData.d.ts +2 -2
- package/dist/models/AcceptedTermsVersionData.d.ts +2 -2
- package/dist/models/AccessControlRight.d.ts +18 -6
- package/dist/models/AnalyticRight.d.ts +17 -5
- package/dist/models/BodyCompositionMeasurementData.d.ts +2 -2
- package/dist/models/CacheKeysResponse.d.ts +2 -2
- package/dist/models/CacheObject.d.ts +2 -2
- package/dist/models/CacheObjectResponse.d.ts +2 -2
- package/dist/models/CardioExerciseData.d.ts +4 -4
- package/dist/models/CardioExerciseVariantData.d.ts +4 -4
- package/dist/models/CardioExerciseVariantType.d.ts +17 -5
- package/dist/models/CardioMachineData.d.ts +3 -3
- package/dist/models/CardioMachineParseCode.d.ts +18 -6
- package/dist/models/CharacterType.d.ts +18 -6
- package/dist/models/DisplayDataMode.d.ts +35 -0
- package/dist/models/DisplayFocusMode.d.ts +35 -0
- package/dist/models/DisplayUnit.d.ts +36 -0
- package/dist/models/EmailAddressData.d.ts +2 -2
- package/dist/models/EmployeeRole.d.ts +21 -9
- package/dist/models/Exercise.d.ts +49 -0
- package/dist/models/ExerciseAliasData.d.ts +4 -4
- package/dist/models/ExerciseAliasType.d.ts +19 -7
- package/dist/models/ExerciseOrdinalSetAssignmentData.d.ts +3 -3
- package/dist/models/ExerciseOrdinalSetData.d.ts +2 -2
- package/dist/models/ExerciseRight.d.ts +17 -5
- package/dist/models/FacilityConfigurationData.d.ts +2 -2
- package/dist/models/FacilityData.d.ts +15 -2
- package/dist/models/FacilityDisplayConfigurationData.d.ts +132 -0
- package/dist/models/FacilityDisplayOperatingSchedule.d.ts +68 -0
- package/dist/models/FacilityDisplayOperatingScheduleEntry.d.ts +38 -0
- package/dist/models/FacilityDisplayOperatingScheduleTime.d.ts +37 -0
- package/dist/models/FacilityLicenseData.d.ts +2 -2
- package/dist/models/FacilityLicenseListResponse.d.ts +2 -2
- package/dist/models/FacilityLicenseListResponseMeta.d.ts +2 -2
- package/dist/models/FacilityLicenseResponse.d.ts +2 -2
- package/dist/models/FacilityLicenseSorting.d.ts +20 -8
- package/dist/models/FacilityLicenseType.d.ts +19 -7
- package/dist/models/FacilityProfileData.d.ts +2 -2
- package/dist/models/FacilityRelationshipData.d.ts +21 -3
- package/dist/models/FacilityResponse.d.ts +44 -0
- package/dist/models/FacilityRight.d.ts +18 -6
- package/dist/models/FacilitySessionUserData.d.ts +6 -6
- package/dist/models/FacilityStrengthMachineConfigurationData.d.ts +3 -3
- package/dist/models/FacilityStrengthMachineData.d.ts +3 -3
- package/dist/models/ForceUnit.d.ts +20 -8
- package/dist/models/GlobalAccessControlCreationResponse.d.ts +2 -2
- package/dist/models/GlobalAccessControlData.d.ts +6 -6
- package/dist/models/GlobalAccessControlListResponse.d.ts +2 -2
- package/dist/models/GlobalAccessControlListResponseMeta.d.ts +2 -2
- package/dist/models/GlobalAccessControlResponse.d.ts +2 -2
- package/dist/models/GlobalAccessControlSecretData.d.ts +2 -2
- package/dist/models/GlobalAccessControlSecretResponse.d.ts +2 -2
- package/dist/models/GlobalAccessControlSorting.d.ts +18 -6
- package/dist/models/HeartRateDataPointData.d.ts +2 -2
- package/dist/models/HeartRateDataSetData.d.ts +2 -2
- package/dist/models/HeartRateDataSetSessionData.d.ts +2 -2
- package/dist/models/HeightMeasurementData.d.ts +2 -2
- package/dist/models/High.d.ts +2 -2
- package/dist/models/LicenseRight.d.ts +18 -6
- package/dist/models/Low.d.ts +2 -2
- package/dist/models/MSeriesDataPointData.d.ts +2 -2
- package/dist/models/MSeriesDataSetData.d.ts +4 -4
- package/dist/models/MSeriesDataSetSegmentData.d.ts +2 -2
- package/dist/models/MSeriesFtpMeasurementData.d.ts +2 -2
- package/dist/models/MSeriesGuidedSessionRight.d.ts +18 -6
- package/dist/models/MachineWorkoutSetResponseData.d.ts +154 -0
- package/dist/models/MaintenanceStatus.d.ts +2 -2
- package/dist/models/MotionDataPoint.d.ts +79 -0
- package/dist/models/MuscleArea.d.ts +19 -7
- package/dist/models/MuscleData.d.ts +2 -2
- package/dist/models/MuscleGroup.d.ts +30 -18
- package/dist/models/MuscleTargetLevel.d.ts +19 -7
- package/dist/models/OAuthServiceData.d.ts +2 -2
- package/dist/models/PowerRegression.d.ts +43 -0
- package/dist/models/PrimaryEmailAddressData.d.ts +2 -2
- package/dist/models/ProfileData.d.ts +14 -2
- package/dist/models/Queue.d.ts +18 -6
- package/dist/models/ResistancePrecision.d.ts +18 -6
- package/dist/models/ResqueDetailsData.d.ts +6 -4
- package/dist/models/ResqueDetailsResponse.d.ts +2 -2
- package/dist/models/ResqueRight.d.ts +18 -6
- package/dist/models/ServiceStatusResponse.d.ts +2 -2
- package/dist/models/SessionData.d.ts +6 -6
- package/dist/models/SessionPlanActivitySetData.d.ts +2 -2
- package/dist/models/SessionPlanCardioSetData.d.ts +3 -3
- package/dist/models/SessionPlanData.d.ts +3 -3
- package/dist/models/SessionPlanSequenceAssignmentData.d.ts +2 -2
- package/dist/models/SessionPlanSequenceData.d.ts +2 -2
- package/dist/models/SessionPlanSequenceInstanceData.d.ts +3 -3
- package/dist/models/SessionPlanSetData.d.ts +4 -4
- package/dist/models/SessionPlanSetInstanceData.d.ts +3 -3
- package/dist/models/SessionPlanSetType.d.ts +20 -8
- package/dist/models/SessionPlanStrengthSetData.d.ts +3 -3
- package/dist/models/SessionPlanStretchSetData.d.ts +2 -2
- package/dist/models/SetType.d.ts +36 -0
- package/dist/models/Side.d.ts +18 -6
- package/dist/models/SixRepTestData.d.ts +43 -0
- package/dist/models/StatData.d.ts +2 -2
- package/dist/models/StatListResponse.d.ts +3 -3
- package/dist/models/StatListResponseMeta.d.ts +2 -2
- package/dist/models/StatSorting.d.ts +18 -6
- package/dist/models/StrengthExerciseCategory.d.ts +21 -9
- package/dist/models/StrengthExerciseData.d.ts +5 -5
- package/dist/models/StrengthExerciseMovement.d.ts +18 -6
- package/dist/models/StrengthExerciseMovementDEP.d.ts +18 -6
- package/dist/models/StrengthExercisePlane.d.ts +19 -7
- package/dist/models/StrengthExerciseVariantAttachment.d.ts +25 -13
- package/dist/models/StrengthExerciseVariantData.d.ts +6 -6
- package/dist/models/StrengthExerciseVariantType.d.ts +22 -10
- package/dist/models/StrengthMachineAppType.d.ts +20 -8
- package/dist/models/StrengthMachineData.d.ts +10 -3
- package/dist/models/StrengthMachineDataSetData.d.ts +37 -5
- package/dist/models/StrengthMachineDataSetTestData.d.ts +3 -3
- package/dist/models/StrengthMachineDataSetTestSubsetData.d.ts +2 -2
- package/dist/models/StrengthMachineLine.d.ts +23 -11
- package/dist/models/StrengthMachineModelData.d.ts +2 -2
- package/dist/models/StrengthMachineModelNumberData.d.ts +37 -0
- package/dist/models/StrengthTestType.d.ts +20 -8
- package/dist/models/StretchExerciseData.d.ts +3 -3
- package/dist/models/StretchExerciseVariantData.d.ts +2 -2
- package/dist/models/StretchExerciseVariantType.d.ts +17 -5
- package/dist/models/TaskFailedResponse.d.ts +3 -3
- package/dist/models/TaskFailure.d.ts +3 -3
- package/dist/models/TaskPayload.d.ts +2 -2
- package/dist/models/TaskQueueResponse.d.ts +3 -3
- package/dist/models/TaskQueueResponseMeta.d.ts +2 -2
- package/dist/models/TaskQueues.d.ts +2 -2
- package/dist/models/TaskSorting.d.ts +17 -5
- package/dist/models/TaskStats.d.ts +2 -2
- package/dist/models/TenRepTestData.d.ts +59 -0
- package/dist/models/TenRepTestSideResults.d.ts +63 -0
- package/dist/models/TestSide.d.ts +19 -7
- package/dist/models/TimeZone.d.ts +625 -0
- package/dist/models/UserData.d.ts +6 -6
- package/dist/models/UserListResponse.d.ts +2 -2
- package/dist/models/UserListResponseMeta.d.ts +2 -2
- package/dist/models/UserResponse.d.ts +2 -2
- package/dist/models/UserRight.d.ts +18 -6
- package/dist/models/UserSorting.d.ts +19 -7
- package/dist/models/Value.d.ts +37 -0
- package/dist/models/VelocityRegression.d.ts +37 -0
- package/dist/models/WeightMeasurementData.d.ts +2 -2
- package/dist/models/WorkersResponse.d.ts +6 -4
- package/dist/models/WorkoutSetPositionDataEvent.d.ts +50 -0
- package/dist/models/WorkoutSetRepDataPoint.d.ts +50 -0
- package/dist/models/WorkoutSetSideData.d.ts +110 -0
- package/dist/models/index.d.ts +24 -0
- package/dist/runtime.d.ts +13 -2
- package/docs/A400DataSetData.md +13 -0
- package/docs/A500AppType.md +4 -4
- package/docs/A500DataSetType.md +2 -2
- package/docs/AccessControlRight.md +2 -2
- package/docs/AnalyticRight.md +1 -1
- package/docs/CardioExerciseVariantType.md +1 -1
- package/docs/CardioMachineParseCode.md +2 -2
- package/docs/CharacterType.md +2 -2
- package/docs/DisplayDataMode.md +11 -0
- package/docs/DisplayFocusMode.md +11 -0
- package/docs/DisplayUnit.md +13 -0
- package/docs/EmployeeRole.md +5 -5
- package/docs/Exercise.md +13 -0
- package/docs/ExerciseAliasType.md +3 -3
- package/docs/ExerciseRight.md +1 -1
- package/docs/FacilityData.md +2 -0
- package/docs/FacilityDisplayConfigurationData.md +26 -0
- package/docs/FacilityDisplayOperatingSchedule.md +16 -0
- package/docs/FacilityDisplayOperatingScheduleEntry.md +11 -0
- package/docs/FacilityDisplayOperatingScheduleTime.md +11 -0
- package/docs/FacilityLicenseSorting.md +4 -4
- package/docs/FacilityLicenseType.md +3 -3
- package/docs/FacilityRelationshipData.md +3 -0
- package/docs/FacilityResponse.md +12 -0
- package/docs/FacilityRight.md +2 -2
- package/docs/ForceUnit.md +4 -4
- package/docs/GlobalAccessControlSorting.md +2 -2
- package/docs/LicenseRight.md +2 -2
- package/docs/MSeriesGuidedSessionRight.md +2 -2
- package/docs/MachineWorkoutSetResponseData.md +29 -0
- package/docs/MetricsAdminApi.md +55 -0
- package/docs/MotionDataPoint.md +18 -0
- package/docs/MuscleArea.md +3 -3
- package/docs/MuscleGroup.md +14 -14
- package/docs/MuscleTargetLevel.md +3 -3
- package/docs/PowerRegression.md +12 -0
- package/docs/ProfileData.md +2 -0
- package/docs/Queue.md +2 -2
- package/docs/ResistancePrecision.md +2 -2
- package/docs/ResqueDetailsData.md +1 -1
- package/docs/ResqueRight.md +2 -2
- package/docs/SessionPlanSetType.md +4 -4
- package/docs/SetType.md +13 -0
- package/docs/Side.md +2 -2
- package/docs/SixRepTestData.md +12 -0
- package/docs/StatSorting.md +2 -2
- package/docs/StrengthExerciseCategory.md +5 -5
- package/docs/StrengthExerciseMovement.md +2 -2
- package/docs/StrengthExerciseMovementDEP.md +2 -2
- package/docs/StrengthExercisePlane.md +3 -3
- package/docs/StrengthExerciseVariantAttachment.md +9 -9
- package/docs/StrengthExerciseVariantData.md +1 -1
- package/docs/StrengthExerciseVariantType.md +6 -6
- package/docs/StrengthMachineAppType.md +4 -4
- package/docs/StrengthMachineData.md +1 -0
- package/docs/StrengthMachineDataSetData.md +5 -0
- package/docs/StrengthMachineLine.md +7 -7
- package/docs/StrengthMachineModelNumberData.md +11 -0
- package/docs/StrengthTestType.md +4 -4
- package/docs/StretchExerciseVariantType.md +1 -1
- package/docs/TaskSorting.md +1 -1
- package/docs/TenRepTestData.md +26 -0
- package/docs/TenRepTestSideResults.md +15 -0
- package/docs/TestSide.md +3 -3
- package/docs/TimeZone.md +1191 -0
- package/docs/UserRight.md +2 -2
- package/docs/UserSorting.md +3 -3
- package/docs/Value.md +11 -0
- package/docs/VelocityRegression.md +11 -0
- package/docs/WorkersResponse.md +1 -1
- package/docs/WorkoutSetPositionDataEvent.md +13 -0
- package/docs/WorkoutSetRepDataPoint.md +13 -0
- package/docs/WorkoutSetSideData.md +23 -0
- package/package.json +3 -1
- package/src/apis/MetricsAdminApi.ts +65 -1
- package/src/connection.ts +21 -9
- package/src/models/A400DataSetData.ts +94 -0
- package/src/models/A500AppType.ts +28 -9
- package/src/models/A500DataSetData.ts +38 -43
- package/src/models/A500DataSetType.ts +26 -7
- package/src/models/A500MachineStateData.ts +31 -36
- package/src/models/A500RepDataPointData.ts +55 -60
- package/src/models/A500TestResultData.ts +33 -38
- package/src/models/A500TimeSeriesPointData.ts +47 -52
- package/src/models/AcceptedTermsVersionData.ts +13 -18
- package/src/models/AccessControlRight.ts +26 -7
- package/src/models/AnalyticRight.ts +25 -6
- package/src/models/BodyCompositionMeasurementData.ts +69 -74
- package/src/models/CacheKeysResponse.ts +13 -18
- package/src/models/CacheObject.ts +17 -22
- package/src/models/CacheObjectResponse.ts +13 -18
- package/src/models/CardioExerciseData.ts +31 -36
- package/src/models/CardioExerciseVariantData.ts +32 -37
- package/src/models/CardioExerciseVariantType.ts +25 -6
- package/src/models/CardioMachineData.ts +27 -32
- package/src/models/CardioMachineParseCode.ts +26 -7
- package/src/models/CharacterType.ts +26 -7
- package/src/models/DisplayDataMode.ts +60 -0
- package/src/models/DisplayFocusMode.ts +60 -0
- package/src/models/DisplayUnit.ts +62 -0
- package/src/models/EmailAddressData.ts +15 -20
- package/src/models/EmployeeRole.ts +29 -10
- package/src/models/Exercise.ts +88 -0
- package/src/models/ExerciseAliasData.ts +30 -35
- package/src/models/ExerciseAliasType.ts +27 -8
- package/src/models/ExerciseOrdinalSetAssignmentData.ts +25 -30
- package/src/models/ExerciseOrdinalSetData.ts +17 -22
- package/src/models/ExerciseRight.ts +25 -6
- package/src/models/FacilityConfigurationData.ts +27 -32
- package/src/models/FacilityData.ts +42 -24
- package/src/models/FacilityDisplayConfigurationData.ts +233 -0
- package/src/models/FacilityDisplayOperatingSchedule.ts +122 -0
- package/src/models/FacilityDisplayOperatingScheduleEntry.ts +77 -0
- package/src/models/FacilityDisplayOperatingScheduleTime.ts +70 -0
- package/src/models/FacilityLicenseData.ts +23 -28
- package/src/models/FacilityLicenseListResponse.ts +15 -20
- package/src/models/FacilityLicenseListResponseMeta.ts +25 -30
- package/src/models/FacilityLicenseResponse.ts +13 -18
- package/src/models/FacilityLicenseSorting.ts +28 -9
- package/src/models/FacilityLicenseType.ts +27 -8
- package/src/models/FacilityProfileData.ts +23 -28
- package/src/models/FacilityRelationshipData.ts +56 -36
- package/src/models/FacilityResponse.ts +84 -0
- package/src/models/FacilityRight.ts +26 -7
- package/src/models/FacilitySessionUserData.ts +55 -60
- package/src/models/FacilityStrengthMachineConfigurationData.ts +29 -34
- package/src/models/FacilityStrengthMachineData.ts +37 -42
- package/src/models/ForceUnit.ts +28 -9
- package/src/models/GlobalAccessControlCreationResponse.ts +15 -20
- package/src/models/GlobalAccessControlData.ts +51 -56
- package/src/models/GlobalAccessControlListResponse.ts +15 -20
- package/src/models/GlobalAccessControlListResponseMeta.ts +19 -24
- package/src/models/GlobalAccessControlResponse.ts +13 -18
- package/src/models/GlobalAccessControlSecretData.ts +11 -16
- package/src/models/GlobalAccessControlSecretResponse.ts +13 -18
- package/src/models/GlobalAccessControlSorting.ts +26 -7
- package/src/models/HeartRateDataPointData.ts +15 -20
- package/src/models/HeartRateDataSetData.ts +25 -30
- package/src/models/HeartRateDataSetSessionData.ts +17 -22
- package/src/models/HeightMeasurementData.ts +17 -22
- package/src/models/High.ts +9 -14
- package/src/models/LicenseRight.ts +26 -7
- package/src/models/Low.ts +9 -14
- package/src/models/MSeriesDataPointData.ts +33 -38
- package/src/models/MSeriesDataSetData.ts +82 -87
- package/src/models/MSeriesDataSetSegmentData.ts +41 -46
- package/src/models/MSeriesFtpMeasurementData.ts +23 -28
- package/src/models/MSeriesGuidedSessionRight.ts +26 -7
- package/src/models/MachineWorkoutSetResponseData.ts +285 -0
- package/src/models/MaintenanceStatus.ts +23 -28
- package/src/models/MotionDataPoint.ts +133 -0
- package/src/models/MuscleArea.ts +27 -8
- package/src/models/MuscleData.ts +17 -22
- package/src/models/MuscleGroup.ts +38 -19
- package/src/models/MuscleTargetLevel.ts +27 -8
- package/src/models/OAuthServiceData.ts +23 -28
- package/src/models/PowerRegression.ts +79 -0
- package/src/models/PrimaryEmailAddressData.ts +11 -16
- package/src/models/ProfileData.ts +37 -26
- package/src/models/Queue.ts +26 -7
- package/src/models/ResistancePrecision.ts +26 -7
- package/src/models/ResqueDetailsData.ts +17 -22
- package/src/models/ResqueDetailsResponse.ts +13 -18
- package/src/models/ResqueRight.ts +26 -7
- package/src/models/ServiceStatusResponse.ts +9 -14
- package/src/models/SessionData.ts +63 -68
- package/src/models/SessionPlanActivitySetData.ts +9 -14
- package/src/models/SessionPlanCardioSetData.ts +23 -28
- package/src/models/SessionPlanData.ts +43 -48
- package/src/models/SessionPlanSequenceAssignmentData.ts +13 -18
- package/src/models/SessionPlanSequenceData.ts +19 -24
- package/src/models/SessionPlanSequenceInstanceData.ts +31 -36
- package/src/models/SessionPlanSetData.ts +32 -37
- package/src/models/SessionPlanSetInstanceData.ts +29 -34
- package/src/models/SessionPlanSetType.ts +28 -9
- package/src/models/SessionPlanStrengthSetData.ts +23 -28
- package/src/models/SessionPlanStretchSetData.ts +9 -14
- package/src/models/SetType.ts +62 -0
- package/src/models/Side.ts +26 -7
- package/src/models/SixRepTestData.ts +79 -0
- package/src/models/StatData.ts +31 -36
- package/src/models/StatListResponse.ts +21 -26
- package/src/models/StatListResponseMeta.ts +21 -26
- package/src/models/StatSorting.ts +26 -7
- package/src/models/StrengthExerciseCategory.ts +29 -10
- package/src/models/StrengthExerciseData.ts +44 -49
- package/src/models/StrengthExerciseMovement.ts +26 -7
- package/src/models/StrengthExerciseMovementDEP.ts +26 -7
- package/src/models/StrengthExercisePlane.ts +27 -8
- package/src/models/StrengthExerciseVariantAttachment.ts +33 -14
- package/src/models/StrengthExerciseVariantData.ts +44 -50
- package/src/models/StrengthExerciseVariantType.ts +30 -11
- package/src/models/StrengthMachineAppType.ts +28 -9
- package/src/models/StrengthMachineData.ts +43 -34
- package/src/models/StrengthMachineDataSetData.ts +126 -79
- package/src/models/StrengthMachineDataSetTestData.ts +19 -24
- package/src/models/StrengthMachineDataSetTestSubsetData.ts +15 -20
- package/src/models/StrengthMachineLine.ts +31 -12
- package/src/models/StrengthMachineModelData.ts +9 -14
- package/src/models/StrengthMachineModelNumberData.ts +70 -0
- package/src/models/StrengthTestType.ts +28 -9
- package/src/models/StretchExerciseData.ts +23 -28
- package/src/models/StretchExerciseVariantData.ts +19 -24
- package/src/models/StretchExerciseVariantType.ts +25 -6
- package/src/models/TaskFailedResponse.ts +21 -26
- package/src/models/TaskFailure.ts +27 -32
- package/src/models/TaskPayload.ts +13 -18
- package/src/models/TaskQueueResponse.ts +21 -26
- package/src/models/TaskQueueResponseMeta.ts +19 -24
- package/src/models/TaskQueues.ts +11 -16
- package/src/models/TaskSorting.ts +25 -6
- package/src/models/TaskStats.ts +11 -16
- package/src/models/TenRepTestData.ts +111 -0
- package/src/models/TenRepTestSideResults.ts +119 -0
- package/src/models/TestSide.ts +27 -8
- package/src/models/TimeZone.ts +1240 -0
- package/src/models/UserData.ts +55 -60
- package/src/models/UserListResponse.ts +15 -20
- package/src/models/UserListResponseMeta.ts +21 -26
- package/src/models/UserResponse.ts +13 -18
- package/src/models/UserRight.ts +26 -7
- package/src/models/UserSorting.ts +27 -8
- package/src/models/Value.ts +69 -0
- package/src/models/VelocityRegression.ts +70 -0
- package/src/models/WeightMeasurementData.ts +21 -26
- package/src/models/WorkersResponse.ts +15 -20
- package/src/models/WorkoutSetPositionDataEvent.ts +95 -0
- package/src/models/WorkoutSetRepDataPoint.ts +95 -0
- package/src/models/WorkoutSetSideData.ts +185 -0
- package/src/models/index.ts +24 -0
- package/src/runtime.ts +44 -9
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* metrics-sdk-admin
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.4.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,28 +12,47 @@
|
|
|
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 ExerciseRight = {
|
|
21
|
-
|
|
36
|
+
edit: 'edit'
|
|
22
37
|
} as const;
|
|
23
38
|
export type ExerciseRight =
|
|
24
39
|
| 'edit'
|
|
25
40
|
;
|
|
26
41
|
|
|
27
42
|
|
|
28
|
-
export function
|
|
43
|
+
export function instanceOfExerciseRight(value: unknown): boolean {
|
|
44
|
+
return (Object.values(ExerciseRight) as unknown[]).includes(value);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function ExerciseRightFromJSON(json: unknown): ExerciseRight {
|
|
29
48
|
return ExerciseRightFromJSONTyped(json, false);
|
|
30
49
|
}
|
|
31
50
|
|
|
32
|
-
export function ExerciseRightFromJSONTyped(json:
|
|
51
|
+
export function ExerciseRightFromJSONTyped(json: unknown, ignoreDiscriminator: boolean): ExerciseRight {
|
|
33
52
|
return json as ExerciseRight;
|
|
34
53
|
}
|
|
35
54
|
|
|
36
|
-
export function ExerciseRightToJSON(value?: ExerciseRight | null):
|
|
37
|
-
return value
|
|
55
|
+
export function ExerciseRightToJSON(value?: ExerciseRight | null): ExerciseRight | null | undefined {
|
|
56
|
+
return value;
|
|
38
57
|
}
|
|
39
58
|
|
|
@@ -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 { CharacterType } from './CharacterType';
|
|
17
17
|
import {
|
|
18
18
|
CharacterTypeFromJSON,
|
|
@@ -91,20 +91,18 @@ export interface FacilityConfigurationData {
|
|
|
91
91
|
/**
|
|
92
92
|
* Check if a given object implements the FacilityConfigurationData interface.
|
|
93
93
|
*/
|
|
94
|
-
export function instanceOfFacilityConfigurationData(value: object):
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
return isInstance;
|
|
94
|
+
export function instanceOfFacilityConfigurationData(value: object): value is FacilityConfigurationData {
|
|
95
|
+
if (!('facilityId' in value) || value['facilityId'] === undefined) return false;
|
|
96
|
+
if (!('memberIdentificationComposition' in value) || value['memberIdentificationComposition'] === undefined) return false;
|
|
97
|
+
if (!('memberIdentificationForceLength' in value) || value['memberIdentificationForceLength'] === undefined) return false;
|
|
98
|
+
if (!('memberIdentificationLength' in value) || value['memberIdentificationLength'] === undefined) return false;
|
|
99
|
+
if (!('memberIdentificationRegex' in value) || value['memberIdentificationRegex'] === undefined) return false;
|
|
100
|
+
if (!('memberSecretComposition' in value) || value['memberSecretComposition'] === undefined) return false;
|
|
101
|
+
if (!('memberSecretForceLength' in value) || value['memberSecretForceLength'] === undefined) return false;
|
|
102
|
+
if (!('memberSecretLength' in value) || value['memberSecretLength'] === undefined) return false;
|
|
103
|
+
if (!('memberSecretRegex' in value) || value['memberSecretRegex'] === undefined) return false;
|
|
104
|
+
if (!('memberRequireEmail' in value) || value['memberRequireEmail'] === undefined) return false;
|
|
105
|
+
return true;
|
|
108
106
|
}
|
|
109
107
|
|
|
110
108
|
export function FacilityConfigurationDataFromJSON(json: any): FacilityConfigurationData {
|
|
@@ -112,7 +110,7 @@ export function FacilityConfigurationDataFromJSON(json: any): FacilityConfigurat
|
|
|
112
110
|
}
|
|
113
111
|
|
|
114
112
|
export function FacilityConfigurationDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilityConfigurationData {
|
|
115
|
-
if (
|
|
113
|
+
if (json == null) {
|
|
116
114
|
return json;
|
|
117
115
|
}
|
|
118
116
|
return {
|
|
@@ -131,24 +129,21 @@ export function FacilityConfigurationDataFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
131
129
|
}
|
|
132
130
|
|
|
133
131
|
export function FacilityConfigurationDataToJSON(value?: FacilityConfigurationData | null): any {
|
|
134
|
-
if (value
|
|
135
|
-
return
|
|
136
|
-
}
|
|
137
|
-
if (value === null) {
|
|
138
|
-
return null;
|
|
132
|
+
if (value == null) {
|
|
133
|
+
return value;
|
|
139
134
|
}
|
|
140
135
|
return {
|
|
141
136
|
|
|
142
|
-
'facilityId': value
|
|
143
|
-
'memberIdentificationComposition': CharacterTypeToJSON(value
|
|
144
|
-
'memberIdentificationForceLength': value
|
|
145
|
-
'memberIdentificationLength': value
|
|
146
|
-
'memberIdentificationRegex': value
|
|
147
|
-
'memberSecretComposition': CharacterTypeToJSON(value
|
|
148
|
-
'memberSecretForceLength': value
|
|
149
|
-
'memberSecretLength': value
|
|
150
|
-
'memberSecretRegex': value
|
|
151
|
-
'memberRequireEmail': value
|
|
137
|
+
'facilityId': value['facilityId'],
|
|
138
|
+
'memberIdentificationComposition': CharacterTypeToJSON(value['memberIdentificationComposition']),
|
|
139
|
+
'memberIdentificationForceLength': value['memberIdentificationForceLength'],
|
|
140
|
+
'memberIdentificationLength': value['memberIdentificationLength'],
|
|
141
|
+
'memberIdentificationRegex': value['memberIdentificationRegex'],
|
|
142
|
+
'memberSecretComposition': CharacterTypeToJSON(value['memberSecretComposition']),
|
|
143
|
+
'memberSecretForceLength': value['memberSecretForceLength'],
|
|
144
|
+
'memberSecretLength': value['memberSecretLength'],
|
|
145
|
+
'memberSecretRegex': value['memberSecretRegex'],
|
|
146
|
+
'memberRequireEmail': value['memberRequireEmail'],
|
|
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,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 { FacilityConfigurationData } from './FacilityConfigurationData';
|
|
17
17
|
import {
|
|
18
18
|
FacilityConfigurationDataFromJSON,
|
|
@@ -37,6 +37,12 @@ import {
|
|
|
37
37
|
FacilityStrengthMachineConfigurationDataFromJSONTyped,
|
|
38
38
|
FacilityStrengthMachineConfigurationDataToJSON,
|
|
39
39
|
} from './FacilityStrengthMachineConfigurationData';
|
|
40
|
+
import type { FacilityDisplayConfigurationData } from './FacilityDisplayConfigurationData';
|
|
41
|
+
import {
|
|
42
|
+
FacilityDisplayConfigurationDataFromJSON,
|
|
43
|
+
FacilityDisplayConfigurationDataFromJSONTyped,
|
|
44
|
+
FacilityDisplayConfigurationDataToJSON,
|
|
45
|
+
} from './FacilityDisplayConfigurationData';
|
|
40
46
|
|
|
41
47
|
/**
|
|
42
48
|
*
|
|
@@ -56,6 +62,12 @@ export interface FacilityData {
|
|
|
56
62
|
* @memberof FacilityData
|
|
57
63
|
*/
|
|
58
64
|
licensedUntil: Date;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {boolean}
|
|
68
|
+
* @memberof FacilityData
|
|
69
|
+
*/
|
|
70
|
+
isActive: boolean;
|
|
59
71
|
/**
|
|
60
72
|
*
|
|
61
73
|
* @type {FacilityProfileData}
|
|
@@ -68,6 +80,12 @@ export interface FacilityData {
|
|
|
68
80
|
* @memberof FacilityData
|
|
69
81
|
*/
|
|
70
82
|
facilityConfiguration?: FacilityConfigurationData;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {FacilityDisplayConfigurationData}
|
|
86
|
+
* @memberof FacilityData
|
|
87
|
+
*/
|
|
88
|
+
facilityDisplayConfiguration?: FacilityDisplayConfigurationData;
|
|
71
89
|
/**
|
|
72
90
|
*
|
|
73
91
|
* @type {Array<FacilityLicenseData>}
|
|
@@ -85,12 +103,11 @@ export interface FacilityData {
|
|
|
85
103
|
/**
|
|
86
104
|
* Check if a given object implements the FacilityData interface.
|
|
87
105
|
*/
|
|
88
|
-
export function instanceOfFacilityData(value: object):
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
return isInstance;
|
|
106
|
+
export function instanceOfFacilityData(value: object): value is FacilityData {
|
|
107
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
108
|
+
if (!('licensedUntil' in value) || value['licensedUntil'] === undefined) return false;
|
|
109
|
+
if (!('isActive' in value) || value['isActive'] === undefined) return false;
|
|
110
|
+
return true;
|
|
94
111
|
}
|
|
95
112
|
|
|
96
113
|
export function FacilityDataFromJSON(json: any): FacilityData {
|
|
@@ -98,35 +115,36 @@ export function FacilityDataFromJSON(json: any): FacilityData {
|
|
|
98
115
|
}
|
|
99
116
|
|
|
100
117
|
export function FacilityDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilityData {
|
|
101
|
-
if (
|
|
118
|
+
if (json == null) {
|
|
102
119
|
return json;
|
|
103
120
|
}
|
|
104
121
|
return {
|
|
105
122
|
|
|
106
123
|
'id': json['id'],
|
|
107
124
|
'licensedUntil': (new Date(json['licensedUntil'])),
|
|
108
|
-
'
|
|
109
|
-
'
|
|
110
|
-
'
|
|
111
|
-
'
|
|
125
|
+
'isActive': json['isActive'],
|
|
126
|
+
'facilityProfile': json['facilityProfile'] == null ? undefined : FacilityProfileDataFromJSON(json['facilityProfile']),
|
|
127
|
+
'facilityConfiguration': json['facilityConfiguration'] == null ? undefined : FacilityConfigurationDataFromJSON(json['facilityConfiguration']),
|
|
128
|
+
'facilityDisplayConfiguration': json['facilityDisplayConfiguration'] == null ? undefined : FacilityDisplayConfigurationDataFromJSON(json['facilityDisplayConfiguration']),
|
|
129
|
+
'facilityLicenses': json['facilityLicenses'] == null ? undefined : ((json['facilityLicenses'] as Array<any>).map(FacilityLicenseDataFromJSON)),
|
|
130
|
+
'facilityStrengthMachineConfiguration': json['facilityStrengthMachineConfiguration'] == null ? undefined : FacilityStrengthMachineConfigurationDataFromJSON(json['facilityStrengthMachineConfiguration']),
|
|
112
131
|
};
|
|
113
132
|
}
|
|
114
133
|
|
|
115
134
|
export function FacilityDataToJSON(value?: FacilityData | null): any {
|
|
116
|
-
if (value
|
|
117
|
-
return
|
|
118
|
-
}
|
|
119
|
-
if (value === null) {
|
|
120
|
-
return null;
|
|
135
|
+
if (value == null) {
|
|
136
|
+
return value;
|
|
121
137
|
}
|
|
122
138
|
return {
|
|
123
139
|
|
|
124
|
-
'id': value
|
|
125
|
-
'licensedUntil': (value
|
|
126
|
-
'
|
|
127
|
-
'
|
|
128
|
-
'
|
|
129
|
-
'
|
|
140
|
+
'id': value['id'],
|
|
141
|
+
'licensedUntil': ((value['licensedUntil']).toISOString()),
|
|
142
|
+
'isActive': value['isActive'],
|
|
143
|
+
'facilityProfile': FacilityProfileDataToJSON(value['facilityProfile']),
|
|
144
|
+
'facilityConfiguration': FacilityConfigurationDataToJSON(value['facilityConfiguration']),
|
|
145
|
+
'facilityDisplayConfiguration': FacilityDisplayConfigurationDataToJSON(value['facilityDisplayConfiguration']),
|
|
146
|
+
'facilityLicenses': value['facilityLicenses'] == null ? undefined : ((value['facilityLicenses'] as Array<any>).map(FacilityLicenseDataToJSON)),
|
|
147
|
+
'facilityStrengthMachineConfiguration': FacilityStrengthMachineConfigurationDataToJSON(value['facilityStrengthMachineConfiguration']),
|
|
130
148
|
};
|
|
131
149
|
}
|
|
132
150
|
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* metrics-sdk-admin
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 5.4.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { TimeZone } from './TimeZone';
|
|
17
|
+
import {
|
|
18
|
+
TimeZoneFromJSON,
|
|
19
|
+
TimeZoneFromJSONTyped,
|
|
20
|
+
TimeZoneToJSON,
|
|
21
|
+
} from './TimeZone';
|
|
22
|
+
import type { DisplayDataMode } from './DisplayDataMode';
|
|
23
|
+
import {
|
|
24
|
+
DisplayDataModeFromJSON,
|
|
25
|
+
DisplayDataModeFromJSONTyped,
|
|
26
|
+
DisplayDataModeToJSON,
|
|
27
|
+
} from './DisplayDataMode';
|
|
28
|
+
import type { DisplayFocusMode } from './DisplayFocusMode';
|
|
29
|
+
import {
|
|
30
|
+
DisplayFocusModeFromJSON,
|
|
31
|
+
DisplayFocusModeFromJSONTyped,
|
|
32
|
+
DisplayFocusModeToJSON,
|
|
33
|
+
} from './DisplayFocusMode';
|
|
34
|
+
import type { FacilityDisplayOperatingSchedule } from './FacilityDisplayOperatingSchedule';
|
|
35
|
+
import {
|
|
36
|
+
FacilityDisplayOperatingScheduleFromJSON,
|
|
37
|
+
FacilityDisplayOperatingScheduleFromJSONTyped,
|
|
38
|
+
FacilityDisplayOperatingScheduleToJSON,
|
|
39
|
+
} from './FacilityDisplayOperatingSchedule';
|
|
40
|
+
import type { DisplayUnit } from './DisplayUnit';
|
|
41
|
+
import {
|
|
42
|
+
DisplayUnitFromJSON,
|
|
43
|
+
DisplayUnitFromJSONTyped,
|
|
44
|
+
DisplayUnitToJSON,
|
|
45
|
+
} from './DisplayUnit';
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @export
|
|
50
|
+
* @interface FacilityDisplayConfigurationData
|
|
51
|
+
*/
|
|
52
|
+
export interface FacilityDisplayConfigurationData {
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof FacilityDisplayConfigurationData
|
|
57
|
+
*/
|
|
58
|
+
facilityId: number;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {DisplayUnit}
|
|
62
|
+
* @memberof FacilityDisplayConfigurationData
|
|
63
|
+
*/
|
|
64
|
+
unit: DisplayUnit;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {TimeZone}
|
|
68
|
+
* @memberof FacilityDisplayConfigurationData
|
|
69
|
+
*/
|
|
70
|
+
timeZone: TimeZone;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {boolean}
|
|
74
|
+
* @memberof FacilityDisplayConfigurationData
|
|
75
|
+
*/
|
|
76
|
+
qrCodeEnabled: boolean;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {boolean}
|
|
80
|
+
* @memberof FacilityDisplayConfigurationData
|
|
81
|
+
*/
|
|
82
|
+
operatingScheduleEnabled: boolean;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {FacilityDisplayOperatingSchedule}
|
|
86
|
+
* @memberof FacilityDisplayConfigurationData
|
|
87
|
+
*/
|
|
88
|
+
operatingSchedule: FacilityDisplayOperatingSchedule;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {boolean}
|
|
92
|
+
* @memberof FacilityDisplayConfigurationData
|
|
93
|
+
*/
|
|
94
|
+
shouldForceExercise: boolean;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {number}
|
|
98
|
+
* @memberof FacilityDisplayConfigurationData
|
|
99
|
+
*/
|
|
100
|
+
signoutDelay: number;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {boolean}
|
|
104
|
+
* @memberof FacilityDisplayConfigurationData
|
|
105
|
+
*/
|
|
106
|
+
showReviewScreen: boolean;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {number}
|
|
110
|
+
* @memberof FacilityDisplayConfigurationData
|
|
111
|
+
*/
|
|
112
|
+
defaultBrightness: number;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {boolean}
|
|
116
|
+
* @memberof FacilityDisplayConfigurationData
|
|
117
|
+
*/
|
|
118
|
+
machinesEnabled: boolean;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {boolean}
|
|
122
|
+
* @memberof FacilityDisplayConfigurationData
|
|
123
|
+
*/
|
|
124
|
+
isTorqueEnabled: boolean;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {DisplayDataMode}
|
|
128
|
+
* @memberof FacilityDisplayConfigurationData
|
|
129
|
+
*/
|
|
130
|
+
dataMode: DisplayDataMode;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {DisplayFocusMode}
|
|
134
|
+
* @memberof FacilityDisplayConfigurationData
|
|
135
|
+
*/
|
|
136
|
+
focusMode: DisplayFocusMode;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @type {number}
|
|
140
|
+
* @memberof FacilityDisplayConfigurationData
|
|
141
|
+
*/
|
|
142
|
+
performanceDropOff?: number;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @type {number}
|
|
146
|
+
* @memberof FacilityDisplayConfigurationData
|
|
147
|
+
*/
|
|
148
|
+
addedMass?: number;
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @type {number}
|
|
152
|
+
* @memberof FacilityDisplayConfigurationData
|
|
153
|
+
*/
|
|
154
|
+
secondsDelay?: number;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Check if a given object implements the FacilityDisplayConfigurationData interface.
|
|
159
|
+
*/
|
|
160
|
+
export function instanceOfFacilityDisplayConfigurationData(value: object): value is FacilityDisplayConfigurationData {
|
|
161
|
+
if (!('facilityId' in value) || value['facilityId'] === undefined) return false;
|
|
162
|
+
if (!('unit' in value) || value['unit'] === undefined) return false;
|
|
163
|
+
if (!('timeZone' in value) || value['timeZone'] === undefined) return false;
|
|
164
|
+
if (!('qrCodeEnabled' in value) || value['qrCodeEnabled'] === undefined) return false;
|
|
165
|
+
if (!('operatingScheduleEnabled' in value) || value['operatingScheduleEnabled'] === undefined) return false;
|
|
166
|
+
if (!('operatingSchedule' in value) || value['operatingSchedule'] === undefined) return false;
|
|
167
|
+
if (!('shouldForceExercise' in value) || value['shouldForceExercise'] === undefined) return false;
|
|
168
|
+
if (!('signoutDelay' in value) || value['signoutDelay'] === undefined) return false;
|
|
169
|
+
if (!('showReviewScreen' in value) || value['showReviewScreen'] === undefined) return false;
|
|
170
|
+
if (!('defaultBrightness' in value) || value['defaultBrightness'] === undefined) return false;
|
|
171
|
+
if (!('machinesEnabled' in value) || value['machinesEnabled'] === undefined) return false;
|
|
172
|
+
if (!('isTorqueEnabled' in value) || value['isTorqueEnabled'] === undefined) return false;
|
|
173
|
+
if (!('dataMode' in value) || value['dataMode'] === undefined) return false;
|
|
174
|
+
if (!('focusMode' in value) || value['focusMode'] === undefined) return false;
|
|
175
|
+
return true;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export function FacilityDisplayConfigurationDataFromJSON(json: any): FacilityDisplayConfigurationData {
|
|
179
|
+
return FacilityDisplayConfigurationDataFromJSONTyped(json, false);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export function FacilityDisplayConfigurationDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilityDisplayConfigurationData {
|
|
183
|
+
if (json == null) {
|
|
184
|
+
return json;
|
|
185
|
+
}
|
|
186
|
+
return {
|
|
187
|
+
|
|
188
|
+
'facilityId': json['facilityId'],
|
|
189
|
+
'unit': DisplayUnitFromJSON(json['unit']),
|
|
190
|
+
'timeZone': TimeZoneFromJSON(json['timeZone']),
|
|
191
|
+
'qrCodeEnabled': json['qrCodeEnabled'],
|
|
192
|
+
'operatingScheduleEnabled': json['operatingScheduleEnabled'],
|
|
193
|
+
'operatingSchedule': FacilityDisplayOperatingScheduleFromJSON(json['operatingSchedule']),
|
|
194
|
+
'shouldForceExercise': json['shouldForceExercise'],
|
|
195
|
+
'signoutDelay': json['signoutDelay'],
|
|
196
|
+
'showReviewScreen': json['showReviewScreen'],
|
|
197
|
+
'defaultBrightness': json['defaultBrightness'],
|
|
198
|
+
'machinesEnabled': json['machinesEnabled'],
|
|
199
|
+
'isTorqueEnabled': json['isTorqueEnabled'],
|
|
200
|
+
'dataMode': DisplayDataModeFromJSON(json['dataMode']),
|
|
201
|
+
'focusMode': DisplayFocusModeFromJSON(json['focusMode']),
|
|
202
|
+
'performanceDropOff': json['performanceDropOff'] == null ? undefined : json['performanceDropOff'],
|
|
203
|
+
'addedMass': json['addedMass'] == null ? undefined : json['addedMass'],
|
|
204
|
+
'secondsDelay': json['secondsDelay'] == null ? undefined : json['secondsDelay'],
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export function FacilityDisplayConfigurationDataToJSON(value?: FacilityDisplayConfigurationData | null): any {
|
|
209
|
+
if (value == null) {
|
|
210
|
+
return value;
|
|
211
|
+
}
|
|
212
|
+
return {
|
|
213
|
+
|
|
214
|
+
'facilityId': value['facilityId'],
|
|
215
|
+
'unit': DisplayUnitToJSON(value['unit']),
|
|
216
|
+
'timeZone': TimeZoneToJSON(value['timeZone']),
|
|
217
|
+
'qrCodeEnabled': value['qrCodeEnabled'],
|
|
218
|
+
'operatingScheduleEnabled': value['operatingScheduleEnabled'],
|
|
219
|
+
'operatingSchedule': FacilityDisplayOperatingScheduleToJSON(value['operatingSchedule']),
|
|
220
|
+
'shouldForceExercise': value['shouldForceExercise'],
|
|
221
|
+
'signoutDelay': value['signoutDelay'],
|
|
222
|
+
'showReviewScreen': value['showReviewScreen'],
|
|
223
|
+
'defaultBrightness': value['defaultBrightness'],
|
|
224
|
+
'machinesEnabled': value['machinesEnabled'],
|
|
225
|
+
'isTorqueEnabled': value['isTorqueEnabled'],
|
|
226
|
+
'dataMode': DisplayDataModeToJSON(value['dataMode']),
|
|
227
|
+
'focusMode': DisplayFocusModeToJSON(value['focusMode']),
|
|
228
|
+
'performanceDropOff': value['performanceDropOff'],
|
|
229
|
+
'addedMass': value['addedMass'],
|
|
230
|
+
'secondsDelay': value['secondsDelay'],
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* metrics-sdk-admin
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 5.4.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { FacilityDisplayOperatingScheduleEntry } from './FacilityDisplayOperatingScheduleEntry';
|
|
17
|
+
import {
|
|
18
|
+
FacilityDisplayOperatingScheduleEntryFromJSON,
|
|
19
|
+
FacilityDisplayOperatingScheduleEntryFromJSONTyped,
|
|
20
|
+
FacilityDisplayOperatingScheduleEntryToJSON,
|
|
21
|
+
} from './FacilityDisplayOperatingScheduleEntry';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface FacilityDisplayOperatingSchedule
|
|
27
|
+
*/
|
|
28
|
+
export interface FacilityDisplayOperatingSchedule {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {FacilityDisplayOperatingScheduleEntry}
|
|
32
|
+
* @memberof FacilityDisplayOperatingSchedule
|
|
33
|
+
*/
|
|
34
|
+
monday: FacilityDisplayOperatingScheduleEntry;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {FacilityDisplayOperatingScheduleEntry}
|
|
38
|
+
* @memberof FacilityDisplayOperatingSchedule
|
|
39
|
+
*/
|
|
40
|
+
tuesday: FacilityDisplayOperatingScheduleEntry;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {FacilityDisplayOperatingScheduleEntry}
|
|
44
|
+
* @memberof FacilityDisplayOperatingSchedule
|
|
45
|
+
*/
|
|
46
|
+
wednesday: FacilityDisplayOperatingScheduleEntry;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {FacilityDisplayOperatingScheduleEntry}
|
|
50
|
+
* @memberof FacilityDisplayOperatingSchedule
|
|
51
|
+
*/
|
|
52
|
+
thursday: FacilityDisplayOperatingScheduleEntry;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {FacilityDisplayOperatingScheduleEntry}
|
|
56
|
+
* @memberof FacilityDisplayOperatingSchedule
|
|
57
|
+
*/
|
|
58
|
+
friday: FacilityDisplayOperatingScheduleEntry;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {FacilityDisplayOperatingScheduleEntry}
|
|
62
|
+
* @memberof FacilityDisplayOperatingSchedule
|
|
63
|
+
*/
|
|
64
|
+
saturday: FacilityDisplayOperatingScheduleEntry;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {FacilityDisplayOperatingScheduleEntry}
|
|
68
|
+
* @memberof FacilityDisplayOperatingSchedule
|
|
69
|
+
*/
|
|
70
|
+
sunday: FacilityDisplayOperatingScheduleEntry;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the FacilityDisplayOperatingSchedule interface.
|
|
75
|
+
*/
|
|
76
|
+
export function instanceOfFacilityDisplayOperatingSchedule(value: object): value is FacilityDisplayOperatingSchedule {
|
|
77
|
+
if (!('monday' in value) || value['monday'] === undefined) return false;
|
|
78
|
+
if (!('tuesday' in value) || value['tuesday'] === undefined) return false;
|
|
79
|
+
if (!('wednesday' in value) || value['wednesday'] === undefined) return false;
|
|
80
|
+
if (!('thursday' in value) || value['thursday'] === undefined) return false;
|
|
81
|
+
if (!('friday' in value) || value['friday'] === undefined) return false;
|
|
82
|
+
if (!('saturday' in value) || value['saturday'] === undefined) return false;
|
|
83
|
+
if (!('sunday' in value) || value['sunday'] === undefined) return false;
|
|
84
|
+
return true;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function FacilityDisplayOperatingScheduleFromJSON(json: any): FacilityDisplayOperatingSchedule {
|
|
88
|
+
return FacilityDisplayOperatingScheduleFromJSONTyped(json, false);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function FacilityDisplayOperatingScheduleFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilityDisplayOperatingSchedule {
|
|
92
|
+
if (json == null) {
|
|
93
|
+
return json;
|
|
94
|
+
}
|
|
95
|
+
return {
|
|
96
|
+
|
|
97
|
+
'monday': FacilityDisplayOperatingScheduleEntryFromJSON(json['monday']),
|
|
98
|
+
'tuesday': FacilityDisplayOperatingScheduleEntryFromJSON(json['tuesday']),
|
|
99
|
+
'wednesday': FacilityDisplayOperatingScheduleEntryFromJSON(json['wednesday']),
|
|
100
|
+
'thursday': FacilityDisplayOperatingScheduleEntryFromJSON(json['thursday']),
|
|
101
|
+
'friday': FacilityDisplayOperatingScheduleEntryFromJSON(json['friday']),
|
|
102
|
+
'saturday': FacilityDisplayOperatingScheduleEntryFromJSON(json['saturday']),
|
|
103
|
+
'sunday': FacilityDisplayOperatingScheduleEntryFromJSON(json['sunday']),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export function FacilityDisplayOperatingScheduleToJSON(value?: FacilityDisplayOperatingSchedule | null): any {
|
|
108
|
+
if (value == null) {
|
|
109
|
+
return value;
|
|
110
|
+
}
|
|
111
|
+
return {
|
|
112
|
+
|
|
113
|
+
'monday': FacilityDisplayOperatingScheduleEntryToJSON(value['monday']),
|
|
114
|
+
'tuesday': FacilityDisplayOperatingScheduleEntryToJSON(value['tuesday']),
|
|
115
|
+
'wednesday': FacilityDisplayOperatingScheduleEntryToJSON(value['wednesday']),
|
|
116
|
+
'thursday': FacilityDisplayOperatingScheduleEntryToJSON(value['thursday']),
|
|
117
|
+
'friday': FacilityDisplayOperatingScheduleEntryToJSON(value['friday']),
|
|
118
|
+
'saturday': FacilityDisplayOperatingScheduleEntryToJSON(value['saturday']),
|
|
119
|
+
'sunday': FacilityDisplayOperatingScheduleEntryToJSON(value['sunday']),
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|