@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 CharacterType = {
|
|
21
|
+
Numeric: 'numeric',
|
|
22
|
+
Alpha: 'alpha'
|
|
23
|
+
} as const;
|
|
24
|
+
export type CharacterType =
|
|
25
|
+
| 'numeric'
|
|
26
|
+
| 'alpha'
|
|
27
|
+
;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
export function CharacterTypeFromJSON(json: any): CharacterType {
|
|
31
|
+
return CharacterTypeFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export function CharacterTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CharacterType {
|
|
35
|
+
return json as CharacterType;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function CharacterTypeToJSON(value?: CharacterType | 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).
|
|
@@ -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 EmployeeRole = {
|
|
21
|
+
Admin: 'admin',
|
|
22
|
+
CustomerSupport: 'customerSupport',
|
|
23
|
+
Trainer: 'trainer',
|
|
24
|
+
FrontDesk: 'frontDesk',
|
|
25
|
+
Maintenance: 'maintenance'
|
|
26
|
+
} as const;
|
|
27
|
+
export type EmployeeRole =
|
|
28
|
+
| 'admin'
|
|
29
|
+
| 'customerSupport'
|
|
30
|
+
| 'trainer'
|
|
31
|
+
| 'frontDesk'
|
|
32
|
+
| 'maintenance'
|
|
33
|
+
;
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
export function EmployeeRoleFromJSON(json: any): EmployeeRole {
|
|
37
|
+
return EmployeeRoleFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function EmployeeRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmployeeRole {
|
|
41
|
+
return json as EmployeeRole;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function EmployeeRoleToJSON(value?: EmployeeRole | null): any {
|
|
45
|
+
return value as any;
|
|
46
|
+
}
|
|
47
|
+
|
|
@@ -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
|
CardioExerciseDataFromJSONTyped,
|
|
20
20
|
CardioExerciseDataToJSON,
|
|
21
21
|
} from './CardioExerciseData';
|
|
22
|
+
import type { ExerciseAliasType } from './ExerciseAliasType';
|
|
23
|
+
import {
|
|
24
|
+
ExerciseAliasTypeFromJSON,
|
|
25
|
+
ExerciseAliasTypeFromJSONTyped,
|
|
26
|
+
ExerciseAliasTypeToJSON,
|
|
27
|
+
} from './ExerciseAliasType';
|
|
22
28
|
import type { StrengthExerciseData } from './StrengthExerciseData';
|
|
23
29
|
import {
|
|
24
30
|
StrengthExerciseDataFromJSON,
|
|
@@ -52,10 +58,10 @@ export interface ExerciseAliasData {
|
|
|
52
58
|
alias: string;
|
|
53
59
|
/**
|
|
54
60
|
*
|
|
55
|
-
* @type {
|
|
61
|
+
* @type {ExerciseAliasType}
|
|
56
62
|
* @memberof ExerciseAliasData
|
|
57
63
|
*/
|
|
58
|
-
type?:
|
|
64
|
+
type?: ExerciseAliasType;
|
|
59
65
|
/**
|
|
60
66
|
*
|
|
61
67
|
* @type {StrengthExerciseData}
|
|
@@ -76,18 +82,6 @@ export interface ExerciseAliasData {
|
|
|
76
82
|
stretchExercise?: StretchExerciseData;
|
|
77
83
|
}
|
|
78
84
|
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* @export
|
|
82
|
-
*/
|
|
83
|
-
export const ExerciseAliasDataTypeEnum = {
|
|
84
|
-
Strength: 'strength',
|
|
85
|
-
Stretch: 'stretch',
|
|
86
|
-
Cardio: 'cardio'
|
|
87
|
-
} as const;
|
|
88
|
-
export type ExerciseAliasDataTypeEnum = typeof ExerciseAliasDataTypeEnum[keyof typeof ExerciseAliasDataTypeEnum];
|
|
89
|
-
|
|
90
|
-
|
|
91
85
|
/**
|
|
92
86
|
* Check if a given object implements the ExerciseAliasData interface.
|
|
93
87
|
*/
|
|
@@ -111,7 +105,7 @@ export function ExerciseAliasDataFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
111
105
|
|
|
112
106
|
'id': json['id'],
|
|
113
107
|
'alias': json['alias'],
|
|
114
|
-
'type': !exists(json, 'type') ? undefined : json['type'],
|
|
108
|
+
'type': !exists(json, 'type') ? undefined : ExerciseAliasTypeFromJSON(json['type']),
|
|
115
109
|
'strengthExercise': !exists(json, 'strengthExercise') ? undefined : StrengthExerciseDataFromJSON(json['strengthExercise']),
|
|
116
110
|
'cardioExercise': !exists(json, 'cardioExercise') ? undefined : CardioExerciseDataFromJSON(json['cardioExercise']),
|
|
117
111
|
'stretchExercise': !exists(json, 'stretchExercise') ? undefined : StretchExerciseDataFromJSON(json['stretchExercise']),
|
|
@@ -129,7 +123,7 @@ export function ExerciseAliasDataToJSON(value?: ExerciseAliasData | null): any {
|
|
|
129
123
|
|
|
130
124
|
'id': value.id,
|
|
131
125
|
'alias': value.alias,
|
|
132
|
-
'type': value.type,
|
|
126
|
+
'type': ExerciseAliasTypeToJSON(value.type),
|
|
133
127
|
'strengthExercise': StrengthExerciseDataToJSON(value.strengthExercise),
|
|
134
128
|
'cardioExercise': CardioExerciseDataToJSON(value.cardioExercise),
|
|
135
129
|
'stretchExercise': StretchExerciseDataToJSON(value.stretchExercise),
|
|
@@ -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 ExerciseAliasType = {
|
|
21
|
+
Cardio: 'cardio',
|
|
22
|
+
Strength: 'strength',
|
|
23
|
+
Stretch: 'stretch'
|
|
24
|
+
} as const;
|
|
25
|
+
export type ExerciseAliasType =
|
|
26
|
+
| 'cardio'
|
|
27
|
+
| 'strength'
|
|
28
|
+
| 'stretch'
|
|
29
|
+
;
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
export function ExerciseAliasTypeFromJSON(json: any): ExerciseAliasType {
|
|
33
|
+
return ExerciseAliasTypeFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export function ExerciseAliasTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExerciseAliasType {
|
|
37
|
+
return json as ExerciseAliasType;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function ExerciseAliasTypeToJSON(value?: ExerciseAliasType | null): any {
|
|
41
|
+
return value as any;
|
|
42
|
+
}
|
|
43
|
+
|
|
@@ -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).
|
|
@@ -0,0 +1,39 @@
|
|
|
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 ExerciseRight = {
|
|
21
|
+
Edit: 'edit'
|
|
22
|
+
} as const;
|
|
23
|
+
export type ExerciseRight =
|
|
24
|
+
| 'edit'
|
|
25
|
+
;
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export function ExerciseRightFromJSON(json: any): ExerciseRight {
|
|
29
|
+
return ExerciseRightFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export function ExerciseRightFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExerciseRight {
|
|
33
|
+
return json as ExerciseRight;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export function ExerciseRightToJSON(value?: ExerciseRight | null): any {
|
|
37
|
+
return value as any;
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -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,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { CharacterType } from './CharacterType';
|
|
17
|
+
import {
|
|
18
|
+
CharacterTypeFromJSON,
|
|
19
|
+
CharacterTypeFromJSONTyped,
|
|
20
|
+
CharacterTypeToJSON,
|
|
21
|
+
} from './CharacterType';
|
|
22
|
+
|
|
16
23
|
/**
|
|
17
24
|
*
|
|
18
25
|
* @export
|
|
@@ -27,10 +34,10 @@ export interface FacilityConfigurationData {
|
|
|
27
34
|
facilityId: number;
|
|
28
35
|
/**
|
|
29
36
|
*
|
|
30
|
-
* @type {
|
|
37
|
+
* @type {CharacterType}
|
|
31
38
|
* @memberof FacilityConfigurationData
|
|
32
39
|
*/
|
|
33
|
-
memberIdentificationComposition:
|
|
40
|
+
memberIdentificationComposition: CharacterType;
|
|
34
41
|
/**
|
|
35
42
|
*
|
|
36
43
|
* @type {boolean}
|
|
@@ -51,10 +58,10 @@ export interface FacilityConfigurationData {
|
|
|
51
58
|
memberIdentificationRegex: string;
|
|
52
59
|
/**
|
|
53
60
|
*
|
|
54
|
-
* @type {
|
|
61
|
+
* @type {CharacterType}
|
|
55
62
|
* @memberof FacilityConfigurationData
|
|
56
63
|
*/
|
|
57
|
-
memberSecretComposition:
|
|
64
|
+
memberSecretComposition: CharacterType;
|
|
58
65
|
/**
|
|
59
66
|
*
|
|
60
67
|
* @type {boolean}
|
|
@@ -81,26 +88,6 @@ export interface FacilityConfigurationData {
|
|
|
81
88
|
memberRequireEmail: boolean;
|
|
82
89
|
}
|
|
83
90
|
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @export
|
|
87
|
-
*/
|
|
88
|
-
export const FacilityConfigurationDataMemberIdentificationCompositionEnum = {
|
|
89
|
-
Numeric: 'numeric',
|
|
90
|
-
Alpha: 'alpha'
|
|
91
|
-
} as const;
|
|
92
|
-
export type FacilityConfigurationDataMemberIdentificationCompositionEnum = typeof FacilityConfigurationDataMemberIdentificationCompositionEnum[keyof typeof FacilityConfigurationDataMemberIdentificationCompositionEnum];
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* @export
|
|
96
|
-
*/
|
|
97
|
-
export const FacilityConfigurationDataMemberSecretCompositionEnum = {
|
|
98
|
-
Numeric: 'numeric',
|
|
99
|
-
Alpha: 'alpha'
|
|
100
|
-
} as const;
|
|
101
|
-
export type FacilityConfigurationDataMemberSecretCompositionEnum = typeof FacilityConfigurationDataMemberSecretCompositionEnum[keyof typeof FacilityConfigurationDataMemberSecretCompositionEnum];
|
|
102
|
-
|
|
103
|
-
|
|
104
91
|
/**
|
|
105
92
|
* Check if a given object implements the FacilityConfigurationData interface.
|
|
106
93
|
*/
|
|
@@ -131,11 +118,11 @@ export function FacilityConfigurationDataFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
131
118
|
return {
|
|
132
119
|
|
|
133
120
|
'facilityId': json['facilityId'],
|
|
134
|
-
'memberIdentificationComposition': json['memberIdentificationComposition'],
|
|
121
|
+
'memberIdentificationComposition': CharacterTypeFromJSON(json['memberIdentificationComposition']),
|
|
135
122
|
'memberIdentificationForceLength': json['memberIdentificationForceLength'],
|
|
136
123
|
'memberIdentificationLength': json['memberIdentificationLength'],
|
|
137
124
|
'memberIdentificationRegex': json['memberIdentificationRegex'],
|
|
138
|
-
'memberSecretComposition': json['memberSecretComposition'],
|
|
125
|
+
'memberSecretComposition': CharacterTypeFromJSON(json['memberSecretComposition']),
|
|
139
126
|
'memberSecretForceLength': json['memberSecretForceLength'],
|
|
140
127
|
'memberSecretLength': json['memberSecretLength'],
|
|
141
128
|
'memberSecretRegex': json['memberSecretRegex'],
|
|
@@ -153,11 +140,11 @@ export function FacilityConfigurationDataToJSON(value?: FacilityConfigurationDat
|
|
|
153
140
|
return {
|
|
154
141
|
|
|
155
142
|
'facilityId': value.facilityId,
|
|
156
|
-
'memberIdentificationComposition': value.memberIdentificationComposition,
|
|
143
|
+
'memberIdentificationComposition': CharacterTypeToJSON(value.memberIdentificationComposition),
|
|
157
144
|
'memberIdentificationForceLength': value.memberIdentificationForceLength,
|
|
158
145
|
'memberIdentificationLength': value.memberIdentificationLength,
|
|
159
146
|
'memberIdentificationRegex': value.memberIdentificationRegex,
|
|
160
|
-
'memberSecretComposition': value.memberSecretComposition,
|
|
147
|
+
'memberSecretComposition': CharacterTypeToJSON(value.memberSecretComposition),
|
|
161
148
|
'memberSecretForceLength': value.memberSecretForceLength,
|
|
162
149
|
'memberSecretLength': value.memberSecretLength,
|
|
163
150
|
'memberSecretRegex': value.memberSecretRegex,
|
|
@@ -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).
|
|
@@ -19,6 +19,12 @@ import {
|
|
|
19
19
|
FacilityDataFromJSONTyped,
|
|
20
20
|
FacilityDataToJSON,
|
|
21
21
|
} from './FacilityData';
|
|
22
|
+
import type { FacilityLicenseType } from './FacilityLicenseType';
|
|
23
|
+
import {
|
|
24
|
+
FacilityLicenseTypeFromJSON,
|
|
25
|
+
FacilityLicenseTypeFromJSONTyped,
|
|
26
|
+
FacilityLicenseTypeToJSON,
|
|
27
|
+
} from './FacilityLicenseType';
|
|
22
28
|
|
|
23
29
|
/**
|
|
24
30
|
*
|
|
@@ -52,10 +58,10 @@ export interface FacilityLicenseData {
|
|
|
52
58
|
term: number;
|
|
53
59
|
/**
|
|
54
60
|
*
|
|
55
|
-
* @type {
|
|
61
|
+
* @type {FacilityLicenseType}
|
|
56
62
|
* @memberof FacilityLicenseData
|
|
57
63
|
*/
|
|
58
|
-
type:
|
|
64
|
+
type: FacilityLicenseType;
|
|
59
65
|
/**
|
|
60
66
|
*
|
|
61
67
|
* @type {number}
|
|
@@ -76,18 +82,6 @@ export interface FacilityLicenseData {
|
|
|
76
82
|
facility?: FacilityData;
|
|
77
83
|
}
|
|
78
84
|
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* @export
|
|
82
|
-
*/
|
|
83
|
-
export const FacilityLicenseDataTypeEnum = {
|
|
84
|
-
Normal: 'normal',
|
|
85
|
-
Test: 'test',
|
|
86
|
-
Demo: 'demo'
|
|
87
|
-
} as const;
|
|
88
|
-
export type FacilityLicenseDataTypeEnum = typeof FacilityLicenseDataTypeEnum[keyof typeof FacilityLicenseDataTypeEnum];
|
|
89
|
-
|
|
90
|
-
|
|
91
85
|
/**
|
|
92
86
|
* Check if a given object implements the FacilityLicenseData interface.
|
|
93
87
|
*/
|
|
@@ -115,7 +109,7 @@ export function FacilityLicenseDataFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
115
109
|
'key': json['key'],
|
|
116
110
|
'accountId': !exists(json, 'accountId') ? undefined : json['accountId'],
|
|
117
111
|
'term': json['term'],
|
|
118
|
-
'type': json['type'],
|
|
112
|
+
'type': FacilityLicenseTypeFromJSON(json['type']),
|
|
119
113
|
'facilityId': !exists(json, 'facilityId') ? undefined : json['facilityId'],
|
|
120
114
|
'effectiveDate': !exists(json, 'effectiveDate') ? undefined : (new Date(json['effectiveDate'])),
|
|
121
115
|
'facility': !exists(json, 'facility') ? undefined : FacilityDataFromJSON(json['facility']),
|
|
@@ -135,7 +129,7 @@ export function FacilityLicenseDataToJSON(value?: FacilityLicenseData | null): a
|
|
|
135
129
|
'key': value.key,
|
|
136
130
|
'accountId': value.accountId,
|
|
137
131
|
'term': value.term,
|
|
138
|
-
'type': value.type,
|
|
132
|
+
'type': FacilityLicenseTypeToJSON(value.type),
|
|
139
133
|
'facilityId': value.facilityId,
|
|
140
134
|
'effectiveDate': value.effectiveDate === undefined ? undefined : (value.effectiveDate.toISOString()),
|
|
141
135
|
'facility': FacilityDataToJSON(value.facility),
|
|
@@ -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).
|
|
@@ -19,6 +19,12 @@ import {
|
|
|
19
19
|
FacilityLicenseSortingFromJSONTyped,
|
|
20
20
|
FacilityLicenseSortingToJSON,
|
|
21
21
|
} from './FacilityLicenseSorting';
|
|
22
|
+
import type { FacilityLicenseType } from './FacilityLicenseType';
|
|
23
|
+
import {
|
|
24
|
+
FacilityLicenseTypeFromJSON,
|
|
25
|
+
FacilityLicenseTypeFromJSONTyped,
|
|
26
|
+
FacilityLicenseTypeToJSON,
|
|
27
|
+
} from './FacilityLicenseType';
|
|
22
28
|
|
|
23
29
|
/**
|
|
24
30
|
*
|
|
@@ -37,19 +43,19 @@ export interface FacilityLicenseListResponseMeta {
|
|
|
37
43
|
* @type {string}
|
|
38
44
|
* @memberof FacilityLicenseListResponseMeta
|
|
39
45
|
*/
|
|
40
|
-
key
|
|
46
|
+
key?: string;
|
|
41
47
|
/**
|
|
42
48
|
*
|
|
43
|
-
* @type {
|
|
49
|
+
* @type {FacilityLicenseType}
|
|
44
50
|
* @memberof FacilityLicenseListResponseMeta
|
|
45
51
|
*/
|
|
46
|
-
type
|
|
52
|
+
type?: FacilityLicenseType;
|
|
47
53
|
/**
|
|
48
54
|
*
|
|
49
55
|
* @type {string}
|
|
50
56
|
* @memberof FacilityLicenseListResponseMeta
|
|
51
57
|
*/
|
|
52
|
-
accountId
|
|
58
|
+
accountId?: string;
|
|
53
59
|
/**
|
|
54
60
|
*
|
|
55
61
|
* @type {FacilityLicenseSorting}
|
|
@@ -82,26 +88,11 @@ export interface FacilityLicenseListResponseMeta {
|
|
|
82
88
|
totalCount?: number;
|
|
83
89
|
}
|
|
84
90
|
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* @export
|
|
88
|
-
*/
|
|
89
|
-
export const FacilityLicenseListResponseMetaTypeEnum = {
|
|
90
|
-
Normal: 'normal',
|
|
91
|
-
Test: 'test',
|
|
92
|
-
Demo: 'demo'
|
|
93
|
-
} as const;
|
|
94
|
-
export type FacilityLicenseListResponseMetaTypeEnum = typeof FacilityLicenseListResponseMetaTypeEnum[keyof typeof FacilityLicenseListResponseMetaTypeEnum];
|
|
95
|
-
|
|
96
|
-
|
|
97
91
|
/**
|
|
98
92
|
* Check if a given object implements the FacilityLicenseListResponseMeta interface.
|
|
99
93
|
*/
|
|
100
94
|
export function instanceOfFacilityLicenseListResponseMeta(value: object): boolean {
|
|
101
95
|
let isInstance = true;
|
|
102
|
-
isInstance = isInstance && "key" in value;
|
|
103
|
-
isInstance = isInstance && "type" in value;
|
|
104
|
-
isInstance = isInstance && "accountId" in value;
|
|
105
96
|
isInstance = isInstance && "sort" in value;
|
|
106
97
|
|
|
107
98
|
return isInstance;
|
|
@@ -118,9 +109,9 @@ export function FacilityLicenseListResponseMetaFromJSONTyped(json: any, ignoreDi
|
|
|
118
109
|
return {
|
|
119
110
|
|
|
120
111
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
121
|
-
'key': json['key'],
|
|
122
|
-
'type': json['type'],
|
|
123
|
-
'accountId': json['accountId'],
|
|
112
|
+
'key': !exists(json, 'key') ? undefined : json['key'],
|
|
113
|
+
'type': !exists(json, 'type') ? undefined : FacilityLicenseTypeFromJSON(json['type']),
|
|
114
|
+
'accountId': !exists(json, 'accountId') ? undefined : json['accountId'],
|
|
124
115
|
'sort': FacilityLicenseSortingFromJSON(json['sort']),
|
|
125
116
|
'ascending': !exists(json, 'ascending') ? undefined : json['ascending'],
|
|
126
117
|
'limit': !exists(json, 'limit') ? undefined : json['limit'],
|
|
@@ -140,7 +131,7 @@ export function FacilityLicenseListResponseMetaToJSON(value?: FacilityLicenseLis
|
|
|
140
131
|
|
|
141
132
|
'name': value.name,
|
|
142
133
|
'key': value.key,
|
|
143
|
-
'type': value.type,
|
|
134
|
+
'type': FacilityLicenseTypeToJSON(value.type),
|
|
144
135
|
'accountId': value.accountId,
|
|
145
136
|
'sort': FacilityLicenseSortingToJSON(value.sort),
|
|
146
137
|
'ascending': value.ascending,
|
|
@@ -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).
|
|
@@ -23,7 +23,12 @@ export const FacilityLicenseSorting = {
|
|
|
23
23
|
Term: 'term',
|
|
24
24
|
EffectiveDate: 'effectiveDate'
|
|
25
25
|
} as const;
|
|
26
|
-
export type FacilityLicenseSorting =
|
|
26
|
+
export type FacilityLicenseSorting =
|
|
27
|
+
| 'id'
|
|
28
|
+
| 'type'
|
|
29
|
+
| 'term'
|
|
30
|
+
| 'effectiveDate'
|
|
31
|
+
;
|
|
27
32
|
|
|
28
33
|
|
|
29
34
|
export function FacilityLicenseSortingFromJSON(json: any): FacilityLicenseSorting {
|
|
@@ -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 FacilityLicenseType = {
|
|
21
|
+
Normal: 'normal',
|
|
22
|
+
Demo: 'demo',
|
|
23
|
+
Test: 'test'
|
|
24
|
+
} as const;
|
|
25
|
+
export type FacilityLicenseType =
|
|
26
|
+
| 'normal'
|
|
27
|
+
| 'demo'
|
|
28
|
+
| 'test'
|
|
29
|
+
;
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
export function FacilityLicenseTypeFromJSON(json: any): FacilityLicenseType {
|
|
33
|
+
return FacilityLicenseTypeFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export function FacilityLicenseTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): FacilityLicenseType {
|
|
37
|
+
return json as FacilityLicenseType;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function FacilityLicenseTypeToJSON(value?: FacilityLicenseType | null): any {
|
|
41
|
+
return value as any;
|
|
42
|
+
}
|
|
43
|
+
|
|
@@ -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).
|