@tryvital/vital-node 3.1.285 → 3.1.287

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 (129) 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/index.d.ts +2 -1
  7. package/api/resources/index.js +3 -2
  8. package/api/resources/insurance/client/Client.js +3 -3
  9. package/api/resources/introspect/client/Client.js +2 -2
  10. package/api/resources/labTests/client/Client.js +41 -41
  11. package/api/resources/link/client/Client.js +51 -24
  12. package/api/resources/link/client/requests/BulkExportConnectionsBody.d.ts +1 -0
  13. package/api/resources/link/client/requests/BulkImportConnectionsBody.d.ts +1 -0
  14. package/api/resources/link/client/requests/BulkPauseConnectionsBody.d.ts +1 -0
  15. package/api/resources/link/client/requests/BulkTriggerHistoricalPullBody.d.ts +1 -0
  16. package/api/resources/link/client/requests/LinkListBulkOpsRequest.d.ts +2 -0
  17. package/api/resources/link/index.d.ts +1 -0
  18. package/api/resources/link/index.js +1 -0
  19. package/api/resources/link/types/LinkBulkExportRequestTeamId.d.ts +7 -0
  20. package/api/resources/link/types/LinkBulkExportRequestTeamId.js +9 -0
  21. package/api/resources/link/types/LinkBulkImportRequestTeamId.d.ts +7 -0
  22. package/api/resources/link/types/LinkBulkImportRequestTeamId.js +9 -0
  23. package/api/resources/link/types/LinkBulkPauseRequestTeamId.d.ts +7 -0
  24. package/api/resources/link/types/LinkBulkPauseRequestTeamId.js +9 -0
  25. package/api/resources/link/types/LinkBulkTriggerHistoricalPullRequestTeamId.d.ts +7 -0
  26. package/api/resources/link/types/LinkBulkTriggerHistoricalPullRequestTeamId.js +9 -0
  27. package/api/resources/link/types/LinkListBulkOpsRequestTeamId.d.ts +7 -0
  28. package/api/resources/link/types/LinkListBulkOpsRequestTeamId.js +9 -0
  29. package/api/resources/link/types/index.d.ts +5 -0
  30. package/api/resources/link/types/index.js +21 -0
  31. package/api/resources/meal/client/Client.js +1 -1
  32. package/api/resources/menstrualCycle/client/Client.js +1 -1
  33. package/api/resources/order/client/Client.js +1 -1
  34. package/api/resources/profile/client/Client.js +2 -2
  35. package/api/resources/providers/client/Client.js +1 -1
  36. package/api/resources/sleep/client/Client.js +4 -4
  37. package/api/resources/sleepCycle/client/Client.js +1 -1
  38. package/api/resources/team/client/Client.js +7 -7
  39. package/api/resources/testkit/client/Client.js +2 -2
  40. package/api/resources/user/client/Client.js +16 -16
  41. package/api/resources/vitals/client/Client.js +78 -78
  42. package/api/resources/workouts/client/Client.js +3 -3
  43. package/dist/api/resources/activity/client/Client.js +2 -2
  44. package/dist/api/resources/aggregate/client/Client.js +3 -3
  45. package/dist/api/resources/body/client/Client.js +2 -2
  46. package/dist/api/resources/devices/client/Client.js +1 -1
  47. package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
  48. package/dist/api/resources/index.d.ts +2 -1
  49. package/dist/api/resources/index.js +3 -2
  50. package/dist/api/resources/insurance/client/Client.js +3 -3
  51. package/dist/api/resources/introspect/client/Client.js +2 -2
  52. package/dist/api/resources/labTests/client/Client.js +41 -41
  53. package/dist/api/resources/link/client/Client.js +51 -24
  54. package/dist/api/resources/link/client/requests/BulkExportConnectionsBody.d.ts +1 -0
  55. package/dist/api/resources/link/client/requests/BulkImportConnectionsBody.d.ts +1 -0
  56. package/dist/api/resources/link/client/requests/BulkPauseConnectionsBody.d.ts +1 -0
  57. package/dist/api/resources/link/client/requests/BulkTriggerHistoricalPullBody.d.ts +1 -0
  58. package/dist/api/resources/link/client/requests/LinkListBulkOpsRequest.d.ts +2 -0
  59. package/dist/api/resources/link/index.d.ts +1 -0
  60. package/dist/api/resources/link/index.js +1 -0
  61. package/dist/api/resources/link/types/LinkBulkExportRequestTeamId.d.ts +7 -0
  62. package/dist/api/resources/link/types/LinkBulkExportRequestTeamId.js +9 -0
  63. package/dist/api/resources/link/types/LinkBulkImportRequestTeamId.d.ts +7 -0
  64. package/dist/api/resources/link/types/LinkBulkImportRequestTeamId.js +9 -0
  65. package/dist/api/resources/link/types/LinkBulkPauseRequestTeamId.d.ts +7 -0
  66. package/dist/api/resources/link/types/LinkBulkPauseRequestTeamId.js +9 -0
  67. package/dist/api/resources/link/types/LinkBulkTriggerHistoricalPullRequestTeamId.d.ts +7 -0
  68. package/dist/api/resources/link/types/LinkBulkTriggerHistoricalPullRequestTeamId.js +9 -0
  69. package/dist/api/resources/link/types/LinkListBulkOpsRequestTeamId.d.ts +7 -0
  70. package/dist/api/resources/link/types/LinkListBulkOpsRequestTeamId.js +9 -0
  71. package/dist/api/resources/link/types/index.d.ts +5 -0
  72. package/dist/api/resources/link/types/index.js +21 -0
  73. package/dist/api/resources/meal/client/Client.js +1 -1
  74. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  75. package/dist/api/resources/order/client/Client.js +1 -1
  76. package/dist/api/resources/profile/client/Client.js +2 -2
  77. package/dist/api/resources/providers/client/Client.js +1 -1
  78. package/dist/api/resources/sleep/client/Client.js +4 -4
  79. package/dist/api/resources/sleepCycle/client/Client.js +1 -1
  80. package/dist/api/resources/team/client/Client.js +7 -7
  81. package/dist/api/resources/testkit/client/Client.js +2 -2
  82. package/dist/api/resources/user/client/Client.js +16 -16
  83. package/dist/api/resources/vitals/client/Client.js +78 -78
  84. package/dist/api/resources/workouts/client/Client.js +3 -3
  85. package/dist/serialization/resources/index.d.ts +2 -1
  86. package/dist/serialization/resources/index.js +3 -2
  87. package/dist/serialization/resources/link/client/requests/BulkExportConnectionsBody.d.ts +1 -1
  88. package/dist/serialization/resources/link/client/requests/BulkImportConnectionsBody.d.ts +1 -1
  89. package/dist/serialization/resources/link/client/requests/BulkPauseConnectionsBody.d.ts +1 -1
  90. package/dist/serialization/resources/link/client/requests/BulkTriggerHistoricalPullBody.d.ts +1 -1
  91. package/dist/serialization/resources/link/index.d.ts +1 -0
  92. package/dist/serialization/resources/link/index.js +1 -0
  93. package/dist/serialization/resources/link/types/LinkBulkExportRequestTeamId.d.ts +10 -0
  94. package/dist/serialization/resources/link/types/LinkBulkExportRequestTeamId.js +31 -0
  95. package/dist/serialization/resources/link/types/LinkBulkImportRequestTeamId.d.ts +10 -0
  96. package/dist/serialization/resources/link/types/LinkBulkImportRequestTeamId.js +31 -0
  97. package/dist/serialization/resources/link/types/LinkBulkPauseRequestTeamId.d.ts +10 -0
  98. package/dist/serialization/resources/link/types/LinkBulkPauseRequestTeamId.js +31 -0
  99. package/dist/serialization/resources/link/types/LinkBulkTriggerHistoricalPullRequestTeamId.d.ts +10 -0
  100. package/dist/serialization/resources/link/types/LinkBulkTriggerHistoricalPullRequestTeamId.js +31 -0
  101. package/dist/serialization/resources/link/types/LinkListBulkOpsRequestTeamId.d.ts +10 -0
  102. package/dist/serialization/resources/link/types/LinkListBulkOpsRequestTeamId.js +31 -0
  103. package/dist/serialization/resources/link/types/index.d.ts +5 -0
  104. package/dist/serialization/resources/link/types/index.js +21 -0
  105. package/dist/version.d.ts +1 -1
  106. package/dist/version.js +1 -1
  107. package/package.json +1 -1
  108. package/serialization/resources/index.d.ts +2 -1
  109. package/serialization/resources/index.js +3 -2
  110. package/serialization/resources/link/client/requests/BulkExportConnectionsBody.d.ts +1 -1
  111. package/serialization/resources/link/client/requests/BulkImportConnectionsBody.d.ts +1 -1
  112. package/serialization/resources/link/client/requests/BulkPauseConnectionsBody.d.ts +1 -1
  113. package/serialization/resources/link/client/requests/BulkTriggerHistoricalPullBody.d.ts +1 -1
  114. package/serialization/resources/link/index.d.ts +1 -0
  115. package/serialization/resources/link/index.js +1 -0
  116. package/serialization/resources/link/types/LinkBulkExportRequestTeamId.d.ts +10 -0
  117. package/serialization/resources/link/types/LinkBulkExportRequestTeamId.js +31 -0
  118. package/serialization/resources/link/types/LinkBulkImportRequestTeamId.d.ts +10 -0
  119. package/serialization/resources/link/types/LinkBulkImportRequestTeamId.js +31 -0
  120. package/serialization/resources/link/types/LinkBulkPauseRequestTeamId.d.ts +10 -0
  121. package/serialization/resources/link/types/LinkBulkPauseRequestTeamId.js +31 -0
  122. package/serialization/resources/link/types/LinkBulkTriggerHistoricalPullRequestTeamId.d.ts +10 -0
  123. package/serialization/resources/link/types/LinkBulkTriggerHistoricalPullRequestTeamId.js +31 -0
  124. package/serialization/resources/link/types/LinkListBulkOpsRequestTeamId.d.ts +10 -0
  125. package/serialization/resources/link/types/LinkListBulkOpsRequestTeamId.js +31 -0
  126. package/serialization/resources/link/types/index.d.ts +5 -0
  127. package/serialization/resources/link/types/index.js +21 -0
  128. package/version.d.ts +1 -1
  129. 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.285", "User-Agent": "@tryvital/vital-node/3.1.285", "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.287", "User-Agent": "@tryvital/vital-node/3.1.287", "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.285", "User-Agent": "@tryvital/vital-node/3.1.285", "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.287", "User-Agent": "@tryvital/vital-node/3.1.287", "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.285", "User-Agent": "@tryvital/vital-node/3.1.285", "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.287", "User-Agent": "@tryvital/vital-node/3.1.287", "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,
