@tryvital/vital-node 3.1.91 → 3.1.93

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 (81) 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/insurance/client/Client.js +2 -2
  6. package/api/resources/introspect/client/Client.js +2 -2
  7. package/api/resources/labTests/client/Client.js +34 -34
  8. package/api/resources/link/client/Client.js +14 -14
  9. package/api/resources/meal/client/Client.js +1 -1
  10. package/api/resources/menstrualCycle/client/Client.js +1 -1
  11. package/api/resources/profile/client/Client.js +2 -2
  12. package/api/resources/providers/client/Client.js +1 -1
  13. package/api/resources/sleep/client/Client.js +4 -4
  14. package/api/resources/team/client/Client.js +7 -7
  15. package/api/resources/testkit/client/Client.js +2 -2
  16. package/api/resources/user/client/Client.js +16 -16
  17. package/api/resources/user/client/requests/CreateInsuranceRequest.d.ts +1 -1
  18. package/api/resources/vitals/client/Client.js +56 -56
  19. package/api/resources/workouts/client/Client.js +3 -3
  20. package/api/types/Billing.d.ts +2 -1
  21. package/api/types/Billing.js +1 -0
  22. package/api/types/ClientFacingInsurance.d.ts +1 -1
  23. package/api/types/ClientUserIdConflict.d.ts +1 -1
  24. package/api/types/GuarantorDetails.d.ts +11 -0
  25. package/api/types/GuarantorDetails.js +5 -0
  26. package/api/types/index.d.ts +1 -0
  27. package/api/types/index.js +1 -0
  28. package/dist/api/resources/activity/client/Client.js +2 -2
  29. package/dist/api/resources/aggregate/client/Client.js +1 -1
  30. package/dist/api/resources/body/client/Client.js +2 -2
  31. package/dist/api/resources/devices/client/Client.js +1 -1
  32. package/dist/api/resources/insurance/client/Client.js +2 -2
  33. package/dist/api/resources/introspect/client/Client.js +2 -2
  34. package/dist/api/resources/labTests/client/Client.js +34 -34
  35. package/dist/api/resources/link/client/Client.js +14 -14
  36. package/dist/api/resources/meal/client/Client.js +1 -1
  37. package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
  38. package/dist/api/resources/profile/client/Client.js +2 -2
  39. package/dist/api/resources/providers/client/Client.js +1 -1
  40. package/dist/api/resources/sleep/client/Client.js +4 -4
  41. package/dist/api/resources/team/client/Client.js +7 -7
  42. package/dist/api/resources/testkit/client/Client.js +2 -2
  43. package/dist/api/resources/user/client/Client.js +16 -16
  44. package/dist/api/resources/user/client/requests/CreateInsuranceRequest.d.ts +1 -1
  45. package/dist/api/resources/vitals/client/Client.js +56 -56
  46. package/dist/api/resources/workouts/client/Client.js +3 -3
  47. package/dist/api/types/Billing.d.ts +2 -1
  48. package/dist/api/types/Billing.js +1 -0
  49. package/dist/api/types/ClientFacingInsurance.d.ts +1 -1
  50. package/dist/api/types/ClientUserIdConflict.d.ts +1 -1
  51. package/dist/api/types/GuarantorDetails.d.ts +11 -0
  52. package/dist/api/types/GuarantorDetails.js +5 -0
  53. package/dist/api/types/index.d.ts +1 -0
  54. package/dist/api/types/index.js +1 -0
  55. package/dist/serialization/resources/user/client/requests/CreateInsuranceRequest.d.ts +2 -1
  56. package/dist/serialization/resources/user/client/requests/CreateInsuranceRequest.js +2 -1
  57. package/dist/serialization/types/Billing.d.ts +1 -1
  58. package/dist/serialization/types/Billing.js +1 -0
  59. package/dist/serialization/types/ClientFacingInsurance.d.ts +2 -1
  60. package/dist/serialization/types/ClientFacingInsurance.js +2 -1
  61. package/dist/serialization/types/ClientUserIdConflict.js +1 -1
  62. package/dist/serialization/types/GuarantorDetails.d.ts +17 -0
  63. package/dist/serialization/types/GuarantorDetails.js +38 -0
  64. package/dist/serialization/types/index.d.ts +1 -0
  65. package/dist/serialization/types/index.js +1 -0
  66. package/dist/version.d.ts +1 -1
  67. package/dist/version.js +1 -1
  68. package/package.json +1 -1
  69. package/serialization/resources/user/client/requests/CreateInsuranceRequest.d.ts +2 -1
  70. package/serialization/resources/user/client/requests/CreateInsuranceRequest.js +2 -1
  71. package/serialization/types/Billing.d.ts +1 -1
  72. package/serialization/types/Billing.js +1 -0
  73. package/serialization/types/ClientFacingInsurance.d.ts +2 -1
  74. package/serialization/types/ClientFacingInsurance.js +2 -1
  75. package/serialization/types/ClientUserIdConflict.js +1 -1
  76. package/serialization/types/GuarantorDetails.d.ts +17 -0
  77. package/serialization/types/GuarantorDetails.js +38 -0
  78. package/serialization/types/index.d.ts +1 -0
  79. package/serialization/types/index.js +1 -0
  80. package/version.d.ts +1 -1
  81. package/version.js +1 -1
