@arbol-ai/sdk 4.0.0 → 5.0.0
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/README.md +15 -3
- package/dist/agenda/appointments/client.d.ts +165 -52
- package/dist/agenda/appointments/client.js +19 -11
- package/dist/agenda/appointments/index.d.ts +1 -1
- package/dist/agenda/availability/client.d.ts +11 -72
- package/dist/agenda/availability/client.js +5 -14
- package/dist/agenda/availability/index.d.ts +1 -1
- package/dist/agenda/bookingLocations/client.d.ts +51 -0
- package/dist/agenda/bookingLocations/client.js +19 -0
- package/dist/agenda/bookingLocations/index.d.ts +4 -0
- package/dist/agenda/bookingLocations/index.js +4 -0
- package/dist/agenda/bookingOfferings/client.d.ts +82 -0
- package/dist/agenda/bookingOfferings/client.js +18 -0
- package/dist/agenda/bookingOfferings/index.d.ts +5 -0
- package/dist/agenda/bookingOfferings/index.js +4 -0
- package/dist/agenda/bookingOfferings/models.d.ts +92 -0
- package/dist/agenda/bookingOfferings/models.js +3 -0
- package/dist/agenda/bookingRequirements/client.d.ts +118 -0
- package/dist/agenda/bookingRequirements/client.js +18 -0
- package/dist/agenda/bookingRequirements/index.d.ts +4 -0
- package/dist/agenda/bookingRequirements/index.js +4 -0
- package/dist/agenda/bookingSlots/client.d.ts +78 -0
- package/dist/agenda/bookingSlots/client.js +19 -0
- package/dist/agenda/bookingSlots/index.d.ts +4 -0
- package/dist/agenda/bookingSlots/index.js +4 -0
- package/dist/agenda/bookings/client.d.ts +44 -375
- package/dist/agenda/bookings/client.js +10 -52
- package/dist/agenda/bookings/index.d.ts +2 -2
- package/dist/agenda/bookings/models.d.ts +0 -92
- package/dist/agenda/client.d.ts +14 -0
- package/dist/agenda/client.js +35 -0
- package/dist/agenda/firstAvailability/client.d.ts +74 -0
- package/dist/agenda/firstAvailability/client.js +19 -0
- package/dist/agenda/firstAvailability/index.d.ts +5 -0
- package/dist/agenda/firstAvailability/index.js +4 -0
- package/dist/agenda/firstAvailability/models.d.ts +31 -0
- package/dist/agenda/firstAvailability/models.js +7 -0
- package/dist/agenda/index.d.ts +1 -1
- package/dist/agenda/models.d.ts +19 -94
- package/dist/agenda/models.js +0 -3
- package/dist/agenda/nearestBookingSlots/client.d.ts +93 -0
- package/dist/agenda/nearestBookingSlots/client.js +19 -0
- package/dist/agenda/nearestBookingSlots/index.d.ts +5 -0
- package/dist/agenda/nearestBookingSlots/index.js +4 -0
- package/dist/agenda/nearestBookingSlots/models.d.ts +38 -0
- package/dist/agenda/nearestBookingSlots/models.js +7 -0
- package/dist/agenda/offerings/client.d.ts +2 -2
- package/dist/agenda/offerings/client.js +1 -1
- package/dist/agenda/resourceSchedules/client.d.ts +75 -0
- package/dist/agenda/resourceSchedules/client.js +19 -0
- package/dist/agenda/resourceSchedules/index.d.ts +4 -0
- package/dist/agenda/resourceSchedules/index.js +4 -0
- package/dist/agenda/resources/client.d.ts +2 -2
- package/dist/agenda/resources/client.js +1 -1
- package/dist/agenda/scheduleRules/client.d.ts +125 -85
- package/dist/agenda/scheduleRules/client.js +17 -16
- package/dist/agenda/scheduleRules/index.d.ts +2 -1
- package/dist/agenda/scheduleRules/models.d.ts +33 -0
- package/dist/agenda/scheduleRules/models.js +6 -0
- package/dist/agenda/services/client.d.ts +2 -2
- package/dist/agenda/services/client.js +1 -1
- package/dist/agenda/waitlist/client.d.ts +40 -29
- package/dist/agenda/waitlist/client.js +4 -4
- package/dist/agenda/waitlist/index.d.ts +1 -1
- package/dist/agenda/waitlist/models.d.ts +17 -0
- package/dist/agenda/waitlist/models.js +4 -1
- package/dist/axxa/authorizations/client.d.ts +3 -35
- package/dist/axxa/authorizations/client.js +1 -1
- package/dist/axxa/authorizations/index.d.ts +1 -0
- package/dist/axxa/authorizations/models.d.ts +112 -0
- package/dist/axxa/authorizations/models.js +3 -0
- package/dist/axxa/connections/client.d.ts +19 -45
- package/dist/axxa/connections/client.js +10 -11
- package/dist/axxa/connections/index.d.ts +1 -0
- package/dist/axxa/connections/models.d.ts +269 -0
- package/dist/axxa/connections/models.js +3 -0
- package/dist/axxa/eligibility/client.d.ts +3 -25
- package/dist/axxa/eligibility/client.js +1 -1
- package/dist/axxa/eligibility/index.d.ts +1 -0
- package/dist/axxa/eligibility/models.d.ts +102 -0
- package/dist/axxa/eligibility/models.js +3 -0
- package/dist/axxa/index.d.ts +1 -1
- package/dist/axxa/models.d.ts +243 -168
- package/dist/axxa/provider/client.d.ts +5 -11
- package/dist/axxa/provider/client.js +1 -1
- package/dist/axxa/provider/index.d.ts +1 -0
- package/dist/axxa/provider/models.d.ts +87 -0
- package/dist/axxa/provider/models.js +3 -0
- package/dist/gmedic/agendaServices/client.d.ts +13 -9
- package/dist/gmedic/agendaServices/client.js +2 -2
- package/dist/gmedic/agendaServices/index.d.ts +1 -1
- package/dist/gmedic/agendaServices/models.d.ts +53 -1
- package/dist/gmedic/agendas/client.d.ts +16 -9
- package/dist/gmedic/agendas/client.js +2 -2
- package/dist/gmedic/agendas/index.d.ts +1 -1
- package/dist/gmedic/agendas/models.d.ts +53 -1
- package/dist/gmedic/appointments/client.d.ts +34 -241
- package/dist/gmedic/appointments/client.js +12 -10
- package/dist/gmedic/appointments/index.d.ts +1 -1
- package/dist/gmedic/appointments/models.d.ts +518 -1
- package/dist/gmedic/appointments/models.js +28 -2
- package/dist/gmedic/availability/client.d.ts +24 -10
- package/dist/gmedic/availability/client.js +4 -3
- package/dist/gmedic/availability/index.d.ts +1 -1
- package/dist/gmedic/availability/models.d.ts +57 -1
- package/dist/gmedic/availability/models.js +7 -1
- package/dist/gmedic/availableDays/client.d.ts +11 -8
- package/dist/gmedic/availableDays/client.js +1 -1
- package/dist/gmedic/availableDays/index.d.ts +1 -1
- package/dist/gmedic/availableDays/models.d.ts +53 -1
- package/dist/gmedic/branchOffices/client.d.ts +13 -9
- package/dist/gmedic/branchOffices/client.js +2 -2
- package/dist/gmedic/branchOffices/index.d.ts +1 -1
- package/dist/gmedic/branchOffices/models.d.ts +58 -1
- package/dist/gmedic/connections/client.d.ts +19 -42
- package/dist/gmedic/connections/client.js +10 -11
- package/dist/gmedic/connections/index.d.ts +1 -0
- package/dist/gmedic/connections/models.d.ts +162 -0
- package/dist/gmedic/connections/models.js +3 -0
- package/dist/gmedic/dictionaryEntries/client.d.ts +20 -10
- package/dist/gmedic/dictionaryEntries/client.js +2 -2
- package/dist/gmedic/dictionaryEntries/index.d.ts +1 -1
- package/dist/gmedic/dictionaryEntries/models.d.ts +53 -1
- package/dist/gmedic/healthPartners/client.d.ts +19 -9
- package/dist/gmedic/healthPartners/client.js +2 -2
- package/dist/gmedic/healthPartners/index.d.ts +1 -1
- package/dist/gmedic/healthPartners/models.d.ts +53 -1
- package/dist/gmedic/healthPromotionEntities/client.d.ts +20 -10
- package/dist/gmedic/healthPromotionEntities/client.js +2 -2
- package/dist/gmedic/healthPromotionEntities/index.d.ts +1 -1
- package/dist/gmedic/healthPromotionEntities/models.d.ts +53 -1
- package/dist/gmedic/index.d.ts +1 -1
- package/dist/gmedic/laboralRiskManagers/client.d.ts +20 -10
- package/dist/gmedic/laboralRiskManagers/client.js +2 -2
- package/dist/gmedic/laboralRiskManagers/index.d.ts +1 -1
- package/dist/gmedic/laboralRiskManagers/models.d.ts +53 -1
- package/dist/gmedic/models.d.ts +194 -133
- package/dist/gmedic/occupations/client.d.ts +19 -9
- package/dist/gmedic/occupations/client.js +2 -2
- package/dist/gmedic/occupations/index.d.ts +1 -1
- package/dist/gmedic/occupations/models.d.ts +53 -1
- package/dist/gmedic/patientNotes/client.d.ts +25 -55
- package/dist/gmedic/patientNotes/client.js +5 -5
- package/dist/gmedic/patientNotes/index.d.ts +1 -1
- package/dist/gmedic/patientNotes/models.d.ts +232 -1
- package/dist/gmedic/patients/client.d.ts +40 -359
- package/dist/gmedic/patients/client.js +13 -5
- package/dist/gmedic/patients/index.d.ts +2 -2
- package/dist/gmedic/patients/models.d.ts +795 -1
- package/dist/gmedic/services/client.d.ts +22 -16
- package/dist/gmedic/services/client.js +2 -2
- package/dist/gmedic/services/index.d.ts +1 -1
- package/dist/gmedic/services/models.d.ts +53 -3
- package/dist/gmedic/sessionPackages/client.d.ts +21 -58
- package/dist/gmedic/sessionPackages/client.js +5 -5
- package/dist/gmedic/sessionPackages/index.d.ts +1 -1
- package/dist/gmedic/sessionPackages/models.d.ts +183 -1
- package/dist/index.d.ts +1 -1
- package/dist/models.d.ts +61 -0
- package/dist/models.js +6 -0
- package/dist/nuevaEps/affiliations/client.js +1 -1
- package/dist/nuevaEps/affiliations/models.d.ts +3 -1
- package/dist/nuevaEps/connections/client.d.ts +9 -9
- package/dist/nuevaEps/connections/client.js +9 -9
- package/dist/nuevaEps/connections/index.d.ts +1 -1
- package/dist/nuevaEps/connections/models.d.ts +1 -47
- package/dist/nuevaEps/connections/models.js +1 -8
- package/dist/sura/affiliations/client.d.ts +3 -35
- package/dist/sura/affiliations/client.js +6 -6
- package/dist/sura/affiliations/index.d.ts +1 -0
- package/dist/sura/affiliations/models.d.ts +71 -0
- package/dist/sura/affiliations/models.js +8 -0
- package/dist/sura/appointments/client.d.ts +27 -327
- package/dist/sura/appointments/client.js +15 -21
- package/dist/sura/appointments/index.d.ts +2 -1
- package/dist/sura/appointments/models.d.ts +310 -0
- package/dist/sura/appointments/models.js +22 -0
- package/dist/sura/authorizations/client.d.ts +3 -43
- package/dist/sura/authorizations/client.js +6 -6
- package/dist/sura/authorizations/index.d.ts +1 -0
- package/dist/sura/authorizations/models.d.ts +79 -0
- package/dist/sura/authorizations/models.js +8 -0
- package/dist/sura/availability/client.d.ts +4 -68
- package/dist/sura/availability/client.js +9 -9
- package/dist/sura/availability/index.d.ts +2 -1
- package/dist/sura/availability/models.d.ts +103 -0
- package/dist/sura/availability/models.js +8 -0
- package/dist/sura/bookingOptions/client.d.ts +35 -0
- package/dist/sura/bookingOptions/client.js +19 -0
- package/dist/sura/bookingOptions/index.d.ts +5 -0
- package/dist/sura/bookingOptions/index.js +4 -0
- package/dist/sura/bookingOptions/models.d.ts +143 -0
- package/dist/sura/bookingOptions/models.js +8 -0
- package/dist/sura/client.d.ts +2 -0
- package/dist/sura/client.js +5 -0
- package/dist/sura/connections/client.d.ts +20 -98
- package/dist/sura/connections/client.js +10 -10
- package/dist/sura/connections/index.d.ts +1 -1
- package/dist/sura/connections/models.d.ts +102 -1
- package/dist/sura/connections/models.js +6 -0
- package/dist/sura/copays/client.d.ts +4 -40
- package/dist/sura/copays/client.js +9 -9
- package/dist/sura/copays/index.d.ts +2 -1
- package/dist/sura/copays/models.d.ts +75 -0
- package/dist/sura/copays/models.js +8 -0
- package/dist/sura/index.d.ts +1 -1
- package/dist/sura/models.d.ts +204 -148
- package/dist/sura/models.js +20 -1
- package/dist/sura/operations/client.d.ts +2 -7
- package/dist/sura/operations/client.js +4 -4
- package/dist/sura/operations/index.d.ts +1 -0
- package/dist/sura/operations/models.d.ts +43 -0
- package/dist/sura/operations/models.js +8 -0
- package/dist/sura/patients/client.d.ts +3 -40
- package/dist/sura/patients/client.js +6 -6
- package/dist/sura/patients/index.d.ts +1 -0
- package/dist/sura/patients/models.d.ts +76 -0
- package/dist/sura/patients/models.js +8 -0
- package/dist/sura/professionals/client.d.ts +7 -9
- package/dist/sura/professionals/client.js +3 -4
- package/dist/sura/professionals/index.d.ts +1 -1
- package/dist/sura/professionals/models.d.ts +40 -1
- package/dist/sura/services/client.d.ts +7 -8
- package/dist/sura/services/client.js +3 -4
- package/dist/sura/services/index.d.ts +1 -0
- package/dist/sura/services/models.d.ts +40 -0
- package/dist/sura/services/models.js +3 -0
- package/dist/visoft/index.d.ts +1 -1
- package/dist/visoft/models.d.ts +1 -16
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import { type AgendaAppointment, type AgendaAppointmentIntakeInput, type
|
|
3
|
-
import { type AgendaAppointmentGuidance, type
|
|
2
|
+
import { type AgendaAppointment, type AgendaAppointmentIntakeInput, type AgendaResponseMetadata } from "../models.js";
|
|
3
|
+
import { type AgendaAppointmentGuidance, type AgendaBooking } from "./models.js";
|
|
4
4
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
5
|
/**
|
|
6
6
|
* The URL the paths of the API are relative to.
|
|
@@ -12,17 +12,17 @@ export interface Client {
|
|
|
12
12
|
* Cancel an appointment
|
|
13
13
|
*
|
|
14
14
|
* Cancel one appointment after the person explicitly confirms which one.
|
|
15
|
-
* Frees its slot. Pass the appointment id
|
|
16
|
-
* and the reason the person gave.
|
|
15
|
+
* Frees its slot. Pass the appointment as appointmentId (its id from
|
|
16
|
+
* list_patient_appointments) and the reason the person gave.
|
|
17
17
|
*/
|
|
18
18
|
cancel(request: CancelRequest, options?: RequestOptions): Promise<CancelResponse>;
|
|
19
19
|
/**
|
|
20
20
|
* Create an appointment
|
|
21
21
|
*
|
|
22
22
|
* Book one slot only after the person explicitly confirms it. Pass the exact
|
|
23
|
-
* slotToken returned by find_availability, the patient's name,
|
|
24
|
-
* documentType (one of the organization's documentTypes codes; the first
|
|
25
|
-
* when omitted), and the intake the organization requires (call
|
|
23
|
+
* slotToken returned by find_availability, the patient's name, documentNumber
|
|
24
|
+
* and documentType (one of the organization's documentTypes codes; the first
|
|
25
|
+
* one when omitted), and the intake the organization requires (call
|
|
26
26
|
* get_intake_settings first). When the service has an age rule (eligibility
|
|
27
27
|
* in list_offerings), ask the patient's date of birth and pass
|
|
28
28
|
* patientBirthDate; never infer age from a name or document type. The booking
|
|
@@ -31,107 +31,39 @@ export interface Client {
|
|
|
31
31
|
* printable slip PDF (with the service's indications) to send them as a file.
|
|
32
32
|
*/
|
|
33
33
|
create(request: CreateRequest, options?: RequestOptions): Promise<CreateResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* Find the first available times for a service
|
|
36
|
-
*
|
|
37
|
-
* Find the truly nearest bookable times for one service, in ONE call, across
|
|
38
|
-
* every professional, room or equipment that offers it (up to 50 agendas).
|
|
39
|
-
* Leave days out: the search then reaches as far as the service can be booked
|
|
40
|
-
* (its booking horizon, up to a year) and stops at the first `limit` slots,
|
|
41
|
-
* so an opening months away is found at once. Do not page week by week. An
|
|
42
|
-
* empty data list means there is no opening within that reach (searchedUntil
|
|
43
|
-
* says how far it looked); offer the waitlist instead. Pass days only to look
|
|
44
|
-
* at a shorter stretch. group 'time' (default) returns the earliest slots
|
|
45
|
-
* overall, and nextFrom only for more slots after these; group 'offering'
|
|
46
|
-
* returns each agenda's first slots. Use limit 1–3 to quote the nearest time.
|
|
47
|
-
* Each slotToken books with create_appointment.
|
|
48
|
-
*/
|
|
49
|
-
findNearestSlots(request: FindNearestSlotsRequest, options?: RequestOptions): Promise<FindNearestSlotsResponse>;
|
|
50
|
-
/**
|
|
51
|
-
* Find scheduling availability
|
|
52
|
-
*
|
|
53
|
-
* Find available slots for one offering, earliest first, a page at a time:
|
|
54
|
-
* follow pageInfo.nextCursor for later ones. The returned slotToken is
|
|
55
|
-
* required to create the appointment.
|
|
56
|
-
*/
|
|
57
|
-
findSlots(request: FindSlotsRequest, options?: RequestOptions): Promise<FindSlotsResponse>;
|
|
58
34
|
/**
|
|
59
35
|
* Get an appointment
|
|
60
36
|
*
|
|
61
|
-
* Read one appointment by its id: when it starts and ends, its
|
|
62
|
-
* patient, the agendas (resourceIds), the intake and guidance
|
|
63
|
-
* current patientInstructions, arrivalOrder, who attends it
|
|
64
|
-
* its address) to tell the patient, and slip: a link, valid
|
|
65
|
-
* its printable slip PDF to send them as a file.
|
|
37
|
+
* Read one appointment by its id, appointmentId: when it starts and ends, its
|
|
38
|
+
* status, the patient, the agendas (resourceIds), the intake and guidance
|
|
39
|
+
* (the service's current patientInstructions, arrivalOrder, who attends it
|
|
40
|
+
* and the site with its address) to tell the patient, and slip: a link, valid
|
|
41
|
+
* for an hour, to its printable slip PDF to send them as a file.
|
|
66
42
|
*/
|
|
67
43
|
get(request: GetRequest, options?: RequestOptions): Promise<GetResponse>;
|
|
68
44
|
/**
|
|
69
|
-
*
|
|
45
|
+
* Look up a patient's appointments
|
|
70
46
|
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
* patients, so never book them; use add_to_waitlist with reason payer_review
|
|
80
|
-
* instead. An empty payer match does not establish coverage.
|
|
47
|
+
* Find a patient by their exact documentNumber (and documentType, such as CC
|
|
48
|
+
* or TI, when known) and list their appointments, newest first, each with id,
|
|
49
|
+
* start, status and agendas; upcoming ones also carry guidance
|
|
50
|
+
* (patientInstructions, arrivalOrder, who attends and the site's address).
|
|
51
|
+
* Use it before cancelling or rescheduling; found=false means no patient has
|
|
52
|
+
* that document. When several patients share the number under different
|
|
53
|
+
* types, patients lists them and appointments is empty: ask which one and
|
|
54
|
+
* call again with documentType.
|
|
81
55
|
*/
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* List a patient's appointments
|
|
85
|
-
*
|
|
86
|
-
* Find a patient by their exact document number (and type, e.g. CC or TI,
|
|
87
|
-
* when known) and list their appointments, newest first, each with id, start,
|
|
88
|
-
* status and agendas; upcoming ones also carry guidance (patientInstructions,
|
|
89
|
-
* arrivalOrder, who attends and the site's address). Use it before cancelling
|
|
90
|
-
* or rescheduling; found=false means no patient has that document. When
|
|
91
|
-
* several patients share the number under different types, patients lists
|
|
92
|
-
* them and appointments is empty: ask which one and call again with
|
|
93
|
-
* documentType.
|
|
94
|
-
*/
|
|
95
|
-
list(request: ListRequest, options?: RequestOptions): Promise<ListResponse>;
|
|
96
|
-
/**
|
|
97
|
-
* List sites
|
|
98
|
-
*
|
|
99
|
-
* List the organization's sites (sedes), a page at a time: follow
|
|
100
|
-
* pageInfo.nextCursor for more. Pass a site's id as locationId to
|
|
101
|
-
* find_first_available to search only its agendas.
|
|
102
|
-
*/
|
|
103
|
-
listLocations(request?: ListLocationsRequest, options?: RequestOptions): Promise<ListLocationsResponse>;
|
|
56
|
+
lookup(request?: LookupRequest, options?: RequestOptions): Promise<LookupResponse>;
|
|
104
57
|
/**
|
|
105
58
|
* Reschedule an appointment
|
|
106
59
|
*
|
|
107
60
|
* Move one appointment to a new time after the person confirms it. First find
|
|
108
61
|
* the new time with find_availability or find_first_available for the same
|
|
109
62
|
* service (another professional or room of that service is fine), then pass
|
|
110
|
-
* that slotToken and the appointment
|
|
111
|
-
* refused: the appointment keeps its service.
|
|
63
|
+
* that slotToken and the appointment as appointmentId. A slot of another
|
|
64
|
+
* service is refused: the appointment keeps its service.
|
|
112
65
|
*/
|
|
113
66
|
reschedule(request: RescheduleRequest, options?: RequestOptions): Promise<RescheduleResponse>;
|
|
114
|
-
/**
|
|
115
|
-
* Search bookable offerings
|
|
116
|
-
*
|
|
117
|
-
* Search active bookable offerings by query (e.g. electroencefalograma,
|
|
118
|
-
* neurología), exact serviceId or locationId. Pass the known service name
|
|
119
|
-
* instead of loading the whole catalog. Returns a compact page with
|
|
120
|
-
* offering/service ids, agendas, sites, current bookingChecklist, staff
|
|
121
|
-
* guidance (description), patientInstructions, eligibility (the ages a
|
|
122
|
-
* service takes, in completed years on the appointment day; null for any age)
|
|
123
|
-
* and occupationMinutes (how long the patient stays when longer than the
|
|
124
|
-
* appointment, e.g. a 12-hour study). Check these requirements against known
|
|
125
|
-
* patient facts before slots or booking; explain patient instructions, and
|
|
126
|
-
* ask only for missing required facts. When eligibility is set, ask the
|
|
127
|
-
* patient's date of birth before booking and pass it as patientBirthDate. If
|
|
128
|
-
* exactly one location applies, use it automatically without asking the
|
|
129
|
-
* patient to choose a site; provide its address for arrival or booking
|
|
130
|
-
* confirmation. Never infer age from a name or document type. A listed
|
|
131
|
-
* service does not establish payer coverage. Follow pageInfo.nextCursor only
|
|
132
|
-
* if needed.
|
|
133
|
-
*/
|
|
134
|
-
searchOfferings(request?: SearchOfferingsRequest, options?: RequestOptions): Promise<SearchOfferingsResponse>;
|
|
135
67
|
}
|
|
136
68
|
export declare function createClient(options: ClientOptions): Client;
|
|
137
69
|
export declare function bind(transport: Transport): Client;
|
|
@@ -140,7 +72,7 @@ export interface CancelRequest {
|
|
|
140
72
|
* Stable eng-prefixed Scheduling record identifier; ownership is checked in
|
|
141
73
|
* the authenticated organization.
|
|
142
74
|
*/
|
|
143
|
-
|
|
75
|
+
appointmentId: string;
|
|
144
76
|
/**
|
|
145
77
|
* The conversation's channel, set by the platform. It changes nothing in
|
|
146
78
|
* Agenda; omit it.
|
|
@@ -188,7 +120,12 @@ export interface CreateRequest {
|
|
|
188
120
|
* Patient identity copied into the booking; null when no patient identity was
|
|
189
121
|
* supplied.
|
|
190
122
|
*/
|
|
191
|
-
patient?:
|
|
123
|
+
patient?: {
|
|
124
|
+
document?: string | null;
|
|
125
|
+
documentNumber?: string | null;
|
|
126
|
+
documentType?: string | null;
|
|
127
|
+
name: string;
|
|
128
|
+
} | null;
|
|
192
129
|
/**
|
|
193
130
|
* Patient-supplied date of birth (YYYY-MM-DD), stored on the record and
|
|
194
131
|
* checked against service age eligibility.
|
|
@@ -211,122 +148,12 @@ export interface CreateResponse {
|
|
|
211
148
|
metadata: AgendaResponseMetadata;
|
|
212
149
|
success: true;
|
|
213
150
|
}
|
|
214
|
-
export interface FindNearestSlotsRequest {
|
|
215
|
-
/**
|
|
216
|
-
* The conversation's channel, set by the platform. It changes nothing in
|
|
217
|
-
* Agenda; omit it.
|
|
218
|
-
*/
|
|
219
|
-
channel?: "voice" | "whatsapp" | "web";
|
|
220
|
-
/**
|
|
221
|
-
* The platform's id for the organization's Agenda, set by the platform. An
|
|
222
|
-
* organization has one Agenda, so it selects nothing; omit it.
|
|
223
|
-
*/
|
|
224
|
-
connectionId?: string;
|
|
225
|
-
/**
|
|
226
|
-
* Days to search; absent: as far as the service can be booked.
|
|
227
|
-
*/
|
|
228
|
-
days?: number;
|
|
229
|
-
/**
|
|
230
|
-
* Start of the search; defaults to now.
|
|
231
|
-
*/
|
|
232
|
-
from?: Temporal.Instant;
|
|
233
|
-
/**
|
|
234
|
-
* Group first availability globally by time or return a separate
|
|
235
|
-
* earliest-slot set for each offering.
|
|
236
|
-
*/
|
|
237
|
-
group?: "time" | "offering";
|
|
238
|
-
/**
|
|
239
|
-
* Maximum returned slots overall or per offering according to group; defaults
|
|
240
|
-
* to 20 and cannot exceed 50.
|
|
241
|
-
*/
|
|
242
|
-
limit?: number;
|
|
243
|
-
/**
|
|
244
|
-
* Only agendas at this site (and those not tied to any site).
|
|
245
|
-
*/
|
|
246
|
-
locationId?: string;
|
|
247
|
-
/**
|
|
248
|
-
* Only agendas that can use this professional, room or equipment.
|
|
249
|
-
*/
|
|
250
|
-
resourceId?: string;
|
|
251
|
-
/**
|
|
252
|
-
* Service identifier within the authenticated organization.
|
|
253
|
-
*/
|
|
254
|
-
serviceId: string;
|
|
255
|
-
/**
|
|
256
|
-
* IANA timezone used to interpret local dates and agenda working hours.
|
|
257
|
-
*/
|
|
258
|
-
timezone: string;
|
|
259
|
-
}
|
|
260
|
-
export interface FindNearestSlotsResponse {
|
|
261
|
-
data: AgendaFirstAvailability;
|
|
262
|
-
error: null;
|
|
263
|
-
metadata: AgendaResponseMetadata;
|
|
264
|
-
success: true;
|
|
265
|
-
}
|
|
266
|
-
export interface FindSlotsRequest {
|
|
267
|
-
/**
|
|
268
|
-
* The conversation's channel, set by the platform. It changes nothing in
|
|
269
|
-
* Agenda; omit it.
|
|
270
|
-
*/
|
|
271
|
-
channel?: "voice" | "whatsapp" | "web";
|
|
272
|
-
/**
|
|
273
|
-
* The platform's id for the organization's Agenda, set by the platform. An
|
|
274
|
-
* organization has one Agenda, so it selects nothing; omit it.
|
|
275
|
-
*/
|
|
276
|
-
connectionId?: string;
|
|
277
|
-
/**
|
|
278
|
-
* Opaque cursor returned by pageInfo; omit it to request the first page.
|
|
279
|
-
*/
|
|
280
|
-
cursor?: string;
|
|
281
|
-
/**
|
|
282
|
-
* Direction to traverse the stable keyset ordering from the supplied cursor.
|
|
283
|
-
*/
|
|
284
|
-
direction?: "forward" | "backward";
|
|
285
|
-
/**
|
|
286
|
-
* Exclude allocations belonging to this appointment while evaluating a
|
|
287
|
-
* proposed reschedule.
|
|
288
|
-
*/
|
|
289
|
-
excludeAppointmentId?: string;
|
|
290
|
-
/**
|
|
291
|
-
* Inclusive beginning of the requested instant range.
|
|
292
|
-
*/
|
|
293
|
-
from: Temporal.Instant;
|
|
294
|
-
/**
|
|
295
|
-
* Maximum items returned in one page. Defaults to 25; larger reads require
|
|
296
|
-
* another cursor.
|
|
297
|
-
*/
|
|
298
|
-
limit?: number;
|
|
299
|
-
/**
|
|
300
|
-
* Required service offering whose available signed slots are searched within
|
|
301
|
-
* the requested interval.
|
|
302
|
-
*/
|
|
303
|
-
offeringId: string;
|
|
304
|
-
/**
|
|
305
|
-
* Preferred agendas considered first while satisfying the offering resource
|
|
306
|
-
* requirements.
|
|
307
|
-
*/
|
|
308
|
-
preferredResourceIds?: string[];
|
|
309
|
-
/**
|
|
310
|
-
* IANA timezone used to interpret local dates and agenda working hours.
|
|
311
|
-
*/
|
|
312
|
-
timezone: string;
|
|
313
|
-
/**
|
|
314
|
-
* Exclusive end of the requested instant range.
|
|
315
|
-
*/
|
|
316
|
-
to: Temporal.Instant;
|
|
317
|
-
}
|
|
318
|
-
export interface FindSlotsResponse {
|
|
319
|
-
data: AgendaSlotPage;
|
|
320
|
-
error: null;
|
|
321
|
-
metadata: AgendaResponseMetadata;
|
|
322
|
-
success: true;
|
|
323
|
-
}
|
|
324
151
|
export interface GetRequest {
|
|
325
152
|
/**
|
|
326
153
|
* Stable eng-prefixed Scheduling record identifier; ownership is checked in
|
|
327
154
|
* the authenticated organization.
|
|
328
155
|
*/
|
|
329
|
-
|
|
156
|
+
appointmentId: string;
|
|
330
157
|
/**
|
|
331
158
|
* The conversation's channel, set by the platform. It changes nothing in
|
|
332
159
|
* Agenda; omit it.
|
|
@@ -344,12 +171,7 @@ export interface GetResponse {
|
|
|
344
171
|
metadata: AgendaResponseMetadata;
|
|
345
172
|
success: true;
|
|
346
173
|
}
|
|
347
|
-
export interface
|
|
348
|
-
/**
|
|
349
|
-
* Known payer name to narrow the active payer list; an empty match never
|
|
350
|
-
* establishes coverage.
|
|
351
|
-
*/
|
|
352
|
-
payerQuery?: string;
|
|
174
|
+
export interface LookupRequest {
|
|
353
175
|
/**
|
|
354
176
|
* The conversation's channel, set by the platform. It changes nothing in
|
|
355
177
|
* Agenda; omit it.
|
|
@@ -360,104 +182,24 @@ export interface GetRequirementsRequest {
|
|
|
360
182
|
* organization has one Agenda, so it selects nothing; omit it.
|
|
361
183
|
*/
|
|
362
184
|
connectionId?: string;
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
minMinutes: number;
|
|
370
|
-
stepMinutes: 1 | 5 | 10 | 15 | 20 | 30 | 60;
|
|
371
|
-
};
|
|
372
|
-
customFields: {
|
|
373
|
-
help: string | null;
|
|
374
|
-
key: string;
|
|
375
|
-
label: string;
|
|
376
|
-
options: string[];
|
|
377
|
-
required: boolean;
|
|
378
|
-
status: "active" | "archived";
|
|
379
|
-
type: "text" | "number" | "date" | "select" | "checkbox";
|
|
380
|
-
}[];
|
|
381
|
-
documentTypes: {
|
|
382
|
-
code: string;
|
|
383
|
-
description: string;
|
|
384
|
-
name: string;
|
|
385
|
-
status: "active" | "inactive";
|
|
386
|
-
}[];
|
|
387
|
-
fields: {
|
|
388
|
-
authorization: "off" | "optional" | "required";
|
|
389
|
-
conversationUrl: "off" | "optional";
|
|
390
|
-
document: "optional" | "required";
|
|
391
|
-
email: "off" | "optional" | "required";
|
|
392
|
-
notes: "off" | "optional" | "required";
|
|
393
|
-
payer: "off" | "optional" | "required";
|
|
394
|
-
phone: "off" | "optional" | "required";
|
|
395
|
-
priority: "off" | "on";
|
|
396
|
-
};
|
|
397
|
-
labels: {
|
|
398
|
-
authorization: {
|
|
399
|
-
label: string;
|
|
400
|
-
placeholder: string;
|
|
401
|
-
};
|
|
402
|
-
document: {
|
|
403
|
-
label: string;
|
|
404
|
-
placeholder: string;
|
|
405
|
-
};
|
|
406
|
-
email: {
|
|
407
|
-
label: string;
|
|
408
|
-
placeholder: string;
|
|
409
|
-
};
|
|
410
|
-
name: {
|
|
411
|
-
label: string;
|
|
412
|
-
placeholder: string;
|
|
413
|
-
};
|
|
414
|
-
notes: {
|
|
415
|
-
label: string;
|
|
416
|
-
placeholder: string;
|
|
417
|
-
};
|
|
418
|
-
phone: {
|
|
419
|
-
label: string;
|
|
420
|
-
placeholder: string;
|
|
421
|
-
};
|
|
422
|
-
};
|
|
423
|
-
object: "scheduling.intake_settings";
|
|
424
|
-
payerLabel: string;
|
|
425
|
-
payers: {
|
|
426
|
-
bookingPolicy: "open" | "staff_only";
|
|
427
|
-
name: string;
|
|
428
|
-
sites: string[];
|
|
429
|
-
sitesNote: string | null;
|
|
430
|
-
}[];
|
|
431
|
-
updatedAt: string | null;
|
|
432
|
-
version: number;
|
|
433
|
-
};
|
|
434
|
-
error: null;
|
|
435
|
-
metadata: AgendaResponseMetadata;
|
|
436
|
-
success: true;
|
|
437
|
-
}
|
|
438
|
-
export interface ListRequest {
|
|
185
|
+
/**
|
|
186
|
+
* Deprecated: use `documentNumber`. Answered until 2027-01-28.
|
|
187
|
+
*
|
|
188
|
+
* @deprecated
|
|
189
|
+
*/
|
|
190
|
+
document?: string;
|
|
439
191
|
/**
|
|
440
192
|
* Exact patient document number; normalized for matching, with documentType
|
|
441
193
|
* needed when multiple types share the number.
|
|
442
194
|
*/
|
|
443
|
-
|
|
195
|
+
documentNumber?: string;
|
|
444
196
|
/**
|
|
445
197
|
* Document-type code from the organization’s configured active types. Input
|
|
446
198
|
* is trimmed and uppercased.
|
|
447
199
|
*/
|
|
448
200
|
documentType?: string;
|
|
449
|
-
/**
|
|
450
|
-
* The conversation's channel, set by the platform. It changes nothing in
|
|
451
|
-
* Agenda; omit it.
|
|
452
|
-
*/
|
|
453
|
-
channel?: "voice" | "whatsapp" | "web";
|
|
454
|
-
/**
|
|
455
|
-
* The platform's id for the organization's Agenda, set by the platform. An
|
|
456
|
-
* organization has one Agenda, so it selects nothing; omit it.
|
|
457
|
-
*/
|
|
458
|
-
connectionId?: string;
|
|
459
201
|
}
|
|
460
|
-
export interface
|
|
202
|
+
export interface LookupResponse {
|
|
461
203
|
data: {
|
|
462
204
|
appointments: {
|
|
463
205
|
endsAt: string;
|
|
@@ -479,6 +221,7 @@ export interface ListResponse {
|
|
|
479
221
|
city: string | null;
|
|
480
222
|
createdAt: string;
|
|
481
223
|
document: string | null;
|
|
224
|
+
documentNumber: string | null;
|
|
482
225
|
documentType: string | null;
|
|
483
226
|
email: string | null;
|
|
484
227
|
entity: string | null;
|
|
@@ -499,6 +242,7 @@ export interface ListResponse {
|
|
|
499
242
|
};
|
|
500
243
|
patients?: {
|
|
501
244
|
document: string | null;
|
|
245
|
+
documentNumber: string | null;
|
|
502
246
|
documentType: string | null;
|
|
503
247
|
id: string;
|
|
504
248
|
name: string;
|
|
@@ -508,43 +252,12 @@ export interface ListResponse {
|
|
|
508
252
|
metadata: AgendaResponseMetadata;
|
|
509
253
|
success: true;
|
|
510
254
|
}
|
|
511
|
-
export interface ListLocationsRequest {
|
|
512
|
-
/**
|
|
513
|
-
* Opaque cursor returned by pageInfo; omit it to request the first page.
|
|
514
|
-
*/
|
|
515
|
-
cursor?: string;
|
|
516
|
-
/**
|
|
517
|
-
* Direction to traverse the stable keyset ordering from the supplied cursor.
|
|
518
|
-
*/
|
|
519
|
-
direction?: "forward" | "backward";
|
|
520
|
-
/**
|
|
521
|
-
* Maximum items returned in one page. Defaults to 25; larger reads require
|
|
522
|
-
* another cursor.
|
|
523
|
-
*/
|
|
524
|
-
limit?: number;
|
|
525
|
-
/**
|
|
526
|
-
* The conversation's channel, set by the platform. It changes nothing in
|
|
527
|
-
* Agenda; omit it.
|
|
528
|
-
*/
|
|
529
|
-
channel?: "voice" | "whatsapp" | "web";
|
|
530
|
-
/**
|
|
531
|
-
* The platform's id for the organization's Agenda, set by the platform. An
|
|
532
|
-
* organization has one Agenda, so it selects nothing; omit it.
|
|
533
|
-
*/
|
|
534
|
-
connectionId?: string;
|
|
535
|
-
}
|
|
536
|
-
export interface ListLocationsResponse {
|
|
537
|
-
data: AgendaLocationPage;
|
|
538
|
-
error: null;
|
|
539
|
-
metadata: AgendaResponseMetadata;
|
|
540
|
-
success: true;
|
|
541
|
-
}
|
|
542
255
|
export interface RescheduleRequest {
|
|
543
256
|
/**
|
|
544
257
|
* Stable eng-prefixed Scheduling record identifier; ownership is checked in
|
|
545
258
|
* the authenticated organization.
|
|
546
259
|
*/
|
|
547
|
-
|
|
260
|
+
appointmentId: string;
|
|
548
261
|
/**
|
|
549
262
|
* The conversation's channel, set by the platform. It changes nothing in
|
|
550
263
|
* Agenda; omit it.
|
|
@@ -567,47 +280,3 @@ export interface RescheduleResponse {
|
|
|
567
280
|
metadata: AgendaResponseMetadata;
|
|
568
281
|
success: true;
|
|
569
282
|
}
|
|
570
|
-
export interface SearchOfferingsRequest {
|
|
571
|
-
/**
|
|
572
|
-
* The conversation's channel, set by the platform. It changes nothing in
|
|
573
|
-
* Agenda; omit it.
|
|
574
|
-
*/
|
|
575
|
-
channel?: "voice" | "whatsapp" | "web";
|
|
576
|
-
/**
|
|
577
|
-
* The platform's id for the organization's Agenda, set by the platform. An
|
|
578
|
-
* organization has one Agenda, so it selects nothing; omit it.
|
|
579
|
-
*/
|
|
580
|
-
connectionId?: string;
|
|
581
|
-
/**
|
|
582
|
-
* Opaque cursor returned by pageInfo; omit it to request the first page.
|
|
583
|
-
*/
|
|
584
|
-
cursor?: string;
|
|
585
|
-
/**
|
|
586
|
-
* Direction to traverse the stable keyset ordering from the supplied cursor.
|
|
587
|
-
*/
|
|
588
|
-
direction?: "forward" | "backward";
|
|
589
|
-
/**
|
|
590
|
-
* Maximum items returned in one page. Defaults to 10; larger reads require
|
|
591
|
-
* another cursor.
|
|
592
|
-
*/
|
|
593
|
-
limit?: number;
|
|
594
|
-
/**
|
|
595
|
-
* Clinic site associated with this record; null means it is not tied to a
|
|
596
|
-
* site.
|
|
597
|
-
*/
|
|
598
|
-
locationId?: string;
|
|
599
|
-
/**
|
|
600
|
-
* Free-text filter applied to this collection.
|
|
601
|
-
*/
|
|
602
|
-
query?: string;
|
|
603
|
-
/**
|
|
604
|
-
* Service whose bookable offerings or appointments are addressed.
|
|
605
|
-
*/
|
|
606
|
-
serviceId?: string;
|
|
607
|
-
}
|
|
608
|
-
export interface SearchOfferingsResponse {
|
|
609
|
-
data: AgendaBookableOfferingPage;
|
|
610
|
-
error: null;
|
|
611
|
-
metadata: AgendaResponseMetadata;
|
|
612
|
-
success: true;
|
|
613
|
-
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Code generated by forge. DO NOT EDIT.
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
import { Transport, date,
|
|
4
|
-
import { AgendaAppointmentCodec,
|
|
3
|
+
import { Transport, date, object, } from "../../_/index.js";
|
|
4
|
+
import { AgendaAppointmentCodec, } from "../models.js";
|
|
5
5
|
import { AgendaBookingCodec, } from "./models.js";
|
|
6
6
|
export function createClient(options) {
|
|
7
7
|
return bind(new Transport(options));
|
|
@@ -10,19 +10,14 @@ export function bind(transport) {
|
|
|
10
10
|
return {
|
|
11
11
|
cancel: (request, options) => transport.send(CancelOperation, request, options),
|
|
12
12
|
create: (request, options) => transport.send(CreateOperation, request, options),
|
|
13
|
-
findNearestSlots: (request, options) => transport.send(FindNearestSlotsOperation, request, options),
|
|
14
|
-
findSlots: (request, options) => transport.send(FindSlotsOperation, request, options),
|
|
15
13
|
get: (request, options) => transport.send(GetOperation, request, options),
|
|
16
|
-
|
|
17
|
-
list: (request, options) => transport.send(ListOperation, request, options),
|
|
18
|
-
listLocations: (request, options) => transport.send(ListLocationsOperation, request, options),
|
|
14
|
+
lookup: (request, options) => transport.send(LookupOperation, request, options),
|
|
19
15
|
reschedule: (request, options) => transport.send(RescheduleOperation, request, options),
|
|
20
|
-
searchOfferings: (request, options) => transport.send(SearchOfferingsOperation, request, options),
|
|
21
16
|
};
|
|
22
17
|
}
|
|
23
18
|
const CancelOperation = {
|
|
24
19
|
method: "POST",
|
|
25
|
-
route: "/v1/agenda/bookings/{
|
|
20
|
+
route: "/v1/agenda/bookings/{appointmentId}/cancel",
|
|
26
21
|
body: "flat",
|
|
27
22
|
response: object([["data", null, () => AgendaAppointmentCodec]]),
|
|
28
23
|
errors: { "400": true, "401": true, "403": true, "404": true, "405": true, "409": true, "413": true, "415": true, "426": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
@@ -35,61 +30,24 @@ const CreateOperation = {
|
|
|
35
30
|
response: object([["data", null, () => AgendaBookingCodec]]),
|
|
36
31
|
errors: { "400": true, "401": true, "403": true, "404": true, "405": true, "409": true, "413": true, "415": true, "426": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
37
32
|
};
|
|
38
|
-
const FindNearestSlotsOperation = {
|
|
39
|
-
method: "POST",
|
|
40
|
-
route: "/v1/agenda/bookings/find-nearest-slots",
|
|
41
|
-
body: "flat",
|
|
42
|
-
request: object([["from", null, instant]]),
|
|
43
|
-
response: object([["data", null, () => AgendaFirstAvailabilityCodec]]),
|
|
44
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "405": true, "409": true, "413": true, "415": true, "426": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
45
|
-
};
|
|
46
|
-
const FindSlotsOperation = {
|
|
47
|
-
method: "POST",
|
|
48
|
-
route: "/v1/agenda/bookings/find-slots",
|
|
49
|
-
body: "flat",
|
|
50
|
-
request: object([["from", null, instant], ["to", null, instant]]),
|
|
51
|
-
response: object([["data", null, () => AgendaSlotPageCodec]]),
|
|
52
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "405": true, "409": true, "413": true, "415": true, "426": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
53
|
-
};
|
|
54
33
|
const GetOperation = {
|
|
55
34
|
method: "GET",
|
|
56
|
-
route: "/v1/agenda/bookings/{
|
|
35
|
+
route: "/v1/agenda/bookings/{appointmentId}",
|
|
57
36
|
query: { channel: "channel", connectionId: "connectionId" },
|
|
58
37
|
response: object([["data", null, () => AgendaBookingCodec]]),
|
|
59
38
|
errors: { "400": true, "401": true, "403": true, "404": true, "405": true, "409": true, "413": true, "415": true, "426": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
60
39
|
};
|
|
61
|
-
const
|
|
62
|
-
method: "
|
|
63
|
-
route: "/v1/agenda/bookings/
|
|
64
|
-
|
|
65
|
-
response: null,
|
|
66
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "405": true, "409": true, "413": true, "415": true, "426": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
67
|
-
};
|
|
68
|
-
const ListOperation = {
|
|
69
|
-
method: "GET",
|
|
70
|
-
route: "/v1/agenda/bookings",
|
|
71
|
-
query: { document: "document", documentType: "documentType", channel: "channel", connectionId: "connectionId" },
|
|
40
|
+
const LookupOperation = {
|
|
41
|
+
method: "POST",
|
|
42
|
+
route: "/v1/agenda/bookings/lookup",
|
|
43
|
+
body: "flat",
|
|
72
44
|
response: null,
|
|
73
45
|
errors: { "400": true, "401": true, "403": true, "404": true, "405": true, "409": true, "413": true, "415": true, "426": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
74
46
|
};
|
|
75
|
-
const ListLocationsOperation = {
|
|
76
|
-
method: "GET",
|
|
77
|
-
route: "/v1/agenda/bookings/list-locations",
|
|
78
|
-
query: { cursor: "cursor", direction: "direction", limit: "limit", channel: "channel", connectionId: "connectionId" },
|
|
79
|
-
response: object([["data", null, () => AgendaLocationPageCodec]]),
|
|
80
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "405": true, "409": true, "413": true, "415": true, "426": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
81
|
-
};
|
|
82
47
|
const RescheduleOperation = {
|
|
83
48
|
method: "POST",
|
|
84
|
-
route: "/v1/agenda/bookings/{
|
|
49
|
+
route: "/v1/agenda/bookings/{appointmentId}/reschedule",
|
|
85
50
|
body: "flat",
|
|
86
51
|
response: object([["data", null, () => AgendaBookingCodec]]),
|
|
87
52
|
errors: { "400": true, "401": true, "403": true, "404": true, "405": true, "409": true, "413": true, "415": true, "426": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
88
53
|
};
|
|
89
|
-
const SearchOfferingsOperation = {
|
|
90
|
-
method: "POST",
|
|
91
|
-
route: "/v1/agenda/bookings/search-offerings",
|
|
92
|
-
body: "flat",
|
|
93
|
-
response: null,
|
|
94
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "405": true, "409": true, "413": true, "415": true, "426": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
95
|
-
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ApiError } from "../../_/index.js";
|
|
2
2
|
export type { RequestOptions } from "../../_/index.js";
|
|
3
3
|
export { createClient } from "./client.js";
|
|
4
|
-
export type { Client, ClientOptions, CancelRequest, CancelResponse, CreateRequest, CreateResponse,
|
|
5
|
-
export type { AgendaAppointmentGuidance,
|
|
4
|
+
export type { Client, ClientOptions, CancelRequest, CancelResponse, CreateRequest, CreateResponse, GetRequest, GetResponse, LookupRequest, LookupResponse, RescheduleRequest, RescheduleResponse, } from "./client.js";
|
|
5
|
+
export type { AgendaAppointmentGuidance, AgendaBooking, } from "./models.js";
|