@tryvital/vital-node 3.1.151 → 3.1.152

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 (88) hide show
  1. package/api/resources/activity/client/Client.js +2 -2
  2. package/api/resources/aggregate/client/Client.js +1 -1
  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.d.ts +11 -1
  7. package/api/resources/insurance/client/Client.js +76 -3
  8. package/api/resources/insurance/client/requests/InsuranceSearchGetPayorInfoRequest.d.ts +13 -0
  9. package/api/resources/insurance/client/requests/InsuranceSearchGetPayorInfoRequest.js +5 -0
  10. package/api/resources/insurance/client/requests/index.d.ts +1 -0
  11. package/api/resources/introspect/client/Client.js +2 -2
  12. package/api/resources/labTests/client/Client.js +34 -34
  13. package/api/resources/link/client/Client.js +14 -14
  14. package/api/resources/meal/client/Client.js +1 -1
  15. package/api/resources/menstrualCycle/client/Client.js +1 -1
  16. package/api/resources/profile/client/Client.js +2 -2
  17. package/api/resources/providers/client/Client.js +1 -1
  18. package/api/resources/sleep/client/Client.js +4 -4
  19. package/api/resources/sleepCycle/client/Client.js +1 -1
  20. package/api/resources/team/client/Client.js +7 -7
  21. package/api/resources/testkit/client/Client.js +2 -2
  22. package/api/resources/user/client/Client.js +16 -16
  23. package/api/resources/vitals/client/Client.js +58 -58
  24. package/api/resources/workouts/client/Client.js +3 -3
  25. package/api/types/ClientFacingPayorSearchResponse.d.ts +1 -1
  26. package/api/types/ClientFacingPayorSearchResponseDeprecated.d.ts +14 -0
  27. package/api/types/ClientFacingPayorSearchResponseDeprecated.js +5 -0
  28. package/api/types/index.d.ts +1 -0
  29. package/api/types/index.js +1 -0
  30. package/dist/api/resources/activity/client/Client.js +2 -2
  31. package/dist/api/resources/aggregate/client/Client.js +1 -1
  32. package/dist/api/resources/body/client/Client.js +2 -2
  33. package/dist/api/resources/devices/client/Client.js +1 -1
  34. package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
  35. package/dist/api/resources/insurance/client/Client.d.ts +11 -1
  36. package/dist/api/resources/insurance/client/Client.js +76 -3
  37. package/dist/api/resources/insurance/client/requests/InsuranceSearchGetPayorInfoRequest.d.ts +13 -0
  38. package/dist/api/resources/insurance/client/requests/InsuranceSearchGetPayorInfoRequest.js +5 -0
  39. package/dist/api/resources/insurance/client/requests/index.d.ts +1 -0
  40. package/dist/api/resources/introspect/client/Client.js +2 -2
  41. package/dist/api/resources/labTests/client/Client.js +34 -34
  42. package/dist/api/resources/link/client/Client.js +14 -14
  43. package/dist/api/resources/meal/client/Client.js +1 -1
  44. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  45. package/dist/api/resources/profile/client/Client.js +2 -2
  46. package/dist/api/resources/providers/client/Client.js +1 -1
  47. package/dist/api/resources/sleep/client/Client.js +4 -4
  48. package/dist/api/resources/sleepCycle/client/Client.js +1 -1
  49. package/dist/api/resources/team/client/Client.js +7 -7
  50. package/dist/api/resources/testkit/client/Client.js +2 -2
  51. package/dist/api/resources/user/client/Client.js +16 -16
  52. package/dist/api/resources/vitals/client/Client.js +58 -58
  53. package/dist/api/resources/workouts/client/Client.js +3 -3
  54. package/dist/api/types/ClientFacingPayorSearchResponse.d.ts +1 -1
  55. package/dist/api/types/ClientFacingPayorSearchResponseDeprecated.d.ts +14 -0
  56. package/dist/api/types/ClientFacingPayorSearchResponseDeprecated.js +5 -0
  57. package/dist/api/types/index.d.ts +1 -0
  58. package/dist/api/types/index.js +1 -0
  59. package/dist/serialization/resources/insurance/client/index.d.ts +1 -0
  60. package/dist/serialization/resources/insurance/client/index.js +2 -1
  61. package/dist/serialization/resources/insurance/client/searchGetPayorInfo.d.ts +11 -0
  62. package/dist/serialization/resources/insurance/client/searchGetPayorInfo.js +32 -0
  63. package/dist/serialization/resources/insurance/client/searchPayorInfo.d.ts +3 -3
  64. package/dist/serialization/resources/insurance/client/searchPayorInfo.js +2 -2
  65. package/dist/serialization/types/ClientFacingPayorSearchResponse.d.ts +1 -1
  66. package/dist/serialization/types/ClientFacingPayorSearchResponse.js +1 -1
  67. package/dist/serialization/types/ClientFacingPayorSearchResponseDeprecated.d.ts +16 -0
  68. package/dist/serialization/types/ClientFacingPayorSearchResponseDeprecated.js +37 -0
  69. package/dist/serialization/types/index.d.ts +1 -0
  70. package/dist/serialization/types/index.js +1 -0
  71. package/dist/version.d.ts +1 -1
  72. package/dist/version.js +1 -1
  73. package/package.json +1 -1
  74. package/reference.md +49 -1
  75. package/serialization/resources/insurance/client/index.d.ts +1 -0
  76. package/serialization/resources/insurance/client/index.js +2 -1
  77. package/serialization/resources/insurance/client/searchGetPayorInfo.d.ts +11 -0
  78. package/serialization/resources/insurance/client/searchGetPayorInfo.js +32 -0
  79. package/serialization/resources/insurance/client/searchPayorInfo.d.ts +3 -3
  80. package/serialization/resources/insurance/client/searchPayorInfo.js +2 -2
  81. package/serialization/types/ClientFacingPayorSearchResponse.d.ts +1 -1
  82. package/serialization/types/ClientFacingPayorSearchResponse.js +1 -1
  83. package/serialization/types/ClientFacingPayorSearchResponseDeprecated.d.ts +16 -0
  84. package/serialization/types/ClientFacingPayorSearchResponseDeprecated.js +37 -0
  85. package/serialization/types/index.d.ts +1 -0
  86. package/serialization/types/index.js +1 -0
  87. package/version.d.ts +1 -1
  88. 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.151", "User-Agent": "@tryvital/vital-node/3.1.151", "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.152", "User-Agent": "@tryvital/vital-node/3.1.152", "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.151", "User-Agent": "@tryvital/vital-node/3.1.151", "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.152", "User-Agent": "@tryvital/vital-node/3.1.152", "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.151", "User-Agent": "@tryvital/vital-node/3.1.151", "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.152", "User-Agent": "@tryvital/vital-node/3.1.152", "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,
