@keiser/metrics-sdk-admin-typescript 5.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/.github/ISSUE_TEMPLATE/bug_report.md +41 -0
  2. package/.github/ISSUE_TEMPLATE/enhancement.md +46 -0
  3. package/.github/ISSUE_TEMPLATE/feature_request.md +46 -0
  4. package/.github/workflows/main.yml +63 -0
  5. package/README.md +202 -0
  6. package/dist/apis/MetricsAdminApi.d.ts +328 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/connection.d.ts +110 -0
  9. package/dist/error.d.ts +134 -0
  10. package/dist/event.d.ts +51 -0
  11. package/dist/index.d.ts +7 -0
  12. package/dist/index.js +8429 -0
  13. package/dist/index.mjs +7939 -0
  14. package/dist/jwt.d.ts +1 -0
  15. package/dist/models/A500DataSetData.d.ts +93 -0
  16. package/dist/models/A500MachineStateData.d.ts +88 -0
  17. package/dist/models/A500RepDataPointData.d.ts +169 -0
  18. package/dist/models/A500TestResultData.d.ts +103 -0
  19. package/dist/models/A500TimeSeriesPointData.d.ts +145 -0
  20. package/dist/models/AcceptedTermsVersionData.d.ts +43 -0
  21. package/dist/models/BodyCompositionMeasurementData.d.ts +211 -0
  22. package/dist/models/CacheKeysResponse.d.ts +43 -0
  23. package/dist/models/CacheObject.d.ts +55 -0
  24. package/dist/models/CacheObjectResponse.d.ts +44 -0
  25. package/dist/models/CardioExerciseData.d.ts +65 -0
  26. package/dist/models/CardioExerciseVariantData.d.ts +77 -0
  27. package/dist/models/CardioMachineData.d.ts +83 -0
  28. package/dist/models/EmailAddressData.d.ts +49 -0
  29. package/dist/models/ExerciseAliasData.d.ts +73 -0
  30. package/dist/models/ExerciseOrdinalSetAssignmentData.d.ts +65 -0
  31. package/dist/models/ExerciseOrdinalSetData.d.ts +56 -0
  32. package/dist/models/FacilityConfigurationData.d.ts +101 -0
  33. package/dist/models/FacilityData.d.ts +65 -0
  34. package/dist/models/FacilityLicenseData.d.ts +83 -0
  35. package/dist/models/FacilityLicenseListResponse.d.ts +51 -0
  36. package/dist/models/FacilityLicenseListResponseMeta.d.ts +89 -0
  37. package/dist/models/FacilityLicenseResponse.d.ts +44 -0
  38. package/dist/models/FacilityLicenseSorting.d.ts +25 -0
  39. package/dist/models/FacilityProfileData.d.ts +73 -0
  40. package/dist/models/FacilityRelationshipData.d.ts +99 -0
  41. package/dist/models/FacilitySessionUserData.d.ts +112 -0
  42. package/dist/models/FacilityStrengthMachineConfigurationData.d.ts +94 -0
  43. package/dist/models/FacilityStrengthMachineData.d.ts +99 -0
  44. package/dist/models/FingerprintData.d.ts +69 -0
  45. package/dist/models/GlobalAccessControlCreationResponse.d.ts +51 -0
  46. package/dist/models/GlobalAccessControlData.d.ts +148 -0
  47. package/dist/models/GlobalAccessControlListResponse.d.ts +51 -0
  48. package/dist/models/GlobalAccessControlListResponseMeta.d.ts +62 -0
  49. package/dist/models/GlobalAccessControlResponse.d.ts +44 -0
  50. package/dist/models/GlobalAccessControlSecretData.d.ts +37 -0
  51. package/dist/models/GlobalAccessControlSecretResponse.d.ts +44 -0
  52. package/dist/models/GlobalAccessControlSorting.d.ts +23 -0
  53. package/dist/models/HeartRateDataPointData.d.ts +49 -0
  54. package/dist/models/HeartRateDataSetData.d.ts +81 -0
  55. package/dist/models/HeartRateDataSetSessionData.d.ts +56 -0
  56. package/dist/models/HeightMeasurementData.d.ts +55 -0
  57. package/dist/models/High.d.ts +31 -0
  58. package/dist/models/Low.d.ts +31 -0
  59. package/dist/models/MSeriesDataPointData.d.ts +103 -0
  60. package/dist/models/MSeriesDataSetData.d.ts +222 -0
  61. package/dist/models/MSeriesDataSetSegmentData.d.ts +129 -0
  62. package/dist/models/MSeriesFtpMeasurementData.d.ts +74 -0
  63. package/dist/models/MuscleArea.d.ts +24 -0
  64. package/dist/models/MuscleData.d.ts +67 -0
  65. package/dist/models/MuscleGroup.d.ts +35 -0
  66. package/dist/models/MuscleIdentifier.d.ts +86 -0
  67. package/dist/models/OAuthServiceData.d.ts +73 -0
  68. package/dist/models/PrimaryEmailAddressData.d.ts +37 -0
  69. package/dist/models/ProfileData.d.ts +67 -0
  70. package/dist/models/Queue.d.ts +23 -0
  71. package/dist/models/ResqueDetailsData.d.ts +45 -0
  72. package/dist/models/ResqueDetailsResponse.d.ts +44 -0
  73. package/dist/models/SessionData.d.ts +135 -0
  74. package/dist/models/SessionPlanActivitySetData.d.ts +31 -0
  75. package/dist/models/SessionPlanCardioSetData.d.ts +57 -0
  76. package/dist/models/SessionPlanData.d.ts +118 -0
  77. package/dist/models/SessionPlanSequenceAssignmentData.d.ts +44 -0
  78. package/dist/models/SessionPlanSequenceData.d.ts +63 -0
  79. package/dist/models/SessionPlanSequenceInstanceData.d.ts +82 -0
  80. package/dist/models/SessionPlanSetData.d.ts +81 -0
  81. package/dist/models/SessionPlanSetInstanceData.d.ts +87 -0
  82. package/dist/models/SessionPlanStrengthSetData.d.ts +67 -0
  83. package/dist/models/SessionPlanStretchSetData.d.ts +31 -0
  84. package/dist/models/StatData.d.ts +97 -0
  85. package/dist/models/StatListResponse.d.ts +51 -0
  86. package/dist/models/StatListResponseMeta.d.ts +68 -0
  87. package/dist/models/StatSorting.d.ts +23 -0
  88. package/dist/models/StrengthExerciseData.d.ts +125 -0
  89. package/dist/models/StrengthExerciseVariantData.d.ts +115 -0
  90. package/dist/models/StrengthMachineData.d.ts +88 -0
  91. package/dist/models/StrengthMachineDataSetData.d.ts +199 -0
  92. package/dist/models/StrengthMachineDataSetTestData.d.ts +54 -0
  93. package/dist/models/StrengthMachineDataSetTestSubsetData.d.ts +49 -0
  94. package/dist/models/StrengthMachineModelData.d.ts +31 -0
  95. package/dist/models/StretchExerciseData.d.ts +58 -0
  96. package/dist/models/StretchExerciseVariantData.d.ts +70 -0
  97. package/dist/models/TaskFailedResponse.d.ts +51 -0
  98. package/dist/models/TaskFailure.d.ts +69 -0
  99. package/dist/models/TaskPayload.d.ts +44 -0
  100. package/dist/models/TaskQueueResponse.d.ts +51 -0
  101. package/dist/models/TaskQueueResponseMeta.d.ts +68 -0
  102. package/dist/models/TaskQueues.d.ts +39 -0
  103. package/dist/models/TaskStats.d.ts +37 -0
  104. package/dist/models/UserData.d.ts +112 -0
  105. package/dist/models/UserListResponse.d.ts +51 -0
  106. package/dist/models/UserListResponseMeta.d.ts +68 -0
  107. package/dist/models/UserResponse.d.ts +44 -0
  108. package/dist/models/UserSorting.d.ts +24 -0
  109. package/dist/models/WeightMeasurementData.d.ts +68 -0
  110. package/dist/models/WorkersResponse.d.ts +43 -0
  111. package/dist/models/index.d.ts +96 -0
  112. package/dist/runtime.d.ts +134 -0
  113. package/docs/A500DataSetData.md +41 -0
  114. package/docs/A500MachineStateData.md +46 -0
  115. package/docs/A500RepDataPointData.md +56 -0
  116. package/docs/A500TestResultData.md +22 -0
  117. package/docs/A500TimeSeriesPointData.md +29 -0
  118. package/docs/AcceptedTermsVersionData.md +12 -0
  119. package/docs/BodyCompositionMeasurementData.md +40 -0
  120. package/docs/CacheKeysResponse.md +12 -0
  121. package/docs/CacheObject.md +14 -0
  122. package/docs/CacheObjectResponse.md +12 -0
  123. package/docs/CardioExerciseData.md +15 -0
  124. package/docs/CardioExerciseVariantData.md +25 -0
  125. package/docs/CardioMachineData.md +36 -0
  126. package/docs/EmailAddressData.md +13 -0
  127. package/docs/ExerciseAliasData.md +28 -0
  128. package/docs/ExerciseOrdinalSetAssignmentData.md +15 -0
  129. package/docs/ExerciseOrdinalSetData.md +14 -0
  130. package/docs/FacilityConfigurationData.md +41 -0
  131. package/docs/FacilityData.md +15 -0
  132. package/docs/FacilityLicenseData.md +30 -0
  133. package/docs/FacilityLicenseListResponse.md +13 -0
  134. package/docs/FacilityLicenseListResponseMeta.md +31 -0
  135. package/docs/FacilityLicenseResponse.md +12 -0
  136. package/docs/FacilityLicenseSorting.md +15 -0
  137. package/docs/FacilityProfileData.md +17 -0
  138. package/docs/FacilityRelationshipData.md +36 -0
  139. package/docs/FacilitySessionUserData.md +22 -0
  140. package/docs/FacilityStrengthMachineConfigurationData.md +47 -0
  141. package/docs/FacilityStrengthMachineData.md +21 -0
  142. package/docs/FingerprintData.md +24 -0
  143. package/docs/GlobalAccessControlCreationResponse.md +13 -0
  144. package/docs/GlobalAccessControlData.md +103 -0
  145. package/docs/GlobalAccessControlListResponse.md +13 -0
  146. package/docs/GlobalAccessControlListResponseMeta.md +15 -0
  147. package/docs/GlobalAccessControlResponse.md +12 -0
  148. package/docs/GlobalAccessControlSecretData.md +11 -0
  149. package/docs/GlobalAccessControlSecretResponse.md +12 -0
  150. package/docs/GlobalAccessControlSorting.md +11 -0
  151. package/docs/HeartRateDataPointData.md +13 -0
  152. package/docs/HeartRateDataSetData.md +18 -0
  153. package/docs/HeartRateDataSetSessionData.md +14 -0
  154. package/docs/HeightMeasurementData.md +14 -0
  155. package/docs/High.md +10 -0
  156. package/docs/Low.md +10 -0
  157. package/docs/MSeriesDataPointData.md +22 -0
  158. package/docs/MSeriesDataSetData.md +41 -0
  159. package/docs/MSeriesDataSetSegmentData.md +26 -0
  160. package/docs/MSeriesFtpMeasurementData.md +17 -0
  161. package/docs/MetricsAdminApi.md +1576 -0
  162. package/docs/MuscleArea.md +13 -0
  163. package/docs/MuscleData.md +27 -0
  164. package/docs/MuscleGroup.md +35 -0
  165. package/docs/MuscleIdentifier.md +137 -0
  166. package/docs/OAuthServiceData.md +17 -0
  167. package/docs/PrimaryEmailAddressData.md +11 -0
  168. package/docs/ProfileData.md +16 -0
  169. package/docs/Queue.md +11 -0
  170. package/docs/ResqueDetailsData.md +12 -0
  171. package/docs/ResqueDetailsResponse.md +12 -0
  172. package/docs/SessionData.md +26 -0
  173. package/docs/SessionPlanActivitySetData.md +10 -0
  174. package/docs/SessionPlanCardioSetData.md +14 -0
  175. package/docs/SessionPlanData.md +24 -0
  176. package/docs/SessionPlanSequenceAssignmentData.md +12 -0
  177. package/docs/SessionPlanSequenceData.md +15 -0
  178. package/docs/SessionPlanSequenceInstanceData.md +18 -0
  179. package/docs/SessionPlanSetData.md +31 -0
  180. package/docs/SessionPlanSetInstanceData.md +32 -0
  181. package/docs/SessionPlanStrengthSetData.md +29 -0
  182. package/docs/SessionPlanStretchSetData.md +10 -0
  183. package/docs/StatData.md +21 -0
  184. package/docs/StatListResponse.md +13 -0
  185. package/docs/StatListResponseMeta.md +16 -0
  186. package/docs/StatSorting.md +11 -0
  187. package/docs/StrengthExerciseData.md +71 -0
  188. package/docs/StrengthExerciseVariantData.md +69 -0
  189. package/docs/StrengthMachineData.md +38 -0
  190. package/docs/StrengthMachineDataSetData.md +60 -0
  191. package/docs/StrengthMachineDataSetTestData.md +27 -0
  192. package/docs/StrengthMachineDataSetTestSubsetData.md +13 -0
  193. package/docs/StrengthMachineModelData.md +10 -0
  194. package/docs/StretchExerciseData.md +14 -0
  195. package/docs/StretchExerciseVariantData.md +24 -0
  196. package/docs/TaskFailedResponse.md +13 -0
  197. package/docs/TaskFailure.md +16 -0
  198. package/docs/TaskPayload.md +12 -0
  199. package/docs/TaskQueueResponse.md +13 -0
  200. package/docs/TaskQueueResponseMeta.md +24 -0
  201. package/docs/TaskQueues.md +11 -0
  202. package/docs/TaskStats.md +11 -0
  203. package/docs/UserData.md +22 -0
  204. package/docs/UserListResponse.md +13 -0
  205. package/docs/UserListResponseMeta.md +16 -0
  206. package/docs/UserResponse.md +12 -0
  207. package/docs/UserSorting.md +13 -0
  208. package/docs/WeightMeasurementData.md +16 -0
  209. package/docs/WorkersResponse.md +12 -0
  210. package/package.json +37 -0
  211. package/rollup.config.mjs +32 -0
  212. package/src/apis/MetricsAdminApi.ts +1735 -0
  213. package/src/apis/index.ts +3 -0
  214. package/src/connection.ts +256 -0
  215. package/src/error.ts +248 -0
  216. package/src/event.ts +267 -0
  217. package/src/index.ts +9 -0
  218. package/src/jwt.ts +17 -0
  219. package/src/models/A500DataSetData.ts +164 -0
  220. package/src/models/A500MachineStateData.ts +150 -0
  221. package/src/models/A500RepDataPointData.ts +264 -0
  222. package/src/models/A500TestResultData.ts +174 -0
  223. package/src/models/A500TimeSeriesPointData.ts +233 -0
  224. package/src/models/AcceptedTermsVersionData.ts +83 -0
  225. package/src/models/BodyCompositionMeasurementData.ts +336 -0
  226. package/src/models/CacheKeysResponse.ts +82 -0
  227. package/src/models/CacheObject.ts +102 -0
  228. package/src/models/CacheObjectResponse.ts +89 -0
  229. package/src/models/CardioExerciseData.ts +131 -0
  230. package/src/models/CardioExerciseVariantData.ts +144 -0
  231. package/src/models/CardioMachineData.ts +143 -0
  232. package/src/models/EmailAddressData.ts +93 -0
  233. package/src/models/ExerciseAliasData.ts +138 -0
  234. package/src/models/ExerciseOrdinalSetAssignmentData.ts +132 -0
  235. package/src/models/ExerciseOrdinalSetData.ts +107 -0
  236. package/src/models/FacilityConfigurationData.ts +167 -0
  237. package/src/models/FacilityData.ts +132 -0
  238. package/src/models/FacilityLicenseData.ts +144 -0
  239. package/src/models/FacilityLicenseListResponse.ts +104 -0
  240. package/src/models/FacilityLicenseListResponseMeta.ts +152 -0
  241. package/src/models/FacilityLicenseResponse.ts +89 -0
  242. package/src/models/FacilityLicenseSorting.ts +40 -0
  243. package/src/models/FacilityProfileData.ts +121 -0
  244. package/src/models/FacilityRelationshipData.ts +175 -0
  245. package/src/models/FacilitySessionUserData.ts +216 -0
  246. package/src/models/FacilityStrengthMachineConfigurationData.ts +159 -0
  247. package/src/models/FacilityStrengthMachineData.ts +170 -0
  248. package/src/models/FingerprintData.ts +127 -0
  249. package/src/models/GlobalAccessControlCreationResponse.ts +104 -0
  250. package/src/models/GlobalAccessControlData.ts +217 -0
  251. package/src/models/GlobalAccessControlListResponse.ts +104 -0
  252. package/src/models/GlobalAccessControlListResponseMeta.ts +113 -0
  253. package/src/models/GlobalAccessControlResponse.ts +89 -0
  254. package/src/models/GlobalAccessControlSecretData.ts +75 -0
  255. package/src/models/GlobalAccessControlSecretResponse.ts +89 -0
  256. package/src/models/GlobalAccessControlSorting.ts +38 -0
  257. package/src/models/HeartRateDataPointData.ts +91 -0
  258. package/src/models/HeartRateDataSetData.ts +148 -0
  259. package/src/models/HeartRateDataSetSessionData.ts +108 -0
  260. package/src/models/HeightMeasurementData.ts +102 -0
  261. package/src/models/High.ts +66 -0
  262. package/src/models/Low.ts +66 -0
  263. package/src/models/MSeriesDataPointData.ts +167 -0
  264. package/src/models/MSeriesDataSetData.ts +363 -0
  265. package/src/models/MSeriesDataSetSegmentData.ts +219 -0
  266. package/src/models/MSeriesFtpMeasurementData.ts +133 -0
  267. package/src/models/MuscleArea.ts +39 -0
  268. package/src/models/MuscleData.ts +131 -0
  269. package/src/models/MuscleGroup.ts +50 -0
  270. package/src/models/MuscleIdentifier.ts +101 -0
  271. package/src/models/OAuthServiceData.ts +126 -0
  272. package/src/models/PrimaryEmailAddressData.ts +75 -0
  273. package/src/models/ProfileData.ts +115 -0
  274. package/src/models/Queue.ts +38 -0
  275. package/src/models/ResqueDetailsData.ts +97 -0
  276. package/src/models/ResqueDetailsResponse.ts +89 -0
  277. package/src/models/SessionData.ts +249 -0
  278. package/src/models/SessionPlanActivitySetData.ts +66 -0
  279. package/src/models/SessionPlanCardioSetData.ts +113 -0
  280. package/src/models/SessionPlanData.ts +205 -0
  281. package/src/models/SessionPlanSequenceAssignmentData.ts +90 -0
  282. package/src/models/SessionPlanSequenceData.ts +122 -0
  283. package/src/models/SessionPlanSequenceInstanceData.ts +154 -0
  284. package/src/models/SessionPlanSetData.ts +153 -0
  285. package/src/models/SessionPlanSetInstanceData.ts +162 -0
  286. package/src/models/SessionPlanStrengthSetData.ts +126 -0
  287. package/src/models/SessionPlanStretchSetData.ts +66 -0
  288. package/src/models/StatData.ts +165 -0
  289. package/src/models/StatListResponse.ts +104 -0
  290. package/src/models/StatListResponseMeta.ts +121 -0
  291. package/src/models/StatSorting.ts +38 -0
  292. package/src/models/StrengthExerciseData.ts +208 -0
  293. package/src/models/StrengthExerciseVariantData.ts +189 -0
  294. package/src/models/StrengthMachineData.ts +154 -0
  295. package/src/models/StrengthMachineDataSetData.ts +331 -0
  296. package/src/models/StrengthMachineDataSetTestData.ts +104 -0
  297. package/src/models/StrengthMachineDataSetTestSubsetData.ts +93 -0
  298. package/src/models/StrengthMachineModelData.ts +66 -0
  299. package/src/models/StretchExerciseData.ts +117 -0
  300. package/src/models/StretchExerciseVariantData.ts +130 -0
  301. package/src/models/TaskFailedResponse.ts +104 -0
  302. package/src/models/TaskFailure.ts +133 -0
  303. package/src/models/TaskPayload.ts +91 -0
  304. package/src/models/TaskQueueResponse.ts +104 -0
  305. package/src/models/TaskQueueResponseMeta.ts +117 -0
  306. package/src/models/TaskQueues.ts +88 -0
  307. package/src/models/TaskStats.ts +73 -0
  308. package/src/models/UserData.ts +217 -0
  309. package/src/models/UserListResponse.ts +104 -0
  310. package/src/models/UserListResponseMeta.ts +121 -0
  311. package/src/models/UserResponse.ts +89 -0
  312. package/src/models/UserSorting.ts +39 -0
  313. package/src/models/WeightMeasurementData.ts +125 -0
  314. package/src/models/WorkersResponse.ts +82 -0
  315. package/src/models/index.ts +98 -0
  316. package/src/runtime.ts +473 -0
  317. package/tsconfig.json +18 -0
