@tryvital/vital-node 3.1.352 → 3.1.354

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 (61) hide show
  1. package/api/resources/activity/client/Client.js +2 -2
  2. package/api/resources/aggregate/client/Client.js +3 -3
  3. package/api/resources/body/client/Client.js +2 -2
  4. package/api/resources/devices/client/Client.js +1 -1
  5. package/api/resources/electrocardiogram/client/Client.js +1 -1
  6. package/api/resources/insurance/client/Client.js +3 -3
  7. package/api/resources/introspect/client/Client.js +2 -2
  8. package/api/resources/labTests/client/Client.js +41 -41
  9. package/api/resources/link/client/Client.js +19 -19
  10. package/api/resources/meal/client/Client.js +1 -1
  11. package/api/resources/menstrualCycle/client/Client.js +1 -1
  12. package/api/resources/order/client/Client.js +1 -1
  13. package/api/resources/payor/client/Client.js +1 -1
  14. package/api/resources/profile/client/Client.js +2 -2
  15. package/api/resources/providers/client/Client.js +1 -1
  16. package/api/resources/sleep/client/Client.js +3 -3
  17. package/api/resources/sleepCycle/client/Client.js +1 -1
  18. package/api/resources/team/client/Client.js +7 -7
  19. package/api/resources/testkit/client/Client.js +2 -2
  20. package/api/resources/user/client/Client.js +18 -18
  21. package/api/resources/vitals/client/Client.js +78 -78
  22. package/api/resources/workouts/client/Client.js +3 -3
  23. package/api/types/ClientFacingMarker.d.ts +1 -0
  24. package/api/types/ClientFacingMarkerComplete.d.ts +1 -0
  25. package/dist/api/resources/activity/client/Client.js +2 -2
  26. package/dist/api/resources/aggregate/client/Client.js +3 -3
  27. package/dist/api/resources/body/client/Client.js +2 -2
  28. package/dist/api/resources/devices/client/Client.js +1 -1
  29. package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
  30. package/dist/api/resources/insurance/client/Client.js +3 -3
  31. package/dist/api/resources/introspect/client/Client.js +2 -2
  32. package/dist/api/resources/labTests/client/Client.js +41 -41
  33. package/dist/api/resources/link/client/Client.js +19 -19
  34. package/dist/api/resources/meal/client/Client.js +1 -1
  35. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  36. package/dist/api/resources/order/client/Client.js +1 -1
  37. package/dist/api/resources/payor/client/Client.js +1 -1
  38. package/dist/api/resources/profile/client/Client.js +2 -2
  39. package/dist/api/resources/providers/client/Client.js +1 -1
  40. package/dist/api/resources/sleep/client/Client.js +3 -3
  41. package/dist/api/resources/sleepCycle/client/Client.js +1 -1
  42. package/dist/api/resources/team/client/Client.js +7 -7
  43. package/dist/api/resources/testkit/client/Client.js +2 -2
  44. package/dist/api/resources/user/client/Client.js +18 -18
  45. package/dist/api/resources/vitals/client/Client.js +78 -78
  46. package/dist/api/resources/workouts/client/Client.js +3 -3
  47. package/dist/api/types/ClientFacingMarker.d.ts +1 -0
  48. package/dist/api/types/ClientFacingMarkerComplete.d.ts +1 -0
  49. package/dist/serialization/types/ClientFacingMarker.d.ts +1 -0
  50. package/dist/serialization/types/ClientFacingMarker.js +1 -0
  51. package/dist/serialization/types/ClientFacingMarkerComplete.d.ts +1 -0
  52. package/dist/serialization/types/ClientFacingMarkerComplete.js +1 -0
  53. package/dist/version.d.ts +1 -1
  54. package/dist/version.js +1 -1
  55. package/package.json +1 -1
  56. package/serialization/types/ClientFacingMarker.d.ts +1 -0
  57. package/serialization/types/ClientFacingMarker.js +1 -0
  58. package/serialization/types/ClientFacingMarkerComplete.d.ts +1 -0
  59. package/serialization/types/ClientFacingMarkerComplete.js +1 -0
  60. package/version.d.ts +1 -1
  61. 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.352", "User-Agent": "@tryvital/vital-node/3.1.352", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
81
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.354", "User-Agent": "@tryvital/vital-node/3.1.354", "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.352", "User-Agent": "@tryvital/vital-node/3.1.352", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
157
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.354", "User-Agent": "@tryvital/vital-node/3.1.354", "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.352", "User-Agent": "@tryvital/vital-node/3.1.352", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
219
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.354", "User-Agent": "@tryvital/vital-node/3.1.354", "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,
@@ -16,4 +16,5 @@ export interface ClientFacingMarker {
16
16
  aLaCarteEnabled?: boolean;
17
17
  commonTatDays?: number;
18
18
  worstCaseTatDays?: number;
19
+ isOrderable?: boolean;
19
20
  }
