@tryvital/vital-node 3.1.27 → 3.1.29

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.d.ts +17 -0
  7. package/api/resources/labTests/client/Client.js +149 -26
  8. package/api/resources/labTests/client/requests/LabTestsGetOrdersRequest.d.ts +4 -0
  9. package/api/resources/labTests/client/requests/LabTestsGetPscInfoRequest.d.ts +20 -0
  10. package/api/resources/labTests/client/requests/LabTestsGetPscInfoRequest.js +5 -0
  11. package/api/resources/labTests/client/requests/index.d.ts +1 -0
  12. package/api/resources/link/client/Client.js +14 -14
  13. package/api/resources/meal/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 +4 -4
  17. package/api/resources/team/client/Client.js +7 -7
  18. package/api/resources/testkit/client/Client.js +2 -2
  19. package/api/resources/user/client/Client.js +12 -12
  20. package/api/resources/vitals/client/Client.js +52 -52
  21. package/api/resources/workouts/client/Client.js +3 -3
  22. package/api/types/PscAreaInfo.d.ts +1 -1
  23. package/api/types/PscAreaInfoDetails.d.ts +7 -0
  24. package/api/types/PscAreaInfoDetails.js +5 -0
  25. package/api/types/PscInfo.d.ts +8 -0
  26. package/api/types/PscInfo.js +5 -0
  27. package/api/types/index.d.ts +2 -0
  28. package/api/types/index.js +2 -0
  29. package/dist/api/resources/activity/client/Client.js +2 -2
  30. package/dist/api/resources/body/client/Client.js +2 -2
  31. package/dist/api/resources/devices/client/Client.js +1 -1
  32. package/dist/api/resources/insurance/client/Client.js +2 -2
  33. package/dist/api/resources/introspect/client/Client.js +2 -2
  34. package/dist/api/resources/labTests/client/Client.d.ts +17 -0
  35. package/dist/api/resources/labTests/client/Client.js +149 -26
  36. package/dist/api/resources/labTests/client/requests/LabTestsGetOrdersRequest.d.ts +4 -0
  37. package/dist/api/resources/labTests/client/requests/LabTestsGetPscInfoRequest.d.ts +20 -0
  38. package/dist/api/resources/labTests/client/requests/LabTestsGetPscInfoRequest.js +5 -0
  39. package/dist/api/resources/labTests/client/requests/index.d.ts +1 -0
  40. package/dist/api/resources/link/client/Client.js +14 -14
  41. package/dist/api/resources/meal/client/Client.js +1 -1
  42. package/dist/api/resources/profile/client/Client.js +2 -2
  43. package/dist/api/resources/providers/client/Client.js +1 -1
  44. package/dist/api/resources/sleep/client/Client.js +4 -4
  45. package/dist/api/resources/team/client/Client.js +7 -7
  46. package/dist/api/resources/testkit/client/Client.js +2 -2
  47. package/dist/api/resources/user/client/Client.js +12 -12
  48. package/dist/api/resources/vitals/client/Client.js +52 -52
  49. package/dist/api/resources/workouts/client/Client.js +3 -3
  50. package/dist/api/types/PscAreaInfo.d.ts +1 -1
  51. package/dist/api/types/PscAreaInfoDetails.d.ts +7 -0
  52. package/dist/api/types/PscAreaInfoDetails.js +5 -0
  53. package/dist/api/types/PscInfo.d.ts +8 -0
  54. package/dist/api/types/PscInfo.js +5 -0
  55. package/dist/api/types/index.d.ts +2 -0
  56. package/dist/api/types/index.js +2 -0
  57. package/dist/serialization/types/PscAreaInfo.d.ts +2 -2
  58. package/dist/serialization/types/PscAreaInfo.js +2 -2
  59. package/dist/serialization/types/PscAreaInfoDetails.d.ts +13 -0
  60. package/dist/serialization/types/PscAreaInfoDetails.js +34 -0
  61. package/dist/serialization/types/PscInfo.d.ts +14 -0
  62. package/dist/serialization/types/PscInfo.js +35 -0
  63. package/dist/serialization/types/index.d.ts +2 -0
  64. package/dist/serialization/types/index.js +2 -0
  65. package/package.json +1 -1
  66. package/serialization/types/PscAreaInfo.d.ts +2 -2
  67. package/serialization/types/PscAreaInfo.js +2 -2
  68. package/serialization/types/PscAreaInfoDetails.d.ts +13 -0
  69. package/serialization/types/PscAreaInfoDetails.js +34 -0
  70. package/serialization/types/PscInfo.d.ts +14 -0
  71. package/serialization/types/PscInfo.js +35 -0
  72. package/serialization/types/index.d.ts +2 -0
  73. package/serialization/types/index.js +2 -0