@@ -0,0 +1,117 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * metrics-sdk-admin
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 5.0.12
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface TaskQueueResponseMeta
20
+ */
21
+ export interface TaskQueueResponseMeta {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof TaskQueueResponseMeta
26
+ */
27
+ queue: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof TaskQueueResponseMeta
32
+ */
33
+ sort: TaskQueueResponseMetaSortEnum;
34
+ /**
35
+ *
36
+ * @type {boolean}
37
+ * @memberof TaskQueueResponseMeta
38
+ */
39
+ ascending?: boolean;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof TaskQueueResponseMeta
44
+ */
45
+ limit?: number;
46
+ /**
47
+ *
48
+ * @type {number}
49
+ * @memberof TaskQueueResponseMeta
50
+ */
51
+ offset?: number;
52
+ /**
53
+ *
54
+ * @type {number}
55
+ * @memberof TaskQueueResponseMeta
56
+ */
57
+ totalCount?: number;
58
+ }
59
+
60
+
61
+ /**
62
+ * @export
63
+ */
64
+ export const TaskQueueResponseMetaSortEnum = {
65
+ ImportHomeRunnerWorkKeiserMetricsApiKeiserMetricsApiSrcLibSdkEnumConstantsTaskSorting: 'import(/home/runner/work/Keiser.Metrics.API/Keiser.Metrics.API/src/lib/SdkEnumConstants).TaskSorting'
66
+ } as const;
67
+ export type TaskQueueResponseMetaSortEnum = typeof TaskQueueResponseMetaSortEnum[keyof typeof TaskQueueResponseMetaSortEnum];
68
+
69
+
70
+ /**
71
+ * Check if a given object implements the TaskQueueResponseMeta interface.
72
+ */
73
+ export function instanceOfTaskQueueResponseMeta(value: object): boolean {
74
+ let isInstance = true;
75
+ isInstance = isInstance && "queue" in value;
76
+ isInstance = isInstance && "sort" in value;
77
+
78
+ return isInstance;
79
+ }
80
+
81
+ export function TaskQueueResponseMetaFromJSON(json: any): TaskQueueResponseMeta {
82
+ return TaskQueueResponseMetaFromJSONTyped(json, false);
83
+ }
84
+
85
+ export function TaskQueueResponseMetaFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskQueueResponseMeta {
86
+ if ((json === undefined) || (json === null)) {
87
+ return json;
88
+ }
89
+ return {
90
+
91
+ 'queue': json['queue'],
92
+ 'sort': json['sort'],
93
+ 'ascending': !exists(json, 'ascending') ? undefined : json['ascending'],
94
+ 'limit': !exists(json, 'limit') ? undefined : json['limit'],
95
+ 'offset': !exists(json, 'offset') ? undefined : json['offset'],
96
+ 'totalCount': !exists(json, 'totalCount') ? undefined : json['totalCount'],
97
+ };
98
+ }
99
+
100
+ export function TaskQueueResponseMetaToJSON(value?: TaskQueueResponseMeta | null): any {
101
+ if (value === undefined) {
102
+ return undefined;
103
+ }
104
+ if (value === null) {
105
+ return null;
106
+ }
107
+ return {
108
+
109
+ 'queue': value.queue,
110
+ 'sort': value.sort,
111
+ 'ascending': value.ascending,
112
+ 'limit': value.limit,
113
+ 'offset': value.offset,
114
+ 'totalCount': value.totalCount,
115
+ };
116
+ }
117
+
@@ -0,0 +1,88 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * metrics-sdk-admin
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 5.0.12
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import type { High } from './High';
17
+ import {
18
+ HighFromJSON,
19
+ HighFromJSONTyped,
20
+ HighToJSON,
21
+ } from './High';
22
+ import type { Low } from './Low';
23
+ import {
24
+ LowFromJSON,
25
+ LowFromJSONTyped,
26
+ LowToJSON,
27
+ } from './Low';
28
+
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface TaskQueues
33
+ */
34
+ export interface TaskQueues {
35
+ /**
36
+ *
37
+ * @type {High}
38
+ * @memberof TaskQueues
39
+ */
40
+ high: High;
41
+ /**
42
+ *
43
+ * @type {Low}
44
+ * @memberof TaskQueues
45
+ */
46
+ low: Low;
47
+ }
48
+
49
+ /**
50
+ * Check if a given object implements the TaskQueues interface.
51
+ */
52
+ export function instanceOfTaskQueues(value: object): boolean {
53
+ let isInstance = true;
54
+ isInstance = isInstance && "high" in value;
55
+ isInstance = isInstance && "low" in value;
56
+
57
+ return isInstance;
58
+ }
59
+
60
+ export function TaskQueuesFromJSON(json: any): TaskQueues {
61
+ return TaskQueuesFromJSONTyped(json, false);
62
+ }
63
+
64
+ export function TaskQueuesFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskQueues {
65
+ if ((json === undefined) || (json === null)) {
66
+ return json;
67
+ }
68
+ return {
69
+
70
+ 'high': HighFromJSON(json['high']),
71
+ 'low': LowFromJSON(json['low']),
72
+ };
73
+ }
74
+
75
+ export function TaskQueuesToJSON(value?: TaskQueues | null): any {
76
+ if (value === undefined) {
77
+ return undefined;
78
+ }
79
+ if (value === null) {
80
+ return null;
81
+ }
82
+ return {
83
+
84
+ 'high': HighToJSON(value.high),
85
+ 'low': LowToJSON(value.low),
86
+ };
87
+ }
88
+
@@ -0,0 +1,73 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * metrics-sdk-admin
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 5.0.12
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface TaskStats
20
+ */
21
+ export interface TaskStats {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof TaskStats
26
+ */
27
+ failed?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof TaskStats
32
+ */
33
+ processed?: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the TaskStats interface.
38
+ */
39
+ export function instanceOfTaskStats(value: object): boolean {
40
+ let isInstance = true;
41
+
42
+ return isInstance;
43
+ }
44
+
45
+ export function TaskStatsFromJSON(json: any): TaskStats {
46
+ return TaskStatsFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function TaskStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): TaskStats {
50
+ if ((json === undefined) || (json === null)) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'failed': !exists(json, 'failed') ? undefined : json['failed'],
56
+ 'processed': !exists(json, 'processed') ? undefined : json['processed'],
57
+ };
58
+ }
59
+
60
+ export function TaskStatsToJSON(value?: TaskStats | null): any {
61
+ if (value === undefined) {
62
+ return undefined;
63
+ }
64
+ if (value === null) {
65
+ return null;
66
+ }
67
+ return {
68
+
69
+ 'failed': value.failed,
70
+ 'processed': value.processed,
71
+ };
72
+ }
73
+
@@ -0,0 +1,217 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * metrics-sdk-admin
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 5.0.12
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import type { AcceptedTermsVersionData } from './AcceptedTermsVersionData';
17
+ import {
18
+ AcceptedTermsVersionDataFromJSON,
19
+ AcceptedTermsVersionDataFromJSONTyped,
20
+ AcceptedTermsVersionDataToJSON,
21
+ } from './AcceptedTermsVersionData';
22
+ import type { EmailAddressData } from './EmailAddressData';
23
+ import {
24
+ EmailAddressDataFromJSON,
25
+ EmailAddressDataFromJSONTyped,
26
+ EmailAddressDataToJSON,
27
+ } from './EmailAddressData';
28
+ import type { FacilityRelationshipData } from './FacilityRelationshipData';
29
+ import {
30
+ FacilityRelationshipDataFromJSON,
31
+ FacilityRelationshipDataFromJSONTyped,
32
+ FacilityRelationshipDataToJSON,
33
+ } from './FacilityRelationshipData';
34
+ import type { HeightMeasurementData } from './HeightMeasurementData';
35
+ import {
36
+ HeightMeasurementDataFromJSON,
37
+ HeightMeasurementDataFromJSONTyped,
38
+ HeightMeasurementDataToJSON,
39
+ } from './HeightMeasurementData';
40
+ import type { OAuthServiceData } from './OAuthServiceData';
41
+ import {
42
+ OAuthServiceDataFromJSON,
43
+ OAuthServiceDataFromJSONTyped,
44
+ OAuthServiceDataToJSON,
45
+ } from './OAuthServiceData';
46
+ import type { PrimaryEmailAddressData } from './PrimaryEmailAddressData';
47
+ import {
48
+ PrimaryEmailAddressDataFromJSON,
49
+ PrimaryEmailAddressDataFromJSONTyped,
50
+ PrimaryEmailAddressDataToJSON,
51
+ } from './PrimaryEmailAddressData';
52
+ import type { ProfileData } from './ProfileData';
53
+ import {
54
+ ProfileDataFromJSON,
55
+ ProfileDataFromJSONTyped,
56
+ ProfileDataToJSON,
57
+ } from './ProfileData';
58
+ import type { SessionData } from './SessionData';
59
+ import {
60
+ SessionDataFromJSON,
61
+ SessionDataFromJSONTyped,
62
+ SessionDataToJSON,
63
+ } from './SessionData';
64
+ import type { WeightMeasurementData } from './WeightMeasurementData';
65
+ import {
66
+ WeightMeasurementDataFromJSON,
67
+ WeightMeasurementDataFromJSONTyped,
68
+ WeightMeasurementDataToJSON,
69
+ } from './WeightMeasurementData';
70
+
71
+ /**
72
+ *
73
+ * @export
74
+ * @interface UserData
75
+ */
76
+ export interface UserData {
77
+ /**
78
+ *
79
+ * @type {number}
80
+ * @memberof UserData
81
+ */
82
+ id: number;
83
+ /**
84
+ *
85
+ * @type {Array<EmailAddressData>}
86
+ * @memberof UserData
87
+ */
88
+ emailAddresses?: Array<EmailAddressData>;
89
+ /**
90
+ *
91
+ * @type {PrimaryEmailAddressData}
92
+ * @memberof UserData
93
+ */
94
+ primaryEmailAddress?: PrimaryEmailAddressData;
95
+ /**
96
+ *
97
+ * @type {boolean}
98
+ * @memberof UserData
99
+ */
100
+ basicCredential?: boolean;
101
+ /**
102
+ *
103
+ * @type {Array<OAuthServiceData>}
104
+ * @memberof UserData
105
+ */
106
+ oauthServices?: Array<OAuthServiceData>;
107
+ /**
108
+ *
109
+ * @type {ProfileData}
110
+ * @memberof UserData
111
+ */
112
+ profile?: ProfileData;
113
+ /**
114
+ *
115
+ * @type {AcceptedTermsVersionData}
116
+ * @memberof UserData
117
+ */
118
+ acceptedTermsVersion?: AcceptedTermsVersionData;
119
+ /**
120
+ *
121
+ * @type {Array<WeightMeasurementData>}
122
+ * @memberof UserData
123
+ */
124
+ weightMeasurements?: Array<WeightMeasurementData>;
125
+ /**
126
+ *
127
+ * @type {WeightMeasurementData}
128
+ * @memberof UserData
129
+ */
130
+ weightMeasurement?: WeightMeasurementData;
131
+ /**
132
+ *
133
+ * @type {Array<HeightMeasurementData>}
134
+ * @memberof UserData
135
+ */
136
+ heightMeasurements?: Array<HeightMeasurementData>;
137
+ /**
138
+ *
139
+ * @type {HeightMeasurementData}
140
+ * @memberof UserData
141
+ */
142
+ heightMeasurement?: HeightMeasurementData;
143
+ /**
144
+ *
145
+ * @type {Array<FacilityRelationshipData>}
146
+ * @memberof UserData
147
+ */
148
+ facilityRelationships?: Array<FacilityRelationshipData>;
149
+ /**
150
+ *
151
+ * @type {Array<SessionData>}
152
+ * @memberof UserData
153
+ */
154
+ sessions?: Array<SessionData>;
155
+ }
156
+
157
+ /**
158
+ * Check if a given object implements the UserData interface.
159
+ */
160
+ export function instanceOfUserData(value: object): boolean {
161
+ let isInstance = true;
162
+ isInstance = isInstance && "id" in value;
163
+
164
+ return isInstance;
165
+ }
166
+
167
+ export function UserDataFromJSON(json: any): UserData {
168
+ return UserDataFromJSONTyped(json, false);
169
+ }
170
+
171
+ export function UserDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserData {
172
+ if ((json === undefined) || (json === null)) {
173
+ return json;
174
+ }
175
+ return {
176
+
177
+ 'id': json['id'],
178
+ 'emailAddresses': !exists(json, 'emailAddresses') ? undefined : ((json['emailAddresses'] as Array<any>).map(EmailAddressDataFromJSON)),
179
+ 'primaryEmailAddress': !exists(json, 'primaryEmailAddress') ? undefined : PrimaryEmailAddressDataFromJSON(json['primaryEmailAddress']),
180
+ 'basicCredential': !exists(json, 'basicCredential') ? undefined : json['basicCredential'],
181
+ 'oauthServices': !exists(json, 'oauthServices') ? undefined : ((json['oauthServices'] as Array<any>).map(OAuthServiceDataFromJSON)),
182
+ 'profile': !exists(json, 'profile') ? undefined : ProfileDataFromJSON(json['profile']),
183
+ 'acceptedTermsVersion': !exists(json, 'acceptedTermsVersion') ? undefined : AcceptedTermsVersionDataFromJSON(json['acceptedTermsVersion']),
184
+ 'weightMeasurements': !exists(json, 'weightMeasurements') ? undefined : ((json['weightMeasurements'] as Array<any>).map(WeightMeasurementDataFromJSON)),
185
+ 'weightMeasurement': !exists(json, 'weightMeasurement') ? undefined : WeightMeasurementDataFromJSON(json['weightMeasurement']),
186
+ 'heightMeasurements': !exists(json, 'heightMeasurements') ? undefined : ((json['heightMeasurements'] as Array<any>).map(HeightMeasurementDataFromJSON)),
187
+ 'heightMeasurement': !exists(json, 'heightMeasurement') ? undefined : HeightMeasurementDataFromJSON(json['heightMeasurement']),
188
+ 'facilityRelationships': !exists(json, 'facilityRelationships') ? undefined : ((json['facilityRelationships'] as Array<any>).map(FacilityRelationshipDataFromJSON)),
189
+ 'sessions': !exists(json, 'sessions') ? undefined : ((json['sessions'] as Array<any>).map(SessionDataFromJSON)),
190
+ };
191
+ }
192
+
193
+ export function UserDataToJSON(value?: UserData | null): any {
194
+ if (value === undefined) {
195
+ return undefined;
196
+ }
197
+ if (value === null) {
198
+ return null;
199
+ }
200
+ return {
201
+
202
+ 'id': value.id,
203
+ 'emailAddresses': value.emailAddresses === undefined ? undefined : ((value.emailAddresses as Array<any>).map(EmailAddressDataToJSON)),
204
+ 'primaryEmailAddress': PrimaryEmailAddressDataToJSON(value.primaryEmailAddress),
205
+ 'basicCredential': value.basicCredential,
206
+ 'oauthServices': value.oauthServices === undefined ? undefined : ((value.oauthServices as Array<any>).map(OAuthServiceDataToJSON)),
207
+ 'profile': ProfileDataToJSON(value.profile),
208
+ 'acceptedTermsVersion': AcceptedTermsVersionDataToJSON(value.acceptedTermsVersion),
209
+ 'weightMeasurements': value.weightMeasurements === undefined ? undefined : ((value.weightMeasurements as Array<any>).map(WeightMeasurementDataToJSON)),
210
+ 'weightMeasurement': WeightMeasurementDataToJSON(value.weightMeasurement),
211
+ 'heightMeasurements': value.heightMeasurements === undefined ? undefined : ((value.heightMeasurements as Array<any>).map(HeightMeasurementDataToJSON)),
212
+ 'heightMeasurement': HeightMeasurementDataToJSON(value.heightMeasurement),
213
+ 'facilityRelationships': value.facilityRelationships === undefined ? undefined : ((value.facilityRelationships as Array<any>).map(FacilityRelationshipDataToJSON)),
214
+ 'sessions': value.sessions === undefined ? undefined : ((value.sessions as Array<any>).map(SessionDataToJSON)),
215
+ };
216
+ }
217
+
@@ -0,0 +1,104 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * metrics-sdk-admin
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 5.0.12
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import type { UserData } from './UserData';
17
+ import {
18
+ UserDataFromJSON,
19
+ UserDataFromJSONTyped,
20
+ UserDataToJSON,
21
+ } from './UserData';
22
+ import type { UserListResponseMeta } from './UserListResponseMeta';
23
+ import {
24
+ UserListResponseMetaFromJSON,
25
+ UserListResponseMetaFromJSONTyped,
26
+ UserListResponseMetaToJSON,
27
+ } from './UserListResponseMeta';
28
+
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface UserListResponse
33
+ */
34
+ export interface UserListResponse {
35
+ /**
36
+ *
37
+ * @type {Array<UserData>}
38
+ * @memberof UserListResponse
39
+ */
40
+ users: Array<UserData>;
41
+ /**
42
+ *
43
+ * @type {UserListResponseMeta}
44
+ * @memberof UserListResponse
45
+ */
46
+ usersMeta: UserListResponseMeta;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof UserListResponse
51
+ */
52
+ accessToken?: string;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof UserListResponse
57
+ */
58
+ refreshToken?: string;
59
+ }
60
+
61
+ /**
62
+ * Check if a given object implements the UserListResponse interface.
63
+ */
64
+ export function instanceOfUserListResponse(value: object): boolean {
65
+ let isInstance = true;
66
+ isInstance = isInstance && "users" in value;
67
+ isInstance = isInstance && "usersMeta" in value;
68
+
69
+ return isInstance;
70
+ }
71
+
72
+ export function UserListResponseFromJSON(json: any): UserListResponse {
73
+ return UserListResponseFromJSONTyped(json, false);
74
+ }
75
+
76
+ export function UserListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserListResponse {
77
+ if ((json === undefined) || (json === null)) {
78
+ return json;
79
+ }
80
+ return {
81
+
82
+ 'users': ((json['users'] as Array<any>).map(UserDataFromJSON)),
83
+ 'usersMeta': UserListResponseMetaFromJSON(json['usersMeta']),
84
+ 'accessToken': !exists(json, 'accessToken') ? undefined : json['accessToken'],
85
+ 'refreshToken': !exists(json, 'refreshToken') ? undefined : json['refreshToken'],
86
+ };
87
+ }
88
+
89
+ export function UserListResponseToJSON(value?: UserListResponse | null): any {
90
+ if (value === undefined) {
91
+ return undefined;
92
+ }
93
+ if (value === null) {
94
+ return null;
95
+ }
96
+ return {
97
+
98
+ 'users': ((value.users as Array<any>).map(UserDataToJSON)),
99
+ 'usersMeta': UserListResponseMetaToJSON(value.usersMeta),
100
+ 'accessToken': value.accessToken,
101
+ 'refreshToken': value.refreshToken,
102
+ };
103
+ }
104
+