@tryvital/vital-node 3.1.252 → 3.1.253
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 +2 -2
- 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 +40 -40
- 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/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/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 +16 -16
- package/api/resources/vitals/client/Client.js +75 -75
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/LabResultsMetadata.d.ts +2 -0
- package/api/types/PayorCodeExternalProvider.d.ts +2 -1
- package/api/types/PayorCodeExternalProvider.js +1 -0
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/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/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 +40 -40
- 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/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/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 +16 -16
- package/dist/api/resources/vitals/client/Client.js +75 -75
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/LabResultsMetadata.d.ts +2 -0
- package/dist/api/types/PayorCodeExternalProvider.d.ts +2 -1
- package/dist/api/types/PayorCodeExternalProvider.js +1 -0
- package/dist/serialization/types/LabResultsMetadata.d.ts +2 -0
- package/dist/serialization/types/LabResultsMetadata.js +2 -0
- package/dist/serialization/types/PayorCodeExternalProvider.d.ts +1 -1
- package/dist/serialization/types/PayorCodeExternalProvider.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/types/LabResultsMetadata.d.ts +2 -0
- package/serialization/types/LabResultsMetadata.js +2 -0
- package/serialization/types/PayorCodeExternalProvider.d.ts +1 -1
- package/serialization/types/PayorCodeExternalProvider.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.253", "User-Agent": "@tryvital/vital-node/3.1.253", "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.253", "User-Agent": "@tryvital/vital-node/3.1.253", "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.253", "User-Agent": "@tryvital/vital-node/3.1.253", "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,8 +4,9 @@
|
|
4
4
|
/**
|
5
5
|
* ℹ️ This enum is non-exhaustive.
|
6
6
|
*/
|
7
|
-
export declare type PayorCodeExternalProvider = "change_healthcare" | "availity";
|
7
|
+
export declare type PayorCodeExternalProvider = "change_healthcare" | "availity" | "stedi";
|
8
8
|
export declare const PayorCodeExternalProvider: {
|
9
9
|
readonly ChangeHealthcare: "change_healthcare";
|
10
10
|
readonly Availity: "availity";
|
11
|
+
readonly Stedi: "stedi";
|
11
12
|
};
|
@@ -41,4 +41,6 @@ exports.LabResultsMetadata = core.serialization.object({
|
|
41
41
|
dateReceived: core.serialization.property("date_received", core.serialization.string().optional()),
|
42
42
|
status: core.serialization.string().optional(),
|
43
43
|
interpretation: core.serialization.string().optional(),
|
44
|
+
patientId: core.serialization.property("patient_id", core.serialization.string().optional()),
|
45
|
+
accountId: core.serialization.property("account_id", core.serialization.string().optional()),
|
44
46
|
});
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const PayorCodeExternalProvider: core.serialization.Schema<serializers.PayorCodeExternalProvider.Raw, Vital.PayorCodeExternalProvider>;
|
8
8
|
export declare namespace PayorCodeExternalProvider {
|
9
|
-
type Raw = "change_healthcare" | "availity";
|
9
|
+
type Raw = "change_healthcare" | "availity" | "stedi";
|
10
10
|
}
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.PayorCodeExternalProvider = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
exports.PayorCodeExternalProvider = core.serialization.enum_(["change_healthcare", "availity"]);
|
31
|
+
exports.PayorCodeExternalProvider = core.serialization.enum_(["change_healthcare", "availity", "stedi"]);
|
package/dist/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
1
|
+
export declare const SDK_VERSION = "3.1.253";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
@@ -41,4 +41,6 @@ exports.LabResultsMetadata = core.serialization.object({
|
|
41
41
|
dateReceived: core.serialization.property("date_received", core.serialization.string().optional()),
|
42
42
|
status: core.serialization.string().optional(),
|
43
43
|
interpretation: core.serialization.string().optional(),
|
44
|
+
patientId: core.serialization.property("patient_id", core.serialization.string().optional()),
|
45
|
+
accountId: core.serialization.property("account_id", core.serialization.string().optional()),
|
44
46
|
});
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const PayorCodeExternalProvider: core.serialization.Schema<serializers.PayorCodeExternalProvider.Raw, Vital.PayorCodeExternalProvider>;
|
8
8
|
export declare namespace PayorCodeExternalProvider {
|
9
|
-
type Raw = "change_healthcare" | "availity";
|
9
|
+
type Raw = "change_healthcare" | "availity" | "stedi";
|
10
10
|
}
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.PayorCodeExternalProvider = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
exports.PayorCodeExternalProvider = core.serialization.enum_(["change_healthcare", "availity"]);
|
31
|
+
exports.PayorCodeExternalProvider = core.serialization.enum_(["change_healthcare", "availity", "stedi"]);
|
package/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
1
|
+
export declare const SDK_VERSION = "3.1.253";
|
package/version.js
CHANGED