@keiser/metrics-sdk-admin-typescript 5.3.17 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (391) hide show
  1. package/README.md +27 -2
  2. package/dist/apis/MetricsAdminApi.d.ts +13 -2
  3. package/dist/connection.d.ts +3 -3
  4. package/dist/index.js +6006 -3206
  5. package/dist/index.mjs +5864 -3207
  6. package/dist/models/A400DataSetData.d.ts +50 -0
  7. package/dist/models/A500AppType.d.ts +20 -8
  8. package/dist/models/A500DataSetData.d.ts +5 -5
  9. package/dist/models/A500DataSetType.d.ts +18 -6
  10. package/dist/models/A500MachineStateData.d.ts +4 -4
  11. package/dist/models/A500RepDataPointData.d.ts +3 -3
  12. package/dist/models/A500TestResultData.d.ts +2 -2
  13. package/dist/models/A500TimeSeriesPointData.d.ts +2 -2
  14. package/dist/models/AcceptedTermsVersionData.d.ts +2 -2
  15. package/dist/models/AccessControlRight.d.ts +18 -6
  16. package/dist/models/AnalyticRight.d.ts +17 -5
  17. package/dist/models/BodyCompositionMeasurementData.d.ts +2 -2
  18. package/dist/models/CacheKeysResponse.d.ts +2 -2
  19. package/dist/models/CacheObject.d.ts +2 -2
  20. package/dist/models/CacheObjectResponse.d.ts +2 -2
  21. package/dist/models/CardioExerciseData.d.ts +4 -4
  22. package/dist/models/CardioExerciseVariantData.d.ts +4 -4
  23. package/dist/models/CardioExerciseVariantType.d.ts +17 -5
  24. package/dist/models/CardioMachineData.d.ts +3 -3
  25. package/dist/models/CardioMachineParseCode.d.ts +18 -6
  26. package/dist/models/CharacterType.d.ts +18 -6
  27. package/dist/models/DisplayDataMode.d.ts +35 -0
  28. package/dist/models/DisplayFocusMode.d.ts +35 -0
  29. package/dist/models/DisplayUnit.d.ts +36 -0
  30. package/dist/models/EmailAddressData.d.ts +2 -2
  31. package/dist/models/EmployeeRole.d.ts +21 -9
  32. package/dist/models/Exercise.d.ts +49 -0
  33. package/dist/models/ExerciseAliasData.d.ts +4 -4
  34. package/dist/models/ExerciseAliasType.d.ts +19 -7
  35. package/dist/models/ExerciseOrdinalSetAssignmentData.d.ts +3 -3
  36. package/dist/models/ExerciseOrdinalSetData.d.ts +2 -2
  37. package/dist/models/ExerciseRight.d.ts +17 -5
  38. package/dist/models/FacilityConfigurationData.d.ts +2 -2
  39. package/dist/models/FacilityData.d.ts +15 -2
  40. package/dist/models/FacilityDisplayConfigurationData.d.ts +132 -0
  41. package/dist/models/FacilityDisplayOperatingSchedule.d.ts +68 -0
  42. package/dist/models/FacilityDisplayOperatingScheduleEntry.d.ts +38 -0
  43. package/dist/models/FacilityDisplayOperatingScheduleTime.d.ts +37 -0
  44. package/dist/models/FacilityLicenseData.d.ts +2 -2
  45. package/dist/models/FacilityLicenseListResponse.d.ts +2 -2
  46. package/dist/models/FacilityLicenseListResponseMeta.d.ts +2 -2
  47. package/dist/models/FacilityLicenseResponse.d.ts +2 -2
  48. package/dist/models/FacilityLicenseSorting.d.ts +20 -8
  49. package/dist/models/FacilityLicenseType.d.ts +19 -7
  50. package/dist/models/FacilityProfileData.d.ts +2 -2
  51. package/dist/models/FacilityRelationshipData.d.ts +21 -3
  52. package/dist/models/FacilityResponse.d.ts +44 -0
  53. package/dist/models/FacilityRight.d.ts +18 -6
  54. package/dist/models/FacilitySessionUserData.d.ts +6 -6
  55. package/dist/models/FacilityStrengthMachineConfigurationData.d.ts +3 -3
  56. package/dist/models/FacilityStrengthMachineData.d.ts +3 -3
  57. package/dist/models/ForceUnit.d.ts +20 -8
  58. package/dist/models/GlobalAccessControlCreationResponse.d.ts +2 -2
  59. package/dist/models/GlobalAccessControlData.d.ts +6 -6
  60. package/dist/models/GlobalAccessControlListResponse.d.ts +2 -2
  61. package/dist/models/GlobalAccessControlListResponseMeta.d.ts +2 -2
  62. package/dist/models/GlobalAccessControlResponse.d.ts +2 -2
  63. package/dist/models/GlobalAccessControlSecretData.d.ts +2 -2
  64. package/dist/models/GlobalAccessControlSecretResponse.d.ts +2 -2
  65. package/dist/models/GlobalAccessControlSorting.d.ts +18 -6
  66. package/dist/models/HeartRateDataPointData.d.ts +2 -2
  67. package/dist/models/HeartRateDataSetData.d.ts +2 -2
  68. package/dist/models/HeartRateDataSetSessionData.d.ts +2 -2
  69. package/dist/models/HeightMeasurementData.d.ts +2 -2
  70. package/dist/models/High.d.ts +2 -2
  71. package/dist/models/LicenseRight.d.ts +18 -6
  72. package/dist/models/Low.d.ts +2 -2
  73. package/dist/models/MSeriesDataPointData.d.ts +2 -2
  74. package/dist/models/MSeriesDataSetData.d.ts +4 -4
  75. package/dist/models/MSeriesDataSetSegmentData.d.ts +2 -2
  76. package/dist/models/MSeriesFtpMeasurementData.d.ts +2 -2
  77. package/dist/models/MSeriesGuidedSessionRight.d.ts +18 -6
  78. package/dist/models/MachineWorkoutSetResponseData.d.ts +154 -0
  79. package/dist/models/MaintenanceStatus.d.ts +2 -2
  80. package/dist/models/MotionDataPoint.d.ts +79 -0
  81. package/dist/models/MuscleArea.d.ts +19 -7
  82. package/dist/models/MuscleData.d.ts +2 -2
  83. package/dist/models/MuscleGroup.d.ts +30 -18
  84. package/dist/models/MuscleTargetLevel.d.ts +19 -7
  85. package/dist/models/OAuthServiceData.d.ts +2 -2
  86. package/dist/models/PowerRegression.d.ts +43 -0
  87. package/dist/models/PrimaryEmailAddressData.d.ts +2 -2
  88. package/dist/models/ProfileData.d.ts +14 -2
  89. package/dist/models/Queue.d.ts +18 -6
  90. package/dist/models/ResistancePrecision.d.ts +18 -6
  91. package/dist/models/ResqueDetailsData.d.ts +6 -4
  92. package/dist/models/ResqueDetailsResponse.d.ts +2 -2
  93. package/dist/models/ResqueRight.d.ts +18 -6
  94. package/dist/models/ServiceStatusResponse.d.ts +2 -2
  95. package/dist/models/SessionData.d.ts +6 -6
  96. package/dist/models/SessionPlanActivitySetData.d.ts +2 -2
  97. package/dist/models/SessionPlanCardioSetData.d.ts +3 -3
  98. package/dist/models/SessionPlanData.d.ts +3 -3
  99. package/dist/models/SessionPlanSequenceAssignmentData.d.ts +2 -2
  100. package/dist/models/SessionPlanSequenceData.d.ts +2 -2
  101. package/dist/models/SessionPlanSequenceInstanceData.d.ts +3 -3
  102. package/dist/models/SessionPlanSetData.d.ts +4 -4
  103. package/dist/models/SessionPlanSetInstanceData.d.ts +3 -3
  104. package/dist/models/SessionPlanSetType.d.ts +20 -8
  105. package/dist/models/SessionPlanStrengthSetData.d.ts +3 -3
  106. package/dist/models/SessionPlanStretchSetData.d.ts +2 -2
  107. package/dist/models/SetType.d.ts +36 -0
  108. package/dist/models/Side.d.ts +18 -6
  109. package/dist/models/SixRepTestData.d.ts +43 -0
  110. package/dist/models/StatData.d.ts +2 -2
  111. package/dist/models/StatListResponse.d.ts +3 -3
  112. package/dist/models/StatListResponseMeta.d.ts +2 -2
  113. package/dist/models/StatSorting.d.ts +18 -6
  114. package/dist/models/StrengthExerciseCategory.d.ts +21 -9
  115. package/dist/models/StrengthExerciseData.d.ts +5 -5
  116. package/dist/models/StrengthExerciseMovement.d.ts +18 -6
  117. package/dist/models/StrengthExerciseMovementDEP.d.ts +18 -6
  118. package/dist/models/StrengthExercisePlane.d.ts +19 -7
  119. package/dist/models/StrengthExerciseVariantAttachment.d.ts +25 -13
  120. package/dist/models/StrengthExerciseVariantData.d.ts +6 -6
  121. package/dist/models/StrengthExerciseVariantType.d.ts +22 -10
  122. package/dist/models/StrengthMachineAppType.d.ts +20 -8
  123. package/dist/models/StrengthMachineData.d.ts +10 -3
  124. package/dist/models/StrengthMachineDataSetData.d.ts +37 -5
  125. package/dist/models/StrengthMachineDataSetTestData.d.ts +3 -3
  126. package/dist/models/StrengthMachineDataSetTestSubsetData.d.ts +2 -2
  127. package/dist/models/StrengthMachineLine.d.ts +23 -11
  128. package/dist/models/StrengthMachineModelData.d.ts +2 -2
  129. package/dist/models/StrengthMachineModelNumberData.d.ts +37 -0
  130. package/dist/models/StrengthTestType.d.ts +20 -8
  131. package/dist/models/StretchExerciseData.d.ts +3 -3
  132. package/dist/models/StretchExerciseVariantData.d.ts +2 -2
  133. package/dist/models/StretchExerciseVariantType.d.ts +17 -5
  134. package/dist/models/TaskFailedResponse.d.ts +3 -3
  135. package/dist/models/TaskFailure.d.ts +3 -3
  136. package/dist/models/TaskPayload.d.ts +2 -2
  137. package/dist/models/TaskQueueResponse.d.ts +3 -3
  138. package/dist/models/TaskQueueResponseMeta.d.ts +2 -2
  139. package/dist/models/TaskQueues.d.ts +2 -2
  140. package/dist/models/TaskSorting.d.ts +17 -5
  141. package/dist/models/TaskStats.d.ts +2 -2
  142. package/dist/models/TenRepTestData.d.ts +59 -0
  143. package/dist/models/TenRepTestSideResults.d.ts +63 -0
  144. package/dist/models/TestSide.d.ts +19 -7
  145. package/dist/models/TimeZone.d.ts +625 -0
  146. package/dist/models/UserData.d.ts +6 -6
  147. package/dist/models/UserListResponse.d.ts +2 -2
  148. package/dist/models/UserListResponseMeta.d.ts +2 -2
  149. package/dist/models/UserResponse.d.ts +2 -2
  150. package/dist/models/UserRight.d.ts +18 -6
  151. package/dist/models/UserSorting.d.ts +19 -7
  152. package/dist/models/Value.d.ts +37 -0
  153. package/dist/models/VelocityRegression.d.ts +37 -0
  154. package/dist/models/WeightMeasurementData.d.ts +2 -2
  155. package/dist/models/WorkersResponse.d.ts +6 -4
  156. package/dist/models/WorkoutSetPositionDataEvent.d.ts +50 -0
  157. package/dist/models/WorkoutSetRepDataPoint.d.ts +50 -0
  158. package/dist/models/WorkoutSetSideData.d.ts +110 -0
  159. package/dist/models/index.d.ts +24 -0
  160. package/dist/runtime.d.ts +13 -2
  161. package/docs/A400DataSetData.md +13 -0
  162. package/docs/A500AppType.md +4 -4
  163. package/docs/A500DataSetType.md +2 -2
  164. package/docs/AccessControlRight.md +2 -2
  165. package/docs/AnalyticRight.md +1 -1
  166. package/docs/CardioExerciseVariantType.md +1 -1
  167. package/docs/CardioMachineParseCode.md +2 -2
  168. package/docs/CharacterType.md +2 -2
  169. package/docs/DisplayDataMode.md +11 -0
  170. package/docs/DisplayFocusMode.md +11 -0
  171. package/docs/DisplayUnit.md +13 -0
  172. package/docs/EmployeeRole.md +5 -5
  173. package/docs/Exercise.md +13 -0
  174. package/docs/ExerciseAliasType.md +3 -3
  175. package/docs/ExerciseRight.md +1 -1
  176. package/docs/FacilityData.md +2 -0
  177. package/docs/FacilityDisplayConfigurationData.md +26 -0
  178. package/docs/FacilityDisplayOperatingSchedule.md +16 -0
  179. package/docs/FacilityDisplayOperatingScheduleEntry.md +11 -0
  180. package/docs/FacilityDisplayOperatingScheduleTime.md +11 -0
  181. package/docs/FacilityLicenseSorting.md +4 -4
  182. package/docs/FacilityLicenseType.md +3 -3
  183. package/docs/FacilityRelationshipData.md +3 -0
  184. package/docs/FacilityResponse.md +12 -0
  185. package/docs/FacilityRight.md +2 -2
  186. package/docs/ForceUnit.md +4 -4
  187. package/docs/GlobalAccessControlSorting.md +2 -2
  188. package/docs/LicenseRight.md +2 -2
  189. package/docs/MSeriesGuidedSessionRight.md +2 -2
  190. package/docs/MachineWorkoutSetResponseData.md +29 -0
  191. package/docs/MetricsAdminApi.md +55 -0
  192. package/docs/MotionDataPoint.md +18 -0
  193. package/docs/MuscleArea.md +3 -3
  194. package/docs/MuscleGroup.md +14 -14
  195. package/docs/MuscleTargetLevel.md +3 -3
  196. package/docs/PowerRegression.md +12 -0
  197. package/docs/ProfileData.md +2 -0
  198. package/docs/Queue.md +2 -2
  199. package/docs/ResistancePrecision.md +2 -2
  200. package/docs/ResqueDetailsData.md +1 -1
  201. package/docs/ResqueRight.md +2 -2
  202. package/docs/SessionPlanSetType.md +4 -4
  203. package/docs/SetType.md +13 -0
  204. package/docs/Side.md +2 -2
  205. package/docs/SixRepTestData.md +12 -0
  206. package/docs/StatSorting.md +2 -2
  207. package/docs/StrengthExerciseCategory.md +5 -5
  208. package/docs/StrengthExerciseMovement.md +2 -2
  209. package/docs/StrengthExerciseMovementDEP.md +2 -2
  210. package/docs/StrengthExercisePlane.md +3 -3
  211. package/docs/StrengthExerciseVariantAttachment.md +9 -9
  212. package/docs/StrengthExerciseVariantData.md +1 -1
  213. package/docs/StrengthExerciseVariantType.md +6 -6
  214. package/docs/StrengthMachineAppType.md +4 -4
  215. package/docs/StrengthMachineData.md +1 -0
  216. package/docs/StrengthMachineDataSetData.md +5 -0
  217. package/docs/StrengthMachineLine.md +7 -7
  218. package/docs/StrengthMachineModelNumberData.md +11 -0
  219. package/docs/StrengthTestType.md +4 -4
  220. package/docs/StretchExerciseVariantType.md +1 -1
  221. package/docs/TaskSorting.md +1 -1
  222. package/docs/TenRepTestData.md +26 -0
  223. package/docs/TenRepTestSideResults.md +15 -0
  224. package/docs/TestSide.md +3 -3
  225. package/docs/TimeZone.md +1191 -0
  226. package/docs/UserRight.md +2 -2
  227. package/docs/UserSorting.md +3 -3
  228. package/docs/Value.md +11 -0
  229. package/docs/VelocityRegression.md +11 -0
  230. package/docs/WorkersResponse.md +1 -1
  231. package/docs/WorkoutSetPositionDataEvent.md +13 -0
  232. package/docs/WorkoutSetRepDataPoint.md +13 -0
  233. package/docs/WorkoutSetSideData.md +23 -0
  234. package/package.json +3 -1
  235. package/src/apis/MetricsAdminApi.ts +65 -1
  236. package/src/connection.ts +21 -9
  237. package/src/models/A400DataSetData.ts +94 -0
  238. package/src/models/A500AppType.ts +28 -9
  239. package/src/models/A500DataSetData.ts +38 -43
  240. package/src/models/A500DataSetType.ts +26 -7
  241. package/src/models/A500MachineStateData.ts +31 -36
  242. package/src/models/A500RepDataPointData.ts +55 -60
  243. package/src/models/A500TestResultData.ts +33 -38
  244. package/src/models/A500TimeSeriesPointData.ts +47 -52
  245. package/src/models/AcceptedTermsVersionData.ts +13 -18
  246. package/src/models/AccessControlRight.ts +26 -7
  247. package/src/models/AnalyticRight.ts +25 -6
  248. package/src/models/BodyCompositionMeasurementData.ts +69 -74
  249. package/src/models/CacheKeysResponse.ts +13 -18
  250. package/src/models/CacheObject.ts +17 -22
  251. package/src/models/CacheObjectResponse.ts +13 -18
  252. package/src/models/CardioExerciseData.ts +31 -36
  253. package/src/models/CardioExerciseVariantData.ts +32 -37
  254. package/src/models/CardioExerciseVariantType.ts +25 -6
  255. package/src/models/CardioMachineData.ts +27 -32
  256. package/src/models/CardioMachineParseCode.ts +26 -7
  257. package/src/models/CharacterType.ts +26 -7
  258. package/src/models/DisplayDataMode.ts +60 -0
  259. package/src/models/DisplayFocusMode.ts +60 -0
  260. package/src/models/DisplayUnit.ts +62 -0
  261. package/src/models/EmailAddressData.ts +15 -20
  262. package/src/models/EmployeeRole.ts +29 -10
  263. package/src/models/Exercise.ts +88 -0
  264. package/src/models/ExerciseAliasData.ts +30 -35
  265. package/src/models/ExerciseAliasType.ts +27 -8
  266. package/src/models/ExerciseOrdinalSetAssignmentData.ts +25 -30
  267. package/src/models/ExerciseOrdinalSetData.ts +17 -22
  268. package/src/models/ExerciseRight.ts +25 -6
  269. package/src/models/FacilityConfigurationData.ts +27 -32
  270. package/src/models/FacilityData.ts +42 -24
  271. package/src/models/FacilityDisplayConfigurationData.ts +233 -0
  272. package/src/models/FacilityDisplayOperatingSchedule.ts +122 -0
  273. package/src/models/FacilityDisplayOperatingScheduleEntry.ts +77 -0
  274. package/src/models/FacilityDisplayOperatingScheduleTime.ts +70 -0
  275. package/src/models/FacilityLicenseData.ts +23 -28
  276. package/src/models/FacilityLicenseListResponse.ts +15 -20
  277. package/src/models/FacilityLicenseListResponseMeta.ts +25 -30
  278. package/src/models/FacilityLicenseResponse.ts +13 -18
  279. package/src/models/FacilityLicenseSorting.ts +28 -9
  280. package/src/models/FacilityLicenseType.ts +27 -8
  281. package/src/models/FacilityProfileData.ts +23 -28
  282. package/src/models/FacilityRelationshipData.ts +56 -36
  283. package/src/models/FacilityResponse.ts +84 -0
  284. package/src/models/FacilityRight.ts +26 -7
  285. package/src/models/FacilitySessionUserData.ts +55 -60
  286. package/src/models/FacilityStrengthMachineConfigurationData.ts +29 -34
  287. package/src/models/FacilityStrengthMachineData.ts +37 -42
  288. package/src/models/ForceUnit.ts +28 -9
  289. package/src/models/GlobalAccessControlCreationResponse.ts +15 -20
  290. package/src/models/GlobalAccessControlData.ts +51 -56
  291. package/src/models/GlobalAccessControlListResponse.ts +15 -20
  292. package/src/models/GlobalAccessControlListResponseMeta.ts +19 -24
  293. package/src/models/GlobalAccessControlResponse.ts +13 -18
  294. package/src/models/GlobalAccessControlSecretData.ts +11 -16
  295. package/src/models/GlobalAccessControlSecretResponse.ts +13 -18
  296. package/src/models/GlobalAccessControlSorting.ts +26 -7
  297. package/src/models/HeartRateDataPointData.ts +15 -20
  298. package/src/models/HeartRateDataSetData.ts +25 -30
  299. package/src/models/HeartRateDataSetSessionData.ts +17 -22
  300. package/src/models/HeightMeasurementData.ts +17 -22
  301. package/src/models/High.ts +9 -14
  302. package/src/models/LicenseRight.ts +26 -7
  303. package/src/models/Low.ts +9 -14
  304. package/src/models/MSeriesDataPointData.ts +33 -38
  305. package/src/models/MSeriesDataSetData.ts +82 -87
  306. package/src/models/MSeriesDataSetSegmentData.ts +41 -46
  307. package/src/models/MSeriesFtpMeasurementData.ts +23 -28
  308. package/src/models/MSeriesGuidedSessionRight.ts +26 -7
  309. package/src/models/MachineWorkoutSetResponseData.ts +285 -0
  310. package/src/models/MaintenanceStatus.ts +23 -28
  311. package/src/models/MotionDataPoint.ts +133 -0
  312. package/src/models/MuscleArea.ts +27 -8
  313. package/src/models/MuscleData.ts +17 -22
  314. package/src/models/MuscleGroup.ts +38 -19
  315. package/src/models/MuscleTargetLevel.ts +27 -8
  316. package/src/models/OAuthServiceData.ts +23 -28
  317. package/src/models/PowerRegression.ts +79 -0
  318. package/src/models/PrimaryEmailAddressData.ts +11 -16
  319. package/src/models/ProfileData.ts +37 -26
  320. package/src/models/Queue.ts +26 -7
  321. package/src/models/ResistancePrecision.ts +26 -7
  322. package/src/models/ResqueDetailsData.ts +17 -22
  323. package/src/models/ResqueDetailsResponse.ts +13 -18
  324. package/src/models/ResqueRight.ts +26 -7
  325. package/src/models/ServiceStatusResponse.ts +9 -14
  326. package/src/models/SessionData.ts +63 -68
  327. package/src/models/SessionPlanActivitySetData.ts +9 -14
  328. package/src/models/SessionPlanCardioSetData.ts +23 -28
  329. package/src/models/SessionPlanData.ts +43 -48
  330. package/src/models/SessionPlanSequenceAssignmentData.ts +13 -18
  331. package/src/models/SessionPlanSequenceData.ts +19 -24
  332. package/src/models/SessionPlanSequenceInstanceData.ts +31 -36
  333. package/src/models/SessionPlanSetData.ts +32 -37
  334. package/src/models/SessionPlanSetInstanceData.ts +29 -34
  335. package/src/models/SessionPlanSetType.ts +28 -9
  336. package/src/models/SessionPlanStrengthSetData.ts +23 -28
  337. package/src/models/SessionPlanStretchSetData.ts +9 -14
  338. package/src/models/SetType.ts +62 -0
  339. package/src/models/Side.ts +26 -7
  340. package/src/models/SixRepTestData.ts +79 -0
  341. package/src/models/StatData.ts +31 -36
  342. package/src/models/StatListResponse.ts +21 -26
  343. package/src/models/StatListResponseMeta.ts +21 -26
  344. package/src/models/StatSorting.ts +26 -7
  345. package/src/models/StrengthExerciseCategory.ts +29 -10
  346. package/src/models/StrengthExerciseData.ts +44 -49
  347. package/src/models/StrengthExerciseMovement.ts +26 -7
  348. package/src/models/StrengthExerciseMovementDEP.ts +26 -7
  349. package/src/models/StrengthExercisePlane.ts +27 -8
  350. package/src/models/StrengthExerciseVariantAttachment.ts +33 -14
  351. package/src/models/StrengthExerciseVariantData.ts +44 -50
  352. package/src/models/StrengthExerciseVariantType.ts +30 -11
  353. package/src/models/StrengthMachineAppType.ts +28 -9
  354. package/src/models/StrengthMachineData.ts +43 -34
  355. package/src/models/StrengthMachineDataSetData.ts +126 -79
  356. package/src/models/StrengthMachineDataSetTestData.ts +19 -24
  357. package/src/models/StrengthMachineDataSetTestSubsetData.ts +15 -20
  358. package/src/models/StrengthMachineLine.ts +31 -12
  359. package/src/models/StrengthMachineModelData.ts +9 -14
  360. package/src/models/StrengthMachineModelNumberData.ts +70 -0
  361. package/src/models/StrengthTestType.ts +28 -9
  362. package/src/models/StretchExerciseData.ts +23 -28
  363. package/src/models/StretchExerciseVariantData.ts +19 -24
  364. package/src/models/StretchExerciseVariantType.ts +25 -6
  365. package/src/models/TaskFailedResponse.ts +21 -26
  366. package/src/models/TaskFailure.ts +27 -32
  367. package/src/models/TaskPayload.ts +13 -18
  368. package/src/models/TaskQueueResponse.ts +21 -26
  369. package/src/models/TaskQueueResponseMeta.ts +19 -24
  370. package/src/models/TaskQueues.ts +11 -16
  371. package/src/models/TaskSorting.ts +25 -6
  372. package/src/models/TaskStats.ts +11 -16
  373. package/src/models/TenRepTestData.ts +111 -0
  374. package/src/models/TenRepTestSideResults.ts +119 -0
  375. package/src/models/TestSide.ts +27 -8
  376. package/src/models/TimeZone.ts +1240 -0
  377. package/src/models/UserData.ts +55 -60
  378. package/src/models/UserListResponse.ts +15 -20
  379. package/src/models/UserListResponseMeta.ts +21 -26
  380. package/src/models/UserResponse.ts +13 -18
  381. package/src/models/UserRight.ts +26 -7
  382. package/src/models/UserSorting.ts +27 -8
  383. package/src/models/Value.ts +69 -0
  384. package/src/models/VelocityRegression.ts +70 -0
  385. package/src/models/WeightMeasurementData.ts +21 -26
  386. package/src/models/WorkersResponse.ts +15 -20
  387. package/src/models/WorkoutSetPositionDataEvent.ts +95 -0
  388. package/src/models/WorkoutSetRepDataPoint.ts +95 -0
  389. package/src/models/WorkoutSetSideData.ts +185 -0
  390. package/src/models/index.ts +24 -0
  391. package/src/runtime.ts +44 -9
