@tryvital/vital-node 3.1.302 → 3.1.304

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 (212) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +7 -2
  3. package/api/resources/activity/client/Client.js +2 -2
  4. package/api/resources/aggregate/client/Client.js +3 -3
  5. package/api/resources/body/client/Client.js +2 -2
  6. package/api/resources/devices/client/Client.js +1 -1
  7. package/api/resources/electrocardiogram/client/Client.js +1 -1
  8. package/api/resources/index.d.ts +2 -0
  9. package/api/resources/index.js +3 -1
  10. package/api/resources/insurance/client/Client.js +3 -3
  11. package/api/resources/introspect/client/Client.js +2 -2
  12. package/api/resources/labTests/client/Client.d.ts +1 -1
  13. package/api/resources/labTests/client/Client.js +42 -42
  14. package/api/resources/link/client/Client.js +19 -19
  15. package/api/resources/link/client/requests/IndividualProviderData.d.ts +1 -0
  16. package/api/resources/meal/client/Client.js +1 -1
  17. package/api/resources/menstrualCycle/client/Client.js +1 -1
  18. package/api/resources/order/client/Client.js +1 -1
  19. package/api/resources/payor/client/Client.d.ts +46 -0
  20. package/api/resources/payor/client/Client.js +130 -0
  21. package/api/resources/payor/client/index.d.ts +1 -0
  22. package/api/resources/payor/client/index.js +17 -0
  23. package/api/resources/payor/client/requests/CreatePayorBody.d.ts +23 -0
  24. package/api/resources/payor/client/requests/CreatePayorBody.js +5 -0
  25. package/api/resources/payor/client/requests/index.d.ts +1 -0
  26. package/api/resources/payor/client/requests/index.js +2 -0
  27. package/api/resources/payor/index.d.ts +1 -0
  28. package/api/resources/payor/index.js +17 -0
  29. package/api/resources/profile/client/Client.js +2 -2
  30. package/api/resources/providers/client/Client.js +1 -1
  31. package/api/resources/sleep/client/Client.js +4 -4
  32. package/api/resources/sleepCycle/client/Client.js +1 -1
  33. package/api/resources/team/client/Client.js +7 -7
  34. package/api/resources/testkit/client/Client.js +2 -2
  35. package/api/resources/user/client/Client.js +16 -16
  36. package/api/resources/vitals/client/Client.js +78 -78
  37. package/api/resources/workouts/client/Client.js +3 -3
  38. package/api/types/BloodPressureTimeseriesExpr.d.ts +1 -0
  39. package/api/types/BloodPressureTimeseriesExprField.d.ts +3 -0
  40. package/api/types/ClientFacingBodyTemperatureDeltaSample.d.ts +1 -1
  41. package/api/types/ClientFacingBodyTemperatureSample.d.ts +1 -1
  42. package/api/types/ClientFacingConnectionErrorDetailsErrorType.d.ts +2 -1
  43. package/api/types/ClientFacingConnectionErrorDetailsErrorType.js +1 -0
  44. package/api/types/ClientFacingElectrocardiogram.d.ts +2 -0
  45. package/api/types/ClientFacingPayor.d.ts +14 -0
  46. package/api/types/ClientFacingPayor.js +5 -0
  47. package/api/types/ClientFacingProfile.d.ts +2 -0
  48. package/api/types/ClientFacingSleepBreathingDisturbanceSample.d.ts +1 -0
  49. package/api/types/ClientFacingSleepCycle.d.ts +1 -0
  50. package/api/types/ClientFacingWorkoutDurationSample.d.ts +1 -1
  51. package/api/types/DatePartExpr.d.ts +1 -0
  52. package/api/types/DatePartExprDatePart.d.ts +3 -0
  53. package/api/types/DiscreteTimeseriesExpr.d.ts +1 -0
  54. package/api/types/DiscreteTimeseriesExprField.d.ts +3 -0
  55. package/api/types/IntervalTimeseriesExpr.d.ts +1 -0
  56. package/api/types/IntervalTimeseriesExprField.d.ts +3 -0
  57. package/api/types/NoteTimeseriesExpr.d.ts +1 -0
  58. package/api/types/NoteTimeseriesExprField.d.ts +3 -0
  59. package/api/types/ProviderConnectionErrorErrorType.d.ts +2 -1
  60. package/api/types/ProviderConnectionErrorErrorType.js +1 -0
  61. package/api/types/ProviderLinkResponse.d.ts +5 -1
  62. package/api/types/ProviderLinkResponseErrorType.d.ts +18 -0
  63. package/api/types/ProviderLinkResponseErrorType.js +20 -0
  64. package/api/types/ProviderMfaRequest.d.ts +2 -1
  65. package/api/types/ProviderMfaRequestMethod.d.ts +1 -1
  66. package/api/types/Sex.d.ts +12 -0
  67. package/api/types/Sex.js +11 -0
  68. package/api/types/SourceColumnExpr.d.ts +1 -0
  69. package/api/types/SourceColumnExprSource.d.ts +3 -0
  70. package/api/types/TemperatureTimeseriesExpr.d.ts +1 -0
  71. package/api/types/TemperatureTimeseriesExprField.d.ts +3 -0
  72. package/api/types/WorkoutDurationTimeseriesExpr.d.ts +1 -0
  73. package/api/types/WorkoutDurationTimeseriesExprField.d.ts +3 -0
  74. package/api/types/index.d.ts +3 -0
  75. package/api/types/index.js +3 -0
  76. package/dist/Client.d.ts +3 -0
  77. package/dist/Client.js +7 -2
  78. package/dist/api/resources/activity/client/Client.js +2 -2
  79. package/dist/api/resources/aggregate/client/Client.js +3 -3
  80. package/dist/api/resources/body/client/Client.js +2 -2
  81. package/dist/api/resources/devices/client/Client.js +1 -1
  82. package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
  83. package/dist/api/resources/index.d.ts +2 -0
  84. package/dist/api/resources/index.js +3 -1
  85. package/dist/api/resources/insurance/client/Client.js +3 -3
  86. package/dist/api/resources/introspect/client/Client.js +2 -2
  87. package/dist/api/resources/labTests/client/Client.d.ts +1 -1
  88. package/dist/api/resources/labTests/client/Client.js +42 -42
  89. package/dist/api/resources/link/client/Client.js +19 -19
  90. package/dist/api/resources/link/client/requests/IndividualProviderData.d.ts +1 -0
  91. package/dist/api/resources/meal/client/Client.js +1 -1
  92. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  93. package/dist/api/resources/order/client/Client.js +1 -1
  94. package/dist/api/resources/payor/client/Client.d.ts +46 -0
  95. package/dist/api/resources/payor/client/Client.js +130 -0
  96. package/dist/api/resources/payor/client/index.d.ts +1 -0
  97. package/dist/api/resources/payor/client/index.js +17 -0
  98. package/dist/api/resources/payor/client/requests/CreatePayorBody.d.ts +23 -0
  99. package/dist/api/resources/payor/client/requests/CreatePayorBody.js +5 -0
  100. package/dist/api/resources/payor/client/requests/index.d.ts +1 -0
  101. package/dist/api/resources/payor/client/requests/index.js +2 -0
  102. package/dist/api/resources/payor/index.d.ts +1 -0
  103. package/dist/api/resources/payor/index.js +17 -0
  104. package/dist/api/resources/profile/client/Client.js +2 -2
  105. package/dist/api/resources/providers/client/Client.js +1 -1
  106. package/dist/api/resources/sleep/client/Client.js +4 -4
  107. package/dist/api/resources/sleepCycle/client/Client.js +1 -1
  108. package/dist/api/resources/team/client/Client.js +7 -7
  109. package/dist/api/resources/testkit/client/Client.js +2 -2
  110. package/dist/api/resources/user/client/Client.js +16 -16
  111. package/dist/api/resources/vitals/client/Client.js +78 -78
  112. package/dist/api/resources/workouts/client/Client.js +3 -3
  113. package/dist/api/types/BloodPressureTimeseriesExpr.d.ts +1 -0
  114. package/dist/api/types/BloodPressureTimeseriesExprField.d.ts +3 -0
  115. package/dist/api/types/ClientFacingBodyTemperatureDeltaSample.d.ts +1 -1
  116. package/dist/api/types/ClientFacingBodyTemperatureSample.d.ts +1 -1
  117. package/dist/api/types/ClientFacingConnectionErrorDetailsErrorType.d.ts +2 -1
  118. package/dist/api/types/ClientFacingConnectionErrorDetailsErrorType.js +1 -0
  119. package/dist/api/types/ClientFacingElectrocardiogram.d.ts +2 -0
  120. package/dist/api/types/ClientFacingPayor.d.ts +14 -0
  121. package/dist/api/types/ClientFacingPayor.js +5 -0
  122. package/dist/api/types/ClientFacingProfile.d.ts +2 -0
  123. package/dist/api/types/ClientFacingSleepBreathingDisturbanceSample.d.ts +1 -0
  124. package/dist/api/types/ClientFacingSleepCycle.d.ts +1 -0
  125. package/dist/api/types/ClientFacingWorkoutDurationSample.d.ts +1 -1
  126. package/dist/api/types/DatePartExpr.d.ts +1 -0
  127. package/dist/api/types/DatePartExprDatePart.d.ts +3 -0
  128. package/dist/api/types/DiscreteTimeseriesExpr.d.ts +1 -0
  129. package/dist/api/types/DiscreteTimeseriesExprField.d.ts +3 -0
  130. package/dist/api/types/IntervalTimeseriesExpr.d.ts +1 -0
  131. package/dist/api/types/IntervalTimeseriesExprField.d.ts +3 -0
  132. package/dist/api/types/NoteTimeseriesExpr.d.ts +1 -0
  133. package/dist/api/types/NoteTimeseriesExprField.d.ts +3 -0
  134. package/dist/api/types/ProviderConnectionErrorErrorType.d.ts +2 -1
  135. package/dist/api/types/ProviderConnectionErrorErrorType.js +1 -0
  136. package/dist/api/types/ProviderLinkResponse.d.ts +5 -1
  137. package/dist/api/types/ProviderLinkResponseErrorType.d.ts +18 -0
  138. package/dist/api/types/ProviderLinkResponseErrorType.js +20 -0
  139. package/dist/api/types/ProviderMfaRequest.d.ts +2 -1
  140. package/dist/api/types/ProviderMfaRequestMethod.d.ts +1 -1
  141. package/dist/api/types/Sex.d.ts +12 -0
  142. package/dist/api/types/Sex.js +11 -0
  143. package/dist/api/types/SourceColumnExpr.d.ts +1 -0
  144. package/dist/api/types/SourceColumnExprSource.d.ts +3 -0
  145. package/dist/api/types/TemperatureTimeseriesExpr.d.ts +1 -0
  146. package/dist/api/types/TemperatureTimeseriesExprField.d.ts +3 -0
  147. package/dist/api/types/WorkoutDurationTimeseriesExpr.d.ts +1 -0
  148. package/dist/api/types/WorkoutDurationTimeseriesExprField.d.ts +3 -0
  149. package/dist/api/types/index.d.ts +3 -0
  150. package/dist/api/types/index.js +3 -0
  151. package/dist/serialization/resources/index.d.ts +2 -0
  152. package/dist/serialization/resources/index.js +3 -1
  153. package/dist/serialization/resources/payor/client/index.d.ts +1 -0
  154. package/dist/serialization/resources/payor/client/index.js +17 -0
  155. package/dist/serialization/resources/payor/client/requests/CreatePayorBody.d.ts +17 -0
  156. package/dist/serialization/resources/payor/client/requests/CreatePayorBody.js +38 -0
  157. package/dist/serialization/resources/payor/client/requests/index.d.ts +1 -0
  158. package/dist/serialization/resources/payor/client/requests/index.js +5 -0
  159. package/dist/serialization/resources/payor/index.d.ts +1 -0
  160. package/dist/serialization/resources/payor/index.js +17 -0
  161. package/dist/serialization/types/ClientFacingConnectionErrorDetailsErrorType.d.ts +1 -1
  162. package/dist/serialization/types/ClientFacingConnectionErrorDetailsErrorType.js +1 -0
  163. package/dist/serialization/types/ClientFacingPayor.d.ts +16 -0
  164. package/dist/serialization/types/ClientFacingPayor.js +37 -0
  165. package/dist/serialization/types/ClientFacingProfile.d.ts +4 -0
  166. package/dist/serialization/types/ClientFacingProfile.js +4 -0
  167. package/dist/serialization/types/ClientFacingSleepCycle.d.ts +1 -0
  168. package/dist/serialization/types/ClientFacingSleepCycle.js +1 -0
  169. package/dist/serialization/types/ProviderConnectionErrorErrorType.d.ts +1 -1
  170. package/dist/serialization/types/ProviderConnectionErrorErrorType.js +1 -0
  171. package/dist/serialization/types/ProviderLinkResponse.d.ts +2 -1
  172. package/dist/serialization/types/ProviderLinkResponse.js +2 -1
  173. package/dist/serialization/types/ProviderLinkResponseErrorType.d.ts +10 -0
  174. package/dist/serialization/types/ProviderLinkResponseErrorType.js +44 -0
  175. package/dist/serialization/types/Sex.d.ts +10 -0
  176. package/dist/serialization/types/Sex.js +35 -0
  177. package/dist/serialization/types/index.d.ts +3 -0
  178. package/dist/serialization/types/index.js +3 -0
  179. package/dist/version.d.ts +1 -1
  180. package/dist/version.js +1 -1
  181. package/package.json +1 -1
  182. package/reference.md +59 -0
  183. package/serialization/resources/index.d.ts +2 -0
  184. package/serialization/resources/index.js +3 -1
  185. package/serialization/resources/payor/client/index.d.ts +1 -0
  186. package/serialization/resources/payor/client/index.js +17 -0
  187. package/serialization/resources/payor/client/requests/CreatePayorBody.d.ts +17 -0
  188. package/serialization/resources/payor/client/requests/CreatePayorBody.js +38 -0
  189. package/serialization/resources/payor/client/requests/index.d.ts +1 -0
  190. package/serialization/resources/payor/client/requests/index.js +5 -0
  191. package/serialization/resources/payor/index.d.ts +1 -0
  192. package/serialization/resources/payor/index.js +17 -0
  193. package/serialization/types/ClientFacingConnectionErrorDetailsErrorType.d.ts +1 -1
  194. package/serialization/types/ClientFacingConnectionErrorDetailsErrorType.js +1 -0
  195. package/serialization/types/ClientFacingPayor.d.ts +16 -0
  196. package/serialization/types/ClientFacingPayor.js +37 -0
  197. package/serialization/types/ClientFacingProfile.d.ts +4 -0
  198. package/serialization/types/ClientFacingProfile.js +4 -0
  199. package/serialization/types/ClientFacingSleepCycle.d.ts +1 -0
  200. package/serialization/types/ClientFacingSleepCycle.js +1 -0
  201. package/serialization/types/ProviderConnectionErrorErrorType.d.ts +1 -1
  202. package/serialization/types/ProviderConnectionErrorErrorType.js +1 -0
  203. package/serialization/types/ProviderLinkResponse.d.ts +2 -1
  204. package/serialization/types/ProviderLinkResponse.js +2 -1
  205. package/serialization/types/ProviderLinkResponseErrorType.d.ts +10 -0
  206. package/serialization/types/ProviderLinkResponseErrorType.js +44 -0
  207. package/serialization/types/Sex.d.ts +10 -0
  208. package/serialization/types/Sex.js +35 -0
  209. package/serialization/types/index.d.ts +3 -0
  210. package/serialization/types/index.js +3 -0
  211. package/version.d.ts +1 -1
  212. package/version.js +1 -1
