@tryvital/vital-node 3.1.444 → 3.1.445

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 (108) 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.d.ts +12 -0
  9. package/api/resources/labTests/client/Client.js +106 -42
  10. package/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -0
  11. package/api/resources/labTests/client/requests/ValidateIcdCodesBody.d.ts +12 -0
  12. package/api/resources/labTests/client/requests/ValidateIcdCodesBody.js +5 -0
  13. package/api/resources/labTests/client/requests/index.d.ts +1 -0
  14. package/api/resources/link/client/Client.js +19 -19
  15. package/api/resources/meal/client/Client.js +1 -1
  16. package/api/resources/menstrualCycle/client/Client.js +1 -1
  17. package/api/resources/order/client/Client.js +1 -1
  18. package/api/resources/payor/client/Client.js +1 -1
  19. package/api/resources/profile/client/Client.js +2 -2
  20. package/api/resources/providers/client/Client.js +1 -1
  21. package/api/resources/sleep/client/Client.js +3 -3
  22. package/api/resources/sleepCycle/client/Client.js +1 -1
  23. package/api/resources/team/client/Client.js +7 -7
  24. package/api/resources/testkit/client/Client.js +2 -2
  25. package/api/resources/user/client/Client.js +19 -19
  26. package/api/resources/vitals/client/Client.js +78 -78
  27. package/api/resources/workouts/client/Client.js +3 -3
  28. package/api/types/ClientFacingDiagnosisInformation.d.ts +1 -0
  29. package/api/types/IcdExcludesViolation.d.ts +8 -0
  30. package/api/types/IcdExcludesViolation.js +5 -0
  31. package/api/types/IcdExcludesWarning.d.ts +8 -0
  32. package/api/types/IcdExcludesWarning.js +5 -0
  33. package/api/types/ValidateIcdCodesResponse.d.ts +10 -0
  34. package/api/types/ValidateIcdCodesResponse.js +5 -0
  35. package/api/types/index.d.ts +3 -0
  36. package/api/types/index.js +3 -0
  37. package/dist/api/resources/activity/client/Client.js +2 -2
  38. package/dist/api/resources/aggregate/client/Client.js +3 -3
  39. package/dist/api/resources/body/client/Client.js +2 -2
  40. package/dist/api/resources/devices/client/Client.js +1 -1
  41. package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
  42. package/dist/api/resources/insurance/client/Client.js +3 -3
  43. package/dist/api/resources/introspect/client/Client.js +2 -2
  44. package/dist/api/resources/labTests/client/Client.d.ts +12 -0
  45. package/dist/api/resources/labTests/client/Client.js +106 -42
  46. package/dist/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -0
  47. package/dist/api/resources/labTests/client/requests/ValidateIcdCodesBody.d.ts +12 -0
  48. package/dist/api/resources/labTests/client/requests/ValidateIcdCodesBody.js +5 -0
  49. package/dist/api/resources/labTests/client/requests/index.d.ts +1 -0
  50. package/dist/api/resources/link/client/Client.js +19 -19
  51. package/dist/api/resources/meal/client/Client.js +1 -1
  52. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  53. package/dist/api/resources/order/client/Client.js +1 -1
  54. package/dist/api/resources/payor/client/Client.js +1 -1
  55. package/dist/api/resources/profile/client/Client.js +2 -2
  56. package/dist/api/resources/providers/client/Client.js +1 -1
  57. package/dist/api/resources/sleep/client/Client.js +3 -3
  58. package/dist/api/resources/sleepCycle/client/Client.js +1 -1
  59. package/dist/api/resources/team/client/Client.js +7 -7
  60. package/dist/api/resources/testkit/client/Client.js +2 -2
  61. package/dist/api/resources/user/client/Client.js +19 -19
  62. package/dist/api/resources/vitals/client/Client.js +78 -78
  63. package/dist/api/resources/workouts/client/Client.js +3 -3
  64. package/dist/api/types/ClientFacingDiagnosisInformation.d.ts +1 -0
  65. package/dist/api/types/IcdExcludesViolation.d.ts +8 -0
  66. package/dist/api/types/IcdExcludesViolation.js +5 -0
  67. package/dist/api/types/IcdExcludesWarning.d.ts +8 -0
  68. package/dist/api/types/IcdExcludesWarning.js +5 -0
  69. package/dist/api/types/ValidateIcdCodesResponse.d.ts +10 -0
  70. package/dist/api/types/ValidateIcdCodesResponse.js +5 -0
  71. package/dist/api/types/index.d.ts +3 -0
  72. package/dist/api/types/index.js +3 -0
  73. package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -1
  74. package/dist/serialization/resources/labTests/client/requests/ValidateIcdCodesBody.d.ts +12 -0
  75. package/dist/serialization/resources/labTests/client/requests/ValidateIcdCodesBody.js +33 -0
  76. package/dist/serialization/resources/labTests/client/requests/index.d.ts +1 -0
  77. package/dist/serialization/resources/labTests/client/requests/index.js +3 -1
  78. package/dist/serialization/types/ClientFacingDiagnosisInformation.d.ts +1 -0
  79. package/dist/serialization/types/ClientFacingDiagnosisInformation.js +1 -0
  80. package/dist/serialization/types/IcdExcludesViolation.d.ts +14 -0
  81. package/dist/serialization/types/IcdExcludesViolation.js +35 -0
  82. package/dist/serialization/types/IcdExcludesWarning.d.ts +14 -0
  83. package/dist/serialization/types/IcdExcludesWarning.js +35 -0
  84. package/dist/serialization/types/ValidateIcdCodesResponse.d.ts +17 -0
  85. package/dist/serialization/types/ValidateIcdCodesResponse.js +38 -0
  86. package/dist/serialization/types/index.d.ts +3 -0
  87. package/dist/serialization/types/index.js +3 -0
  88. package/dist/version.d.ts +1 -1
  89. package/dist/version.js +1 -1
  90. package/package.json +1 -1
  91. package/reference.md +50 -0
  92. package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -1
  93. package/serialization/resources/labTests/client/requests/ValidateIcdCodesBody.d.ts +12 -0
  94. package/serialization/resources/labTests/client/requests/ValidateIcdCodesBody.js +33 -0
  95. package/serialization/resources/labTests/client/requests/index.d.ts +1 -0
  96. package/serialization/resources/labTests/client/requests/index.js +3 -1
  97. package/serialization/types/ClientFacingDiagnosisInformation.d.ts +1 -0
  98. package/serialization/types/ClientFacingDiagnosisInformation.js +1 -0
  99. package/serialization/types/IcdExcludesViolation.d.ts +14 -0
  100. package/serialization/types/IcdExcludesViolation.js +35 -0
  101. package/serialization/types/IcdExcludesWarning.d.ts +14 -0
  102. package/serialization/types/IcdExcludesWarning.js +35 -0
  103. package/serialization/types/ValidateIcdCodesResponse.d.ts +17 -0
  104. package/serialization/types/ValidateIcdCodesResponse.js +38 -0
  105. package/serialization/types/index.d.ts +3 -0
  106. package/serialization/types/index.js +3 -0
  107. package/version.d.ts +1 -1
  108. package/version.js +1 -1
