@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,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -72,10 +72,8 @@ export interface FacilityProfileData {
|
|
|
72
72
|
/**
|
|
73
73
|
* Check if a given object implements the FacilityProfileData interface.
|
|
74
74
|
*/
|
|
75
|
-
export function instanceOfFacilityProfileData(value: object):
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
return isInstance;
|
|
75
|
+
export function instanceOfFacilityProfileData(value: object): value is FacilityProfileData {
|
|
76
|
+
return true;
|
|
79
77
|
}
|
|
80
78
|
|
|
81
79
|
export function FacilityProfileDataFromJSON(json: any): FacilityProfileData {
|
|
@@ -83,39 +81,36 @@ export function FacilityProfileDataFromJSON(json: any): FacilityProfileData {
|
|
|
83
81
|
}
|
|
84
82
|
|
|
85
83
|
export function FacilityProfileDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilityProfileData {
|
|
86
|
-
if (
|
|
84
|
+
if (json == null) {
|
|
87
85
|
return json;
|
|
88
86
|
}
|
|
89
87
|
return {
|
|
90
88
|
|
|
91
|
-
'name':
|
|
92
|
-
'phone':
|
|
93
|
-
'address':
|
|
94
|
-
'city':
|
|
95
|
-
'postcode':
|
|
96
|
-
'state':
|
|
97
|
-
'country':
|
|
98
|
-
'website':
|
|
89
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
90
|
+
'phone': json['phone'] == null ? undefined : json['phone'],
|
|
91
|
+
'address': json['address'] == null ? undefined : json['address'],
|
|
92
|
+
'city': json['city'] == null ? undefined : json['city'],
|
|
93
|
+
'postcode': json['postcode'] == null ? undefined : json['postcode'],
|
|
94
|
+
'state': json['state'] == null ? undefined : json['state'],
|
|
95
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
96
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
99
97
|
};
|
|
100
98
|
}
|
|
101
99
|
|
|
102
100
|
export function FacilityProfileDataToJSON(value?: FacilityProfileData | null): any {
|
|
103
|
-
if (value
|
|
104
|
-
return
|
|
105
|
-
}
|
|
106
|
-
if (value === null) {
|
|
107
|
-
return null;
|
|
101
|
+
if (value == null) {
|
|
102
|
+
return value;
|
|
108
103
|
}
|
|
109
104
|
return {
|
|
110
105
|
|
|
111
|
-
'name': value
|
|
112
|
-
'phone': value
|
|
113
|
-
'address': value
|
|
114
|
-
'city': value
|
|
115
|
-
'postcode': value
|
|
116
|
-
'state': value
|
|
117
|
-
'country': value
|
|
118
|
-
'website': value
|
|
106
|
+
'name': value['name'],
|
|
107
|
+
'phone': value['phone'],
|
|
108
|
+
'address': value['address'],
|
|
109
|
+
'city': value['city'],
|
|
110
|
+
'postcode': value['postcode'],
|
|
111
|
+
'state': value['state'],
|
|
112
|
+
'country': value['country'],
|
|
113
|
+
'website': value['website'],
|
|
119
114
|
};
|
|
120
115
|
}
|
|
121
116
|
|
|
@@ -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 { EmployeeRole } from './EmployeeRole';
|
|
17
|
-
import {
|
|
18
|
-
EmployeeRoleFromJSON,
|
|
19
|
-
EmployeeRoleFromJSONTyped,
|
|
20
|
-
EmployeeRoleToJSON,
|
|
21
|
-
} from './EmployeeRole';
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
22
16
|
import type { FacilityData } from './FacilityData';
|
|
23
17
|
import {
|
|
24
18
|
FacilityDataFromJSON,
|
|
25
19
|
FacilityDataFromJSONTyped,
|
|
26
20
|
FacilityDataToJSON,
|
|
27
21
|
} from './FacilityData';
|
|
22
|
+
import type { EmployeeRole } from './EmployeeRole';
|
|
23
|
+
import {
|
|
24
|
+
EmployeeRoleFromJSON,
|
|
25
|
+
EmployeeRoleFromJSONTyped,
|
|
26
|
+
EmployeeRoleToJSON,
|
|
27
|
+
} from './EmployeeRole';
|
|
28
28
|
import type { FacilitySessionUserData } from './FacilitySessionUserData';
|
|
29
29
|
import {
|
|
30
30
|
FacilitySessionUserDataFromJSON,
|
|
@@ -68,6 +68,18 @@ export interface FacilityRelationshipData {
|
|
|
68
68
|
* @memberof FacilityRelationshipData
|
|
69
69
|
*/
|
|
70
70
|
memberIdentifier?: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof FacilityRelationshipData
|
|
75
|
+
*/
|
|
76
|
+
pinCode?: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof FacilityRelationshipData
|
|
81
|
+
*/
|
|
82
|
+
externalIdentifier?: string;
|
|
71
83
|
/**
|
|
72
84
|
*
|
|
73
85
|
* @type {boolean}
|
|
@@ -80,6 +92,12 @@ export interface FacilityRelationshipData {
|
|
|
80
92
|
* @memberof FacilityRelationshipData
|
|
81
93
|
*/
|
|
82
94
|
employeeRole?: EmployeeRole;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof FacilityRelationshipData
|
|
99
|
+
*/
|
|
100
|
+
deactivatedAt: string;
|
|
83
101
|
/**
|
|
84
102
|
*
|
|
85
103
|
* @type {FacilityData}
|
|
@@ -97,15 +115,14 @@ export interface FacilityRelationshipData {
|
|
|
97
115
|
/**
|
|
98
116
|
* Check if a given object implements the FacilityRelationshipData interface.
|
|
99
117
|
*/
|
|
100
|
-
export function instanceOfFacilityRelationshipData(value: object):
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
return isInstance;
|
|
118
|
+
export function instanceOfFacilityRelationshipData(value: object): value is FacilityRelationshipData {
|
|
119
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
120
|
+
if (!('userId' in value) || value['userId'] === undefined) return false;
|
|
121
|
+
if (!('facilityId' in value) || value['facilityId'] === undefined) return false;
|
|
122
|
+
if (!('member' in value) || value['member'] === undefined) return false;
|
|
123
|
+
if (!('hasSecretSet' in value) || value['hasSecretSet'] === undefined) return false;
|
|
124
|
+
if (!('deactivatedAt' in value) || value['deactivatedAt'] === undefined) return false;
|
|
125
|
+
return true;
|
|
109
126
|
}
|
|
110
127
|
|
|
111
128
|
export function FacilityRelationshipDataFromJSON(json: any): FacilityRelationshipData {
|
|
@@ -113,7 +130,7 @@ export function FacilityRelationshipDataFromJSON(json: any): FacilityRelationshi
|
|
|
113
130
|
}
|
|
114
131
|
|
|
115
132
|
export function FacilityRelationshipDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilityRelationshipData {
|
|
116
|
-
if (
|
|
133
|
+
if (json == null) {
|
|
117
134
|
return json;
|
|
118
135
|
}
|
|
119
136
|
return {
|
|
@@ -122,32 +139,35 @@ export function FacilityRelationshipDataFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
122
139
|
'userId': json['userId'],
|
|
123
140
|
'facilityId': json['facilityId'],
|
|
124
141
|
'member': json['member'],
|
|
125
|
-
'memberIdentifier':
|
|
142
|
+
'memberIdentifier': json['memberIdentifier'] == null ? undefined : json['memberIdentifier'],
|
|
143
|
+
'pinCode': json['pinCode'] == null ? undefined : json['pinCode'],
|
|
144
|
+
'externalIdentifier': json['externalIdentifier'] == null ? undefined : json['externalIdentifier'],
|
|
126
145
|
'hasSecretSet': json['hasSecretSet'],
|
|
127
|
-
'employeeRole':
|
|
128
|
-
'
|
|
129
|
-
'
|
|
146
|
+
'employeeRole': json['employeeRole'] == null ? undefined : EmployeeRoleFromJSON(json['employeeRole']),
|
|
147
|
+
'deactivatedAt': json['deactivatedAt'],
|
|
148
|
+
'facility': json['facility'] == null ? undefined : FacilityDataFromJSON(json['facility']),
|
|
149
|
+
'user': json['user'] == null ? undefined : FacilitySessionUserDataFromJSON(json['user']),
|
|
130
150
|
};
|
|
131
151
|
}
|
|
132
152
|
|
|
133
153
|
export function FacilityRelationshipDataToJSON(value?: FacilityRelationshipData | null): any {
|
|
134
|
-
if (value
|
|
135
|
-
return
|
|
136
|
-
}
|
|
137
|
-
if (value === null) {
|
|
138
|
-
return null;
|
|
154
|
+
if (value == null) {
|
|
155
|
+
return value;
|
|
139
156
|
}
|
|
140
157
|
return {
|
|
141
158
|
|
|
142
|
-
'id': value
|
|
143
|
-
'userId': value
|
|
144
|
-
'facilityId': value
|
|
145
|
-
'member': value
|
|
146
|
-
'memberIdentifier': value
|
|
147
|
-
'
|
|
148
|
-
'
|
|
149
|
-
'
|
|
150
|
-
'
|
|
159
|
+
'id': value['id'],
|
|
160
|
+
'userId': value['userId'],
|
|
161
|
+
'facilityId': value['facilityId'],
|
|
162
|
+
'member': value['member'],
|
|
163
|
+
'memberIdentifier': value['memberIdentifier'],
|
|
164
|
+
'pinCode': value['pinCode'],
|
|
165
|
+
'externalIdentifier': value['externalIdentifier'],
|
|
166
|
+
'hasSecretSet': value['hasSecretSet'],
|
|
167
|
+
'employeeRole': EmployeeRoleToJSON(value['employeeRole']),
|
|
168
|
+
'deactivatedAt': value['deactivatedAt'],
|
|
169
|
+
'facility': FacilityDataToJSON(value['facility']),
|
|
170
|
+
'user': FacilitySessionUserDataToJSON(value['user']),
|
|
151
171
|
};
|
|
152
172
|
}
|
|
153
173
|
|
|
@@ -0,0 +1,84 @@
|
|
|
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 { FacilityData } from './FacilityData';
|
|
17
|
+
import {
|
|
18
|
+
FacilityDataFromJSON,
|
|
19
|
+
FacilityDataFromJSONTyped,
|
|
20
|
+
FacilityDataToJSON,
|
|
21
|
+
} from './FacilityData';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface FacilityResponse
|
|
27
|
+
*/
|
|
28
|
+
export interface FacilityResponse {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {FacilityData}
|
|
32
|
+
* @memberof FacilityResponse
|
|
33
|
+
*/
|
|
34
|
+
facility: FacilityData;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof FacilityResponse
|
|
39
|
+
*/
|
|
40
|
+
accessToken?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof FacilityResponse
|
|
45
|
+
*/
|
|
46
|
+
refreshToken?: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the FacilityResponse interface.
|
|
51
|
+
*/
|
|
52
|
+
export function instanceOfFacilityResponse(value: object): value is FacilityResponse {
|
|
53
|
+
if (!('facility' in value) || value['facility'] === undefined) return false;
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function FacilityResponseFromJSON(json: any): FacilityResponse {
|
|
58
|
+
return FacilityResponseFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function FacilityResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilityResponse {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
|
|
67
|
+
'facility': FacilityDataFromJSON(json['facility']),
|
|
68
|
+
'accessToken': json['accessToken'] == null ? undefined : json['accessToken'],
|
|
69
|
+
'refreshToken': json['refreshToken'] == null ? undefined : json['refreshToken'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function FacilityResponseToJSON(value?: FacilityResponse | null): any {
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'facility': FacilityDataToJSON(value['facility']),
|
|
80
|
+
'accessToken': value['accessToken'],
|
|
81
|
+
'refreshToken': value['refreshToken'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* metrics-sdk-admin
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.4.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,14 +12,29 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
/* tslint:disable */
|
|
16
|
+
/* eslint-disable */
|
|
17
|
+
/**
|
|
18
|
+
* metrics-sdk-admin
|
|
19
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: 5.4.0
|
|
22
|
+
*
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
|
|
15
30
|
|
|
16
31
|
/**
|
|
17
32
|
*
|
|
18
33
|
* @export
|
|
19
34
|
*/
|
|
20
35
|
export const FacilityRight = {
|
|
21
|
-
|
|
22
|
-
|
|
36
|
+
view: 'view',
|
|
37
|
+
edit: 'edit'
|
|
23
38
|
} as const;
|
|
24
39
|
export type FacilityRight =
|
|
25
40
|
| 'view'
|
|
@@ -27,15 +42,19 @@ export type FacilityRight =
|
|
|
27
42
|
;
|
|
28
43
|
|
|
29
44
|
|
|
30
|
-
export function
|
|
45
|
+
export function instanceOfFacilityRight(value: unknown): boolean {
|
|
46
|
+
return (Object.values(FacilityRight) as unknown[]).includes(value);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function FacilityRightFromJSON(json: unknown): FacilityRight {
|
|
31
50
|
return FacilityRightFromJSONTyped(json, false);
|
|
32
51
|
}
|
|
33
52
|
|
|
34
|
-
export function FacilityRightFromJSONTyped(json:
|
|
53
|
+
export function FacilityRightFromJSONTyped(json: unknown, ignoreDiscriminator: boolean): FacilityRight {
|
|
35
54
|
return json as FacilityRight;
|
|
36
55
|
}
|
|
37
56
|
|
|
38
|
-
export function FacilityRightToJSON(value?: FacilityRight | null):
|
|
39
|
-
return value
|
|
57
|
+
export function FacilityRightToJSON(value?: FacilityRight | null): FacilityRight | null | undefined {
|
|
58
|
+
return value;
|
|
40
59
|
}
|
|
41
60
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* metrics-sdk-admin
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.4.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,43 +12,43 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import {
|
|
16
|
-
import type { AcceptedTermsVersionData } from './AcceptedTermsVersionData';
|
|
17
|
-
import {
|
|
18
|
-
AcceptedTermsVersionDataFromJSON,
|
|
19
|
-
AcceptedTermsVersionDataFromJSONTyped,
|
|
20
|
-
AcceptedTermsVersionDataToJSON,
|
|
21
|
-
} from './AcceptedTermsVersionData';
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
22
16
|
import type { EmailAddressData } from './EmailAddressData';
|
|
23
17
|
import {
|
|
24
18
|
EmailAddressDataFromJSON,
|
|
25
19
|
EmailAddressDataFromJSONTyped,
|
|
26
20
|
EmailAddressDataToJSON,
|
|
27
21
|
} from './EmailAddressData';
|
|
28
|
-
import type {
|
|
22
|
+
import type { WeightMeasurementData } from './WeightMeasurementData';
|
|
29
23
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from './
|
|
24
|
+
WeightMeasurementDataFromJSON,
|
|
25
|
+
WeightMeasurementDataFromJSONTyped,
|
|
26
|
+
WeightMeasurementDataToJSON,
|
|
27
|
+
} from './WeightMeasurementData';
|
|
28
|
+
import type { PrimaryEmailAddressData } from './PrimaryEmailAddressData';
|
|
29
|
+
import {
|
|
30
|
+
PrimaryEmailAddressDataFromJSON,
|
|
31
|
+
PrimaryEmailAddressDataFromJSONTyped,
|
|
32
|
+
PrimaryEmailAddressDataToJSON,
|
|
33
|
+
} from './PrimaryEmailAddressData';
|
|
34
34
|
import type { HeightMeasurementData } from './HeightMeasurementData';
|
|
35
35
|
import {
|
|
36
36
|
HeightMeasurementDataFromJSON,
|
|
37
37
|
HeightMeasurementDataFromJSONTyped,
|
|
38
38
|
HeightMeasurementDataToJSON,
|
|
39
39
|
} from './HeightMeasurementData';
|
|
40
|
+
import type { FacilityRelationshipData } from './FacilityRelationshipData';
|
|
41
|
+
import {
|
|
42
|
+
FacilityRelationshipDataFromJSON,
|
|
43
|
+
FacilityRelationshipDataFromJSONTyped,
|
|
44
|
+
FacilityRelationshipDataToJSON,
|
|
45
|
+
} from './FacilityRelationshipData';
|
|
40
46
|
import type { OAuthServiceData } from './OAuthServiceData';
|
|
41
47
|
import {
|
|
42
48
|
OAuthServiceDataFromJSON,
|
|
43
49
|
OAuthServiceDataFromJSONTyped,
|
|
44
50
|
OAuthServiceDataToJSON,
|
|
45
51
|
} from './OAuthServiceData';
|
|
46
|
-
import type { PrimaryEmailAddressData } from './PrimaryEmailAddressData';
|
|
47
|
-
import {
|
|
48
|
-
PrimaryEmailAddressDataFromJSON,
|
|
49
|
-
PrimaryEmailAddressDataFromJSONTyped,
|
|
50
|
-
PrimaryEmailAddressDataToJSON,
|
|
51
|
-
} from './PrimaryEmailAddressData';
|
|
52
52
|
import type { ProfileData } from './ProfileData';
|
|
53
53
|
import {
|
|
54
54
|
ProfileDataFromJSON,
|
|
@@ -61,12 +61,12 @@ import {
|
|
|
61
61
|
SessionDataFromJSONTyped,
|
|
62
62
|
SessionDataToJSON,
|
|
63
63
|
} from './SessionData';
|
|
64
|
-
import type {
|
|
64
|
+
import type { AcceptedTermsVersionData } from './AcceptedTermsVersionData';
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from './
|
|
66
|
+
AcceptedTermsVersionDataFromJSON,
|
|
67
|
+
AcceptedTermsVersionDataFromJSONTyped,
|
|
68
|
+
AcceptedTermsVersionDataToJSON,
|
|
69
|
+
} from './AcceptedTermsVersionData';
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
*
|
|
@@ -157,10 +157,8 @@ export interface FacilitySessionUserData {
|
|
|
157
157
|
/**
|
|
158
158
|
* Check if a given object implements the FacilitySessionUserData interface.
|
|
159
159
|
*/
|
|
160
|
-
export function instanceOfFacilitySessionUserData(value: object):
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
return isInstance;
|
|
160
|
+
export function instanceOfFacilitySessionUserData(value: object): value is FacilitySessionUserData {
|
|
161
|
+
return true;
|
|
164
162
|
}
|
|
165
163
|
|
|
166
164
|
export function FacilitySessionUserDataFromJSON(json: any): FacilitySessionUserData {
|
|
@@ -168,49 +166,46 @@ export function FacilitySessionUserDataFromJSON(json: any): FacilitySessionUserD
|
|
|
168
166
|
}
|
|
169
167
|
|
|
170
168
|
export function FacilitySessionUserDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilitySessionUserData {
|
|
171
|
-
if (
|
|
169
|
+
if (json == null) {
|
|
172
170
|
return json;
|
|
173
171
|
}
|
|
174
172
|
return {
|
|
175
173
|
|
|
176
|
-
'sessions':
|
|
177
|
-
'id':
|
|
178
|
-
'emailAddresses':
|
|
179
|
-
'primaryEmailAddress':
|
|
180
|
-
'basicCredential':
|
|
181
|
-
'oauthServices':
|
|
182
|
-
'profile':
|
|
183
|
-
'acceptedTermsVersion':
|
|
184
|
-
'weightMeasurements':
|
|
185
|
-
'weightMeasurement':
|
|
186
|
-
'heightMeasurements':
|
|
187
|
-
'heightMeasurement':
|
|
188
|
-
'facilityRelationships':
|
|
174
|
+
'sessions': json['sessions'] == null ? undefined : ((json['sessions'] as Array<any>).map(SessionDataFromJSON)),
|
|
175
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
176
|
+
'emailAddresses': json['emailAddresses'] == null ? undefined : ((json['emailAddresses'] as Array<any>).map(EmailAddressDataFromJSON)),
|
|
177
|
+
'primaryEmailAddress': json['primaryEmailAddress'] == null ? undefined : PrimaryEmailAddressDataFromJSON(json['primaryEmailAddress']),
|
|
178
|
+
'basicCredential': json['basicCredential'] == null ? undefined : json['basicCredential'],
|
|
179
|
+
'oauthServices': json['oauthServices'] == null ? undefined : ((json['oauthServices'] as Array<any>).map(OAuthServiceDataFromJSON)),
|
|
180
|
+
'profile': json['profile'] == null ? undefined : ProfileDataFromJSON(json['profile']),
|
|
181
|
+
'acceptedTermsVersion': json['acceptedTermsVersion'] == null ? undefined : AcceptedTermsVersionDataFromJSON(json['acceptedTermsVersion']),
|
|
182
|
+
'weightMeasurements': json['weightMeasurements'] == null ? undefined : ((json['weightMeasurements'] as Array<any>).map(WeightMeasurementDataFromJSON)),
|
|
183
|
+
'weightMeasurement': json['weightMeasurement'] == null ? undefined : WeightMeasurementDataFromJSON(json['weightMeasurement']),
|
|
184
|
+
'heightMeasurements': json['heightMeasurements'] == null ? undefined : ((json['heightMeasurements'] as Array<any>).map(HeightMeasurementDataFromJSON)),
|
|
185
|
+
'heightMeasurement': json['heightMeasurement'] == null ? undefined : HeightMeasurementDataFromJSON(json['heightMeasurement']),
|
|
186
|
+
'facilityRelationships': json['facilityRelationships'] == null ? undefined : ((json['facilityRelationships'] as Array<any>).map(FacilityRelationshipDataFromJSON)),
|
|
189
187
|
};
|
|
190
188
|
}
|
|
191
189
|
|
|
192
190
|
export function FacilitySessionUserDataToJSON(value?: FacilitySessionUserData | null): any {
|
|
193
|
-
if (value
|
|
194
|
-
return
|
|
195
|
-
}
|
|
196
|
-
if (value === null) {
|
|
197
|
-
return null;
|
|
191
|
+
if (value == null) {
|
|
192
|
+
return value;
|
|
198
193
|
}
|
|
199
194
|
return {
|
|
200
195
|
|
|
201
|
-
'sessions': value
|
|
202
|
-
'id': value
|
|
203
|
-
'emailAddresses': value
|
|
204
|
-
'primaryEmailAddress': PrimaryEmailAddressDataToJSON(value
|
|
205
|
-
'basicCredential': value
|
|
206
|
-
'oauthServices': value
|
|
207
|
-
'profile': ProfileDataToJSON(value
|
|
208
|
-
'acceptedTermsVersion': AcceptedTermsVersionDataToJSON(value
|
|
209
|
-
'weightMeasurements': value
|
|
210
|
-
'weightMeasurement': WeightMeasurementDataToJSON(value
|
|
211
|
-
'heightMeasurements': value
|
|
212
|
-
'heightMeasurement': HeightMeasurementDataToJSON(value
|
|
213
|
-
'facilityRelationships': value
|
|
196
|
+
'sessions': value['sessions'] == null ? undefined : ((value['sessions'] as Array<any>).map(SessionDataToJSON)),
|
|
197
|
+
'id': value['id'],
|
|
198
|
+
'emailAddresses': value['emailAddresses'] == null ? undefined : ((value['emailAddresses'] as Array<any>).map(EmailAddressDataToJSON)),
|
|
199
|
+
'primaryEmailAddress': PrimaryEmailAddressDataToJSON(value['primaryEmailAddress']),
|
|
200
|
+
'basicCredential': value['basicCredential'],
|
|
201
|
+
'oauthServices': value['oauthServices'] == null ? undefined : ((value['oauthServices'] as Array<any>).map(OAuthServiceDataToJSON)),
|
|
202
|
+
'profile': ProfileDataToJSON(value['profile']),
|
|
203
|
+
'acceptedTermsVersion': AcceptedTermsVersionDataToJSON(value['acceptedTermsVersion']),
|
|
204
|
+
'weightMeasurements': value['weightMeasurements'] == null ? undefined : ((value['weightMeasurements'] as Array<any>).map(WeightMeasurementDataToJSON)),
|
|
205
|
+
'weightMeasurement': WeightMeasurementDataToJSON(value['weightMeasurement']),
|
|
206
|
+
'heightMeasurements': value['heightMeasurements'] == null ? undefined : ((value['heightMeasurements'] as Array<any>).map(HeightMeasurementDataToJSON)),
|
|
207
|
+
'heightMeasurement': HeightMeasurementDataToJSON(value['heightMeasurement']),
|
|
208
|
+
'facilityRelationships': value['facilityRelationships'] == null ? undefined : ((value['facilityRelationships'] as Array<any>).map(FacilityRelationshipDataToJSON)),
|
|
214
209
|
};
|
|
215
210
|
}
|
|
216
211
|
|