@tryvital/vital-node 3.1.56 → 3.1.58
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/api/index.d.ts +1 -1
- package/api/index.js +1 -1
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/index.d.ts +2 -1
- package/api/resources/index.js +3 -2
- package/api/resources/insurance/client/Client.js +2 -2
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.js +43 -28
- package/api/resources/labTests/client/requests/LabTestsGetOrdersRequest.d.ts +15 -0
- package/api/resources/labTests/index.d.ts +1 -0
- package/api/resources/labTests/index.js +1 -0
- package/api/resources/labTests/types/LabTestsGetOrdersRequestOrderDirection.d.ts +8 -0
- package/api/resources/labTests/types/LabTestsGetOrdersRequestOrderDirection.js +10 -0
- package/api/resources/labTests/types/LabTestsGetOrdersRequestOrderKey.d.ts +9 -0
- package/api/resources/labTests/types/LabTestsGetOrdersRequestOrderKey.js +11 -0
- package/api/resources/labTests/types/index.d.ts +2 -0
- package/api/resources/labTests/types/index.js +18 -0
- package/api/resources/link/client/Client.js +14 -14
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.js +1 -1
- package/api/resources/profile/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +1 -1
- package/api/resources/sleep/client/Client.js +4 -4
- package/api/resources/team/client/Client.js +7 -7
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +16 -16
- package/api/resources/vitals/client/Client.d.ts +36 -0
- package/api/resources/vitals/client/Client.js +348 -52
- package/api/resources/vitals/client/requests/VitalsCarbohydratesGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsCarbohydratesGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsInsulinInjectionGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsInsulinInjectionGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsNoteGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsNoteGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsWorkoutDurationGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsWorkoutDurationGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/index.d.ts +4 -0
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ClientFacingCarbohydratesSample.d.ts +18 -0
- package/api/types/ClientFacingCarbohydratesSample.js +5 -0
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.d.ts +10 -0
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.js +5 -0
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.d.ts +10 -0
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.js +5 -0
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.d.ts +10 -0
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.js +5 -0
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.d.ts +10 -0
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.js +5 -0
- package/api/types/ClientFacingInsulinInjectionSample.d.ts +19 -0
- package/api/types/ClientFacingInsulinInjectionSample.js +5 -0
- package/api/types/ClientFacingInsulinInjectionSampleType.d.ts +11 -0
- package/api/types/ClientFacingInsulinInjectionSampleType.js +10 -0
- package/api/types/ClientFacingNoteSample.d.ts +20 -0
- package/api/types/ClientFacingNoteSample.js +5 -0
- package/api/types/ClientFacingNoteSampleTagsItem.d.ts +10 -0
- package/api/types/ClientFacingNoteSampleTagsItem.js +12 -0
- package/api/types/ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.d.ts +8 -0
- package/api/types/ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.js +5 -0
- package/api/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.d.ts +8 -0
- package/api/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.js +5 -0
- package/api/types/ClientFacingTimeseriesGroupClientFacingNoteSample.d.ts +8 -0
- package/api/types/ClientFacingTimeseriesGroupClientFacingNoteSample.js +5 -0
- package/api/types/ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.d.ts +8 -0
- package/api/types/ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.js +5 -0
- package/api/types/ClientFacingWorkoutDurationSample.d.ts +19 -0
- package/api/types/ClientFacingWorkoutDurationSample.js +5 -0
- package/api/types/ClientFacingWorkoutDurationSampleIntensity.d.ts +9 -0
- package/api/types/ClientFacingWorkoutDurationSampleIntensity.js +11 -0
- package/api/types/index.d.ts +15 -0
- package/api/types/index.js +15 -0
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +1 -1
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +2 -1
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/insurance/client/Client.js +2 -2
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.js +43 -28
- package/dist/api/resources/labTests/client/requests/LabTestsGetOrdersRequest.d.ts +15 -0
- package/dist/api/resources/labTests/index.d.ts +1 -0
- package/dist/api/resources/labTests/index.js +1 -0
- package/dist/api/resources/labTests/types/LabTestsGetOrdersRequestOrderDirection.d.ts +8 -0
- package/dist/api/resources/labTests/types/LabTestsGetOrdersRequestOrderDirection.js +10 -0
- package/dist/api/resources/labTests/types/LabTestsGetOrdersRequestOrderKey.d.ts +9 -0
- package/dist/api/resources/labTests/types/LabTestsGetOrdersRequestOrderKey.js +11 -0
- package/dist/api/resources/labTests/types/index.d.ts +2 -0
- package/dist/api/resources/labTests/types/index.js +18 -0
- package/dist/api/resources/link/client/Client.js +14 -14
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
- package/dist/api/resources/profile/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +1 -1
- package/dist/api/resources/sleep/client/Client.js +4 -4
- package/dist/api/resources/team/client/Client.js +7 -7
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +16 -16
- package/dist/api/resources/vitals/client/Client.d.ts +36 -0
- package/dist/api/resources/vitals/client/Client.js +348 -52
- package/dist/api/resources/vitals/client/requests/VitalsCarbohydratesGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsCarbohydratesGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsInsulinInjectionGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsInsulinInjectionGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsNoteGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsNoteGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsWorkoutDurationGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsWorkoutDurationGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/index.d.ts +4 -0
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ClientFacingCarbohydratesSample.d.ts +18 -0
- package/dist/api/types/ClientFacingCarbohydratesSample.js +5 -0
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.d.ts +10 -0
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.js +5 -0
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.d.ts +10 -0
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.js +5 -0
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.d.ts +10 -0
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.js +5 -0
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.d.ts +10 -0
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.js +5 -0
- package/dist/api/types/ClientFacingInsulinInjectionSample.d.ts +19 -0
- package/dist/api/types/ClientFacingInsulinInjectionSample.js +5 -0
- package/dist/api/types/ClientFacingInsulinInjectionSampleType.d.ts +11 -0
- package/dist/api/types/ClientFacingInsulinInjectionSampleType.js +10 -0
- package/dist/api/types/ClientFacingNoteSample.d.ts +20 -0
- package/dist/api/types/ClientFacingNoteSample.js +5 -0
- package/dist/api/types/ClientFacingNoteSampleTagsItem.d.ts +10 -0
- package/dist/api/types/ClientFacingNoteSampleTagsItem.js +12 -0
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.d.ts +8 -0
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.js +5 -0
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.d.ts +8 -0
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.js +5 -0
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingNoteSample.d.ts +8 -0
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingNoteSample.js +5 -0
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.d.ts +8 -0
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.js +5 -0
- package/dist/api/types/ClientFacingWorkoutDurationSample.d.ts +19 -0
- package/dist/api/types/ClientFacingWorkoutDurationSample.js +5 -0
- package/dist/api/types/ClientFacingWorkoutDurationSampleIntensity.d.ts +9 -0
- package/dist/api/types/ClientFacingWorkoutDurationSampleIntensity.js +11 -0
- package/dist/api/types/index.d.ts +15 -0
- package/dist/api/types/index.js +15 -0
- package/dist/serialization/index.d.ts +1 -1
- package/dist/serialization/index.js +1 -1
- package/dist/serialization/resources/index.d.ts +2 -1
- package/dist/serialization/resources/index.js +3 -2
- package/dist/serialization/resources/labTests/index.d.ts +1 -0
- package/dist/serialization/resources/labTests/index.js +1 -0
- package/dist/serialization/resources/labTests/types/LabTestsGetOrdersRequestOrderDirection.d.ts +10 -0
- package/dist/serialization/resources/labTests/types/LabTestsGetOrdersRequestOrderDirection.js +31 -0
- package/dist/serialization/resources/labTests/types/LabTestsGetOrdersRequestOrderKey.d.ts +10 -0
- package/dist/serialization/resources/labTests/types/LabTestsGetOrdersRequestOrderKey.js +31 -0
- package/dist/serialization/resources/labTests/types/index.d.ts +2 -0
- package/dist/serialization/resources/labTests/types/index.js +18 -0
- package/dist/serialization/types/ClientFacingCarbohydratesSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingCarbohydratesSample.js +40 -0
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.d.ts +15 -0
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.js +36 -0
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.d.ts +15 -0
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.js +36 -0
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.d.ts +15 -0
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.js +36 -0
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.d.ts +15 -0
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.js +36 -0
- package/dist/serialization/types/ClientFacingInsulinInjectionSample.d.ts +20 -0
- package/dist/serialization/types/ClientFacingInsulinInjectionSample.js +41 -0
- package/dist/serialization/types/ClientFacingInsulinInjectionSampleType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingInsulinInjectionSampleType.js +31 -0
- package/dist/serialization/types/ClientFacingNoteSample.d.ts +21 -0
- package/dist/serialization/types/ClientFacingNoteSample.js +42 -0
- package/dist/serialization/types/ClientFacingNoteSampleTagsItem.d.ts +10 -0
- package/dist/serialization/types/ClientFacingNoteSampleTagsItem.js +31 -0
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.d.ts +15 -0
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.js +36 -0
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.d.ts +15 -0
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.js +36 -0
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingNoteSample.d.ts +15 -0
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingNoteSample.js +36 -0
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.d.ts +15 -0
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.js +36 -0
- package/dist/serialization/types/ClientFacingWorkoutDurationSample.d.ts +21 -0
- package/dist/serialization/types/ClientFacingWorkoutDurationSample.js +42 -0
- package/dist/serialization/types/ClientFacingWorkoutDurationSampleIntensity.d.ts +10 -0
- package/dist/serialization/types/ClientFacingWorkoutDurationSampleIntensity.js +31 -0
- package/dist/serialization/types/index.d.ts +15 -0
- package/dist/serialization/types/index.js +15 -0
- package/package.json +1 -1
- package/serialization/index.d.ts +1 -1
- package/serialization/index.js +1 -1
- package/serialization/resources/index.d.ts +2 -1
- package/serialization/resources/index.js +3 -2
- package/serialization/resources/labTests/index.d.ts +1 -0
- package/serialization/resources/labTests/index.js +1 -0
- package/serialization/resources/labTests/types/LabTestsGetOrdersRequestOrderDirection.d.ts +10 -0
- package/serialization/resources/labTests/types/LabTestsGetOrdersRequestOrderDirection.js +31 -0
- package/serialization/resources/labTests/types/LabTestsGetOrdersRequestOrderKey.d.ts +10 -0
- package/serialization/resources/labTests/types/LabTestsGetOrdersRequestOrderKey.js +31 -0
- package/serialization/resources/labTests/types/index.d.ts +2 -0
- package/serialization/resources/labTests/types/index.js +18 -0
- package/serialization/types/ClientFacingCarbohydratesSample.d.ts +19 -0
- package/serialization/types/ClientFacingCarbohydratesSample.js +40 -0
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.d.ts +15 -0
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.js +36 -0
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.d.ts +15 -0
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.js +36 -0
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.d.ts +15 -0
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.js +36 -0
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.d.ts +15 -0
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.js +36 -0
- package/serialization/types/ClientFacingInsulinInjectionSample.d.ts +20 -0
- package/serialization/types/ClientFacingInsulinInjectionSample.js +41 -0
- package/serialization/types/ClientFacingInsulinInjectionSampleType.d.ts +10 -0
- package/serialization/types/ClientFacingInsulinInjectionSampleType.js +31 -0
- package/serialization/types/ClientFacingNoteSample.d.ts +21 -0
- package/serialization/types/ClientFacingNoteSample.js +42 -0
- package/serialization/types/ClientFacingNoteSampleTagsItem.d.ts +10 -0
- package/serialization/types/ClientFacingNoteSampleTagsItem.js +31 -0
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.d.ts +15 -0
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.js +36 -0
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.d.ts +15 -0
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.js +36 -0
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingNoteSample.d.ts +15 -0
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingNoteSample.js +36 -0
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.d.ts +15 -0
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.js +36 -0
- package/serialization/types/ClientFacingWorkoutDurationSample.d.ts +21 -0
- package/serialization/types/ClientFacingWorkoutDurationSample.js +42 -0
- package/serialization/types/ClientFacingWorkoutDurationSampleIntensity.d.ts +10 -0
- package/serialization/types/ClientFacingWorkoutDurationSampleIntensity.js +31 -0
- package/serialization/types/index.d.ts +15 -0
- package/serialization/types/index.js +15 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../..";
|
5
|
+
import * as Vital from "../../../../api";
|
6
|
+
import * as core from "../../../../core";
|
7
|
+
export declare const LabTestsGetOrdersRequestOrderKey: core.serialization.Schema<serializers.LabTestsGetOrdersRequestOrderKey.Raw, Vital.LabTestsGetOrdersRequestOrderKey>;
|
8
|
+
export declare namespace LabTestsGetOrdersRequestOrderKey {
|
9
|
+
type Raw = "created_at" | "patient_name" | "last_status";
|
10
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.LabTestsGetOrdersRequestOrderKey = void 0;
|
30
|
+
const core = __importStar(require("../../../../core"));
|
31
|
+
exports.LabTestsGetOrdersRequestOrderKey = core.serialization.enum_(["created_at", "patient_name", "last_status"]);
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./LabTestsGetOrdersRequestOrderKey"), exports);
|
18
|
+
__exportStar(require("./LabTestsGetOrdersRequestOrderDirection"), exports);
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const ClientFacingCarbohydratesSample: core.serialization.ObjectSchema<serializers.ClientFacingCarbohydratesSample.Raw, Vital.ClientFacingCarbohydratesSample>;
|
8
|
+
export declare namespace ClientFacingCarbohydratesSample {
|
9
|
+
interface Raw {
|
10
|
+
id?: number | null;
|
11
|
+
timezone_offset?: number | null;
|
12
|
+
type?: string | null;
|
13
|
+
unit: string;
|
14
|
+
timestamp: string;
|
15
|
+
start: string;
|
16
|
+
end: string;
|
17
|
+
value: number;
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClientFacingCarbohydratesSample = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ClientFacingCarbohydratesSample = core.serialization.object({
|
32
|
+
id: core.serialization.number().optional(),
|
33
|
+
timezoneOffset: core.serialization.property("timezone_offset", core.serialization.number().optional()),
|
34
|
+
type: core.serialization.string().optional(),
|
35
|
+
unit: core.serialization.string(),
|
36
|
+
timestamp: core.serialization.date(),
|
37
|
+
start: core.serialization.date(),
|
38
|
+
end: core.serialization.date(),
|
39
|
+
value: core.serialization.number(),
|
40
|
+
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { ClientFacingTimeseriesGroupClientFacingCarbohydratesSample } from "./ClientFacingTimeseriesGroupClientFacingCarbohydratesSample";
|
8
|
+
export declare const ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample: core.serialization.ObjectSchema<serializers.ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.Raw, Vital.ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample>;
|
9
|
+
export declare namespace ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample {
|
10
|
+
interface Raw {
|
11
|
+
groups: Record<string, ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.Raw[]>;
|
12
|
+
next?: string | null;
|
13
|
+
next_cursor?: string | null;
|
14
|
+
}
|
15
|
+
}
|
package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample.js
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingTimeseriesGroupClientFacingCarbohydratesSample_1 = require("./ClientFacingTimeseriesGroupClientFacingCarbohydratesSample");
|
32
|
+
exports.ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample = core.serialization.object({
|
33
|
+
groups: core.serialization.record(core.serialization.string(), core.serialization.list(ClientFacingTimeseriesGroupClientFacingCarbohydratesSample_1.ClientFacingTimeseriesGroupClientFacingCarbohydratesSample)),
|
34
|
+
next: core.serialization.string().optional(),
|
35
|
+
nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
|
36
|
+
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample } from "./ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample";
|
8
|
+
export declare const ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample: core.serialization.ObjectSchema<serializers.ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample.Raw, Vital.ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample>;
|
9
|
+
export declare namespace ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample {
|
10
|
+
interface Raw {
|
11
|
+
groups: Record<string, ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.Raw[]>;
|
12
|
+
next?: string | null;
|
13
|
+
next_cursor?: string | null;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample_1 = require("./ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample");
|
32
|
+
exports.ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample = core.serialization.object({
|
33
|
+
groups: core.serialization.record(core.serialization.string(), core.serialization.list(ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample_1.ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample)),
|
34
|
+
next: core.serialization.string().optional(),
|
35
|
+
nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
|
36
|
+
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { ClientFacingTimeseriesGroupClientFacingNoteSample } from "./ClientFacingTimeseriesGroupClientFacingNoteSample";
|
8
|
+
export declare const ClientFacingGroupedTimeseriesResponseClientFacingNoteSample: core.serialization.ObjectSchema<serializers.ClientFacingGroupedTimeseriesResponseClientFacingNoteSample.Raw, Vital.ClientFacingGroupedTimeseriesResponseClientFacingNoteSample>;
|
9
|
+
export declare namespace ClientFacingGroupedTimeseriesResponseClientFacingNoteSample {
|
10
|
+
interface Raw {
|
11
|
+
groups: Record<string, ClientFacingTimeseriesGroupClientFacingNoteSample.Raw[]>;
|
12
|
+
next?: string | null;
|
13
|
+
next_cursor?: string | null;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClientFacingGroupedTimeseriesResponseClientFacingNoteSample = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingTimeseriesGroupClientFacingNoteSample_1 = require("./ClientFacingTimeseriesGroupClientFacingNoteSample");
|
32
|
+
exports.ClientFacingGroupedTimeseriesResponseClientFacingNoteSample = core.serialization.object({
|
33
|
+
groups: core.serialization.record(core.serialization.string(), core.serialization.list(ClientFacingTimeseriesGroupClientFacingNoteSample_1.ClientFacingTimeseriesGroupClientFacingNoteSample)),
|
34
|
+
next: core.serialization.string().optional(),
|
35
|
+
nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
|
36
|
+
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample } from "./ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample";
|
8
|
+
export declare const ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample: core.serialization.ObjectSchema<serializers.ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample.Raw, Vital.ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample>;
|
9
|
+
export declare namespace ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample {
|
10
|
+
interface Raw {
|
11
|
+
groups: Record<string, ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample.Raw[]>;
|
12
|
+
next?: string | null;
|
13
|
+
next_cursor?: string | null;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample_1 = require("./ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample");
|
32
|
+
exports.ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample = core.serialization.object({
|
33
|
+
groups: core.serialization.record(core.serialization.string(), core.serialization.list(ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample_1.ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample)),
|
34
|
+
next: core.serialization.string().optional(),
|
35
|
+
nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
|
36
|
+
});
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { ClientFacingInsulinInjectionSampleType } from "./ClientFacingInsulinInjectionSampleType";
|
8
|
+
export declare const ClientFacingInsulinInjectionSample: core.serialization.ObjectSchema<serializers.ClientFacingInsulinInjectionSample.Raw, Vital.ClientFacingInsulinInjectionSample>;
|
9
|
+
export declare namespace ClientFacingInsulinInjectionSample {
|
10
|
+
interface Raw {
|
11
|
+
id?: number | null;
|
12
|
+
timezone_offset?: number | null;
|
13
|
+
type: ClientFacingInsulinInjectionSampleType.Raw;
|
14
|
+
unit: "unit";
|
15
|
+
timestamp: string;
|
16
|
+
start: string;
|
17
|
+
end: string;
|
18
|
+
value: number;
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClientFacingInsulinInjectionSample = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingInsulinInjectionSampleType_1 = require("./ClientFacingInsulinInjectionSampleType");
|
32
|
+
exports.ClientFacingInsulinInjectionSample = core.serialization.object({
|
33
|
+
id: core.serialization.number().optional(),
|
34
|
+
timezoneOffset: core.serialization.property("timezone_offset", core.serialization.number().optional()),
|
35
|
+
type: ClientFacingInsulinInjectionSampleType_1.ClientFacingInsulinInjectionSampleType,
|
36
|
+
unit: core.serialization.stringLiteral("unit"),
|
37
|
+
timestamp: core.serialization.date(),
|
38
|
+
start: core.serialization.date(),
|
39
|
+
end: core.serialization.date(),
|
40
|
+
value: core.serialization.number(),
|
41
|
+
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const ClientFacingInsulinInjectionSampleType: core.serialization.Schema<serializers.ClientFacingInsulinInjectionSampleType.Raw, Vital.ClientFacingInsulinInjectionSampleType>;
|
8
|
+
export declare namespace ClientFacingInsulinInjectionSampleType {
|
9
|
+
type Raw = "rapid_acting" | "long_acting";
|
10
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClientFacingInsulinInjectionSampleType = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ClientFacingInsulinInjectionSampleType = core.serialization.enum_(["rapid_acting", "long_acting"]);
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { ClientFacingNoteSampleTagsItem } from "./ClientFacingNoteSampleTagsItem";
|
8
|
+
export declare const ClientFacingNoteSample: core.serialization.ObjectSchema<serializers.ClientFacingNoteSample.Raw, Vital.ClientFacingNoteSample>;
|
9
|
+
export declare namespace ClientFacingNoteSample {
|
10
|
+
interface Raw {
|
11
|
+
id?: number | null;
|
12
|
+
timezone_offset?: number | null;
|
13
|
+
type?: string | null;
|
14
|
+
unit: string;
|
15
|
+
timestamp: string;
|
16
|
+
start: string;
|
17
|
+
end: string;
|
18
|
+
value: string;
|
19
|
+
tags?: ClientFacingNoteSampleTagsItem.Raw[] | null;
|
20
|
+
}
|
21
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClientFacingNoteSample = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingNoteSampleTagsItem_1 = require("./ClientFacingNoteSampleTagsItem");
|
32
|
+
exports.ClientFacingNoteSample = core.serialization.object({
|
33
|
+
id: core.serialization.number().optional(),
|
34
|
+
timezoneOffset: core.serialization.property("timezone_offset", core.serialization.number().optional()),
|
35
|
+
type: core.serialization.string().optional(),
|
36
|
+
unit: core.serialization.string(),
|
37
|
+
timestamp: core.serialization.date(),
|
38
|
+
start: core.serialization.date(),
|
39
|
+
end: core.serialization.date(),
|
40
|
+
value: core.serialization.string(),
|
41
|
+
tags: core.serialization.list(ClientFacingNoteSampleTagsItem_1.ClientFacingNoteSampleTagsItem).optional(),
|
42
|
+
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const ClientFacingNoteSampleTagsItem: core.serialization.Schema<serializers.ClientFacingNoteSampleTagsItem.Raw, Vital.ClientFacingNoteSampleTagsItem>;
|
8
|
+
export declare namespace ClientFacingNoteSampleTagsItem {
|
9
|
+
type Raw = "food" | "exercise" | "insulin_injection" | "unspecified";
|
10
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClientFacingNoteSampleTagsItem = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ClientFacingNoteSampleTagsItem = core.serialization.enum_(["food", "exercise", "insulin_injection", "unspecified"]);
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { ClientFacingSource } from "./ClientFacingSource";
|
8
|
+
import { ClientFacingCarbohydratesSample } from "./ClientFacingCarbohydratesSample";
|
9
|
+
export declare const ClientFacingTimeseriesGroupClientFacingCarbohydratesSample: core.serialization.ObjectSchema<serializers.ClientFacingTimeseriesGroupClientFacingCarbohydratesSample.Raw, Vital.ClientFacingTimeseriesGroupClientFacingCarbohydratesSample>;
|
10
|
+
export declare namespace ClientFacingTimeseriesGroupClientFacingCarbohydratesSample {
|
11
|
+
interface Raw {
|
12
|
+
source: ClientFacingSource.Raw;
|
13
|
+
data: ClientFacingCarbohydratesSample.Raw[];
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClientFacingTimeseriesGroupClientFacingCarbohydratesSample = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingSource_1 = require("./ClientFacingSource");
|
32
|
+
const ClientFacingCarbohydratesSample_1 = require("./ClientFacingCarbohydratesSample");
|
33
|
+
exports.ClientFacingTimeseriesGroupClientFacingCarbohydratesSample = core.serialization.object({
|
34
|
+
source: ClientFacingSource_1.ClientFacingSource,
|
35
|
+
data: core.serialization.list(ClientFacingCarbohydratesSample_1.ClientFacingCarbohydratesSample),
|
36
|
+
});
|
package/serialization/types/ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.d.ts
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { ClientFacingSource } from "./ClientFacingSource";
|
8
|
+
import { ClientFacingInsulinInjectionSample } from "./ClientFacingInsulinInjectionSample";
|
9
|
+
export declare const ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample: core.serialization.ObjectSchema<serializers.ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample.Raw, Vital.ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample>;
|
10
|
+
export declare namespace ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample {
|
11
|
+
interface Raw {
|
12
|
+
source: ClientFacingSource.Raw;
|
13
|
+
data: ClientFacingInsulinInjectionSample.Raw[];
|
14
|
+
}
|
15
|
+
}
|