@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
|
@@ -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 ResqueRight = {
|
|
21
|
+
View: 'view',
|
|
22
|
+
Edit: 'edit'
|
|
23
|
+
} as const;
|
|
24
|
+
export type ResqueRight =
|
|
25
|
+
| 'view'
|
|
26
|
+
| 'edit'
|
|
27
|
+
;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
export function ResqueRightFromJSON(json: any): ResqueRight {
|
|
31
|
+
return ResqueRightFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export function ResqueRightFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResqueRight {
|
|
35
|
+
return json as ResqueRight;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function ResqueRightToJSON(value?: ResqueRight | null): any {
|
|
39
|
+
return value as any;
|
|
40
|
+
}
|
|
41
|
+
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -55,13 +55,13 @@ export interface SessionPlanData {
|
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof SessionPlanData
|
|
57
57
|
*/
|
|
58
|
-
description
|
|
58
|
+
description?: string;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
61
|
* @type {string}
|
|
62
62
|
* @memberof SessionPlanData
|
|
63
63
|
*/
|
|
64
|
-
notes
|
|
64
|
+
notes?: string;
|
|
65
65
|
/**
|
|
66
66
|
*
|
|
67
67
|
* @type {string}
|
|
@@ -137,8 +137,6 @@ export function instanceOfSessionPlanData(value: object): boolean {
|
|
|
137
137
|
let isInstance = true;
|
|
138
138
|
isInstance = isInstance && "id" in value;
|
|
139
139
|
isInstance = isInstance && "name" in value;
|
|
140
|
-
isInstance = isInstance && "description" in value;
|
|
141
|
-
isInstance = isInstance && "notes" in value;
|
|
142
140
|
isInstance = isInstance && "startAt" in value;
|
|
143
141
|
isInstance = isInstance && "active" in value;
|
|
144
142
|
isInstance = isInstance && "repeating" in value;
|
|
@@ -160,8 +158,8 @@ export function SessionPlanDataFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
160
158
|
|
|
161
159
|
'id': json['id'],
|
|
162
160
|
'name': json['name'],
|
|
163
|
-
'description': json['description'],
|
|
164
|
-
'notes': json['notes'],
|
|
161
|
+
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
162
|
+
'notes': !exists(json, 'notes') ? undefined : json['notes'],
|
|
165
163
|
'startAt': json['startAt'],
|
|
166
164
|
'endAt': !exists(json, 'endAt') ? undefined : json['endAt'],
|
|
167
165
|
'active': json['active'],
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -49,13 +49,13 @@ export interface SessionPlanSequenceData {
|
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof SessionPlanSequenceData
|
|
51
51
|
*/
|
|
52
|
-
description
|
|
52
|
+
description?: string;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof SessionPlanSequenceData
|
|
57
57
|
*/
|
|
58
|
-
notes
|
|
58
|
+
notes?: string;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
61
|
* @type {UserData}
|
|
@@ -77,8 +77,6 @@ export function instanceOfSessionPlanSequenceData(value: object): boolean {
|
|
|
77
77
|
let isInstance = true;
|
|
78
78
|
isInstance = isInstance && "id" in value;
|
|
79
79
|
isInstance = isInstance && "name" in value;
|
|
80
|
-
isInstance = isInstance && "description" in value;
|
|
81
|
-
isInstance = isInstance && "notes" in value;
|
|
82
80
|
|
|
83
81
|
return isInstance;
|
|
84
82
|
}
|
|
@@ -95,8 +93,8 @@ export function SessionPlanSequenceDataFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
95
93
|
|
|
96
94
|
'id': json['id'],
|
|
97
95
|
'name': json['name'],
|
|
98
|
-
'description': json['description'],
|
|
99
|
-
'notes': json['notes'],
|
|
96
|
+
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
97
|
+
'notes': !exists(json, 'notes') ? undefined : json['notes'],
|
|
100
98
|
'user': !exists(json, 'user') ? undefined : UserDataFromJSON(json['user']),
|
|
101
99
|
'sessionPlanSets': !exists(json, 'sessionPlanSets') ? undefined : ((json['sessionPlanSets'] as Array<any>).map(SessionPlanSetDataFromJSON)),
|
|
102
100
|
};
|
|
@@ -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).
|
|
@@ -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,12 @@ import {
|
|
|
25
25
|
SessionPlanCardioSetDataFromJSONTyped,
|
|
26
26
|
SessionPlanCardioSetDataToJSON,
|
|
27
27
|
} from './SessionPlanCardioSetData';
|
|
28
|
+
import type { SessionPlanSetType } from './SessionPlanSetType';
|
|
29
|
+
import {
|
|
30
|
+
SessionPlanSetTypeFromJSON,
|
|
31
|
+
SessionPlanSetTypeFromJSONTyped,
|
|
32
|
+
SessionPlanSetTypeToJSON,
|
|
33
|
+
} from './SessionPlanSetType';
|
|
28
34
|
import type { SessionPlanStrengthSetData } from './SessionPlanStrengthSetData';
|
|
29
35
|
import {
|
|
30
36
|
SessionPlanStrengthSetDataFromJSON,
|
|
@@ -55,13 +61,13 @@ export interface SessionPlanSetData {
|
|
|
55
61
|
* @type {string}
|
|
56
62
|
* @memberof SessionPlanSetData
|
|
57
63
|
*/
|
|
58
|
-
notes
|
|
64
|
+
notes?: string;
|
|
59
65
|
/**
|
|
60
66
|
*
|
|
61
|
-
* @type {
|
|
67
|
+
* @type {SessionPlanSetType}
|
|
62
68
|
* @memberof SessionPlanSetData
|
|
63
69
|
*/
|
|
64
|
-
type?:
|
|
70
|
+
type?: SessionPlanSetType;
|
|
65
71
|
/**
|
|
66
72
|
*
|
|
67
73
|
* @type {SessionPlanCardioSetData}
|
|
@@ -88,26 +94,12 @@ export interface SessionPlanSetData {
|
|
|
88
94
|
sessionPlanAcvivitySet?: SessionPlanActivitySetData;
|
|
89
95
|
}
|
|
90
96
|
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* @export
|
|
94
|
-
*/
|
|
95
|
-
export const SessionPlanSetDataTypeEnum = {
|
|
96
|
-
Strength: 'strength',
|
|
97
|
-
Stretch: 'stretch',
|
|
98
|
-
Cardio: 'cardio',
|
|
99
|
-
Activity: 'activity'
|
|
100
|
-
} as const;
|
|
101
|
-
export type SessionPlanSetDataTypeEnum = typeof SessionPlanSetDataTypeEnum[keyof typeof SessionPlanSetDataTypeEnum];
|
|
102
|
-
|
|
103
|
-
|
|
104
97
|
/**
|
|
105
98
|
* Check if a given object implements the SessionPlanSetData interface.
|
|
106
99
|
*/
|
|
107
100
|
export function instanceOfSessionPlanSetData(value: object): boolean {
|
|
108
101
|
let isInstance = true;
|
|
109
102
|
isInstance = isInstance && "id" in value;
|
|
110
|
-
isInstance = isInstance && "notes" in value;
|
|
111
103
|
|
|
112
104
|
return isInstance;
|
|
113
105
|
}
|
|
@@ -123,8 +115,8 @@ export function SessionPlanSetDataFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
123
115
|
return {
|
|
124
116
|
|
|
125
117
|
'id': json['id'],
|
|
126
|
-
'notes': json['notes'],
|
|
127
|
-
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
118
|
+
'notes': !exists(json, 'notes') ? undefined : json['notes'],
|
|
119
|
+
'type': !exists(json, 'type') ? undefined : SessionPlanSetTypeFromJSON(json['type']),
|
|
128
120
|
'sessionPlanCardioSet': !exists(json, 'sessionPlanCardioSet') ? undefined : SessionPlanCardioSetDataFromJSON(json['sessionPlanCardioSet']),
|
|
129
121
|
'sessionPlanStrengthSet': !exists(json, 'sessionPlanStrengthSet') ? undefined : SessionPlanStrengthSetDataFromJSON(json['sessionPlanStrengthSet']),
|
|
130
122
|
'sessionPlanStretchSet': !exists(json, 'sessionPlanStretchSet') ? undefined : SessionPlanStretchSetDataFromJSON(json['sessionPlanStretchSet']),
|
|
@@ -143,7 +135,7 @@ export function SessionPlanSetDataToJSON(value?: SessionPlanSetData | null): any
|
|
|
143
135
|
|
|
144
136
|
'id': value.id,
|
|
145
137
|
'notes': value.notes,
|
|
146
|
-
'type': value.type,
|
|
138
|
+
'type': SessionPlanSetTypeToJSON(value.type),
|
|
147
139
|
'sessionPlanCardioSet': SessionPlanCardioSetDataToJSON(value.sessionPlanCardioSet),
|
|
148
140
|
'sessionPlanStrengthSet': SessionPlanStrengthSetDataToJSON(value.sessionPlanStrengthSet),
|
|
149
141
|
'sessionPlanStretchSet': SessionPlanStretchSetDataToJSON(value.sessionPlanStretchSet),
|
|
@@ -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).
|
|
@@ -55,7 +55,7 @@ export interface SessionPlanSetInstanceData {
|
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof SessionPlanSetInstanceData
|
|
57
57
|
*/
|
|
58
|
-
notes
|
|
58
|
+
notes?: string;
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
61
|
* @type {boolean}
|
|
@@ -99,12 +99,17 @@ export interface SessionPlanSetInstanceData {
|
|
|
99
99
|
* @export
|
|
100
100
|
*/
|
|
101
101
|
export const SessionPlanSetInstanceDataTypeEnum = {
|
|
102
|
+
Cardio: 'cardio',
|
|
102
103
|
Strength: 'strength',
|
|
103
104
|
Stretch: 'stretch',
|
|
104
|
-
Cardio: 'cardio',
|
|
105
105
|
Activity: 'activity'
|
|
106
106
|
} as const;
|
|
107
|
-
export type SessionPlanSetInstanceDataTypeEnum =
|
|
107
|
+
export type SessionPlanSetInstanceDataTypeEnum =
|
|
108
|
+
| 'cardio'
|
|
109
|
+
| 'strength'
|
|
110
|
+
| 'stretch'
|
|
111
|
+
| 'activity'
|
|
112
|
+
;
|
|
108
113
|
|
|
109
114
|
|
|
110
115
|
/**
|
|
@@ -113,7 +118,6 @@ export type SessionPlanSetInstanceDataTypeEnum = typeof SessionPlanSetInstanceDa
|
|
|
113
118
|
export function instanceOfSessionPlanSetInstanceData(value: object): boolean {
|
|
114
119
|
let isInstance = true;
|
|
115
120
|
isInstance = isInstance && "id" in value;
|
|
116
|
-
isInstance = isInstance && "notes" in value;
|
|
117
121
|
isInstance = isInstance && "completed" in value;
|
|
118
122
|
|
|
119
123
|
return isInstance;
|
|
@@ -130,7 +134,7 @@ export function SessionPlanSetInstanceDataFromJSONTyped(json: any, ignoreDiscrim
|
|
|
130
134
|
return {
|
|
131
135
|
|
|
132
136
|
'id': json['id'],
|
|
133
|
-
'notes': json['notes'],
|
|
137
|
+
'notes': !exists(json, 'notes') ? undefined : json['notes'],
|
|
134
138
|
'completed': json['completed'],
|
|
135
139
|
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
136
140
|
'sessionPlanCardioSet': !exists(json, 'sessionPlanCardioSet') ? undefined : SessionPlanCardioSetDataFromJSON(json['sessionPlanCardioSet']),
|
|
@@ -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 SessionPlanSetType = {
|
|
21
|
+
Cardio: 'cardio',
|
|
22
|
+
Strength: 'strength',
|
|
23
|
+
Stretch: 'stretch',
|
|
24
|
+
Activity: 'activity'
|
|
25
|
+
} as const;
|
|
26
|
+
export type SessionPlanSetType =
|
|
27
|
+
| 'cardio'
|
|
28
|
+
| 'strength'
|
|
29
|
+
| 'stretch'
|
|
30
|
+
| 'activity'
|
|
31
|
+
;
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
export function SessionPlanSetTypeFromJSON(json: any): SessionPlanSetType {
|
|
35
|
+
return SessionPlanSetTypeFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function SessionPlanSetTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionPlanSetType {
|
|
39
|
+
return json as SessionPlanSetType;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function SessionPlanSetTypeToJSON(value?: SessionPlanSetType | 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).
|
|
@@ -13,6 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { ForceUnit } from './ForceUnit';
|
|
17
|
+
import {
|
|
18
|
+
ForceUnitFromJSON,
|
|
19
|
+
ForceUnitFromJSONTyped,
|
|
20
|
+
ForceUnitToJSON,
|
|
21
|
+
} from './ForceUnit';
|
|
16
22
|
import type { StrengthExerciseData } from './StrengthExerciseData';
|
|
17
23
|
import {
|
|
18
24
|
StrengthExerciseDataFromJSON,
|
|
@@ -46,10 +52,10 @@ export interface SessionPlanStrengthSetData {
|
|
|
46
52
|
resistance: number;
|
|
47
53
|
/**
|
|
48
54
|
*
|
|
49
|
-
* @type {
|
|
55
|
+
* @type {ForceUnit}
|
|
50
56
|
* @memberof SessionPlanStrengthSetData
|
|
51
57
|
*/
|
|
52
|
-
forceUnit:
|
|
58
|
+
forceUnit: ForceUnit;
|
|
53
59
|
/**
|
|
54
60
|
*
|
|
55
61
|
* @type {StrengthExerciseData}
|
|
@@ -64,19 +70,6 @@ export interface SessionPlanStrengthSetData {
|
|
|
64
70
|
strengthMachine?: StrengthMachineData;
|
|
65
71
|
}
|
|
66
72
|
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @export
|
|
70
|
-
*/
|
|
71
|
-
export const SessionPlanStrengthSetDataForceUnitEnum = {
|
|
72
|
-
Lb: 'lb',
|
|
73
|
-
Kg: 'kg',
|
|
74
|
-
Ne: 'ne',
|
|
75
|
-
Er: 'er'
|
|
76
|
-
} as const;
|
|
77
|
-
export type SessionPlanStrengthSetDataForceUnitEnum = typeof SessionPlanStrengthSetDataForceUnitEnum[keyof typeof SessionPlanStrengthSetDataForceUnitEnum];
|
|
78
|
-
|
|
79
|
-
|
|
80
73
|
/**
|
|
81
74
|
* Check if a given object implements the SessionPlanStrengthSetData interface.
|
|
82
75
|
*/
|
|
@@ -101,7 +94,7 @@ export function SessionPlanStrengthSetDataFromJSONTyped(json: any, ignoreDiscrim
|
|
|
101
94
|
|
|
102
95
|
'repetitionCount': json['repetitionCount'],
|
|
103
96
|
'resistance': json['resistance'],
|
|
104
|
-
'forceUnit': json['forceUnit'],
|
|
97
|
+
'forceUnit': ForceUnitFromJSON(json['forceUnit']),
|
|
105
98
|
'strengthExercise': !exists(json, 'strengthExercise') ? undefined : StrengthExerciseDataFromJSON(json['strengthExercise']),
|
|
106
99
|
'strengthMachine': !exists(json, 'strengthMachine') ? undefined : StrengthMachineDataFromJSON(json['strengthMachine']),
|
|
107
100
|
};
|
|
@@ -118,7 +111,7 @@ export function SessionPlanStrengthSetDataToJSON(value?: SessionPlanStrengthSetD
|
|
|
118
111
|
|
|
119
112
|
'repetitionCount': value.repetitionCount,
|
|
120
113
|
'resistance': value.resistance,
|
|
121
|
-
'forceUnit': value.forceUnit,
|
|
114
|
+
'forceUnit': ForceUnitToJSON(value.forceUnit),
|
|
122
115
|
'strengthExercise': StrengthExerciseDataToJSON(value.strengthExercise),
|
|
123
116
|
'strengthMachine': StrengthMachineDataToJSON(value.strengthMachine),
|
|
124
117
|
};
|
|
@@ -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).
|
|
@@ -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 Side = {
|
|
21
|
+
Left: 'left',
|
|
22
|
+
Right: 'right'
|
|
23
|
+
} as const;
|
|
24
|
+
export type Side =
|
|
25
|
+
| 'left'
|
|
26
|
+
| 'right'
|
|
27
|
+
;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
export function SideFromJSON(json: any): Side {
|
|
31
|
+
return SideFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export function SideFromJSONTyped(json: any, ignoreDiscriminator: boolean): Side {
|
|
35
|
+
return json as Side;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function SideToJSON(value?: Side | null): any {
|
|
39
|
+
return value as any;
|
|
40
|
+
}
|
|
41
|
+
|
package/src/models/StatData.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* metrics-sdk-admin
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.1.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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).
|
|
@@ -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).
|
|
@@ -28,16 +28,16 @@ import {
|
|
|
28
28
|
export interface StatListResponseMeta {
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
-
* @type {
|
|
31
|
+
* @type {Date}
|
|
32
32
|
* @memberof StatListResponseMeta
|
|
33
33
|
*/
|
|
34
|
-
from?:
|
|
34
|
+
from?: Date;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {
|
|
37
|
+
* @type {Date}
|
|
38
38
|
* @memberof StatListResponseMeta
|
|
39
39
|
*/
|
|
40
|
-
to?:
|
|
40
|
+
to?: Date;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
* @type {StatSorting}
|
|
@@ -90,8 +90,8 @@ export function StatListResponseMetaFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
90
90
|
}
|
|
91
91
|
return {
|
|
92
92
|
|
|
93
|
-
'from': !exists(json, 'from') ? undefined : json['from'],
|
|
94
|
-
'to': !exists(json, 'to') ? undefined : json['to'],
|
|
93
|
+
'from': !exists(json, 'from') ? undefined : (new Date(json['from'])),
|
|
94
|
+
'to': !exists(json, 'to') ? undefined : (new Date(json['to'])),
|
|
95
95
|
'sort': StatSortingFromJSON(json['sort']),
|
|
96
96
|
'ascending': !exists(json, 'ascending') ? undefined : json['ascending'],
|
|
97
97
|
'limit': !exists(json, 'limit') ? undefined : json['limit'],
|
|
@@ -109,8 +109,8 @@ export function StatListResponseMetaToJSON(value?: StatListResponseMeta | null):
|
|
|
109
109
|
}
|
|
110
110
|
return {
|
|
111
111
|
|
|
112
|
-
'from': value.from,
|
|
113
|
-
'to': value.to,
|
|
112
|
+
'from': value.from === undefined ? undefined : (value.from.toISOString()),
|
|
113
|
+
'to': value.to === undefined ? undefined : (value.to.toISOString()),
|
|
114
114
|
'sort': StatSortingToJSON(value.sort),
|
|
115
115
|
'ascending': value.ascending,
|
|
116
116
|
'limit': value.limit,
|
|
@@ -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).
|
|
@@ -21,7 +21,10 @@ export const StatSorting = {
|
|
|
21
21
|
Id: 'id',
|
|
22
22
|
CreatedAt: 'createdAt'
|
|
23
23
|
} as const;
|
|
24
|
-
export type StatSorting =
|
|
24
|
+
export type StatSorting =
|
|
25
|
+
| 'id'
|
|
26
|
+
| 'createdAt'
|
|
27
|
+
;
|
|
25
28
|
|
|
26
29
|
|
|
27
30
|
export function StatSortingFromJSON(json: any): StatSorting {
|
|
@@ -0,0 +1,47 @@
|
|
|
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 StrengthExerciseCategory = {
|
|
21
|
+
LowerBody: 'lowerBody',
|
|
22
|
+
UpperBody: 'upperBody',
|
|
23
|
+
Core: 'core',
|
|
24
|
+
Explosive: 'explosive',
|
|
25
|
+
Complex: 'complex'
|
|
26
|
+
} as const;
|
|
27
|
+
export type StrengthExerciseCategory =
|
|
28
|
+
| 'lowerBody'
|
|
29
|
+
| 'upperBody'
|
|
30
|
+
| 'core'
|
|
31
|
+
| 'explosive'
|
|
32
|
+
| 'complex'
|
|
33
|
+
;
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
export function StrengthExerciseCategoryFromJSON(json: any): StrengthExerciseCategory {
|
|
37
|
+
return StrengthExerciseCategoryFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function StrengthExerciseCategoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): StrengthExerciseCategory {
|
|
41
|
+
return json as StrengthExerciseCategory;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function StrengthExerciseCategoryToJSON(value?: StrengthExerciseCategory | null): any {
|
|
45
|
+
return value as any;
|
|
46
|
+
}
|
|
47
|
+
|