@@ -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.3.17
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,14 +12,29 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+ /* tslint:disable */
16
+ /* eslint-disable */
17
+ /**
18
+ * metrics-sdk-admin
19
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
20
+ *
21
+ * The version of the OpenAPI document: 5.4.0
22
+ *
23
+ *
24
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
25
+ * https://openapi-generator.tech
26
+ * Do not edit the class manually.
27
+ */
28
+
29
+
15
30
 
16
31
  /**
17
32
  *
18
33
  * @export
19
34
  */
20
35
  export const A500DataSetType = {
21
- Normal: 'normal',
22
- Test: 'test'
36
+ normal: 'normal',
37
+ test: 'test'
23
38
  } as const;
24
39
  export type A500DataSetType =
25
40
  | 'normal'
@@ -27,15 +42,19 @@ export type A500DataSetType =
27
42
  ;
28
43
 
29
44
 
30
- export function A500DataSetTypeFromJSON(json: any): A500DataSetType {
45
+ export function instanceOfA500DataSetType(value: unknown): boolean {
46
+ return (Object.values(A500DataSetType) as unknown[]).includes(value);
47
+ }
48
+
49
+ export function A500DataSetTypeFromJSON(json: unknown): A500DataSetType {
31
50
  return A500DataSetTypeFromJSONTyped(json, false);
32
51
  }
33
52
 
34
- export function A500DataSetTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): A500DataSetType {
53
+ export function A500DataSetTypeFromJSONTyped(json: unknown, ignoreDiscriminator: boolean): A500DataSetType {
35
54
  return json as A500DataSetType;
36
55
  }
37
56
 
38
- export function A500DataSetTypeToJSON(value?: A500DataSetType | null): any {
39
- return value as any;
57
+ export function A500DataSetTypeToJSON(value?: A500DataSetType | null): A500DataSetType | null | undefined {
58
+ return value;
40
59
  }
41
60
 
@@ -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.3.17
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,25 +12,25 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { exists, mapValues } from '../runtime';
16
- import type { A500AppType } from './A500AppType';
15
+ import { mapValues } from '../runtime';
16
+ import type { ForceUnit } from './ForceUnit';
17
17
  import {
18
- A500AppTypeFromJSON,
19
- A500AppTypeFromJSONTyped,
20
- A500AppTypeToJSON,
21
- } from './A500AppType';
18
+ ForceUnitFromJSON,
19
+ ForceUnitFromJSONTyped,
20
+ ForceUnitToJSON,
21
+ } from './ForceUnit';
22
22
  import type { FacilityStrengthMachineData } from './FacilityStrengthMachineData';
23
23
  import {
24
24
  FacilityStrengthMachineDataFromJSON,
25
25
  FacilityStrengthMachineDataFromJSONTyped,
26
26
  FacilityStrengthMachineDataToJSON,
27
27
  } from './FacilityStrengthMachineData';
28
- import type { ForceUnit } from './ForceUnit';
28
+ import type { A500AppType } from './A500AppType';
29
29
  import {
30
- ForceUnitFromJSON,
31
- ForceUnitFromJSONTyped,
32
- ForceUnitToJSON,
33
- } from './ForceUnit';
30
+ A500AppTypeFromJSON,
31
+ A500AppTypeFromJSONTyped,
32
+ A500AppTypeToJSON,
33
+ } from './A500AppType';
34
34
 
