@tryvital/vital-node 3.1.84 → 3.1.86
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.d.ts +60 -2
- package/api/resources/labTests/client/Client.js +359 -30
- package/{dist/api/resources/labTests/client/requests/AppointmentCancelRequest.d.ts → api/resources/labTests/client/requests/ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest.d.ts} +1 -1
- package/api/resources/labTests/client/requests/LabTestsGetPscAppointmentAvailabilityRequest.d.ts +32 -0
- package/api/resources/labTests/client/requests/VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest.d.ts +13 -0
- package/api/resources/labTests/client/requests/index.d.ts +3 -3
- 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/vitals/client/Client.js +56 -56
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/{resources/labTests/client/requests → types}/AppointmentBookingRequest.d.ts +0 -6
- package/api/types/AppointmentLocation.d.ts +10 -0
- package/api/types/AppointmentProvider.d.ts +2 -1
- package/api/types/AppointmentProvider.js +1 -0
- package/api/types/AppointmentPscLabs.d.ts +4 -0
- package/{dist/api/resources/labTests/client/requests → api/types}/AppointmentRescheduleRequest.d.ts +0 -6
- package/api/types/AppointmentRescheduleRequest.js +5 -0
- package/api/types/AppointmentType.d.ts +5 -1
- package/api/types/AppointmentType.js +5 -0
- package/api/types/ClientFacingWalkInTestOrder.d.ts +1 -0
- package/api/types/DaySlots.d.ts +1 -0
- package/api/types/OAuthProviders.d.ts +2 -1
- package/api/types/OAuthProviders.js +1 -0
- package/api/types/OrderStatus.d.ts +4 -1
- package/api/types/OrderStatus.js +3 -0
- package/api/types/Providers.d.ts +2 -1
- package/api/types/Providers.js +1 -0
- package/api/types/index.d.ts +4 -0
- package/api/types/index.js +4 -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.d.ts +60 -2
- package/dist/api/resources/labTests/client/Client.js +359 -30
- package/{api/resources/labTests/client/requests/AppointmentCancelRequest.d.ts → dist/api/resources/labTests/client/requests/ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest.d.ts} +1 -1
- package/dist/api/resources/labTests/client/requests/ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest.js +5 -0
- package/dist/api/resources/labTests/client/requests/LabTestsGetPscAppointmentAvailabilityRequest.d.ts +32 -0
- package/dist/api/resources/labTests/client/requests/LabTestsGetPscAppointmentAvailabilityRequest.js +5 -0
- package/dist/api/resources/labTests/client/requests/VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest.d.ts +13 -0
- package/dist/api/resources/labTests/client/requests/VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest.js +5 -0
- package/dist/api/resources/labTests/client/requests/index.d.ts +3 -3
- 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/vitals/client/Client.js +56 -56
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/{resources/labTests/client/requests → types}/AppointmentBookingRequest.d.ts +0 -6
- package/dist/api/types/AppointmentBookingRequest.js +5 -0
- package/dist/api/types/AppointmentLocation.d.ts +10 -0
- package/dist/api/types/AppointmentLocation.js +5 -0
- package/dist/api/types/AppointmentProvider.d.ts +2 -1
- package/dist/api/types/AppointmentProvider.js +1 -0
- package/dist/api/types/AppointmentPscLabs.d.ts +4 -0
- package/dist/api/types/AppointmentPscLabs.js +5 -0
- package/{api/resources/labTests/client/requests → dist/api/types}/AppointmentRescheduleRequest.d.ts +0 -6
- package/dist/api/types/AppointmentRescheduleRequest.js +5 -0
- package/dist/api/types/AppointmentType.d.ts +5 -1
- package/dist/api/types/AppointmentType.js +5 -0
- package/dist/api/types/ClientFacingWalkInTestOrder.d.ts +1 -0
- package/dist/api/types/DaySlots.d.ts +1 -0
- package/dist/api/types/OAuthProviders.d.ts +2 -1
- package/dist/api/types/OAuthProviders.js +1 -0
- package/dist/api/types/OrderStatus.d.ts +4 -1
- package/dist/api/types/OrderStatus.js +3 -0
- package/dist/api/types/Providers.d.ts +2 -1
- package/dist/api/types/Providers.js +1 -0
- package/dist/api/types/index.d.ts +4 -0
- package/dist/api/types/index.js +4 -0
- package/dist/serialization/resources/labTests/client/getPscAppointmentCancellationReason.d.ts +11 -0
- package/dist/serialization/resources/labTests/client/getPscAppointmentCancellationReason.js +32 -0
- package/dist/serialization/resources/labTests/client/index.d.ts +1 -0
- package/dist/serialization/resources/labTests/client/index.js +2 -1
- package/dist/serialization/resources/labTests/client/requests/ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest.d.ts +13 -0
- package/{serialization/resources/labTests/client/requests/AppointmentCancelRequest.js → dist/serialization/resources/labTests/client/requests/ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest.js} +2 -2
- package/dist/serialization/resources/labTests/client/requests/VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest.d.ts +13 -0
- package/dist/serialization/resources/labTests/client/requests/VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest.js +34 -0
- package/dist/serialization/resources/labTests/client/requests/index.d.ts +2 -3
- package/dist/serialization/resources/labTests/client/requests/index.js +5 -7
- package/dist/serialization/{resources/labTests/client/requests → types}/AppointmentBookingRequest.d.ts +4 -4
- package/{serialization/resources/labTests/client/requests → dist/serialization/types}/AppointmentBookingRequest.js +1 -1
- package/dist/serialization/types/AppointmentLocation.d.ts +17 -0
- package/dist/serialization/types/AppointmentLocation.js +38 -0
- package/dist/serialization/types/AppointmentProvider.d.ts +1 -1
- package/dist/serialization/types/AppointmentProvider.js +1 -1
- package/dist/serialization/types/AppointmentPscLabs.d.ts +10 -0
- package/dist/serialization/types/AppointmentPscLabs.js +31 -0
- package/dist/serialization/{resources/labTests/client/requests → types}/AppointmentRescheduleRequest.d.ts +4 -4
- package/dist/serialization/{resources/labTests/client/requests → types}/AppointmentRescheduleRequest.js +1 -1
- package/dist/serialization/types/AppointmentType.d.ts +1 -1
- package/dist/serialization/types/AppointmentType.js +1 -1
- package/dist/serialization/types/ClientFacingWalkInTestOrder.d.ts +1 -0
- package/dist/serialization/types/ClientFacingWalkInTestOrder.js +1 -0
- package/dist/serialization/types/DaySlots.d.ts +2 -0
- package/dist/serialization/types/DaySlots.js +2 -0
- package/dist/serialization/types/OAuthProviders.d.ts +1 -1
- package/dist/serialization/types/OAuthProviders.js +1 -0
- package/dist/serialization/types/OrderStatus.d.ts +1 -1
- package/dist/serialization/types/OrderStatus.js +3 -0
- package/dist/serialization/types/Providers.d.ts +1 -1
- package/dist/serialization/types/Providers.js +1 -0
- package/dist/serialization/types/index.d.ts +4 -0
- package/dist/serialization/types/index.js +4 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +265 -1
- package/serialization/resources/labTests/client/getPscAppointmentCancellationReason.d.ts +11 -0
- package/serialization/resources/labTests/client/getPscAppointmentCancellationReason.js +32 -0
- package/serialization/resources/labTests/client/index.d.ts +1 -0
- package/serialization/resources/labTests/client/index.js +2 -1
- package/serialization/resources/labTests/client/requests/ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest.d.ts +13 -0
- package/{dist/serialization/resources/labTests/client/requests/AppointmentCancelRequest.js → serialization/resources/labTests/client/requests/ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest.js} +2 -2
- package/serialization/resources/labTests/client/requests/VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest.d.ts +13 -0
- package/serialization/resources/labTests/client/requests/VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest.js +34 -0
- package/serialization/resources/labTests/client/requests/index.d.ts +2 -3
- package/serialization/resources/labTests/client/requests/index.js +5 -7
- package/serialization/{resources/labTests/client/requests → types}/AppointmentBookingRequest.d.ts +4 -4
- package/{dist/serialization/resources/labTests/client/requests → serialization/types}/AppointmentBookingRequest.js +1 -1
- package/serialization/types/AppointmentLocation.d.ts +17 -0
- package/serialization/types/AppointmentLocation.js +38 -0
- package/serialization/types/AppointmentProvider.d.ts +1 -1
- package/serialization/types/AppointmentProvider.js +1 -1
- package/serialization/types/AppointmentPscLabs.d.ts +10 -0
- package/serialization/types/AppointmentPscLabs.js +31 -0
- package/serialization/{resources/labTests/client/requests → types}/AppointmentRescheduleRequest.d.ts +4 -4
- package/serialization/{resources/labTests/client/requests → types}/AppointmentRescheduleRequest.js +1 -1
- package/serialization/types/AppointmentType.d.ts +1 -1
- package/serialization/types/AppointmentType.js +1 -1
- package/serialization/types/ClientFacingWalkInTestOrder.d.ts +1 -0
- package/serialization/types/ClientFacingWalkInTestOrder.js +1 -0
- package/serialization/types/DaySlots.d.ts +2 -0
- package/serialization/types/DaySlots.js +2 -0
- package/serialization/types/OAuthProviders.d.ts +1 -1
- package/serialization/types/OAuthProviders.js +1 -0
- package/serialization/types/OrderStatus.d.ts +1 -1
- package/serialization/types/OrderStatus.js +3 -0
- package/serialization/types/Providers.d.ts +1 -1
- package/serialization/types/Providers.js +1 -0
- package/serialization/types/index.d.ts +4 -0
- package/serialization/types/index.js +4 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/dist/serialization/resources/labTests/client/requests/AppointmentCancelRequest.d.ts +0 -13
- package/serialization/resources/labTests/client/requests/AppointmentCancelRequest.d.ts +0 -13
- /package/api/resources/labTests/client/requests/{AppointmentBookingRequest.js → ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest.js} +0 -0
- /package/api/resources/labTests/client/requests/{AppointmentCancelRequest.js → LabTestsGetPscAppointmentAvailabilityRequest.js} +0 -0
- /package/api/resources/labTests/client/requests/{AppointmentRescheduleRequest.js → VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest.js} +0 -0
- /package/{dist/api/resources/labTests/client/requests → api/types}/AppointmentBookingRequest.js +0 -0
- /package/{dist/api/resources/labTests/client/requests/AppointmentCancelRequest.js → api/types/AppointmentLocation.js} +0 -0
- /package/{dist/api/resources/labTests/client/requests/AppointmentRescheduleRequest.js → api/types/AppointmentPscLabs.js} +0 -0
@@ -32,4 +32,5 @@ exports.ClientFacingWalkInTestOrder = core.serialization.object({
|
|
32
32
|
id: core.serialization.string(),
|
33
33
|
createdAt: core.serialization.property("created_at", core.serialization.string()),
|
34
34
|
updatedAt: core.serialization.property("updated_at", core.serialization.string()),
|
35
|
+
appointmentId: core.serialization.property("appointment_id", core.serialization.string().optional()),
|
35
36
|
});
|
@@ -4,10 +4,12 @@
|
|
4
4
|
import * as serializers from "../index";
|
5
5
|
import * as Vital from "../../api/index";
|
6
6
|
import * as core from "../../core";
|
7
|
+
import { AppointmentLocation } from "./AppointmentLocation";
|
7
8
|
import { TimeSlot } from "./TimeSlot";
|
8
9
|
export declare const DaySlots: core.serialization.ObjectSchema<serializers.DaySlots.Raw, Vital.DaySlots>;
|
9
10
|
export declare namespace DaySlots {
|
10
11
|
interface Raw {
|
12
|
+
location?: AppointmentLocation.Raw | null;
|
11
13
|
date: string;
|
12
14
|
slots: TimeSlot.Raw[];
|
13
15
|
}
|
@@ -28,8 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.DaySlots = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
+
const AppointmentLocation_1 = require("./AppointmentLocation");
|
31
32
|
const TimeSlot_1 = require("./TimeSlot");
|
32
33
|
exports.DaySlots = core.serialization.object({
|
34
|
+
location: AppointmentLocation_1.AppointmentLocation.optional(),
|
33
35
|
date: core.serialization.string(),
|
34
36
|
slots: core.serialization.list(TimeSlot_1.TimeSlot),
|
35
37
|
});
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const OAuthProviders: core.serialization.Schema<serializers.OAuthProviders.Raw, Vital.OAuthProviders>;
|
8
8
|
export declare namespace OAuthProviders {
|
9
|
-
type Raw = "oura" | "fitbit" | "garmin" | "strava" | "wahoo" | "ihealth" | "withings" | "google_fit" | "dexcom_v3" | "polar" | "cronometer" | "omron" | "whoop_v2";
|
9
|
+
type Raw = "oura" | "fitbit" | "garmin" | "strava" | "wahoo" | "ihealth" | "withings" | "google_fit" | "dexcom_v3" | "polar" | "cronometer" | "omron" | "whoop_v2" | "my_fitness_pal_v2";
|
10
10
|
}
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const OrderStatus: core.serialization.Schema<serializers.OrderStatus.Raw, Vital.OrderStatus>;
|
8
8
|
export declare namespace OrderStatus {
|
9
|
-
type Raw = "received.walk_in_test.ordered" | "received.walk_in_test.requisition_created" | "completed.walk_in_test.completed" | "sample_with_lab.walk_in_test.partial_results" | "failed.walk_in_test.sample_error" | "cancelled.walk_in_test.cancelled" | "received.at_home_phlebotomy.ordered" | "received.at_home_phlebotomy.requisition_created" | "collecting_sample.at_home_phlebotomy.appointment_pending" | "collecting_sample.at_home_phlebotomy.appointment_scheduled" | "collecting_sample.at_home_phlebotomy.draw_completed" | "collecting_sample.at_home_phlebotomy.appointment_cancelled" | "completed.at_home_phlebotomy.completed" | "sample_with_lab.at_home_phlebotomy.partial_results" | "cancelled.at_home_phlebotomy.cancelled" | "failed.at_home_phlebotomy.sample_error" | "received.testkit.ordered" | "received.testkit.awaiting_registration" | "received.testkit.requisition_created" | "received.testkit.registered" | "collecting_sample.testkit.transit_customer" | "collecting_sample.testkit.out_for_delivery" | "collecting_sample.testkit.with_customer" | "collecting_sample.testkit.transit_lab" | "sample_with_lab.testkit.delivered_to_lab" | "completed.testkit.completed" | "failed.testkit.failure_to_deliver_to_customer" | "failed.testkit.failure_to_deliver_to_lab" | "failed.testkit.sample_error" | "failed.testkit.lost" | "cancelled.testkit.cancelled" | "cancelled.testkit.do_not_process";
|
9
|
+
type Raw = "received.walk_in_test.ordered" | "received.walk_in_test.requisition_created" | "completed.walk_in_test.completed" | "sample_with_lab.walk_in_test.partial_results" | "failed.walk_in_test.sample_error" | "cancelled.walk_in_test.cancelled" | "collecting_sample.walk_in_test.appointment_pending" | "collecting_sample.walk_in_test.appointment_scheduled" | "collecting_sample.walk_in_test.appointment_cancelled" | "received.at_home_phlebotomy.ordered" | "received.at_home_phlebotomy.requisition_created" | "collecting_sample.at_home_phlebotomy.appointment_pending" | "collecting_sample.at_home_phlebotomy.appointment_scheduled" | "collecting_sample.at_home_phlebotomy.draw_completed" | "collecting_sample.at_home_phlebotomy.appointment_cancelled" | "completed.at_home_phlebotomy.completed" | "sample_with_lab.at_home_phlebotomy.partial_results" | "cancelled.at_home_phlebotomy.cancelled" | "failed.at_home_phlebotomy.sample_error" | "received.testkit.ordered" | "received.testkit.awaiting_registration" | "received.testkit.requisition_created" | "received.testkit.registered" | "collecting_sample.testkit.transit_customer" | "collecting_sample.testkit.out_for_delivery" | "collecting_sample.testkit.with_customer" | "collecting_sample.testkit.transit_lab" | "sample_with_lab.testkit.delivered_to_lab" | "completed.testkit.completed" | "failed.testkit.failure_to_deliver_to_customer" | "failed.testkit.failure_to_deliver_to_lab" | "failed.testkit.sample_error" | "failed.testkit.lost" | "cancelled.testkit.cancelled" | "cancelled.testkit.do_not_process";
|
10
10
|
}
|
@@ -35,6 +35,9 @@ exports.OrderStatus = core.serialization.enum_([
|
|
35
35
|
"sample_with_lab.walk_in_test.partial_results",
|
36
36
|
"failed.walk_in_test.sample_error",
|
37
37
|
"cancelled.walk_in_test.cancelled",
|
38
|
+
"collecting_sample.walk_in_test.appointment_pending",
|
39
|
+
"collecting_sample.walk_in_test.appointment_scheduled",
|
40
|
+
"collecting_sample.walk_in_test.appointment_cancelled",
|
38
41
|
"received.at_home_phlebotomy.ordered",
|
39
42
|
"received.at_home_phlebotomy.requisition_created",
|
40
43
|
"collecting_sample.at_home_phlebotomy.appointment_pending",
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const Providers: core.serialization.Schema<serializers.Providers.Raw, Vital.Providers>;
|
8
8
|
export declare namespace Providers {
|
9
|
-
type Raw = "oura" | "fitbit" | "garmin" | "whoop" | "strava" | "renpho" | "peloton" | "wahoo" | "zwift" | "freestyle_libre" | "abbott_libreview" | "freestyle_libre_ble" | "eight_sleep" | "withings" | "apple_health_kit" | "manual" | "ihealth" | "google_fit" | "beurer_api" | "beurer_ble" | "omron" | "omron_ble" | "onetouch_ble" | "accuchek_ble" | "contour_ble" | "dexcom" | "dexcom_v3" | "hammerhead" | "my_fitness_pal" | "health_connect" | "polar" | "cronometer" | "kardia" | "whoop_v2" | "ultrahuman";
|
9
|
+
type Raw = "oura" | "fitbit" | "garmin" | "whoop" | "strava" | "renpho" | "peloton" | "wahoo" | "zwift" | "freestyle_libre" | "abbott_libreview" | "freestyle_libre_ble" | "eight_sleep" | "withings" | "apple_health_kit" | "manual" | "ihealth" | "google_fit" | "beurer_api" | "beurer_ble" | "omron" | "omron_ble" | "onetouch_ble" | "accuchek_ble" | "contour_ble" | "dexcom" | "dexcom_v3" | "hammerhead" | "my_fitness_pal" | "health_connect" | "polar" | "cronometer" | "kardia" | "whoop_v2" | "ultrahuman" | "my_fitness_pal_v2";
|
10
10
|
}
|
@@ -11,8 +11,12 @@ export * from "./Answer";
|
|
11
11
|
export * from "./AoE";
|
12
12
|
export * from "./AoEAnswer";
|
13
13
|
export * from "./AppointmentAvailabilitySlots";
|
14
|
+
export * from "./AppointmentBookingRequest";
|
14
15
|
export * from "./AppointmentEventStatus";
|
16
|
+
export * from "./AppointmentLocation";
|
17
|
+
export * from "./AppointmentPscLabs";
|
15
18
|
export * from "./AppointmentProvider";
|
19
|
+
export * from "./AppointmentRescheduleRequest";
|
16
20
|
export * from "./AppointmentServiceType";
|
17
21
|
export * from "./AppointmentStatus";
|
18
22
|
export * from "./AppointmentType";
|
@@ -27,8 +27,12 @@ __exportStar(require("./Answer"), exports);
|
|
27
27
|
__exportStar(require("./AoE"), exports);
|
28
28
|
__exportStar(require("./AoEAnswer"), exports);
|
29
29
|
__exportStar(require("./AppointmentAvailabilitySlots"), exports);
|
30
|
+
__exportStar(require("./AppointmentBookingRequest"), exports);
|
30
31
|
__exportStar(require("./AppointmentEventStatus"), exports);
|
32
|
+
__exportStar(require("./AppointmentLocation"), exports);
|
33
|
+
__exportStar(require("./AppointmentPscLabs"), exports);
|
31
34
|
__exportStar(require("./AppointmentProvider"), exports);
|
35
|
+
__exportStar(require("./AppointmentRescheduleRequest"), exports);
|
32
36
|
__exportStar(require("./AppointmentServiceType"), exports);
|
33
37
|
__exportStar(require("./AppointmentStatus"), exports);
|
34
38
|
__exportStar(require("./AppointmentType"), 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.86";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
@@ -7628,7 +7628,7 @@ await client.labTests.cancelPhlebotomyAppointment("order_id", {
|
|
7628
7628
|
<dl>
|
7629
7629
|
<dd>
|
7630
7630
|
|
7631
|
-
**request:** `Vital.
|
7631
|
+
**request:** `Vital.ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest`
|
7632
7632
|
|
7633
7633
|
</dd>
|
7634
7634
|
</dl>
|
@@ -8205,6 +8205,270 @@ await client.labTests.getLabelsPdf("string", {
|
|
8205
8205
|
</dl>
|
8206
8206
|
</details>
|
8207
8207
|
|
8208
|
+
<details><summary><code>client.labTests.<a href="/src/api/resources/labTests/client/Client.ts">getPscAppointmentAvailability</a>({ ...params }) -> Vital.AppointmentAvailabilitySlots</code></summary>
|
8209
|
+
<dl>
|
8210
|
+
<dd>
|
8211
|
+
|
8212
|
+
#### 🔌 Usage
|
8213
|
+
|
8214
|
+
<dl>
|
8215
|
+
<dd>
|
8216
|
+
|
8217
|
+
<dl>
|
8218
|
+
<dd>
|
8219
|
+
|
8220
|
+
```typescript
|
8221
|
+
await client.labTests.getPscAppointmentAvailability({
|
8222
|
+
lab: "quest",
|
8223
|
+
});
|
8224
|
+
```
|
8225
|
+
|
8226
|
+
</dd>
|
8227
|
+
</dl>
|
8228
|
+
</dd>
|
8229
|
+
</dl>
|
8230
|
+
|
8231
|
+
#### ⚙️ Parameters
|
8232
|
+
|
8233
|
+
<dl>
|
8234
|
+
<dd>
|
8235
|
+
|
8236
|
+
<dl>
|
8237
|
+
<dd>
|
8238
|
+
|
8239
|
+
**request:** `Vital.LabTestsGetPscAppointmentAvailabilityRequest`
|
8240
|
+
|
8241
|
+
</dd>
|
8242
|
+
</dl>
|
8243
|
+
|
8244
|
+
<dl>
|
8245
|
+
<dd>
|
8246
|
+
|
8247
|
+
**requestOptions:** `LabTests.RequestOptions`
|
8248
|
+
|
8249
|
+
</dd>
|
8250
|
+
</dl>
|
8251
|
+
</dd>
|
8252
|
+
</dl>
|
8253
|
+
|
8254
|
+
</dd>
|
8255
|
+
</dl>
|
8256
|
+
</details>
|
8257
|
+
|
8258
|
+
<details><summary><code>client.labTests.<a href="/src/api/resources/labTests/client/Client.ts">bookPscAppointment</a>(orderId, { ...params }) -> Vital.ClientFacingAppointment</code></summary>
|
8259
|
+
<dl>
|
8260
|
+
<dd>
|
8261
|
+
|
8262
|
+
#### 🔌 Usage
|
8263
|
+
|
8264
|
+
<dl>
|
8265
|
+
<dd>
|
8266
|
+
|
8267
|
+
<dl>
|
8268
|
+
<dd>
|
8269
|
+
|
8270
|
+
```typescript
|
8271
|
+
await client.labTests.bookPscAppointment("order_id", {
|
8272
|
+
bookingKey: "booking_key",
|
8273
|
+
});
|
8274
|
+
```
|
8275
|
+
|
8276
|
+
</dd>
|
8277
|
+
</dl>
|
8278
|
+
</dd>
|
8279
|
+
</dl>
|
8280
|
+
|
8281
|
+
#### ⚙️ Parameters
|
8282
|
+
|
8283
|
+
<dl>
|
8284
|
+
<dd>
|
8285
|
+
|
8286
|
+
<dl>
|
8287
|
+
<dd>
|
8288
|
+
|
8289
|
+
**orderId:** `string` — Your Order ID.
|
8290
|
+
|
8291
|
+
</dd>
|
8292
|
+
</dl>
|
8293
|
+
|
8294
|
+
<dl>
|
8295
|
+
<dd>
|
8296
|
+
|
8297
|
+
**request:** `Vital.AppointmentBookingRequest`
|
8298
|
+
|
8299
|
+
</dd>
|
8300
|
+
</dl>
|
8301
|
+
|
8302
|
+
<dl>
|
8303
|
+
<dd>
|
8304
|
+
|
8305
|
+
**requestOptions:** `LabTests.RequestOptions`
|
8306
|
+
|
8307
|
+
</dd>
|
8308
|
+
</dl>
|
8309
|
+
</dd>
|
8310
|
+
</dl>
|
8311
|
+
|
8312
|
+
</dd>
|
8313
|
+
</dl>
|
8314
|
+
</details>
|
8315
|
+
|
8316
|
+
<details><summary><code>client.labTests.<a href="/src/api/resources/labTests/client/Client.ts">reschedulePscAppointment</a>(orderId, { ...params }) -> Vital.ClientFacingAppointment</code></summary>
|
8317
|
+
<dl>
|
8318
|
+
<dd>
|
8319
|
+
|
8320
|
+
#### 🔌 Usage
|
8321
|
+
|
8322
|
+
<dl>
|
8323
|
+
<dd>
|
8324
|
+
|
8325
|
+
<dl>
|
8326
|
+
<dd>
|
8327
|
+
|
8328
|
+
```typescript
|
8329
|
+
await client.labTests.reschedulePscAppointment("order_id", {
|
8330
|
+
bookingKey: "booking_key",
|
8331
|
+
});
|
8332
|
+
```
|
8333
|
+
|
8334
|
+
</dd>
|
8335
|
+
</dl>
|
8336
|
+
</dd>
|
8337
|
+
</dl>
|
8338
|
+
|
8339
|
+
#### ⚙️ Parameters
|
8340
|
+
|
8341
|
+
<dl>
|
8342
|
+
<dd>
|
8343
|
+
|
8344
|
+
<dl>
|
8345
|
+
<dd>
|
8346
|
+
|
8347
|
+
**orderId:** `string` — Your Order ID.
|
8348
|
+
|
8349
|
+
</dd>
|
8350
|
+
</dl>
|
8351
|
+
|
8352
|
+
<dl>
|
8353
|
+
<dd>
|
8354
|
+
|
8355
|
+
**request:** `Vital.AppointmentRescheduleRequest`
|
8356
|
+
|
8357
|
+
</dd>
|
8358
|
+
</dl>
|
8359
|
+
|
8360
|
+
<dl>
|
8361
|
+
<dd>
|
8362
|
+
|
8363
|
+
**requestOptions:** `LabTests.RequestOptions`
|
8364
|
+
|
8365
|
+
</dd>
|
8366
|
+
</dl>
|
8367
|
+
</dd>
|
8368
|
+
</dl>
|
8369
|
+
|
8370
|
+
</dd>
|
8371
|
+
</dl>
|
8372
|
+
</details>
|
8373
|
+
|
8374
|
+
<details><summary><code>client.labTests.<a href="/src/api/resources/labTests/client/Client.ts">cancelPscAppointment</a>(orderId, { ...params }) -> Vital.ClientFacingAppointment</code></summary>
|
8375
|
+
<dl>
|
8376
|
+
<dd>
|
8377
|
+
|
8378
|
+
#### 🔌 Usage
|
8379
|
+
|
8380
|
+
<dl>
|
8381
|
+
<dd>
|
8382
|
+
|
8383
|
+
<dl>
|
8384
|
+
<dd>
|
8385
|
+
|
8386
|
+
```typescript
|
8387
|
+
await client.labTests.cancelPscAppointment("order_id", {
|
8388
|
+
cancellationReasonId: "cancellationReasonId",
|
8389
|
+
});
|
8390
|
+
```
|
8391
|
+
|
8392
|
+
</dd>
|
8393
|
+
</dl>
|
8394
|
+
</dd>
|
8395
|
+
</dl>
|
8396
|
+
|
8397
|
+
#### ⚙️ Parameters
|
8398
|
+
|
8399
|
+
<dl>
|
8400
|
+
<dd>
|
8401
|
+
|
8402
|
+
<dl>
|
8403
|
+
<dd>
|
8404
|
+
|
8405
|
+
**orderId:** `string` — Your Order ID.
|
8406
|
+
|
8407
|
+
</dd>
|
8408
|
+
</dl>
|
8409
|
+
|
8410
|
+
<dl>
|
8411
|
+
<dd>
|
8412
|
+
|
8413
|
+
**request:** `Vital.VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest`
|
8414
|
+
|
8415
|
+
</dd>
|
8416
|
+
</dl>
|
8417
|
+
|
8418
|
+
<dl>
|
8419
|
+
<dd>
|
8420
|
+
|
8421
|
+
**requestOptions:** `LabTests.RequestOptions`
|
8422
|
+
|
8423
|
+
</dd>
|
8424
|
+
</dl>
|
8425
|
+
</dd>
|
8426
|
+
</dl>
|
8427
|
+
|
8428
|
+
</dd>
|
8429
|
+
</dl>
|
8430
|
+
</details>
|
8431
|
+
|
8432
|
+
<details><summary><code>client.labTests.<a href="/src/api/resources/labTests/client/Client.ts">getPscAppointmentCancellationReason</a>() -> Vital.ClientFacingAppointmentCancellationReason[]</code></summary>
|
8433
|
+
<dl>
|
8434
|
+
<dd>
|
8435
|
+
|
8436
|
+
#### 🔌 Usage
|
8437
|
+
|
8438
|
+
<dl>
|
8439
|
+
<dd>
|
8440
|
+
|
8441
|
+
<dl>
|
8442
|
+
<dd>
|
8443
|
+
|
8444
|
+
```typescript
|
8445
|
+
await client.labTests.getPscAppointmentCancellationReason();
|
8446
|
+
```
|
8447
|
+
|
8448
|
+
</dd>
|
8449
|
+
</dl>
|
8450
|
+
</dd>
|
8451
|
+
</dl>
|
8452
|
+
|
8453
|
+
#### ⚙️ Parameters
|
8454
|
+
|
8455
|
+
<dl>
|
8456
|
+
<dd>
|
8457
|
+
|
8458
|
+
<dl>
|
8459
|
+
<dd>
|
8460
|
+
|
8461
|
+
**requestOptions:** `LabTests.RequestOptions`
|
8462
|
+
|
8463
|
+
</dd>
|
8464
|
+
</dl>
|
8465
|
+
</dd>
|
8466
|
+
</dl>
|
8467
|
+
|
8468
|
+
</dd>
|
8469
|
+
</dl>
|
8470
|
+
</details>
|
8471
|
+
|
8208
8472
|
<details><summary><code>client.labTests.<a href="/src/api/resources/labTests/client/Client.ts">getOrderRequistionPdf</a>(orderId) -> stream.Readable</code></summary>
|
8209
8473
|
<dl>
|
8210
8474
|
<dd>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../index";
|
5
|
+
import * as Vital from "../../../../api/index";
|
6
|
+
import * as core from "../../../../core";
|
7
|
+
import { ClientFacingAppointmentCancellationReason } from "../../../types/ClientFacingAppointmentCancellationReason";
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.labTests.getPscAppointmentCancellationReason.Response.Raw, Vital.ClientFacingAppointmentCancellationReason[]>;
|
9
|
+
export declare namespace Response {
|
10
|
+
type Raw = ClientFacingAppointmentCancellationReason.Raw[];
|
11
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.Response = void 0;
|
30
|
+
const core = __importStar(require("../../../../core"));
|
31
|
+
const ClientFacingAppointmentCancellationReason_1 = require("../../../types/ClientFacingAppointmentCancellationReason");
|
32
|
+
exports.Response = core.serialization.list(ClientFacingAppointmentCancellationReason_1.ClientFacingAppointmentCancellationReason);
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export * as get from "./get";
|
2
2
|
export * as getLabs from "./getLabs";
|
3
3
|
export * as getPhlebotomyAppointmentCancellationReason from "./getPhlebotomyAppointmentCancellationReason";
|
4
|
+
export * as getPscAppointmentCancellationReason from "./getPscAppointmentCancellationReason";
|
4
5
|
export * from "./requests";
|
@@ -26,8 +26,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.getPhlebotomyAppointmentCancellationReason = exports.getLabs = exports.get = void 0;
|
29
|
+
exports.getPscAppointmentCancellationReason = exports.getPhlebotomyAppointmentCancellationReason = exports.getLabs = exports.get = void 0;
|
30
30
|
exports.get = __importStar(require("./get"));
|
31
31
|
exports.getLabs = __importStar(require("./getLabs"));
|
32
32
|
exports.getPhlebotomyAppointmentCancellationReason = __importStar(require("./getPhlebotomyAppointmentCancellationReason"));
|
33
|
+
exports.getPscAppointmentCancellationReason = __importStar(require("./getPscAppointmentCancellationReason"));
|
33
34
|
__exportStar(require("./requests"), exports);
|
@@ -0,0 +1,13 @@
|
|
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
|
+
export declare const ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest: core.serialization.Schema<serializers.ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest.Raw, Vital.ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest>;
|
8
|
+
export declare namespace ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest {
|
9
|
+
interface Raw {
|
10
|
+
cancellation_reason_id: string;
|
11
|
+
notes?: string | null;
|
12
|
+
}
|
13
|
+
}
|
@@ -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.ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest = void 0;
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
31
|
-
exports.
|
31
|
+
exports.ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest = core.serialization.object({
|
32
32
|
cancellationReasonId: core.serialization.property("cancellation_reason_id", core.serialization.string()),
|
33
33
|
notes: core.serialization.string().optional(),
|
34
34
|
});
|
@@ -0,0 +1,13 @@
|
|
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
|
+
export declare const VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest: core.serialization.Schema<serializers.VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest.Raw, Vital.VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest>;
|
8
|
+
export declare namespace VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest {
|
9
|
+
interface Raw {
|
10
|
+
cancellationReasonId: string;
|
11
|
+
note?: string | null;
|
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.VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest = void 0;
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
31
|
+
exports.VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest = core.serialization.object({
|
32
|
+
cancellationReasonId: core.serialization.string(),
|
33
|
+
note: core.serialization.string().optional(),
|
34
|
+
});
|
@@ -1,6 +1,5 @@
|
|
1
1
|
export { CreateLabTestRequest } from "./CreateLabTestRequest";
|
2
|
-
export { AppointmentBookingRequest } from "./AppointmentBookingRequest";
|
3
2
|
export { RequestAppointmentRequest } from "./RequestAppointmentRequest";
|
4
|
-
export {
|
5
|
-
export {
|
3
|
+
export { ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest } from "./ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest";
|
4
|
+
export { VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest } from "./VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest";
|
6
5
|
export { CreateOrderRequestCompatible } from "./CreateOrderRequestCompatible";
|
@@ -1,15 +1,13 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CreateOrderRequestCompatible = exports.
|
3
|
+
exports.CreateOrderRequestCompatible = exports.VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest = exports.ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest = exports.RequestAppointmentRequest = exports.CreateLabTestRequest = void 0;
|
4
4
|
var CreateLabTestRequest_1 = require("./CreateLabTestRequest");
|
5
5
|
Object.defineProperty(exports, "CreateLabTestRequest", { enumerable: true, get: function () { return CreateLabTestRequest_1.CreateLabTestRequest; } });
|
6
|
-
var AppointmentBookingRequest_1 = require("./AppointmentBookingRequest");
|
7
|
-
Object.defineProperty(exports, "AppointmentBookingRequest", { enumerable: true, get: function () { return AppointmentBookingRequest_1.AppointmentBookingRequest; } });
|
8
6
|
var RequestAppointmentRequest_1 = require("./RequestAppointmentRequest");
|
9
7
|
Object.defineProperty(exports, "RequestAppointmentRequest", { enumerable: true, get: function () { return RequestAppointmentRequest_1.RequestAppointmentRequest; } });
|
10
|
-
var
|
11
|
-
Object.defineProperty(exports, "
|
12
|
-
var
|
13
|
-
Object.defineProperty(exports, "
|
8
|
+
var ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest_1 = require("./ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest");
|
9
|
+
Object.defineProperty(exports, "ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest", { enumerable: true, get: function () { return ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest_1.ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest; } });
|
10
|
+
var VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest_1 = require("./VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest");
|
11
|
+
Object.defineProperty(exports, "VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest", { enumerable: true, get: function () { return VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest_1.VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest; } });
|
14
12
|
var CreateOrderRequestCompatible_1 = require("./CreateOrderRequestCompatible");
|
15
13
|
Object.defineProperty(exports, "CreateOrderRequestCompatible", { enumerable: true, get: function () { return CreateOrderRequestCompatible_1.CreateOrderRequestCompatible; } });
|
package/serialization/{resources/labTests/client/requests → types}/AppointmentBookingRequest.d.ts
RENAMED
@@ -1,10 +1,10 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
import * as serializers from "
|
5
|
-
import * as Vital from "
|
6
|
-
import * as core from "
|
7
|
-
export declare const AppointmentBookingRequest: core.serialization.
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const AppointmentBookingRequest: core.serialization.ObjectSchema<serializers.AppointmentBookingRequest.Raw, Vital.AppointmentBookingRequest>;
|
8
8
|
export declare namespace AppointmentBookingRequest {
|
9
9
|
interface Raw {
|
10
10
|
booking_key: string;
|
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.AppointmentBookingRequest = void 0;
|
30
|
-
const core = __importStar(require("
|
30
|
+
const core = __importStar(require("../../core"));
|
31
31
|
exports.AppointmentBookingRequest = core.serialization.object({
|
32
32
|
bookingKey: core.serialization.property("booking_key", core.serialization.string()),
|
33
33
|
});
|
@@ -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 { LngLat } from "./LngLat";
|
8
|
+
import { UsAddress } from "./UsAddress";
|
9
|
+
export declare const AppointmentLocation: core.serialization.ObjectSchema<serializers.AppointmentLocation.Raw, Vital.AppointmentLocation>;
|
10
|
+
export declare namespace AppointmentLocation {
|
11
|
+
interface Raw {
|
12
|
+
location: LngLat.Raw;
|
13
|
+
address: UsAddress.Raw;
|
14
|
+
code: string;
|
15
|
+
name: string;
|
16
|
+
}
|
17
|
+
}
|