@tryvital/vital-node 3.1.101 → 3.1.102
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.js +2 -2
- package/api/resources/aggregate/client/Client.d.ts +0 -8
- package/api/resources/aggregate/client/Client.js +1 -9
- package/api/resources/aggregate/client/requests/Query.d.ts +0 -8
- package/api/resources/body/client/Client.js +2 -2
- 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/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.js +56 -56
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/AggregateExprArg.d.ts +1 -1
- package/api/types/ClientFacingSleep.d.ts +7 -0
- package/api/types/QueryInstruction.d.ts +1 -1
- package/api/types/QueryInstructionSelectItem.d.ts +1 -1
- package/api/types/SleepScoreValueMacroExpr.d.ts +7 -0
- package/api/types/SleepScoreValueMacroExpr.js +5 -0
- package/api/types/SleepType.d.ts +10 -0
- package/api/types/SleepType.js +12 -0
- package/api/types/UnrecognizedValueMacroExpr.d.ts +6 -0
- package/api/types/UnrecognizedValueMacroExpr.js +5 -0
- package/api/types/index.d.ts +3 -0
- package/api/types/index.js +3 -0
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.d.ts +0 -8
- package/dist/api/resources/aggregate/client/Client.js +1 -9
- package/dist/api/resources/aggregate/client/requests/Query.d.ts +0 -8
- package/dist/api/resources/body/client/Client.js +2 -2
- 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/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.js +56 -56
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/AggregateExprArg.d.ts +1 -1
- package/dist/api/types/ClientFacingSleep.d.ts +7 -0
- package/dist/api/types/QueryInstruction.d.ts +1 -1
- package/dist/api/types/QueryInstructionSelectItem.d.ts +1 -1
- package/dist/api/types/SleepScoreValueMacroExpr.d.ts +7 -0
- package/dist/api/types/SleepScoreValueMacroExpr.js +5 -0
- package/dist/api/types/SleepType.d.ts +10 -0
- package/dist/api/types/SleepType.js +12 -0
- package/dist/api/types/UnrecognizedValueMacroExpr.d.ts +6 -0
- package/dist/api/types/UnrecognizedValueMacroExpr.js +5 -0
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/index.js +3 -0
- package/dist/serialization/types/AggregateExprArg.d.ts +3 -1
- package/dist/serialization/types/AggregateExprArg.js +4 -0
- package/dist/serialization/types/ClientFacingSleep.d.ts +2 -0
- package/dist/serialization/types/ClientFacingSleep.js +2 -0
- package/dist/serialization/types/QueryInstruction.d.ts +1 -1
- package/dist/serialization/types/QueryInstruction.js +1 -1
- package/dist/serialization/types/QueryInstructionSelectItem.d.ts +3 -1
- package/dist/serialization/types/QueryInstructionSelectItem.js +4 -0
- package/dist/serialization/types/SleepScoreValueMacroExpr.d.ts +13 -0
- package/dist/serialization/types/SleepScoreValueMacroExpr.js +34 -0
- package/dist/serialization/types/SleepType.d.ts +10 -0
- package/dist/serialization/types/SleepType.js +31 -0
- package/dist/serialization/types/UnrecognizedValueMacroExpr.d.ts +12 -0
- package/dist/serialization/types/UnrecognizedValueMacroExpr.js +33 -0
- package/dist/serialization/types/index.d.ts +3 -0
- package/dist/serialization/types/index.js +3 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +0 -10
- package/serialization/types/AggregateExprArg.d.ts +3 -1
- package/serialization/types/AggregateExprArg.js +4 -0
- package/serialization/types/ClientFacingSleep.d.ts +2 -0
- package/serialization/types/ClientFacingSleep.js +2 -0
- package/serialization/types/QueryInstruction.d.ts +1 -1
- package/serialization/types/QueryInstruction.js +1 -1
- package/serialization/types/QueryInstructionSelectItem.d.ts +3 -1
- package/serialization/types/QueryInstructionSelectItem.js +4 -0
- package/serialization/types/SleepScoreValueMacroExpr.d.ts +13 -0
- package/serialization/types/SleepScoreValueMacroExpr.js +34 -0
- package/serialization/types/SleepType.d.ts +10 -0
- package/serialization/types/SleepType.js +31 -0
- package/serialization/types/UnrecognizedValueMacroExpr.d.ts +12 -0
- package/serialization/types/UnrecognizedValueMacroExpr.js +33 -0
- package/serialization/types/index.d.ts +3 -0
- package/serialization/types/index.js +3 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
@@ -0,0 +1,10 @@
|
|
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
|
+
export declare const SleepType: core.serialization.Schema<serializers.SleepType.Raw, Vital.SleepType>;
|
8
|
+
export declare namespace SleepType {
|
9
|
+
type Raw = "long_sleep" | "short_sleep" | "acknowledged_nap" | "unknown";
|
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.SleepType = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.SleepType = core.serialization.enum_(["long_sleep", "short_sleep", "acknowledged_nap", "unknown"]);
|
@@ -0,0 +1,12 @@
|
|
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
|
+
export declare const UnrecognizedValueMacroExpr: core.serialization.ObjectSchema<serializers.UnrecognizedValueMacroExpr.Raw, Vital.UnrecognizedValueMacroExpr>;
|
8
|
+
export declare namespace UnrecognizedValueMacroExpr {
|
9
|
+
interface Raw {
|
10
|
+
value_macro: string;
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,33 @@
|
|
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.UnrecognizedValueMacroExpr = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.UnrecognizedValueMacroExpr = core.serialization.object({
|
32
|
+
valueMacro: core.serialization.property("value_macro", core.serialization.string()),
|
33
|
+
});
|
@@ -273,7 +273,9 @@ export * from "./SingleUserHistoricalPullResponse";
|
|
273
273
|
export * from "./SingleUserResourceResponse";
|
274
274
|
export * from "./SleepColumnExprSleep";
|
275
275
|
export * from "./SleepColumnExpr";
|
276
|
+
export * from "./SleepScoreValueMacroExpr";
|
276
277
|
export * from "./SleepSummaryState";
|
278
|
+
export * from "./SleepType";
|
277
279
|
export * from "./SleepV2InDb";
|
278
280
|
export * from "./Source";
|
279
281
|
export * from "./SourceAuthType";
|
@@ -285,6 +287,7 @@ export * from "./TimeseriesMetricPoint";
|
|
285
287
|
export * from "./TimeseriesResource";
|
286
288
|
export * from "./TraceElements";
|
287
289
|
export * from "./UsAddress";
|
290
|
+
export * from "./UnrecognizedValueMacroExpr";
|
288
291
|
export * from "./UserHistoricalPullsResponse";
|
289
292
|
export * from "./UserInfo";
|
290
293
|
export * from "./UserRefreshErrorResponse";
|
@@ -289,7 +289,9 @@ __exportStar(require("./SingleUserHistoricalPullResponse"), exports);
|
|
289
289
|
__exportStar(require("./SingleUserResourceResponse"), exports);
|
290
290
|
__exportStar(require("./SleepColumnExprSleep"), exports);
|
291
291
|
__exportStar(require("./SleepColumnExpr"), exports);
|
292
|
+
__exportStar(require("./SleepScoreValueMacroExpr"), exports);
|
292
293
|
__exportStar(require("./SleepSummaryState"), exports);
|
294
|
+
__exportStar(require("./SleepType"), exports);
|
293
295
|
__exportStar(require("./SleepV2InDb"), exports);
|
294
296
|
__exportStar(require("./Source"), exports);
|
295
297
|
__exportStar(require("./SourceAuthType"), exports);
|
@@ -301,6 +303,7 @@ __exportStar(require("./TimeseriesMetricPoint"), exports);
|
|
301
303
|
__exportStar(require("./TimeseriesResource"), exports);
|
302
304
|
__exportStar(require("./TraceElements"), exports);
|
303
305
|
__exportStar(require("./UsAddress"), exports);
|
306
|
+
__exportStar(require("./UnrecognizedValueMacroExpr"), exports);
|
304
307
|
__exportStar(require("./UserHistoricalPullsResponse"), exports);
|
305
308
|
__exportStar(require("./UserInfo"), exports);
|
306
309
|
__exportStar(require("./UserRefreshErrorResponse"), exports);
|
package/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
1
|
+
export declare const SDK_VERSION = "3.1.102";
|
package/version.js
CHANGED