@tryvital/vital-node 3.1.9 → 3.1.10
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 +24 -24
- package/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -0
- package/api/resources/link/client/Client.js +14 -14
- package/api/resources/meal/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 +12 -12
- package/api/resources/vitals/client/Client.js +50 -50
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/Answer.d.ts +8 -0
- package/api/types/Answer.js +5 -0
- package/api/types/AoE.d.ts +7 -0
- package/api/types/AoE.js +5 -0
- package/api/types/AoEAnswer.d.ts +8 -0
- package/api/types/AoEAnswer.js +5 -0
- package/api/types/ClientFacingMarker.d.ts +1 -0
- package/api/types/ClientFacingMarkerComplete.d.ts +1 -0
- package/api/types/Question.d.ts +13 -0
- package/api/types/Question.js +5 -0
- package/api/types/QuestionType.d.ts +13 -0
- package/api/types/QuestionType.js +12 -0
- package/api/types/index.d.ts +5 -0
- package/api/types/index.js +5 -0
- 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 +24 -24
- package/dist/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -0
- package/dist/api/resources/link/client/Client.js +14 -14
- package/dist/api/resources/meal/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 +12 -12
- package/dist/api/resources/vitals/client/Client.js +50 -50
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/Answer.d.ts +8 -0
- package/dist/api/types/Answer.js +5 -0
- package/dist/api/types/AoE.d.ts +7 -0
- package/dist/api/types/AoE.js +5 -0
- package/dist/api/types/AoEAnswer.d.ts +8 -0
- package/dist/api/types/AoEAnswer.js +5 -0
- package/dist/api/types/ClientFacingMarker.d.ts +1 -0
- package/dist/api/types/ClientFacingMarkerComplete.d.ts +1 -0
- package/dist/api/types/Question.d.ts +13 -0
- package/dist/api/types/Question.js +5 -0
- package/dist/api/types/QuestionType.d.ts +13 -0
- package/dist/api/types/QuestionType.js +12 -0
- package/dist/api/types/index.d.ts +5 -0
- package/dist/api/types/index.js +5 -0
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -0
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +2 -0
- package/dist/serialization/types/Answer.d.ts +14 -0
- package/dist/serialization/types/Answer.js +35 -0
- package/dist/serialization/types/AoE.d.ts +13 -0
- package/dist/serialization/types/AoE.js +34 -0
- package/dist/serialization/types/AoEAnswer.d.ts +14 -0
- package/dist/serialization/types/AoEAnswer.js +35 -0
- package/dist/serialization/types/ClientFacingMarker.d.ts +2 -0
- package/dist/serialization/types/ClientFacingMarker.js +2 -0
- package/dist/serialization/types/ClientFacingMarkerComplete.d.ts +2 -0
- package/dist/serialization/types/ClientFacingMarkerComplete.js +2 -0
- package/dist/serialization/types/Question.d.ts +20 -0
- package/dist/serialization/types/Question.js +41 -0
- package/dist/serialization/types/QuestionType.d.ts +10 -0
- package/dist/serialization/types/QuestionType.js +31 -0
- package/dist/serialization/types/index.d.ts +5 -0
- package/dist/serialization/types/index.js +5 -0
- package/package.json +1 -1
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -0
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +2 -0
- package/serialization/types/Answer.d.ts +14 -0
- package/serialization/types/Answer.js +35 -0
- package/serialization/types/AoE.d.ts +13 -0
- package/serialization/types/AoE.js +34 -0
- package/serialization/types/AoEAnswer.d.ts +14 -0
- package/serialization/types/AoEAnswer.js +35 -0
- package/serialization/types/ClientFacingMarker.d.ts +2 -0
- package/serialization/types/ClientFacingMarker.js +2 -0
- package/serialization/types/ClientFacingMarkerComplete.d.ts +2 -0
- package/serialization/types/ClientFacingMarkerComplete.js +2 -0
- package/serialization/types/Question.d.ts +20 -0
- package/serialization/types/Question.js +41 -0
- package/serialization/types/QuestionType.d.ts +10 -0
- package/serialization/types/QuestionType.js +31 -0
- package/serialization/types/index.d.ts +5 -0
- package/serialization/types/index.js +5 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Vital from "..";
|
5
|
+
export interface Question {
|
6
|
+
id: number;
|
7
|
+
required: boolean;
|
8
|
+
code: string;
|
9
|
+
value: string;
|
10
|
+
type: Vital.QuestionType;
|
11
|
+
sequence: number;
|
12
|
+
answers: Vital.Answer[];
|
13
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
/**
|
5
|
+
* An enumeration.
|
6
|
+
*/
|
7
|
+
export declare type QuestionType = "choice" | "text" | "numeric" | "multi_choice";
|
8
|
+
export declare const QuestionType: {
|
9
|
+
readonly Choice: "choice";
|
10
|
+
readonly Text: "text";
|
11
|
+
readonly Numeric: "numeric";
|
12
|
+
readonly MultiChoice: "multi_choice";
|
13
|
+
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.QuestionType = void 0;
|
7
|
+
exports.QuestionType = {
|
8
|
+
Choice: "choice",
|
9
|
+
Text: "text",
|
10
|
+
Numeric: "numeric",
|
11
|
+
MultiChoice: "multi_choice",
|
12
|
+
};
|
@@ -1,5 +1,8 @@
|
|
1
1
|
export * from "./ActivityV2InDb";
|
2
2
|
export * from "./Address";
|
3
|
+
export * from "./Answer";
|
4
|
+
export * from "./AoE";
|
5
|
+
export * from "./AoEAnswer";
|
3
6
|
export * from "./AppointmentAvailabilitySlots";
|
4
7
|
export * from "./AppointmentEventStatus";
|
5
8
|
export * from "./AppointmentProvider";
|
@@ -194,6 +197,8 @@ export * from "./ProviderLinkResponse";
|
|
194
197
|
export * from "./ProviderMfaRequestMethod";
|
195
198
|
export * from "./ProviderMfaRequest";
|
196
199
|
export * from "./Providers";
|
200
|
+
export * from "./Question";
|
201
|
+
export * from "./QuestionType";
|
197
202
|
export * from "./RawActivity";
|
198
203
|
export * from "./RawBody";
|
199
204
|
export * from "./RawDevices";
|
package/dist/api/types/index.js
CHANGED
@@ -16,6 +16,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./ActivityV2InDb"), exports);
|
18
18
|
__exportStar(require("./Address"), exports);
|
19
|
+
__exportStar(require("./Answer"), exports);
|
20
|
+
__exportStar(require("./AoE"), exports);
|
21
|
+
__exportStar(require("./AoEAnswer"), exports);
|
19
22
|
__exportStar(require("./AppointmentAvailabilitySlots"), exports);
|
20
23
|
__exportStar(require("./AppointmentEventStatus"), exports);
|
21
24
|
__exportStar(require("./AppointmentProvider"), exports);
|
@@ -210,6 +213,8 @@ __exportStar(require("./ProviderLinkResponse"), exports);
|
|
210
213
|
__exportStar(require("./ProviderMfaRequestMethod"), exports);
|
211
214
|
__exportStar(require("./ProviderMfaRequest"), exports);
|
212
215
|
__exportStar(require("./Providers"), exports);
|
216
|
+
__exportStar(require("./Question"), exports);
|
217
|
+
__exportStar(require("./QuestionType"), exports);
|
213
218
|
__exportStar(require("./RawActivity"), exports);
|
214
219
|
__exportStar(require("./RawBody"), exports);
|
215
220
|
__exportStar(require("./RawDevices"), exports);
|
package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts
CHANGED
@@ -7,6 +7,7 @@ import * as core from "../../../../../core";
|
|
7
7
|
import { PhysicianCreateRequest } from "../../../../types/PhysicianCreateRequest";
|
8
8
|
import { HealthInsuranceCreateRequest } from "../../../../types/HealthInsuranceCreateRequest";
|
9
9
|
import { Consent } from "../../../../types/Consent";
|
10
|
+
import { AoEAnswer } from "../../../../types/AoEAnswer";
|
10
11
|
import { PatientDetails } from "../../../../types/PatientDetails";
|
11
12
|
import { PatientAddressCompatible } from "../../../../types/PatientAddressCompatible";
|
12
13
|
export declare const CreateOrderRequestCompatible: core.serialization.Schema<serializers.CreateOrderRequestCompatible.Raw, Vital.CreateOrderRequestCompatible>;
|
@@ -19,6 +20,7 @@ export declare namespace CreateOrderRequestCompatible {
|
|
19
20
|
priority?: boolean | null;
|
20
21
|
consents?: Consent.Raw[] | null;
|
21
22
|
activate_by?: string | null;
|
23
|
+
aoe_answers?: AoEAnswer.Raw[] | null;
|
22
24
|
patient_details: PatientDetails.Raw;
|
23
25
|
patient_address: PatientAddressCompatible.Raw;
|
24
26
|
}
|
package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js
CHANGED
@@ -31,6 +31,7 @@ const core = __importStar(require("../../../../../core"));
|
|
31
31
|
const PhysicianCreateRequest_1 = require("../../../../types/PhysicianCreateRequest");
|
32
32
|
const HealthInsuranceCreateRequest_1 = require("../../../../types/HealthInsuranceCreateRequest");
|
33
33
|
const Consent_1 = require("../../../../types/Consent");
|
34
|
+
const AoEAnswer_1 = require("../../../../types/AoEAnswer");
|
34
35
|
const PatientDetails_1 = require("../../../../types/PatientDetails");
|
35
36
|
const PatientAddressCompatible_1 = require("../../../../types/PatientAddressCompatible");
|
36
37
|
exports.CreateOrderRequestCompatible = core.serialization.object({
|
@@ -41,6 +42,7 @@ exports.CreateOrderRequestCompatible = core.serialization.object({
|
|
41
42
|
priority: core.serialization.boolean().optional(),
|
42
43
|
consents: core.serialization.list(Consent_1.Consent).optional(),
|
43
44
|
activateBy: core.serialization.property("activate_by", core.serialization.string().optional()),
|
45
|
+
aoeAnswers: core.serialization.property("aoe_answers", core.serialization.list(AoEAnswer_1.AoEAnswer).optional()),
|
44
46
|
patientDetails: core.serialization.property("patient_details", PatientDetails_1.PatientDetails),
|
45
47
|
patientAddress: core.serialization.property("patient_address", PatientAddressCompatible_1.PatientAddressCompatible),
|
46
48
|
});
|
@@ -0,0 +1,14 @@
|
|
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 Answer: core.serialization.ObjectSchema<serializers.Answer.Raw, Vital.Answer>;
|
8
|
+
export declare namespace Answer {
|
9
|
+
interface Raw {
|
10
|
+
id: number;
|
11
|
+
code: string;
|
12
|
+
value: string;
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.Answer = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.Answer = core.serialization.object({
|
32
|
+
id: core.serialization.number(),
|
33
|
+
code: core.serialization.string(),
|
34
|
+
value: core.serialization.string(),
|
35
|
+
});
|
@@ -0,0 +1,13 @@
|
|
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
|
+
import { Question } from "./Question";
|
8
|
+
export declare const AoE: core.serialization.ObjectSchema<serializers.AoE.Raw, Vital.AoE>;
|
9
|
+
export declare namespace AoE {
|
10
|
+
interface Raw {
|
11
|
+
questions: Question.Raw[];
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,34 @@
|
|
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.AoE = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const Question_1 = require("./Question");
|
32
|
+
exports.AoE = core.serialization.object({
|
33
|
+
questions: core.serialization.list(Question_1.Question),
|
34
|
+
});
|
@@ -0,0 +1,14 @@
|
|
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 AoEAnswer: core.serialization.ObjectSchema<serializers.AoEAnswer.Raw, Vital.AoEAnswer>;
|
8
|
+
export declare namespace AoEAnswer {
|
9
|
+
interface Raw {
|
10
|
+
marker_id: number;
|
11
|
+
question_id: number;
|
12
|
+
answer: string;
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.AoEAnswer = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.AoEAnswer = core.serialization.object({
|
32
|
+
markerId: core.serialization.property("marker_id", core.serialization.number()),
|
33
|
+
questionId: core.serialization.property("question_id", core.serialization.number()),
|
34
|
+
answer: core.serialization.string(),
|
35
|
+
});
|
@@ -5,6 +5,7 @@ import * as serializers from "..";
|
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { MarkerType } from "./MarkerType";
|
8
|
+
import { AoE } from "./AoE";
|
8
9
|
export declare const ClientFacingMarker: core.serialization.ObjectSchema<serializers.ClientFacingMarker.Raw, Vital.ClientFacingMarker>;
|
9
10
|
export declare namespace ClientFacingMarker {
|
10
11
|
interface Raw {
|
@@ -17,5 +18,6 @@ export declare namespace ClientFacingMarker {
|
|
17
18
|
type?: MarkerType.Raw | null;
|
18
19
|
unit?: string | null;
|
19
20
|
price?: string | null;
|
21
|
+
aoe?: AoE.Raw | null;
|
20
22
|
}
|
21
23
|
}
|
@@ -29,6 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ClientFacingMarker = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const MarkerType_1 = require("./MarkerType");
|
32
|
+
const AoE_1 = require("./AoE");
|
32
33
|
exports.ClientFacingMarker = core.serialization.object({
|
33
34
|
id: core.serialization.number(),
|
34
35
|
name: core.serialization.string(),
|
@@ -39,4 +40,5 @@ exports.ClientFacingMarker = core.serialization.object({
|
|
39
40
|
type: MarkerType_1.MarkerType.optional(),
|
40
41
|
unit: core.serialization.string().optional(),
|
41
42
|
price: core.serialization.string().optional(),
|
43
|
+
aoe: AoE_1.AoE.optional(),
|
42
44
|
});
|
@@ -5,6 +5,7 @@ import * as serializers from "..";
|
|
5
5
|
import * as Vital from "../../api";
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { MarkerType } from "./MarkerType";
|
8
|
+
import { AoE } from "./AoE";
|
8
9
|
import { ClientFacingResult } from "./ClientFacingResult";
|
9
10
|
export declare const ClientFacingMarkerComplete: core.serialization.ObjectSchema<serializers.ClientFacingMarkerComplete.Raw, Vital.ClientFacingMarkerComplete>;
|
10
11
|
export declare namespace ClientFacingMarkerComplete {
|
@@ -18,6 +19,7 @@ export declare namespace ClientFacingMarkerComplete {
|
|
18
19
|
type?: MarkerType.Raw | null;
|
19
20
|
unit?: string | null;
|
20
21
|
price?: string | null;
|
22
|
+
aoe?: AoE.Raw | null;
|
21
23
|
expected_results: ClientFacingResult.Raw[];
|
22
24
|
}
|
23
25
|
}
|
@@ -29,6 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ClientFacingMarkerComplete = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const MarkerType_1 = require("./MarkerType");
|
32
|
+
const AoE_1 = require("./AoE");
|
32
33
|
const ClientFacingResult_1 = require("./ClientFacingResult");
|
33
34
|
exports.ClientFacingMarkerComplete = core.serialization.object({
|
34
35
|
id: core.serialization.number(),
|
@@ -40,5 +41,6 @@ exports.ClientFacingMarkerComplete = core.serialization.object({
|
|
40
41
|
type: MarkerType_1.MarkerType.optional(),
|
41
42
|
unit: core.serialization.string().optional(),
|
42
43
|
price: core.serialization.string().optional(),
|
44
|
+
aoe: AoE_1.AoE.optional(),
|
43
45
|
expectedResults: core.serialization.property("expected_results", core.serialization.list(ClientFacingResult_1.ClientFacingResult)),
|
44
46
|
});
|
@@ -0,0 +1,20 @@
|
|
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
|
+
import { QuestionType } from "./QuestionType";
|
8
|
+
import { Answer } from "./Answer";
|
9
|
+
export declare const Question: core.serialization.ObjectSchema<serializers.Question.Raw, Vital.Question>;
|
10
|
+
export declare namespace Question {
|
11
|
+
interface Raw {
|
12
|
+
id: number;
|
13
|
+
required: boolean;
|
14
|
+
code: string;
|
15
|
+
value: string;
|
16
|
+
type: QuestionType.Raw;
|
17
|
+
sequence: number;
|
18
|
+
answers: Answer.Raw[];
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,41 @@
|
|
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.Question = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const QuestionType_1 = require("./QuestionType");
|
32
|
+
const Answer_1 = require("./Answer");
|
33
|
+
exports.Question = core.serialization.object({
|
34
|
+
id: core.serialization.number(),
|
35
|
+
required: core.serialization.boolean(),
|
36
|
+
code: core.serialization.string(),
|
37
|
+
value: core.serialization.string(),
|
38
|
+
type: QuestionType_1.QuestionType,
|
39
|
+
sequence: core.serialization.number(),
|
40
|
+
answers: core.serialization.list(Answer_1.Answer),
|
41
|
+
});
|
@@ -0,0 +1,10 @@
|
|
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 QuestionType: core.serialization.Schema<serializers.QuestionType.Raw, Vital.QuestionType>;
|
8
|
+
export declare namespace QuestionType {
|
9
|
+
type Raw = "choice" | "text" | "numeric" | "multi_choice";
|
10
|
+
}
|
@@ -0,0 +1,31 @@
|
|
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.QuestionType = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.QuestionType = core.serialization.enum_(["choice", "text", "numeric", "multi_choice"]);
|
@@ -1,5 +1,8 @@
|
|
1
1
|
export * from "./ActivityV2InDb";
|
2
2
|
export * from "./Address";
|
3
|
+
export * from "./Answer";
|
4
|
+
export * from "./AoE";
|
5
|
+
export * from "./AoEAnswer";
|
3
6
|
export * from "./AppointmentAvailabilitySlots";
|
4
7
|
export * from "./AppointmentEventStatus";
|
5
8
|
export * from "./AppointmentProvider";
|
@@ -194,6 +197,8 @@ export * from "./ProviderLinkResponse";
|
|
194
197
|
export * from "./ProviderMfaRequestMethod";
|
195
198
|
export * from "./ProviderMfaRequest";
|
196
199
|
export * from "./Providers";
|
200
|
+
export * from "./Question";
|
201
|
+
export * from "./QuestionType";
|
197
202
|
export * from "./RawActivity";
|
198
203
|
export * from "./RawBody";
|
199
204
|
export * from "./RawDevices";
|
@@ -16,6 +16,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./ActivityV2InDb"), exports);
|
18
18
|
__exportStar(require("./Address"), exports);
|
19
|
+
__exportStar(require("./Answer"), exports);
|
20
|
+
__exportStar(require("./AoE"), exports);
|
21
|
+
__exportStar(require("./AoEAnswer"), exports);
|
19
22
|
__exportStar(require("./AppointmentAvailabilitySlots"), exports);
|
20
23
|
__exportStar(require("./AppointmentEventStatus"), exports);
|
21
24
|
__exportStar(require("./AppointmentProvider"), exports);
|
@@ -210,6 +213,8 @@ __exportStar(require("./ProviderLinkResponse"), exports);
|
|
210
213
|
__exportStar(require("./ProviderMfaRequestMethod"), exports);
|
211
214
|
__exportStar(require("./ProviderMfaRequest"), exports);
|
212
215
|
__exportStar(require("./Providers"), exports);
|
216
|
+
__exportStar(require("./Question"), exports);
|
217
|
+
__exportStar(require("./QuestionType"), exports);
|
213
218
|
__exportStar(require("./RawActivity"), exports);
|
214
219
|
__exportStar(require("./RawBody"), exports);
|
215
220
|
__exportStar(require("./RawDevices"), exports);
|
package/package.json
CHANGED
@@ -7,6 +7,7 @@ import * as core from "../../../../../core";
|
|
7
7
|
import { PhysicianCreateRequest } from "../../../../types/PhysicianCreateRequest";
|
8
8
|
import { HealthInsuranceCreateRequest } from "../../../../types/HealthInsuranceCreateRequest";
|
9
9
|
import { Consent } from "../../../../types/Consent";
|
10
|
+
import { AoEAnswer } from "../../../../types/AoEAnswer";
|
10
11
|
import { PatientDetails } from "../../../../types/PatientDetails";
|
11
12
|
import { PatientAddressCompatible } from "../../../../types/PatientAddressCompatible";
|
12
13
|
export declare const CreateOrderRequestCompatible: core.serialization.Schema<serializers.CreateOrderRequestCompatible.Raw, Vital.CreateOrderRequestCompatible>;
|
@@ -19,6 +20,7 @@ export declare namespace CreateOrderRequestCompatible {
|
|
19
20
|
priority?: boolean | null;
|
20
21
|
consents?: Consent.Raw[] | null;
|
21
22
|
activate_by?: string | null;
|
23
|
+
aoe_answers?: AoEAnswer.Raw[] | null;
|
22
24
|
patient_details: PatientDetails.Raw;
|
23
25
|
patient_address: PatientAddressCompatible.Raw;
|
24
26
|
}
|
@@ -31,6 +31,7 @@ const core = __importStar(require("../../../../../core"));
|
|
31
31
|
const PhysicianCreateRequest_1 = require("../../../../types/PhysicianCreateRequest");
|
32
32
|
const HealthInsuranceCreateRequest_1 = require("../../../../types/HealthInsuranceCreateRequest");
|
33
33
|
const Consent_1 = require("../../../../types/Consent");
|
34
|
+
const AoEAnswer_1 = require("../../../../types/AoEAnswer");
|
34
35
|
const PatientDetails_1 = require("../../../../types/PatientDetails");
|
35
36
|
const PatientAddressCompatible_1 = require("../../../../types/PatientAddressCompatible");
|
36
37
|
exports.CreateOrderRequestCompatible = core.serialization.object({
|
@@ -41,6 +42,7 @@ exports.CreateOrderRequestCompatible = core.serialization.object({
|
|
41
42
|
priority: core.serialization.boolean().optional(),
|
42
43
|
consents: core.serialization.list(Consent_1.Consent).optional(),
|
43
44
|
activateBy: core.serialization.property("activate_by", core.serialization.string().optional()),
|
45
|
+
aoeAnswers: core.serialization.property("aoe_answers", core.serialization.list(AoEAnswer_1.AoEAnswer).optional()),
|
44
46
|
patientDetails: core.serialization.property("patient_details", PatientDetails_1.PatientDetails),
|
45
47
|
patientAddress: core.serialization.property("patient_address", PatientAddressCompatible_1.PatientAddressCompatible),
|
46
48
|
});
|
@@ -0,0 +1,14 @@
|
|
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 Answer: core.serialization.ObjectSchema<serializers.Answer.Raw, Vital.Answer>;
|
8
|
+
export declare namespace Answer {
|
9
|
+
interface Raw {
|
10
|
+
id: number;
|
11
|
+
code: string;
|
12
|
+
value: string;
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.Answer = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.Answer = core.serialization.object({
|
32
|
+
id: core.serialization.number(),
|
33
|
+
code: core.serialization.string(),
|
34
|
+
value: core.serialization.string(),
|
35
|
+
});
|
@@ -0,0 +1,13 @@
|
|
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
|
+
import { Question } from "./Question";
|
8
|
+
export declare const AoE: core.serialization.ObjectSchema<serializers.AoE.Raw, Vital.AoE>;
|
9
|
+
export declare namespace AoE {
|
10
|
+
interface Raw {
|
11
|
+
questions: Question.Raw[];
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,34 @@
|
|
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.AoE = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const Question_1 = require("./Question");
|
32
|
+
exports.AoE = core.serialization.object({
|
33
|
+
questions: core.serialization.list(Question_1.Question),
|
34
|
+
});
|
@@ -0,0 +1,14 @@
|
|
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 AoEAnswer: core.serialization.ObjectSchema<serializers.AoEAnswer.Raw, Vital.AoEAnswer>;
|
8
|
+
export declare namespace AoEAnswer {
|
9
|
+
interface Raw {
|
10
|
+
marker_id: number;
|
11
|
+
question_id: number;
|
12
|
+
answer: string;
|
13
|
+
}
|
14
|
+
}
|