@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.
Files changed (73) hide show
  1. package/api/resources/activity/client/Client.js +2 -2
  2. package/api/resources/body/client/Client.js +2 -2
  3. package/api/resources/devices/client/Client.js +1 -1
  4. package/api/resources/insurance/client/Client.js +2 -2
  5. package/api/resources/introspect/client/Client.js +2 -2
  6. package/api/resources/labTests/client/Client.js +25 -25
  7. package/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -0
  8. package/api/resources/link/client/Client.js +14 -14
  9. package/api/resources/meal/client/Client.js +1 -1
  10. package/api/resources/profile/client/Client.js +2 -2
  11. package/api/resources/providers/client/Client.js +1 -1
  12. package/api/resources/sleep/client/Client.js +4 -4
  13. package/api/resources/team/client/Client.js +7 -7
  14. package/api/resources/testkit/client/Client.js +2 -2
  15. package/api/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +1 -0
  16. package/api/resources/user/client/Client.js +12 -12
  17. package/api/resources/vitals/client/Client.js +50 -50
  18. package/api/resources/workouts/client/Client.js +3 -3
  19. package/api/types/ClientFacingOrder.d.ts +1 -0
  20. package/api/types/ClientFacingResource.d.ts +3 -1
  21. package/api/types/ClientFacingResource.js +2 -0
  22. package/api/types/TeamConfig.d.ts +1 -0
  23. package/api/types/TimeseriesResource.d.ts +3 -1
  24. package/api/types/TimeseriesResource.js +2 -0
  25. package/dist/api/resources/activity/client/Client.js +2 -2
  26. package/dist/api/resources/body/client/Client.js +2 -2
  27. package/dist/api/resources/devices/client/Client.js +1 -1
  28. package/dist/api/resources/insurance/client/Client.js +2 -2
  29. package/dist/api/resources/introspect/client/Client.js +2 -2
  30. package/dist/api/resources/labTests/client/Client.js +25 -25
  31. package/dist/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -0
  32. package/dist/api/resources/link/client/Client.js +14 -14
  33. package/dist/api/resources/meal/client/Client.js +1 -1
  34. package/dist/api/resources/profile/client/Client.js +2 -2
  35. package/dist/api/resources/providers/client/Client.js +1 -1
  36. package/dist/api/resources/sleep/client/Client.js +4 -4
  37. package/dist/api/resources/team/client/Client.js +7 -7
  38. package/dist/api/resources/testkit/client/Client.js +2 -2
  39. package/dist/api/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +1 -0
  40. package/dist/api/resources/user/client/Client.js +12 -12
  41. package/dist/api/resources/vitals/client/Client.js +50 -50
  42. package/dist/api/resources/workouts/client/Client.js +3 -3
  43. package/dist/api/types/ClientFacingOrder.d.ts +1 -0
  44. package/dist/api/types/ClientFacingResource.d.ts +3 -1
  45. package/dist/api/types/ClientFacingResource.js +2 -0
  46. package/dist/api/types/TeamConfig.d.ts +1 -0
  47. package/dist/api/types/TimeseriesResource.d.ts +3 -1
  48. package/dist/api/types/TimeseriesResource.js +2 -0
  49. package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -0
  50. package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +1 -0
  51. package/dist/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +1 -0
  52. package/dist/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.js +1 -0
  53. package/dist/serialization/types/ClientFacingOrder.d.ts +1 -0
  54. package/dist/serialization/types/ClientFacingOrder.js +1 -0
  55. package/dist/serialization/types/ClientFacingResource.d.ts +1 -1
  56. package/dist/serialization/types/ClientFacingResource.js +2 -0
  57. package/dist/serialization/types/TeamConfig.d.ts +1 -0
  58. package/dist/serialization/types/TeamConfig.js +1 -0
  59. package/dist/serialization/types/TimeseriesResource.d.ts +1 -1
  60. package/dist/serialization/types/TimeseriesResource.js +2 -0
  61. package/package.json +1 -1
  62. package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -0
  63. package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +1 -0
  64. package/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.d.ts +1 -0
  65. package/serialization/resources/testkit/client/requests/CreateRegistrableTestkitOrderRequest.js +1 -0
  66. package/serialization/types/ClientFacingOrder.d.ts +1 -0
  67. package/serialization/types/ClientFacingOrder.js +1 -0
  68. package/serialization/types/ClientFacingResource.d.ts +1 -1
  69. package/serialization/types/ClientFacingResource.js +2 -0
  70. package/serialization/types/TeamConfig.d.ts +1 -0
  71. package/serialization/types/TeamConfig.js +1 -0
  72. package/serialization/types/TimeseriesResource.d.ts +1 -1
  73. 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",
@@ -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
  });
@@ -11,5 +11,6 @@ export declare namespace CreateRegistrableTestkitOrderRequest {
11
11
  user_id: string;
12
12
  lab_test_id: string;
13
13
  shipping_details: ShippingAddress.Raw;
14
+ passthrough?: string | null;
14
15
  }
15
16
  }
@@ -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
  });
@@ -34,5 +34,6 @@ export declare namespace ClientFacingOrder {
34
34
  priority?: boolean | null;
35
35
  shipping_details?: ShippingAddress.Raw | null;
36
36
  activate_by?: string | null;
37
+ passthrough?: string | null;
37
38
  }
38
39
  }
@@ -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
  }
@@ -51,6 +51,8 @@ exports.ClientFacingResource = core.serialization.enum_([
51
51
  "device",
52
52
  "weight",
53
53
  "fat",
54
+ "body_temperature",
55
+ "body_temperature_delta",
54
56
  "meal",
55
57
  "water",
56
58
  "caffeine",
@@ -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
  }
@@ -36,6 +36,8 @@ exports.TimeseriesResource = core.serialization.enum_([
36
36
  "blood_pressure",
37
37
  "body_fat",
38
38
  "body_weight",
39
+ "body_temperature",
40
+ "body_temperature_delta",
39
41
  "cholesterol",
40
42
  "cholesterol/ldl",
41
43
  "cholesterol/hdl",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-node",
3
- "version": "3.1.16",
3
+ "version": "3.1.18",
4
4
  "private": false,
5
5
  "repository": "https://github.com/tryVital/vital-node",
6
6
  "main": "./index.js",
@@ -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
  });
@@ -11,5 +11,6 @@ export declare namespace CreateRegistrableTestkitOrderRequest {
11
11
  user_id: string;
12
12
  lab_test_id: string;
13
13
  shipping_details: ShippingAddress.Raw;
14
+ passthrough?: string | null;
14
15
  }
15
16
  }
@@ -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
  });
@@ -34,5 +34,6 @@ export declare namespace ClientFacingOrder {
34
34
  priority?: boolean | null;
35
35
  shipping_details?: ShippingAddress.Raw | null;
36
36
  activate_by?: string | null;
37
+ passthrough?: string | null;
37
38
  }
38
39
  }
@@ -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
  }
@@ -51,6 +51,8 @@ exports.ClientFacingResource = core.serialization.enum_([
51
51
  "device",
52
52
  "weight",
53
53
  "fat",
54
+ "body_temperature",
55
+ "body_temperature_delta",
54
56
  "meal",
55
57
  "water",
56
58
  "caffeine",
@@ -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
  }
@@ -36,6 +36,8 @@ exports.TimeseriesResource = core.serialization.enum_([
36
36
  "blood_pressure",
37
37
  "body_fat",
38
38
  "body_weight",
39
+ "body_temperature",
40
+ "body_temperature_delta",
39
41
  "cholesterol",
40
42
  "cholesterol/ldl",
41
43
  "cholesterol/hdl",