@@ -1,9 +1,10 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type Billing = "client_bill" | "commercial_insurance" | "patient_bill_passthrough";
4
+ export declare type Billing = "client_bill" | "commercial_insurance" | "patient_bill_passthrough" | "patient_bill";
5
5
  export declare const Billing: {
6
6
  readonly ClientBill: "client_bill";
7
7
  readonly CommercialInsurance: "commercial_insurance";
8
8
  readonly PatientBillPassthrough: "patient_bill_passthrough";
9
+ readonly PatientBill: "patient_bill";
9
10
  };
@@ -8,4 +8,5 @@ exports.Billing = {
8
8
  ClientBill: "client_bill",
9
9
  CommercialInsurance: "commercial_insurance",
10
10
  PatientBillPassthrough: "patient_bill_passthrough",
11
+ PatientBill: "patient_bill",
11
12
  };
@@ -9,5 +9,5 @@ export interface ClientFacingInsurance {
9
9
  insured: Vital.PersonDetailsOutput;
10
10
  company: Vital.CompanyDetails;
11
11
  groupId?: string;
12
- guarantor?: Vital.PersonDetailsOutput;
12
+ guarantor?: Vital.GuarantorDetails;
13
13
  }
@@ -5,5 +5,5 @@ export interface ClientUserIdConflict {
5
5
  errorType: string;
6
6
  errorMessage: string;
7
7
  userId: string;
8
- createdOn: Date;
8
+ createdOn: string;
9
9
  }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vital from "../index";
5
+ export interface GuarantorDetails {
6
+ firstName: string;
7
+ lastName: string;
8
+ address: Vital.Address;
9
+ phoneNumber: string;
10
+ email?: string;
11
+ }
@@ -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 });
@@ -173,6 +173,7 @@ export * from "./GetMarkersResponse";
173
173
  export * from "./GetOrdersResponse";
174
174
  export * from "./GroupKeyColumnExprGroupKey";
175
175
  export * from "./GroupKeyColumnExpr";
176
+ export * from "./GuarantorDetails";
176
177
  export * from "./HttpValidationError";
177
178
  export * from "./HealthInsuranceCreateRequestFrontImage";
178
179
  export * from "./HealthInsuranceCreateRequestBackImage";
@@ -189,6 +189,7 @@ __exportStar(require("./GetMarkersResponse"), exports);
189
189
  __exportStar(require("./GetOrdersResponse"), exports);
190
190
  __exportStar(require("./GroupKeyColumnExprGroupKey"), exports);
