@tryvital/vital-node 3.1.16 → 3.1.18
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/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 +25 -25
- package/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -0
- package/api/resources/link/client/Client.js +14 -14
- package/api/resources/meal/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/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +1 -0
- package/api/resources/user/client/Client.js +12 -12
- package/api/resources/vitals/client/Client.js +50 -50
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ClientFacingOrder.d.ts +1 -0
- package/api/types/ClientFacingResource.d.ts +3 -1
- package/api/types/ClientFacingResource.js +2 -0
- package/api/types/TeamConfig.d.ts +1 -0
- package/api/types/TimeseriesResource.d.ts +3 -1
- package/api/types/TimeseriesResource.js +2 -0
- package/dist/api/resources/activity/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/insurance/client/Client.js +2 -2
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.js +25 -25
- package/dist/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -0
- package/dist/api/resources/link/client/Client.js +14 -14
- package/dist/api/resources/meal/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/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +1 -0
- package/dist/api/resources/user/client/Client.js +12 -12
- package/dist/api/resources/vitals/client/Client.js +50 -50
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ClientFacingOrder.d.ts +1 -0
- package/dist/api/types/ClientFacingResource.d.ts +3 -1
- package/dist/api/types/ClientFacingResource.js +2 -0
- package/dist/api/types/TeamConfig.d.ts +1 -0
- package/dist/api/types/TimeseriesResource.d.ts +3 -1
- package/dist/api/types/TimeseriesResource.js +2 -0
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -0
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +1 -0
- package/dist/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +1 -0
- package/dist/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.js +1 -0
- package/dist/serialization/types/ClientFacingOrder.d.ts +1 -0
- package/dist/serialization/types/ClientFacingOrder.js +1 -0
- package/dist/serialization/types/ClientFacingResource.d.ts +1 -1
- package/dist/serialization/types/ClientFacingResource.js +2 -0
- package/dist/serialization/types/TeamConfig.d.ts +1 -0
- package/dist/serialization/types/TeamConfig.js +1 -0
- package/dist/serialization/types/TimeseriesResource.d.ts +1 -1
- package/dist/serialization/types/TimeseriesResource.js +2 -0
- package/package.json +1 -1
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -0
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +1 -0
- package/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +1 -0
- package/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.js +1 -0
- package/serialization/types/ClientFacingOrder.d.ts +1 -0
- package/serialization/types/ClientFacingOrder.js +1 -0
- package/serialization/types/ClientFacingResource.d.ts +1 -1
- package/serialization/types/ClientFacingResource.js +2 -0
- package/serialization/types/TeamConfig.d.ts +1 -0
- package/serialization/types/TeamConfig.js +1 -0
- package/serialization/types/TimeseriesResource.d.ts +1 -1
- package/serialization/types/TimeseriesResource.js +2 -0
@@ -12,6 +12,8 @@ exports.TimeseriesResource = {
|
|
12
12
|
BloodPressure: "blood_pressure",
|
13
13
|
BodyFat: "body_fat",
|
14
14
|
BodyWeight: "body_weight",
|
15
|
+
BodyTemperature: "body_temperature",
|
16
|
+
BodyTemperatureDelta: "body_temperature_delta",
|
15
17
|
Cholesterol: "cholesterol",
|
16
18
|
CholesterolLdl: "cholesterol/ldl",
|
17
19
|
CholesterolHdl: "cholesterol/hdl",
|
package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts
CHANGED
@@ -21,6 +21,7 @@ export declare namespace CreateOrderRequestCompatible {
|
|
21
21
|
consents?: Consent.Raw[] | null;
|
22
22
|
activate_by?: string | null;
|
23
23
|
aoe_answers?: AoEAnswer.Raw[] | null;
|
24
|
+
passthrough?: string | null;
|
24
25
|
patient_details: PatientDetails.Raw;
|
25
26
|
patient_address: PatientAddressCompatibleInput.Raw;
|
26
27
|
}
|
package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js
CHANGED
@@ -43,6 +43,7 @@ exports.CreateOrderRequestCompatible = core.serialization.object({
|
|
43
43
|
consents: core.serialization.list(Consent_1.Consent).optional(),
|
44
44
|
activateBy: core.serialization.property("activate_by", core.serialization.string().optional()),
|
45
45
|
aoeAnswers: core.serialization.property("aoe_answers", core.serialization.list(AoEAnswer_1.AoEAnswer).optional()),
|
46
|
+
passthrough: core.serialization.string().optional(),
|
46
47
|
patientDetails: core.serialization.property("patient_details", PatientDetails_1.PatientDetails),
|
47
48
|
patientAddress: core.serialization.property("patient_address", PatientAddressCompatibleInput_1.PatientAddressCompatibleInput),
|
48
49
|
});
|
package/dist/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.js
CHANGED
@@ -33,4 +33,5 @@ exports.CreateRegistrableTestkitOrderRequest = core.serialization.object({
|
|
33
33
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
34
34
|
labTestId: core.serialization.property("lab_test_id", core.serialization.string()),
|
35
35
|
shippingDetails: core.serialization.property("shipping_details", ShippingAddress_1.ShippingAddress),
|
36
|
+
passthrough: core.serialization.string().optional(),
|
36
37
|
});
|
@@ -56,4 +56,5 @@ exports.ClientFacingOrder = core.serialization.object({
|
|
56
56
|
priority: core.serialization.boolean().optional(),
|
57
57
|
shippingDetails: core.serialization.property("shipping_details", ShippingAddress_1.ShippingAddress.optional()),
|
58
58
|
activateBy: core.serialization.property("activate_by", core.serialization.string().optional()),
|
59
|
+
passthrough: core.serialization.string().optional(),
|
59
60
|
});
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const ClientFacingResource: core.serialization.Schema<serializers.ClientFacingResource.Raw, Vital.ClientFacingResource>;
|
8
8
|
export declare namespace ClientFacingResource {
|
9
|
-
type Raw = "profile" | "activity" | "sleep" | "body" | "workouts" | "workout_stream" | "connection" | "order" | "result" | "appointment" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "blood_oxygen" | "blood_pressure" | "cholesterol" | "device" | "weight" | "fat" | "meal" | "water" | "caffeine" | "mindfulness_minutes" | "steps" | "calories_active" | "distance" | "floors_climbed" | "respiratory_rate" | "vo2_max" | "calories_basal" | "stress_level" | "electrocardiogram_voltage" | "sleep_stream";
|
9
|
+
type Raw = "profile" | "activity" | "sleep" | "body" | "workouts" | "workout_stream" | "connection" | "order" | "result" | "appointment" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "blood_oxygen" | "blood_pressure" | "cholesterol" | "device" | "weight" | "fat" | "body_temperature" | "body_temperature_delta" | "meal" | "water" | "caffeine" | "mindfulness_minutes" | "steps" | "calories_active" | "distance" | "floors_climbed" | "respiratory_rate" | "vo2_max" | "calories_basal" | "stress_level" | "electrocardiogram_voltage" | "sleep_stream";
|
10
10
|
}
|
@@ -14,6 +14,7 @@ export declare namespace TeamConfig {
|
|
14
14
|
push_historical_data?: boolean | null;
|
15
15
|
provider_raw_data?: boolean | null;
|
16
16
|
reject_duplicate_connection?: boolean | null;
|
17
|
+
sdk_per_device_activity_timeseries?: boolean | null;
|
17
18
|
eds_preferences?: EventDestinationPreferences.Raw | null;
|
18
19
|
event_type_prefixes?: string[] | null;
|
19
20
|
}
|
@@ -36,6 +36,7 @@ exports.TeamConfig = core.serialization.object({
|
|
36
36
|
pushHistoricalData: core.serialization.property("push_historical_data", core.serialization.boolean().optional()),
|
37
37
|
providerRawData: core.serialization.property("provider_raw_data", core.serialization.boolean().optional()),
|
38
38
|
rejectDuplicateConnection: core.serialization.property("reject_duplicate_connection", core.serialization.boolean().optional()),
|
39
|
+
sdkPerDeviceActivityTimeseries: core.serialization.property("sdk_per_device_activity_timeseries", core.serialization.boolean().optional()),
|
39
40
|
edsPreferences: core.serialization.property("eds_preferences", EventDestinationPreferences_1.EventDestinationPreferences.optional()),
|
40
41
|
eventTypePrefixes: core.serialization.property("event_type_prefixes", core.serialization.list(core.serialization.string()).optional()),
|
41
42
|
});
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const TimeseriesResource: core.serialization.Schema<serializers.TimeseriesResource.Raw, Vital.TimeseriesResource>;
|
8
8
|
export declare namespace TimeseriesResource {
|
9
|
-
type Raw = "calories_active" | "calories_basal" | "distance" | "blood_oxygen" | "blood_pressure" | "body_fat" | "body_weight" | "cholesterol" | "cholesterol/ldl" | "cholesterol/hdl" | "cholesterol/total" | "cholesterol/triglycerides" | "electrocardiogram_voltage" | "floors_climbed" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "respiratory_rate" | "steps" | "stress_level" | "vo2_max" | "water" | "caffeine" | "mindfulness_minutes";
|
9
|
+
type Raw = "calories_active" | "calories_basal" | "distance" | "blood_oxygen" | "blood_pressure" | "body_fat" | "body_weight" | "body_temperature" | "body_temperature_delta" | "cholesterol" | "cholesterol/ldl" | "cholesterol/hdl" | "cholesterol/total" | "cholesterol/triglycerides" | "electrocardiogram_voltage" | "floors_climbed" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "respiratory_rate" | "steps" | "stress_level" | "vo2_max" | "water" | "caffeine" | "mindfulness_minutes";
|
10
10
|
}
|
package/package.json
CHANGED
@@ -21,6 +21,7 @@ export declare namespace CreateOrderRequestCompatible {
|
|
21
21
|
consents?: Consent.Raw[] | null;
|
22
22
|
activate_by?: string | null;
|
23
23
|
aoe_answers?: AoEAnswer.Raw[] | null;
|
24
|
+
passthrough?: string | null;
|
24
25
|
patient_details: PatientDetails.Raw;
|
25
26
|
patient_address: PatientAddressCompatibleInput.Raw;
|
26
27
|
}
|
@@ -43,6 +43,7 @@ exports.CreateOrderRequestCompatible = core.serialization.object({
|
|
43
43
|
consents: core.serialization.list(Consent_1.Consent).optional(),
|
44
44
|
activateBy: core.serialization.property("activate_by", core.serialization.string().optional()),
|
45
45
|
aoeAnswers: core.serialization.property("aoe_answers", core.serialization.list(AoEAnswer_1.AoEAnswer).optional()),
|
46
|
+
passthrough: core.serialization.string().optional(),
|
46
47
|
patientDetails: core.serialization.property("patient_details", PatientDetails_1.PatientDetails),
|
47
48
|
patientAddress: core.serialization.property("patient_address", PatientAddressCompatibleInput_1.PatientAddressCompatibleInput),
|
48
49
|
});
|
package/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.js
CHANGED
@@ -33,4 +33,5 @@ exports.CreateRegistrableTestkitOrderRequest = core.serialization.object({
|
|
33
33
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
34
34
|
labTestId: core.serialization.property("lab_test_id", core.serialization.string()),
|
35
35
|
shippingDetails: core.serialization.property("shipping_details", ShippingAddress_1.ShippingAddress),
|
36
|
+
passthrough: core.serialization.string().optional(),
|
36
37
|
});
|
@@ -56,4 +56,5 @@ exports.ClientFacingOrder = core.serialization.object({
|
|
56
56
|
priority: core.serialization.boolean().optional(),
|
57
57
|
shippingDetails: core.serialization.property("shipping_details", ShippingAddress_1.ShippingAddress.optional()),
|
58
58
|
activateBy: core.serialization.property("activate_by", core.serialization.string().optional()),
|
59
|
+
passthrough: core.serialization.string().optional(),
|
59
60
|
});
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const ClientFacingResource: core.serialization.Schema<serializers.ClientFacingResource.Raw, Vital.ClientFacingResource>;
|
8
8
|
export declare namespace ClientFacingResource {
|
9
|
-
type Raw = "profile" | "activity" | "sleep" | "body" | "workouts" | "workout_stream" | "connection" | "order" | "result" | "appointment" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "blood_oxygen" | "blood_pressure" | "cholesterol" | "device" | "weight" | "fat" | "meal" | "water" | "caffeine" | "mindfulness_minutes" | "steps" | "calories_active" | "distance" | "floors_climbed" | "respiratory_rate" | "vo2_max" | "calories_basal" | "stress_level" | "electrocardiogram_voltage" | "sleep_stream";
|
9
|
+
type Raw = "profile" | "activity" | "sleep" | "body" | "workouts" | "workout_stream" | "connection" | "order" | "result" | "appointment" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "blood_oxygen" | "blood_pressure" | "cholesterol" | "device" | "weight" | "fat" | "body_temperature" | "body_temperature_delta" | "meal" | "water" | "caffeine" | "mindfulness_minutes" | "steps" | "calories_active" | "distance" | "floors_climbed" | "respiratory_rate" | "vo2_max" | "calories_basal" | "stress_level" | "electrocardiogram_voltage" | "sleep_stream";
|
10
10
|
}
|
@@ -14,6 +14,7 @@ export declare namespace TeamConfig {
|
|
14
14
|
push_historical_data?: boolean | null;
|
15
15
|
provider_raw_data?: boolean | null;
|
16
16
|
reject_duplicate_connection?: boolean | null;
|
17
|
+
sdk_per_device_activity_timeseries?: boolean | null;
|
17
18
|
eds_preferences?: EventDestinationPreferences.Raw | null;
|
18
19
|
event_type_prefixes?: string[] | null;
|
19
20
|
}
|
@@ -36,6 +36,7 @@ exports.TeamConfig = core.serialization.object({
|
|
36
36
|
pushHistoricalData: core.serialization.property("push_historical_data", core.serialization.boolean().optional()),
|
37
37
|
providerRawData: core.serialization.property("provider_raw_data", core.serialization.boolean().optional()),
|
38
38
|
rejectDuplicateConnection: core.serialization.property("reject_duplicate_connection", core.serialization.boolean().optional()),
|
39
|
+
sdkPerDeviceActivityTimeseries: core.serialization.property("sdk_per_device_activity_timeseries", core.serialization.boolean().optional()),
|
39
40
|
edsPreferences: core.serialization.property("eds_preferences", EventDestinationPreferences_1.EventDestinationPreferences.optional()),
|
40
41
|
eventTypePrefixes: core.serialization.property("event_type_prefixes", core.serialization.list(core.serialization.string()).optional()),
|
41
42
|
});
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const TimeseriesResource: core.serialization.Schema<serializers.TimeseriesResource.Raw, Vital.TimeseriesResource>;
|
8
8
|
export declare namespace TimeseriesResource {
|
9
|
-
type Raw = "calories_active" | "calories_basal" | "distance" | "blood_oxygen" | "blood_pressure" | "body_fat" | "body_weight" | "cholesterol" | "cholesterol/ldl" | "cholesterol/hdl" | "cholesterol/total" | "cholesterol/triglycerides" | "electrocardiogram_voltage" | "floors_climbed" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "respiratory_rate" | "steps" | "stress_level" | "vo2_max" | "water" | "caffeine" | "mindfulness_minutes";
|
9
|
+
type Raw = "calories_active" | "calories_basal" | "distance" | "blood_oxygen" | "blood_pressure" | "body_fat" | "body_weight" | "body_temperature" | "body_temperature_delta" | "cholesterol" | "cholesterol/ldl" | "cholesterol/hdl" | "cholesterol/total" | "cholesterol/triglycerides" | "electrocardiogram_voltage" | "floors_climbed" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "respiratory_rate" | "steps" | "stress_level" | "vo2_max" | "water" | "caffeine" | "mindfulness_minutes";
|
10
10
|
}
|