@@ -16,5 +16,6 @@ export interface ClientFacingMarkerComplete {
16
16
  aLaCarteEnabled?: boolean;
17
17
  commonTatDays?: number;
18
18
  worstCaseTatDays?: number;
19
+ isOrderable?: boolean;
19
20
  expectedResults: Vital.ClientFacingResult[];
20
21
  }
@@ -22,5 +22,6 @@ export declare namespace ClientFacingMarker {
22
22
  a_la_carte_enabled?: boolean | null;
23
23
  common_tat_days?: number | null;
24
24
  worst_case_tat_days?: number | null;
25
+ is_orderable?: boolean | null;
25
26
  }
26
27
  }
@@ -44,4 +44,5 @@ exports.ClientFacingMarker = core.serialization.object({
44
44
  aLaCarteEnabled: core.serialization.property("a_la_carte_enabled", core.serialization.boolean().optional()),
45
45
  commonTatDays: core.serialization.property("common_tat_days", core.serialization.number().optional()),
46
46
  worstCaseTatDays: core.serialization.property("worst_case_tat_days", core.serialization.number().optional()),
47
+ isOrderable: core.serialization.property("is_orderable", core.serialization.boolean().optional()),
47
48
  });
@@ -23,6 +23,7 @@ export declare namespace ClientFacingMarkerComplete {
23
23
  a_la_carte_enabled?: boolean | null;
24
24
  common_tat_days?: number | null;
25
25
  worst_case_tat_days?: number | null;
26
+ is_orderable?: boolean | null;
26
27
  expected_results: ClientFacingResult.Raw[];
27
28
  }
28
29
  }
@@ -45,5 +45,6 @@ exports.ClientFacingMarkerComplete = core.serialization.object({
45
45
  aLaCarteEnabled: core.serialization.property("a_la_carte_enabled", core.serialization.boolean().optional()),
46
46
  commonTatDays: core.serialization.property("common_tat_days", core.serialization.number().optional()),
47
47
  worstCaseTatDays: core.serialization.property("worst_case_tat_days", core.serialization.number().optional()),
48
+ isOrderable: core.serialization.property("is_orderable", core.serialization.boolean().optional()),
48
49
  expectedResults: core.serialization.property("expected_results", core.serialization.list(ClientFacingResult_1.ClientFacingResult)),
49
50
  });
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.1.352";
1
+ export declare const SDK_VERSION = "3.1.354";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "3.1.352";
4
+ exports.SDK_VERSION = "3.1.354";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-node",
3
- "version": "3.1.352",
3
+ "version": "3.1.354",
4
4
  "private": false,
5
5
  "repository": "https://github.com/tryVital/vital-node",
6
6
  "main": "./index.js",
@@ -22,5 +22,6 @@ export declare namespace ClientFacingMarker {
22
22
  a_la_carte_enabled?: boolean | null;
23
23
  common_tat_days?: number | null;
24
24
  worst_case_tat_days?: number | null;
25
+ is_orderable?: boolean | null;
25
26
  }
26
27
  }
@@ -44,4 +44,5 @@ exports.ClientFacingMarker = core.serialization.object({
44
44
  aLaCarteEnabled: core.serialization.property("a_la_carte_enabled", core.serialization.boolean().optional()),
45
45
  commonTatDays: core.serialization.property("common_tat_days", core.serialization.number().optional()),
46
46
  worstCaseTatDays: core.serialization.property("worst_case_tat_days", core.serialization.number().optional()),
47
+ isOrderable: core.serialization.property("is_orderable", core.serialization.boolean().optional()),
47
48
  });
@@ -23,6 +23,7 @@ export declare namespace ClientFacingMarkerComplete {
23
23
  a_la_carte_enabled?: boolean | null;
24
24
  common_tat_days?: number | null;
25
25
  worst_case_tat_days?: number | null;
26
+ is_orderable?: boolean | null;
26
27
  expected_results: ClientFacingResult.Raw[];
27
28
  }
28
29
  }
@@ -45,5 +45,6 @@ exports.ClientFacingMarkerComplete = core.serialization.object({
45
45
  aLaCarteEnabled: core.serialization.property("a_la_carte_enabled", core.serialization.boolean().optional()),
46
46
  commonTatDays: core.serialization.property("common_tat_days", core.serialization.number().optional()),
47
47
  worstCaseTatDays: core.serialization.property("worst_case_tat_days", core.serialization.number().optional()),
48
+ isOrderable: core.serialization.property("is_orderable", core.serialization.boolean().optional()),
48
49
  expectedResults: core.serialization.property("expected_results", core.serialization.list(ClientFacingResult_1.ClientFacingResult)),
49
50
  });
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.1.352";
1
+ export declare const SDK_VERSION = "3.1.354";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "3.1.352";
4
+ exports.SDK_VERSION = "3.1.354";