@tryvital/vital-node 3.1.528 → 3.1.530
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/labReport/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.js +42 -42
- 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 +25 -19
- package/api/resources/user/client/requests/CreateInsuranceRequest.d.ts +1 -0
- package/api/resources/user/client/requests/GetLatestInsuranceUserRequest.d.ts +1 -0
- package/api/resources/vitals/client/Client.js +78 -78
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ClientFacingInsurance.d.ts +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/labReport/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.js +42 -42
- 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 +25 -19
- package/dist/api/resources/user/client/requests/CreateInsuranceRequest.d.ts +1 -0
- package/dist/api/resources/user/client/requests/GetLatestInsuranceUserRequest.d.ts +1 -0
- package/dist/api/resources/vitals/client/Client.js +78 -78
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ClientFacingInsurance.d.ts +1 -0
- package/dist/serialization/resources/user/client/requests/CreateInsuranceRequest.d.ts +1 -0
- package/dist/serialization/resources/user/client/requests/CreateInsuranceRequest.js +1 -0
- package/dist/serialization/types/ClientFacingInsurance.d.ts +1 -0
- package/dist/serialization/types/ClientFacingInsurance.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/user/client/requests/CreateInsuranceRequest.d.ts +1 -0
- package/serialization/resources/user/client/requests/CreateInsuranceRequest.js +1 -0
- package/serialization/types/ClientFacingInsurance.d.ts +1 -0
- package/serialization/types/ClientFacingInsurance.js +1 -0
- 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.530", "User-Agent": "@tryvital/vital-node/3.1.530", "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.530", "User-Agent": "@tryvital/vital-node/3.1.530", "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",
|
|
@@ -217,7 +217,7 @@ class Workouts {
|
|
|
217
217
|
const _response = yield core.fetcher({
|
|
218
218
|
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`),
|
|
219
219
|
method: "GET",
|
|
220
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
220
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.530", "User-Agent": "@tryvital/vital-node/3.1.530", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
221
221
|
contentType: "application/json",
|
|
222
222
|
requestType: "json",
|
|
223
223
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -38,4 +38,5 @@ exports.CreateInsuranceRequest = core.serialization.object({
|
|
|
38
38
|
relationship: ResponsibleRelationship_1.ResponsibleRelationship,
|
|
39
39
|
insured: VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails_1.VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails,
|
|
40
40
|
guarantor: GuarantorDetails_1.GuarantorDetails.optional(),
|
|
41
|
+
isPrimary: core.serialization.property("is_primary", core.serialization.boolean().optional()),
|
|
41
42
|
});
|
|
@@ -40,4 +40,5 @@ exports.ClientFacingInsurance = core.serialization.object({
|
|
|
40
40
|
company: CompanyDetails_1.CompanyDetails,
|
|
41
41
|
groupId: core.serialization.property("group_id", core.serialization.string().optional()),
|
|
42
42
|
guarantor: GuarantorDetails_1.GuarantorDetails.optional(),
|
|
43
|
+
isPrimary: core.serialization.property("is_primary", core.serialization.boolean().optional()),
|
|
43
44
|
});
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
|
1
|
+
export declare const SDK_VERSION = "3.1.530";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -38,4 +38,5 @@ exports.CreateInsuranceRequest = core.serialization.object({
|
|
|
38
38
|
relationship: ResponsibleRelationship_1.ResponsibleRelationship,
|
|
39
39
|
insured: VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails_1.VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails,
|
|
40
40
|
guarantor: GuarantorDetails_1.GuarantorDetails.optional(),
|
|
41
|
+
isPrimary: core.serialization.property("is_primary", core.serialization.boolean().optional()),
|
|
41
42
|
});
|
|
@@ -40,4 +40,5 @@ exports.ClientFacingInsurance = core.serialization.object({
|
|
|
40
40
|
company: CompanyDetails_1.CompanyDetails,
|
|
41
41
|
groupId: core.serialization.property("group_id", core.serialization.string().optional()),
|
|
42
42
|
guarantor: GuarantorDetails_1.GuarantorDetails.optional(),
|
|
43
|
+
isPrimary: core.serialization.property("is_primary", core.serialization.boolean().optional()),
|
|
43
44
|
});
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
|
1
|
+
export declare const SDK_VERSION = "3.1.530";
|
package/version.js
CHANGED