@tryvital/vital-node 3.1.372 → 3.1.374
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.js +3 -3
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/electrocardiogram/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +3 -3
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.js +41 -41
- package/api/resources/link/client/Client.js +19 -19
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.js +1 -1
- package/api/resources/order/client/Client.js +1 -1
- package/api/resources/payor/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 +3 -3
- package/api/resources/sleepCycle/client/Client.js +1 -1
- 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 +18 -18
- package/api/resources/vitals/client/Client.js +78 -78
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/AppointmentEventStatus.d.ts +2 -1
- package/api/types/AppointmentEventStatus.js +1 -0
- package/api/types/AppointmentStatus.d.ts +2 -1
- package/api/types/AppointmentStatus.js +1 -0
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.js +3 -3
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
- package/dist/api/resources/insurance/client/Client.js +3 -3
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.js +41 -41
- package/dist/api/resources/link/client/Client.js +19 -19
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
- package/dist/api/resources/order/client/Client.js +1 -1
- package/dist/api/resources/payor/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 +3 -3
- package/dist/api/resources/sleepCycle/client/Client.js +1 -1
- 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 +18 -18
- package/dist/api/resources/vitals/client/Client.js +78 -78
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/AppointmentEventStatus.d.ts +2 -1
- package/dist/api/types/AppointmentEventStatus.js +1 -0
- package/dist/api/types/AppointmentStatus.d.ts +2 -1
- package/dist/api/types/AppointmentStatus.js +1 -0
- package/dist/serialization/types/AppointmentEventStatus.d.ts +1 -1
- package/dist/serialization/types/AppointmentEventStatus.js +1 -1
- package/dist/serialization/types/AppointmentStatus.d.ts +1 -1
- package/dist/serialization/types/AppointmentStatus.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/types/AppointmentEventStatus.d.ts +1 -1
- package/serialization/types/AppointmentEventStatus.js +1 -1
- package/serialization/types/AppointmentStatus.d.ts +1 -1
- package/serialization/types/AppointmentStatus.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -78,7 +78,7 @@ class Workouts {
|
|
|
78
78
|
const _response = yield core.fetcher({
|
|
79
79
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${encodeURIComponent(userId)}`),
|
|
80
80
|
method: "GET",
|
|
81
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.374", "User-Agent": "@tryvital/vital-node/3.1.374", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
queryParameters: _queryParams,
|
|
84
84
|
requestType: "json",
|
|
@@ -154,7 +154,7 @@ class Workouts {
|
|
|
154
154
|
const _response = yield core.fetcher({
|
|
155
155
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${encodeURIComponent(userId)}/raw`),
|
|
156
156
|
method: "GET",
|
|
157
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
157
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.374", "User-Agent": "@tryvital/vital-node/3.1.374", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
158
158
|
contentType: "application/json",
|
|
159
159
|
queryParameters: _queryParams,
|
|
160
160
|
requestType: "json",
|
|
@@ -216,7 +216,7 @@ class Workouts {
|
|
|
216
216
|
const _response = yield core.fetcher({
|
|
217
217
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/workouts/${encodeURIComponent(workoutId)}/stream`),
|
|
218
218
|
method: "GET",
|
|
219
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
219
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.374", "User-Agent": "@tryvital/vital-node/3.1.374", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
220
220
|
contentType: "application/json",
|
|
221
221
|
requestType: "json",
|
|
222
222
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* ℹ️ This enum is non-exhaustive.
|
|
6
6
|
*/
|
|
7
|
-
export declare type AppointmentEventStatus = "pending" | "scheduled" | "completed" | "cancelled" | "in_progress";
|
|
7
|
+
export declare type AppointmentEventStatus = "pending" | "reserved" | "scheduled" | "completed" | "cancelled" | "in_progress";
|
|
8
8
|
export declare const AppointmentEventStatus: {
|
|
9
9
|
readonly Pending: "pending";
|
|
10
|
+
readonly Reserved: "reserved";
|
|
10
11
|
readonly Scheduled: "scheduled";
|
|
11
12
|
readonly Completed: "completed";
|
|
12
13
|
readonly Cancelled: "cancelled";
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.AppointmentEventStatus = void 0;
|
|
7
7
|
exports.AppointmentEventStatus = {
|
|
8
8
|
Pending: "pending",
|
|
9
|
+
Reserved: "reserved",
|
|
9
10
|
Scheduled: "scheduled",
|
|
10
11
|
Completed: "completed",
|
|
11
12
|
Cancelled: "cancelled",
|
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* ℹ️ This enum is non-exhaustive.
|
|
6
6
|
*/
|
|
7
|
-
export declare type AppointmentStatus = "confirmed" | "pending" | "in_progress" | "completed" | "cancelled";
|
|
7
|
+
export declare type AppointmentStatus = "confirmed" | "pending" | "reserved" | "in_progress" | "completed" | "cancelled";
|
|
8
8
|
export declare const AppointmentStatus: {
|
|
9
9
|
readonly Confirmed: "confirmed";
|
|
10
10
|
readonly Pending: "pending";
|
|
11
|
+
readonly Reserved: "reserved";
|
|
11
12
|
readonly InProgress: "in_progress";
|
|
12
13
|
readonly Completed: "completed";
|
|
13
14
|
readonly Cancelled: "cancelled";
|
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const AppointmentEventStatus: core.serialization.Schema<serializers.AppointmentEventStatus.Raw, Vital.AppointmentEventStatus>;
|
|
8
8
|
export declare namespace AppointmentEventStatus {
|
|
9
|
-
type Raw = "pending" | "scheduled" | "completed" | "cancelled" | "in_progress";
|
|
9
|
+
type Raw = "pending" | "reserved" | "scheduled" | "completed" | "cancelled" | "in_progress";
|
|
10
10
|
}
|
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.AppointmentEventStatus = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.AppointmentEventStatus = core.serialization.enum_(["pending", "scheduled", "completed", "cancelled", "in_progress"]);
|
|
31
|
+
exports.AppointmentEventStatus = core.serialization.enum_(["pending", "reserved", "scheduled", "completed", "cancelled", "in_progress"]);
|
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const AppointmentStatus: core.serialization.Schema<serializers.AppointmentStatus.Raw, Vital.AppointmentStatus>;
|
|
8
8
|
export declare namespace AppointmentStatus {
|
|
9
|
-
type Raw = "confirmed" | "pending" | "in_progress" | "completed" | "cancelled";
|
|
9
|
+
type Raw = "confirmed" | "pending" | "reserved" | "in_progress" | "completed" | "cancelled";
|
|
10
10
|
}
|
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.AppointmentStatus = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.AppointmentStatus = core.serialization.enum_(["confirmed", "pending", "in_progress", "completed", "cancelled"]);
|
|
31
|
+
exports.AppointmentStatus = core.serialization.enum_(["confirmed", "pending", "reserved", "in_progress", "completed", "cancelled"]);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
|
1
|
+
export declare const SDK_VERSION = "3.1.374";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const AppointmentEventStatus: core.serialization.Schema<serializers.AppointmentEventStatus.Raw, Vital.AppointmentEventStatus>;
|
|
8
8
|
export declare namespace AppointmentEventStatus {
|
|
9
|
-
type Raw = "pending" | "scheduled" | "completed" | "cancelled" | "in_progress";
|
|
9
|
+
type Raw = "pending" | "reserved" | "scheduled" | "completed" | "cancelled" | "in_progress";
|
|
10
10
|
}
|
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.AppointmentEventStatus = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.AppointmentEventStatus = core.serialization.enum_(["pending", "scheduled", "completed", "cancelled", "in_progress"]);
|
|
31
|
+
exports.AppointmentEventStatus = core.serialization.enum_(["pending", "reserved", "scheduled", "completed", "cancelled", "in_progress"]);
|
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const AppointmentStatus: core.serialization.Schema<serializers.AppointmentStatus.Raw, Vital.AppointmentStatus>;
|
|
8
8
|
export declare namespace AppointmentStatus {
|
|
9
|
-
type Raw = "confirmed" | "pending" | "in_progress" | "completed" | "cancelled";
|
|
9
|
+
type Raw = "confirmed" | "pending" | "reserved" | "in_progress" | "completed" | "cancelled";
|
|
10
10
|
}
|
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.AppointmentStatus = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.AppointmentStatus = core.serialization.enum_(["confirmed", "pending", "in_progress", "completed", "cancelled"]);
|
|
31
|
+
exports.AppointmentStatus = core.serialization.enum_(["confirmed", "pending", "reserved", "in_progress", "completed", "cancelled"]);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
|
1
|
+
export declare const SDK_VERSION = "3.1.374";
|
package/version.js
CHANGED