@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.
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/aggregate/client/Client.js +1 -1
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +2 -2
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.js +34 -34
- package/api/resources/link/client/Client.js +14 -14
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.js +1 -1
- package/api/resources/profile/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +1 -1
- package/api/resources/sleep/client/Client.js +4 -4
- package/api/resources/team/client/Client.js +7 -7
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +16 -16
- package/api/resources/user/client/requests/CreateInsuranceRequest.d.ts +1 -1
- package/api/resources/vitals/client/Client.js +56 -56
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/Billing.d.ts +2 -1
- package/api/types/Billing.js +1 -0
- package/api/types/ClientFacingInsurance.d.ts +1 -1
- package/api/types/ClientUserIdConflict.d.ts +1 -1
- package/api/types/GuarantorDetails.d.ts +11 -0
- package/api/types/GuarantorDetails.js +5 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.js +1 -1
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/insurance/client/Client.js +2 -2
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.js +34 -34
- package/dist/api/resources/link/client/Client.js +14 -14
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
- package/dist/api/resources/profile/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +1 -1
- package/dist/api/resources/sleep/client/Client.js +4 -4
- package/dist/api/resources/team/client/Client.js +7 -7
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +16 -16
- package/dist/api/resources/user/client/requests/CreateInsuranceRequest.d.ts +1 -1
- package/dist/api/resources/vitals/client/Client.js +56 -56
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/Billing.d.ts +2 -1
- package/dist/api/types/Billing.js +1 -0
- package/dist/api/types/ClientFacingInsurance.d.ts +1 -1
- package/dist/api/types/ClientUserIdConflict.d.ts +1 -1
- package/dist/api/types/GuarantorDetails.d.ts +11 -0
- package/dist/api/types/GuarantorDetails.js +5 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/resources/user/client/requests/CreateInsuranceRequest.d.ts +2 -1
- package/dist/serialization/resources/user/client/requests/CreateInsuranceRequest.js +2 -1
- package/dist/serialization/types/Billing.d.ts +1 -1
- package/dist/serialization/types/Billing.js +1 -0
- package/dist/serialization/types/ClientFacingInsurance.d.ts +2 -1
- package/dist/serialization/types/ClientFacingInsurance.js +2 -1
- package/dist/serialization/types/ClientUserIdConflict.js +1 -1
- package/dist/serialization/types/GuarantorDetails.d.ts +17 -0
- package/dist/serialization/types/GuarantorDetails.js +38 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/user/client/requests/CreateInsuranceRequest.d.ts +2 -1
- package/serialization/resources/user/client/requests/CreateInsuranceRequest.js +2 -1
- package/serialization/types/Billing.d.ts +1 -1
- package/serialization/types/Billing.js +1 -0
- package/serialization/types/ClientFacingInsurance.d.ts +2 -1
- package/serialization/types/ClientFacingInsurance.js +2 -1
- package/serialization/types/ClientUserIdConflict.js +1 -1
- package/serialization/types/GuarantorDetails.d.ts +17 -0
- package/serialization/types/GuarantorDetails.js +38 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/version.d.ts +1 -1
- 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
|
};
|
@@ -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
|
+
}
|
@@ -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";
|
package/dist/api/types/index.js
CHANGED
@@ -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?:
|
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:
|
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
|
}
|
@@ -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?:
|
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:
|
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.
|
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.
|
1
|
+
export declare const SDK_VERSION = "3.1.93";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
@@ -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?:
|
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:
|
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
|
}
|
@@ -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?:
|
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:
|
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.
|
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.
|
1
|
+
export declare const SDK_VERSION = "3.1.93";
|
package/version.js
CHANGED