@@ -1,8 +1,9 @@
1
+ export * as link from "./link";
2
+ export * from "./link/types";
1
3
  export * as labTests from "./labTests";
2
4
  export * from "./labTests/types";
3
5
  export * as aggregate from "./aggregate";
4
6
  export * from "./aggregate/types";
5
- export * as link from "./link";
6
7
  export * as vitals from "./vitals";
7
8
  export * as user from "./user";
8
9
  export * as team from "./team";
@@ -26,12 +26,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.order = exports.testkit = exports.insurance = exports.providers = exports.team = exports.user = exports.vitals = exports.link = exports.aggregate = exports.labTests = void 0;
29
+ exports.order = exports.testkit = exports.insurance = exports.providers = exports.team = exports.user = exports.vitals = exports.aggregate = exports.labTests = exports.link = void 0;
30
+ exports.link = __importStar(require("./link"));
31
+ __exportStar(require("./link/types"), exports);
30
32
  exports.labTests = __importStar(require("./labTests"));
31
33
  __exportStar(require("./labTests/types"), exports);
32
34
  exports.aggregate = __importStar(require("./aggregate"));
33
35
  __exportStar(require("./aggregate/types"), exports);
34
- exports.link = __importStar(require("./link"));
35
36
  exports.vitals = __importStar(require("./vitals"));
