@arbol-ai/sdk 3.0.1 → 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 +35 -0
- package/dist/account/apiKeys/client.d.ts +15 -47
- package/dist/account/apiKeys/client.js +11 -12
- package/dist/account/apiKeys/index.d.ts +1 -1
- package/dist/account/apiKeys/models.d.ts +164 -1
- package/dist/account/apiKeys/models.js +6 -0
- package/dist/account/billing/client.d.ts +4 -10
- package/dist/account/billing/client.js +7 -7
- package/dist/account/billing/index.d.ts +2 -2
- package/dist/account/billing/models.d.ts +32 -0
- package/dist/account/billing/models.js +5 -2
- package/dist/account/billingProfiles/client.d.ts +13 -24
- package/dist/account/billingProfiles/client.js +4 -4
- package/dist/account/billingProfiles/index.d.ts +1 -1
- package/dist/account/billingProfiles/models.d.ts +48 -0
- package/dist/account/client.d.ts +6 -0
- package/dist/account/client.js +15 -0
- package/dist/account/connections/client.d.ts +2 -200
- package/dist/account/connections/client.js +1 -25
- package/dist/account/connections/index.d.ts +2 -2
- package/dist/account/connections/models.d.ts +22 -7
- package/dist/account/index.d.ts +1 -1
- package/dist/account/invitations/client.d.ts +9 -38
- package/dist/account/invitations/client.js +8 -9
- package/dist/account/invitations/index.d.ts +1 -1
- package/dist/account/invitations/models.d.ts +221 -2
- package/dist/account/invitations/models.js +6 -0
- package/dist/account/invoiceDocuments/client.d.ts +25 -0
- package/dist/account/invoiceDocuments/client.js +17 -0
- package/dist/account/invoiceDocuments/index.d.ts +5 -0
- package/dist/account/invoiceDocuments/index.js +4 -0
- package/dist/account/invoiceDocuments/models.d.ts +35 -0
- package/dist/account/invoiceDocuments/models.js +3 -0
- package/dist/account/invoices/client.d.ts +7 -34
- package/dist/account/invoices/client.js +7 -14
- package/dist/account/invoices/index.d.ts +2 -2
- package/dist/account/invoices/models.d.ts +66 -1
- package/dist/account/invoices/models.js +8 -0
- package/dist/account/members/client.d.ts +14 -55
- package/dist/account/members/client.js +6 -7
- package/dist/account/members/index.d.ts +1 -1
- package/dist/account/members/models.d.ts +261 -2
- package/dist/account/models.d.ts +210 -259
- package/dist/account/organization/client.d.ts +31 -0
- package/dist/account/organization/client.js +25 -0
- package/dist/account/organization/index.d.ts +5 -0
- package/dist/account/organization/index.js +4 -0
- package/dist/account/organization/models.d.ts +89 -0
- package/dist/account/organization/models.js +3 -0
- package/dist/account/organizations/client.d.ts +2 -48
- package/dist/account/organizations/client.js +1 -16
- package/dist/account/organizations/index.d.ts +2 -2
- package/dist/account/organizations/models.d.ts +26 -37
- package/dist/account/payments/client.d.ts +2 -8
- package/dist/account/payments/client.js +4 -4
- package/dist/account/payments/index.d.ts +1 -1
- package/dist/account/payments/models.d.ts +28 -1
- package/dist/account/payments/models.js +3 -0
- package/dist/account/permissions/client.d.ts +2 -8
- package/dist/account/permissions/client.js +1 -1
- package/dist/account/permissions/index.d.ts +1 -1
- package/dist/account/permissions/models.d.ts +27 -1
- package/dist/account/roles/client.d.ts +2 -8
- package/dist/account/roles/client.js +1 -1
- package/dist/account/roles/index.d.ts +1 -1
- package/dist/account/roles/models.d.ts +27 -1
- package/dist/account/usage/client.d.ts +7 -44
- package/dist/account/usage/client.js +5 -13
- package/dist/account/usage/index.d.ts +2 -2
- package/dist/account/usage/models.d.ts +27 -1
- package/dist/account/usageSummary/client.d.ts +26 -0
- package/dist/account/usageSummary/client.js +19 -0
- package/dist/account/usageSummary/index.d.ts +5 -0
- package/dist/account/usageSummary/index.js +4 -0
- package/dist/account/usageSummary/models.d.ts +50 -0
- package/dist/account/usageSummary/models.js +9 -0
- package/dist/account/walletTransactions/client.d.ts +2 -8
- package/dist/account/walletTransactions/client.js +4 -4
- package/dist/account/walletTransactions/index.d.ts +1 -1
- package/dist/account/walletTransactions/models.d.ts +28 -1
- package/dist/account/walletTransactions/models.js +3 -0
- package/dist/agenda/appointments/client.d.ts +170 -58
- package/dist/agenda/appointments/client.js +19 -11
- package/dist/agenda/appointments/index.d.ts +1 -1
- package/dist/agenda/availability/client.d.ts +12 -74
- 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 +49 -381
- 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/locations/client.d.ts +2 -3
- package/dist/agenda/locations/client.js +1 -1
- package/dist/agenda/models.d.ts +26 -95
- 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 +6 -6
- 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 +6 -6
- package/dist/agenda/resources/client.js +1 -1
- package/dist/agenda/scheduleRules/client.d.ts +129 -89
- 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 +6 -6
- package/dist/agenda/services/client.js +1 -1
- package/dist/agenda/waitlist/client.d.ts +42 -32
- 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 -44
- 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 +245 -164
- 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 -41
- 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 +196 -129
- 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 +354 -5
- package/dist/models.js +6 -0
- package/dist/nuevaEps/affiliations/client.js +1 -1
- package/dist/nuevaEps/affiliations/models.d.ts +11 -9
- package/dist/nuevaEps/connections/client.d.ts +10 -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 +22 -80
- package/dist/nuevaEps/connections/models.js +1 -8
- package/dist/nuevaEps/index.d.ts +1 -1
- package/dist/nuevaEps/models.d.ts +2 -101
- package/dist/orsovision/agencies/models.d.ts +8 -8
- package/dist/orsovision/appointments/client.d.ts +3 -3
- package/dist/orsovision/appointments/index.d.ts +1 -1
- package/dist/orsovision/appointments/models.d.ts +8 -32
- package/dist/orsovision/availability/index.d.ts +1 -1
- package/dist/orsovision/availability/models.d.ts +9 -20
- package/dist/orsovision/clinic/index.d.ts +1 -1
- package/dist/orsovision/clinic/models.d.ts +9 -8
- package/dist/orsovision/contracts/index.d.ts +1 -1
- package/dist/orsovision/contracts/models.d.ts +6 -30
- package/dist/orsovision/index.d.ts +1 -1
- package/dist/orsovision/models.d.ts +1 -162
- package/dist/orsovision/patients/client.d.ts +4 -4
- package/dist/orsovision/patients/index.d.ts +1 -1
- package/dist/orsovision/patients/models.d.ts +17 -27
- package/dist/orsovision/services/index.d.ts +1 -1
- package/dist/orsovision/services/models.d.ts +6 -30
- package/dist/orsovision/tools/index.d.ts +1 -1
- package/dist/orsovision/tools/models.d.ts +9 -8
- package/dist/raiz/agents/client.d.ts +5 -6
- package/dist/raiz/bulletins/client.d.ts +7 -6
- package/dist/raiz/campaigns/client.d.ts +5 -6
- package/dist/raiz/changes/client.d.ts +2 -2
- package/dist/raiz/channels/client.d.ts +9 -9
- package/dist/raiz/contacts/client.d.ts +7 -8
- package/dist/raiz/contacts/client.js +1 -1
- package/dist/raiz/conversations/client.d.ts +8 -8
- package/dist/raiz/definitions/client.d.ts +5 -5
- package/dist/raiz/evalCases/client.d.ts +4 -4
- package/dist/raiz/evalRuns/client.d.ts +3 -4
- package/dist/raiz/facts/client.d.ts +3 -4
- package/dist/raiz/facts/client.js +1 -1
- package/dist/raiz/index.d.ts +1 -1
- package/dist/raiz/knowledge/client.d.ts +6 -7
- package/dist/raiz/models.d.ts +8 -2
- package/dist/raiz/organization/client.d.ts +4 -5
- package/dist/raiz/profiles/client.d.ts +5 -6
- package/dist/raiz/reports/client.d.ts +2 -2
- package/dist/raiz/suppressions/client.d.ts +3 -4
- package/dist/raiz/tasks/client.d.ts +5 -6
- package/dist/raiz/tasks/client.js +1 -1
- package/dist/raiz/templates/client.d.ts +3 -4
- package/dist/raiz/voices/client.d.ts +2 -2
- package/dist/somos/appointments/client.d.ts +3 -3
- package/dist/somos/appointments/index.d.ts +1 -1
- package/dist/somos/appointments/models.d.ts +14 -12
- package/dist/somos/availability/index.d.ts +1 -1
- package/dist/somos/availability/models.d.ts +9 -20
- package/dist/somos/clinic/index.d.ts +1 -1
- package/dist/somos/clinic/models.d.ts +9 -8
- package/dist/somos/contracts/index.d.ts +1 -1
- package/dist/somos/contracts/models.d.ts +9 -20
- package/dist/somos/groups/models.d.ts +9 -9
- package/dist/somos/index.d.ts +1 -1
- package/dist/somos/models.d.ts +12 -151
- package/dist/somos/patients/client.d.ts +4 -4
- package/dist/somos/patients/index.d.ts +1 -1
- package/dist/somos/patients/models.d.ts +20 -17
- package/dist/somos/services/index.d.ts +1 -1
- package/dist/somos/services/models.d.ts +15 -26
- package/dist/somos/specialtyRules/client.d.ts +2 -2
- package/dist/somos/specialtyRules/models.d.ts +7 -7
- package/dist/somos/tools/index.d.ts +1 -1
- package/dist/somos/tools/models.d.ts +9 -8
- package/dist/sura/affiliations/client.d.ts +3 -36
- 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 -328
- 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 -44
- 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 -69
- 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 -97
- 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 -41
- 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 -142
- package/dist/sura/models.js +20 -1
- package/dist/sura/operations/client.d.ts +2 -8
- 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 -41
- 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 -10
- 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 -9
- 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/appointments/index.d.ts +1 -1
- package/dist/visoft/appointments/models.d.ts +8 -32
- package/dist/visoft/availability/models.d.ts +6 -6
- package/dist/visoft/clinic/models.d.ts +3 -2
- package/dist/visoft/clinics/models.d.ts +3 -3
- package/dist/visoft/connections/client.d.ts +3 -2
- package/dist/visoft/connections/index.d.ts +1 -1
- package/dist/visoft/connections/models.d.ts +4 -17
- package/dist/visoft/contracts/index.d.ts +1 -1
- package/dist/visoft/contracts/models.d.ts +4 -16
- package/dist/visoft/index.d.ts +1 -1
- package/dist/visoft/models.d.ts +2 -176
- package/dist/visoft/patients/index.d.ts +1 -1
- package/dist/visoft/patients/models.d.ts +10 -38
- package/dist/visoft/professionals/models.d.ts +5 -5
- package/dist/visoft/serviceCatalogs/models.d.ts +6 -6
- package/dist/visoft/services/index.d.ts +1 -1
- package/dist/visoft/services/models.d.ts +5 -17
- package/package.json +3 -3
|
@@ -12,7 +12,7 @@ export function bind(transport) {
|
|
|
12
12
|
const ListOperation = {
|
|
13
13
|
method: "GET",
|
|
14
14
|
route: "/v1/gmedic/agenda-services",
|
|
15
|
-
query: { cursor: "cursor", direction: "direction", limit: "limit",
|
|
15
|
+
query: { cursor: "cursor", direction: "direction", limit: "limit", serviceId: "serviceId", connectionId: "connectionId", id: "id" },
|
|
16
16
|
response: null,
|
|
17
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "
|
|
17
|
+
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "422": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
18
18
|
};
|
|
@@ -2,4 +2,4 @@ export { ApiError } from "../../_/index.js";
|
|
|
2
2
|
export type { RequestOptions } from "../../_/index.js";
|
|
3
3
|
export { createClient } from "./client.js";
|
|
4
4
|
export type { Client, ClientOptions, ListRequest, ListResponse, } from "./client.js";
|
|
5
|
-
export type { GmedicAgendaServicesPage } from "./models.js";
|
|
5
|
+
export type { GmedicAgendaServicesPage, GmedicAgendaServicesPageResponse, GmedicListAgendaServicesBadGatewayError, GmedicListAgendaServicesBadGatewayFailure, GmedicListAgendaServicesNotFoundError, GmedicListAgendaServicesNotFoundFailure, GmedicListAgendaServicesServiceUnavailableError, GmedicListAgendaServicesServiceUnavailableFailure, } from "./models.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { PageInfo } from "../../models.js";
|
|
1
|
+
import type { OutcomeUnknownFailure, PageInfo, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { GmedicCatalogSearchIncompleteFailure, GmedicConnectionNotFoundFailure, GmedicProviderAccessRejectedFailure, GmedicProviderResponseInvalidFailure, GmedicProviderUnavailableFailure, GmedicRecordNotFoundFailure } from "../models.js";
|
|
2
3
|
export interface GmedicAgendaServicesPage {
|
|
3
4
|
/**
|
|
4
5
|
* Items admitted by this resource contract within the verified organization.
|
|
@@ -26,3 +27,54 @@ export interface GmedicAgendaServicesPage {
|
|
|
26
27
|
*/
|
|
27
28
|
pageInfo: PageInfo;
|
|
28
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* A successful answer.
|
|
32
|
+
*/
|
|
33
|
+
export interface GmedicAgendaServicesPageResponse {
|
|
34
|
+
data: GmedicAgendaServicesPage;
|
|
35
|
+
error: null;
|
|
36
|
+
/**
|
|
37
|
+
* What every answer carries besides its data or error.
|
|
38
|
+
*/
|
|
39
|
+
metadata: ResponseMetadata;
|
|
40
|
+
success: true;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* A failed answer.
|
|
44
|
+
*/
|
|
45
|
+
export interface GmedicListAgendaServicesBadGatewayError {
|
|
46
|
+
data: null;
|
|
47
|
+
error: GmedicListAgendaServicesBadGatewayFailure;
|
|
48
|
+
/**
|
|
49
|
+
* What every answer carries besides its data or error.
|
|
50
|
+
*/
|
|
51
|
+
metadata: ResponseMetadata;
|
|
52
|
+
success: false;
|
|
53
|
+
}
|
|
54
|
+
export type GmedicListAgendaServicesBadGatewayFailure = OutcomeUnknownFailure | GmedicProviderAccessRejectedFailure | GmedicProviderResponseInvalidFailure;
|
|
55
|
+
/**
|
|
56
|
+
* A failed answer.
|
|
57
|
+
*/
|
|
58
|
+
export interface GmedicListAgendaServicesNotFoundError {
|
|
59
|
+
data: null;
|
|
60
|
+
error: GmedicListAgendaServicesNotFoundFailure;
|
|
61
|
+
/**
|
|
62
|
+
* What every answer carries besides its data or error.
|
|
63
|
+
*/
|
|
64
|
+
metadata: ResponseMetadata;
|
|
65
|
+
success: false;
|
|
66
|
+
}
|
|
67
|
+
export type GmedicListAgendaServicesNotFoundFailure = GmedicConnectionNotFoundFailure | GmedicRecordNotFoundFailure;
|
|
68
|
+
/**
|
|
69
|
+
* A failed answer.
|
|
70
|
+
*/
|
|
71
|
+
export interface GmedicListAgendaServicesServiceUnavailableError {
|
|
72
|
+
data: null;
|
|
73
|
+
error: GmedicListAgendaServicesServiceUnavailableFailure;
|
|
74
|
+
/**
|
|
75
|
+
* What every answer carries besides its data or error.
|
|
76
|
+
*/
|
|
77
|
+
metadata: ResponseMetadata;
|
|
78
|
+
success: false;
|
|
79
|
+
}
|
|
80
|
+
export type GmedicListAgendaServicesServiceUnavailableFailure = UpstreamUnavailableFailure | GmedicCatalogSearchIncompleteFailure | GmedicProviderUnavailableFailure;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
3
|
-
import type { GmedicAgendasPage } from "./models.js";
|
|
2
|
+
import type { GmedicAgendasPageResponse } from "./models.js";
|
|
4
3
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
4
|
/**
|
|
6
5
|
* The URL the paths of the API are relative to.
|
|
@@ -37,13 +36,21 @@ export interface ListRequest {
|
|
|
37
36
|
* unknown; one physical site never implies id 1.
|
|
38
37
|
*/
|
|
39
38
|
branchOfficeId?: string;
|
|
40
|
-
|
|
39
|
+
/**
|
|
40
|
+
* The agenda id.
|
|
41
|
+
*/
|
|
42
|
+
agendaId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The service id.
|
|
45
|
+
*/
|
|
41
46
|
serviceId?: string;
|
|
47
|
+
/**
|
|
48
|
+
* The connection id.
|
|
49
|
+
*/
|
|
42
50
|
connectionId?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Deprecated: use `agendaId`. Answered until 2027-01-28.
|
|
53
|
+
*/
|
|
54
|
+
id?: string;
|
|
43
55
|
}
|
|
44
|
-
export
|
|
45
|
-
data: GmedicAgendasPage;
|
|
46
|
-
error: null;
|
|
47
|
-
metadata: ResponseMetadata;
|
|
48
|
-
success: true;
|
|
49
|
-
}
|
|
56
|
+
export type ListResponse = GmedicAgendasPageResponse;
|
|
@@ -12,7 +12,7 @@ export function bind(transport) {
|
|
|
12
12
|
const ListOperation = {
|
|
13
13
|
method: "GET",
|
|
14
14
|
route: "/v1/gmedic/agendas",
|
|
15
|
-
query: { cursor: "cursor", direction: "direction", limit: "limit", branchOfficeId: "branchOfficeId",
|
|
15
|
+
query: { cursor: "cursor", direction: "direction", limit: "limit", branchOfficeId: "branchOfficeId", agendaId: "agendaId", serviceId: "serviceId", connectionId: "connectionId", id: "id" },
|
|
16
16
|
response: null,
|
|
17
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "
|
|
17
|
+
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "422": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
18
18
|
};
|
|
@@ -2,4 +2,4 @@ export { ApiError } from "../../_/index.js";
|
|
|
2
2
|
export type { RequestOptions } from "../../_/index.js";
|
|
3
3
|
export { createClient } from "./client.js";
|
|
4
4
|
export type { Client, ClientOptions, ListRequest, ListResponse, } from "./client.js";
|
|
5
|
-
export type { GmedicAgendasPage } from "./models.js";
|
|
5
|
+
export type { GmedicAgendasPage, GmedicAgendasPageResponse, GmedicListAgendasBadGatewayError, GmedicListAgendasBadGatewayFailure, GmedicListAgendasNotFoundError, GmedicListAgendasNotFoundFailure, GmedicListAgendasServiceUnavailableError, GmedicListAgendasServiceUnavailableFailure, } from "./models.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { PageInfo } from "../../models.js";
|
|
1
|
+
import type { OutcomeUnknownFailure, PageInfo, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { GmedicCatalogSearchIncompleteFailure, GmedicConnectionNotFoundFailure, GmedicProviderAccessRejectedFailure, GmedicProviderResponseInvalidFailure, GmedicProviderUnavailableFailure, GmedicRecordNotFoundFailure } from "../models.js";
|
|
2
3
|
export interface GmedicAgendasPage {
|
|
3
4
|
/**
|
|
4
5
|
* Items admitted by this resource contract within the verified organization.
|
|
@@ -30,3 +31,54 @@ export interface GmedicAgendasPage {
|
|
|
30
31
|
*/
|
|
31
32
|
pageInfo: PageInfo;
|
|
32
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* A successful answer.
|
|
36
|
+
*/
|
|
37
|
+
export interface GmedicAgendasPageResponse {
|
|
38
|
+
data: GmedicAgendasPage;
|
|
39
|
+
error: null;
|
|
40
|
+
/**
|
|
41
|
+
* What every answer carries besides its data or error.
|
|
42
|
+
*/
|
|
43
|
+
metadata: ResponseMetadata;
|
|
44
|
+
success: true;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* A failed answer.
|
|
48
|
+
*/
|
|
49
|
+
export interface GmedicListAgendasBadGatewayError {
|
|
50
|
+
data: null;
|
|
51
|
+
error: GmedicListAgendasBadGatewayFailure;
|
|
52
|
+
/**
|
|
53
|
+
* What every answer carries besides its data or error.
|
|
54
|
+
*/
|
|
55
|
+
metadata: ResponseMetadata;
|
|
56
|
+
success: false;
|
|
57
|
+
}
|
|
58
|
+
export type GmedicListAgendasBadGatewayFailure = OutcomeUnknownFailure | GmedicProviderAccessRejectedFailure | GmedicProviderResponseInvalidFailure;
|
|
59
|
+
/**
|
|
60
|
+
* A failed answer.
|
|
61
|
+
*/
|
|
62
|
+
export interface GmedicListAgendasNotFoundError {
|
|
63
|
+
data: null;
|
|
64
|
+
error: GmedicListAgendasNotFoundFailure;
|
|
65
|
+
/**
|
|
66
|
+
* What every answer carries besides its data or error.
|
|
67
|
+
*/
|
|
68
|
+
metadata: ResponseMetadata;
|
|
69
|
+
success: false;
|
|
70
|
+
}
|
|
71
|
+
export type GmedicListAgendasNotFoundFailure = GmedicConnectionNotFoundFailure | GmedicRecordNotFoundFailure;
|
|
72
|
+
/**
|
|
73
|
+
* A failed answer.
|
|
74
|
+
*/
|
|
75
|
+
export interface GmedicListAgendasServiceUnavailableError {
|
|
76
|
+
data: null;
|
|
77
|
+
error: GmedicListAgendasServiceUnavailableFailure;
|
|
78
|
+
/**
|
|
79
|
+
* What every answer carries besides its data or error.
|
|
80
|
+
*/
|
|
81
|
+
metadata: ResponseMetadata;
|
|
82
|
+
success: false;
|
|
83
|
+
}
|
|
84
|
+
export type GmedicListAgendasServiceUnavailableFailure = UpstreamUnavailableFailure | GmedicCatalogSearchIncompleteFailure | GmedicProviderUnavailableFailure;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type
|
|
3
|
-
import { type GmedicAppointmentsPage } from "./models.js";
|
|
2
|
+
import { type GmedicAppointmentsPageResponse, type GmedicCreateAppointmentBody, type GmedicCreateAppointmentResultResponse, type GmedicUpdateAppointmentBody, type GmedicUpdateAppointmentResultResponse } from "./models.js";
|
|
4
3
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
4
|
/**
|
|
6
5
|
* The URL the paths of the API are relative to.
|
|
@@ -32,135 +31,8 @@ export interface Client {
|
|
|
32
31
|
}
|
|
33
32
|
export declare function createClient(options: ClientOptions): Client;
|
|
34
33
|
export declare function bind(transport: Transport): Client;
|
|
35
|
-
export
|
|
36
|
-
|
|
37
|
-
data: {
|
|
38
|
-
agendaId: string;
|
|
39
|
-
allDay?: boolean;
|
|
40
|
-
attentionTypeId?: string;
|
|
41
|
-
authorization?: string;
|
|
42
|
-
authorizationSessions?: number;
|
|
43
|
-
block?: boolean;
|
|
44
|
-
branchOfficeId?: string;
|
|
45
|
-
colorId?: string;
|
|
46
|
-
consultationPurposeId?: string;
|
|
47
|
-
cupCode?: string;
|
|
48
|
-
currentSessions?: string;
|
|
49
|
-
description?: string;
|
|
50
|
-
desiredDate?: string;
|
|
51
|
-
endDate: string;
|
|
52
|
-
externalCauseId?: string;
|
|
53
|
-
invoice?: string;
|
|
54
|
-
location?: string;
|
|
55
|
-
medicalAuthorizationId?: string;
|
|
56
|
-
medicalServiceId?: string;
|
|
57
|
-
modality?: string;
|
|
58
|
-
notificationMail?: string;
|
|
59
|
-
notificationNumber?: string;
|
|
60
|
-
patientId: string;
|
|
61
|
-
serviceId?: string;
|
|
62
|
-
serviceModalityId?: string;
|
|
63
|
-
servicesGroupId?: string;
|
|
64
|
-
startDate: string;
|
|
65
|
-
stateId?: string;
|
|
66
|
-
title: string;
|
|
67
|
-
viaEntryId?: string;
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
export interface CreateResponse {
|
|
71
|
-
data: {
|
|
72
|
-
agendaId?: string | null;
|
|
73
|
-
agendaName?: string | null;
|
|
74
|
-
allDay?: boolean | null;
|
|
75
|
-
appointmentColor?: {
|
|
76
|
-
id: string;
|
|
77
|
-
label?: string | null;
|
|
78
|
-
name?: string | null;
|
|
79
|
-
value?: string | null;
|
|
80
|
-
} | null;
|
|
81
|
-
authorization?: string | null;
|
|
82
|
-
authorizationSessions?: number | null;
|
|
83
|
-
block?: boolean | null;
|
|
84
|
-
branchOffice?: string | null;
|
|
85
|
-
consultationPurposeCode?: string | null;
|
|
86
|
-
consultationPurposeId?: string | null;
|
|
87
|
-
consultationPurposeName?: string | null;
|
|
88
|
-
creationDate?: string | null;
|
|
89
|
-
cupCode?: string | null;
|
|
90
|
-
cupName?: string | null;
|
|
91
|
-
currentSessions?: string | null;
|
|
92
|
-
date?: string | null;
|
|
93
|
-
description?: string | null;
|
|
94
|
-
desiredDate?: string | null;
|
|
95
|
-
endDate?: string | null;
|
|
96
|
-
entidad?: string | null;
|
|
97
|
-
externalCauseCode?: string | null;
|
|
98
|
-
externalCauseId?: string | null;
|
|
99
|
-
externalCauseName?: string | null;
|
|
100
|
-
id: string;
|
|
101
|
-
invoice?: string | null;
|
|
102
|
-
key?: string | null;
|
|
103
|
-
location?: string | null;
|
|
104
|
-
mainAttendantDocumentType?: {
|
|
105
|
-
id: string;
|
|
106
|
-
label?: string | null;
|
|
107
|
-
name?: string | null;
|
|
108
|
-
value?: string | null;
|
|
109
|
-
} | null;
|
|
110
|
-
mainAttendantEmail?: string | null;
|
|
111
|
-
mainAttendantId?: string | null;
|
|
112
|
-
mainAttendantIdentification?: string | null;
|
|
113
|
-
mainAttendantMobile?: string | null;
|
|
114
|
-
mainAttendantName?: string | null;
|
|
115
|
-
mainAttendantPhone?: string | null;
|
|
116
|
-
mainDiagnosticCode?: string | null;
|
|
117
|
-
mainDiagnosticName?: string | null;
|
|
118
|
-
medicalAuthorizationId?: string | null;
|
|
119
|
-
medicalServiceCode?: string | null;
|
|
120
|
-
medicalServiceId?: string | null;
|
|
121
|
-
medicalServiceName?: string | null;
|
|
122
|
-
meetUrl?: string | null;
|
|
123
|
-
modality?: "FACE_TO_FACE" | "VIRTUAL" | "HOME_VISIT" | "NOT_APPLICABLE" | null;
|
|
124
|
-
modificationDate?: string | null;
|
|
125
|
-
opportunityIndicator?: number | null;
|
|
126
|
-
personCreator?: string | null;
|
|
127
|
-
readOnly?: boolean | null;
|
|
128
|
-
rejectReason?: {
|
|
129
|
-
id: string;
|
|
130
|
-
label?: string | null;
|
|
131
|
-
name?: string | null;
|
|
132
|
-
value?: string | null;
|
|
133
|
-
} | null;
|
|
134
|
-
selfServiceAllowCancel?: boolean | null;
|
|
135
|
-
selfServiceAllowReschedule?: boolean | null;
|
|
136
|
-
service?: string | null;
|
|
137
|
-
serviceId?: string | null;
|
|
138
|
-
serviceModalityCode?: string | null;
|
|
139
|
-
serviceModalityId?: string | null;
|
|
140
|
-
serviceModalityName?: string | null;
|
|
141
|
-
servicesGroupCode?: string | null;
|
|
142
|
-
servicesGroupId?: string | null;
|
|
143
|
-
servicesGroupName?: string | null;
|
|
144
|
-
startDate?: string | null;
|
|
145
|
-
state?: {
|
|
146
|
-
id: string;
|
|
147
|
-
label?: string | null;
|
|
148
|
-
name?: string | null;
|
|
149
|
-
value?: string | null;
|
|
150
|
-
} | null;
|
|
151
|
-
time?: string | null;
|
|
152
|
-
title?: string | null;
|
|
153
|
-
userObjectId?: string | null;
|
|
154
|
-
userType?: string | null;
|
|
155
|
-
viaEntryCode?: string | null;
|
|
156
|
-
viaEntryId?: string | null;
|
|
157
|
-
viaEntryName?: string | null;
|
|
158
|
-
videocallProvider?: string | null;
|
|
159
|
-
};
|
|
160
|
-
error: null;
|
|
161
|
-
metadata: ResponseMetadata;
|
|
162
|
-
success: true;
|
|
163
|
-
}
|
|
34
|
+
export type CreateRequest = GmedicCreateAppointmentBody;
|
|
35
|
+
export type CreateResponse = GmedicCreateAppointmentResultResponse;
|
|
164
36
|
export interface ListRequest {
|
|
165
37
|
/**
|
|
166
38
|
* Opaque cursor returned by pageInfo; omit it to request the first page.
|
|
@@ -175,119 +47,40 @@ export interface ListRequest {
|
|
|
175
47
|
* another cursor.
|
|
176
48
|
*/
|
|
177
49
|
limit?: number;
|
|
50
|
+
/**
|
|
51
|
+
* The agenda id.
|
|
52
|
+
*/
|
|
178
53
|
agendaId?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The date.
|
|
56
|
+
*/
|
|
179
57
|
date?: string;
|
|
180
|
-
|
|
58
|
+
/**
|
|
59
|
+
* The appointment id.
|
|
60
|
+
*/
|
|
61
|
+
appointmentId?: string;
|
|
62
|
+
/**
|
|
63
|
+
* The patient id.
|
|
64
|
+
*/
|
|
181
65
|
patientId?: string;
|
|
66
|
+
/**
|
|
67
|
+
* The pending.
|
|
68
|
+
*/
|
|
182
69
|
pending?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* The connection id.
|
|
72
|
+
*/
|
|
183
73
|
connectionId?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Deprecated: use `appointmentId`. Answered until 2027-01-28.
|
|
76
|
+
*/
|
|
77
|
+
id?: string;
|
|
184
78
|
}
|
|
185
|
-
export
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
connectionId?: string;
|
|
194
|
-
endDate?: string;
|
|
195
|
-
id: string;
|
|
196
|
-
rejectReasonCode?: string;
|
|
197
|
-
startDate?: string;
|
|
198
|
-
status?: "SCHEDULED" | "ATTENDED" | "UNATTENDED" | "CANCELED" | "PENALIZED" | "CONFIRMED" | "DECLINED";
|
|
199
|
-
}
|
|
200
|
-
export interface UpdateResponse {
|
|
201
|
-
data: {
|
|
202
|
-
agendaId?: string | null;
|
|
203
|
-
agendaName?: string | null;
|
|
204
|
-
allDay?: boolean | null;
|
|
205
|
-
appointmentColor?: {
|
|
206
|
-
id: string;
|
|
207
|
-
label?: string | null;
|
|
208
|
-
name?: string | null;
|
|
209
|
-
value?: string | null;
|
|
210
|
-
} | null;
|
|
211
|
-
authorization?: string | null;
|
|
212
|
-
authorizationSessions?: number | null;
|
|
213
|
-
block?: boolean | null;
|
|
214
|
-
branchOffice?: string | null;
|
|
215
|
-
consultationPurposeCode?: string | null;
|
|
216
|
-
consultationPurposeId?: string | null;
|
|
217
|
-
consultationPurposeName?: string | null;
|
|
218
|
-
creationDate?: string | null;
|
|
219
|
-
cupCode?: string | null;
|
|
220
|
-
cupName?: string | null;
|
|
221
|
-
currentSessions?: string | null;
|
|
222
|
-
date?: string | null;
|
|
223
|
-
description?: string | null;
|
|
224
|
-
desiredDate?: string | null;
|
|
225
|
-
endDate?: string | null;
|
|
226
|
-
entidad?: string | null;
|
|
227
|
-
externalCauseCode?: string | null;
|
|
228
|
-
externalCauseId?: string | null;
|
|
229
|
-
externalCauseName?: string | null;
|
|
230
|
-
id: string;
|
|
231
|
-
invoice?: string | null;
|
|
232
|
-
key?: string | null;
|
|
233
|
-
location?: string | null;
|
|
234
|
-
mainAttendantDocumentType?: {
|
|
235
|
-
id: string;
|
|
236
|
-
label?: string | null;
|
|
237
|
-
name?: string | null;
|
|
238
|
-
value?: string | null;
|
|
239
|
-
} | null;
|
|
240
|
-
mainAttendantEmail?: string | null;
|
|
241
|
-
mainAttendantId?: string | null;
|
|
242
|
-
mainAttendantIdentification?: string | null;
|
|
243
|
-
mainAttendantMobile?: string | null;
|
|
244
|
-
mainAttendantName?: string | null;
|
|
245
|
-
mainAttendantPhone?: string | null;
|
|
246
|
-
mainDiagnosticCode?: string | null;
|
|
247
|
-
mainDiagnosticName?: string | null;
|
|
248
|
-
medicalAuthorizationId?: string | null;
|
|
249
|
-
medicalServiceCode?: string | null;
|
|
250
|
-
medicalServiceId?: string | null;
|
|
251
|
-
medicalServiceName?: string | null;
|
|
252
|
-
meetUrl?: string | null;
|
|
253
|
-
modality?: "FACE_TO_FACE" | "VIRTUAL" | "HOME_VISIT" | "NOT_APPLICABLE" | null;
|
|
254
|
-
modificationDate?: string | null;
|
|
255
|
-
opportunityIndicator?: number | null;
|
|
256
|
-
personCreator?: string | null;
|
|
257
|
-
readOnly?: boolean | null;
|
|
258
|
-
rejectReason?: {
|
|
259
|
-
id: string;
|
|
260
|
-
label?: string | null;
|
|
261
|
-
name?: string | null;
|
|
262
|
-
value?: string | null;
|
|
263
|
-
} | null;
|
|
264
|
-
selfServiceAllowCancel?: boolean | null;
|
|
265
|
-
selfServiceAllowReschedule?: boolean | null;
|
|
266
|
-
service?: string | null;
|
|
267
|
-
serviceId?: string | null;
|
|
268
|
-
serviceModalityCode?: string | null;
|
|
269
|
-
serviceModalityId?: string | null;
|
|
270
|
-
serviceModalityName?: string | null;
|
|
271
|
-
servicesGroupCode?: string | null;
|
|
272
|
-
servicesGroupId?: string | null;
|
|
273
|
-
servicesGroupName?: string | null;
|
|
274
|
-
startDate?: string | null;
|
|
275
|
-
state?: {
|
|
276
|
-
id: string;
|
|
277
|
-
label?: string | null;
|
|
278
|
-
name?: string | null;
|
|
279
|
-
value?: string | null;
|
|
280
|
-
} | null;
|
|
281
|
-
time?: string | null;
|
|
282
|
-
title?: string | null;
|
|
283
|
-
userObjectId?: string | null;
|
|
284
|
-
userType?: string | null;
|
|
285
|
-
viaEntryCode?: string | null;
|
|
286
|
-
viaEntryId?: string | null;
|
|
287
|
-
viaEntryName?: string | null;
|
|
288
|
-
videocallProvider?: string | null;
|
|
289
|
-
};
|
|
290
|
-
error: null;
|
|
291
|
-
metadata: ResponseMetadata;
|
|
292
|
-
success: true;
|
|
293
|
-
}
|
|
79
|
+
export type ListResponse = GmedicAppointmentsPageResponse;
|
|
80
|
+
export type UpdateRequest = {
|
|
81
|
+
/**
|
|
82
|
+
* The appointment id.
|
|
83
|
+
*/
|
|
84
|
+
appointmentId: string;
|
|
85
|
+
} & GmedicUpdateAppointmentBody;
|
|
86
|
+
export type UpdateResponse = GmedicUpdateAppointmentResultResponse;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Code generated by forge. DO NOT EDIT.
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
import { Transport,
|
|
4
|
-
import {
|
|
3
|
+
import { Transport, } from "../../_/index.js";
|
|
4
|
+
import { GmedicAppointmentsPageResponseCodec, GmedicCreateAppointmentBodyCodec, GmedicCreateAppointmentResultResponseCodec, GmedicUpdateAppointmentBodyCodec, GmedicUpdateAppointmentResultResponseCodec, } from "./models.js";
|
|
5
5
|
export function createClient(options) {
|
|
6
6
|
return bind(new Transport(options));
|
|
7
7
|
}
|
|
@@ -16,20 +16,22 @@ const CreateOperation = {
|
|
|
16
16
|
method: "POST",
|
|
17
17
|
route: "/v1/gmedic/appointments",
|
|
18
18
|
body: "flat",
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
request: GmedicCreateAppointmentBodyCodec,
|
|
20
|
+
response: GmedicCreateAppointmentResultResponseCodec,
|
|
21
|
+
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "413": true, "415": true, "422": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
21
22
|
};
|
|
22
23
|
const ListOperation = {
|
|
23
24
|
method: "GET",
|
|
24
25
|
route: "/v1/gmedic/appointments",
|
|
25
|
-
query: { cursor: "cursor", direction: "direction", limit: "limit", agendaId: "agendaId", date: "date",
|
|
26
|
-
response:
|
|
27
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "
|
|
26
|
+
query: { cursor: "cursor", direction: "direction", limit: "limit", agendaId: "agendaId", date: "date", appointmentId: "appointmentId", patientId: "patientId", pending: "pending", connectionId: "connectionId", id: "id" },
|
|
27
|
+
response: GmedicAppointmentsPageResponseCodec,
|
|
28
|
+
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "422": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
28
29
|
};
|
|
29
30
|
const UpdateOperation = {
|
|
30
31
|
method: "PATCH",
|
|
31
|
-
route: "/v1/gmedic/appointments",
|
|
32
|
+
route: "/v1/gmedic/appointments/{appointmentId}",
|
|
32
33
|
body: "flat",
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
request: GmedicUpdateAppointmentBodyCodec,
|
|
35
|
+
response: GmedicUpdateAppointmentResultResponseCodec,
|
|
36
|
+
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "413": true, "415": true, "422": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
35
37
|
};
|
|
@@ -2,4 +2,4 @@ export { ApiError } from "../../_/index.js";
|
|
|
2
2
|
export type { RequestOptions } from "../../_/index.js";
|
|
3
3
|
export { createClient } from "./client.js";
|
|
4
4
|
export type { Client, ClientOptions, CreateRequest, CreateResponse, ListRequest, ListResponse, UpdateRequest, UpdateResponse, } from "./client.js";
|
|
5
|
-
export type { GmedicAppointmentsPage } from "./models.js";
|
|
5
|
+
export type { GmedicAppointmentNotFoundFailure, GmedicAppointmentsPage, GmedicAppointmentsPageResponse, GmedicCreateAppointmentBadGatewayError, GmedicCreateAppointmentBadGatewayFailure, GmedicCreateAppointmentBody, GmedicCreateAppointmentNotFoundError, GmedicCreateAppointmentNotFoundFailure, GmedicCreateAppointmentResult, GmedicCreateAppointmentResultResponse, GmedicCreateAppointmentServiceUnavailableError, GmedicCreateAppointmentServiceUnavailableFailure, GmedicListAppointmentsBadGatewayError, GmedicListAppointmentsBadGatewayFailure, GmedicListAppointmentsNotFoundError, GmedicListAppointmentsNotFoundFailure, GmedicListAppointmentsServiceUnavailableError, GmedicListAppointmentsServiceUnavailableFailure, GmedicUpdateAppointmentBadGatewayError, GmedicUpdateAppointmentBadGatewayFailure, GmedicUpdateAppointmentBody, GmedicUpdateAppointmentNotFoundError, GmedicUpdateAppointmentNotFoundFailure, GmedicUpdateAppointmentResult, GmedicUpdateAppointmentResultResponse, GmedicUpdateAppointmentServiceUnavailableError, GmedicUpdateAppointmentServiceUnavailableFailure, } from "./models.js";
|