@tryvital/vital-node 3.1.45 → 3.1.47
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/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 +27 -27
- package/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -1
- 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/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -1
- package/api/resources/user/client/Client.js +12 -12
- package/api/resources/vitals/client/Client.js +52 -52
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ClientFacingOrder.d.ts +1 -1
- package/api/types/{PatientAddressCompatibleOutput.d.ts → PatientAddressCompatible.d.ts} +1 -1
- package/api/types/Question.d.ts +1 -0
- package/api/types/index.d.ts +1 -2
- package/api/types/index.js +1 -2
- package/dist/api/resources/activity/client/Client.js +2 -2
- 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 +27 -27
- package/dist/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -1
- 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/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -1
- package/dist/api/resources/user/client/Client.js +12 -12
- package/dist/api/resources/vitals/client/Client.js +52 -52
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ClientFacingOrder.d.ts +1 -1
- package/dist/api/types/{PatientAddressCompatibleOutput.d.ts → PatientAddressCompatible.d.ts} +1 -1
- package/dist/api/types/Question.d.ts +1 -0
- package/dist/api/types/index.d.ts +1 -2
- package/dist/api/types/index.js +1 -2
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -2
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +2 -2
- package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +2 -2
- package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +2 -2
- package/dist/serialization/types/ClientFacingOrder.d.ts +2 -2
- package/dist/serialization/types/ClientFacingOrder.js +2 -2
- package/dist/serialization/types/{PatientAddressCompatibleOutput.d.ts → PatientAddressCompatible.d.ts} +2 -2
- package/dist/serialization/types/{PatientAddressCompatibleOutput.js → PatientAddressCompatible.js} +2 -2
- package/dist/serialization/types/Question.d.ts +1 -0
- package/dist/serialization/types/Question.js +1 -0
- package/dist/serialization/types/index.d.ts +1 -2
- package/dist/serialization/types/index.js +1 -2
- package/package.json +1 -1
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -2
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +2 -2
- package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +2 -2
- package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +2 -2
- package/serialization/types/ClientFacingOrder.d.ts +2 -2
- package/serialization/types/ClientFacingOrder.js +2 -2
- package/serialization/types/{PatientAddressCompatibleOutput.d.ts → PatientAddressCompatible.d.ts} +2 -2
- package/serialization/types/{PatientAddressCompatibleOutput.js → PatientAddressCompatible.js} +2 -2
- package/serialization/types/Question.d.ts +1 -0
- package/serialization/types/Question.js +1 -0
- package/serialization/types/index.d.ts +1 -2
- package/serialization/types/index.js +1 -2
- package/api/types/PatientAddressCompatibleInput.d.ts +0 -13
- package/dist/api/types/PatientAddressCompatibleInput.d.ts +0 -13
- package/dist/api/types/PatientAddressCompatibleInput.js +0 -5
- package/dist/api/types/PatientAddressCompatibleOutput.js +0 -5
- package/dist/serialization/types/PatientAddressCompatibleInput.d.ts +0 -19
- package/dist/serialization/types/PatientAddressCompatibleInput.js +0 -40
- package/serialization/types/PatientAddressCompatibleInput.d.ts +0 -19
- package/serialization/types/PatientAddressCompatibleInput.js +0 -40
- /package/api/types/{PatientAddressCompatibleInput.js → PatientAddressCompatible.js} +0 -0
- /package/{api/types/PatientAddressCompatibleOutput.js → dist/api/types/PatientAddressCompatible.js} +0 -0
package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts
CHANGED
@@ -9,7 +9,7 @@ import { HealthInsuranceCreateRequest } from "../../../../types/HealthInsuranceC
|
|
9
9
|
import { Consent } from "../../../../types/Consent";
|
10
10
|
import { AoEAnswer } from "../../../../types/AoEAnswer";
|
11
11
|
import { PatientDetails } from "../../../../types/PatientDetails";
|
12
|
-
import {
|
12
|
+
import { PatientAddressCompatible } from "../../../../types/PatientAddressCompatible";
|
13
13
|
export declare const CreateOrderRequestCompatible: core.serialization.Schema<serializers.CreateOrderRequestCompatible.Raw, Vital.CreateOrderRequestCompatible>;
|
14
14
|
export declare namespace CreateOrderRequestCompatible {
|
15
15
|
interface Raw {
|
@@ -23,6 +23,6 @@ export declare namespace CreateOrderRequestCompatible {
|
|
23
23
|
aoe_answers?: AoEAnswer.Raw[] | null;
|
24
24
|
passthrough?: string | null;
|
25
25
|
patient_details: PatientDetails.Raw;
|
26
|
-
patient_address:
|
26
|
+
patient_address: PatientAddressCompatible.Raw;
|
27
27
|
}
|
28
28
|
}
|
package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js
CHANGED
@@ -33,7 +33,7 @@ const HealthInsuranceCreateRequest_1 = require("../../../../types/HealthInsuranc
|
|
33
33
|
const Consent_1 = require("../../../../types/Consent");
|
34
34
|
const AoEAnswer_1 = require("../../../../types/AoEAnswer");
|
35
35
|
const PatientDetails_1 = require("../../../../types/PatientDetails");
|
36
|
-
const
|
36
|
+
const PatientAddressCompatible_1 = require("../../../../types/PatientAddressCompatible");
|
37
37
|
exports.CreateOrderRequestCompatible = core.serialization.object({
|
38
38
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
39
39
|
labTestId: core.serialization.property("lab_test_id", core.serialization.string()),
|
@@ -45,5 +45,5 @@ exports.CreateOrderRequestCompatible = core.serialization.object({
|
|
45
45
|
aoeAnswers: core.serialization.property("aoe_answers", core.serialization.list(AoEAnswer_1.AoEAnswer).optional()),
|
46
46
|
passthrough: core.serialization.string().optional(),
|
47
47
|
patientDetails: core.serialization.property("patient_details", PatientDetails_1.PatientDetails),
|
48
|
-
patientAddress: core.serialization.property("patient_address",
|
48
|
+
patientAddress: core.serialization.property("patient_address", PatientAddressCompatible_1.PatientAddressCompatible),
|
49
49
|
});
|
@@ -5,7 +5,7 @@ import * as serializers from "../../../..";
|
|
5
5
|
import * as Vital from "../../../../../api";
|
6
6
|
import * as core from "../../../../../core";
|
7
7
|
import { PatientDetails } from "../../../../types/PatientDetails";
|
8
|
-
import {
|
8
|
+
import { PatientAddressCompatible } from "../../../../types/PatientAddressCompatible";
|
9
9
|
import { PhysicianCreateRequestBase } from "../../../../types/PhysicianCreateRequestBase";
|
10
10
|
import { HealthInsuranceCreateRequest } from "../../../../types/HealthInsuranceCreateRequest";
|
11
11
|
import { Consent } from "../../../../types/Consent";
|
@@ -15,7 +15,7 @@ export declare namespace RegisterTestkitRequest {
|
|
15
15
|
user_id: string;
|
16
16
|
sample_id: string;
|
17
17
|
patient_details: PatientDetails.Raw;
|
18
|
-
patient_address:
|
18
|
+
patient_address: PatientAddressCompatible.Raw;
|
19
19
|
physician?: PhysicianCreateRequestBase.Raw | null;
|
20
20
|
health_insurance?: HealthInsuranceCreateRequest.Raw | null;
|
21
21
|
consents?: Consent.Raw[] | null;
|
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.RegisterTestkitRequest = void 0;
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
31
31
|
const PatientDetails_1 = require("../../../../types/PatientDetails");
|
32
|
-
const
|
32
|
+
const PatientAddressCompatible_1 = require("../../../../types/PatientAddressCompatible");
|
33
33
|
const PhysicianCreateRequestBase_1 = require("../../../../types/PhysicianCreateRequestBase");
|
34
34
|
const HealthInsuranceCreateRequest_1 = require("../../../../types/HealthInsuranceCreateRequest");
|
35
35
|
const Consent_1 = require("../../../../types/Consent");
|
@@ -37,7 +37,7 @@ exports.RegisterTestkitRequest = core.serialization.object({
|
|
37
37
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
38
38
|
sampleId: core.serialization.property("sample_id", core.serialization.string()),
|
39
39
|
patientDetails: core.serialization.property("patient_details", PatientDetails_1.PatientDetails),
|
40
|
-
patientAddress: core.serialization.property("patient_address",
|
40
|
+
patientAddress: core.serialization.property("patient_address", PatientAddressCompatible_1.PatientAddressCompatible),
|
41
41
|
physician: PhysicianCreateRequestBase_1.PhysicianCreateRequestBase.optional(),
|
42
42
|
healthInsurance: core.serialization.property("health_insurance", HealthInsuranceCreateRequest_1.HealthInsuranceCreateRequest.optional()),
|
43
43
|
consents: core.serialization.list(Consent_1.Consent).optional(),
|
@@ -5,7 +5,7 @@ import * as serializers from "..";
|
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { ClientFacingPatientDetailsCompatible } from "./ClientFacingPatientDetailsCompatible";
|
8
|
-
import {
|
8
|
+
import { PatientAddressCompatible } from "./PatientAddressCompatible";
|
9
9
|
import { ClientFacingLabTest } from "./ClientFacingLabTest";
|
10
10
|
import { ClientFacingOrderDetails } from "./ClientFacingOrderDetails";
|
11
11
|
import { ClientFacingOrderEvent } from "./ClientFacingOrderEvent";
|
@@ -19,7 +19,7 @@ export declare namespace ClientFacingOrder {
|
|
19
19
|
id: string;
|
20
20
|
team_id: string;
|
21
21
|
patient_details?: ClientFacingPatientDetailsCompatible.Raw | null;
|
22
|
-
patient_address?:
|
22
|
+
patient_address?: PatientAddressCompatible.Raw | null;
|
23
23
|
lab_test: ClientFacingLabTest.Raw;
|
24
24
|
details: ClientFacingOrderDetails.Raw;
|
25
25
|
sample_id?: string | null;
|
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ClientFacingOrder = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const ClientFacingPatientDetailsCompatible_1 = require("./ClientFacingPatientDetailsCompatible");
|
32
|
-
const
|
32
|
+
const PatientAddressCompatible_1 = require("./PatientAddressCompatible");
|
33
33
|
const ClientFacingLabTest_1 = require("./ClientFacingLabTest");
|
34
34
|
const ClientFacingOrderDetails_1 = require("./ClientFacingOrderDetails");
|
35
35
|
const ClientFacingOrderEvent_1 = require("./ClientFacingOrderEvent");
|
@@ -41,7 +41,7 @@ exports.ClientFacingOrder = core.serialization.object({
|
|
41
41
|
id: core.serialization.string(),
|
42
42
|
teamId: core.serialization.property("team_id", core.serialization.string()),
|
43
43
|
patientDetails: core.serialization.property("patient_details", ClientFacingPatientDetailsCompatible_1.ClientFacingPatientDetailsCompatible.optional()),
|
44
|
-
patientAddress: core.serialization.property("patient_address",
|
44
|
+
patientAddress: core.serialization.property("patient_address", PatientAddressCompatible_1.PatientAddressCompatible.optional()),
|
45
45
|
labTest: core.serialization.property("lab_test", ClientFacingLabTest_1.ClientFacingLabTest),
|
46
46
|
details: ClientFacingOrderDetails_1.ClientFacingOrderDetails,
|
47
47
|
sampleId: core.serialization.property("sample_id", core.serialization.string().optional()),
|
@@ -4,8 +4,8 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
-
export declare const
|
8
|
-
export declare namespace
|
7
|
+
export declare const PatientAddressCompatible: core.serialization.ObjectSchema<serializers.PatientAddressCompatible.Raw, Vital.PatientAddressCompatible>;
|
8
|
+
export declare namespace PatientAddressCompatible {
|
9
9
|
interface Raw {
|
10
10
|
receiver_name?: string | null;
|
11
11
|
first_line: string;
|
package/dist/serialization/types/{PatientAddressCompatibleOutput.js → PatientAddressCompatible.js}
RENAMED
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
26
|
return result;
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.
|
29
|
+
exports.PatientAddressCompatible = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
exports.
|
31
|
+
exports.PatientAddressCompatible = core.serialization.object({
|
32
32
|
receiverName: core.serialization.property("receiver_name", core.serialization.string().optional()),
|
33
33
|
firstLine: core.serialization.property("first_line", core.serialization.string()),
|
34
34
|
secondLine: core.serialization.property("second_line", core.serialization.string().optional()),
|
@@ -178,8 +178,7 @@ export * from "./PscAreaInfoDetails";
|
|
178
178
|
export * from "./PscInfo";
|
179
179
|
export * from "./PaginatedUsersResponse";
|
180
180
|
export * from "./PasswordProviders";
|
181
|
-
export * from "./
|
182
|
-
export * from "./PatientAddressCompatibleOutput";
|
181
|
+
export * from "./PatientAddressCompatible";
|
183
182
|
export * from "./PatientDetails";
|
184
183
|
export * from "./PersonDetails";
|
185
184
|
export * from "./PhlebotomyAreaInfo";
|
@@ -194,8 +194,7 @@ __exportStar(require("./PscAreaInfoDetails"), exports);
|
|
194
194
|
__exportStar(require("./PscInfo"), exports);
|
195
195
|
__exportStar(require("./PaginatedUsersResponse"), exports);
|
196
196
|
__exportStar(require("./PasswordProviders"), exports);
|
197
|
-
__exportStar(require("./
|
198
|
-
__exportStar(require("./PatientAddressCompatibleOutput"), exports);
|
197
|
+
__exportStar(require("./PatientAddressCompatible"), exports);
|
199
198
|
__exportStar(require("./PatientDetails"), exports);
|
200
199
|
__exportStar(require("./PersonDetails"), exports);
|
201
200
|
__exportStar(require("./PhlebotomyAreaInfo"), exports);
|
package/package.json
CHANGED
@@ -9,7 +9,7 @@ import { HealthInsuranceCreateRequest } from "../../../../types/HealthInsuranceC
|
|
9
9
|
import { Consent } from "../../../../types/Consent";
|
10
10
|
import { AoEAnswer } from "../../../../types/AoEAnswer";
|
11
11
|
import { PatientDetails } from "../../../../types/PatientDetails";
|
12
|
-
import {
|
12
|
+
import { PatientAddressCompatible } from "../../../../types/PatientAddressCompatible";
|
13
13
|
export declare const CreateOrderRequestCompatible: core.serialization.Schema<serializers.CreateOrderRequestCompatible.Raw, Vital.CreateOrderRequestCompatible>;
|
14
14
|
export declare namespace CreateOrderRequestCompatible {
|
15
15
|
interface Raw {
|
@@ -23,6 +23,6 @@ export declare namespace CreateOrderRequestCompatible {
|
|
23
23
|
aoe_answers?: AoEAnswer.Raw[] | null;
|
24
24
|
passthrough?: string | null;
|
25
25
|
patient_details: PatientDetails.Raw;
|
26
|
-
patient_address:
|
26
|
+
patient_address: PatientAddressCompatible.Raw;
|
27
27
|
}
|
28
28
|
}
|
@@ -33,7 +33,7 @@ const HealthInsuranceCreateRequest_1 = require("../../../../types/HealthInsuranc
|
|
33
33
|
const Consent_1 = require("../../../../types/Consent");
|
34
34
|
const AoEAnswer_1 = require("../../../../types/AoEAnswer");
|
35
35
|
const PatientDetails_1 = require("../../../../types/PatientDetails");
|
36
|
-
const
|
36
|
+
const PatientAddressCompatible_1 = require("../../../../types/PatientAddressCompatible");
|
37
37
|
exports.CreateOrderRequestCompatible = core.serialization.object({
|
38
38
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
39
39
|
labTestId: core.serialization.property("lab_test_id", core.serialization.string()),
|
@@ -45,5 +45,5 @@ exports.CreateOrderRequestCompatible = core.serialization.object({
|
|
45
45
|
aoeAnswers: core.serialization.property("aoe_answers", core.serialization.list(AoEAnswer_1.AoEAnswer).optional()),
|
46
46
|
passthrough: core.serialization.string().optional(),
|
47
47
|
patientDetails: core.serialization.property("patient_details", PatientDetails_1.PatientDetails),
|
48
|
-
patientAddress: core.serialization.property("patient_address",
|
48
|
+
patientAddress: core.serialization.property("patient_address", PatientAddressCompatible_1.PatientAddressCompatible),
|
49
49
|
});
|
@@ -5,7 +5,7 @@ import * as serializers from "../../../..";
|
|
5
5
|
import * as Vital from "../../../../../api";
|
6
6
|
import * as core from "../../../../../core";
|
7
7
|
import { PatientDetails } from "../../../../types/PatientDetails";
|
8
|
-
import {
|
8
|
+
import { PatientAddressCompatible } from "../../../../types/PatientAddressCompatible";
|
9
9
|
import { PhysicianCreateRequestBase } from "../../../../types/PhysicianCreateRequestBase";
|
10
10
|
import { HealthInsuranceCreateRequest } from "../../../../types/HealthInsuranceCreateRequest";
|
11
11
|
import { Consent } from "../../../../types/Consent";
|
@@ -15,7 +15,7 @@ export declare namespace RegisterTestkitRequest {
|
|
15
15
|
user_id: string;
|
16
16
|
sample_id: string;
|
17
17
|
patient_details: PatientDetails.Raw;
|
18
|
-
patient_address:
|
18
|
+
patient_address: PatientAddressCompatible.Raw;
|
19
19
|
physician?: PhysicianCreateRequestBase.Raw | null;
|
20
20
|
health_insurance?: HealthInsuranceCreateRequest.Raw | null;
|
21
21
|
consents?: Consent.Raw[] | null;
|
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.RegisterTestkitRequest = void 0;
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
31
31
|
const PatientDetails_1 = require("../../../../types/PatientDetails");
|
32
|
-
const
|
32
|
+
const PatientAddressCompatible_1 = require("../../../../types/PatientAddressCompatible");
|
33
33
|
const PhysicianCreateRequestBase_1 = require("../../../../types/PhysicianCreateRequestBase");
|
34
34
|
const HealthInsuranceCreateRequest_1 = require("../../../../types/HealthInsuranceCreateRequest");
|
35
35
|
const Consent_1 = require("../../../../types/Consent");
|
@@ -37,7 +37,7 @@ exports.RegisterTestkitRequest = core.serialization.object({
|
|
37
37
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
38
38
|
sampleId: core.serialization.property("sample_id", core.serialization.string()),
|
39
39
|
patientDetails: core.serialization.property("patient_details", PatientDetails_1.PatientDetails),
|
40
|
-
patientAddress: core.serialization.property("patient_address",
|
40
|
+
patientAddress: core.serialization.property("patient_address", PatientAddressCompatible_1.PatientAddressCompatible),
|
41
41
|
physician: PhysicianCreateRequestBase_1.PhysicianCreateRequestBase.optional(),
|
42
42
|
healthInsurance: core.serialization.property("health_insurance", HealthInsuranceCreateRequest_1.HealthInsuranceCreateRequest.optional()),
|
43
43
|
consents: core.serialization.list(Consent_1.Consent).optional(),
|
@@ -5,7 +5,7 @@ import * as serializers from "..";
|
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { ClientFacingPatientDetailsCompatible } from "./ClientFacingPatientDetailsCompatible";
|
8
|
-
import {
|
8
|
+
import { PatientAddressCompatible } from "./PatientAddressCompatible";
|
9
9
|
import { ClientFacingLabTest } from "./ClientFacingLabTest";
|
10
10
|
import { ClientFacingOrderDetails } from "./ClientFacingOrderDetails";
|
11
11
|
import { ClientFacingOrderEvent } from "./ClientFacingOrderEvent";
|
@@ -19,7 +19,7 @@ export declare namespace ClientFacingOrder {
|
|
19
19
|
id: string;
|
20
20
|
team_id: string;
|
21
21
|
patient_details?: ClientFacingPatientDetailsCompatible.Raw | null;
|
22
|
-
patient_address?:
|
22
|
+
patient_address?: PatientAddressCompatible.Raw | null;
|
23
23
|
lab_test: ClientFacingLabTest.Raw;
|
24
24
|
details: ClientFacingOrderDetails.Raw;
|
25
25
|
sample_id?: string | null;
|
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ClientFacingOrder = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const ClientFacingPatientDetailsCompatible_1 = require("./ClientFacingPatientDetailsCompatible");
|
32
|
-
const
|
32
|
+
const PatientAddressCompatible_1 = require("./PatientAddressCompatible");
|
33
33
|
const ClientFacingLabTest_1 = require("./ClientFacingLabTest");
|
34
34
|
const ClientFacingOrderDetails_1 = require("./ClientFacingOrderDetails");
|
35
35
|
const ClientFacingOrderEvent_1 = require("./ClientFacingOrderEvent");
|
@@ -41,7 +41,7 @@ exports.ClientFacingOrder = core.serialization.object({
|
|
41
41
|
id: core.serialization.string(),
|
42
42
|
teamId: core.serialization.property("team_id", core.serialization.string()),
|
43
43
|
patientDetails: core.serialization.property("patient_details", ClientFacingPatientDetailsCompatible_1.ClientFacingPatientDetailsCompatible.optional()),
|
44
|
-
patientAddress: core.serialization.property("patient_address",
|
44
|
+
patientAddress: core.serialization.property("patient_address", PatientAddressCompatible_1.PatientAddressCompatible.optional()),
|
45
45
|
labTest: core.serialization.property("lab_test", ClientFacingLabTest_1.ClientFacingLabTest),
|
46
46
|
details: ClientFacingOrderDetails_1.ClientFacingOrderDetails,
|
47
47
|
sampleId: core.serialization.property("sample_id", core.serialization.string().optional()),
|
package/serialization/types/{PatientAddressCompatibleOutput.d.ts → PatientAddressCompatible.d.ts}
RENAMED
@@ -4,8 +4,8 @@
|
|
4
4
|
import * as serializers from "..";
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
|
-
export declare const
|
8
|
-
export declare namespace
|
7
|
+
export declare const PatientAddressCompatible: core.serialization.ObjectSchema<serializers.PatientAddressCompatible.Raw, Vital.PatientAddressCompatible>;
|
8
|
+
export declare namespace PatientAddressCompatible {
|
9
9
|
interface Raw {
|
10
10
|
receiver_name?: string | null;
|
11
11
|
first_line: string;
|
package/serialization/types/{PatientAddressCompatibleOutput.js → PatientAddressCompatible.js}
RENAMED
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
26
|
return result;
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.
|
29
|
+
exports.PatientAddressCompatible = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
exports.
|
31
|
+
exports.PatientAddressCompatible = core.serialization.object({
|
32
32
|
receiverName: core.serialization.property("receiver_name", core.serialization.string().optional()),
|
33
33
|
firstLine: core.serialization.property("first_line", core.serialization.string()),
|
34
34
|
secondLine: core.serialization.property("second_line", core.serialization.string().optional()),
|
@@ -178,8 +178,7 @@ export * from "./PscAreaInfoDetails";
|
|
178
178
|
export * from "./PscInfo";
|
179
179
|
export * from "./PaginatedUsersResponse";
|
180
180
|
export * from "./PasswordProviders";
|
181
|
-
export * from "./
|
182
|
-
export * from "./PatientAddressCompatibleOutput";
|
181
|
+
export * from "./PatientAddressCompatible";
|
183
182
|
export * from "./PatientDetails";
|
184
183
|
export * from "./PersonDetails";
|
185
184
|
export * from "./PhlebotomyAreaInfo";
|
@@ -194,8 +194,7 @@ __exportStar(require("./PscAreaInfoDetails"), exports);
|
|
194
194
|
__exportStar(require("./PscInfo"), exports);
|
195
195
|
__exportStar(require("./PaginatedUsersResponse"), exports);
|
196
196
|
__exportStar(require("./PasswordProviders"), exports);
|
197
|
-
__exportStar(require("./
|
198
|
-
__exportStar(require("./PatientAddressCompatibleOutput"), exports);
|
197
|
+
__exportStar(require("./PatientAddressCompatible"), exports);
|
199
198
|
__exportStar(require("./PatientDetails"), exports);
|
200
199
|
__exportStar(require("./PersonDetails"), exports);
|
201
200
|
__exportStar(require("./PhlebotomyAreaInfo"), exports);
|
@@ -1,13 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
export interface PatientAddressCompatibleInput {
|
5
|
-
receiverName?: string;
|
6
|
-
street: string;
|
7
|
-
streetNumber?: string;
|
8
|
-
city: string;
|
9
|
-
state: string;
|
10
|
-
zip: string;
|
11
|
-
country: string;
|
12
|
-
phoneNumber?: string;
|
13
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
export interface PatientAddressCompatibleInput {
|
5
|
-
receiverName?: string;
|
6
|
-
street: string;
|
7
|
-
streetNumber?: string;
|
8
|
-
city: string;
|
9
|
-
state: string;
|
10
|
-
zip: string;
|
11
|
-
country: string;
|
12
|
-
phoneNumber?: string;
|
13
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "..";
|
5
|
-
import * as Vital from "../../api";
|
6
|
-
import * as core from "../../core";
|
7
|
-
export declare const PatientAddressCompatibleInput: core.serialization.ObjectSchema<serializers.PatientAddressCompatibleInput.Raw, Vital.PatientAddressCompatibleInput>;
|
8
|
-
export declare namespace PatientAddressCompatibleInput {
|
9
|
-
interface Raw {
|
10
|
-
receiver_name?: string | null;
|
11
|
-
street: string;
|
12
|
-
street_number?: string | null;
|
13
|
-
city: string;
|
14
|
-
state: string;
|
15
|
-
zip: string;
|
16
|
-
country: string;
|
17
|
-
phone_number?: string | null;
|
18
|
-
}
|
19
|
-
}
|
@@ -1,40 +0,0 @@
|
|
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.PatientAddressCompatibleInput = void 0;
|
30
|
-
const core = __importStar(require("../../core"));
|
31
|
-
exports.PatientAddressCompatibleInput = core.serialization.object({
|
32
|
-
receiverName: core.serialization.property("receiver_name", core.serialization.string().optional()),
|
33
|
-
street: core.serialization.string(),
|
34
|
-
streetNumber: core.serialization.property("street_number", core.serialization.string().optional()),
|
35
|
-
city: core.serialization.string(),
|
36
|
-
state: core.serialization.string(),
|
37
|
-
zip: core.serialization.string(),
|
38
|
-
country: core.serialization.string(),
|
39
|
-
phoneNumber: core.serialization.property("phone_number", core.serialization.string().optional()),
|
40
|
-
});
|
@@ -1,19 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
3
|
-
*/
|
4
|
-
import * as serializers from "..";
|
5
|
-
import * as Vital from "../../api";
|
6
|
-
import * as core from "../../core";
|
7
|
-
export declare const PatientAddressCompatibleInput: core.serialization.ObjectSchema<serializers.PatientAddressCompatibleInput.Raw, Vital.PatientAddressCompatibleInput>;
|
8
|
-
export declare namespace PatientAddressCompatibleInput {
|
9
|
-
interface Raw {
|
10
|
-
receiver_name?: string | null;
|
11
|
-
street: string;
|
12
|
-
street_number?: string | null;
|
13
|
-
city: string;
|
14
|
-
state: string;
|
15
|
-
zip: string;
|
16
|
-
country: string;
|
17
|
-
phone_number?: string | null;
|
18
|
-
}
|
19
|
-
}
|
@@ -1,40 +0,0 @@
|
|
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.PatientAddressCompatibleInput = void 0;
|
30
|
-
const core = __importStar(require("../../core"));
|
31
|
-
exports.PatientAddressCompatibleInput = core.serialization.object({
|
32
|
-
receiverName: core.serialization.property("receiver_name", core.serialization.string().optional()),
|
33
|
-
street: core.serialization.string(),
|
34
|
-
streetNumber: core.serialization.property("street_number", core.serialization.string().optional()),
|
35
|
-
city: core.serialization.string(),
|
36
|
-
state: core.serialization.string(),
|
37
|
-
zip: core.serialization.string(),
|
38
|
-
country: core.serialization.string(),
|
39
|
-
phoneNumber: core.serialization.property("phone_number", core.serialization.string().optional()),
|
40
|
-
});
|
File without changes
|
/package/{api/types/PatientAddressCompatibleOutput.js → dist/api/types/PatientAddressCompatible.js}
RENAMED
File without changes
|