36
37
  exports.user = __importStar(require("./user"));
37
38
  exports.team = __importStar(require("./team"));
@@ -5,7 +5,7 @@ import * as serializers from "../../../../index";
5
5
  import * as Vital from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
7
  import { OAuthProviders } from "../../../../types/OAuthProviders";
8
- export declare const BulkExportConnectionsBody: core.serialization.Schema<serializers.BulkExportConnectionsBody.Raw, Vital.BulkExportConnectionsBody>;
8
+ export declare const BulkExportConnectionsBody: core.serialization.Schema<serializers.BulkExportConnectionsBody.Raw, Omit<Vital.BulkExportConnectionsBody, "teamId">>;
9
9
  export declare namespace BulkExportConnectionsBody {
10
10
  interface Raw {
11
11
  user_ids?: string[] | null;
@@ -6,7 +6,7 @@ import * as Vital from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
7
  import { OAuthProviders } from "../../../../types/OAuthProviders";
8
8
  import { ConnectionRecipe } from "../../../../types/ConnectionRecipe";
9
- export declare const BulkImportConnectionsBody: core.serialization.Schema<serializers.BulkImportConnectionsBody.Raw, Vital.BulkImportConnectionsBody>;
9
+ export declare const BulkImportConnectionsBody: core.serialization.Schema<serializers.BulkImportConnectionsBody.Raw, Omit<Vital.BulkImportConnectionsBody, "teamId">>;
10
10
  export declare namespace BulkImportConnectionsBody {
11
11
  interface Raw {
12
12
  provider: OAuthProviders.Raw;
@@ -5,7 +5,7 @@ import * as serializers from "../../../../index";
5
5
  import * as Vital from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
7
  import { OAuthProviders } from "../../../../types/OAuthProviders";
8
- export declare const BulkPauseConnectionsBody: core.serialization.Schema<serializers.BulkPauseConnectionsBody.Raw, Vital.BulkPauseConnectionsBody>;
8
+ export declare const BulkPauseConnectionsBody: core.serialization.Schema<serializers.BulkPauseConnectionsBody.Raw, Omit<Vital.BulkPauseConnectionsBody, "teamId">>;
9
9
  export declare namespace BulkPauseConnectionsBody {
10
10
  interface Raw {
11
11
  user_ids: string[];
@@ -5,7 +5,7 @@ import * as serializers from "../../../../index";
5
5
  import * as Vital from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
7
  import { OAuthProviders } from "../../../../types/OAuthProviders";
8
- export declare const BulkTriggerHistoricalPullBody: core.serialization.Schema<serializers.BulkTriggerHistoricalPullBody.Raw, Vital.BulkTriggerHistoricalPullBody>;
8
+ export declare const BulkTriggerHistoricalPullBody: core.serialization.Schema<serializers.BulkTriggerHistoricalPullBody.Raw, Omit<Vital.BulkTriggerHistoricalPullBody, "teamId">>;
9
9
  export declare namespace BulkTriggerHistoricalPullBody {
10
10
  interface Raw {
11
11
  user_ids: string[];
@@ -1 +1,2 @@
1
+ export * from "./types";
1
2
  export * from "./client";
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
17
18
  __exportStar(require("./client"), exports);
@@ -0,0 +1,10 @@
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 LinkBulkExportRequestTeamId: core.serialization.Schema<serializers.LinkBulkExportRequestTeamId.Raw, Vital.LinkBulkExportRequestTeamId>;
8
+ export declare namespace LinkBulkExportRequestTeamId {
9
+ type Raw = "infer_from_context";
10
+ }
@@ -0,0 +1,31 @@
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.LinkBulkExportRequestTeamId = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.LinkBulkExportRequestTeamId = core.serialization.enum_(["infer_from_context"]);
@@ -0,0 +1,10 @@
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 LinkBulkImportRequestTeamId: core.serialization.Schema<serializers.LinkBulkImportRequestTeamId.Raw, Vital.LinkBulkImportRequestTeamId>;
8
+ export declare namespace LinkBulkImportRequestTeamId {
9
+ type Raw = "infer_from_context";
10
+ }
@@ -0,0 +1,31 @@
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.LinkBulkImportRequestTeamId = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.LinkBulkImportRequestTeamId = core.serialization.enum_(["infer_from_context"]);
@@ -0,0 +1,10 @@
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 LinkBulkPauseRequestTeamId: core.serialization.Schema<serializers.LinkBulkPauseRequestTeamId.Raw, Vital.LinkBulkPauseRequestTeamId>;
8
+ export declare namespace LinkBulkPauseRequestTeamId {
9
+ type Raw = "infer_from_context";
10
+ }
@@ -0,0 +1,31 @@
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.LinkBulkPauseRequestTeamId = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.LinkBulkPauseRequestTeamId = core.serialization.enum_(["infer_from_context"]);
@@ -0,0 +1,10 @@
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 LinkBulkTriggerHistoricalPullRequestTeamId: core.serialization.Schema<serializers.LinkBulkTriggerHistoricalPullRequestTeamId.Raw, Vital.LinkBulkTriggerHistoricalPullRequestTeamId>;
8
+ export declare namespace LinkBulkTriggerHistoricalPullRequestTeamId {
9
+ type Raw = "infer_from_context";
10
+ }
@@ -0,0 +1,31 @@
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.LinkBulkTriggerHistoricalPullRequestTeamId = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.LinkBulkTriggerHistoricalPullRequestTeamId = core.serialization.enum_(["infer_from_context"]);
@@ -0,0 +1,10 @@
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 LinkListBulkOpsRequestTeamId: core.serialization.Schema<serializers.LinkListBulkOpsRequestTeamId.Raw, Vital.LinkListBulkOpsRequestTeamId>;
8
+ export declare namespace LinkListBulkOpsRequestTeamId {
9
+ type Raw = "infer_from_context";
10
+ }
@@ -0,0 +1,31 @@
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.LinkListBulkOpsRequestTeamId = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.LinkListBulkOpsRequestTeamId = core.serialization.enum_(["infer_from_context"]);
@@ -0,0 +1,5 @@
1
+ export * from "./LinkListBulkOpsRequestTeamId";
2
+ export * from "./LinkBulkImportRequestTeamId";
3
+ export * from "./LinkBulkTriggerHistoricalPullRequestTeamId";
4
+ export * from "./LinkBulkExportRequestTeamId";
5
+ export * from "./LinkBulkPauseRequestTeamId";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./LinkListBulkOpsRequestTeamId"), exports);
18
+ __exportStar(require("./LinkBulkImportRequestTeamId"), exports);
19
+ __exportStar(require("./LinkBulkTriggerHistoricalPullRequestTeamId"), exports);
20
+ __exportStar(require("./LinkBulkExportRequestTeamId"), exports);
21
+ __exportStar(require("./LinkBulkPauseRequestTeamId"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.1.285";
1
+ export declare const SDK_VERSION = "3.1.287";
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.285";
4
+ exports.SDK_VERSION = "3.1.287";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-node",
3
- "version": "3.1.285",
3
+ "version": "3.1.287",
4
4
  "private": false,
5
5
  "repository": "https://github.com/tryVital/vital-node",
6
6
  "main": "./index.js",
@@ -1,8 +1,9 @@
1
+ export * as link from "./link";
2
+ export * from "./link/types";
1
3
  export * as labTests from "./labTests";
2
4
  export * from "./labTests/types";
3
5
  export * as aggregate from "./aggregate";
4
6
  export * from "./aggregate/types";
5
- export * as link from "./link";
6
7
  export * as vitals from "./vitals";
7
8
  export * as user from "./user";
8
9
  export * as team from "./team";
@@ -26,12 +26,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.order = exports.testkit = exports.insurance = exports.providers = exports.team = exports.user = exports.vitals = exports.link = exports.aggregate = exports.labTests = void 0;
29
+ exports.order = exports.testkit = exports.insurance = exports.providers = exports.team = exports.user = exports.vitals = exports.aggregate = exports.labTests = exports.link = void 0;
30
+ exports.link = __importStar(require("./link"));
31
+ __exportStar(require("./link/types"), exports);
30
32
  exports.labTests = __importStar(require("./labTests"));
31
33
  __exportStar(require("./labTests/types"), exports);
32
34
  exports.aggregate = __importStar(require("./aggregate"));
33
35
  __exportStar(require("./aggregate/types"), exports);
34
- exports.link = __importStar(require("./link"));
35
36
  exports.vitals = __importStar(require("./vitals"));
36
37
  exports.user = __importStar(require("./user"));
37
38
  exports.team = __importStar(require("./team"));
@@ -5,7 +5,7 @@ import * as serializers from "../../../../index";
5
5
  import * as Vital from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
7
  import { OAuthProviders } from "../../../../types/OAuthProviders";
8
- export declare const BulkExportConnectionsBody: core.serialization.Schema<serializers.BulkExportConnectionsBody.Raw, Vital.BulkExportConnectionsBody>;
8
+ export declare const BulkExportConnectionsBody: core.serialization.Schema<serializers.BulkExportConnectionsBody.Raw, Omit<Vital.BulkExportConnectionsBody, "teamId">>;
9
9
  export declare namespace BulkExportConnectionsBody {
10
10
  interface Raw {
11
11
  user_ids?: string[] | null;
@@ -6,7 +6,7 @@ import * as Vital from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
7
  import { OAuthProviders } from "../../../../types/OAuthProviders";
8
8
  import { ConnectionRecipe } from "../../../../types/ConnectionRecipe";
9
- export declare const BulkImportConnectionsBody: core.serialization.Schema<serializers.BulkImportConnectionsBody.Raw, Vital.BulkImportConnectionsBody>;
9
+ export declare const BulkImportConnectionsBody: core.serialization.Schema<serializers.BulkImportConnectionsBody.Raw, Omit<Vital.BulkImportConnectionsBody, "teamId">>;
10
10
  export declare namespace BulkImportConnectionsBody {
11
11
  interface Raw {
12
12
  provider: OAuthProviders.Raw;
@@ -5,7 +5,7 @@ import * as serializers from "../../../../index";
5
5
  import * as Vital from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
7
  import { OAuthProviders } from "../../../../types/OAuthProviders";
8
- export declare const BulkPauseConnectionsBody: core.serialization.Schema<serializers.BulkPauseConnectionsBody.Raw, Vital.BulkPauseConnectionsBody>;
8
+ export declare const BulkPauseConnectionsBody: core.serialization.Schema<serializers.BulkPauseConnectionsBody.Raw, Omit<Vital.BulkPauseConnectionsBody, "teamId">>;
9
9
  export declare namespace BulkPauseConnectionsBody {
10
10
  interface Raw {
11
11
  user_ids: string[];
@@ -5,7 +5,7 @@ import * as serializers from "../../../../index";
5
5
  import * as Vital from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
7
  import { OAuthProviders } from "../../../../types/OAuthProviders";
8
- export declare const BulkTriggerHistoricalPullBody: core.serialization.Schema<serializers.BulkTriggerHistoricalPullBody.Raw, Vital.BulkTriggerHistoricalPullBody>;
8
+ export declare const BulkTriggerHistoricalPullBody: core.serialization.Schema<serializers.BulkTriggerHistoricalPullBody.Raw, Omit<Vital.BulkTriggerHistoricalPullBody, "teamId">>;
9
9
  export declare namespace BulkTriggerHistoricalPullBody {
10
10
  interface Raw {
11
11
  user_ids: string[];
@@ -1 +1,2 @@
1
+ export * from "./types";
1
2
  export * from "./client";
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
17
18
  __exportStar(require("./client"), exports);
@@ -0,0 +1,10 @@
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 LinkBulkExportRequestTeamId: core.serialization.Schema<serializers.LinkBulkExportRequestTeamId.Raw, Vital.LinkBulkExportRequestTeamId>;
8
+ export declare namespace LinkBulkExportRequestTeamId {
9
+ type Raw = "infer_from_context";
10
+ }
@@ -0,0 +1,31 @@
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.LinkBulkExportRequestTeamId = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.LinkBulkExportRequestTeamId = core.serialization.enum_(["infer_from_context"]);
@@ -0,0 +1,10 @@
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 LinkBulkImportRequestTeamId: core.serialization.Schema<serializers.LinkBulkImportRequestTeamId.Raw, Vital.LinkBulkImportRequestTeamId>;
8
+ export declare namespace LinkBulkImportRequestTeamId {
9
+ type Raw = "infer_from_context";
10
+ }
@@ -0,0 +1,31 @@
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.LinkBulkImportRequestTeamId = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.LinkBulkImportRequestTeamId = core.serialization.enum_(["infer_from_context"]);
@@ -0,0 +1,10 @@
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 LinkBulkPauseRequestTeamId: core.serialization.Schema<serializers.LinkBulkPauseRequestTeamId.Raw, Vital.LinkBulkPauseRequestTeamId>;
8
+ export declare namespace LinkBulkPauseRequestTeamId {
9
+ type Raw = "infer_from_context";
10
+ }
@@ -0,0 +1,31 @@
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.LinkBulkPauseRequestTeamId = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.LinkBulkPauseRequestTeamId = core.serialization.enum_(["infer_from_context"]);
@@ -0,0 +1,10 @@
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 LinkBulkTriggerHistoricalPullRequestTeamId: core.serialization.Schema<serializers.LinkBulkTriggerHistoricalPullRequestTeamId.Raw, Vital.LinkBulkTriggerHistoricalPullRequestTeamId>;
8
+ export declare namespace LinkBulkTriggerHistoricalPullRequestTeamId {
9
+ type Raw = "infer_from_context";
10
+ }