@keiser/metrics-sdk-admin-typescript 5.0.35 → 5.1.1
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 +35 -4
- package/dist/apis/MetricsAdminApi.d.ts +1 -1
- package/dist/connection.d.ts +6 -7
- package/dist/index.js +4883 -4199
- package/dist/index.mjs +4750 -4151
- package/dist/models/A500AppType.d.ts +25 -0
- package/dist/models/A500DataSetData.d.ts +7 -22
- package/dist/models/A500DataSetType.d.ts +23 -0
- package/dist/models/A500MachineStateData.d.ts +7 -25
- package/dist/models/A500RepDataPointData.d.ts +7 -23
- package/dist/models/A500TestResultData.d.ts +1 -1
- package/dist/models/A500TimeSeriesPointData.d.ts +15 -15
- package/dist/models/AcceptedTermsVersionData.d.ts +1 -1
- package/dist/models/AccessControlRight.d.ts +23 -0
- package/dist/models/AnalyticRight.d.ts +22 -0
- package/dist/models/BodyCompositionMeasurementData.d.ts +32 -32
- package/dist/models/CacheKeysResponse.d.ts +1 -1
- package/dist/models/CacheObject.d.ts +3 -3
- package/dist/models/CacheObjectResponse.d.ts +1 -1
- package/dist/models/CardioExerciseData.d.ts +1 -1
- package/dist/models/CardioExerciseVariantData.d.ts +4 -10
- package/dist/models/CardioExerciseVariantType.d.ts +22 -0
- package/dist/models/CardioMachineData.d.ts +5 -12
- package/dist/models/CardioMachineParseCode.d.ts +23 -0
- package/dist/models/CharacterType.d.ts +23 -0
- package/dist/models/EmailAddressData.d.ts +1 -1
- package/dist/models/EmployeeRole.d.ts +26 -0
- package/dist/models/ExerciseAliasData.d.ts +4 -12
- package/dist/models/ExerciseAliasType.d.ts +24 -0
- package/dist/models/ExerciseOrdinalSetAssignmentData.d.ts +1 -1
- package/dist/models/ExerciseOrdinalSetData.d.ts +1 -1
- package/dist/models/ExerciseRight.d.ts +22 -0
- package/dist/models/FacilityConfigurationData.d.ts +6 -21
- package/dist/models/FacilityData.d.ts +1 -1
- package/dist/models/FacilityLicenseData.d.ts +4 -12
- package/dist/models/FacilityLicenseListResponse.d.ts +1 -1
- package/dist/models/FacilityLicenseListResponseMeta.d.ts +6 -14
- package/dist/models/FacilityLicenseResponse.d.ts +1 -1
- package/dist/models/FacilityLicenseSorting.d.ts +2 -2
- package/dist/models/FacilityLicenseType.d.ts +24 -0
- package/dist/models/FacilityProfileData.d.ts +1 -1
- package/dist/models/FacilityRelationshipData.d.ts +4 -21
- package/dist/models/FacilityRight.d.ts +23 -0
- package/dist/models/FacilitySessionUserData.d.ts +1 -1
- package/dist/models/FacilityStrengthMachineConfigurationData.d.ts +7 -25
- package/dist/models/FacilityStrengthMachineData.d.ts +1 -1
- package/dist/models/ForceUnit.d.ts +25 -0
- package/dist/models/GlobalAccessControlCreationResponse.d.ts +1 -1
- package/dist/models/GlobalAccessControlData.d.ts +25 -79
- package/dist/models/GlobalAccessControlListResponse.d.ts +1 -1
- package/dist/models/GlobalAccessControlListResponseMeta.d.ts +1 -1
- package/dist/models/GlobalAccessControlResponse.d.ts +1 -1
- package/dist/models/GlobalAccessControlSecretData.d.ts +1 -1
- package/dist/models/GlobalAccessControlSecretResponse.d.ts +1 -1
- package/dist/models/GlobalAccessControlSorting.d.ts +2 -2
- package/dist/models/HeartRateDataPointData.d.ts +1 -1
- package/dist/models/HeartRateDataSetData.d.ts +1 -1
- package/dist/models/HeartRateDataSetSessionData.d.ts +1 -1
- package/dist/models/HeightMeasurementData.d.ts +1 -1
- package/dist/models/High.d.ts +1 -1
- package/dist/models/LicenseRight.d.ts +23 -0
- package/dist/models/Low.d.ts +1 -1
- package/dist/models/MSeriesDataPointData.d.ts +1 -1
- package/dist/models/MSeriesDataSetData.d.ts +3 -3
- package/dist/models/MSeriesDataSetSegmentData.d.ts +1 -1
- package/dist/models/MSeriesFtpMeasurementData.d.ts +1 -1
- package/dist/models/MSeriesGuidedSessionRight.d.ts +23 -0
- package/dist/models/MuscleArea.d.ts +2 -2
- package/dist/models/MuscleData.d.ts +73 -11
- package/dist/models/MuscleGroup.d.ts +2 -2
- package/dist/models/MuscleTargetLevel.d.ts +24 -0
- package/dist/models/OAuthServiceData.d.ts +1 -1
- package/dist/models/PrimaryEmailAddressData.d.ts +1 -1
- package/dist/models/ProfileData.d.ts +2 -2
- package/dist/models/Queue.d.ts +2 -2
- package/dist/models/ResistancePrecision.d.ts +23 -0
- package/dist/models/ResqueDetailsData.d.ts +7 -1
- package/dist/models/ResqueDetailsResponse.d.ts +1 -1
- package/dist/models/ResqueRight.d.ts +23 -0
- package/dist/models/SessionData.d.ts +1 -1
- package/dist/models/SessionPlanActivitySetData.d.ts +1 -1
- package/dist/models/SessionPlanCardioSetData.d.ts +1 -1
- package/dist/models/SessionPlanData.d.ts +3 -3
- package/dist/models/SessionPlanSequenceAssignmentData.d.ts +1 -1
- package/dist/models/SessionPlanSequenceData.d.ts +3 -3
- package/dist/models/SessionPlanSequenceInstanceData.d.ts +1 -1
- package/dist/models/SessionPlanSetData.d.ts +5 -14
- package/dist/models/SessionPlanSetInstanceData.d.ts +4 -4
- package/dist/models/SessionPlanSetType.d.ts +25 -0
- package/dist/models/SessionPlanStrengthSetData.d.ts +4 -13
- package/dist/models/SessionPlanStretchSetData.d.ts +1 -1
- package/dist/models/Side.d.ts +23 -0
- package/dist/models/StatData.d.ts +1 -1
- package/dist/models/StatListResponse.d.ts +1 -1
- package/dist/models/StatListResponseMeta.d.ts +5 -5
- package/dist/models/StatSorting.d.ts +2 -2
- package/dist/models/StrengthExerciseCategory.d.ts +26 -0
- package/dist/models/StrengthExerciseData.d.ts +13 -45
- package/dist/models/StrengthExerciseMovement.d.ts +23 -0
- package/dist/models/StrengthExerciseMovementDEP.d.ts +23 -0
- package/dist/models/StrengthExercisePlane.d.ts +24 -0
- package/dist/models/StrengthExerciseVariantAttachment.d.ts +30 -0
- package/dist/models/StrengthExerciseVariantData.d.ts +10 -40
- package/dist/models/StrengthExerciseVariantType.d.ts +27 -0
- package/dist/models/StrengthMachineAppType.d.ts +25 -0
- package/dist/models/StrengthMachineData.d.ts +4 -16
- package/dist/models/StrengthMachineDataSetData.d.ts +13 -29
- package/dist/models/StrengthMachineDataSetTestData.d.ts +4 -13
- package/dist/models/StrengthMachineDataSetTestSubsetData.d.ts +1 -1
- package/dist/models/StrengthMachineLine.d.ts +28 -0
- package/dist/models/StrengthMachineModelData.d.ts +1 -1
- package/dist/models/StrengthTestType.d.ts +25 -0
- package/dist/models/StretchExerciseData.d.ts +1 -1
- package/dist/models/StretchExerciseVariantData.d.ts +4 -10
- package/dist/models/StretchExerciseVariantType.d.ts +22 -0
- package/dist/models/TaskFailedResponse.d.ts +1 -1
- package/dist/models/TaskFailure.d.ts +1 -1
- package/dist/models/TaskPayload.d.ts +1 -1
- package/dist/models/TaskQueueResponse.d.ts +1 -1
- package/dist/models/TaskQueueResponseMeta.d.ts +4 -10
- package/dist/models/TaskQueues.d.ts +1 -1
- package/dist/models/TaskSorting.d.ts +22 -0
- package/dist/models/TaskStats.d.ts +1 -1
- package/dist/models/TestSide.d.ts +24 -0
- package/dist/models/UserData.d.ts +1 -1
- package/dist/models/UserListResponse.d.ts +1 -1
- package/dist/models/UserListResponseMeta.d.ts +1 -1
- package/dist/models/UserResponse.d.ts +1 -1
- package/dist/models/UserRight.d.ts +23 -0
- package/dist/models/UserSorting.d.ts +2 -2
- package/dist/models/WeightMeasurementData.d.ts +1 -1
- package/dist/models/WorkersResponse.d.ts +1 -1
- package/dist/models/index.d.ts +33 -2
- package/dist/runtime.d.ts +2 -2
- package/docs/A500AppType.md +15 -0
- package/docs/A500DataSetData.md +2 -26
- package/docs/A500DataSetType.md +11 -0
- package/docs/A500MachineStateData.md +2 -32
- package/docs/A500RepDataPointData.md +2 -28
- package/docs/A500TimeSeriesPointData.md +14 -14
- package/docs/AccessControlRight.md +11 -0
- package/docs/AnalyticRight.md +9 -0
- package/docs/BodyCompositionMeasurementData.md +31 -31
- package/docs/CacheObject.md +2 -2
- package/docs/CardioExerciseVariantData.md +1 -10
- package/docs/CardioExerciseVariantType.md +9 -0
- package/docs/CardioMachineData.md +1 -12
- package/docs/CardioMachineParseCode.md +11 -0
- package/docs/CharacterType.md +11 -0
- package/docs/EmployeeRole.md +17 -0
- package/docs/ExerciseAliasData.md +1 -14
- package/docs/ExerciseAliasType.md +13 -0
- package/docs/ExerciseRight.md +9 -0
- package/docs/FacilityConfigurationData.md +2 -24
- package/docs/FacilityLicenseData.md +1 -14
- package/docs/FacilityLicenseListResponseMeta.md +3 -16
- package/docs/FacilityLicenseType.md +13 -0
- package/docs/FacilityRelationshipData.md +1 -19
- package/docs/FacilityRight.md +11 -0
- package/docs/FacilityStrengthMachineConfigurationData.md +2 -32
- package/docs/ForceUnit.md +15 -0
- package/docs/GlobalAccessControlData.md +8 -92
- package/docs/LicenseRight.md +11 -0
- package/docs/MSeriesDataSetData.md +1 -1
- package/docs/MSeriesGuidedSessionRight.md +11 -0
- package/docs/MuscleData.md +130 -6
- package/docs/MuscleTargetLevel.md +13 -0
- package/docs/ProfileData.md +1 -1
- package/docs/ResistancePrecision.md +11 -0
- package/docs/ResqueDetailsData.md +1 -0
- package/docs/ResqueRight.md +11 -0
- package/docs/SessionPlanData.md +2 -2
- package/docs/SessionPlanSequenceData.md +2 -2
- package/docs/SessionPlanSetData.md +2 -17
- package/docs/SessionPlanSetInstanceData.md +3 -3
- package/docs/SessionPlanSetType.md +15 -0
- package/docs/SessionPlanStrengthSetData.md +1 -16
- package/docs/Side.md +11 -0
- package/docs/StatListResponseMeta.md +2 -2
- package/docs/StrengthExerciseCategory.md +17 -0
- package/docs/StrengthExerciseData.md +4 -56
- package/docs/StrengthExerciseMovement.md +11 -0
- package/docs/StrengthExerciseMovementDEP.md +11 -0
- package/docs/StrengthExercisePlane.md +13 -0
- package/docs/StrengthExerciseVariantAttachment.md +25 -0
- package/docs/StrengthExerciseVariantData.md +3 -54
- package/docs/StrengthExerciseVariantType.md +19 -0
- package/docs/StrengthMachineAppType.md +15 -0
- package/docs/StrengthMachineData.md +1 -22
- package/docs/StrengthMachineDataSetData.md +8 -34
- package/docs/StrengthMachineDataSetTestData.md +1 -16
- package/docs/StrengthMachineLine.md +21 -0
- package/docs/StrengthTestType.md +15 -0
- package/docs/StretchExerciseVariantData.md +1 -10
- package/docs/StretchExerciseVariantType.md +9 -0
- package/docs/TaskQueueResponseMeta.md +1 -10
- package/docs/TaskSorting.md +9 -0
- package/docs/TestSide.md +13 -0
- package/docs/UserRight.md +11 -0
- package/package.json +22 -6
- package/src/apis/MetricsAdminApi.ts +22 -22
- package/src/connection.ts +36 -14
- package/src/models/A500AppType.ts +45 -0
- package/src/models/A500DataSetData.ts +21 -30
- package/src/models/A500DataSetType.ts +41 -0
- package/src/models/A500MachineStateData.ts +21 -33
- package/src/models/A500RepDataPointData.ts +22 -31
- package/src/models/A500TestResultData.ts +1 -1
- package/src/models/A500TimeSeriesPointData.ts +29 -43
- package/src/models/AcceptedTermsVersionData.ts +1 -1
- package/src/models/AccessControlRight.ts +41 -0
- package/src/models/AnalyticRight.ts +39 -0
- package/src/models/BodyCompositionMeasurementData.ts +63 -94
- package/src/models/CacheKeysResponse.ts +1 -1
- package/src/models/CacheObject.ts +5 -7
- package/src/models/CacheObjectResponse.ts +1 -1
- package/src/models/CardioExerciseData.ts +1 -1
- package/src/models/CardioExerciseVariantData.ts +11 -15
- package/src/models/CardioExerciseVariantType.ts +39 -0
- package/src/models/CardioMachineData.ts +14 -15
- package/src/models/CardioMachineParseCode.ts +41 -0
- package/src/models/CharacterType.ts +41 -0
- package/src/models/EmailAddressData.ts +1 -1
- package/src/models/EmployeeRole.ts +47 -0
- package/src/models/ExerciseAliasData.ts +11 -17
- package/src/models/ExerciseAliasType.ts +43 -0
- package/src/models/ExerciseOrdinalSetAssignmentData.ts +1 -1
- package/src/models/ExerciseOrdinalSetData.ts +1 -1
- package/src/models/ExerciseRight.ts +39 -0
- package/src/models/FacilityConfigurationData.ts +16 -29
- package/src/models/FacilityData.ts +1 -1
- package/src/models/FacilityLicenseData.ts +11 -17
- package/src/models/FacilityLicenseListResponse.ts +1 -1
- package/src/models/FacilityLicenseListResponseMeta.ts +15 -24
- package/src/models/FacilityLicenseResponse.ts +1 -1
- package/src/models/FacilityLicenseSorting.ts +7 -2
- package/src/models/FacilityLicenseType.ts +43 -0
- package/src/models/FacilityProfileData.ts +1 -1
- package/src/models/FacilityRelationshipData.ts +11 -33
- package/src/models/FacilityRight.ts +41 -0
- package/src/models/FacilitySessionUserData.ts +1 -1
- package/src/models/FacilityStrengthMachineConfigurationData.ts +21 -33
- package/src/models/FacilityStrengthMachineData.ts +1 -1
- package/src/models/ForceUnit.ts +45 -0
- package/src/models/GlobalAccessControlCreationResponse.ts +1 -1
- package/src/models/GlobalAccessControlData.ts +81 -105
- package/src/models/GlobalAccessControlListResponse.ts +1 -1
- package/src/models/GlobalAccessControlListResponseMeta.ts +1 -1
- package/src/models/GlobalAccessControlResponse.ts +1 -1
- package/src/models/GlobalAccessControlSecretData.ts +1 -1
- package/src/models/GlobalAccessControlSecretResponse.ts +1 -1
- package/src/models/GlobalAccessControlSorting.ts +5 -2
- package/src/models/HeartRateDataPointData.ts +1 -1
- package/src/models/HeartRateDataSetData.ts +1 -1
- package/src/models/HeartRateDataSetSessionData.ts +1 -1
- package/src/models/HeightMeasurementData.ts +1 -1
- package/src/models/High.ts +1 -1
- package/src/models/LicenseRight.ts +41 -0
- package/src/models/Low.ts +1 -1
- package/src/models/MSeriesDataPointData.ts +1 -1
- package/src/models/MSeriesDataSetData.ts +3 -3
- package/src/models/MSeriesDataSetSegmentData.ts +1 -1
- package/src/models/MSeriesFtpMeasurementData.ts +1 -1
- package/src/models/MSeriesGuidedSessionRight.ts +41 -0
- package/src/models/MuscleArea.ts +6 -2
- package/src/models/MuscleData.ts +147 -19
- package/src/models/MuscleGroup.ts +17 -2
- package/src/models/MuscleTargetLevel.ts +43 -0
- package/src/models/OAuthServiceData.ts +1 -1
- package/src/models/PrimaryEmailAddressData.ts +1 -1
- package/src/models/ProfileData.ts +3 -4
- package/src/models/Queue.ts +5 -2
- package/src/models/ResistancePrecision.ts +41 -0
- package/src/models/ResqueDetailsData.ts +10 -1
- package/src/models/ResqueDetailsResponse.ts +1 -1
- package/src/models/ResqueRight.ts +41 -0
- package/src/models/SessionData.ts +1 -1
- package/src/models/SessionPlanActivitySetData.ts +1 -1
- package/src/models/SessionPlanCardioSetData.ts +1 -1
- package/src/models/SessionPlanData.ts +5 -7
- package/src/models/SessionPlanSequenceAssignmentData.ts +1 -1
- package/src/models/SessionPlanSequenceData.ts +5 -7
- package/src/models/SessionPlanSequenceInstanceData.ts +1 -1
- package/src/models/SessionPlanSetData.ts +13 -21
- package/src/models/SessionPlanSetInstanceData.ts +10 -6
- package/src/models/SessionPlanSetType.ts +45 -0
- package/src/models/SessionPlanStrengthSetData.ts +11 -18
- package/src/models/SessionPlanStretchSetData.ts +1 -1
- package/src/models/Side.ts +41 -0
- package/src/models/StatData.ts +1 -1
- package/src/models/StatListResponse.ts +1 -1
- package/src/models/StatListResponseMeta.ts +9 -9
- package/src/models/StatSorting.ts +5 -2
- package/src/models/StrengthExerciseCategory.ts +47 -0
- package/src/models/StrengthExerciseData.ts +41 -60
- package/src/models/StrengthExerciseMovement.ts +41 -0
- package/src/models/StrengthExerciseMovementDEP.ts +41 -0
- package/src/models/StrengthExercisePlane.ts +43 -0
- package/src/models/StrengthExerciseVariantAttachment.ts +55 -0
- package/src/models/StrengthExerciseVariantData.ts +31 -51
- package/src/models/StrengthExerciseVariantType.ts +49 -0
- package/src/models/StrengthMachineAppType.ts +45 -0
- package/src/models/StrengthMachineData.ts +11 -21
- package/src/models/StrengthMachineDataSetData.ts +33 -50
- package/src/models/StrengthMachineDataSetTestData.ts +11 -18
- package/src/models/StrengthMachineDataSetTestSubsetData.ts +1 -1
- package/src/models/StrengthMachineLine.ts +51 -0
- package/src/models/StrengthMachineModelData.ts +1 -1
- package/src/models/StrengthTestType.ts +45 -0
- package/src/models/StretchExerciseData.ts +1 -1
- package/src/models/StretchExerciseVariantData.ts +11 -15
- package/src/models/StretchExerciseVariantType.ts +39 -0
- package/src/models/TaskFailedResponse.ts +1 -1
- package/src/models/TaskFailure.ts +1 -1
- package/src/models/TaskPayload.ts +1 -1
- package/src/models/TaskQueueResponse.ts +1 -1
- package/src/models/TaskQueueResponseMeta.ts +12 -15
- package/src/models/TaskQueues.ts +1 -1
- package/src/models/TaskSorting.ts +39 -0
- package/src/models/TaskStats.ts +1 -1
- package/src/models/TestSide.ts +43 -0
- package/src/models/UserData.ts +1 -1
- package/src/models/UserListResponse.ts +1 -1
- package/src/models/UserListResponseMeta.ts +1 -1
- package/src/models/UserResponse.ts +1 -1
- package/src/models/UserRight.ts +41 -0
- package/src/models/UserSorting.ts +6 -2
- package/src/models/WeightMeasurementData.ts +1 -1
- package/src/models/WorkersResponse.ts +1 -1
- package/src/models/index.ts +33 -2
- package/src/runtime.ts +1 -1
- package/tsconfig.json +1 -0
|
@@ -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.1.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,6 +25,30 @@ import {
|
|
|
25
25
|
MuscleDataFromJSONTyped,
|
|
26
26
|
MuscleDataToJSON,
|
|
27
27
|
} from './MuscleData';
|
|
28
|
+
import type { StrengthExerciseCategory } from './StrengthExerciseCategory';
|
|
29
|
+
import {
|
|
30
|
+
StrengthExerciseCategoryFromJSON,
|
|
31
|
+
StrengthExerciseCategoryFromJSONTyped,
|
|
32
|
+
StrengthExerciseCategoryToJSON,
|
|
33
|
+
} from './StrengthExerciseCategory';
|
|
34
|
+
import type { StrengthExerciseMovement } from './StrengthExerciseMovement';
|
|
35
|
+
import {
|
|
36
|
+
StrengthExerciseMovementFromJSON,
|
|
37
|
+
StrengthExerciseMovementFromJSONTyped,
|
|
38
|
+
StrengthExerciseMovementToJSON,
|
|
39
|
+
} from './StrengthExerciseMovement';
|
|
40
|
+
import type { StrengthExerciseMovementDEP } from './StrengthExerciseMovementDEP';
|
|
41
|
+
import {
|
|
42
|
+
StrengthExerciseMovementDEPFromJSON,
|
|
43
|
+
StrengthExerciseMovementDEPFromJSONTyped,
|
|
44
|
+
StrengthExerciseMovementDEPToJSON,
|
|
45
|
+
} from './StrengthExerciseMovementDEP';
|
|
46
|
+
import type { StrengthExercisePlane } from './StrengthExercisePlane';
|
|
47
|
+
import {
|
|
48
|
+
StrengthExercisePlaneFromJSON,
|
|
49
|
+
StrengthExercisePlaneFromJSONTyped,
|
|
50
|
+
StrengthExercisePlaneToJSON,
|
|
51
|
+
} from './StrengthExercisePlane';
|
|
28
52
|
import type { StrengthExerciseVariantData } from './StrengthExerciseVariantData';
|
|
29
53
|
import {
|
|
30
54
|
StrengthExerciseVariantDataFromJSON,
|
|
@@ -52,28 +76,28 @@ export interface StrengthExerciseData {
|
|
|
52
76
|
id: number;
|
|
53
77
|
/**
|
|
54
78
|
*
|
|
55
|
-
* @type {
|
|
79
|
+
* @type {StrengthExerciseCategory}
|
|
56
80
|
* @memberof StrengthExerciseData
|
|
57
81
|
*/
|
|
58
|
-
category:
|
|
82
|
+
category: StrengthExerciseCategory;
|
|
59
83
|
/**
|
|
60
84
|
*
|
|
61
|
-
* @type {
|
|
85
|
+
* @type {StrengthExerciseMovementDEP}
|
|
62
86
|
* @memberof StrengthExerciseData
|
|
63
87
|
*/
|
|
64
|
-
movement?:
|
|
88
|
+
movement?: StrengthExerciseMovementDEP;
|
|
65
89
|
/**
|
|
66
90
|
*
|
|
67
|
-
* @type {
|
|
91
|
+
* @type {StrengthExerciseMovement}
|
|
68
92
|
* @memberof StrengthExerciseData
|
|
69
93
|
*/
|
|
70
|
-
humanMovement
|
|
94
|
+
humanMovement?: StrengthExerciseMovement;
|
|
71
95
|
/**
|
|
72
96
|
*
|
|
73
|
-
* @type {
|
|
97
|
+
* @type {StrengthExercisePlane}
|
|
74
98
|
* @memberof StrengthExerciseData
|
|
75
99
|
*/
|
|
76
|
-
plane:
|
|
100
|
+
plane: StrengthExercisePlane;
|
|
77
101
|
/**
|
|
78
102
|
*
|
|
79
103
|
* @type {ExerciseAliasData}
|
|
@@ -106,48 +130,6 @@ export interface StrengthExerciseData {
|
|
|
106
130
|
strengthMachines?: Array<StrengthMachineData>;
|
|
107
131
|
}
|
|
108
132
|
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* @export
|
|
112
|
-
*/
|
|
113
|
-
export const StrengthExerciseDataCategoryEnum = {
|
|
114
|
-
LowerBody: 'lowerBody',
|
|
115
|
-
UpperBody: 'upperBody',
|
|
116
|
-
Core: 'core',
|
|
117
|
-
Explosive: 'explosive',
|
|
118
|
-
Complex: 'complex'
|
|
119
|
-
} as const;
|
|
120
|
-
export type StrengthExerciseDataCategoryEnum = typeof StrengthExerciseDataCategoryEnum[keyof typeof StrengthExerciseDataCategoryEnum];
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* @export
|
|
124
|
-
*/
|
|
125
|
-
export const StrengthExerciseDataMovementEnum = {
|
|
126
|
-
Isolation: 'isolation',
|
|
127
|
-
Compound: 'compound'
|
|
128
|
-
} as const;
|
|
129
|
-
export type StrengthExerciseDataMovementEnum = typeof StrengthExerciseDataMovementEnum[keyof typeof StrengthExerciseDataMovementEnum];
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* @export
|
|
133
|
-
*/
|
|
134
|
-
export const StrengthExerciseDataHumanMovementEnum = {
|
|
135
|
-
Unilateral: 'unilateral',
|
|
136
|
-
Bilateral: 'bilateral'
|
|
137
|
-
} as const;
|
|
138
|
-
export type StrengthExerciseDataHumanMovementEnum = typeof StrengthExerciseDataHumanMovementEnum[keyof typeof StrengthExerciseDataHumanMovementEnum];
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* @export
|
|
142
|
-
*/
|
|
143
|
-
export const StrengthExerciseDataPlaneEnum = {
|
|
144
|
-
Sagittal: 'sagittal',
|
|
145
|
-
Frontal: 'frontal',
|
|
146
|
-
Transverse: 'transverse'
|
|
147
|
-
} as const;
|
|
148
|
-
export type StrengthExerciseDataPlaneEnum = typeof StrengthExerciseDataPlaneEnum[keyof typeof StrengthExerciseDataPlaneEnum];
|
|
149
|
-
|
|
150
|
-
|
|
151
133
|
/**
|
|
152
134
|
* Check if a given object implements the StrengthExerciseData interface.
|
|
153
135
|
*/
|
|
@@ -155,7 +137,6 @@ export function instanceOfStrengthExerciseData(value: object): boolean {
|
|
|
155
137
|
let isInstance = true;
|
|
156
138
|
isInstance = isInstance && "id" in value;
|
|
157
139
|
isInstance = isInstance && "category" in value;
|
|
158
|
-
isInstance = isInstance && "humanMovement" in value;
|
|
159
140
|
isInstance = isInstance && "plane" in value;
|
|
160
141
|
|
|
161
142
|
return isInstance;
|
|
@@ -172,10 +153,10 @@ export function StrengthExerciseDataFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
172
153
|
return {
|
|
173
154
|
|
|
174
155
|
'id': json['id'],
|
|
175
|
-
'category': json['category'],
|
|
176
|
-
'movement': !exists(json, 'movement') ? undefined : json['movement'],
|
|
177
|
-
'humanMovement': json['humanMovement'],
|
|
178
|
-
'plane': json['plane'],
|
|
156
|
+
'category': StrengthExerciseCategoryFromJSON(json['category']),
|
|
157
|
+
'movement': !exists(json, 'movement') ? undefined : StrengthExerciseMovementDEPFromJSON(json['movement']),
|
|
158
|
+
'humanMovement': !exists(json, 'humanMovement') ? undefined : StrengthExerciseMovementFromJSON(json['humanMovement']),
|
|
159
|
+
'plane': StrengthExercisePlaneFromJSON(json['plane']),
|
|
179
160
|
'defaultExerciseAlias': !exists(json, 'defaultExerciseAlias') ? undefined : ExerciseAliasDataFromJSON(json['defaultExerciseAlias']),
|
|
180
161
|
'exerciseAliases': !exists(json, 'exerciseAliases') ? undefined : ((json['exerciseAliases'] as Array<any>).map(ExerciseAliasDataFromJSON)),
|
|
181
162
|
'strengthExerciseVariants': !exists(json, 'strengthExerciseVariants') ? undefined : ((json['strengthExerciseVariants'] as Array<any>).map(StrengthExerciseVariantDataFromJSON)),
|
|
@@ -194,10 +175,10 @@ export function StrengthExerciseDataToJSON(value?: StrengthExerciseData | null):
|
|
|
194
175
|
return {
|
|
195
176
|
|
|
196
177
|
'id': value.id,
|
|
197
|
-
'category': value.category,
|
|
198
|
-
'movement': value.movement,
|
|
199
|
-
'humanMovement': value.humanMovement,
|
|
200
|
-
'plane': value.plane,
|
|
178
|
+
'category': StrengthExerciseCategoryToJSON(value.category),
|
|
179
|
+
'movement': StrengthExerciseMovementDEPToJSON(value.movement),
|
|
180
|
+
'humanMovement': StrengthExerciseMovementToJSON(value.humanMovement),
|
|
181
|
+
'plane': StrengthExercisePlaneToJSON(value.plane),
|
|
201
182
|
'defaultExerciseAlias': ExerciseAliasDataToJSON(value.defaultExerciseAlias),
|
|
202
183
|
'exerciseAliases': value.exerciseAliases === undefined ? undefined : ((value.exerciseAliases as Array<any>).map(ExerciseAliasDataToJSON)),
|
|
203
184
|
'strengthExerciseVariants': value.strengthExerciseVariants === undefined ? undefined : ((value.strengthExerciseVariants as Array<any>).map(StrengthExerciseVariantDataToJSON)),
|
|
@@ -0,0 +1,41 @@
|
|
|
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.1.1
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const StrengthExerciseMovement = {
|
|
21
|
+
Unilateral: 'unilateral',
|
|
22
|
+
Bilateral: 'bilateral'
|
|
23
|
+
} as const;
|
|
24
|
+
export type StrengthExerciseMovement =
|
|
25
|
+
| 'unilateral'
|
|
26
|
+
| 'bilateral'
|
|
27
|
+
;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
export function StrengthExerciseMovementFromJSON(json: any): StrengthExerciseMovement {
|
|
31
|
+
return StrengthExerciseMovementFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export function StrengthExerciseMovementFromJSONTyped(json: any, ignoreDiscriminator: boolean): StrengthExerciseMovement {
|
|
35
|
+
return json as StrengthExerciseMovement;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function StrengthExerciseMovementToJSON(value?: StrengthExerciseMovement | null): any {
|
|
39
|
+
return value as any;
|
|
40
|
+
}
|
|
41
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
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.1.1
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const StrengthExerciseMovementDEP = {
|
|
21
|
+
Isolation: 'isolation',
|
|
22
|
+
Compound: 'compound'
|
|
23
|
+
} as const;
|
|
24
|
+
export type StrengthExerciseMovementDEP =
|
|
25
|
+
| 'isolation'
|
|
26
|
+
| 'compound'
|
|
27
|
+
;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
export function StrengthExerciseMovementDEPFromJSON(json: any): StrengthExerciseMovementDEP {
|
|
31
|
+
return StrengthExerciseMovementDEPFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export function StrengthExerciseMovementDEPFromJSONTyped(json: any, ignoreDiscriminator: boolean): StrengthExerciseMovementDEP {
|
|
35
|
+
return json as StrengthExerciseMovementDEP;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function StrengthExerciseMovementDEPToJSON(value?: StrengthExerciseMovementDEP | null): any {
|
|
39
|
+
return value as any;
|
|
40
|
+
}
|
|
41
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
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.1.1
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const StrengthExercisePlane = {
|
|
21
|
+
Sagittal: 'sagittal',
|
|
22
|
+
Frontal: 'frontal',
|
|
23
|
+
Transverse: 'transverse'
|
|
24
|
+
} as const;
|
|
25
|
+
export type StrengthExercisePlane =
|
|
26
|
+
| 'sagittal'
|
|
27
|
+
| 'frontal'
|
|
28
|
+
| 'transverse'
|
|
29
|
+
;
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
export function StrengthExercisePlaneFromJSON(json: any): StrengthExercisePlane {
|
|
33
|
+
return StrengthExercisePlaneFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export function StrengthExercisePlaneFromJSONTyped(json: any, ignoreDiscriminator: boolean): StrengthExercisePlane {
|
|
37
|
+
return json as StrengthExercisePlane;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function StrengthExercisePlaneToJSON(value?: StrengthExercisePlane | null): any {
|
|
41
|
+
return value as any;
|
|
42
|
+
}
|
|
43
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
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.1.1
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const StrengthExerciseVariantAttachment = {
|
|
21
|
+
Bar: 'bar',
|
|
22
|
+
Rope: 'rope',
|
|
23
|
+
SingleHandles: 'singleHandles',
|
|
24
|
+
DoubleHandles: 'doubleHandles',
|
|
25
|
+
AnkleStrap: 'ankleStrap',
|
|
26
|
+
ThighStrap: 'thighStrap',
|
|
27
|
+
Belt: 'belt',
|
|
28
|
+
Dip: 'dip',
|
|
29
|
+
PullUpBar: 'pullUpBar'
|
|
30
|
+
} as const;
|
|
31
|
+
export type StrengthExerciseVariantAttachment =
|
|
32
|
+
| 'bar'
|
|
33
|
+
| 'rope'
|
|
34
|
+
| 'singleHandles'
|
|
35
|
+
| 'doubleHandles'
|
|
36
|
+
| 'ankleStrap'
|
|
37
|
+
| 'thighStrap'
|
|
38
|
+
| 'belt'
|
|
39
|
+
| 'dip'
|
|
40
|
+
| 'pullUpBar'
|
|
41
|
+
;
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
export function StrengthExerciseVariantAttachmentFromJSON(json: any): StrengthExerciseVariantAttachment {
|
|
45
|
+
return StrengthExerciseVariantAttachmentFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function StrengthExerciseVariantAttachmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): StrengthExerciseVariantAttachment {
|
|
49
|
+
return json as StrengthExerciseVariantAttachment;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function StrengthExerciseVariantAttachmentToJSON(value?: StrengthExerciseVariantAttachment | null): any {
|
|
53
|
+
return value as any;
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -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.1.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -25,6 +25,24 @@ import {
|
|
|
25
25
|
StrengthExerciseDataFromJSONTyped,
|
|
26
26
|
StrengthExerciseDataToJSON,
|
|
27
27
|
} from './StrengthExerciseData';
|
|
28
|
+
import type { StrengthExerciseMovement } from './StrengthExerciseMovement';
|
|
29
|
+
import {
|
|
30
|
+
StrengthExerciseMovementFromJSON,
|
|
31
|
+
StrengthExerciseMovementFromJSONTyped,
|
|
32
|
+
StrengthExerciseMovementToJSON,
|
|
33
|
+
} from './StrengthExerciseMovement';
|
|
34
|
+
import type { StrengthExerciseVariantAttachment } from './StrengthExerciseVariantAttachment';
|
|
35
|
+
import {
|
|
36
|
+
StrengthExerciseVariantAttachmentFromJSON,
|
|
37
|
+
StrengthExerciseVariantAttachmentFromJSONTyped,
|
|
38
|
+
StrengthExerciseVariantAttachmentToJSON,
|
|
39
|
+
} from './StrengthExerciseVariantAttachment';
|
|
40
|
+
import type { StrengthExerciseVariantType } from './StrengthExerciseVariantType';
|
|
41
|
+
import {
|
|
42
|
+
StrengthExerciseVariantTypeFromJSON,
|
|
43
|
+
StrengthExerciseVariantTypeFromJSONTyped,
|
|
44
|
+
StrengthExerciseVariantTypeToJSON,
|
|
45
|
+
} from './StrengthExerciseVariantType';
|
|
28
46
|
import type { StrengthMachineData } from './StrengthMachineData';
|
|
29
47
|
import {
|
|
30
48
|
StrengthMachineDataFromJSON,
|
|
@@ -46,22 +64,22 @@ export interface StrengthExerciseVariantData {
|
|
|
46
64
|
id: number;
|
|
47
65
|
/**
|
|
48
66
|
*
|
|
49
|
-
* @type {
|
|
67
|
+
* @type {StrengthExerciseVariantType}
|
|
50
68
|
* @memberof StrengthExerciseVariantData
|
|
51
69
|
*/
|
|
52
|
-
variant:
|
|
70
|
+
variant: StrengthExerciseVariantType;
|
|
53
71
|
/**
|
|
54
72
|
*
|
|
55
|
-
* @type {
|
|
73
|
+
* @type {StrengthExerciseVariantAttachment}
|
|
56
74
|
* @memberof StrengthExerciseVariantData
|
|
57
75
|
*/
|
|
58
|
-
attachment?:
|
|
76
|
+
attachment?: StrengthExerciseVariantAttachment;
|
|
59
77
|
/**
|
|
60
78
|
*
|
|
61
|
-
* @type {
|
|
79
|
+
* @type {StrengthExerciseMovement}
|
|
62
80
|
* @memberof StrengthExerciseVariantData
|
|
63
81
|
*/
|
|
64
|
-
equipmentMechanicalMovement:
|
|
82
|
+
equipmentMechanicalMovement: StrengthExerciseMovement;
|
|
65
83
|
/**
|
|
66
84
|
*
|
|
67
85
|
* @type {string}
|
|
@@ -94,44 +112,6 @@ export interface StrengthExerciseVariantData {
|
|
|
94
112
|
exerciseOrdinalSetAssignments?: Array<ExerciseOrdinalSetAssignmentData>;
|
|
95
113
|
}
|
|
96
114
|
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* @export
|
|
100
|
-
*/
|
|
101
|
-
export const StrengthExerciseVariantDataVariantEnum = {
|
|
102
|
-
Normal: 'normal',
|
|
103
|
-
SingleArm: 'singleArm',
|
|
104
|
-
SingleLeg: 'singleLeg',
|
|
105
|
-
SingleArmSingleLeg: 'singleArmSingleLeg',
|
|
106
|
-
DoubleArmSingleLeg: 'doubleArmSingleLeg',
|
|
107
|
-
Alternate: 'alternate'
|
|
108
|
-
} as const;
|
|
109
|
-
export type StrengthExerciseVariantDataVariantEnum = typeof StrengthExerciseVariantDataVariantEnum[keyof typeof StrengthExerciseVariantDataVariantEnum];
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* @export
|
|
113
|
-
*/
|
|
114
|
-
export const StrengthExerciseVariantDataAttachmentEnum = {
|
|
115
|
-
Bar: 'bar',
|
|
116
|
-
Rope: 'rope',
|
|
117
|
-
SingleHandles: 'singleHandles',
|
|
118
|
-
DoubleHandles: 'doubleHandles',
|
|
119
|
-
AnkleStrap: 'ankleStrap',
|
|
120
|
-
ThighStrap: 'thighStrap',
|
|
121
|
-
Belt: 'belt'
|
|
122
|
-
} as const;
|
|
123
|
-
export type StrengthExerciseVariantDataAttachmentEnum = typeof StrengthExerciseVariantDataAttachmentEnum[keyof typeof StrengthExerciseVariantDataAttachmentEnum];
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* @export
|
|
127
|
-
*/
|
|
128
|
-
export const StrengthExerciseVariantDataEquipmentMechanicalMovementEnum = {
|
|
129
|
-
Unilateral: 'unilateral',
|
|
130
|
-
Bilateral: 'bilateral'
|
|
131
|
-
} as const;
|
|
132
|
-
export type StrengthExerciseVariantDataEquipmentMechanicalMovementEnum = typeof StrengthExerciseVariantDataEquipmentMechanicalMovementEnum[keyof typeof StrengthExerciseVariantDataEquipmentMechanicalMovementEnum];
|
|
133
|
-
|
|
134
|
-
|
|
135
115
|
/**
|
|
136
116
|
* Check if a given object implements the StrengthExerciseVariantData interface.
|
|
137
117
|
*/
|
|
@@ -155,9 +135,9 @@ export function StrengthExerciseVariantDataFromJSONTyped(json: any, ignoreDiscri
|
|
|
155
135
|
return {
|
|
156
136
|
|
|
157
137
|
'id': json['id'],
|
|
158
|
-
'variant': json['variant'],
|
|
159
|
-
'attachment': !exists(json, 'attachment') ? undefined : json['attachment'],
|
|
160
|
-
'equipmentMechanicalMovement': json['equipmentMechanicalMovement'],
|
|
138
|
+
'variant': StrengthExerciseVariantTypeFromJSON(json['variant']),
|
|
139
|
+
'attachment': !exists(json, 'attachment') ? undefined : StrengthExerciseVariantAttachmentFromJSON(json['attachment']),
|
|
140
|
+
'equipmentMechanicalMovement': StrengthExerciseMovementFromJSON(json['equipmentMechanicalMovement']),
|
|
161
141
|
'instructionalImage': !exists(json, 'instructionalImage') ? undefined : json['instructionalImage'],
|
|
162
142
|
'instructionalVideo': !exists(json, 'instructionalVideo') ? undefined : json['instructionalVideo'],
|
|
163
143
|
'strengthExercise': !exists(json, 'strengthExercise') ? undefined : StrengthExerciseDataFromJSON(json['strengthExercise']),
|
|
@@ -176,9 +156,9 @@ export function StrengthExerciseVariantDataToJSON(value?: StrengthExerciseVarian
|
|
|
176
156
|
return {
|
|
177
157
|
|
|
178
158
|
'id': value.id,
|
|
179
|
-
'variant': value.variant,
|
|
180
|
-
'attachment': value.attachment,
|
|
181
|
-
'equipmentMechanicalMovement': value.equipmentMechanicalMovement,
|
|
159
|
+
'variant': StrengthExerciseVariantTypeToJSON(value.variant),
|
|
160
|
+
'attachment': StrengthExerciseVariantAttachmentToJSON(value.attachment),
|
|
161
|
+
'equipmentMechanicalMovement': StrengthExerciseMovementToJSON(value.equipmentMechanicalMovement),
|
|
182
162
|
'instructionalImage': value.instructionalImage,
|
|
183
163
|
'instructionalVideo': value.instructionalVideo,
|
|
184
164
|
'strengthExercise': StrengthExerciseDataToJSON(value.strengthExercise),
|
|
@@ -0,0 +1,49 @@
|
|
|
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.1.1
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const StrengthExerciseVariantType = {
|
|
21
|
+
Normal: 'normal',
|
|
22
|
+
SingleArm: 'singleArm',
|
|
23
|
+
SingleLeg: 'singleLeg',
|
|
24
|
+
SingleArmSingleLeg: 'singleArmSingleLeg',
|
|
25
|
+
DoubleArmSingleLeg: 'doubleArmSingleLeg',
|
|
26
|
+
Alternate: 'alternate'
|
|
27
|
+
} as const;
|
|
28
|
+
export type StrengthExerciseVariantType =
|
|
29
|
+
| 'normal'
|
|
30
|
+
| 'singleArm'
|
|
31
|
+
| 'singleLeg'
|
|
32
|
+
| 'singleArmSingleLeg'
|
|
33
|
+
| 'doubleArmSingleLeg'
|
|
34
|
+
| 'alternate'
|
|
35
|
+
;
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
export function StrengthExerciseVariantTypeFromJSON(json: any): StrengthExerciseVariantType {
|
|
39
|
+
return StrengthExerciseVariantTypeFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function StrengthExerciseVariantTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): StrengthExerciseVariantType {
|
|
43
|
+
return json as StrengthExerciseVariantType;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function StrengthExerciseVariantTypeToJSON(value?: StrengthExerciseVariantType | null): any {
|
|
47
|
+
return value as any;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
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.1.1
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const StrengthMachineAppType = {
|
|
21
|
+
Performance: 'performance',
|
|
22
|
+
Elder: 'elder',
|
|
23
|
+
Medical: 'medical',
|
|
24
|
+
Commercial: 'commercial'
|
|
25
|
+
} as const;
|
|
26
|
+
export type StrengthMachineAppType =
|
|
27
|
+
| 'performance'
|
|
28
|
+
| 'elder'
|
|
29
|
+
| 'medical'
|
|
30
|
+
| 'commercial'
|
|
31
|
+
;
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
export function StrengthMachineAppTypeFromJSON(json: any): StrengthMachineAppType {
|
|
35
|
+
return StrengthMachineAppTypeFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function StrengthMachineAppTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): StrengthMachineAppType {
|
|
39
|
+
return json as StrengthMachineAppType;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function StrengthMachineAppTypeToJSON(value?: StrengthMachineAppType | null): any {
|
|
43
|
+
return value as any;
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -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.1.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,6 +19,12 @@ import {
|
|
|
19
19
|
StrengthExerciseDataFromJSONTyped,
|
|
20
20
|
StrengthExerciseDataToJSON,
|
|
21
21
|
} from './StrengthExerciseData';
|
|
22
|
+
import type { StrengthMachineLine } from './StrengthMachineLine';
|
|
23
|
+
import {
|
|
24
|
+
StrengthMachineLineFromJSON,
|
|
25
|
+
StrengthMachineLineFromJSONTyped,
|
|
26
|
+
StrengthMachineLineToJSON,
|
|
27
|
+
} from './StrengthMachineLine';
|
|
22
28
|
import type { StrengthMachineModelData } from './StrengthMachineModelData';
|
|
23
29
|
import {
|
|
24
30
|
StrengthMachineModelDataFromJSON,
|
|
@@ -46,10 +52,10 @@ export interface StrengthMachineData {
|
|
|
46
52
|
name: string;
|
|
47
53
|
/**
|
|
48
54
|
*
|
|
49
|
-
* @type {
|
|
55
|
+
* @type {StrengthMachineLine}
|
|
50
56
|
* @memberof StrengthMachineData
|
|
51
57
|
*/
|
|
52
|
-
line:
|
|
58
|
+
line: StrengthMachineLine;
|
|
53
59
|
/**
|
|
54
60
|
*
|
|
55
61
|
* @type {string}
|
|
@@ -82,22 +88,6 @@ export interface StrengthMachineData {
|
|
|
82
88
|
models?: Array<StrengthMachineModelData>;
|
|
83
89
|
}
|
|
84
90
|
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* @export
|
|
88
|
-
*/
|
|
89
|
-
export const StrengthMachineDataLineEnum = {
|
|
90
|
-
A250: 'a250',
|
|
91
|
-
A300: 'a300',
|
|
92
|
-
A350: 'a350',
|
|
93
|
-
Infinity: 'infinity',
|
|
94
|
-
PowerRack: 'powerRack',
|
|
95
|
-
A400: 'a400',
|
|
96
|
-
A500: 'a500'
|
|
97
|
-
} as const;
|
|
98
|
-
export type StrengthMachineDataLineEnum = typeof StrengthMachineDataLineEnum[keyof typeof StrengthMachineDataLineEnum];
|
|
99
|
-
|
|
100
|
-
|
|
101
91
|
/**
|
|
102
92
|
* Check if a given object implements the StrengthMachineData interface.
|
|
103
93
|
*/
|
|
@@ -123,7 +113,7 @@ export function StrengthMachineDataFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
123
113
|
|
|
124
114
|
'id': json['id'],
|
|
125
115
|
'name': json['name'],
|
|
126
|
-
'line': json['line'],
|
|
116
|
+
'line': StrengthMachineLineFromJSON(json['line']),
|
|
127
117
|
'variant': !exists(json, 'variant') ? undefined : json['variant'],
|
|
128
118
|
'dualSided': json['dualSided'],
|
|
129
119
|
'defaultStrengthExerciseId': !exists(json, 'defaultStrengthExerciseId') ? undefined : json['defaultStrengthExerciseId'],
|
|
@@ -143,7 +133,7 @@ export function StrengthMachineDataToJSON(value?: StrengthMachineData | null): a
|
|
|
143
133
|
|
|
144
134
|
'id': value.id,
|
|
145
135
|
'name': value.name,
|
|
146
|
-
'line': value.line,
|
|
136
|
+
'line': StrengthMachineLineToJSON(value.line),
|
|
147
137
|
'variant': value.variant,
|
|
148
138
|
'dualSided': value.dualSided,
|
|
149
139
|
'defaultStrengthExerciseId': value.defaultStrengthExerciseId,
|