@@ -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.IcdExcludesViolation = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.IcdExcludesViolation = core.serialization.object({
32
+ code: core.serialization.string(),
33
+ conflictsWith: core.serialization.property("conflicts_with", core.serialization.string()),
34
+ type: core.serialization.string(),
35
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vital from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const IcdExcludesWarning: core.serialization.ObjectSchema<serializers.IcdExcludesWarning.Raw, Vital.IcdExcludesWarning>;
8
+ export declare namespace IcdExcludesWarning {
9
+ interface Raw {
10
+ code: string;
11
+ overlaps_with: string;
12
+ type: string;
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.IcdExcludesWarning = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.IcdExcludesWarning = core.serialization.object({
32
+ code: core.serialization.string(),
33
+ overlapsWith: core.serialization.property("overlaps_with", core.serialization.string()),
34
+ type: core.serialization.string(),
35
+ });
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vital from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { IcdExcludesViolation } from "./IcdExcludesViolation";
8
+ import { IcdExcludesWarning } from "./IcdExcludesWarning";
9
+ export declare const ValidateIcdCodesResponse: core.serialization.ObjectSchema<serializers.ValidateIcdCodesResponse.Raw, Vital.ValidateIcdCodesResponse>;
10
+ export declare namespace ValidateIcdCodesResponse {
11
+ interface Raw {
12
+ valid: boolean;
13
+ errors: string[];
14
+ violations: IcdExcludesViolation.Raw[];
15
+ warnings: IcdExcludesWarning.Raw[];
16
+ }
17
+ }
@@ -0,0 +1,38 @@
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.ValidateIcdCodesResponse = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const IcdExcludesViolation_1 = require("./IcdExcludesViolation");
32
+ const IcdExcludesWarning_1 = require("./IcdExcludesWarning");
33
+ exports.ValidateIcdCodesResponse = core.serialization.object({
34
+ valid: core.serialization.boolean(),
35
+ errors: core.serialization.list(core.serialization.string()),
36
+ violations: core.serialization.list(IcdExcludesViolation_1.IcdExcludesViolation),
37
+ warnings: core.serialization.list(IcdExcludesWarning_1.IcdExcludesWarning),
38
+ });
@@ -250,6 +250,8 @@ export * from "./HomePregnancyTestEntryTestResult";
250
250
  export * from "./HomePregnancyTestEntry";
251
251
  export * from "./HomeProgesteroneTestEntryTestResult";
252
252
  export * from "./HomeProgesteroneTestEntry";
253
+ export * from "./IcdExcludesViolation";
254
+ export * from "./IcdExcludesWarning";
253
255
  export * from "./IndexColumnExprIndex";
254
256
  export * from "./IndexColumnExpr";
255
257
  export * from "./IntermenstrualBleedingEntry";
@@ -398,6 +400,7 @@ export * from "./UserRefreshSuccessResponse";
398
400
  export * from "./UserResourcesResponse";
399
401
  export * from "./UserSignInTokenResponse";
400
402
  export * from "./UserSuccessResponse";
403
+ export * from "./ValidateIcdCodesResponse";
401
404
  export * from "./ValidationErrorLocItem";
402
405
  export * from "./ValidationError";
403
406
  export * from "./VitalSleepStage";
@@ -266,6 +266,8 @@ __exportStar(require("./HomePregnancyTestEntryTestResult"), exports);
266
266
  __exportStar(require("./HomePregnancyTestEntry"), exports);
267
267
  __exportStar(require("./HomeProgesteroneTestEntryTestResult"), exports);
268
268
  __exportStar(require("./HomeProgesteroneTestEntry"), exports);
269
+ __exportStar(require("./IcdExcludesViolation"), exports);
270
+ __exportStar(require("./IcdExcludesWarning"), exports);
269
271
  __exportStar(require("./IndexColumnExprIndex"), exports);
270
272
  __exportStar(require("./IndexColumnExpr"), exports);
271
273
  __exportStar(require("./IntermenstrualBleedingEntry"), exports);
@@ -414,6 +416,7 @@ __exportStar(require("./UserRefreshSuccessResponse"), exports);
414
416
  __exportStar(require("./UserResourcesResponse"), exports);
415
417
  __exportStar(require("./UserSignInTokenResponse"), exports);
416
418
  __exportStar(require("./UserSuccessResponse"), exports);
419
+ __exportStar(require("./ValidateIcdCodesResponse"), exports);
417
420
  __exportStar(require("./ValidationErrorLocItem"), exports);
418
421
  __exportStar(require("./ValidationError"), exports);
419
422
  __exportStar(require("./VitalSleepStage"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.1.444";
1
+ export declare const SDK_VERSION = "3.1.445";
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.444";
4
+ exports.SDK_VERSION = "3.1.445";