@@ -4,7 +4,7 @@
4
4
  import * as Vital from "../index";
5
5
  export interface ClientFacingPayorSearchResponse {
6
6
  /** Payor code returned for the insurance information. */
7
- code: string;
7
+ payorCode: string;
8
8
  /** Insurance name returned for the insurance information. */
9
9
  name: string;
10
10
  /** Insurance name aliases returned for the insurance information. */
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export interface ClientFacingPayorSearchResponseDeprecated {
6
+ /** Payor code returned for the insurance information. */
7
+ code: string;
8
+ /** Insurance name returned for the insurance information. */
9
+ name: string;
10
+ /** Insurance name aliases returned for the insurance information. */
11
+ aliases: string[];
12
+ /** Insurance business address returned for the insurance information. */
13
+ orgAddress: Vital.Address;
14
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -111,6 +111,7 @@ export * from "./ClientFacingOrder";
111
111
  export * from "./ClientFacingOrderEvent";
112
112
  export * from "./ClientFacingPatientDetailsCompatible";
113
113
  export * from "./ClientFacingPayorSearchResponse";
114
+ export * from "./ClientFacingPayorSearchResponseDeprecated";
114
115
  export * from "./ClientFacingPhysician";
115
116
  export * from "./ClientFacingProfile";
116
117
  export * from "./ClientFacingProvider";
@@ -127,6 +127,7 @@ __exportStar(require("./ClientFacingOrder"), exports);
127
127
  __exportStar(require("./ClientFacingOrderEvent"), exports);
128
128
  __exportStar(require("./ClientFacingPatientDetailsCompatible"), exports);
129
129
  __exportStar(require("./ClientFacingPayorSearchResponse"), exports);
130
+ __exportStar(require("./ClientFacingPayorSearchResponseDeprecated"), exports);
130
131
  __exportStar(require("./ClientFacingPhysician"), exports);
131
132
  __exportStar(require("./ClientFacingProfile"), exports);
132
133
  __exportStar(require("./ClientFacingProvider"), exports);
@@ -1,3 +1,4 @@
1
+ export * as searchGetPayorInfo from "./searchGetPayorInfo";
1
2
  export * as searchPayorInfo from "./searchPayorInfo";
2
3
  export * as searchDiagnosis from "./searchDiagnosis";
3
4
  export * from "./requests";
@@ -26,7 +26,8 @@ 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.searchDiagnosis = exports.searchPayorInfo = void 0;
29
+ exports.searchDiagnosis = exports.searchPayorInfo = exports.searchGetPayorInfo = void 0;
30
+ exports.searchGetPayorInfo = __importStar(require("./searchGetPayorInfo"));
30
31
  exports.searchPayorInfo = __importStar(require("./searchPayorInfo"));
31
32
  exports.searchDiagnosis = __importStar(require("./searchDiagnosis"));
32
33
  __exportStar(require("./requests"), exports);
@@ -0,0 +1,11 @@
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 { ClientFacingPayorSearchResponse } from "../../../types/ClientFacingPayorSearchResponse";
8
+ export declare const Response: core.serialization.Schema<serializers.insurance.searchGetPayorInfo.Response.Raw, Vital.ClientFacingPayorSearchResponse[]>;
9
+ export declare namespace Response {
10
+ type Raw = ClientFacingPayorSearchResponse.Raw[];
11
+ }
@@ -0,0 +1,32 @@
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.Response = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const ClientFacingPayorSearchResponse_1 = require("../../../types/ClientFacingPayorSearchResponse");
32
+ exports.Response = core.serialization.list(ClientFacingPayorSearchResponse_1.ClientFacingPayorSearchResponse);
@@ -4,8 +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 { ClientFacingPayorSearchResponse } from "../../../types/ClientFacingPayorSearchResponse";
8
- export declare const Response: core.serialization.Schema<serializers.insurance.searchPayorInfo.Response.Raw, Vital.ClientFacingPayorSearchResponse[]>;
7
+ import { ClientFacingPayorSearchResponseDeprecated } from "../../../types/ClientFacingPayorSearchResponseDeprecated";
8
+ export declare const Response: core.serialization.Schema<serializers.insurance.searchPayorInfo.Response.Raw, Vital.ClientFacingPayorSearchResponseDeprecated[]>;
9
9
  export declare namespace Response {
10
- type Raw = ClientFacingPayorSearchResponse.Raw[];
10
+ type Raw = ClientFacingPayorSearchResponseDeprecated.Raw[];
11
11
  }
@@ -28,5 +28,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Response = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
- const ClientFacingPayorSearchResponse_1 = require("../../../types/ClientFacingPayorSearchResponse");
32
- exports.Response = core.serialization.list(ClientFacingPayorSearchResponse_1.ClientFacingPayorSearchResponse);
31
+ const ClientFacingPayorSearchResponseDeprecated_1 = require("../../../types/ClientFacingPayorSearchResponseDeprecated");
32
+ exports.Response = core.serialization.list(ClientFacingPayorSearchResponseDeprecated_1.ClientFacingPayorSearchResponseDeprecated);
@@ -8,7 +8,7 @@ import { Address } from "./Address";
8
8
  export declare const ClientFacingPayorSearchResponse: core.serialization.ObjectSchema<serializers.ClientFacingPayorSearchResponse.Raw, Vital.ClientFacingPayorSearchResponse>;
9
9
  export declare namespace ClientFacingPayorSearchResponse {
10
10
  interface Raw {
11
- code: string;
11
+ payor_code: string;
12
12
  name: string;
13
13
  aliases: string[];
14
14
  org_address: Address.Raw;
@@ -30,7 +30,7 @@ exports.ClientFacingPayorSearchResponse = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  const Address_1 = require("./Address");
32
32
  exports.ClientFacingPayorSearchResponse = core.serialization.object({
33
- code: core.serialization.string(),
33
+ payorCode: core.serialization.property("payor_code", core.serialization.string()),
34
34
  name: core.serialization.string(),
35
35
  aliases: core.serialization.list(core.serialization.string()),
36
36
  orgAddress: core.serialization.property("org_address", Address_1.Address),
@@ -0,0 +1,16 @@
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 { Address } from "./Address";
8
+ export declare const ClientFacingPayorSearchResponseDeprecated: core.serialization.ObjectSchema<serializers.ClientFacingPayorSearchResponseDeprecated.Raw, Vital.ClientFacingPayorSearchResponseDeprecated>;
9
+ export declare namespace ClientFacingPayorSearchResponseDeprecated {
10
+ interface Raw {
11
+ code: string;
12
+ name: string;
13
+ aliases: string[];
14
+ org_address: Address.Raw;
15
+ }
16
+ }
@@ -0,0 +1,37 @@
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.ClientFacingPayorSearchResponseDeprecated = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const Address_1 = require("./Address");
32
+ exports.ClientFacingPayorSearchResponseDeprecated = core.serialization.object({
33
+ code: core.serialization.string(),
34
+ name: core.serialization.string(),
35
+ aliases: core.serialization.list(core.serialization.string()),
36
+ orgAddress: core.serialization.property("org_address", Address_1.Address),
37
+ });
@@ -111,6 +111,7 @@ export * from "./ClientFacingOrder";
111
111
  export * from "./ClientFacingOrderEvent";
112
112
  export * from "./ClientFacingPatientDetailsCompatible";
113
113
  export * from "./ClientFacingPayorSearchResponse";
114
+ export * from "./ClientFacingPayorSearchResponseDeprecated";
114
115
  export * from "./ClientFacingPhysician";
115
116
  export * from "./ClientFacingProfile";
116
117
  export * from "./ClientFacingProvider";
@@ -127,6 +127,7 @@ __exportStar(require("./ClientFacingOrder"), exports);
127
127
  __exportStar(require("./ClientFacingOrderEvent"), exports);
128
128
  __exportStar(require("./ClientFacingPatientDetailsCompatible"), exports);
129
129
  __exportStar(require("./ClientFacingPayorSearchResponse"), exports);
130
+ __exportStar(require("./ClientFacingPayorSearchResponseDeprecated"), exports);
130
131
  __exportStar(require("./ClientFacingPhysician"), exports);
131
132
  __exportStar(require("./ClientFacingProfile"), exports);
132
133
  __exportStar(require("./ClientFacingProvider"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.1.151";
1
+ export declare const SDK_VERSION = "3.1.152";
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.151";
4
+ exports.SDK_VERSION = "3.1.152";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-node",
3
- "version": "3.1.151",
3
+ "version": "3.1.152",
4
4
  "private": false,
5
5
  "repository": "https://github.com/tryVital/vital-node",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -9346,7 +9346,55 @@ await client.testkit.createOrder({
9346
9346
 
9347
9347
  ## Insurance
9348
9348
 
9349
- <details><summary><code>client.insurance.<a href="/src/api/resources/insurance/client/Client.ts">searchPayorInfo</a>({ ...params }) -> Vital.ClientFacingPayorSearchResponse[]</code></summary>
9349
+ <details><summary><code>client.insurance.<a href="/src/api/resources/insurance/client/Client.ts">searchGetPayorInfo</a>({ ...params }) -> Vital.ClientFacingPayorSearchResponse[]</code></summary>
9350
+ <dl>
9351
+ <dd>
9352
+
9353
+ #### 🔌 Usage
9354
+
9355
+ <dl>
9356
+ <dd>
9357
+
9358
+ <dl>
9359
+ <dd>
9360
+
9361
+ ```typescript
9362
+ await client.insurance.searchGetPayorInfo();
9363
+ ```
9364
+
9365
+ </dd>
9366
+ </dl>
9367
+ </dd>
9368
+ </dl>
9369
+
9370
+ #### ⚙️ Parameters
9371
+
9372
+ <dl>
9373
+ <dd>
9374
+
9375
+ <dl>
9376
+ <dd>
9377
+
9378
+ **request:** `Vital.InsuranceSearchGetPayorInfoRequest`
9379
+
9380
+ </dd>
9381
+ </dl>
9382
+
9383
+ <dl>
9384
+ <dd>
9385
+
9386
+ **requestOptions:** `Insurance.RequestOptions`
9387
+
9388
+ </dd>
9389
+ </dl>
9390
+ </dd>
9391
+ </dl>
9392
+
9393
+ </dd>
9394
+ </dl>
9395
+ </details>
9396
+
9397
+ <details><summary><code>client.insurance.<a href="/src/api/resources/insurance/client/Client.ts">searchPayorInfo</a>({ ...params }) -> Vital.ClientFacingPayorSearchResponseDeprecated[]</code></summary>
9350
9398
  <dl>
9351
9399
  <dd>
9352
9400
 
@@ -1,3 +1,4 @@
1
+ export * as searchGetPayorInfo from "./searchGetPayorInfo";
1
2
  export * as searchPayorInfo from "./searchPayorInfo";
2
3
  export * as searchDiagnosis from "./searchDiagnosis";
3
4
  export * from "./requests";
@@ -26,7 +26,8 @@ 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.searchDiagnosis = exports.searchPayorInfo = void 0;
29
+ exports.searchDiagnosis = exports.searchPayorInfo = exports.searchGetPayorInfo = void 0;
30
+ exports.searchGetPayorInfo = __importStar(require("./searchGetPayorInfo"));
30
31
  exports.searchPayorInfo = __importStar(require("./searchPayorInfo"));
31
32
  exports.searchDiagnosis = __importStar(require("./searchDiagnosis"));
32
33
  __exportStar(require("./requests"), exports);
@@ -0,0 +1,11 @@
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 { ClientFacingPayorSearchResponse } from "../../../types/ClientFacingPayorSearchResponse";
8
+ export declare const Response: core.serialization.Schema<serializers.insurance.searchGetPayorInfo.Response.Raw, Vital.ClientFacingPayorSearchResponse[]>;
9
+ export declare namespace Response {
10
+ type Raw = ClientFacingPayorSearchResponse.Raw[];
11
+ }
@@ -0,0 +1,32 @@
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.Response = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const ClientFacingPayorSearchResponse_1 = require("../../../types/ClientFacingPayorSearchResponse");
32
+ exports.Response = core.serialization.list(ClientFacingPayorSearchResponse_1.ClientFacingPayorSearchResponse);
@@ -4,8 +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 { ClientFacingPayorSearchResponse } from "../../../types/ClientFacingPayorSearchResponse";
8
- export declare const Response: core.serialization.Schema<serializers.insurance.searchPayorInfo.Response.Raw, Vital.ClientFacingPayorSearchResponse[]>;
7
+ import { ClientFacingPayorSearchResponseDeprecated } from "../../../types/ClientFacingPayorSearchResponseDeprecated";
8
+ export declare const Response: core.serialization.Schema<serializers.insurance.searchPayorInfo.Response.Raw, Vital.ClientFacingPayorSearchResponseDeprecated[]>;
9
9
  export declare namespace Response {
10
- type Raw = ClientFacingPayorSearchResponse.Raw[];
10
+ type Raw = ClientFacingPayorSearchResponseDeprecated.Raw[];
11
11
  }
@@ -28,5 +28,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Response = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
- const ClientFacingPayorSearchResponse_1 = require("../../../types/ClientFacingPayorSearchResponse");
32
- exports.Response = core.serialization.list(ClientFacingPayorSearchResponse_1.ClientFacingPayorSearchResponse);
31
+ const ClientFacingPayorSearchResponseDeprecated_1 = require("../../../types/ClientFacingPayorSearchResponseDeprecated");
32
+ exports.Response = core.serialization.list(ClientFacingPayorSearchResponseDeprecated_1.ClientFacingPayorSearchResponseDeprecated);
@@ -8,7 +8,7 @@ import { Address } from "./Address";
8
8
  export declare const ClientFacingPayorSearchResponse: core.serialization.ObjectSchema<serializers.ClientFacingPayorSearchResponse.Raw, Vital.ClientFacingPayorSearchResponse>;
9
9
  export declare namespace ClientFacingPayorSearchResponse {
10
10
  interface Raw {
11
- code: string;
11
+ payor_code: string;
12
12
  name: string;
13
13
  aliases: string[];
14
14
  org_address: Address.Raw;
@@ -30,7 +30,7 @@ exports.ClientFacingPayorSearchResponse = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  const Address_1 = require("./Address");
32
32
  exports.ClientFacingPayorSearchResponse = core.serialization.object({
33
- code: core.serialization.string(),
33
+ payorCode: core.serialization.property("payor_code", core.serialization.string()),
34
34
  name: core.serialization.string(),
35
35
  aliases: core.serialization.list(core.serialization.string()),
36
36
  orgAddress: core.serialization.property("org_address", Address_1.Address),
@@ -0,0 +1,16 @@
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 { Address } from "./Address";
8
+ export declare const ClientFacingPayorSearchResponseDeprecated: core.serialization.ObjectSchema<serializers.ClientFacingPayorSearchResponseDeprecated.Raw, Vital.ClientFacingPayorSearchResponseDeprecated>;
9
+ export declare namespace ClientFacingPayorSearchResponseDeprecated {
10
+ interface Raw {
11
+ code: string;
12
+ name: string;
13
+ aliases: string[];
14
+ org_address: Address.Raw;
15
+ }
16
+ }
@@ -0,0 +1,37 @@
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.ClientFacingPayorSearchResponseDeprecated = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const Address_1 = require("./Address");
32
+ exports.ClientFacingPayorSearchResponseDeprecated = core.serialization.object({
33
+ code: core.serialization.string(),
34
+ name: core.serialization.string(),
35
+ aliases: core.serialization.list(core.serialization.string()),
36
+ orgAddress: core.serialization.property("org_address", Address_1.Address),
37
+ });
@@ -111,6 +111,7 @@ export * from "./ClientFacingOrder";
111
111
  export * from "./ClientFacingOrderEvent";
112
112
  export * from "./ClientFacingPatientDetailsCompatible";
113
113
  export * from "./ClientFacingPayorSearchResponse";
114
+ export * from "./ClientFacingPayorSearchResponseDeprecated";
114
115
  export * from "./ClientFacingPhysician";
115
116
  export * from "./ClientFacingProfile";
116
117
  export * from "./ClientFacingProvider";
@@ -127,6 +127,7 @@ __exportStar(require("./ClientFacingOrder"), exports);
127
127
  __exportStar(require("./ClientFacingOrderEvent"), exports);
128
128
  __exportStar(require("./ClientFacingPatientDetailsCompatible"), exports);
129
129
  __exportStar(require("./ClientFacingPayorSearchResponse"), exports);
130
+ __exportStar(require("./ClientFacingPayorSearchResponseDeprecated"), exports);
130
131
  __exportStar(require("./ClientFacingPhysician"), exports);
131
132
  __exportStar(require("./ClientFacingProfile"), exports);
132
133
  __exportStar(require("./ClientFacingProvider"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.1.151";
1
+ export declare const SDK_VERSION = "3.1.152";
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.151";
4
+ exports.SDK_VERSION = "3.1.152";