@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,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 { FacilityData } from './FacilityData';
|
|
17
17
|
import {
|
|
18
18
|
FacilityDataFromJSON,
|
|
19
19
|
FacilityDataFromJSONTyped,
|
|
20
20
|
FacilityDataToJSON,
|
|
21
21
|
} from './FacilityData';
|
|
22
|
-
import type { ForceUnit } from './ForceUnit';
|
|
23
|
-
import {
|
|
24
|
-
ForceUnitFromJSON,
|
|
25
|
-
ForceUnitFromJSONTyped,
|
|
26
|
-
ForceUnitToJSON,
|
|
27
|
-
} from './ForceUnit';
|
|
28
22
|
import type { StrengthMachineAppType } from './StrengthMachineAppType';
|
|
29
23
|
import {
|
|
30
24
|
StrengthMachineAppTypeFromJSON,
|
|
31
25
|
StrengthMachineAppTypeFromJSONTyped,
|
|
32
26
|
StrengthMachineAppTypeToJSON,
|
|
33
27
|
} from './StrengthMachineAppType';
|
|
28
|
+
import type { ForceUnit } from './ForceUnit';
|
|
29
|
+
import {
|
|
30
|
+
ForceUnitFromJSON,
|
|
31
|
+
ForceUnitFromJSONTyped,
|
|
32
|
+
ForceUnitToJSON,
|
|
33
|
+
} from './ForceUnit';
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
@@ -91,17 +91,15 @@ export interface FacilityStrengthMachineConfigurationData {
|
|
|
91
91
|
/**
|
|
92
92
|
* Check if a given object implements the FacilityStrengthMachineConfigurationData interface.
|
|
93
93
|
*/
|
|
94
|
-
export function instanceOfFacilityStrengthMachineConfigurationData(value: object):
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
return isInstance;
|
|
94
|
+
export function instanceOfFacilityStrengthMachineConfigurationData(value: object): value is FacilityStrengthMachineConfigurationData {
|
|
95
|
+
if (!('facilityId' in value) || value['facilityId'] === undefined) return false;
|
|
96
|
+
if (!('appType' in value) || value['appType'] === undefined) return false;
|
|
97
|
+
if (!('timeZone' in value) || value['timeZone'] === undefined) return false;
|
|
98
|
+
if (!('forceUnit' in value) || value['forceUnit'] === undefined) return false;
|
|
99
|
+
if (!('primaryFocus' in value) || value['primaryFocus'] === undefined) return false;
|
|
100
|
+
if (!('secondaryFocus' in value) || value['secondaryFocus'] === undefined) return false;
|
|
101
|
+
if (!('locale' in value) || value['locale'] === undefined) return false;
|
|
102
|
+
return true;
|
|
105
103
|
}
|
|
106
104
|
|
|
107
105
|
export function FacilityStrengthMachineConfigurationDataFromJSON(json: any): FacilityStrengthMachineConfigurationData {
|
|
@@ -109,7 +107,7 @@ export function FacilityStrengthMachineConfigurationDataFromJSON(json: any): Fac
|
|
|
109
107
|
}
|
|
110
108
|
|
|
111
109
|
export function FacilityStrengthMachineConfigurationDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilityStrengthMachineConfigurationData {
|
|
112
|
-
if (
|
|
110
|
+
if (json == null) {
|
|
113
111
|
return json;
|
|
114
112
|
}
|
|
115
113
|
return {
|
|
@@ -121,27 +119,24 @@ export function FacilityStrengthMachineConfigurationDataFromJSONTyped(json: any,
|
|
|
121
119
|
'primaryFocus': json['primaryFocus'],
|
|
122
120
|
'secondaryFocus': json['secondaryFocus'],
|
|
123
121
|
'locale': json['locale'],
|
|
124
|
-
'facility':
|
|
122
|
+
'facility': json['facility'] == null ? undefined : FacilityDataFromJSON(json['facility']),
|
|
125
123
|
};
|
|
126
124
|
}
|
|
127
125
|
|
|
128
126
|
export function FacilityStrengthMachineConfigurationDataToJSON(value?: FacilityStrengthMachineConfigurationData | null): any {
|
|
129
|
-
if (value
|
|
130
|
-
return
|
|
131
|
-
}
|
|
132
|
-
if (value === null) {
|
|
133
|
-
return null;
|
|
127
|
+
if (value == null) {
|
|
128
|
+
return value;
|
|
134
129
|
}
|
|
135
130
|
return {
|
|
136
131
|
|
|
137
|
-
'facilityId': value
|
|
138
|
-
'appType': StrengthMachineAppTypeToJSON(value
|
|
139
|
-
'timeZone': value
|
|
140
|
-
'forceUnit': ForceUnitToJSON(value
|
|
141
|
-
'primaryFocus': value
|
|
142
|
-
'secondaryFocus': value
|
|
143
|
-
'locale': value
|
|
144
|
-
'facility': FacilityDataToJSON(value
|
|
132
|
+
'facilityId': value['facilityId'],
|
|
133
|
+
'appType': StrengthMachineAppTypeToJSON(value['appType']),
|
|
134
|
+
'timeZone': value['timeZone'],
|
|
135
|
+
'forceUnit': ForceUnitToJSON(value['forceUnit']),
|
|
136
|
+
'primaryFocus': value['primaryFocus'],
|
|
137
|
+
'secondaryFocus': value['secondaryFocus'],
|
|
138
|
+
'locale': value['locale'],
|
|
139
|
+
'facility': FacilityDataToJSON(value['facility']),
|
|
145
140
|
};
|
|
146
141
|
}
|
|
147
142
|
|
|
@@ -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,19 +12,19 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
16
|
-
import type { A500MachineStateData } from './A500MachineStateData';
|
|
17
|
-
import {
|
|
18
|
-
A500MachineStateDataFromJSON,
|
|
19
|
-
A500MachineStateDataFromJSONTyped,
|
|
20
|
-
A500MachineStateDataToJSON,
|
|
21
|
-
} from './A500MachineStateData';
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
22
16
|
import type { StrengthMachineData } from './StrengthMachineData';
|
|
23
17
|
import {
|
|
24
18
|
StrengthMachineDataFromJSON,
|
|
25
19
|
StrengthMachineDataFromJSONTyped,
|
|
26
20
|
StrengthMachineDataToJSON,
|
|
27
21
|
} from './StrengthMachineData';
|
|
22
|
+
import type { A500MachineStateData } from './A500MachineStateData';
|
|
23
|
+
import {
|
|
24
|
+
A500MachineStateDataFromJSON,
|
|
25
|
+
A500MachineStateDataFromJSONTyped,
|
|
26
|
+
A500MachineStateDataToJSON,
|
|
27
|
+
} from './A500MachineStateData';
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
@@ -109,14 +109,12 @@ export interface FacilityStrengthMachineData {
|
|
|
109
109
|
/**
|
|
110
110
|
* Check if a given object implements the FacilityStrengthMachineData interface.
|
|
111
111
|
*/
|
|
112
|
-
export function instanceOfFacilityStrengthMachineData(value: object):
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
return isInstance;
|
|
112
|
+
export function instanceOfFacilityStrengthMachineData(value: object): value is FacilityStrengthMachineData {
|
|
113
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
114
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
115
|
+
if (!('model' in value) || value['model'] === undefined) return false;
|
|
116
|
+
if (!('version' in value) || value['version'] === undefined) return false;
|
|
117
|
+
return true;
|
|
120
118
|
}
|
|
121
119
|
|
|
122
120
|
export function FacilityStrengthMachineDataFromJSON(json: any): FacilityStrengthMachineData {
|
|
@@ -124,7 +122,7 @@ export function FacilityStrengthMachineDataFromJSON(json: any): FacilityStrength
|
|
|
124
122
|
}
|
|
125
123
|
|
|
126
124
|
export function FacilityStrengthMachineDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilityStrengthMachineData {
|
|
127
|
-
if (
|
|
125
|
+
if (json == null) {
|
|
128
126
|
return json;
|
|
129
127
|
}
|
|
130
128
|
return {
|
|
@@ -133,38 +131,35 @@ export function FacilityStrengthMachineDataFromJSONTyped(json: any, ignoreDiscri
|
|
|
133
131
|
'updatedAt': json['updatedAt'],
|
|
134
132
|
'model': json['model'],
|
|
135
133
|
'version': json['version'],
|
|
136
|
-
'softwareVersion':
|
|
137
|
-
'mainBoardSerial':
|
|
138
|
-
'location':
|
|
139
|
-
'displayUUID':
|
|
140
|
-
'leftCylinderSerial':
|
|
141
|
-
'rightCylinderSerial':
|
|
142
|
-
'strengthMachine':
|
|
143
|
-
'a500MachineState':
|
|
134
|
+
'softwareVersion': json['softwareVersion'] == null ? undefined : json['softwareVersion'],
|
|
135
|
+
'mainBoardSerial': json['mainBoardSerial'] == null ? undefined : json['mainBoardSerial'],
|
|
136
|
+
'location': json['location'] == null ? undefined : json['location'],
|
|
137
|
+
'displayUUID': json['displayUUID'] == null ? undefined : json['displayUUID'],
|
|
138
|
+
'leftCylinderSerial': json['leftCylinderSerial'] == null ? undefined : json['leftCylinderSerial'],
|
|
139
|
+
'rightCylinderSerial': json['rightCylinderSerial'] == null ? undefined : json['rightCylinderSerial'],
|
|
140
|
+
'strengthMachine': json['strengthMachine'] == null ? undefined : StrengthMachineDataFromJSON(json['strengthMachine']),
|
|
141
|
+
'a500MachineState': json['a500MachineState'] == null ? undefined : A500MachineStateDataFromJSON(json['a500MachineState']),
|
|
144
142
|
};
|
|
145
143
|
}
|
|
146
144
|
|
|
147
145
|
export function FacilityStrengthMachineDataToJSON(value?: FacilityStrengthMachineData | 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
|
-
'updatedAt': value
|
|
158
|
-
'model': value
|
|
159
|
-
'version': value
|
|
160
|
-
'softwareVersion': value
|
|
161
|
-
'mainBoardSerial': value
|
|
162
|
-
'location': value
|
|
163
|
-
'displayUUID': value
|
|
164
|
-
'leftCylinderSerial': value
|
|
165
|
-
'rightCylinderSerial': value
|
|
166
|
-
'strengthMachine': StrengthMachineDataToJSON(value
|
|
167
|
-
'a500MachineState': A500MachineStateDataToJSON(value
|
|
151
|
+
'id': value['id'],
|
|
152
|
+
'updatedAt': value['updatedAt'],
|
|
153
|
+
'model': value['model'],
|
|
154
|
+
'version': value['version'],
|
|
155
|
+
'softwareVersion': value['softwareVersion'],
|
|
156
|
+
'mainBoardSerial': value['mainBoardSerial'],
|
|
157
|
+
'location': value['location'],
|
|
158
|
+
'displayUUID': value['displayUUID'],
|
|
159
|
+
'leftCylinderSerial': value['leftCylinderSerial'],
|
|
160
|
+
'rightCylinderSerial': value['rightCylinderSerial'],
|
|
161
|
+
'strengthMachine': StrengthMachineDataToJSON(value['strengthMachine']),
|
|
162
|
+
'a500MachineState': A500MachineStateDataToJSON(value['a500MachineState']),
|
|
168
163
|
};
|
|
169
164
|
}
|
|
170
165
|
|
package/src/models/ForceUnit.ts
CHANGED
|
@@ -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 ForceUnit = {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
36
|
+
lb: 'lb',
|
|
37
|
+
kg: 'kg',
|
|
38
|
+
ne: 'ne',
|
|
39
|
+
er: 'er'
|
|
25
40
|
} as const;
|
|
26
41
|
export type ForceUnit =
|
|
27
42
|
| 'lb'
|
|
@@ -31,15 +46,19 @@ export type ForceUnit =
|
|
|
31
46
|
;
|
|
32
47
|
|
|
33
48
|
|
|
34
|
-
export function
|
|
49
|
+
export function instanceOfForceUnit(value: unknown): boolean {
|
|
50
|
+
return (Object.values(ForceUnit) as unknown[]).includes(value);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function ForceUnitFromJSON(json: unknown): ForceUnit {
|
|
35
54
|
return ForceUnitFromJSONTyped(json, false);
|
|
36
55
|
}
|
|
37
56
|
|
|
38
|
-
export function ForceUnitFromJSONTyped(json:
|
|
57
|
+
export function ForceUnitFromJSONTyped(json: unknown, ignoreDiscriminator: boolean): ForceUnit {
|
|
39
58
|
return json as ForceUnit;
|
|
40
59
|
}
|
|
41
60
|
|
|
42
|
-
export function ForceUnitToJSON(value?: ForceUnit | null):
|
|
43
|
-
return value
|
|
61
|
+
export function ForceUnitToJSON(value?: ForceUnit | null): ForceUnit | 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,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 { GlobalAccessControlData } from './GlobalAccessControlData';
|
|
17
17
|
import {
|
|
18
18
|
GlobalAccessControlDataFromJSON,
|
|
@@ -61,12 +61,10 @@ export interface GlobalAccessControlCreationResponse {
|
|
|
61
61
|
/**
|
|
62
62
|
* Check if a given object implements the GlobalAccessControlCreationResponse interface.
|
|
63
63
|
*/
|
|
64
|
-
export function instanceOfGlobalAccessControlCreationResponse(value: object):
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
return isInstance;
|
|
64
|
+
export function instanceOfGlobalAccessControlCreationResponse(value: object): value is GlobalAccessControlCreationResponse {
|
|
65
|
+
if (!('globalAccessControl' in value) || value['globalAccessControl'] === undefined) return false;
|
|
66
|
+
if (!('globalAccessControlSecret' in value) || value['globalAccessControlSecret'] === undefined) return false;
|
|
67
|
+
return true;
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
export function GlobalAccessControlCreationResponseFromJSON(json: any): GlobalAccessControlCreationResponse {
|
|
@@ -74,31 +72,28 @@ export function GlobalAccessControlCreationResponseFromJSON(json: any): GlobalAc
|
|
|
74
72
|
}
|
|
75
73
|
|
|
76
74
|
export function GlobalAccessControlCreationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalAccessControlCreationResponse {
|
|
77
|
-
if (
|
|
75
|
+
if (json == null) {
|
|
78
76
|
return json;
|
|
79
77
|
}
|
|
80
78
|
return {
|
|
81
79
|
|
|
82
80
|
'globalAccessControl': GlobalAccessControlDataFromJSON(json['globalAccessControl']),
|
|
83
81
|
'globalAccessControlSecret': GlobalAccessControlSecretDataFromJSON(json['globalAccessControlSecret']),
|
|
84
|
-
'accessToken':
|
|
85
|
-
'refreshToken':
|
|
82
|
+
'accessToken': json['accessToken'] == null ? undefined : json['accessToken'],
|
|
83
|
+
'refreshToken': json['refreshToken'] == null ? undefined : json['refreshToken'],
|
|
86
84
|
};
|
|
87
85
|
}
|
|
88
86
|
|
|
89
87
|
export function GlobalAccessControlCreationResponseToJSON(value?: GlobalAccessControlCreationResponse | null): any {
|
|
90
|
-
if (value
|
|
91
|
-
return
|
|
92
|
-
}
|
|
93
|
-
if (value === null) {
|
|
94
|
-
return null;
|
|
88
|
+
if (value == null) {
|
|
89
|
+
return value;
|
|
95
90
|
}
|
|
96
91
|
return {
|
|
97
92
|
|
|
98
|
-
'globalAccessControl': GlobalAccessControlDataToJSON(value
|
|
99
|
-
'globalAccessControlSecret': GlobalAccessControlSecretDataToJSON(value
|
|
100
|
-
'accessToken': value
|
|
101
|
-
'refreshToken': value
|
|
93
|
+
'globalAccessControl': GlobalAccessControlDataToJSON(value['globalAccessControl']),
|
|
94
|
+
'globalAccessControlSecret': GlobalAccessControlSecretDataToJSON(value['globalAccessControlSecret']),
|
|
95
|
+
'accessToken': value['accessToken'],
|
|
96
|
+
'refreshToken': value['refreshToken'],
|
|
102
97
|
};
|
|
103
98
|
}
|
|
104
99
|
|
|
@@ -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,61 +12,61 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { UserRight } from './UserRight';
|
|
17
|
+
import {
|
|
18
|
+
UserRightFromJSON,
|
|
19
|
+
UserRightFromJSONTyped,
|
|
20
|
+
UserRightToJSON,
|
|
21
|
+
} from './UserRight';
|
|
22
|
+
import type { UserData } from './UserData';
|
|
23
|
+
import {
|
|
24
|
+
UserDataFromJSON,
|
|
25
|
+
UserDataFromJSONTyped,
|
|
26
|
+
UserDataToJSON,
|
|
27
|
+
} from './UserData';
|
|
16
28
|
import type { AccessControlRight } from './AccessControlRight';
|
|
17
29
|
import {
|
|
18
30
|
AccessControlRightFromJSON,
|
|
19
31
|
AccessControlRightFromJSONTyped,
|
|
20
32
|
AccessControlRightToJSON,
|
|
21
33
|
} from './AccessControlRight';
|
|
22
|
-
import type { AnalyticRight } from './AnalyticRight';
|
|
23
|
-
import {
|
|
24
|
-
AnalyticRightFromJSON,
|
|
25
|
-
AnalyticRightFromJSONTyped,
|
|
26
|
-
AnalyticRightToJSON,
|
|
27
|
-
} from './AnalyticRight';
|
|
28
34
|
import type { ExerciseRight } from './ExerciseRight';
|
|
29
35
|
import {
|
|
30
36
|
ExerciseRightFromJSON,
|
|
31
37
|
ExerciseRightFromJSONTyped,
|
|
32
38
|
ExerciseRightToJSON,
|
|
33
39
|
} from './ExerciseRight';
|
|
34
|
-
import type { FacilityRight } from './FacilityRight';
|
|
35
|
-
import {
|
|
36
|
-
FacilityRightFromJSON,
|
|
37
|
-
FacilityRightFromJSONTyped,
|
|
38
|
-
FacilityRightToJSON,
|
|
39
|
-
} from './FacilityRight';
|
|
40
40
|
import type { LicenseRight } from './LicenseRight';
|
|
41
41
|
import {
|
|
42
42
|
LicenseRightFromJSON,
|
|
43
43
|
LicenseRightFromJSONTyped,
|
|
44
44
|
LicenseRightToJSON,
|
|
45
45
|
} from './LicenseRight';
|
|
46
|
+
import type { FacilityRight } from './FacilityRight';
|
|
47
|
+
import {
|
|
48
|
+
FacilityRightFromJSON,
|
|
49
|
+
FacilityRightFromJSONTyped,
|
|
50
|
+
FacilityRightToJSON,
|
|
51
|
+
} from './FacilityRight';
|
|
46
52
|
import type { MSeriesGuidedSessionRight } from './MSeriesGuidedSessionRight';
|
|
47
53
|
import {
|
|
48
54
|
MSeriesGuidedSessionRightFromJSON,
|
|
49
55
|
MSeriesGuidedSessionRightFromJSONTyped,
|
|
50
56
|
MSeriesGuidedSessionRightToJSON,
|
|
51
57
|
} from './MSeriesGuidedSessionRight';
|
|
58
|
+
import type { AnalyticRight } from './AnalyticRight';
|
|
59
|
+
import {
|
|
60
|
+
AnalyticRightFromJSON,
|
|
61
|
+
AnalyticRightFromJSONTyped,
|
|
62
|
+
AnalyticRightToJSON,
|
|
63
|
+
} from './AnalyticRight';
|
|
52
64
|
import type { ResqueRight } from './ResqueRight';
|
|
53
65
|
import {
|
|
54
66
|
ResqueRightFromJSON,
|
|
55
67
|
ResqueRightFromJSONTyped,
|
|
56
68
|
ResqueRightToJSON,
|
|
57
69
|
} from './ResqueRight';
|
|
58
|
-
import type { UserData } from './UserData';
|
|
59
|
-
import {
|
|
60
|
-
UserDataFromJSON,
|
|
61
|
-
UserDataFromJSONTyped,
|
|
62
|
-
UserDataToJSON,
|
|
63
|
-
} from './UserData';
|
|
64
|
-
import type { UserRight } from './UserRight';
|
|
65
|
-
import {
|
|
66
|
-
UserRightFromJSON,
|
|
67
|
-
UserRightFromJSONTyped,
|
|
68
|
-
UserRightToJSON,
|
|
69
|
-
} from './UserRight';
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
*
|
|
@@ -139,11 +139,9 @@ export interface GlobalAccessControlData {
|
|
|
139
139
|
/**
|
|
140
140
|
* Check if a given object implements the GlobalAccessControlData interface.
|
|
141
141
|
*/
|
|
142
|
-
export function instanceOfGlobalAccessControlData(value: object):
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
return isInstance;
|
|
142
|
+
export function instanceOfGlobalAccessControlData(value: object): value is GlobalAccessControlData {
|
|
143
|
+
if (!('userId' in value) || value['userId'] === undefined) return false;
|
|
144
|
+
return true;
|
|
147
145
|
}
|
|
148
146
|
|
|
149
147
|
export function GlobalAccessControlDataFromJSON(json: any): GlobalAccessControlData {
|
|
@@ -151,43 +149,40 @@ export function GlobalAccessControlDataFromJSON(json: any): GlobalAccessControlD
|
|
|
151
149
|
}
|
|
152
150
|
|
|
153
151
|
export function GlobalAccessControlDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalAccessControlData {
|
|
154
|
-
if (
|
|
152
|
+
if (json == null) {
|
|
155
153
|
return json;
|
|
156
154
|
}
|
|
157
155
|
return {
|
|
158
156
|
|
|
159
157
|
'userId': json['userId'],
|
|
160
|
-
'userRights':
|
|
161
|
-
'exerciseRights':
|
|
162
|
-
'mSeriesGuidedSessionRights':
|
|
163
|
-
'facilityRights':
|
|
164
|
-
'licenseRights':
|
|
165
|
-
'accessControlRights':
|
|
166
|
-
'resqueRights':
|
|
167
|
-
'analyticRights':
|
|
168
|
-
'user':
|
|
158
|
+
'userRights': json['userRights'] == null ? undefined : UserRightFromJSON(json['userRights']),
|
|
159
|
+
'exerciseRights': json['exerciseRights'] == null ? undefined : ExerciseRightFromJSON(json['exerciseRights']),
|
|
160
|
+
'mSeriesGuidedSessionRights': json['mSeriesGuidedSessionRights'] == null ? undefined : MSeriesGuidedSessionRightFromJSON(json['mSeriesGuidedSessionRights']),
|
|
161
|
+
'facilityRights': json['facilityRights'] == null ? undefined : FacilityRightFromJSON(json['facilityRights']),
|
|
162
|
+
'licenseRights': json['licenseRights'] == null ? undefined : LicenseRightFromJSON(json['licenseRights']),
|
|
163
|
+
'accessControlRights': json['accessControlRights'] == null ? undefined : AccessControlRightFromJSON(json['accessControlRights']),
|
|
164
|
+
'resqueRights': json['resqueRights'] == null ? undefined : ResqueRightFromJSON(json['resqueRights']),
|
|
165
|
+
'analyticRights': json['analyticRights'] == null ? undefined : AnalyticRightFromJSON(json['analyticRights']),
|
|
166
|
+
'user': json['user'] == null ? undefined : UserDataFromJSON(json['user']),
|
|
169
167
|
};
|
|
170
168
|
}
|
|
171
169
|
|
|
172
170
|
export function GlobalAccessControlDataToJSON(value?: GlobalAccessControlData | null): any {
|
|
173
|
-
if (value
|
|
174
|
-
return
|
|
175
|
-
}
|
|
176
|
-
if (value === null) {
|
|
177
|
-
return null;
|
|
171
|
+
if (value == null) {
|
|
172
|
+
return value;
|
|
178
173
|
}
|
|
179
174
|
return {
|
|
180
175
|
|
|
181
|
-
'userId': value
|
|
182
|
-
'userRights': UserRightToJSON(value
|
|
183
|
-
'exerciseRights': ExerciseRightToJSON(value
|
|
184
|
-
'mSeriesGuidedSessionRights': MSeriesGuidedSessionRightToJSON(value
|
|
185
|
-
'facilityRights': FacilityRightToJSON(value
|
|
186
|
-
'licenseRights': LicenseRightToJSON(value
|
|
187
|
-
'accessControlRights': AccessControlRightToJSON(value
|
|
188
|
-
'resqueRights': ResqueRightToJSON(value
|
|
189
|
-
'analyticRights': AnalyticRightToJSON(value
|
|
190
|
-
'user': UserDataToJSON(value
|
|
176
|
+
'userId': value['userId'],
|
|
177
|
+
'userRights': UserRightToJSON(value['userRights']),
|
|
178
|
+
'exerciseRights': ExerciseRightToJSON(value['exerciseRights']),
|
|
179
|
+
'mSeriesGuidedSessionRights': MSeriesGuidedSessionRightToJSON(value['mSeriesGuidedSessionRights']),
|
|
180
|
+
'facilityRights': FacilityRightToJSON(value['facilityRights']),
|
|
181
|
+
'licenseRights': LicenseRightToJSON(value['licenseRights']),
|
|
182
|
+
'accessControlRights': AccessControlRightToJSON(value['accessControlRights']),
|
|
183
|
+
'resqueRights': ResqueRightToJSON(value['resqueRights']),
|
|
184
|
+
'analyticRights': AnalyticRightToJSON(value['analyticRights']),
|
|
185
|
+
'user': UserDataToJSON(value['user']),
|
|
191
186
|
};
|
|
192
187
|
}
|
|
193
188
|
|
|
@@ -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 { GlobalAccessControlData } from './GlobalAccessControlData';
|
|
17
17
|
import {
|
|
18
18
|
GlobalAccessControlDataFromJSON,
|
|
@@ -61,12 +61,10 @@ export interface GlobalAccessControlListResponse {
|
|
|
61
61
|
/**
|
|
62
62
|
* Check if a given object implements the GlobalAccessControlListResponse interface.
|
|
63
63
|
*/
|
|
64
|
-
export function instanceOfGlobalAccessControlListResponse(value: object):
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
return isInstance;
|
|
64
|
+
export function instanceOfGlobalAccessControlListResponse(value: object): value is GlobalAccessControlListResponse {
|
|
65
|
+
if (!('globalAccessControls' in value) || value['globalAccessControls'] === undefined) return false;
|
|
66
|
+
if (!('globalAccessControlsMeta' in value) || value['globalAccessControlsMeta'] === undefined) return false;
|
|
67
|
+
return true;
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
export function GlobalAccessControlListResponseFromJSON(json: any): GlobalAccessControlListResponse {
|
|
@@ -74,31 +72,28 @@ export function GlobalAccessControlListResponseFromJSON(json: any): GlobalAccess
|
|
|
74
72
|
}
|
|
75
73
|
|
|
76
74
|
export function GlobalAccessControlListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalAccessControlListResponse {
|
|
77
|
-
if (
|
|
75
|
+
if (json == null) {
|
|
78
76
|
return json;
|
|
79
77
|
}
|
|
80
78
|
return {
|
|
81
79
|
|
|
82
80
|
'globalAccessControls': ((json['globalAccessControls'] as Array<any>).map(GlobalAccessControlDataFromJSON)),
|
|
83
81
|
'globalAccessControlsMeta': GlobalAccessControlListResponseMetaFromJSON(json['globalAccessControlsMeta']),
|
|
84
|
-
'accessToken':
|
|
85
|
-
'refreshToken':
|
|
82
|
+
'accessToken': json['accessToken'] == null ? undefined : json['accessToken'],
|
|
83
|
+
'refreshToken': json['refreshToken'] == null ? undefined : json['refreshToken'],
|
|
86
84
|
};
|
|
87
85
|
}
|
|
88
86
|
|
|
89
87
|
export function GlobalAccessControlListResponseToJSON(value?: GlobalAccessControlListResponse | null): any {
|
|
90
|
-
if (value
|
|
91
|
-
return
|
|
92
|
-
}
|
|
93
|
-
if (value === null) {
|
|
94
|
-
return null;
|
|
88
|
+
if (value == null) {
|
|
89
|
+
return value;
|
|
95
90
|
}
|
|
96
91
|
return {
|
|
97
92
|
|
|
98
|
-
'globalAccessControls': ((value
|
|
99
|
-
'globalAccessControlsMeta': GlobalAccessControlListResponseMetaToJSON(value
|
|
100
|
-
'accessToken': value
|
|
101
|
-
'refreshToken': value
|
|
93
|
+
'globalAccessControls': ((value['globalAccessControls'] as Array<any>).map(GlobalAccessControlDataToJSON)),
|
|
94
|
+
'globalAccessControlsMeta': GlobalAccessControlListResponseMetaToJSON(value['globalAccessControlsMeta']),
|
|
95
|
+
'accessToken': value['accessToken'],
|
|
96
|
+
'refreshToken': value['refreshToken'],
|
|
102
97
|
};
|
|
103
98
|
}
|
|
104
99
|
|