@@ -4,6 +4,8 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Vital from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { Gender } from "./Gender";
8
+ import { Sex } from "./Sex";
7
9
  import { ClientFacingSource } from "./ClientFacingSource";
8
10
  export declare const ClientFacingProfile: core.serialization.ObjectSchema<serializers.ClientFacingProfile.Raw, Vital.ClientFacingProfile>;
9
11
  export declare namespace ClientFacingProfile {
@@ -13,6 +15,8 @@ export declare namespace ClientFacingProfile {
13
15
  height?: number | null;
14
16
  birth_date?: string | null;
15
17
  wheelchair_use?: boolean | null;
18
+ gender?: Gender.Raw | null;
19
+ sex?: Sex.Raw | null;
16
20
  source: ClientFacingSource.Raw;
17
21
  created_at: string;
18
22
  updated_at: string;
@@ -28,6 +28,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ClientFacingProfile = void 0;
30
30
  const core = __importStar(require("../../core"));
31
+ const Gender_1 = require("./Gender");
32
+ const Sex_1 = require("./Sex");
31
33
  const ClientFacingSource_1 = require("./ClientFacingSource");
32
34
  exports.ClientFacingProfile = core.serialization.object({
33
35
  id: core.serialization.string(),
@@ -35,6 +37,8 @@ exports.ClientFacingProfile = core.serialization.object({
35
37
  height: core.serialization.number().optional(),
36
38
  birthDate: core.serialization.property("birth_date", core.serialization.string().optional()),
37
39
  wheelchairUse: core.serialization.property("wheelchair_use", core.serialization.boolean().optional()),
40
+ gender: Gender_1.Gender.optional(),
41
+ sex: Sex_1.Sex.optional(),
38
42
  source: ClientFacingSource_1.ClientFacingSource,
39
43
  createdAt: core.serialization.property("created_at", core.serialization.date()),
40
44
  updatedAt: core.serialization.property("updated_at", core.serialization.date()),
@@ -22,6 +22,7 @@ export declare namespace ClientFacingSleepCycle {
22
22
  source_provider: ClientFacingSleepCycleSourceProvider.Raw;
23
23
  source_type: ClientFacingSleepCycleSourceType.Raw;
24
24
  source_app_id?: string | null;
25
+ source_device_id?: string | null;
25
26
  created_at: string;
26
27
  updated_at: string;
27
28
  user_id: string;
@@ -44,6 +44,7 @@ exports.ClientFacingSleepCycle = core.serialization.object({
44
44
  sourceProvider: core.serialization.property("source_provider", ClientFacingSleepCycleSourceProvider_1.ClientFacingSleepCycleSourceProvider),
45
45
  sourceType: core.serialization.property("source_type", ClientFacingSleepCycleSourceType_1.ClientFacingSleepCycleSourceType),
46
46
  sourceAppId: core.serialization.property("source_app_id", core.serialization.string().optional()),
47
+ sourceDeviceId: core.serialization.property("source_device_id", core.serialization.string().optional()),
47
48
  createdAt: core.serialization.property("created_at", core.serialization.date()),
48
49
  updatedAt: core.serialization.property("updated_at", core.serialization.date()),
49
50
  userId: core.serialization.property("user_id", core.serialization.string()),
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const ProviderConnectionErrorErrorType: core.serialization.Schema<serializers.ProviderConnectionErrorErrorType.Raw, Vital.ProviderConnectionErrorErrorType>;
8
8
  export declare namespace ProviderConnectionErrorErrorType {
9
- type Raw = "token_refresh_failed" | "webhook_registration_failed" | "user_not_found" | "deregistered_per_provider" | "required_scopes_not_granted" | "provider_credential_error" | "unknown";
9
+ type Raw = "token_refresh_failed" | "webhook_registration_failed" | "user_not_found" | "deregistered_per_provider" | "required_scopes_not_granted" | "provider_credential_error" | "provider_password_expired" | "unknown";
10
10
  }
@@ -35,5 +35,6 @@ exports.ProviderConnectionErrorErrorType = core.serialization.enum_([
35
35
  "deregistered_per_provider",
36
36
  "required_scopes_not_granted",
37
37
  "provider_credential_error",
38
+ "provider_password_expired",
38
39
  "unknown",
39
40
  ]);
@@ -5,6 +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 { ProviderLinkResponseState } from "./ProviderLinkResponseState";
8
+ import { ProviderLinkResponseErrorType } from "./ProviderLinkResponseErrorType";
8
9
  import { ProviderMfaRequest } from "./ProviderMfaRequest";
9
10
  import { PasswordProviders } from "./PasswordProviders";
10
11
  export declare const ProviderLinkResponse: core.serialization.ObjectSchema<serializers.ProviderLinkResponse.Raw, Vital.ProviderLinkResponse>;
@@ -12,7 +13,7 @@ export declare namespace ProviderLinkResponse {
12
13
  interface Raw {
13
14
  state: ProviderLinkResponseState.Raw;
14
15
  redirect_url?: string | null;
15
- error_type?: string | null;
16
+ error_type?: ProviderLinkResponseErrorType.Raw | null;
16
17
  error?: string | null;
17
18
  provider_mfa?: ProviderMfaRequest.Raw | null;
18
19
  provider: PasswordProviders.Raw;
@@ -29,12 +29,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ProviderLinkResponse = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  const ProviderLinkResponseState_1 = require("./ProviderLinkResponseState");
32
+ const ProviderLinkResponseErrorType_1 = require("./ProviderLinkResponseErrorType");
32
33
  const ProviderMfaRequest_1 = require("./ProviderMfaRequest");
33
34
  const PasswordProviders_1 = require("./PasswordProviders");
34
35
  exports.ProviderLinkResponse = core.serialization.object({
35
36
  state: ProviderLinkResponseState_1.ProviderLinkResponseState,
36
37
  redirectUrl: core.serialization.property("redirect_url", core.serialization.string().optional()),
37
- errorType: core.serialization.property("error_type", core.serialization.string().optional()),
38
+ errorType: core.serialization.property("error_type", ProviderLinkResponseErrorType_1.ProviderLinkResponseErrorType.optional()),
38
39
  error: core.serialization.string().optional(),
39
40
  providerMfa: core.serialization.property("provider_mfa", ProviderMfaRequest_1.ProviderMfaRequest.optional()),
40
41
  provider: PasswordProviders_1.PasswordProviders,
@@ -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 ProviderLinkResponseErrorType: core.serialization.Schema<serializers.ProviderLinkResponseErrorType.Raw, Vital.ProviderLinkResponseErrorType>;
8
+ export declare namespace ProviderLinkResponseErrorType {
9
+ type Raw = "invalid_token" | "token_expired" | "token_not_validated" | "token_consumed" | "provider_credential_error" | "provider_password_expired" | "provider_api_error" | "unsupported_region" | "duplicate_connection" | "required_scopes_not_granted" | "incorrect_mfa_code" | "user_cancelled";
10
+ }
@@ -0,0 +1,44 @@
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.ProviderLinkResponseErrorType = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.ProviderLinkResponseErrorType = core.serialization.enum_([
32
+ "invalid_token",
33
+ "token_expired",
34
+ "token_not_validated",
35
+ "token_consumed",
36
+ "provider_credential_error",
37
+ "provider_password_expired",
38
+ "provider_api_error",
39
+ "unsupported_region",
40
+ "duplicate_connection",
41
+ "required_scopes_not_granted",
42
+ "incorrect_mfa_code",
43
+ "user_cancelled",
44
+ ]);
@@ -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 Sex: core.serialization.Schema<serializers.Sex.Raw, Vital.Sex>;
8
+ export declare namespace Sex {
9
+ type Raw = "female" | "male" | "other";
10
+ }
@@ -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.Sex = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.Sex = core.serialization.enum_([
32
+ "female",
33
+ "male",
34
+ "other",
35
+ ]);
@@ -123,6 +123,7 @@ export * from "./ClientFacingOrderDetails";
123
123
  export * from "./ClientFacingOrder";
124
124
  export * from "./ClientFacingOrderEvent";
125
125
  export * from "./ClientFacingPatientDetailsCompatible";
126
+ export * from "./ClientFacingPayor";
126
127
  export * from "./ClientFacingPayorSearchResponse";
127
128
  export * from "./ClientFacingPayorSearchResponseDeprecated";
128
129
  export * from "./ClientFacingPeakExpiratoryFlowRateSample";
@@ -315,6 +316,7 @@ export * from "./ProviderConnectionCreated";
315
316
  export * from "./ProviderConnectionErrorErrorType";
316
317
  export * from "./ProviderConnectionError";
317
318
  export * from "./ProviderLinkResponseState";
319
+ export * from "./ProviderLinkResponseErrorType";
318
320
  export * from "./ProviderLinkResponse";
319
321
  export * from "./ProviderMfaRequestMethod";
320
322
  export * from "./ProviderMfaRequest";
@@ -346,6 +348,7 @@ export * from "./SampleDataDateReported";
346
348
  export * from "./SampleData";
347
349
  export * from "./ScopeRequirementsGrants";
348
350
  export * from "./ScopeRequirementsStr";
351
+ export * from "./Sex";
349
352
  export * from "./SexualActivityEntry";
350
353
  export * from "./SexualOrientation";
351
354
  export * from "./ShippingAddress";
@@ -139,6 +139,7 @@ __exportStar(require("./ClientFacingOrderDetails"), exports);
139
139
  __exportStar(require("./ClientFacingOrder"), exports);
140
140
  __exportStar(require("./ClientFacingOrderEvent"), exports);
141
141
  __exportStar(require("./ClientFacingPatientDetailsCompatible"), exports);
142
+ __exportStar(require("./ClientFacingPayor"), exports);
142
143
  __exportStar(require("./ClientFacingPayorSearchResponse"), exports);
143
144
  __exportStar(require("./ClientFacingPayorSearchResponseDeprecated"), exports);
144
145
  __exportStar(require("./ClientFacingPeakExpiratoryFlowRateSample"), exports);
@@ -331,6 +332,7 @@ __exportStar(require("./ProviderConnectionCreated"), exports);
331
332
  __exportStar(require("./ProviderConnectionErrorErrorType"), exports);
332
333
  __exportStar(require("./ProviderConnectionError"), exports);
333
334
  __exportStar(require("./ProviderLinkResponseState"), exports);
335
+ __exportStar(require("./ProviderLinkResponseErrorType"), exports);
334
336
  __exportStar(require("./ProviderLinkResponse"), exports);
335
337
  __exportStar(require("./ProviderMfaRequestMethod"), exports);
336
338
  __exportStar(require("./ProviderMfaRequest"), exports);
@@ -362,6 +364,7 @@ __exportStar(require("./SampleDataDateReported"), exports);
362
364
  __exportStar(require("./SampleData"), exports);
363
365
  __exportStar(require("./ScopeRequirementsGrants"), exports);
364
366
  __exportStar(require("./ScopeRequirementsStr"), exports);
367
+ __exportStar(require("./Sex"), exports);
365
368
  __exportStar(require("./SexualActivityEntry"), exports);
366
369
  __exportStar(require("./SexualOrientation"), exports);
367
370
  __exportStar(require("./ShippingAddress"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.1.302";
1
+ export declare const SDK_VERSION = "3.1.304";
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.302";
4
+ exports.SDK_VERSION = "3.1.304";