@@ -171,6 +171,8 @@ __exportStar(require("./OAuthProviders"), exports);
171
171
  __exportStar(require("./OrderStatus"), exports);
172
172
  __exportStar(require("./OrderTopLevelStatus"), exports);
173
173
  __exportStar(require("./PscAreaInfo"), exports);
174
+ __exportStar(require("./PscAreaInfoDetails"), exports);
175
+ __exportStar(require("./PscInfo"), exports);
174
176
  __exportStar(require("./PaginatedUsersResponse"), exports);
175
177
  __exportStar(require("./PasswordProviders"), exports);
176
178
  __exportStar(require("./PatientAddressCompatibleInput"), exports);
@@ -4,10 +4,10 @@
4
4
  import * as serializers from "..";
5
5
  import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
- import { ClientFacingLabLocation } from "./ClientFacingLabLocation";
7
+ import { PscAreaInfoDetails } from "./PscAreaInfoDetails";
8
8
  export declare const PscAreaInfo: core.serialization.ObjectSchema<serializers.PscAreaInfo.Raw, Vital.PscAreaInfo>;
9
9
  export declare namespace PscAreaInfo {
10
10
  interface Raw {
11
- locations: Record<string, ClientFacingLabLocation.Raw[]>;
11
+ locations: Record<string, PscAreaInfoDetails.Raw>;
12
12
  }
13
13
  }
@@ -28,7 +28,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.PscAreaInfo = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- const ClientFacingLabLocation_1 = require("./ClientFacingLabLocation");
31
+ const PscAreaInfoDetails_1 = require("./PscAreaInfoDetails");
32
32
  exports.PscAreaInfo = core.serialization.object({
33
- locations: core.serialization.record(core.serialization.string(), core.serialization.list(ClientFacingLabLocation_1.ClientFacingLabLocation)),
33
+ locations: core.serialization.record(core.serialization.string(), PscAreaInfoDetails_1.PscAreaInfoDetails),
34
34
  });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vital from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const PscAreaInfoDetails: core.serialization.ObjectSchema<serializers.PscAreaInfoDetails.Raw, Vital.PscAreaInfoDetails>;