35
35
  /**
36
36
  *
@@ -85,16 +85,14 @@ export interface A500MachineStateData {
85
85
  /**
86
86
  * Check if a given object implements the A500MachineStateData interface.
87
87
  */
88
- export function instanceOfA500MachineStateData(value: object): boolean {
89
- let isInstance = true;
90
- isInstance = isInstance && "facilityStrengthMachineId" in value;
91
- isInstance = isInstance && "isFacilityConfigurationOverridden" in value;
92
- isInstance = isInstance && "appType" in value;
93
- isInstance = isInstance && "forceUnit" in value;
94
- isInstance = isInstance && "primaryFocus" in value;
95
- isInstance = isInstance && "secondaryFocus" in value;
96
-
97
- return isInstance;
88
+ export function instanceOfA500MachineStateData(value: object): value is A500MachineStateData {
89
+ if (!('facilityStrengthMachineId' in value) || value['facilityStrengthMachineId'] === undefined) return false;
90
+ if (!('isFacilityConfigurationOverridden' in value) || value['isFacilityConfigurationOverridden'] === undefined) return false;
91
+ if (!('appType' in value) || value['appType'] === undefined) return false;
92
+ if (!('forceUnit' in value) || value['forceUnit'] === undefined) return false;
93
+ if (!('primaryFocus' in value) || value['primaryFocus'] === undefined) return false;
94
+ if (!('secondaryFocus' in value) || value['secondaryFocus'] === undefined) return false;
95
+ return true;
98
96
  }
99
97
 
100
98
  export function A500MachineStateDataFromJSON(json: any): A500MachineStateData {
@@ -102,7 +100,7 @@ export function A500MachineStateDataFromJSON(json: any): A500MachineStateData {
102
100
  }
103
101
 
104
102
  export function A500MachineStateDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): A500MachineStateData {
105
- if ((json === undefined) || (json === null)) {
103
+ if (json == null) {
106
104
  return json;
107
105
  }
108
106
  return {
@@ -113,26 +111,23 @@ export function A500MachineStateDataFromJSONTyped(json: any, ignoreDiscriminator
113
111
  'forceUnit': ForceUnitFromJSON(json['forceUnit']),
114
112
  'primaryFocus': json['primaryFocus'],
115
113
  'secondaryFocus': json['secondaryFocus'],
116
- 'facilityStrengthMachine': !exists(json, 'facilityStrengthMachine') ? undefined : FacilityStrengthMachineDataFromJSON(json['facilityStrengthMachine']),
114
+ 'facilityStrengthMachine': json['facilityStrengthMachine'] == null ? undefined : FacilityStrengthMachineDataFromJSON(json['facilityStrengthMachine']),
117
115
  };
118
116
  }
119
117
 
120
118
  export function A500MachineStateDataToJSON(value?: A500MachineStateData | null): any {
121
- if (value === undefined) {
122
- return undefined;
123
- }
124
- if (value === null) {
125
- return null;
119
+ if (value == null) {
120
+ return value;
126
121
  }
127
122
  return {
128
123
 
129
- 'facilityStrengthMachineId': value.facilityStrengthMachineId,
130
- 'isFacilityConfigurationOverridden': value.isFacilityConfigurationOverridden,
131
- 'appType': A500AppTypeToJSON(value.appType),
132
- 'forceUnit': ForceUnitToJSON(value.forceUnit),
133
- 'primaryFocus': value.primaryFocus,
134
- 'secondaryFocus': value.secondaryFocus,
135
- 'facilityStrengthMachine': FacilityStrengthMachineDataToJSON(value.facilityStrengthMachine),
124
+ 'facilityStrengthMachineId': value['facilityStrengthMachineId'],
125
+ 'isFacilityConfigurationOverridden': value['isFacilityConfigurationOverridden'],
126
+ 'appType': A500AppTypeToJSON(value['appType']),
127
+ 'forceUnit': ForceUnitToJSON(value['forceUnit']),
128
+ 'primaryFocus': value['primaryFocus'],
129
+ 'secondaryFocus': value['secondaryFocus'],
130
+ 'facilityStrengthMachine': FacilityStrengthMachineDataToJSON(value['facilityStrengthMachine']),
136
131
  };
137
132
  }
138
133
 
@@ -4,7 +4,7 @@
4
4
  * metrics-sdk-admin
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 5.3.17
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,19 +12,19 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { exists, mapValues } from '../runtime';
16
- import type { ForceUnit } from './ForceUnit';
17
- import {
18
- ForceUnitFromJSON,
19
- ForceUnitFromJSONTyped,
20
- ForceUnitToJSON,
21
- } from './ForceUnit';
15
+ import { mapValues } from '../runtime';
22
16
  import type { Side } from './Side';
23
17
  import {
24
18
  SideFromJSON,
25
19
  SideFromJSONTyped,
26
20
  SideToJSON,
27
21
  } from './Side';
22
+ import type { ForceUnit } from './ForceUnit';
23
+ import {
24
+ ForceUnitFromJSON,
25
+ ForceUnitFromJSONTyped,
26
+ ForceUnitToJSON,
27
+ } from './ForceUnit';
28
28
 
29
29
  /**
30
30
  *
@@ -163,27 +163,25 @@ export interface A500RepDataPointData {
163
163
  /**
164
164
  * Check if a given object implements the A500RepDataPointData interface.
165
165
  */
166
- export function instanceOfA500RepDataPointData(value: object): boolean {
167
- let isInstance = true;
168
- isInstance = isInstance && "id" in value;
169
- isInstance = isInstance && "side" in value;
170
- isInstance = isInstance && "count" in value;
171
- isInstance = isInstance && "work" in value;
172
- isInstance = isInstance && "completedAt" in value;
173
- isInstance = isInstance && "reactionTime" in value;
174
- isInstance = isInstance && "peakPower" in value;
175
- isInstance = isInstance && "averagePower" in value;
176
- isInstance = isInstance && "peakVelocity" in value;
177
- isInstance = isInstance && "averageVelocity" in value;
178
- isInstance = isInstance && "rangeOfMotion" in value;
179
- isInstance = isInstance && "setPointForce" in value;
180
- isInstance = isInstance && "forceUnit" in value;
181
- isInstance = isInstance && "startSinceEpoch" in value;
182
- isInstance = isInstance && "endSinceEpoch" in value;
183
- isInstance = isInstance && "addedMass" in value;
184
- isInstance = isInstance && "addedForce" in value;
185
-
186
- return isInstance;
166
+ export function instanceOfA500RepDataPointData(value: object): value is A500RepDataPointData {
167
+ if (!('id' in value) || value['id'] === undefined) return false;
168
+ if (!('side' in value) || value['side'] === undefined) return false;
169
+ if (!('count' in value) || value['count'] === undefined) return false;
170
+ if (!('work' in value) || value['work'] === undefined) return false;
171
+ if (!('completedAt' in value) || value['completedAt'] === undefined) return false;
172
+ if (!('reactionTime' in value) || value['reactionTime'] === undefined) return false;
173
+ if (!('peakPower' in value) || value['peakPower'] === undefined) return false;
174
+ if (!('averagePower' in value) || value['averagePower'] === undefined) return false;
175
+ if (!('peakVelocity' in value) || value['peakVelocity'] === undefined) return false;
176
+ if (!('averageVelocity' in value) || value['averageVelocity'] === undefined) return false;
177
+ if (!('rangeOfMotion' in value) || value['rangeOfMotion'] === undefined) return false;
178
+ if (!('setPointForce' in value) || value['setPointForce'] === undefined) return false;
179
+ if (!('forceUnit' in value) || value['forceUnit'] === undefined) return false;
180
+ if (!('startSinceEpoch' in value) || value['startSinceEpoch'] === undefined) return false;
181
+ if (!('endSinceEpoch' in value) || value['endSinceEpoch'] === undefined) return false;
182
+ if (!('addedMass' in value) || value['addedMass'] === undefined) return false;
183
+ if (!('addedForce' in value) || value['addedForce'] === undefined) return false;
184
+ return true;
187
185
  }
188
186
 
189
187
  export function A500RepDataPointDataFromJSON(json: any): A500RepDataPointData {
@@ -191,7 +189,7 @@ export function A500RepDataPointDataFromJSON(json: any): A500RepDataPointData {
191
189
  }
192
190
 
193
191
  export function A500RepDataPointDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): A500RepDataPointData {
194
- if ((json === undefined) || (json === null)) {
192
+ if (json == null) {
195
193
  return json;
196
194
  }
197
195
  return {
@@ -213,43 +211,40 @@ export function A500RepDataPointDataFromJSONTyped(json: any, ignoreDiscriminator
213
211
  'endSinceEpoch': json['endSinceEpoch'],
214
212
  'addedMass': json['addedMass'],
215
213
  'addedForce': json['addedForce'],
216
- 'peakTorque': !exists(json, 'peakTorque') ? undefined : json['peakTorque'],
217
- 'averageTorque': !exists(json, 'averageTorque') ? undefined : json['averageTorque'],
218
- 'peakForce': !exists(json, 'peakForce') ? undefined : json['peakForce'],
219
- 'averageForce': !exists(json, 'averageForce') ? undefined : json['averageForce'],
214
+ 'peakTorque': json['peakTorque'] == null ? undefined : json['peakTorque'],
215
+ 'averageTorque': json['averageTorque'] == null ? undefined : json['averageTorque'],
216
+ 'peakForce': json['peakForce'] == null ? undefined : json['peakForce'],
217
+ 'averageForce': json['averageForce'] == null ? undefined : json['averageForce'],
220
218
  };
221
219
  }
222
220
 
223
221
  export function A500RepDataPointDataToJSON(value?: A500RepDataPointData | null): any {
224
- if (value === undefined) {
225
- return undefined;
226
- }
227
- if (value === null) {
228
- return null;
222
+ if (value == null) {
223
+ return value;
229
224
  }
230
225
  return {
231
226
 
232
- 'id': value.id,
233
- 'side': SideToJSON(value.side),
234
- 'count': value.count,
235
- 'work': value.work,
236
- 'completedAt': (value.completedAt.toISOString()),
237
- 'reactionTime': value.reactionTime,
238
- 'peakPower': value.peakPower,
239
- 'averagePower': value.averagePower,
240
- 'peakVelocity': value.peakVelocity,
241
- 'averageVelocity': value.averageVelocity,
242
- 'rangeOfMotion': value.rangeOfMotion,
243
- 'setPointForce': value.setPointForce,
244
- 'forceUnit': ForceUnitToJSON(value.forceUnit),
245
- 'startSinceEpoch': value.startSinceEpoch,
246
- 'endSinceEpoch': value.endSinceEpoch,
247
- 'addedMass': value.addedMass,
248
- 'addedForce': value.addedForce,
249
- 'peakTorque': value.peakTorque,
250
- 'averageTorque': value.averageTorque,
251
- 'peakForce': value.peakForce,
252
- 'averageForce': value.averageForce,
227
+ 'id': value['id'],
228
+ 'side': SideToJSON(value['side']),
229
+ 'count': value['count'],
230
+ 'work': value['work'],
231
+ 'completedAt': ((value['completedAt']).toISOString()),
232
+ 'reactionTime': value['reactionTime'],
233
+ 'peakPower': value['peakPower'],
234
+ 'averagePower': value['averagePower'],
235
+ 'peakVelocity': value['peakVelocity'],
236
+ 'averageVelocity': value['averageVelocity'],
237
+ 'rangeOfMotion': value['rangeOfMotion'],
238
+ 'setPointForce': value['setPointForce'],
239
+ 'forceUnit': ForceUnitToJSON(value['forceUnit']),
240
+ 'startSinceEpoch': value['startSinceEpoch'],
241
+ 'endSinceEpoch': value['endSinceEpoch'],
242
+ 'addedMass': value['addedMass'],
243
+ 'addedForce': value['addedForce'],
244
+ 'peakTorque': value['peakTorque'],
245
+ 'averageTorque': value['averageTorque'],
246
+ 'peakForce': value['peakForce'],
247
+ 'averageForce': value['averageForce'],
253
248
  };
254
249
  }
255
250
 
@@ -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.3.17
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { exists, mapValues } from '../runtime';
15
+ import { mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -102,11 +102,9 @@ export interface A500TestResultData {
102
102
  /**
103
103
  * Check if a given object implements the A500TestResultData interface.
104
104
  */
105
- export function instanceOfA500TestResultData(value: object): boolean {
106
- let isInstance = true;
107
- isInstance = isInstance && "id" in value;
108
-
109
- return isInstance;
105
+ export function instanceOfA500TestResultData(value: object): value is A500TestResultData {
106
+ if (!('id' in value) || value['id'] === undefined) return false;
107
+ return true;
110
108
  }
111
109
 
112
110
  export function A500TestResultDataFromJSON(json: any): A500TestResultData {
@@ -114,49 +112,46 @@ export function A500TestResultDataFromJSON(json: any): A500TestResultData {
114
112
  }
115
113
 
116
114
  export function A500TestResultDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): A500TestResultData {
117
- if ((json === undefined) || (json === null)) {
115
+ if (json == null) {
118
116
  return json;
119
117
  }
120
118
  return {
121
119
 
122
120
  'id': json['id'],
123
- 'averageVelocityLineM': !exists(json, 'averageVelocityLineM') ? undefined : json['averageVelocityLineM'],
124
- 'averageVelocityLineB': !exists(json, 'averageVelocityLineB') ? undefined : json['averageVelocityLineB'],
125
- 'averagePowerParabolaA': !exists(json, 'averagePowerParabolaA') ? undefined : json['averagePowerParabolaA'],
126
- 'averagePowerParabolaH': !exists(json, 'averagePowerParabolaH') ? undefined : json['averagePowerParabolaH'],
127
- 'averagePowerParabolaK': !exists(json, 'averagePowerParabolaK') ? undefined : json['averagePowerParabolaK'],
128
- 'averageSlopeChanges': !exists(json, 'averageSlopeChanges') ? undefined : json['averageSlopeChanges'],
129
- 'peakVelocityLineM': !exists(json, 'peakVelocityLineM') ? undefined : json['peakVelocityLineM'],
130
- 'peakVelocityLineB': !exists(json, 'peakVelocityLineB') ? undefined : json['peakVelocityLineB'],
131
- 'peakPowerParabolaA': !exists(json, 'peakPowerParabolaA') ? undefined : json['peakPowerParabolaA'],
132
- 'peakPowerParabolaH': !exists(json, 'peakPowerParabolaH') ? undefined : json['peakPowerParabolaH'],
133
- 'peakPowerParabolaK': !exists(json, 'peakPowerParabolaK') ? undefined : json['peakPowerParabolaK'],
134
- 'peakSlopeChanges': !exists(json, 'peakSlopeChanges') ? undefined : json['peakSlopeChanges'],
121
+ 'averageVelocityLineM': json['averageVelocityLineM'] == null ? undefined : json['averageVelocityLineM'],
122
+ 'averageVelocityLineB': json['averageVelocityLineB'] == null ? undefined : json['averageVelocityLineB'],
123
+ 'averagePowerParabolaA': json['averagePowerParabolaA'] == null ? undefined : json['averagePowerParabolaA'],
124
+ 'averagePowerParabolaH': json['averagePowerParabolaH'] == null ? undefined : json['averagePowerParabolaH'],
125
+ 'averagePowerParabolaK': json['averagePowerParabolaK'] == null ? undefined : json['averagePowerParabolaK'],
126
+ 'averageSlopeChanges': json['averageSlopeChanges'] == null ? undefined : json['averageSlopeChanges'],
127
+ 'peakVelocityLineM': json['peakVelocityLineM'] == null ? undefined : json['peakVelocityLineM'],
128
+ 'peakVelocityLineB': json['peakVelocityLineB'] == null ? undefined : json['peakVelocityLineB'],
129
+ 'peakPowerParabolaA': json['peakPowerParabolaA'] == null ? undefined : json['peakPowerParabolaA'],
130
+ 'peakPowerParabolaH': json['peakPowerParabolaH'] == null ? undefined : json['peakPowerParabolaH'],
131
+ 'peakPowerParabolaK': json['peakPowerParabolaK'] == null ? undefined : json['peakPowerParabolaK'],
132
+ 'peakSlopeChanges': json['peakSlopeChanges'] == null ? undefined : json['peakSlopeChanges'],
135
133
  };
136
134
  }
137
135
 
138
136
  export function A500TestResultDataToJSON(value?: A500TestResultData | null): any {
139
- if (value === undefined) {
140
- return undefined;
141
- }
142
- if (value === null) {
143
- return null;
137
+ if (value == null) {
138
+ return value;
144
139
  }
145
140
  return {
146
141
 
147
- 'id': value.id,
148
- 'averageVelocityLineM': value.averageVelocityLineM,
149
- 'averageVelocityLineB': value.averageVelocityLineB,
150
- 'averagePowerParabolaA': value.averagePowerParabolaA,
151
- 'averagePowerParabolaH': value.averagePowerParabolaH,
152
- 'averagePowerParabolaK': value.averagePowerParabolaK,
153
- 'averageSlopeChanges': value.averageSlopeChanges,
154
- 'peakVelocityLineM': value.peakVelocityLineM,
155
- 'peakVelocityLineB': value.peakVelocityLineB,
156
- 'peakPowerParabolaA': value.peakPowerParabolaA,
157
- 'peakPowerParabolaH': value.peakPowerParabolaH,
158
- 'peakPowerParabolaK': value.peakPowerParabolaK,
159
- 'peakSlopeChanges': value.peakSlopeChanges,
142
+ 'id': value['id'],
143
+ 'averageVelocityLineM': value['averageVelocityLineM'],
144
+ 'averageVelocityLineB': value['averageVelocityLineB'],
145
+ 'averagePowerParabolaA': value['averagePowerParabolaA'],
146
+ 'averagePowerParabolaH': value['averagePowerParabolaH'],
147
+ 'averagePowerParabolaK': value['averagePowerParabolaK'],
148
+ 'averageSlopeChanges': value['averageSlopeChanges'],
149
+ 'peakVelocityLineM': value['peakVelocityLineM'],
150
+ 'peakVelocityLineB': value['peakVelocityLineB'],
151
+ 'peakPowerParabolaA': value['peakPowerParabolaA'],
152
+ 'peakPowerParabolaH': value['peakPowerParabolaH'],
153
+ 'peakPowerParabolaK': value['peakPowerParabolaK'],
154
+ 'peakSlopeChanges': value['peakSlopeChanges'],
160
155
  };
161
156
  }
162
157
 
@@ -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.3.17
7
+ * The version of the OpenAPI document: 5.4.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { exists, mapValues } from '../runtime';
15
+ import { mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -144,12 +144,10 @@ export interface A500TimeSeriesPointData {
144
144
  /**
145
145
  * Check if a given object implements the A500TimeSeriesPointData interface.
146
146
  */
147
- export function instanceOfA500TimeSeriesPointData(value: object): boolean {
148
- let isInstance = true;
149
- isInstance = isInstance && "id" in value;
150
- isInstance = isInstance && "timeSinceEpoch" in value;
151
-
152
- return isInstance;
147
+ export function instanceOfA500TimeSeriesPointData(value: object): value is A500TimeSeriesPointData {
148
+ if (!('id' in value) || value['id'] === undefined) return false;
149
+ if (!('timeSinceEpoch' in value) || value['timeSinceEpoch'] === undefined) return false;
150
+ return true;
153
151
  }
154
152
 
155
153
  export function A500TimeSeriesPointDataFromJSON(json: any): A500TimeSeriesPointData {
@@ -157,63 +155,60 @@ export function A500TimeSeriesPointDataFromJSON(json: any): A500TimeSeriesPointD
157
155
  }
158
156
 
159
157
  export function A500TimeSeriesPointDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): A500TimeSeriesPointData {
160
- if ((json === undefined) || (json === null)) {
158
+ if (json == null) {
161
159
  return json;
162
160
  }
163
161
  return {
164
162
 
165
163
  'id': json['id'],
166
164
  'timeSinceEpoch': json['timeSinceEpoch'],
167
- 'leftPosition': !exists(json, 'leftPosition') ? undefined : json['leftPosition'],
168
- 'leftPower': !exists(json, 'leftPower') ? undefined : json['leftPower'],
169
- 'leftVelocity': !exists(json, 'leftVelocity') ? undefined : json['leftVelocity'],
170
- 'leftAcceleration': !exists(json, 'leftAcceleration') ? undefined : json['leftAcceleration'],
171
- 'leftForceOfMassAcceleration': !exists(json, 'leftForceOfMassAcceleration') ? undefined : json['leftForceOfMassAcceleration'],
172
- 'leftMechanicalWeight': !exists(json, 'leftMechanicalWeight') ? undefined : json['leftMechanicalWeight'],
173
- 'leftRawPower': !exists(json, 'leftRawPower') ? undefined : json['leftRawPower'],
174
- 'rightPosition': !exists(json, 'rightPosition') ? undefined : json['rightPosition'],
175
- 'rightPower': !exists(json, 'rightPower') ? undefined : json['rightPower'],
176
- 'rightVelocity': !exists(json, 'rightVelocity') ? undefined : json['rightVelocity'],
177
- 'rightAcceleration': !exists(json, 'rightAcceleration') ? undefined : json['rightAcceleration'],
178
- 'rightForceOfMassAcceleration': !exists(json, 'rightForceOfMassAcceleration') ? undefined : json['rightForceOfMassAcceleration'],
179
- 'rightMechanicalWeight': !exists(json, 'rightMechanicalWeight') ? undefined : json['rightMechanicalWeight'],
180
- 'rightRawPower': !exists(json, 'rightRawPower') ? undefined : json['rightRawPower'],
181
- 'leftTorque': !exists(json, 'leftTorque') ? undefined : json['leftTorque'],
182
- 'rightTorque': !exists(json, 'rightTorque') ? undefined : json['rightTorque'],
183
- 'leftForce': !exists(json, 'leftForce') ? undefined : json['leftForce'],
184
- 'rightForce': !exists(json, 'rightForce') ? undefined : json['rightForce'],
165
+ 'leftPosition': json['leftPosition'] == null ? undefined : json['leftPosition'],
166
+ 'leftPower': json['leftPower'] == null ? undefined : json['leftPower'],
167
+ 'leftVelocity': json['leftVelocity'] == null ? undefined : json['leftVelocity'],
168
+ 'leftAcceleration': json['leftAcceleration'] == null ? undefined : json['leftAcceleration'],
169
+ 'leftForceOfMassAcceleration': json['leftForceOfMassAcceleration'] == null ? undefined : json['leftForceOfMassAcceleration'],
170
+ 'leftMechanicalWeight': json['leftMechanicalWeight'] == null ? undefined : json['leftMechanicalWeight'],
171
+ 'leftRawPower': json['leftRawPower'] == null ? undefined : json['leftRawPower'],
172
+ 'rightPosition': json['rightPosition'] == null ? undefined : json['rightPosition'],
173
+ 'rightPower': json['rightPower'] == null ? undefined : json['rightPower'],
174
+ 'rightVelocity': json['rightVelocity'] == null ? undefined : json['rightVelocity'],
175
+ 'rightAcceleration': json['rightAcceleration'] == null ? undefined : json['rightAcceleration'],
176
+ 'rightForceOfMassAcceleration': json['rightForceOfMassAcceleration'] == null ? undefined : json['rightForceOfMassAcceleration'],
177
+ 'rightMechanicalWeight': json['rightMechanicalWeight'] == null ? undefined : json['rightMechanicalWeight'],
178
+ 'rightRawPower': json['rightRawPower'] == null ? undefined : json['rightRawPower'],
179
+ 'leftTorque': json['leftTorque'] == null ? undefined : json['leftTorque'],
180
+ 'rightTorque': json['rightTorque'] == null ? undefined : json['rightTorque'],
181
+ 'leftForce': json['leftForce'] == null ? undefined : json['leftForce'],
182
+ 'rightForce': json['rightForce'] == null ? undefined : json['rightForce'],
185
183
  };
186
184
  }
187
185
 
188
186
  export function A500TimeSeriesPointDataToJSON(value?: A500TimeSeriesPointData | null): any {
189
- if (value === undefined) {
190
- return undefined;
191
- }
192
- if (value === null) {
193
- return null;
187
+ if (value == null) {
188
+ return value;
194
189
  }
195
190
  return {
196
191
 
197
- 'id': value.id,
198
- 'timeSinceEpoch': value.timeSinceEpoch,
199
- 'leftPosition': value.leftPosition,
200
- 'leftPower': value.leftPower,
201
- 'leftVelocity': value.leftVelocity,
202
- 'leftAcceleration': value.leftAcceleration,
203
- 'leftForceOfMassAcceleration': value.leftForceOfMassAcceleration,
204
- 'leftMechanicalWeight': value.leftMechanicalWeight,
205
- 'leftRawPower': value.leftRawPower,
206
- 'rightPosition': value.rightPosition,
207
- 'rightPower': value.rightPower,
208
- 'rightVelocity': value.rightVelocity,
209
- 'rightAcceleration': value.rightAcceleration,
210
- 'rightForceOfMassAcceleration': value.rightForceOfMassAcceleration,
211
- 'rightMechanicalWeight': value.rightMechanicalWeight,
212
- 'rightRawPower': value.rightRawPower,
213
- 'leftTorque': value.leftTorque,
214
- 'rightTorque': value.rightTorque,
215
- 'leftForce': value.leftForce,
216
- 'rightForce': value.rightForce,
192
+ 'id': value['id'],
193
+ 'timeSinceEpoch': value['timeSinceEpoch'],
194
+ 'leftPosition': value['leftPosition'],
195
+ 'leftPower': value['leftPower'],
196
+ 'leftVelocity': value['leftVelocity'],
197
+ 'leftAcceleration': value['leftAcceleration'],
198
+ 'leftForceOfMassAcceleration': value['leftForceOfMassAcceleration'],
199
+ 'leftMechanicalWeight': value['leftMechanicalWeight'],
200
+ 'leftRawPower': value['leftRawPower'],
201
+ 'rightPosition': value['rightPosition'],
202
+ 'rightPower': value['rightPower'],
203
+ 'rightVelocity': value['rightVelocity'],
204
+ 'rightAcceleration': value['rightAcceleration'],
205
+ 'rightForceOfMassAcceleration': value['rightForceOfMassAcceleration'],
206
+ 'rightMechanicalWeight': value['rightMechanicalWeight'],
207
+ 'rightRawPower': value['rightRawPower'],
208
+ 'leftTorque': value['leftTorque'],
209
+ 'rightTorque': value['rightTorque'],
210
+ 'leftForce': value['leftForce'],
211
+ 'rightForce': value['rightForce'],
217
212
  };
218
213
  }
219
214