191
191
  __exportStar(require("./GroupKeyColumnExpr"), exports);
192
+ __exportStar(require("./GuarantorDetails"), exports);
192
193
  __exportStar(require("./HttpValidationError"), exports);
193
194
  __exportStar(require("./HealthInsuranceCreateRequestFrontImage"), exports);
194
195
  __exportStar(require("./HealthInsuranceCreateRequestBackImage"), exports);
@@ -6,6 +6,7 @@ import * as Vital from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
7
  import { ResponsibleRelationship } from "../../../../types/ResponsibleRelationship";
8
8
  import { VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails } from "../../../../types/VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails";
9
+ import { GuarantorDetails } from "../../../../types/GuarantorDetails";
9
10
  export declare const CreateInsuranceRequest: core.serialization.Schema<serializers.CreateInsuranceRequest.Raw, Vital.CreateInsuranceRequest>;
10
11
  export declare namespace CreateInsuranceRequest {
11
12
  interface Raw {
@@ -14,6 +15,6 @@ export declare namespace CreateInsuranceRequest {
14
15
  group_id?: string | null;
15
16
  relationship: ResponsibleRelationship.Raw;
16
17
  insured: VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.Raw;
17
- guarantor?: VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.Raw | null;
18
+ guarantor?: GuarantorDetails.Raw | null;
18
19
  }
19
20
  }
@@ -30,11 +30,12 @@ exports.CreateInsuranceRequest = void 0;
30
30
  const core = __importStar(require("../../../../../core"));
31
31
  const ResponsibleRelationship_1 = require("../../../../types/ResponsibleRelationship");
32
32
  const VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails_1 = require("../../../../types/VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails");
33
+ const GuarantorDetails_1 = require("../../../../types/GuarantorDetails");
33
34
  exports.CreateInsuranceRequest = core.serialization.object({
34
35
  payorCode: core.serialization.property("payor_code", core.serialization.string()),
35
36
  memberId: core.serialization.property("member_id", core.serialization.string()),
36
37
  groupId: core.serialization.property("group_id", core.serialization.string().optional()),
37
38
  relationship: ResponsibleRelationship_1.ResponsibleRelationship,
38
39
  insured: VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails_1.VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails,
39
- guarantor: VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails_1.VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.optional(),
40
+ guarantor: GuarantorDetails_1.GuarantorDetails.optional(),
40
41
  });
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const Billing: core.serialization.Schema<serializers.Billing.Raw, Vital.Billing>;
8
8
  export declare namespace Billing {
9
- type Raw = "client_bill" | "commercial_insurance" | "patient_bill_passthrough";
9
+ type Raw = "client_bill" | "commercial_insurance" | "patient_bill_passthrough" | "patient_bill";
10
10
  }
@@ -32,4 +32,5 @@ exports.Billing = core.serialization.enum_([
32
32
  "client_bill",
33
33
  "commercial_insurance",
34
34
  "patient_bill_passthrough",
35
+ "patient_bill",
35
36
  ]);
@@ -7,6 +7,7 @@ import * as core from "../../core";
7
7
  import { ResponsibleRelationship } from "./ResponsibleRelationship";
8
8
  import { PersonDetailsOutput } from "./PersonDetailsOutput";
9
9
  import { CompanyDetails } from "./CompanyDetails";
10
+ import { GuarantorDetails } from "./GuarantorDetails";
10
11
  export declare const ClientFacingInsurance: core.serialization.ObjectSchema<serializers.ClientFacingInsurance.Raw, Vital.ClientFacingInsurance>;
11
12
  export declare namespace ClientFacingInsurance {
12
13
  interface Raw {
@@ -16,6 +17,6 @@ export declare namespace ClientFacingInsurance {
16
17
  insured: PersonDetailsOutput.Raw;
17
18
  company: CompanyDetails.Raw;
18
19
  group_id?: string | null;
19
- guarantor?: PersonDetailsOutput.Raw | null;
20
+ guarantor?: GuarantorDetails.Raw | null;
20
21
  }
21
22
  }
@@ -31,6 +31,7 @@ const core = __importStar(require("../../core"));
31
31
  const ResponsibleRelationship_1 = require("./ResponsibleRelationship");
32
32
  const PersonDetailsOutput_1 = require("./PersonDetailsOutput");
33
33
  const CompanyDetails_1 = require("./CompanyDetails");
34
+ const GuarantorDetails_1 = require("./GuarantorDetails");
34
35
  exports.ClientFacingInsurance = core.serialization.object({
35
36
  memberId: core.serialization.property("member_id", core.serialization.string()),
36
37
  payorCode: core.serialization.property("payor_code", core.serialization.string()),
@@ -38,5 +39,5 @@ exports.ClientFacingInsurance = core.serialization.object({
38
39
  insured: PersonDetailsOutput_1.PersonDetailsOutput,
39
40
  company: CompanyDetails_1.CompanyDetails,
40
41
  groupId: core.serialization.property("group_id", core.serialization.string().optional()),
41
- guarantor: PersonDetailsOutput_1.PersonDetailsOutput.optional(),
42
+ guarantor: GuarantorDetails_1.GuarantorDetails.optional(),
42
43
  });
@@ -32,5 +32,5 @@ exports.ClientUserIdConflict = core.serialization.object({
32
32
  errorType: core.serialization.property("error_type", core.serialization.string()),
33
33
  errorMessage: core.serialization.property("error_message", core.serialization.string()),
34
34
  userId: core.serialization.property("user_id", core.serialization.string()),
35
- createdOn: core.serialization.property("created_on", core.serialization.date()),
35
+ createdOn: core.serialization.property("created_on", core.serialization.string()),
36
36
  });
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vital from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { Address } from "./Address";
8
+ export declare const GuarantorDetails: core.serialization.ObjectSchema<serializers.GuarantorDetails.Raw, Vital.GuarantorDetails>;
9
+ export declare namespace GuarantorDetails {
10
+ interface Raw {
11
+ first_name: string;
12
+ last_name: string;
13
+ address: Address.Raw;
14
+ phone_number: string;
15
+ email?: string | null;
16
+ }
17
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.GuarantorDetails = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const Address_1 = require("./Address");
32
+ exports.GuarantorDetails = core.serialization.object({
33
+ firstName: core.serialization.property("first_name", core.serialization.string()),
34
+ lastName: core.serialization.property("last_name", core.serialization.string()),
35
+ address: Address_1.Address,
36
+ phoneNumber: core.serialization.property("phone_number", core.serialization.string()),
37
+ email: core.serialization.string().optional(),
38
+ });
@@ -173,6 +173,7 @@ export * from "./GetMarkersResponse";
173
173
  export * from "./GetOrdersResponse";
174
174
  export * from "./GroupKeyColumnExprGroupKey";
175
175
  export * from "./GroupKeyColumnExpr";
176
+ export * from "./GuarantorDetails";
176
177
  export * from "./HttpValidationError";
177
178
  export * from "./HealthInsuranceCreateRequestFrontImage";
178
179
  export * from "./HealthInsuranceCreateRequestBackImage";
@@ -189,6 +189,7 @@ __exportStar(require("./GetMarkersResponse"), exports);
189
189
  __exportStar(require("./GetOrdersResponse"), exports);
190
190
  __exportStar(require("./GroupKeyColumnExprGroupKey"), exports);
191
191
  __exportStar(require("./GroupKeyColumnExpr"), exports);
192
+ __exportStar(require("./GuarantorDetails"), exports);
192
193
  __exportStar(require("./HttpValidationError"), exports);
193
194
  __exportStar(require("./HealthInsuranceCreateRequestFrontImage"), exports);
194
195
  __exportStar(require("./HealthInsuranceCreateRequestBackImage"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.1.91";
1
+ export declare const SDK_VERSION = "3.1.93";
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.91";
4
+ exports.SDK_VERSION = "3.1.93";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-node",
3
- "version": "3.1.91",
3
+ "version": "3.1.93",
4
4
  "private": false,
5
5
  "repository": "https://github.com/tryVital/vital-node",
6
6
  "main": "./index.js",
@@ -6,6 +6,7 @@ import * as Vital from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
7
  import { ResponsibleRelationship } from "../../../../types/ResponsibleRelationship";
8
8
  import { VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails } from "../../../../types/VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails";
9
+ import { GuarantorDetails } from "../../../../types/GuarantorDetails";
9
10
  export declare const CreateInsuranceRequest: core.serialization.Schema<serializers.CreateInsuranceRequest.Raw, Vital.CreateInsuranceRequest>;
10
11
  export declare namespace CreateInsuranceRequest {
11
12
  interface Raw {
@@ -14,6 +15,6 @@ export declare namespace CreateInsuranceRequest {
14
15
  group_id?: string | null;
15
16
  relationship: ResponsibleRelationship.Raw;
16
17
  insured: VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.Raw;
17
- guarantor?: VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.Raw | null;
18
+ guarantor?: GuarantorDetails.Raw | null;
18
19
  }
19
20
  }
@@ -30,11 +30,12 @@ exports.CreateInsuranceRequest = void 0;
30
30
  const core = __importStar(require("../../../../../core"));
31
31
  const ResponsibleRelationship_1 = require("../../../../types/ResponsibleRelationship");
32
32
  const VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails_1 = require("../../../../types/VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails");
33
+ const GuarantorDetails_1 = require("../../../../types/GuarantorDetails");
33
34
  exports.CreateInsuranceRequest = core.serialization.object({
34
35
  payorCode: core.serialization.property("payor_code", core.serialization.string()),
35
36
  memberId: core.serialization.property("member_id", core.serialization.string()),
36
37
  groupId: core.serialization.property("group_id", core.serialization.string().optional()),
37
38
  relationship: ResponsibleRelationship_1.ResponsibleRelationship,
38
39
  insured: VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails_1.VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails,
39
- guarantor: VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails_1.VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails.optional(),
40
+ guarantor: GuarantorDetails_1.GuarantorDetails.optional(),
40
41
  });
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const Billing: core.serialization.Schema<serializers.Billing.Raw, Vital.Billing>;
8
8
  export declare namespace Billing {
9
- type Raw = "client_bill" | "commercial_insurance" | "patient_bill_passthrough";
9
+ type Raw = "client_bill" | "commercial_insurance" | "patient_bill_passthrough" | "patient_bill";
10
10
  }
@@ -32,4 +32,5 @@ exports.Billing = core.serialization.enum_([
32
32
  "client_bill",
33
33
  "commercial_insurance",
34
34
  "patient_bill_passthrough",
35
+ "patient_bill",
35
36
  ]);
@@ -7,6 +7,7 @@ import * as core from "../../core";
7
7
  import { ResponsibleRelationship } from "./ResponsibleRelationship";
8
8
  import { PersonDetailsOutput } from "./PersonDetailsOutput";
9
9
  import { CompanyDetails } from "./CompanyDetails";
10
+ import { GuarantorDetails } from "./GuarantorDetails";
10
11
  export declare const ClientFacingInsurance: core.serialization.ObjectSchema<serializers.ClientFacingInsurance.Raw, Vital.ClientFacingInsurance>;
11
12
  export declare namespace ClientFacingInsurance {
12
13
  interface Raw {
@@ -16,6 +17,6 @@ export declare namespace ClientFacingInsurance {
16
17
  insured: PersonDetailsOutput.Raw;
17
18
  company: CompanyDetails.Raw;
18
19
  group_id?: string | null;
19
- guarantor?: PersonDetailsOutput.Raw | null;
20
+ guarantor?: GuarantorDetails.Raw | null;
20
21
  }
21
22
  }
@@ -31,6 +31,7 @@ const core = __importStar(require("../../core"));
31
31
  const ResponsibleRelationship_1 = require("./ResponsibleRelationship");
32
32
  const PersonDetailsOutput_1 = require("./PersonDetailsOutput");
33
33
  const CompanyDetails_1 = require("./CompanyDetails");
34
+ const GuarantorDetails_1 = require("./GuarantorDetails");
34
35
  exports.ClientFacingInsurance = core.serialization.object({
35
36
  memberId: core.serialization.property("member_id", core.serialization.string()),
36
37
  payorCode: core.serialization.property("payor_code", core.serialization.string()),
@@ -38,5 +39,5 @@ exports.ClientFacingInsurance = core.serialization.object({
38
39
  insured: PersonDetailsOutput_1.PersonDetailsOutput,
39
40
  company: CompanyDetails_1.CompanyDetails,
40
41
  groupId: core.serialization.property("group_id", core.serialization.string().optional()),
41
- guarantor: PersonDetailsOutput_1.PersonDetailsOutput.optional(),
42
+ guarantor: GuarantorDetails_1.GuarantorDetails.optional(),
42
43
  });
@@ -32,5 +32,5 @@ exports.ClientUserIdConflict = core.serialization.object({
32
32
  errorType: core.serialization.property("error_type", core.serialization.string()),
33
33
  errorMessage: core.serialization.property("error_message", core.serialization.string()),
34
34
  userId: core.serialization.property("user_id", core.serialization.string()),
35
- createdOn: core.serialization.property("created_on", core.serialization.date()),
35
+ createdOn: core.serialization.property("created_on", core.serialization.string()),
36
36
  });
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vital from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { Address } from "./Address";
8
+ export declare const GuarantorDetails: core.serialization.ObjectSchema<serializers.GuarantorDetails.Raw, Vital.GuarantorDetails>;
9
+ export declare namespace GuarantorDetails {
10
+ interface Raw {
11
+ first_name: string;
12
+ last_name: string;
13
+ address: Address.Raw;
14
+ phone_number: string;
15
+ email?: string | null;
16
+ }
17
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.GuarantorDetails = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const Address_1 = require("./Address");
32
+ exports.GuarantorDetails = core.serialization.object({
33
+ firstName: core.serialization.property("first_name", core.serialization.string()),
34
+ lastName: core.serialization.property("last_name", core.serialization.string()),
35
+ address: Address_1.Address,
36
+ phoneNumber: core.serialization.property("phone_number", core.serialization.string()),
37
+ email: core.serialization.string().optional(),
38
+ });
@@ -173,6 +173,7 @@ export * from "./GetMarkersResponse";
173
173
  export * from "./GetOrdersResponse";
174
174
  export * from "./GroupKeyColumnExprGroupKey";
175
175
  export * from "./GroupKeyColumnExpr";
176
+ export * from "./GuarantorDetails";
176
177
  export * from "./HttpValidationError";
177
178
  export * from "./HealthInsuranceCreateRequestFrontImage";
178
179
  export * from "./HealthInsuranceCreateRequestBackImage";
@@ -189,6 +189,7 @@ __exportStar(require("./GetMarkersResponse"), exports);
189
189
  __exportStar(require("./GetOrdersResponse"), exports);
190
190
  __exportStar(require("./GroupKeyColumnExprGroupKey"), exports);
191
191
  __exportStar(require("./GroupKeyColumnExpr"), exports);
192
+ __exportStar(require("./GuarantorDetails"), exports);
192
193
  __exportStar(require("./HttpValidationError"), exports);
193
194
  __exportStar(require("./HealthInsuranceCreateRequestFrontImage"), exports);
194
195
  __exportStar(require("./HealthInsuranceCreateRequestBackImage"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.1.91";
1
+ export declare const SDK_VERSION = "3.1.93";
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.91";
4
+ exports.SDK_VERSION = "3.1.93";