8
+ export declare namespace PscAreaInfoDetails {
9
+ interface Raw {
10
+ within_radius: number;
11
+ radius: number;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PscAreaInfoDetails = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.PscAreaInfoDetails = core.serialization.object({
32
+ withinRadius: core.serialization.property("within_radius", core.serialization.number()),
33
+ radius: core.serialization.number(),
34
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vital from "../../api";
6
+ import * as core from "../../core";
7
+ import { ClientFacingLabLocation } from "./ClientFacingLabLocation";
8
+ export declare const PscInfo: core.serialization.ObjectSchema<serializers.PscInfo.Raw, Vital.PscInfo>;
9
+ export declare namespace PscInfo {
10
+ interface Raw {
11
+ lab_id: number;
12
+ pscs: ClientFacingLabLocation.Raw[];
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PscInfo = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const ClientFacingLabLocation_1 = require("./ClientFacingLabLocation");
32
+ exports.PscInfo = core.serialization.object({
33
+ labId: core.serialization.property("lab_id", core.serialization.number()),
34
+ pscs: core.serialization.list(ClientFacingLabLocation_1.ClientFacingLabLocation),
35
+ });
@@ -155,6 +155,8 @@ export * from "./OAuthProviders";
155
155
  export * from "./OrderStatus";
156
156
  export * from "./OrderTopLevelStatus";
157
157
  export * from "./PscAreaInfo";
158
+ export * from "./PscAreaInfoDetails";
159
+ export * from "./PscInfo";
158
160
  export * from "./PaginatedUsersResponse";
159
161
  export * from "./PasswordProviders";
160
162
  export * from "./PatientAddressCompatibleInput";
@@ -171,6 +171,8 @@ __exportStar(require("./OAuthProviders"), exports);
171
171
  __exportStar(require("./OrderStatus"), exports);
172
172
  __exportStar(require("./OrderTopLevelStatus"), exports);
173
173
  __exportStar(require("./PscAreaInfo"), exports);
174
+ __exportStar(require("./PscAreaInfoDetails"), exports);
175
+ __exportStar(require("./PscInfo"), exports);
174
176
  __exportStar(require("./PaginatedUsersResponse"), exports);
175
177
  __exportStar(require("./PasswordProviders"), exports);
176
178
  __exportStar(require("./PatientAddressCompatibleInput"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-node",
3
- "version": "3.1.27",
3
+ "version": "3.1.29",
4
4
  "private": false,
5
5
  "repository": "https://github.com/tryVital/vital-node",
6
6
  "main": "./index.js",
@@ -4,10 +4,10 @@
4
4
  import * as serializers from "..";
5
5
  import * as Vital from "../../api";
6
6
  import * as core from "../../core";
7
- import { ClientFacingLabLocation } from "./ClientFacingLabLocation";
7
+ import { PscAreaInfoDetails } from "./PscAreaInfoDetails";
8
8
  export declare const PscAreaInfo: core.serialization.ObjectSchema<serializers.PscAreaInfo.Raw, Vital.PscAreaInfo>;
9
9
  export declare namespace PscAreaInfo {
10
10
  interface Raw {
11
- locations: Record<string, ClientFacingLabLocation.Raw[]>;
11
+ locations: Record<string, PscAreaInfoDetails.Raw>;
12
12
  }
13
13
  }
@@ -28,7 +28,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.PscAreaInfo = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- const ClientFacingLabLocation_1 = require("./ClientFacingLabLocation");
31
+ const PscAreaInfoDetails_1 = require("./PscAreaInfoDetails");
32
32
  exports.PscAreaInfo = core.serialization.object({
33
- locations: core.serialization.record(core.serialization.string(), core.serialization.list(ClientFacingLabLocation_1.ClientFacingLabLocation)),
33
+ locations: core.serialization.record(core.serialization.string(), PscAreaInfoDetails_1.PscAreaInfoDetails),
34
34
  });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vital from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const PscAreaInfoDetails: core.serialization.ObjectSchema<serializers.PscAreaInfoDetails.Raw, Vital.PscAreaInfoDetails>;
8
+ export declare namespace PscAreaInfoDetails {
9
+ interface Raw {
10
+ within_radius: number;
11
+ radius: number;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PscAreaInfoDetails = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.PscAreaInfoDetails = core.serialization.object({
32
+ withinRadius: core.serialization.property("within_radius", core.serialization.number()),
33
+ radius: core.serialization.number(),
34
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vital from "../../api";
6
+ import * as core from "../../core";
7
+ import { ClientFacingLabLocation } from "./ClientFacingLabLocation";
8
+ export declare const PscInfo: core.serialization.ObjectSchema<serializers.PscInfo.Raw, Vital.PscInfo>;
9
+ export declare namespace PscInfo {
10
+ interface Raw {
11
+ lab_id: number;
12
+ pscs: ClientFacingLabLocation.Raw[];
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PscInfo = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const ClientFacingLabLocation_1 = require("./ClientFacingLabLocation");
32
+ exports.PscInfo = core.serialization.object({
33
+ labId: core.serialization.property("lab_id", core.serialization.number()),
34
+ pscs: core.serialization.list(ClientFacingLabLocation_1.ClientFacingLabLocation),
35
+ });
@@ -155,6 +155,8 @@ export * from "./OAuthProviders";
155
155
  export * from "./OrderStatus";
156
156
  export * from "./OrderTopLevelStatus";
157
157
  export * from "./PscAreaInfo";
158
+ export * from "./PscAreaInfoDetails";
159
+ export * from "./PscInfo";
158
160
  export * from "./PaginatedUsersResponse";
159
161
  export * from "./PasswordProviders";
160
162
  export * from "./PatientAddressCompatibleInput";
@@ -171,6 +171,8 @@ __exportStar(require("./OAuthProviders"), exports);
171
171
  __exportStar(require("./OrderStatus"), exports);
172
172
  __exportStar(require("./OrderTopLevelStatus"), exports);
173
173
  __exportStar(require("./PscAreaInfo"), exports);
174
+ __exportStar(require("./PscAreaInfoDetails"), exports);
175
+ __exportStar(require("./PscInfo"), exports);
174
176
  __exportStar(require("./PaginatedUsersResponse"), exports);
175
177
  __exportStar(require("./PasswordProviders"), exports);
176
178
  __exportStar(require("./PatientAddressCompatibleInput"), exports);