@keiser/metrics-sdk-admin-typescript 5.0.12
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/.github/ISSUE_TEMPLATE/bug_report.md +41 -0
- package/.github/ISSUE_TEMPLATE/enhancement.md +46 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +46 -0
- package/.github/workflows/main.yml +63 -0
- package/README.md +202 -0
- package/dist/apis/MetricsAdminApi.d.ts +328 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/connection.d.ts +110 -0
- package/dist/error.d.ts +134 -0
- package/dist/event.d.ts +51 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +8429 -0
- package/dist/index.mjs +7939 -0
- package/dist/jwt.d.ts +1 -0
- package/dist/models/A500DataSetData.d.ts +93 -0
- package/dist/models/A500MachineStateData.d.ts +88 -0
- package/dist/models/A500RepDataPointData.d.ts +169 -0
- package/dist/models/A500TestResultData.d.ts +103 -0
- package/dist/models/A500TimeSeriesPointData.d.ts +145 -0
- package/dist/models/AcceptedTermsVersionData.d.ts +43 -0
- package/dist/models/BodyCompositionMeasurementData.d.ts +211 -0
- package/dist/models/CacheKeysResponse.d.ts +43 -0
- package/dist/models/CacheObject.d.ts +55 -0
- package/dist/models/CacheObjectResponse.d.ts +44 -0
- package/dist/models/CardioExerciseData.d.ts +65 -0
- package/dist/models/CardioExerciseVariantData.d.ts +77 -0
- package/dist/models/CardioMachineData.d.ts +83 -0
- package/dist/models/EmailAddressData.d.ts +49 -0
- package/dist/models/ExerciseAliasData.d.ts +73 -0
- package/dist/models/ExerciseOrdinalSetAssignmentData.d.ts +65 -0
- package/dist/models/ExerciseOrdinalSetData.d.ts +56 -0
- package/dist/models/FacilityConfigurationData.d.ts +101 -0
- package/dist/models/FacilityData.d.ts +65 -0
- package/dist/models/FacilityLicenseData.d.ts +83 -0
- package/dist/models/FacilityLicenseListResponse.d.ts +51 -0
- package/dist/models/FacilityLicenseListResponseMeta.d.ts +89 -0
- package/dist/models/FacilityLicenseResponse.d.ts +44 -0
- package/dist/models/FacilityLicenseSorting.d.ts +25 -0
- package/dist/models/FacilityProfileData.d.ts +73 -0
- package/dist/models/FacilityRelationshipData.d.ts +99 -0
- package/dist/models/FacilitySessionUserData.d.ts +112 -0
- package/dist/models/FacilityStrengthMachineConfigurationData.d.ts +94 -0
- package/dist/models/FacilityStrengthMachineData.d.ts +99 -0
- package/dist/models/FingerprintData.d.ts +69 -0
- package/dist/models/GlobalAccessControlCreationResponse.d.ts +51 -0
- package/dist/models/GlobalAccessControlData.d.ts +148 -0
- package/dist/models/GlobalAccessControlListResponse.d.ts +51 -0
- package/dist/models/GlobalAccessControlListResponseMeta.d.ts +62 -0
- package/dist/models/GlobalAccessControlResponse.d.ts +44 -0
- package/dist/models/GlobalAccessControlSecretData.d.ts +37 -0
- package/dist/models/GlobalAccessControlSecretResponse.d.ts +44 -0
- package/dist/models/GlobalAccessControlSorting.d.ts +23 -0
- package/dist/models/HeartRateDataPointData.d.ts +49 -0
- package/dist/models/HeartRateDataSetData.d.ts +81 -0
- package/dist/models/HeartRateDataSetSessionData.d.ts +56 -0
- package/dist/models/HeightMeasurementData.d.ts +55 -0
- package/dist/models/High.d.ts +31 -0
- package/dist/models/Low.d.ts +31 -0
- package/dist/models/MSeriesDataPointData.d.ts +103 -0
- package/dist/models/MSeriesDataSetData.d.ts +222 -0
- package/dist/models/MSeriesDataSetSegmentData.d.ts +129 -0
- package/dist/models/MSeriesFtpMeasurementData.d.ts +74 -0
- package/dist/models/MuscleArea.d.ts +24 -0
- package/dist/models/MuscleData.d.ts +67 -0
- package/dist/models/MuscleGroup.d.ts +35 -0
- package/dist/models/MuscleIdentifier.d.ts +86 -0
- package/dist/models/OAuthServiceData.d.ts +73 -0
- package/dist/models/PrimaryEmailAddressData.d.ts +37 -0
- package/dist/models/ProfileData.d.ts +67 -0
- package/dist/models/Queue.d.ts +23 -0
- package/dist/models/ResqueDetailsData.d.ts +45 -0
- package/dist/models/ResqueDetailsResponse.d.ts +44 -0
- package/dist/models/SessionData.d.ts +135 -0
- package/dist/models/SessionPlanActivitySetData.d.ts +31 -0
- package/dist/models/SessionPlanCardioSetData.d.ts +57 -0
- package/dist/models/SessionPlanData.d.ts +118 -0
- package/dist/models/SessionPlanSequenceAssignmentData.d.ts +44 -0
- package/dist/models/SessionPlanSequenceData.d.ts +63 -0
- package/dist/models/SessionPlanSequenceInstanceData.d.ts +82 -0
- package/dist/models/SessionPlanSetData.d.ts +81 -0
- package/dist/models/SessionPlanSetInstanceData.d.ts +87 -0
- package/dist/models/SessionPlanStrengthSetData.d.ts +67 -0
- package/dist/models/SessionPlanStretchSetData.d.ts +31 -0
- package/dist/models/StatData.d.ts +97 -0
- package/dist/models/StatListResponse.d.ts +51 -0
- package/dist/models/StatListResponseMeta.d.ts +68 -0
- package/dist/models/StatSorting.d.ts +23 -0
- package/dist/models/StrengthExerciseData.d.ts +125 -0
- package/dist/models/StrengthExerciseVariantData.d.ts +115 -0
- package/dist/models/StrengthMachineData.d.ts +88 -0
- package/dist/models/StrengthMachineDataSetData.d.ts +199 -0
- package/dist/models/StrengthMachineDataSetTestData.d.ts +54 -0
- package/dist/models/StrengthMachineDataSetTestSubsetData.d.ts +49 -0
- package/dist/models/StrengthMachineModelData.d.ts +31 -0
- package/dist/models/StretchExerciseData.d.ts +58 -0
- package/dist/models/StretchExerciseVariantData.d.ts +70 -0
- package/dist/models/TaskFailedResponse.d.ts +51 -0
- package/dist/models/TaskFailure.d.ts +69 -0
- package/dist/models/TaskPayload.d.ts +44 -0
- package/dist/models/TaskQueueResponse.d.ts +51 -0
- package/dist/models/TaskQueueResponseMeta.d.ts +68 -0
- package/dist/models/TaskQueues.d.ts +39 -0
- package/dist/models/TaskStats.d.ts +37 -0
- package/dist/models/UserData.d.ts +112 -0
- package/dist/models/UserListResponse.d.ts +51 -0
- package/dist/models/UserListResponseMeta.d.ts +68 -0
- package/dist/models/UserResponse.d.ts +44 -0
- package/dist/models/UserSorting.d.ts +24 -0
- package/dist/models/WeightMeasurementData.d.ts +68 -0
- package/dist/models/WorkersResponse.d.ts +43 -0
- package/dist/models/index.d.ts +96 -0
- package/dist/runtime.d.ts +134 -0
- package/docs/A500DataSetData.md +41 -0
- package/docs/A500MachineStateData.md +46 -0
- package/docs/A500RepDataPointData.md +56 -0
- package/docs/A500TestResultData.md +22 -0
- package/docs/A500TimeSeriesPointData.md +29 -0
- package/docs/AcceptedTermsVersionData.md +12 -0
- package/docs/BodyCompositionMeasurementData.md +40 -0
- package/docs/CacheKeysResponse.md +12 -0
- package/docs/CacheObject.md +14 -0
- package/docs/CacheObjectResponse.md +12 -0
- package/docs/CardioExerciseData.md +15 -0
- package/docs/CardioExerciseVariantData.md +25 -0
- package/docs/CardioMachineData.md +36 -0
- package/docs/EmailAddressData.md +13 -0
- package/docs/ExerciseAliasData.md +28 -0
- package/docs/ExerciseOrdinalSetAssignmentData.md +15 -0
- package/docs/ExerciseOrdinalSetData.md +14 -0
- package/docs/FacilityConfigurationData.md +41 -0
- package/docs/FacilityData.md +15 -0
- package/docs/FacilityLicenseData.md +30 -0
- package/docs/FacilityLicenseListResponse.md +13 -0
- package/docs/FacilityLicenseListResponseMeta.md +31 -0
- package/docs/FacilityLicenseResponse.md +12 -0
- package/docs/FacilityLicenseSorting.md +15 -0
- package/docs/FacilityProfileData.md +17 -0
- package/docs/FacilityRelationshipData.md +36 -0
- package/docs/FacilitySessionUserData.md +22 -0
- package/docs/FacilityStrengthMachineConfigurationData.md +47 -0
- package/docs/FacilityStrengthMachineData.md +21 -0
- package/docs/FingerprintData.md +24 -0
- package/docs/GlobalAccessControlCreationResponse.md +13 -0
- package/docs/GlobalAccessControlData.md +103 -0
- package/docs/GlobalAccessControlListResponse.md +13 -0
- package/docs/GlobalAccessControlListResponseMeta.md +15 -0
- package/docs/GlobalAccessControlResponse.md +12 -0
- package/docs/GlobalAccessControlSecretData.md +11 -0
- package/docs/GlobalAccessControlSecretResponse.md +12 -0
- package/docs/GlobalAccessControlSorting.md +11 -0
- package/docs/HeartRateDataPointData.md +13 -0
- package/docs/HeartRateDataSetData.md +18 -0
- package/docs/HeartRateDataSetSessionData.md +14 -0
- package/docs/HeightMeasurementData.md +14 -0
- package/docs/High.md +10 -0
- package/docs/Low.md +10 -0
- package/docs/MSeriesDataPointData.md +22 -0
- package/docs/MSeriesDataSetData.md +41 -0
- package/docs/MSeriesDataSetSegmentData.md +26 -0
- package/docs/MSeriesFtpMeasurementData.md +17 -0
- package/docs/MetricsAdminApi.md +1576 -0
- package/docs/MuscleArea.md +13 -0
- package/docs/MuscleData.md +27 -0
- package/docs/MuscleGroup.md +35 -0
- package/docs/MuscleIdentifier.md +137 -0
- package/docs/OAuthServiceData.md +17 -0
- package/docs/PrimaryEmailAddressData.md +11 -0
- package/docs/ProfileData.md +16 -0
- package/docs/Queue.md +11 -0
- package/docs/ResqueDetailsData.md +12 -0
- package/docs/ResqueDetailsResponse.md +12 -0
- package/docs/SessionData.md +26 -0
- package/docs/SessionPlanActivitySetData.md +10 -0
- package/docs/SessionPlanCardioSetData.md +14 -0
- package/docs/SessionPlanData.md +24 -0
- package/docs/SessionPlanSequenceAssignmentData.md +12 -0
- package/docs/SessionPlanSequenceData.md +15 -0
- package/docs/SessionPlanSequenceInstanceData.md +18 -0
- package/docs/SessionPlanSetData.md +31 -0
- package/docs/SessionPlanSetInstanceData.md +32 -0
- package/docs/SessionPlanStrengthSetData.md +29 -0
- package/docs/SessionPlanStretchSetData.md +10 -0
- package/docs/StatData.md +21 -0
- package/docs/StatListResponse.md +13 -0
- package/docs/StatListResponseMeta.md +16 -0
- package/docs/StatSorting.md +11 -0
- package/docs/StrengthExerciseData.md +71 -0
- package/docs/StrengthExerciseVariantData.md +69 -0
- package/docs/StrengthMachineData.md +38 -0
- package/docs/StrengthMachineDataSetData.md +60 -0
- package/docs/StrengthMachineDataSetTestData.md +27 -0
- package/docs/StrengthMachineDataSetTestSubsetData.md +13 -0
- package/docs/StrengthMachineModelData.md +10 -0
- package/docs/StretchExerciseData.md +14 -0
- package/docs/StretchExerciseVariantData.md +24 -0
- package/docs/TaskFailedResponse.md +13 -0
- package/docs/TaskFailure.md +16 -0
- package/docs/TaskPayload.md +12 -0
- package/docs/TaskQueueResponse.md +13 -0
- package/docs/TaskQueueResponseMeta.md +24 -0
- package/docs/TaskQueues.md +11 -0
- package/docs/TaskStats.md +11 -0
- package/docs/UserData.md +22 -0
- package/docs/UserListResponse.md +13 -0
- package/docs/UserListResponseMeta.md +16 -0
- package/docs/UserResponse.md +12 -0
- package/docs/UserSorting.md +13 -0
- package/docs/WeightMeasurementData.md +16 -0
- package/docs/WorkersResponse.md +12 -0
- package/package.json +37 -0
- package/rollup.config.mjs +32 -0
- package/src/apis/MetricsAdminApi.ts +1735 -0
- package/src/apis/index.ts +3 -0
- package/src/connection.ts +256 -0
- package/src/error.ts +248 -0
- package/src/event.ts +267 -0
- package/src/index.ts +9 -0
- package/src/jwt.ts +17 -0
- package/src/models/A500DataSetData.ts +164 -0
- package/src/models/A500MachineStateData.ts +150 -0
- package/src/models/A500RepDataPointData.ts +264 -0
- package/src/models/A500TestResultData.ts +174 -0
- package/src/models/A500TimeSeriesPointData.ts +233 -0
- package/src/models/AcceptedTermsVersionData.ts +83 -0
- package/src/models/BodyCompositionMeasurementData.ts +336 -0
- package/src/models/CacheKeysResponse.ts +82 -0
- package/src/models/CacheObject.ts +102 -0
- package/src/models/CacheObjectResponse.ts +89 -0
- package/src/models/CardioExerciseData.ts +131 -0
- package/src/models/CardioExerciseVariantData.ts +144 -0
- package/src/models/CardioMachineData.ts +143 -0
- package/src/models/EmailAddressData.ts +93 -0
- package/src/models/ExerciseAliasData.ts +138 -0
- package/src/models/ExerciseOrdinalSetAssignmentData.ts +132 -0
- package/src/models/ExerciseOrdinalSetData.ts +107 -0
- package/src/models/FacilityConfigurationData.ts +167 -0
- package/src/models/FacilityData.ts +132 -0
- package/src/models/FacilityLicenseData.ts +144 -0
- package/src/models/FacilityLicenseListResponse.ts +104 -0
- package/src/models/FacilityLicenseListResponseMeta.ts +152 -0
- package/src/models/FacilityLicenseResponse.ts +89 -0
- package/src/models/FacilityLicenseSorting.ts +40 -0
- package/src/models/FacilityProfileData.ts +121 -0
- package/src/models/FacilityRelationshipData.ts +175 -0
- package/src/models/FacilitySessionUserData.ts +216 -0
- package/src/models/FacilityStrengthMachineConfigurationData.ts +159 -0
- package/src/models/FacilityStrengthMachineData.ts +170 -0
- package/src/models/FingerprintData.ts +127 -0
- package/src/models/GlobalAccessControlCreationResponse.ts +104 -0
- package/src/models/GlobalAccessControlData.ts +217 -0
- package/src/models/GlobalAccessControlListResponse.ts +104 -0
- package/src/models/GlobalAccessControlListResponseMeta.ts +113 -0
- package/src/models/GlobalAccessControlResponse.ts +89 -0
- package/src/models/GlobalAccessControlSecretData.ts +75 -0
- package/src/models/GlobalAccessControlSecretResponse.ts +89 -0
- package/src/models/GlobalAccessControlSorting.ts +38 -0
- package/src/models/HeartRateDataPointData.ts +91 -0
- package/src/models/HeartRateDataSetData.ts +148 -0
- package/src/models/HeartRateDataSetSessionData.ts +108 -0
- package/src/models/HeightMeasurementData.ts +102 -0
- package/src/models/High.ts +66 -0
- package/src/models/Low.ts +66 -0
- package/src/models/MSeriesDataPointData.ts +167 -0
- package/src/models/MSeriesDataSetData.ts +363 -0
- package/src/models/MSeriesDataSetSegmentData.ts +219 -0
- package/src/models/MSeriesFtpMeasurementData.ts +133 -0
- package/src/models/MuscleArea.ts +39 -0
- package/src/models/MuscleData.ts +131 -0
- package/src/models/MuscleGroup.ts +50 -0
- package/src/models/MuscleIdentifier.ts +101 -0
- package/src/models/OAuthServiceData.ts +126 -0
- package/src/models/PrimaryEmailAddressData.ts +75 -0
- package/src/models/ProfileData.ts +115 -0
- package/src/models/Queue.ts +38 -0
- package/src/models/ResqueDetailsData.ts +97 -0
- package/src/models/ResqueDetailsResponse.ts +89 -0
- package/src/models/SessionData.ts +249 -0
- package/src/models/SessionPlanActivitySetData.ts +66 -0
- package/src/models/SessionPlanCardioSetData.ts +113 -0
- package/src/models/SessionPlanData.ts +205 -0
- package/src/models/SessionPlanSequenceAssignmentData.ts +90 -0
- package/src/models/SessionPlanSequenceData.ts +122 -0
- package/src/models/SessionPlanSequenceInstanceData.ts +154 -0
- package/src/models/SessionPlanSetData.ts +153 -0
- package/src/models/SessionPlanSetInstanceData.ts +162 -0
- package/src/models/SessionPlanStrengthSetData.ts +126 -0
- package/src/models/SessionPlanStretchSetData.ts +66 -0
- package/src/models/StatData.ts +165 -0
- package/src/models/StatListResponse.ts +104 -0
- package/src/models/StatListResponseMeta.ts +121 -0
- package/src/models/StatSorting.ts +38 -0
- package/src/models/StrengthExerciseData.ts +208 -0
- package/src/models/StrengthExerciseVariantData.ts +189 -0
- package/src/models/StrengthMachineData.ts +154 -0
- package/src/models/StrengthMachineDataSetData.ts +331 -0
- package/src/models/StrengthMachineDataSetTestData.ts +104 -0
- package/src/models/StrengthMachineDataSetTestSubsetData.ts +93 -0
- package/src/models/StrengthMachineModelData.ts +66 -0
- package/src/models/StretchExerciseData.ts +117 -0
- package/src/models/StretchExerciseVariantData.ts +130 -0
- package/src/models/TaskFailedResponse.ts +104 -0
- package/src/models/TaskFailure.ts +133 -0
- package/src/models/TaskPayload.ts +91 -0
- package/src/models/TaskQueueResponse.ts +104 -0
- package/src/models/TaskQueueResponseMeta.ts +117 -0
- package/src/models/TaskQueues.ts +88 -0
- package/src/models/TaskStats.ts +73 -0
- package/src/models/UserData.ts +217 -0
- package/src/models/UserListResponse.ts +104 -0
- package/src/models/UserListResponseMeta.ts +121 -0
- package/src/models/UserResponse.ts +89 -0
- package/src/models/UserSorting.ts +39 -0
- package/src/models/WeightMeasurementData.ts +125 -0
- package/src/models/WorkersResponse.ts +82 -0
- package/src/models/index.ts +98 -0
- package/src/runtime.ts +473 -0
- package/tsconfig.json +18 -0
|
@@ -0,0 +1,216 @@
|
|
|
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.0.12
|
|
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 { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { AcceptedTermsVersionData } from './AcceptedTermsVersionData';
|
|
17
|
+
import {
|
|
18
|
+
AcceptedTermsVersionDataFromJSON,
|
|
19
|
+
AcceptedTermsVersionDataFromJSONTyped,
|
|
20
|
+
AcceptedTermsVersionDataToJSON,
|
|
21
|
+
} from './AcceptedTermsVersionData';
|
|
22
|
+
import type { EmailAddressData } from './EmailAddressData';
|
|
23
|
+
import {
|
|
24
|
+
EmailAddressDataFromJSON,
|
|
25
|
+
EmailAddressDataFromJSONTyped,
|
|
26
|
+
EmailAddressDataToJSON,
|
|
27
|
+
} from './EmailAddressData';
|
|
28
|
+
import type { FacilityRelationshipData } from './FacilityRelationshipData';
|
|
29
|
+
import {
|
|
30
|
+
FacilityRelationshipDataFromJSON,
|
|
31
|
+
FacilityRelationshipDataFromJSONTyped,
|
|
32
|
+
FacilityRelationshipDataToJSON,
|
|
33
|
+
} from './FacilityRelationshipData';
|
|
34
|
+
import type { HeightMeasurementData } from './HeightMeasurementData';
|
|
35
|
+
import {
|
|
36
|
+
HeightMeasurementDataFromJSON,
|
|
37
|
+
HeightMeasurementDataFromJSONTyped,
|
|
38
|
+
HeightMeasurementDataToJSON,
|
|
39
|
+
} from './HeightMeasurementData';
|
|
40
|
+
import type { OAuthServiceData } from './OAuthServiceData';
|
|
41
|
+
import {
|
|
42
|
+
OAuthServiceDataFromJSON,
|
|
43
|
+
OAuthServiceDataFromJSONTyped,
|
|
44
|
+
OAuthServiceDataToJSON,
|
|
45
|
+
} from './OAuthServiceData';
|
|
46
|
+
import type { PrimaryEmailAddressData } from './PrimaryEmailAddressData';
|
|
47
|
+
import {
|
|
48
|
+
PrimaryEmailAddressDataFromJSON,
|
|
49
|
+
PrimaryEmailAddressDataFromJSONTyped,
|
|
50
|
+
PrimaryEmailAddressDataToJSON,
|
|
51
|
+
} from './PrimaryEmailAddressData';
|
|
52
|
+
import type { ProfileData } from './ProfileData';
|
|
53
|
+
import {
|
|
54
|
+
ProfileDataFromJSON,
|
|
55
|
+
ProfileDataFromJSONTyped,
|
|
56
|
+
ProfileDataToJSON,
|
|
57
|
+
} from './ProfileData';
|
|
58
|
+
import type { SessionData } from './SessionData';
|
|
59
|
+
import {
|
|
60
|
+
SessionDataFromJSON,
|
|
61
|
+
SessionDataFromJSONTyped,
|
|
62
|
+
SessionDataToJSON,
|
|
63
|
+
} from './SessionData';
|
|
64
|
+
import type { WeightMeasurementData } from './WeightMeasurementData';
|
|
65
|
+
import {
|
|
66
|
+
WeightMeasurementDataFromJSON,
|
|
67
|
+
WeightMeasurementDataFromJSONTyped,
|
|
68
|
+
WeightMeasurementDataToJSON,
|
|
69
|
+
} from './WeightMeasurementData';
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @export
|
|
74
|
+
* @interface FacilitySessionUserData
|
|
75
|
+
*/
|
|
76
|
+
export interface FacilitySessionUserData {
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {Array<SessionData>}
|
|
80
|
+
* @memberof FacilitySessionUserData
|
|
81
|
+
*/
|
|
82
|
+
sessions?: Array<SessionData>;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof FacilitySessionUserData
|
|
87
|
+
*/
|
|
88
|
+
id?: number;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {Array<EmailAddressData>}
|
|
92
|
+
* @memberof FacilitySessionUserData
|
|
93
|
+
*/
|
|
94
|
+
emailAddresses?: Array<EmailAddressData>;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {PrimaryEmailAddressData}
|
|
98
|
+
* @memberof FacilitySessionUserData
|
|
99
|
+
*/
|
|
100
|
+
primaryEmailAddress?: PrimaryEmailAddressData;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {boolean}
|
|
104
|
+
* @memberof FacilitySessionUserData
|
|
105
|
+
*/
|
|
106
|
+
basicCredential?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {Array<OAuthServiceData>}
|
|
110
|
+
* @memberof FacilitySessionUserData
|
|
111
|
+
*/
|
|
112
|
+
oauthServices?: Array<OAuthServiceData>;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {ProfileData}
|
|
116
|
+
* @memberof FacilitySessionUserData
|
|
117
|
+
*/
|
|
118
|
+
profile?: ProfileData;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {AcceptedTermsVersionData}
|
|
122
|
+
* @memberof FacilitySessionUserData
|
|
123
|
+
*/
|
|
124
|
+
acceptedTermsVersion?: AcceptedTermsVersionData;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {Array<WeightMeasurementData>}
|
|
128
|
+
* @memberof FacilitySessionUserData
|
|
129
|
+
*/
|
|
130
|
+
weightMeasurements?: Array<WeightMeasurementData>;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {WeightMeasurementData}
|
|
134
|
+
* @memberof FacilitySessionUserData
|
|
135
|
+
*/
|
|
136
|
+
weightMeasurement?: WeightMeasurementData;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @type {Array<HeightMeasurementData>}
|
|
140
|
+
* @memberof FacilitySessionUserData
|
|
141
|
+
*/
|
|
142
|
+
heightMeasurements?: Array<HeightMeasurementData>;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @type {HeightMeasurementData}
|
|
146
|
+
* @memberof FacilitySessionUserData
|
|
147
|
+
*/
|
|
148
|
+
heightMeasurement?: HeightMeasurementData;
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @type {Array<FacilityRelationshipData>}
|
|
152
|
+
* @memberof FacilitySessionUserData
|
|
153
|
+
*/
|
|
154
|
+
facilityRelationships?: Array<FacilityRelationshipData>;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Check if a given object implements the FacilitySessionUserData interface.
|
|
159
|
+
*/
|
|
160
|
+
export function instanceOfFacilitySessionUserData(value: object): boolean {
|
|
161
|
+
let isInstance = true;
|
|
162
|
+
|
|
163
|
+
return isInstance;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export function FacilitySessionUserDataFromJSON(json: any): FacilitySessionUserData {
|
|
167
|
+
return FacilitySessionUserDataFromJSONTyped(json, false);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export function FacilitySessionUserDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilitySessionUserData {
|
|
171
|
+
if ((json === undefined) || (json === null)) {
|
|
172
|
+
return json;
|
|
173
|
+
}
|
|
174
|
+
return {
|
|
175
|
+
|
|
176
|
+
'sessions': !exists(json, 'sessions') ? undefined : ((json['sessions'] as Array<any>).map(SessionDataFromJSON)),
|
|
177
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
178
|
+
'emailAddresses': !exists(json, 'emailAddresses') ? undefined : ((json['emailAddresses'] as Array<any>).map(EmailAddressDataFromJSON)),
|
|
179
|
+
'primaryEmailAddress': !exists(json, 'primaryEmailAddress') ? undefined : PrimaryEmailAddressDataFromJSON(json['primaryEmailAddress']),
|
|
180
|
+
'basicCredential': !exists(json, 'basicCredential') ? undefined : json['basicCredential'],
|
|
181
|
+
'oauthServices': !exists(json, 'oauthServices') ? undefined : ((json['oauthServices'] as Array<any>).map(OAuthServiceDataFromJSON)),
|
|
182
|
+
'profile': !exists(json, 'profile') ? undefined : ProfileDataFromJSON(json['profile']),
|
|
183
|
+
'acceptedTermsVersion': !exists(json, 'acceptedTermsVersion') ? undefined : AcceptedTermsVersionDataFromJSON(json['acceptedTermsVersion']),
|
|
184
|
+
'weightMeasurements': !exists(json, 'weightMeasurements') ? undefined : ((json['weightMeasurements'] as Array<any>).map(WeightMeasurementDataFromJSON)),
|
|
185
|
+
'weightMeasurement': !exists(json, 'weightMeasurement') ? undefined : WeightMeasurementDataFromJSON(json['weightMeasurement']),
|
|
186
|
+
'heightMeasurements': !exists(json, 'heightMeasurements') ? undefined : ((json['heightMeasurements'] as Array<any>).map(HeightMeasurementDataFromJSON)),
|
|
187
|
+
'heightMeasurement': !exists(json, 'heightMeasurement') ? undefined : HeightMeasurementDataFromJSON(json['heightMeasurement']),
|
|
188
|
+
'facilityRelationships': !exists(json, 'facilityRelationships') ? undefined : ((json['facilityRelationships'] as Array<any>).map(FacilityRelationshipDataFromJSON)),
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export function FacilitySessionUserDataToJSON(value?: FacilitySessionUserData | null): any {
|
|
193
|
+
if (value === undefined) {
|
|
194
|
+
return undefined;
|
|
195
|
+
}
|
|
196
|
+
if (value === null) {
|
|
197
|
+
return null;
|
|
198
|
+
}
|
|
199
|
+
return {
|
|
200
|
+
|
|
201
|
+
'sessions': value.sessions === undefined ? undefined : ((value.sessions as Array<any>).map(SessionDataToJSON)),
|
|
202
|
+
'id': value.id,
|
|
203
|
+
'emailAddresses': value.emailAddresses === undefined ? undefined : ((value.emailAddresses as Array<any>).map(EmailAddressDataToJSON)),
|
|
204
|
+
'primaryEmailAddress': PrimaryEmailAddressDataToJSON(value.primaryEmailAddress),
|
|
205
|
+
'basicCredential': value.basicCredential,
|
|
206
|
+
'oauthServices': value.oauthServices === undefined ? undefined : ((value.oauthServices as Array<any>).map(OAuthServiceDataToJSON)),
|
|
207
|
+
'profile': ProfileDataToJSON(value.profile),
|
|
208
|
+
'acceptedTermsVersion': AcceptedTermsVersionDataToJSON(value.acceptedTermsVersion),
|
|
209
|
+
'weightMeasurements': value.weightMeasurements === undefined ? undefined : ((value.weightMeasurements as Array<any>).map(WeightMeasurementDataToJSON)),
|
|
210
|
+
'weightMeasurement': WeightMeasurementDataToJSON(value.weightMeasurement),
|
|
211
|
+
'heightMeasurements': value.heightMeasurements === undefined ? undefined : ((value.heightMeasurements as Array<any>).map(HeightMeasurementDataToJSON)),
|
|
212
|
+
'heightMeasurement': HeightMeasurementDataToJSON(value.heightMeasurement),
|
|
213
|
+
'facilityRelationships': value.facilityRelationships === undefined ? undefined : ((value.facilityRelationships as Array<any>).map(FacilityRelationshipDataToJSON)),
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
|
|
@@ -0,0 +1,159 @@
|
|
|
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.0.12
|
|
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 { exists, 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 FacilityStrengthMachineConfigurationData
|
|
27
|
+
*/
|
|
28
|
+
export interface FacilityStrengthMachineConfigurationData {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof FacilityStrengthMachineConfigurationData
|
|
33
|
+
*/
|
|
34
|
+
facilityId: number;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof FacilityStrengthMachineConfigurationData
|
|
39
|
+
*/
|
|
40
|
+
appType: FacilityStrengthMachineConfigurationDataAppTypeEnum;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof FacilityStrengthMachineConfigurationData
|
|
45
|
+
*/
|
|
46
|
+
timeZone: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof FacilityStrengthMachineConfigurationData
|
|
51
|
+
*/
|
|
52
|
+
forceUnit: FacilityStrengthMachineConfigurationDataForceUnitEnum;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof FacilityStrengthMachineConfigurationData
|
|
57
|
+
*/
|
|
58
|
+
primaryFocus: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof FacilityStrengthMachineConfigurationData
|
|
63
|
+
*/
|
|
64
|
+
secondaryFocus: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof FacilityStrengthMachineConfigurationData
|
|
69
|
+
*/
|
|
70
|
+
locale: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {FacilityData}
|
|
74
|
+
* @memberof FacilityStrengthMachineConfigurationData
|
|
75
|
+
*/
|
|
76
|
+
facility?: FacilityData;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @export
|
|
82
|
+
*/
|
|
83
|
+
export const FacilityStrengthMachineConfigurationDataAppTypeEnum = {
|
|
84
|
+
Performance: 'performance',
|
|
85
|
+
Elder: 'elder',
|
|
86
|
+
Medical: 'medical',
|
|
87
|
+
Commercial: 'commercial'
|
|
88
|
+
} as const;
|
|
89
|
+
export type FacilityStrengthMachineConfigurationDataAppTypeEnum = typeof FacilityStrengthMachineConfigurationDataAppTypeEnum[keyof typeof FacilityStrengthMachineConfigurationDataAppTypeEnum];
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @export
|
|
93
|
+
*/
|
|
94
|
+
export const FacilityStrengthMachineConfigurationDataForceUnitEnum = {
|
|
95
|
+
Lb: 'lb',
|
|
96
|
+
Kg: 'kg',
|
|
97
|
+
Ne: 'ne',
|
|
98
|
+
Er: 'er'
|
|
99
|
+
} as const;
|
|
100
|
+
export type FacilityStrengthMachineConfigurationDataForceUnitEnum = typeof FacilityStrengthMachineConfigurationDataForceUnitEnum[keyof typeof FacilityStrengthMachineConfigurationDataForceUnitEnum];
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Check if a given object implements the FacilityStrengthMachineConfigurationData interface.
|
|
105
|
+
*/
|
|
106
|
+
export function instanceOfFacilityStrengthMachineConfigurationData(value: object): boolean {
|
|
107
|
+
let isInstance = true;
|
|
108
|
+
isInstance = isInstance && "facilityId" in value;
|
|
109
|
+
isInstance = isInstance && "appType" in value;
|
|
110
|
+
isInstance = isInstance && "timeZone" in value;
|
|
111
|
+
isInstance = isInstance && "forceUnit" in value;
|
|
112
|
+
isInstance = isInstance && "primaryFocus" in value;
|
|
113
|
+
isInstance = isInstance && "secondaryFocus" in value;
|
|
114
|
+
isInstance = isInstance && "locale" in value;
|
|
115
|
+
|
|
116
|
+
return isInstance;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export function FacilityStrengthMachineConfigurationDataFromJSON(json: any): FacilityStrengthMachineConfigurationData {
|
|
120
|
+
return FacilityStrengthMachineConfigurationDataFromJSONTyped(json, false);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export function FacilityStrengthMachineConfigurationDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilityStrengthMachineConfigurationData {
|
|
124
|
+
if ((json === undefined) || (json === null)) {
|
|
125
|
+
return json;
|
|
126
|
+
}
|
|
127
|
+
return {
|
|
128
|
+
|
|
129
|
+
'facilityId': json['facilityId'],
|
|
130
|
+
'appType': json['appType'],
|
|
131
|
+
'timeZone': json['timeZone'],
|
|
132
|
+
'forceUnit': json['forceUnit'],
|
|
133
|
+
'primaryFocus': json['primaryFocus'],
|
|
134
|
+
'secondaryFocus': json['secondaryFocus'],
|
|
135
|
+
'locale': json['locale'],
|
|
136
|
+
'facility': !exists(json, 'facility') ? undefined : FacilityDataFromJSON(json['facility']),
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export function FacilityStrengthMachineConfigurationDataToJSON(value?: FacilityStrengthMachineConfigurationData | null): any {
|
|
141
|
+
if (value === undefined) {
|
|
142
|
+
return undefined;
|
|
143
|
+
}
|
|
144
|
+
if (value === null) {
|
|
145
|
+
return null;
|
|
146
|
+
}
|
|
147
|
+
return {
|
|
148
|
+
|
|
149
|
+
'facilityId': value.facilityId,
|
|
150
|
+
'appType': value.appType,
|
|
151
|
+
'timeZone': value.timeZone,
|
|
152
|
+
'forceUnit': value.forceUnit,
|
|
153
|
+
'primaryFocus': value.primaryFocus,
|
|
154
|
+
'secondaryFocus': value.secondaryFocus,
|
|
155
|
+
'locale': value.locale,
|
|
156
|
+
'facility': FacilityDataToJSON(value.facility),
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
|
|
@@ -0,0 +1,170 @@
|
|
|
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.0.12
|
|
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 { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { A500MachineStateData } from './A500MachineStateData';
|
|
17
|
+
import {
|
|
18
|
+
A500MachineStateDataFromJSON,
|
|
19
|
+
A500MachineStateDataFromJSONTyped,
|
|
20
|
+
A500MachineStateDataToJSON,
|
|
21
|
+
} from './A500MachineStateData';
|
|
22
|
+
import type { StrengthMachineData } from './StrengthMachineData';
|
|
23
|
+
import {
|
|
24
|
+
StrengthMachineDataFromJSON,
|
|
25
|
+
StrengthMachineDataFromJSONTyped,
|
|
26
|
+
StrengthMachineDataToJSON,
|
|
27
|
+
} from './StrengthMachineData';
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @export
|
|
32
|
+
* @interface FacilityStrengthMachineData
|
|
33
|
+
*/
|
|
34
|
+
export interface FacilityStrengthMachineData {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof FacilityStrengthMachineData
|
|
39
|
+
*/
|
|
40
|
+
id: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof FacilityStrengthMachineData
|
|
45
|
+
*/
|
|
46
|
+
updatedAt: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof FacilityStrengthMachineData
|
|
51
|
+
*/
|
|
52
|
+
model: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof FacilityStrengthMachineData
|
|
57
|
+
*/
|
|
58
|
+
version: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof FacilityStrengthMachineData
|
|
63
|
+
*/
|
|
64
|
+
softwareVersion?: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof FacilityStrengthMachineData
|
|
69
|
+
*/
|
|
70
|
+
mainBoardSerial?: string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof FacilityStrengthMachineData
|
|
75
|
+
*/
|
|
76
|
+
location?: string;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof FacilityStrengthMachineData
|
|
81
|
+
*/
|
|
82
|
+
displayUUID?: string;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof FacilityStrengthMachineData
|
|
87
|
+
*/
|
|
88
|
+
leftCylinderSerial?: string;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof FacilityStrengthMachineData
|
|
93
|
+
*/
|
|
94
|
+
rightCylinderSerial?: string;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {StrengthMachineData}
|
|
98
|
+
* @memberof FacilityStrengthMachineData
|
|
99
|
+
*/
|
|
100
|
+
strengthMachine?: StrengthMachineData;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {A500MachineStateData}
|
|
104
|
+
* @memberof FacilityStrengthMachineData
|
|
105
|
+
*/
|
|
106
|
+
a500MachineState?: A500MachineStateData;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Check if a given object implements the FacilityStrengthMachineData interface.
|
|
111
|
+
*/
|
|
112
|
+
export function instanceOfFacilityStrengthMachineData(value: object): boolean {
|
|
113
|
+
let isInstance = true;
|
|
114
|
+
isInstance = isInstance && "id" in value;
|
|
115
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
116
|
+
isInstance = isInstance && "model" in value;
|
|
117
|
+
isInstance = isInstance && "version" in value;
|
|
118
|
+
|
|
119
|
+
return isInstance;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export function FacilityStrengthMachineDataFromJSON(json: any): FacilityStrengthMachineData {
|
|
123
|
+
return FacilityStrengthMachineDataFromJSONTyped(json, false);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export function FacilityStrengthMachineDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilityStrengthMachineData {
|
|
127
|
+
if ((json === undefined) || (json === null)) {
|
|
128
|
+
return json;
|
|
129
|
+
}
|
|
130
|
+
return {
|
|
131
|
+
|
|
132
|
+
'id': json['id'],
|
|
133
|
+
'updatedAt': json['updatedAt'],
|
|
134
|
+
'model': json['model'],
|
|
135
|
+
'version': json['version'],
|
|
136
|
+
'softwareVersion': !exists(json, 'softwareVersion') ? undefined : json['softwareVersion'],
|
|
137
|
+
'mainBoardSerial': !exists(json, 'mainBoardSerial') ? undefined : json['mainBoardSerial'],
|
|
138
|
+
'location': !exists(json, 'location') ? undefined : json['location'],
|
|
139
|
+
'displayUUID': !exists(json, 'displayUUID') ? undefined : json['displayUUID'],
|
|
140
|
+
'leftCylinderSerial': !exists(json, 'leftCylinderSerial') ? undefined : json['leftCylinderSerial'],
|
|
141
|
+
'rightCylinderSerial': !exists(json, 'rightCylinderSerial') ? undefined : json['rightCylinderSerial'],
|
|
142
|
+
'strengthMachine': !exists(json, 'strengthMachine') ? undefined : StrengthMachineDataFromJSON(json['strengthMachine']),
|
|
143
|
+
'a500MachineState': !exists(json, 'a500MachineState') ? undefined : A500MachineStateDataFromJSON(json['a500MachineState']),
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export function FacilityStrengthMachineDataToJSON(value?: FacilityStrengthMachineData | null): any {
|
|
148
|
+
if (value === undefined) {
|
|
149
|
+
return undefined;
|
|
150
|
+
}
|
|
151
|
+
if (value === null) {
|
|
152
|
+
return null;
|
|
153
|
+
}
|
|
154
|
+
return {
|
|
155
|
+
|
|
156
|
+
'id': value.id,
|
|
157
|
+
'updatedAt': value.updatedAt,
|
|
158
|
+
'model': value.model,
|
|
159
|
+
'version': value.version,
|
|
160
|
+
'softwareVersion': value.softwareVersion,
|
|
161
|
+
'mainBoardSerial': value.mainBoardSerial,
|
|
162
|
+
'location': value.location,
|
|
163
|
+
'displayUUID': value.displayUUID,
|
|
164
|
+
'leftCylinderSerial': value.leftCylinderSerial,
|
|
165
|
+
'rightCylinderSerial': value.rightCylinderSerial,
|
|
166
|
+
'strengthMachine': StrengthMachineDataToJSON(value.strengthMachine),
|
|
167
|
+
'a500MachineState': A500MachineStateDataToJSON(value.a500MachineState),
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
|
|
@@ -0,0 +1,127 @@
|
|
|
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.0.12
|
|
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 { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { FacilityRelationshipData } from './FacilityRelationshipData';
|
|
17
|
+
import {
|
|
18
|
+
FacilityRelationshipDataFromJSON,
|
|
19
|
+
FacilityRelationshipDataFromJSONTyped,
|
|
20
|
+
FacilityRelationshipDataToJSON,
|
|
21
|
+
} from './FacilityRelationshipData';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface FingerprintData
|
|
27
|
+
*/
|
|
28
|
+
export interface FingerprintData {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof FingerprintData
|
|
33
|
+
*/
|
|
34
|
+
facilityRelationshipId: number;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Date}
|
|
38
|
+
* @memberof FingerprintData
|
|
39
|
+
*/
|
|
40
|
+
updatedAt: Date;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof FingerprintData
|
|
45
|
+
*/
|
|
46
|
+
fingerprintReaderModel: FingerprintDataFingerprintReaderModelEnum;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof FingerprintData
|
|
51
|
+
*/
|
|
52
|
+
template: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof FingerprintData
|
|
57
|
+
*/
|
|
58
|
+
hash: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {FacilityRelationshipData}
|
|
62
|
+
* @memberof FingerprintData
|
|
63
|
+
*/
|
|
64
|
+
facilityRelationship?: FacilityRelationshipData;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @export
|
|
70
|
+
*/
|
|
71
|
+
export const FingerprintDataFingerprintReaderModelEnum = {
|
|
72
|
+
Gt521f5: 'gt521f5'
|
|
73
|
+
} as const;
|
|
74
|
+
export type FingerprintDataFingerprintReaderModelEnum = typeof FingerprintDataFingerprintReaderModelEnum[keyof typeof FingerprintDataFingerprintReaderModelEnum];
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Check if a given object implements the FingerprintData interface.
|
|
79
|
+
*/
|
|
80
|
+
export function instanceOfFingerprintData(value: object): boolean {
|
|
81
|
+
let isInstance = true;
|
|
82
|
+
isInstance = isInstance && "facilityRelationshipId" in value;
|
|
83
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
84
|
+
isInstance = isInstance && "fingerprintReaderModel" in value;
|
|
85
|
+
isInstance = isInstance && "template" in value;
|
|
86
|
+
isInstance = isInstance && "hash" in value;
|
|
87
|
+
|
|
88
|
+
return isInstance;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function FingerprintDataFromJSON(json: any): FingerprintData {
|
|
92
|
+
return FingerprintDataFromJSONTyped(json, false);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export function FingerprintDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FingerprintData {
|
|
96
|
+
if ((json === undefined) || (json === null)) {
|
|
97
|
+
return json;
|
|
98
|
+
}
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'facilityRelationshipId': json['facilityRelationshipId'],
|
|
102
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
103
|
+
'fingerprintReaderModel': json['fingerprintReaderModel'],
|
|
104
|
+
'template': json['template'],
|
|
105
|
+
'hash': json['hash'],
|
|
106
|
+
'facilityRelationship': !exists(json, 'facilityRelationship') ? undefined : FacilityRelationshipDataFromJSON(json['facilityRelationship']),
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export function FingerprintDataToJSON(value?: FingerprintData | null): any {
|
|
111
|
+
if (value === undefined) {
|
|
112
|
+
return undefined;
|
|
113
|
+
}
|
|
114
|
+
if (value === null) {
|
|
115
|
+
return null;
|
|
116
|
+
}
|
|
117
|
+
return {
|
|
118
|
+
|
|
119
|
+
'facilityRelationshipId': value.facilityRelationshipId,
|
|
120
|
+
'updatedAt': (value.updatedAt.toISOString()),
|
|
121
|
+
'fingerprintReaderModel': value.fingerprintReaderModel,
|
|
122
|
+
'template': value.template,
|
|
123
|
+
'hash': value.hash,
|
|
124
|
+
'facilityRelationship': FacilityRelationshipDataToJSON(value.facilityRelationship),
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
|