@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
|
@@ -0,0 +1,77 @@
|
|
|
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 { FacilityDisplayOperatingScheduleTime } from './FacilityDisplayOperatingScheduleTime';
|
|
17
|
+
import {
|
|
18
|
+
FacilityDisplayOperatingScheduleTimeFromJSON,
|
|
19
|
+
FacilityDisplayOperatingScheduleTimeFromJSONTyped,
|
|
20
|
+
FacilityDisplayOperatingScheduleTimeToJSON,
|
|
21
|
+
} from './FacilityDisplayOperatingScheduleTime';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface FacilityDisplayOperatingScheduleEntry
|
|
27
|
+
*/
|
|
28
|
+
export interface FacilityDisplayOperatingScheduleEntry {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {FacilityDisplayOperatingScheduleTime}
|
|
32
|
+
* @memberof FacilityDisplayOperatingScheduleEntry
|
|
33
|
+
*/
|
|
34
|
+
wakeAt: FacilityDisplayOperatingScheduleTime;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {FacilityDisplayOperatingScheduleTime}
|
|
38
|
+
* @memberof FacilityDisplayOperatingScheduleEntry
|
|
39
|
+
*/
|
|
40
|
+
sleepAt: FacilityDisplayOperatingScheduleTime;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the FacilityDisplayOperatingScheduleEntry interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfFacilityDisplayOperatingScheduleEntry(value: object): value is FacilityDisplayOperatingScheduleEntry {
|
|
47
|
+
if (!('wakeAt' in value) || value['wakeAt'] === undefined) return false;
|
|
48
|
+
if (!('sleepAt' in value) || value['sleepAt'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function FacilityDisplayOperatingScheduleEntryFromJSON(json: any): FacilityDisplayOperatingScheduleEntry {
|
|
53
|
+
return FacilityDisplayOperatingScheduleEntryFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function FacilityDisplayOperatingScheduleEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilityDisplayOperatingScheduleEntry {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'wakeAt': FacilityDisplayOperatingScheduleTimeFromJSON(json['wakeAt']),
|
|
63
|
+
'sleepAt': FacilityDisplayOperatingScheduleTimeFromJSON(json['sleepAt']),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function FacilityDisplayOperatingScheduleEntryToJSON(value?: FacilityDisplayOperatingScheduleEntry | null): any {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'wakeAt': FacilityDisplayOperatingScheduleTimeToJSON(value['wakeAt']),
|
|
74
|
+
'sleepAt': FacilityDisplayOperatingScheduleTimeToJSON(value['sleepAt']),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface FacilityDisplayOperatingScheduleTime
|
|
20
|
+
*/
|
|
21
|
+
export interface FacilityDisplayOperatingScheduleTime {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof FacilityDisplayOperatingScheduleTime
|
|
26
|
+
*/
|
|
27
|
+
hour: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof FacilityDisplayOperatingScheduleTime
|
|
32
|
+
*/
|
|
33
|
+
minute: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the FacilityDisplayOperatingScheduleTime interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfFacilityDisplayOperatingScheduleTime(value: object): value is FacilityDisplayOperatingScheduleTime {
|
|
40
|
+
if (!('hour' in value) || value['hour'] === undefined) return false;
|
|
41
|
+
if (!('minute' in value) || value['minute'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function FacilityDisplayOperatingScheduleTimeFromJSON(json: any): FacilityDisplayOperatingScheduleTime {
|
|
46
|
+
return FacilityDisplayOperatingScheduleTimeFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function FacilityDisplayOperatingScheduleTimeFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilityDisplayOperatingScheduleTime {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'hour': json['hour'],
|
|
56
|
+
'minute': json['minute'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function FacilityDisplayOperatingScheduleTimeToJSON(value?: FacilityDisplayOperatingScheduleTime | null): any {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'hour': value['hour'],
|
|
67
|
+
'minute': value['minute'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
@@ -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 { FacilityData } from './FacilityData';
|
|
17
17
|
import {
|
|
18
18
|
FacilityDataFromJSON,
|
|
@@ -85,14 +85,12 @@ export interface FacilityLicenseData {
|
|
|
85
85
|
/**
|
|
86
86
|
* Check if a given object implements the FacilityLicenseData interface.
|
|
87
87
|
*/
|
|
88
|
-
export function instanceOfFacilityLicenseData(value: object):
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
return isInstance;
|
|
88
|
+
export function instanceOfFacilityLicenseData(value: object): value is FacilityLicenseData {
|
|
89
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
90
|
+
if (!('key' in value) || value['key'] === undefined) return false;
|
|
91
|
+
if (!('term' in value) || value['term'] === undefined) return false;
|
|
92
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
93
|
+
return true;
|
|
96
94
|
}
|
|
97
95
|
|
|
98
96
|
export function FacilityLicenseDataFromJSON(json: any): FacilityLicenseData {
|
|
@@ -100,39 +98,36 @@ export function FacilityLicenseDataFromJSON(json: any): FacilityLicenseData {
|
|
|
100
98
|
}
|
|
101
99
|
|
|
102
100
|
export function FacilityLicenseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilityLicenseData {
|
|
103
|
-
if (
|
|
101
|
+
if (json == null) {
|
|
104
102
|
return json;
|
|
105
103
|
}
|
|
106
104
|
return {
|
|
107
105
|
|
|
108
106
|
'id': json['id'],
|
|
109
107
|
'key': json['key'],
|
|
110
|
-
'accountId':
|
|
108
|
+
'accountId': json['accountId'] == null ? undefined : json['accountId'],
|
|
111
109
|
'term': json['term'],
|
|
112
110
|
'type': FacilityLicenseTypeFromJSON(json['type']),
|
|
113
|
-
'facilityId':
|
|
114
|
-
'effectiveDate':
|
|
115
|
-
'facility':
|
|
111
|
+
'facilityId': json['facilityId'] == null ? undefined : json['facilityId'],
|
|
112
|
+
'effectiveDate': json['effectiveDate'] == null ? undefined : (new Date(json['effectiveDate'])),
|
|
113
|
+
'facility': json['facility'] == null ? undefined : FacilityDataFromJSON(json['facility']),
|
|
116
114
|
};
|
|
117
115
|
}
|
|
118
116
|
|
|
119
117
|
export function FacilityLicenseDataToJSON(value?: FacilityLicenseData | null): any {
|
|
120
|
-
if (value
|
|
121
|
-
return
|
|
122
|
-
}
|
|
123
|
-
if (value === null) {
|
|
124
|
-
return null;
|
|
118
|
+
if (value == null) {
|
|
119
|
+
return value;
|
|
125
120
|
}
|
|
126
121
|
return {
|
|
127
122
|
|
|
128
|
-
'id': value
|
|
129
|
-
'key': value
|
|
130
|
-
'accountId': value
|
|
131
|
-
'term': value
|
|
132
|
-
'type': FacilityLicenseTypeToJSON(value
|
|
133
|
-
'facilityId': value
|
|
134
|
-
'effectiveDate': value
|
|
135
|
-
'facility': FacilityDataToJSON(value
|
|
123
|
+
'id': value['id'],
|
|
124
|
+
'key': value['key'],
|
|
125
|
+
'accountId': value['accountId'],
|
|
126
|
+
'term': value['term'],
|
|
127
|
+
'type': FacilityLicenseTypeToJSON(value['type']),
|
|
128
|
+
'facilityId': value['facilityId'],
|
|
129
|
+
'effectiveDate': value['effectiveDate'] == null ? undefined : ((value['effectiveDate']).toISOString()),
|
|
130
|
+
'facility': FacilityDataToJSON(value['facility']),
|
|
136
131
|
};
|
|
137
132
|
}
|
|
138
133
|
|
|
@@ -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 { FacilityLicenseData } from './FacilityLicenseData';
|
|
17
17
|
import {
|
|
18
18
|
FacilityLicenseDataFromJSON,
|
|
@@ -61,12 +61,10 @@ export interface FacilityLicenseListResponse {
|
|
|
61
61
|
/**
|
|
62
62
|
* Check if a given object implements the FacilityLicenseListResponse interface.
|
|
63
63
|
*/
|
|
64
|
-
export function instanceOfFacilityLicenseListResponse(value: object):
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
return isInstance;
|
|
64
|
+
export function instanceOfFacilityLicenseListResponse(value: object): value is FacilityLicenseListResponse {
|
|
65
|
+
if (!('facilityLicenses' in value) || value['facilityLicenses'] === undefined) return false;
|
|
66
|
+
if (!('facilityLicensesMeta' in value) || value['facilityLicensesMeta'] === undefined) return false;
|
|
67
|
+
return true;
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
export function FacilityLicenseListResponseFromJSON(json: any): FacilityLicenseListResponse {
|
|
@@ -74,31 +72,28 @@ export function FacilityLicenseListResponseFromJSON(json: any): FacilityLicenseL
|
|
|
74
72
|
}
|
|
75
73
|
|
|
76
74
|
export function FacilityLicenseListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilityLicenseListResponse {
|
|
77
|
-
if (
|
|
75
|
+
if (json == null) {
|
|
78
76
|
return json;
|
|
79
77
|
}
|
|
80
78
|
return {
|
|
81
79
|
|
|
82
80
|
'facilityLicenses': ((json['facilityLicenses'] as Array<any>).map(FacilityLicenseDataFromJSON)),
|
|
83
81
|
'facilityLicensesMeta': FacilityLicenseListResponseMetaFromJSON(json['facilityLicensesMeta']),
|
|
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 FacilityLicenseListResponseToJSON(value?: FacilityLicenseListResponse | 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
|
-
'facilityLicenses': ((value
|
|
99
|
-
'facilityLicensesMeta': FacilityLicenseListResponseMetaToJSON(value
|
|
100
|
-
'accessToken': value
|
|
101
|
-
'refreshToken': value
|
|
93
|
+
'facilityLicenses': ((value['facilityLicenses'] as Array<any>).map(FacilityLicenseDataToJSON)),
|
|
94
|
+
'facilityLicensesMeta': FacilityLicenseListResponseMetaToJSON(value['facilityLicensesMeta']),
|
|
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,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 { FacilityLicenseSorting } from './FacilityLicenseSorting';
|
|
17
17
|
import {
|
|
18
18
|
FacilityLicenseSortingFromJSON,
|
|
@@ -91,11 +91,9 @@ export interface FacilityLicenseListResponseMeta {
|
|
|
91
91
|
/**
|
|
92
92
|
* Check if a given object implements the FacilityLicenseListResponseMeta interface.
|
|
93
93
|
*/
|
|
94
|
-
export function instanceOfFacilityLicenseListResponseMeta(value: object):
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
return isInstance;
|
|
94
|
+
export function instanceOfFacilityLicenseListResponseMeta(value: object): value is FacilityLicenseListResponseMeta {
|
|
95
|
+
if (!('sort' in value) || value['sort'] === undefined) return false;
|
|
96
|
+
return true;
|
|
99
97
|
}
|
|
100
98
|
|
|
101
99
|
export function FacilityLicenseListResponseMetaFromJSON(json: any): FacilityLicenseListResponseMeta {
|
|
@@ -103,41 +101,38 @@ export function FacilityLicenseListResponseMetaFromJSON(json: any): FacilityLice
|
|
|
103
101
|
}
|
|
104
102
|
|
|
105
103
|
export function FacilityLicenseListResponseMetaFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilityLicenseListResponseMeta {
|
|
106
|
-
if (
|
|
104
|
+
if (json == null) {
|
|
107
105
|
return json;
|
|
108
106
|
}
|
|
109
107
|
return {
|
|
110
108
|
|
|
111
|
-
'name':
|
|
112
|
-
'key':
|
|
113
|
-
'type':
|
|
114
|
-
'accountId':
|
|
109
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
110
|
+
'key': json['key'] == null ? undefined : json['key'],
|
|
111
|
+
'type': json['type'] == null ? undefined : FacilityLicenseTypeFromJSON(json['type']),
|
|
112
|
+
'accountId': json['accountId'] == null ? undefined : json['accountId'],
|
|
115
113
|
'sort': FacilityLicenseSortingFromJSON(json['sort']),
|
|
116
|
-
'ascending':
|
|
117
|
-
'limit':
|
|
118
|
-
'offset':
|
|
119
|
-
'totalCount':
|
|
114
|
+
'ascending': json['ascending'] == null ? undefined : json['ascending'],
|
|
115
|
+
'limit': json['limit'] == null ? undefined : json['limit'],
|
|
116
|
+
'offset': json['offset'] == null ? undefined : json['offset'],
|
|
117
|
+
'totalCount': json['totalCount'] == null ? undefined : json['totalCount'],
|
|
120
118
|
};
|
|
121
119
|
}
|
|
122
120
|
|
|
123
121
|
export function FacilityLicenseListResponseMetaToJSON(value?: FacilityLicenseListResponseMeta | null): any {
|
|
124
|
-
if (value
|
|
125
|
-
return
|
|
126
|
-
}
|
|
127
|
-
if (value === null) {
|
|
128
|
-
return null;
|
|
122
|
+
if (value == null) {
|
|
123
|
+
return value;
|
|
129
124
|
}
|
|
130
125
|
return {
|
|
131
126
|
|
|
132
|
-
'name': value
|
|
133
|
-
'key': value
|
|
134
|
-
'type': FacilityLicenseTypeToJSON(value
|
|
135
|
-
'accountId': value
|
|
136
|
-
'sort': FacilityLicenseSortingToJSON(value
|
|
137
|
-
'ascending': value
|
|
138
|
-
'limit': value
|
|
139
|
-
'offset': value
|
|
140
|
-
'totalCount': value
|
|
127
|
+
'name': value['name'],
|
|
128
|
+
'key': value['key'],
|
|
129
|
+
'type': FacilityLicenseTypeToJSON(value['type']),
|
|
130
|
+
'accountId': value['accountId'],
|
|
131
|
+
'sort': FacilityLicenseSortingToJSON(value['sort']),
|
|
132
|
+
'ascending': value['ascending'],
|
|
133
|
+
'limit': value['limit'],
|
|
134
|
+
'offset': value['offset'],
|
|
135
|
+
'totalCount': value['totalCount'],
|
|
141
136
|
};
|
|
142
137
|
}
|
|
143
138
|
|
|
@@ -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 { FacilityLicenseData } from './FacilityLicenseData';
|
|
17
17
|
import {
|
|
18
18
|
FacilityLicenseDataFromJSON,
|
|
@@ -49,11 +49,9 @@ export interface FacilityLicenseResponse {
|
|
|
49
49
|
/**
|
|
50
50
|
* Check if a given object implements the FacilityLicenseResponse interface.
|
|
51
51
|
*/
|
|
52
|
-
export function instanceOfFacilityLicenseResponse(value: object):
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
return isInstance;
|
|
52
|
+
export function instanceOfFacilityLicenseResponse(value: object): value is FacilityLicenseResponse {
|
|
53
|
+
if (!('facilityLicense' in value) || value['facilityLicense'] === undefined) return false;
|
|
54
|
+
return true;
|
|
57
55
|
}
|
|
58
56
|
|
|
59
57
|
export function FacilityLicenseResponseFromJSON(json: any): FacilityLicenseResponse {
|
|
@@ -61,29 +59,26 @@ export function FacilityLicenseResponseFromJSON(json: any): FacilityLicenseRespo
|
|
|
61
59
|
}
|
|
62
60
|
|
|
63
61
|
export function FacilityLicenseResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilityLicenseResponse {
|
|
64
|
-
if (
|
|
62
|
+
if (json == null) {
|
|
65
63
|
return json;
|
|
66
64
|
}
|
|
67
65
|
return {
|
|
68
66
|
|
|
69
67
|
'facilityLicense': FacilityLicenseDataFromJSON(json['facilityLicense']),
|
|
70
|
-
'accessToken':
|
|
71
|
-
'refreshToken':
|
|
68
|
+
'accessToken': json['accessToken'] == null ? undefined : json['accessToken'],
|
|
69
|
+
'refreshToken': json['refreshToken'] == null ? undefined : json['refreshToken'],
|
|
72
70
|
};
|
|
73
71
|
}
|
|
74
72
|
|
|
75
73
|
export function FacilityLicenseResponseToJSON(value?: FacilityLicenseResponse | null): any {
|
|
76
|
-
if (value
|
|
77
|
-
return
|
|
78
|
-
}
|
|
79
|
-
if (value === null) {
|
|
80
|
-
return null;
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
81
76
|
}
|
|
82
77
|
return {
|
|
83
78
|
|
|
84
|
-
'facilityLicense': FacilityLicenseDataToJSON(value
|
|
85
|
-
'accessToken': value
|
|
86
|
-
'refreshToken': value
|
|
79
|
+
'facilityLicense': FacilityLicenseDataToJSON(value['facilityLicense']),
|
|
80
|
+
'accessToken': value['accessToken'],
|
|
81
|
+
'refreshToken': value['refreshToken'],
|
|
87
82
|
};
|
|
88
83
|
}
|
|
89
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,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 FacilityLicenseSorting = {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
36
|
+
id: 'id',
|
|
37
|
+
type: 'type',
|
|
38
|
+
term: 'term',
|
|
39
|
+
effectiveDate: 'effectiveDate'
|
|
25
40
|
} as const;
|
|
26
41
|
export type FacilityLicenseSorting =
|
|
27
42
|
| 'id'
|
|
@@ -31,15 +46,19 @@ export type FacilityLicenseSorting =
|
|
|
31
46
|
;
|
|
32
47
|
|
|
33
48
|
|
|
34
|
-
export function
|
|
49
|
+
export function instanceOfFacilityLicenseSorting(value: unknown): boolean {
|
|
50
|
+
return (Object.values(FacilityLicenseSorting) as unknown[]).includes(value);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function FacilityLicenseSortingFromJSON(json: unknown): FacilityLicenseSorting {
|
|
35
54
|
return FacilityLicenseSortingFromJSONTyped(json, false);
|
|
36
55
|
}
|
|
37
56
|
|
|
38
|
-
export function FacilityLicenseSortingFromJSONTyped(json:
|
|
57
|
+
export function FacilityLicenseSortingFromJSONTyped(json: unknown, ignoreDiscriminator: boolean): FacilityLicenseSorting {
|
|
39
58
|
return json as FacilityLicenseSorting;
|
|
40
59
|
}
|
|
41
60
|
|
|
42
|
-
export function FacilityLicenseSortingToJSON(value?: FacilityLicenseSorting | null):
|
|
43
|
-
return value
|
|
61
|
+
export function FacilityLicenseSortingToJSON(value?: FacilityLicenseSorting | null): FacilityLicenseSorting | 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,15 +12,30 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
/* tslint:disable */
|
|
16
|
+
/* eslint-disable */
|
|
17
|
+
/**
|
|
18
|
+
* metrics-sdk-admin
|
|
19
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: 5.4.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 FacilityLicenseType = {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
36
|
+
normal: 'normal',
|
|
37
|
+
demo: 'demo',
|
|
38
|
+
test: 'test'
|
|
24
39
|
} as const;
|
|
25
40
|
export type FacilityLicenseType =
|
|
26
41
|
| 'normal'
|
|
@@ -29,15 +44,19 @@ export type FacilityLicenseType =
|
|
|
29
44
|
;
|
|
30
45
|
|
|
31
46
|
|
|
32
|
-
export function
|
|
47
|
+
export function instanceOfFacilityLicenseType(value: unknown): boolean {
|
|
48
|
+
return (Object.values(FacilityLicenseType) as unknown[]).includes(value);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function FacilityLicenseTypeFromJSON(json: unknown): FacilityLicenseType {
|
|
33
52
|
return FacilityLicenseTypeFromJSONTyped(json, false);
|
|
34
53
|
}
|
|
35
54
|
|
|
36
|
-
export function FacilityLicenseTypeFromJSONTyped(json:
|
|
55
|
+
export function FacilityLicenseTypeFromJSONTyped(json: unknown, ignoreDiscriminator: boolean): FacilityLicenseType {
|
|
37
56
|
return json as FacilityLicenseType;
|
|
38
57
|
}
|
|
39
58
|
|
|
40
|
-
export function FacilityLicenseTypeToJSON(value?: FacilityLicenseType | null):
|
|
41
|
-
return value
|
|
59
|
+
export function FacilityLicenseTypeToJSON(value?: FacilityLicenseType | null): FacilityLicenseType | null | undefined {
|
|
60
|
+
return value;
|
|
42
61
|
}
|
|
43
62
|
|