@tryvital/vital-node 3.1.85 → 3.1.87
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
@@ -1,9 +1,10 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
export declare type AppointmentProvider = "getlabs" | "axlehealth" | "phlebfinders";
|
4
|
+
export declare type AppointmentProvider = "getlabs" | "axlehealth" | "phlebfinders" | "quest";
|
5
5
|
export declare const AppointmentProvider: {
|
6
6
|
readonly Getlabs: "getlabs";
|
7
7
|
readonly Axlehealth: "axlehealth";
|
8
8
|
readonly Phlebfinders: "phlebfinders";
|
9
|
+
readonly Quest: "quest";
|
9
10
|
};
|
@@ -1,4 +1,8 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
export declare type AppointmentType = "phlebotomy";
|
4
|
+
export declare type AppointmentType = "phlebotomy" | "patient_service_center";
|
5
|
+
export declare const AppointmentType: {
|
6
|
+
readonly Phlebotomy: "phlebotomy";
|
7
|
+
readonly PatientServiceCenter: "patient_service_center";
|
8
|
+
};
|
@@ -3,3 +3,8 @@
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
4
4
|
*/
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.AppointmentType = void 0;
|
7
|
+
exports.AppointmentType = {
|
8
|
+
Phlebotomy: "phlebotomy",
|
9
|
+
PatientServiceCenter: "patient_service_center",
|
10
|
+
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
export declare type OAuthProviders = "oura" | "fitbit" | "garmin" | "strava" | "wahoo" | "ihealth" | "withings" | "google_fit" | "dexcom_v3" | "polar" | "cronometer" | "omron" | "whoop_v2";
|
4
|
+
export declare type OAuthProviders = "oura" | "fitbit" | "garmin" | "strava" | "wahoo" | "ihealth" | "withings" | "google_fit" | "dexcom_v3" | "polar" | "cronometer" | "omron" | "whoop_v2" | "my_fitness_pal_v2";
|
5
5
|
export declare const OAuthProviders: {
|
6
6
|
readonly Oura: "oura";
|
7
7
|
readonly Fitbit: "fitbit";
|
@@ -16,4 +16,5 @@ export declare const OAuthProviders: {
|
|
16
16
|
readonly Cronometer: "cronometer";
|
17
17
|
readonly Omron: "omron";
|
18
18
|
readonly WhoopV2: "whoop_v2";
|
19
|
+
readonly MyFitnessPalV2: "my_fitness_pal_v2";
|
19
20
|
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
export declare type OrderStatus = "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";
|
4
|
+
export declare type OrderStatus = "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";
|
5
5
|
export declare const OrderStatus: {
|
6
6
|
readonly ReceivedWalkInTestOrdered: "received.walk_in_test.ordered";
|
7
7
|
readonly ReceivedWalkInTestRequisitionCreated: "received.walk_in_test.requisition_created";
|
@@ -9,6 +9,9 @@ export declare const OrderStatus: {
|
|
9
9
|
readonly SampleWithLabWalkInTestPartialResults: "sample_with_lab.walk_in_test.partial_results";
|
10
10
|
readonly FailedWalkInTestSampleError: "failed.walk_in_test.sample_error";
|
11
11
|
readonly CancelledWalkInTestCancelled: "cancelled.walk_in_test.cancelled";
|
12
|
+
readonly CollectingSampleWalkInTestAppointmentPending: "collecting_sample.walk_in_test.appointment_pending";
|
13
|
+
readonly CollectingSampleWalkInTestAppointmentScheduled: "collecting_sample.walk_in_test.appointment_scheduled";
|
14
|
+
readonly CollectingSampleWalkInTestAppointmentCancelled: "collecting_sample.walk_in_test.appointment_cancelled";
|
12
15
|
readonly ReceivedAtHomePhlebotomyOrdered: "received.at_home_phlebotomy.ordered";
|
13
16
|
readonly ReceivedAtHomePhlebotomyRequisitionCreated: "received.at_home_phlebotomy.requisition_created";
|
14
17
|
readonly CollectingSampleAtHomePhlebotomyAppointmentPending: "collecting_sample.at_home_phlebotomy.appointment_pending";
|
@@ -11,6 +11,9 @@ exports.OrderStatus = {
|
|
11
11
|
SampleWithLabWalkInTestPartialResults: "sample_with_lab.walk_in_test.partial_results",
|
12
12
|
FailedWalkInTestSampleError: "failed.walk_in_test.sample_error",
|
13
13
|
CancelledWalkInTestCancelled: "cancelled.walk_in_test.cancelled",
|
14
|
+
CollectingSampleWalkInTestAppointmentPending: "collecting_sample.walk_in_test.appointment_pending",
|
15
|
+
CollectingSampleWalkInTestAppointmentScheduled: "collecting_sample.walk_in_test.appointment_scheduled",
|
16
|
+
CollectingSampleWalkInTestAppointmentCancelled: "collecting_sample.walk_in_test.appointment_cancelled",
|
14
17
|
ReceivedAtHomePhlebotomyOrdered: "received.at_home_phlebotomy.ordered",
|
15
18
|
ReceivedAtHomePhlebotomyRequisitionCreated: "received.at_home_phlebotomy.requisition_created",
|
16
19
|
CollectingSampleAtHomePhlebotomyAppointmentPending: "collecting_sample.at_home_phlebotomy.appointment_pending",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
export declare type Providers = "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";
|
4
|
+
export declare type Providers = "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";
|
5
5
|
export declare const Providers: {
|
6
6
|
readonly Oura: "oura";
|
7
7
|
readonly Fitbit: "fitbit";
|
@@ -38,4 +38,5 @@ export declare const Providers: {
|
|
38
38
|
readonly Kardia: "kardia";
|
39
39
|
readonly WhoopV2: "whoop_v2";
|
40
40
|
readonly Ultrahuman: "ultrahuman";
|
41
|
+
readonly MyFitnessPalV2: "my_fitness_pal_v2";
|
41
42
|
};
|
@@ -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";
|
package/dist/api/types/index.js
CHANGED
@@ -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);
|
@@ -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; } });
|
@@ -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
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.AppointmentLocation = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const LngLat_1 = require("./LngLat");
|
32
|
+
const UsAddress_1 = require("./UsAddress");
|
33
|
+
exports.AppointmentLocation = core.serialization.object({
|
34
|
+
location: LngLat_1.LngLat,
|
35
|
+
address: UsAddress_1.UsAddress,
|
36
|
+
code: core.serialization.string(),
|
37
|
+
name: core.serialization.string(),
|
38
|
+
});
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const AppointmentProvider: core.serialization.Schema<serializers.AppointmentProvider.Raw, Vital.AppointmentProvider>;
|
8
8
|
export declare namespace AppointmentProvider {
|
9
|
-
type Raw = "getlabs" | "axlehealth" | "phlebfinders";
|
9
|
+
type Raw = "getlabs" | "axlehealth" | "phlebfinders" | "quest";
|
10
10
|
}
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.AppointmentProvider = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
exports.AppointmentProvider = core.serialization.enum_(["getlabs", "axlehealth", "phlebfinders"]);
|
31
|
+
exports.AppointmentProvider = core.serialization.enum_(["getlabs", "axlehealth", "phlebfinders", "quest"]);
|
@@ -0,0 +1,10 @@
|
|
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 AppointmentPscLabs: core.serialization.Schema<serializers.AppointmentPscLabs.Raw, Vital.AppointmentPscLabs>;
|
8
|
+
export declare namespace AppointmentPscLabs {
|
9
|
+
type Raw = "quest";
|
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.AppointmentPscLabs = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.AppointmentPscLabs = core.serialization.stringLiteral("quest");
|
@@ -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 AppointmentRescheduleRequest: 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 AppointmentRescheduleRequest: core.serialization.ObjectSchema<serializers.AppointmentRescheduleRequest.Raw, Vital.AppointmentRescheduleRequest>;
|
8
8
|
export declare namespace AppointmentRescheduleRequest {
|
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.AppointmentRescheduleRequest = void 0;
|
30
|
-
const core = __importStar(require("
|
30
|
+
const core = __importStar(require("../../core"));
|
31
31
|
exports.AppointmentRescheduleRequest = core.serialization.object({
|
32
32
|
bookingKey: core.serialization.property("booking_key", core.serialization.string()),
|
33
33
|
});
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const AppointmentType: core.serialization.Schema<serializers.AppointmentType.Raw, Vital.AppointmentType>;
|
8
8
|
export declare namespace AppointmentType {
|
9
|
-
type Raw = "phlebotomy";
|
9
|
+
type Raw = "phlebotomy" | "patient_service_center";
|
10
10
|
}
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.AppointmentType = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
exports.AppointmentType = core.serialization.
|
31
|
+
exports.AppointmentType = core.serialization.enum_(["phlebotomy", "patient_service_center"]);
|