@tryvital/vital-node 3.1.138 → 3.1.140
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/resources/activity/client/Client.d.ts +2 -2
- package/api/resources/activity/client/Client.js +4 -4
- package/api/resources/aggregate/client/Client.d.ts +3 -3
- package/api/resources/aggregate/client/Client.js +11 -6
- package/api/resources/aggregate/client/requests/{Query.d.ts → QueryBatch.d.ts} +4 -4
- package/api/resources/aggregate/client/requests/index.d.ts +1 -1
- package/{dist/api/resources/aggregate/types/QueryTimeframe.d.ts → api/resources/aggregate/types/QueryBatchTimeframe.d.ts} +1 -1
- package/api/resources/aggregate/types/index.d.ts +1 -1
- package/api/resources/aggregate/types/index.js +1 -1
- package/api/resources/body/client/Client.d.ts +2 -2
- package/api/resources/body/client/Client.js +4 -4
- package/api/resources/devices/client/Client.js +1 -1
- 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 +34 -34
- package/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -1
- 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.d.ts +2 -2
- package/api/resources/profile/client/Client.js +4 -4
- package/api/resources/providers/client/Client.js +1 -1
- package/api/resources/sleep/client/Client.d.ts +3 -3
- package/api/resources/sleep/client/Client.js +7 -7
- package/api/resources/sleepCycle/client/Client.d.ts +1 -1
- package/api/resources/sleepCycle/client/Client.js +2 -2
- 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.js +58 -58
- package/api/resources/workouts/client/Client.d.ts +2 -2
- package/api/resources/workouts/client/Client.js +5 -5
- package/api/types/{QueryInstructionGroupByItem.d.ts → AggregationResponse.d.ts} +3 -1
- package/api/types/AggregationResult.d.ts +7 -0
- package/api/types/ClientFacingLabLocation.d.ts +1 -0
- package/api/types/ClientFacingResource.d.ts +2 -1
- package/api/types/ClientFacingResource.js +1 -0
- package/api/types/IndexColumnExprIndex.d.ts +2 -1
- package/api/types/IndexColumnExprIndex.js +1 -0
- package/api/types/PatientDetailsWithValidation.d.ts +15 -0
- package/api/types/{QueryInstruction.d.ts → Query.d.ts} +3 -3
- package/{dist/api/types/QueryInstructionGroupByItem.d.ts → api/types/QueryGroupByItem.d.ts} +1 -1
- package/api/types/QuerySelectItem.d.ts +5 -0
- package/api/types/index.d.ts +6 -3
- package/api/types/index.js +6 -3
- package/dist/api/resources/activity/client/Client.d.ts +2 -2
- package/dist/api/resources/activity/client/Client.js +4 -4
- package/dist/api/resources/aggregate/client/Client.d.ts +3 -3
- package/dist/api/resources/aggregate/client/Client.js +11 -6
- package/dist/api/resources/aggregate/client/requests/{Query.d.ts → QueryBatch.d.ts} +4 -4
- package/dist/api/resources/aggregate/client/requests/index.d.ts +1 -1
- package/{api/resources/aggregate/types/QueryTimeframe.d.ts → dist/api/resources/aggregate/types/QueryBatchTimeframe.d.ts} +1 -1
- package/dist/api/resources/aggregate/types/index.d.ts +1 -1
- package/dist/api/resources/aggregate/types/index.js +1 -1
- package/dist/api/resources/body/client/Client.d.ts +2 -2
- package/dist/api/resources/body/client/Client.js +4 -4
- package/dist/api/resources/devices/client/Client.js +1 -1
- 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 +34 -34
- package/dist/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -1
- 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.d.ts +2 -2
- package/dist/api/resources/profile/client/Client.js +4 -4
- package/dist/api/resources/providers/client/Client.js +1 -1
- package/dist/api/resources/sleep/client/Client.d.ts +3 -3
- package/dist/api/resources/sleep/client/Client.js +7 -7
- package/dist/api/resources/sleepCycle/client/Client.d.ts +1 -1
- package/dist/api/resources/sleepCycle/client/Client.js +2 -2
- 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.js +58 -58
- package/dist/api/resources/workouts/client/Client.d.ts +2 -2
- package/dist/api/resources/workouts/client/Client.js +5 -5
- package/dist/api/types/AggregationResponse.d.ts +7 -0
- package/dist/api/types/AggregationResponse.js +5 -0
- package/dist/api/types/AggregationResult.d.ts +7 -0
- package/dist/api/types/AggregationResult.js +5 -0
- package/dist/api/types/ClientFacingLabLocation.d.ts +1 -0
- package/dist/api/types/ClientFacingResource.d.ts +2 -1
- package/dist/api/types/ClientFacingResource.js +1 -0
- package/dist/api/types/IndexColumnExprIndex.d.ts +2 -1
- package/dist/api/types/IndexColumnExprIndex.js +1 -0
- package/dist/api/types/PatientDetailsWithValidation.d.ts +15 -0
- package/dist/api/types/PatientDetailsWithValidation.js +5 -0
- package/dist/api/types/{QueryInstruction.d.ts → Query.d.ts} +3 -3
- package/dist/api/types/Query.js +5 -0
- package/dist/api/types/QueryGroupByItem.d.ts +5 -0
- package/dist/api/types/QueryGroupByItem.js +5 -0
- package/dist/api/types/QuerySelectItem.d.ts +5 -0
- package/dist/api/types/QuerySelectItem.js +5 -0
- package/dist/api/types/index.d.ts +6 -3
- package/dist/api/types/index.js +6 -3
- package/dist/serialization/resources/aggregate/client/requests/{Query.d.ts → QueryBatch.d.ts} +6 -6
- package/dist/serialization/resources/aggregate/client/requests/{Query.js → QueryBatch.js} +6 -6
- package/dist/serialization/resources/aggregate/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/aggregate/client/requests/index.js +3 -3
- package/{serialization/resources/aggregate/types/QueryTimeframe.d.ts → dist/serialization/resources/aggregate/types/QueryBatchTimeframe.d.ts} +2 -2
- package/{serialization/resources/aggregate/types/QueryTimeframe.js → dist/serialization/resources/aggregate/types/QueryBatchTimeframe.js} +2 -2
- package/dist/serialization/resources/aggregate/types/index.d.ts +1 -1
- package/dist/serialization/resources/aggregate/types/index.js +1 -1
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -2
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +2 -2
- package/dist/serialization/types/AggregationResponse.d.ts +13 -0
- package/dist/serialization/types/AggregationResponse.js +34 -0
- package/dist/serialization/types/AggregationResult.d.ts +12 -0
- package/dist/serialization/types/AggregationResult.js +33 -0
- package/dist/serialization/types/ClientFacingLabLocation.d.ts +2 -0
- package/dist/serialization/types/ClientFacingLabLocation.js +2 -0
- package/dist/serialization/types/ClientFacingResource.d.ts +1 -1
- package/dist/serialization/types/ClientFacingResource.js +1 -0
- package/dist/serialization/types/IndexColumnExprIndex.d.ts +1 -1
- package/dist/serialization/types/IndexColumnExprIndex.js +1 -1
- package/dist/serialization/types/PatientDetailsWithValidation.d.ts +18 -0
- package/dist/serialization/types/PatientDetailsWithValidation.js +39 -0
- package/dist/serialization/types/Query.d.ts +16 -0
- package/dist/serialization/types/{QueryInstruction.js → Query.js} +6 -6
- package/{serialization/types/QueryInstructionGroupByItem.d.ts → dist/serialization/types/QueryGroupByItem.d.ts} +2 -2
- package/{serialization/types/QueryInstructionGroupByItem.js → dist/serialization/types/QueryGroupByItem.js} +2 -2
- package/dist/serialization/types/{QueryInstructionSelectItem.d.ts → QuerySelectItem.d.ts} +2 -2
- package/dist/serialization/types/{QueryInstructionSelectItem.js → QuerySelectItem.js} +2 -2
- package/dist/serialization/types/index.d.ts +6 -3
- package/dist/serialization/types/index.js +6 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +15 -15
- package/serialization/resources/aggregate/client/requests/{Query.d.ts → QueryBatch.d.ts} +6 -6
- package/serialization/resources/aggregate/client/requests/{Query.js → QueryBatch.js} +6 -6
- package/serialization/resources/aggregate/client/requests/index.d.ts +1 -1
- package/serialization/resources/aggregate/client/requests/index.js +3 -3
- package/{dist/serialization/resources/aggregate/types/QueryTimeframe.d.ts → serialization/resources/aggregate/types/QueryBatchTimeframe.d.ts} +2 -2
- package/{dist/serialization/resources/aggregate/types/QueryTimeframe.js → serialization/resources/aggregate/types/QueryBatchTimeframe.js} +2 -2
- package/serialization/resources/aggregate/types/index.d.ts +1 -1
- package/serialization/resources/aggregate/types/index.js +1 -1
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -2
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +2 -2
- package/serialization/types/AggregationResponse.d.ts +13 -0
- package/serialization/types/AggregationResponse.js +34 -0
- package/serialization/types/AggregationResult.d.ts +12 -0
- package/serialization/types/AggregationResult.js +33 -0
- package/serialization/types/ClientFacingLabLocation.d.ts +2 -0
- package/serialization/types/ClientFacingLabLocation.js +2 -0
- package/serialization/types/ClientFacingResource.d.ts +1 -1
- package/serialization/types/ClientFacingResource.js +1 -0
- package/serialization/types/IndexColumnExprIndex.d.ts +1 -1
- package/serialization/types/IndexColumnExprIndex.js +1 -1
- package/serialization/types/PatientDetailsWithValidation.d.ts +18 -0
- package/serialization/types/PatientDetailsWithValidation.js +39 -0
- package/serialization/types/Query.d.ts +16 -0
- package/serialization/types/{QueryInstruction.js → Query.js} +6 -6
- package/{dist/serialization/types/QueryInstructionGroupByItem.d.ts → serialization/types/QueryGroupByItem.d.ts} +2 -2
- package/{dist/serialization/types/QueryInstructionGroupByItem.js → serialization/types/QueryGroupByItem.js} +2 -2
- package/serialization/types/{QueryInstructionSelectItem.d.ts → QuerySelectItem.d.ts} +2 -2
- package/serialization/types/{QueryInstructionSelectItem.js → QuerySelectItem.js} +2 -2
- package/serialization/types/index.d.ts +6 -3
- package/serialization/types/index.js +6 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/QueryInstructionSelectItem.d.ts +0 -5
- package/dist/api/types/QueryInstructionSelectItem.d.ts +0 -5
- package/dist/serialization/types/QueryInstruction.d.ts +0 -16
- package/serialization/types/QueryInstruction.d.ts +0 -16
- /package/api/resources/aggregate/client/requests/{Query.js → QueryBatch.js} +0 -0
- /package/api/resources/aggregate/types/{QueryTimeframe.js → QueryBatchTimeframe.js} +0 -0
- /package/api/types/{QueryInstruction.js → AggregationResponse.js} +0 -0
- /package/api/types/{QueryInstructionGroupByItem.js → AggregationResult.js} +0 -0
- /package/api/types/{QueryInstructionSelectItem.js → PatientDetailsWithValidation.js} +0 -0
- /package/{dist/api/resources/aggregate/client/requests → api/types}/Query.js +0 -0
- /package/{dist/api/resources/aggregate/types/QueryTimeframe.js → api/types/QueryGroupByItem.js} +0 -0
- /package/{dist/api/types/QueryInstruction.js → api/types/QuerySelectItem.js} +0 -0
- /package/dist/api/{types/QueryInstructionGroupByItem.js → resources/aggregate/client/requests/QueryBatch.js} +0 -0
- /package/dist/api/{types/QueryInstructionSelectItem.js → resources/aggregate/types/QueryBatchTimeframe.js} +0 -0
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.IndexColumnExprIndex = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
exports.IndexColumnExprIndex = core.serialization.enum_(["sleep", "activity", "workout", "body"]);
|
31
|
+
exports.IndexColumnExprIndex = core.serialization.enum_(["sleep", "activity", "workout", "body", "meal"]);
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { Gender } from "./Gender";
|
8
|
+
export declare const PatientDetailsWithValidation: core.serialization.ObjectSchema<serializers.PatientDetailsWithValidation.Raw, Vital.PatientDetailsWithValidation>;
|
9
|
+
export declare namespace PatientDetailsWithValidation {
|
10
|
+
interface Raw {
|
11
|
+
first_name: string;
|
12
|
+
last_name: string;
|
13
|
+
dob: string;
|
14
|
+
gender: Gender.Raw;
|
15
|
+
phone_number: string;
|
16
|
+
email: string;
|
17
|
+
}
|
18
|
+
}
|
@@ -0,0 +1,39 @@
|
|
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.PatientDetailsWithValidation = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const Gender_1 = require("./Gender");
|
32
|
+
exports.PatientDetailsWithValidation = core.serialization.object({
|
33
|
+
firstName: core.serialization.property("first_name", core.serialization.string()),
|
34
|
+
lastName: core.serialization.property("last_name", core.serialization.string()),
|
35
|
+
dob: core.serialization.date(),
|
36
|
+
gender: Gender_1.Gender,
|
37
|
+
phoneNumber: core.serialization.property("phone_number", core.serialization.string()),
|
38
|
+
email: core.serialization.string(),
|
39
|
+
});
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { QuerySelectItem } from "./QuerySelectItem";
|
8
|
+
import { QueryGroupByItem } from "./QueryGroupByItem";
|
9
|
+
export declare const Query: core.serialization.ObjectSchema<serializers.Query.Raw, Vital.Query>;
|
10
|
+
export declare namespace Query {
|
11
|
+
interface Raw {
|
12
|
+
select: QuerySelectItem.Raw[];
|
13
|
+
group_by?: QueryGroupByItem.Raw[] | null;
|
14
|
+
split_by_source?: boolean | null;
|
15
|
+
}
|
16
|
+
}
|
@@ -26,12 +26,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
26
|
return result;
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.
|
29
|
+
exports.Query = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
const
|
32
|
-
const
|
33
|
-
exports.
|
34
|
-
select: core.serialization.list(
|
35
|
-
groupBy: core.serialization.property("group_by", core.serialization.list(
|
31
|
+
const QuerySelectItem_1 = require("./QuerySelectItem");
|
32
|
+
const QueryGroupByItem_1 = require("./QueryGroupByItem");
|
33
|
+
exports.Query = core.serialization.object({
|
34
|
+
select: core.serialization.list(QuerySelectItem_1.QuerySelectItem),
|
35
|
+
groupBy: core.serialization.property("group_by", core.serialization.list(QueryGroupByItem_1.QueryGroupByItem).optional()),
|
36
36
|
splitBySource: core.serialization.property("split_by_source", core.serialization.boolean().optional()),
|
37
37
|
});
|
@@ -6,7 +6,7 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { DateTruncExpr } from "./DateTruncExpr";
|
8
8
|
import { DatePartExpr } from "./DatePartExpr";
|
9
|
-
export declare const
|
10
|
-
export declare namespace
|
9
|
+
export declare const QueryGroupByItem: core.serialization.Schema<serializers.QueryGroupByItem.Raw, Vital.QueryGroupByItem>;
|
10
|
+
export declare namespace QueryGroupByItem {
|
11
11
|
type Raw = DateTruncExpr.Raw | DatePartExpr.Raw;
|
12
12
|
}
|
@@ -26,8 +26,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
26
|
return result;
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.
|
29
|
+
exports.QueryGroupByItem = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const DateTruncExpr_1 = require("./DateTruncExpr");
|
32
32
|
const DatePartExpr_1 = require("./DatePartExpr");
|
33
|
-
exports.
|
33
|
+
exports.QueryGroupByItem = core.serialization.undiscriminatedUnion([DateTruncExpr_1.DateTruncExpr, DatePartExpr_1.DatePartExpr]);
|
@@ -14,7 +14,7 @@ import { GroupKeyColumnExpr } from "./GroupKeyColumnExpr";
|
|
14
14
|
import { SleepScoreValueMacroExpr } from "./SleepScoreValueMacroExpr";
|
15
15
|
import { ChronotypeValueMacroExpr } from "./ChronotypeValueMacroExpr";
|
16
16
|
import { UnrecognizedValueMacroExpr } from "./UnrecognizedValueMacroExpr";
|
17
|
-
export declare const
|
18
|
-
export declare namespace
|
17
|
+
export declare const QuerySelectItem: core.serialization.Schema<serializers.QuerySelectItem.Raw, Vital.QuerySelectItem>;
|
18
|
+
export declare namespace QuerySelectItem {
|
19
19
|
type Raw = AggregateExpr.Raw | SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | IndexColumnExpr.Raw | GroupKeyColumnExpr.Raw | SleepScoreValueMacroExpr.Raw | ChronotypeValueMacroExpr.Raw | UnrecognizedValueMacroExpr.Raw;
|
20
20
|
}
|
@@ -26,7 +26,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
26
|
return result;
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.
|
29
|
+
exports.QuerySelectItem = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const AggregateExpr_1 = require("./AggregateExpr");
|
32
32
|
const SleepColumnExpr_1 = require("./SleepColumnExpr");
|
@@ -38,7 +38,7 @@ const GroupKeyColumnExpr_1 = require("./GroupKeyColumnExpr");
|
|
38
38
|
const SleepScoreValueMacroExpr_1 = require("./SleepScoreValueMacroExpr");
|
39
39
|
const ChronotypeValueMacroExpr_1 = require("./ChronotypeValueMacroExpr");
|
40
40
|
const UnrecognizedValueMacroExpr_1 = require("./UnrecognizedValueMacroExpr");
|
41
|
-
exports.
|
41
|
+
exports.QuerySelectItem = core.serialization.undiscriminatedUnion([
|
42
42
|
AggregateExpr_1.AggregateExpr,
|
43
43
|
SleepColumnExpr_1.SleepColumnExpr,
|
44
44
|
ActivityColumnExpr_1.ActivityColumnExpr,
|
@@ -6,6 +6,8 @@ export * from "./Address";
|
|
6
6
|
export * from "./AggregateExprArg";
|
7
7
|
export * from "./AggregateExprFunc";
|
8
8
|
export * from "./AggregateExpr";
|
9
|
+
export * from "./AggregationResponse";
|
10
|
+
export * from "./AggregationResult";
|
9
11
|
export * from "./AllowedRadius";
|
10
12
|
export * from "./Answer";
|
11
13
|
export * from "./AoE";
|
@@ -239,6 +241,7 @@ export * from "./ParentBiomarkerData";
|
|
239
241
|
export * from "./PasswordProviders";
|
240
242
|
export * from "./PatientAddressCompatible";
|
241
243
|
export * from "./PatientDetails";
|
244
|
+
export * from "./PatientDetailsWithValidation";
|
242
245
|
export * from "./PeriodUnit";
|
243
246
|
export * from "./Period";
|
244
247
|
export * from "./PersonDetailsOutput";
|
@@ -256,12 +259,12 @@ export * from "./ProviderLinkResponse";
|
|
256
259
|
export * from "./ProviderMfaRequestMethod";
|
257
260
|
export * from "./ProviderMfaRequest";
|
258
261
|
export * from "./Providers";
|
262
|
+
export * from "./QuerySelectItem";
|
263
|
+
export * from "./QueryGroupByItem";
|
264
|
+
export * from "./Query";
|
259
265
|
export * from "./QueryConfigWeekStartsOn";
|
260
266
|
export * from "./QueryConfigProviderPriorityOverridesItem";
|
261
267
|
export * from "./QueryConfig";
|
262
|
-
export * from "./QueryInstructionSelectItem";
|
263
|
-
export * from "./QueryInstructionGroupByItem";
|
264
|
-
export * from "./QueryInstruction";
|
265
268
|
export * from "./Question";
|
266
269
|
export * from "./QuestionType";
|
267
270
|
export * from "./RawActivity";
|
@@ -22,6 +22,8 @@ __exportStar(require("./Address"), exports);
|
|
22
22
|
__exportStar(require("./AggregateExprArg"), exports);
|
23
23
|
__exportStar(require("./AggregateExprFunc"), exports);
|
24
24
|
__exportStar(require("./AggregateExpr"), exports);
|
25
|
+
__exportStar(require("./AggregationResponse"), exports);
|
26
|
+
__exportStar(require("./AggregationResult"), exports);
|
25
27
|
__exportStar(require("./AllowedRadius"), exports);
|
26
28
|
__exportStar(require("./Answer"), exports);
|
27
29
|
__exportStar(require("./AoE"), exports);
|
@@ -255,6 +257,7 @@ __exportStar(require("./ParentBiomarkerData"), exports);
|
|
255
257
|
__exportStar(require("./PasswordProviders"), exports);
|
256
258
|
__exportStar(require("./PatientAddressCompatible"), exports);
|
257
259
|
__exportStar(require("./PatientDetails"), exports);
|
260
|
+
__exportStar(require("./PatientDetailsWithValidation"), exports);
|
258
261
|
__exportStar(require("./PeriodUnit"), exports);
|
259
262
|
__exportStar(require("./Period"), exports);
|
260
263
|
__exportStar(require("./PersonDetailsOutput"), exports);
|
@@ -272,12 +275,12 @@ __exportStar(require("./ProviderLinkResponse"), exports);
|
|
272
275
|
__exportStar(require("./ProviderMfaRequestMethod"), exports);
|
273
276
|
__exportStar(require("./ProviderMfaRequest"), exports);
|
274
277
|
__exportStar(require("./Providers"), exports);
|
278
|
+
__exportStar(require("./QuerySelectItem"), exports);
|
279
|
+
__exportStar(require("./QueryGroupByItem"), exports);
|
280
|
+
__exportStar(require("./Query"), exports);
|
275
281
|
__exportStar(require("./QueryConfigWeekStartsOn"), exports);
|
276
282
|
__exportStar(require("./QueryConfigProviderPriorityOverridesItem"), exports);
|
277
283
|
__exportStar(require("./QueryConfig"), exports);
|
278
|
-
__exportStar(require("./QueryInstructionSelectItem"), exports);
|
279
|
-
__exportStar(require("./QueryInstructionGroupByItem"), exports);
|
280
|
-
__exportStar(require("./QueryInstruction"), exports);
|
281
284
|
__exportStar(require("./Question"), exports);
|
282
285
|
__exportStar(require("./QuestionType"), exports);
|
283
286
|
__exportStar(require("./RawActivity"), exports);
|
package/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
1
|
+
export declare const SDK_VERSION = "3.1.140";
|
package/version.js
CHANGED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as Vital from "../index";
|
5
|
-
export declare type QueryInstructionSelectItem = Vital.AggregateExpr | Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.BodyColumnExpr | Vital.IndexColumnExpr | Vital.GroupKeyColumnExpr | Vital.SleepScoreValueMacroExpr | Vital.ChronotypeValueMacroExpr | Vital.UnrecognizedValueMacroExpr;
|
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as Vital from "../index";
|
5
|
-
export declare type QueryInstructionSelectItem = Vital.AggregateExpr | Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.BodyColumnExpr | Vital.IndexColumnExpr | Vital.GroupKeyColumnExpr | Vital.SleepScoreValueMacroExpr | Vital.ChronotypeValueMacroExpr | Vital.UnrecognizedValueMacroExpr;
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Vital from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
import { QueryInstructionSelectItem } from "./QueryInstructionSelectItem";
|
8
|
-
import { QueryInstructionGroupByItem } from "./QueryInstructionGroupByItem";
|
9
|
-
export declare const QueryInstruction: core.serialization.ObjectSchema<serializers.QueryInstruction.Raw, Vital.QueryInstruction>;
|
10
|
-
export declare namespace QueryInstruction {
|
11
|
-
interface Raw {
|
12
|
-
select: QueryInstructionSelectItem.Raw[];
|
13
|
-
group_by?: QueryInstructionGroupByItem.Raw[] | null;
|
14
|
-
split_by_source?: boolean | null;
|
15
|
-
}
|
16
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "../index";
|
5
|
-
import * as Vital from "../../api/index";
|
6
|
-
import * as core from "../../core";
|
7
|
-
import { QueryInstructionSelectItem } from "./QueryInstructionSelectItem";
|
8
|
-
import { QueryInstructionGroupByItem } from "./QueryInstructionGroupByItem";
|
9
|
-
export declare const QueryInstruction: core.serialization.ObjectSchema<serializers.QueryInstruction.Raw, Vital.QueryInstruction>;
|
10
|
-
export declare namespace QueryInstruction {
|
11
|
-
interface Raw {
|
12
|
-
select: QueryInstructionSelectItem.Raw[];
|
13
|
-
group_by?: QueryInstructionGroupByItem.Raw[] | null;
|
14
|
-
split_by_source?: boolean | null;
|
15
|
-
}
|
16
|
-
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/{dist/api/resources/aggregate/types/QueryTimeframe.js → api/types/QueryGroupByItem.js}
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|