@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
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import type { ForbiddenFailure, OutcomeUnknownFailure, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { AxxaAccountMismatchFailure, AxxaCaptchaPausedFailure, AxxaCaptchaUnavailableFailure, AxxaLoginCooldownFailure, AxxaLoginRejectedFailure, AxxaNotConfiguredFailure, AxxaPortalChangedFailure, AxxaPortalUnavailableFailure, AxxaSessionBusyFailure, AxxaSessionRequiredFailure } from "../models.js";
|
|
3
|
+
/**
|
|
4
|
+
* A failed answer.
|
|
5
|
+
*/
|
|
6
|
+
export interface AxxaLookupEligibilityBadGatewayError {
|
|
7
|
+
data: null;
|
|
8
|
+
error: AxxaLookupEligibilityBadGatewayFailure;
|
|
9
|
+
/**
|
|
10
|
+
* What every answer carries besides its data or error.
|
|
11
|
+
*/
|
|
12
|
+
metadata: ResponseMetadata;
|
|
13
|
+
success: false;
|
|
14
|
+
}
|
|
15
|
+
export type AxxaLookupEligibilityBadGatewayFailure = OutcomeUnknownFailure | AxxaPortalChangedFailure;
|
|
16
|
+
export interface AxxaLookupEligibilityBody {
|
|
17
|
+
connectionId?: string;
|
|
18
|
+
documentNumber: string;
|
|
19
|
+
documentType: "CC" | "CE" | "TI" | "RC" | "PA";
|
|
20
|
+
serviceType: "outpatient" | "emergency" | "laboratory" | "therapy" | "radiology" | "other";
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* A failed answer.
|
|
24
|
+
*/
|
|
25
|
+
export interface AxxaLookupEligibilityConflictError {
|
|
26
|
+
data: null;
|
|
27
|
+
error: AxxaLookupEligibilityConflictFailure;
|
|
28
|
+
/**
|
|
29
|
+
* What every answer carries besides its data or error.
|
|
30
|
+
*/
|
|
31
|
+
metadata: ResponseMetadata;
|
|
32
|
+
success: false;
|
|
33
|
+
}
|
|
34
|
+
export type AxxaLookupEligibilityConflictFailure = AxxaNotConfiguredFailure | AxxaSessionRequiredFailure | AxxaSessionBusyFailure;
|
|
35
|
+
/**
|
|
36
|
+
* A failed answer.
|
|
37
|
+
*/
|
|
38
|
+
export interface AxxaLookupEligibilityForbiddenError {
|
|
39
|
+
data: null;
|
|
40
|
+
error: AxxaLookupEligibilityForbiddenFailure;
|
|
41
|
+
/**
|
|
42
|
+
* What every answer carries besides its data or error.
|
|
43
|
+
*/
|
|
44
|
+
metadata: ResponseMetadata;
|
|
45
|
+
success: false;
|
|
46
|
+
}
|
|
47
|
+
export type AxxaLookupEligibilityForbiddenFailure = ForbiddenFailure | AxxaLoginRejectedFailure | AxxaAccountMismatchFailure;
|
|
48
|
+
/**
|
|
49
|
+
* Observed plan/validation result for this service category. This does not
|
|
50
|
+
* establish coverage for a CUPS, active authorization, or a voucher amount.
|
|
51
|
+
*/
|
|
52
|
+
export interface AxxaLookupEligibilityResult {
|
|
53
|
+
plans: {
|
|
54
|
+
contractNumber: string;
|
|
55
|
+
name: string;
|
|
56
|
+
notice: string | null;
|
|
57
|
+
}[];
|
|
58
|
+
status: "plans_found" | "validation_required";
|
|
59
|
+
validationMessages: string[];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* A successful answer.
|
|
63
|
+
*/
|
|
64
|
+
export interface AxxaLookupEligibilityResultResponse {
|
|
65
|
+
/**
|
|
66
|
+
* Observed plan/validation result for this service category. This does not
|
|
67
|
+
* establish coverage for a CUPS, active authorization, or a voucher amount.
|
|
68
|
+
*/
|
|
69
|
+
data: AxxaLookupEligibilityResult;
|
|
70
|
+
error: null;
|
|
71
|
+
/**
|
|
72
|
+
* What every answer carries besides its data or error.
|
|
73
|
+
*/
|
|
74
|
+
metadata: ResponseMetadata;
|
|
75
|
+
success: true;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* A failed answer.
|
|
79
|
+
*/
|
|
80
|
+
export interface AxxaLookupEligibilityServiceUnavailableError {
|
|
81
|
+
data: null;
|
|
82
|
+
error: AxxaLookupEligibilityServiceUnavailableFailure;
|
|
83
|
+
/**
|
|
84
|
+
* What every answer carries besides its data or error.
|
|
85
|
+
*/
|
|
86
|
+
metadata: ResponseMetadata;
|
|
87
|
+
success: false;
|
|
88
|
+
}
|
|
89
|
+
export type AxxaLookupEligibilityServiceUnavailableFailure = UpstreamUnavailableFailure | AxxaCaptchaUnavailableFailure | AxxaCaptchaPausedFailure | AxxaPortalUnavailableFailure;
|
|
90
|
+
/**
|
|
91
|
+
* A failed answer.
|
|
92
|
+
*/
|
|
93
|
+
export interface AxxaLookupEligibilityTooManyRequestsError {
|
|
94
|
+
data: null;
|
|
95
|
+
error: AxxaLookupEligibilityTooManyRequestsFailure;
|
|
96
|
+
/**
|
|
97
|
+
* What every answer carries besides its data or error.
|
|
98
|
+
*/
|
|
99
|
+
metadata: ResponseMetadata;
|
|
100
|
+
success: false;
|
|
101
|
+
}
|
|
102
|
+
export type AxxaLookupEligibilityTooManyRequestsFailure = RateLimitedFailure | AxxaLoginCooldownFailure;
|
package/dist/axxa/index.d.ts
CHANGED
|
@@ -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, } from "./client.js";
|
|
5
|
-
export type {
|
|
5
|
+
export type { AxxaAccountMismatchFailure, AxxaCaptchaPausedFailure, AxxaCaptchaRequiredError, AxxaCaptchaRequiredFailure, AxxaCaptchaUnavailableFailure, AxxaLoginCooldownFailure, AxxaLoginRejectedFailure, AxxaNotConfiguredFailure, AxxaPortalChangedFailure, AxxaPortalUnavailableFailure, AxxaSessionBusyFailure, AxxaSessionRequiredFailure, } from "./models.js";
|
package/dist/axxa/models.d.ts
CHANGED
|
@@ -1,168 +1,249 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
1
|
+
import type { Empty, ResponseMetadata } from "../models.js";
|
|
2
|
+
/**
|
|
3
|
+
* The portal session does not match the configured account and branch.
|
|
4
|
+
*/
|
|
5
|
+
export interface AxxaAccountMismatchFailure {
|
|
6
|
+
/**
|
|
7
|
+
* The failure code, stable across releases.
|
|
8
|
+
*/
|
|
9
|
+
code: "ACCOUNT_MISMATCH";
|
|
10
|
+
/**
|
|
11
|
+
* No fields.
|
|
12
|
+
*/
|
|
13
|
+
data: Empty;
|
|
14
|
+
/**
|
|
15
|
+
* What went wrong, for people; it never contains input values.
|
|
16
|
+
*/
|
|
17
|
+
message: string;
|
|
18
|
+
/**
|
|
19
|
+
* Whether repeating the same request may succeed.
|
|
20
|
+
*/
|
|
21
|
+
retryable: false;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Automatic challenge recovery is paused. Wait for the recovery window or
|
|
25
|
+
* contact an operator.
|
|
26
|
+
*/
|
|
27
|
+
export interface AxxaCaptchaPausedFailure {
|
|
28
|
+
/**
|
|
29
|
+
* The failure code, stable across releases.
|
|
30
|
+
*/
|
|
31
|
+
code: "CAPTCHA_PAUSED";
|
|
32
|
+
/**
|
|
33
|
+
* No fields.
|
|
34
|
+
*/
|
|
35
|
+
data: Empty;
|
|
36
|
+
/**
|
|
37
|
+
* What went wrong, for people; it never contains input values.
|
|
38
|
+
*/
|
|
39
|
+
message: string;
|
|
40
|
+
/**
|
|
41
|
+
* Whether repeating the same request may succeed.
|
|
42
|
+
*/
|
|
43
|
+
retryable: false;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* A failed answer.
|
|
47
|
+
*/
|
|
48
|
+
export interface AxxaCaptchaRequiredError {
|
|
3
49
|
data: null;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} | {
|
|
12
|
-
code: "UNAUTHORIZED";
|
|
13
|
-
data: {
|
|
14
|
-
[key: string]: unknown;
|
|
15
|
-
};
|
|
16
|
-
message: "A valid access token is required.";
|
|
17
|
-
retryable: false;
|
|
18
|
-
} | {
|
|
19
|
-
code: "FORBIDDEN";
|
|
20
|
-
data: {
|
|
21
|
-
[key: string]: unknown;
|
|
22
|
-
};
|
|
23
|
-
message: "The token does not authorize this operation.";
|
|
24
|
-
retryable: false;
|
|
25
|
-
} | {
|
|
26
|
-
code: "NOT_FOUND";
|
|
27
|
-
data: {
|
|
28
|
-
[key: string]: unknown;
|
|
29
|
-
};
|
|
30
|
-
message: "The requested operation does not exist.";
|
|
31
|
-
retryable: false;
|
|
32
|
-
} | {
|
|
33
|
-
code: "HTTP_METHOD_NOT_ALLOWED";
|
|
34
|
-
data: {
|
|
35
|
-
[key: string]: unknown;
|
|
36
|
-
};
|
|
37
|
-
message: "The HTTP method is not supported for this resource.";
|
|
38
|
-
retryable: false;
|
|
39
|
-
} | {
|
|
40
|
-
code: "REQUEST_TOO_LARGE";
|
|
41
|
-
data: {
|
|
42
|
-
[key: string]: unknown;
|
|
43
|
-
};
|
|
44
|
-
message: "The request exceeds the allowed size.";
|
|
45
|
-
retryable: false;
|
|
46
|
-
} | {
|
|
47
|
-
code: "UNSUPPORTED_MEDIA_TYPE";
|
|
48
|
-
data: {
|
|
49
|
-
[key: string]: unknown;
|
|
50
|
-
};
|
|
51
|
-
message: "The request content type is not supported.";
|
|
52
|
-
retryable: false;
|
|
53
|
-
} | {
|
|
54
|
-
code: "RATE_LIMITED";
|
|
55
|
-
data: {
|
|
56
|
-
[key: string]: unknown;
|
|
57
|
-
};
|
|
58
|
-
message: "The request rate limit was exceeded. Try again later.";
|
|
59
|
-
retryable: true;
|
|
60
|
-
} | {
|
|
61
|
-
code: "INTERNAL_ERROR";
|
|
62
|
-
data: {
|
|
63
|
-
[key: string]: unknown;
|
|
64
|
-
};
|
|
65
|
-
message: "The service could not complete the operation.";
|
|
66
|
-
retryable: false;
|
|
67
|
-
} | {
|
|
68
|
-
code: "UPSTREAM_UNAVAILABLE";
|
|
69
|
-
data: {
|
|
70
|
-
[key: string]: unknown;
|
|
71
|
-
};
|
|
72
|
-
message: "The upstream service could not complete the request.";
|
|
73
|
-
retryable: true;
|
|
74
|
-
} | {
|
|
75
|
-
code: "UPSTREAM_TIMEOUT";
|
|
76
|
-
data: {
|
|
77
|
-
[key: string]: unknown;
|
|
78
|
-
};
|
|
79
|
-
message: "The upstream service did not respond before its deadline.";
|
|
80
|
-
retryable: true;
|
|
81
|
-
} | {
|
|
82
|
-
code: "OUTCOME_UNKNOWN";
|
|
83
|
-
data: {
|
|
84
|
-
[key: string]: unknown;
|
|
85
|
-
};
|
|
86
|
-
message: "The operation may have been applied; check its result before repeating it.";
|
|
87
|
-
retryable: false;
|
|
88
|
-
} | {
|
|
89
|
-
code: "CAPTCHA_UNAVAILABLE";
|
|
90
|
-
data: {
|
|
91
|
-
[key: string]: unknown;
|
|
92
|
-
};
|
|
93
|
-
message: "The challenge could not be solved. Provider authentication was not submitted.";
|
|
94
|
-
retryable: true;
|
|
95
|
-
} | {
|
|
96
|
-
code: "CAPTCHA_PAUSED";
|
|
97
|
-
data: {
|
|
98
|
-
[key: string]: unknown;
|
|
99
|
-
};
|
|
100
|
-
message: "Automatic challenge recovery is paused. Wait for the recovery window or contact an operator.";
|
|
101
|
-
retryable: false;
|
|
102
|
-
} | {
|
|
103
|
-
code: "NOT_CONFIGURED";
|
|
104
|
-
data: {
|
|
105
|
-
[key: string]: unknown;
|
|
106
|
-
};
|
|
107
|
-
message: "This organization has no AXA account configured. Contact your administrator.";
|
|
108
|
-
retryable: false;
|
|
109
|
-
} | {
|
|
110
|
-
code: "CAPTCHA_REQUIRED";
|
|
111
|
-
data: {
|
|
112
|
-
[key: string]: unknown;
|
|
113
|
-
};
|
|
114
|
-
message: "AXA authentication is not configured. Contact your administrator.";
|
|
115
|
-
retryable: false;
|
|
116
|
-
} | {
|
|
117
|
-
code: "SESSION_REQUIRED";
|
|
118
|
-
data: {
|
|
119
|
-
[key: string]: unknown;
|
|
120
|
-
};
|
|
121
|
-
message: "The AXA session has expired. The service must re-establish provider access.";
|
|
122
|
-
retryable: false;
|
|
123
|
-
} | {
|
|
124
|
-
code: "LOGIN_REJECTED";
|
|
125
|
-
data: {
|
|
126
|
-
[key: string]: unknown;
|
|
127
|
-
};
|
|
128
|
-
message: "AXA did not establish a session. Check the credentials and CAPTCHA; do not retry automatically.";
|
|
129
|
-
retryable: false;
|
|
130
|
-
} | {
|
|
131
|
-
code: "ACCOUNT_MISMATCH";
|
|
132
|
-
data: {
|
|
133
|
-
[key: string]: unknown;
|
|
134
|
-
};
|
|
135
|
-
message: "The portal session does not match the configured account and branch.";
|
|
136
|
-
retryable: false;
|
|
137
|
-
} | {
|
|
138
|
-
code: "PORTAL_UNAVAILABLE";
|
|
139
|
-
data: {
|
|
140
|
-
[key: string]: unknown;
|
|
141
|
-
};
|
|
142
|
-
message: "The AXA portal could not complete the request.";
|
|
143
|
-
retryable: true;
|
|
144
|
-
} | {
|
|
145
|
-
code: "PORTAL_CHANGED";
|
|
146
|
-
data: {
|
|
147
|
-
[key: string]: unknown;
|
|
148
|
-
};
|
|
149
|
-
message: "The AXA portal no longer matches the verified provider protocol.";
|
|
150
|
-
retryable: false;
|
|
151
|
-
} | {
|
|
152
|
-
code: "SESSION_BUSY";
|
|
153
|
-
data: {
|
|
154
|
-
[key: string]: unknown;
|
|
155
|
-
};
|
|
156
|
-
message: "A session operation is already in progress. Try again shortly.";
|
|
157
|
-
retryable: true;
|
|
158
|
-
} | {
|
|
159
|
-
code: "LOGIN_COOLDOWN";
|
|
160
|
-
data: {
|
|
161
|
-
[key: string]: unknown;
|
|
162
|
-
};
|
|
163
|
-
message: "Login attempts are temporarily paused after a failed or uncertain attempt.";
|
|
164
|
-
retryable: false;
|
|
165
|
-
});
|
|
50
|
+
/**
|
|
51
|
+
* AXA authentication is not configured. Contact your administrator.
|
|
52
|
+
*/
|
|
53
|
+
error: AxxaCaptchaRequiredFailure;
|
|
54
|
+
/**
|
|
55
|
+
* What every answer carries besides its data or error.
|
|
56
|
+
*/
|
|
166
57
|
metadata: ResponseMetadata;
|
|
167
58
|
success: false;
|
|
168
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* AXA authentication is not configured. Contact your administrator.
|
|
62
|
+
*/
|
|
63
|
+
export interface AxxaCaptchaRequiredFailure {
|
|
64
|
+
/**
|
|
65
|
+
* The failure code, stable across releases.
|
|
66
|
+
*/
|
|
67
|
+
code: "CAPTCHA_REQUIRED";
|
|
68
|
+
/**
|
|
69
|
+
* No fields.
|
|
70
|
+
*/
|
|
71
|
+
data: Empty;
|
|
72
|
+
/**
|
|
73
|
+
* What went wrong, for people; it never contains input values.
|
|
74
|
+
*/
|
|
75
|
+
message: string;
|
|
76
|
+
/**
|
|
77
|
+
* Whether repeating the same request may succeed.
|
|
78
|
+
*/
|
|
79
|
+
retryable: false;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* The challenge could not be solved. Provider authentication was not submitted.
|
|
83
|
+
*/
|
|
84
|
+
export interface AxxaCaptchaUnavailableFailure {
|
|
85
|
+
/**
|
|
86
|
+
* The failure code, stable across releases.
|
|
87
|
+
*/
|
|
88
|
+
code: "CAPTCHA_UNAVAILABLE";
|
|
89
|
+
/**
|
|
90
|
+
* No fields.
|
|
91
|
+
*/
|
|
92
|
+
data: Empty;
|
|
93
|
+
/**
|
|
94
|
+
* What went wrong, for people; it never contains input values.
|
|
95
|
+
*/
|
|
96
|
+
message: string;
|
|
97
|
+
/**
|
|
98
|
+
* Whether repeating the same request may succeed.
|
|
99
|
+
*/
|
|
100
|
+
retryable: true;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Login attempts are temporarily paused after a failed or uncertain attempt.
|
|
104
|
+
*/
|
|
105
|
+
export interface AxxaLoginCooldownFailure {
|
|
106
|
+
/**
|
|
107
|
+
* The failure code, stable across releases.
|
|
108
|
+
*/
|
|
109
|
+
code: "LOGIN_COOLDOWN";
|
|
110
|
+
/**
|
|
111
|
+
* No fields.
|
|
112
|
+
*/
|
|
113
|
+
data: Empty;
|
|
114
|
+
/**
|
|
115
|
+
* What went wrong, for people; it never contains input values.
|
|
116
|
+
*/
|
|
117
|
+
message: string;
|
|
118
|
+
/**
|
|
119
|
+
* Whether repeating the same request may succeed.
|
|
120
|
+
*/
|
|
121
|
+
retryable: false;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* AXA did not establish a session. Check the credentials and CAPTCHA; do not
|
|
125
|
+
* retry automatically.
|
|
126
|
+
*/
|
|
127
|
+
export interface AxxaLoginRejectedFailure {
|
|
128
|
+
/**
|
|
129
|
+
* The failure code, stable across releases.
|
|
130
|
+
*/
|
|
131
|
+
code: "LOGIN_REJECTED";
|
|
132
|
+
/**
|
|
133
|
+
* No fields.
|
|
134
|
+
*/
|
|
135
|
+
data: Empty;
|
|
136
|
+
/**
|
|
137
|
+
* What went wrong, for people; it never contains input values.
|
|
138
|
+
*/
|
|
139
|
+
message: string;
|
|
140
|
+
/**
|
|
141
|
+
* Whether repeating the same request may succeed.
|
|
142
|
+
*/
|
|
143
|
+
retryable: false;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* This organization has no AXA account configured. Contact your administrator.
|
|
147
|
+
*/
|
|
148
|
+
export interface AxxaNotConfiguredFailure {
|
|
149
|
+
/**
|
|
150
|
+
* The failure code, stable across releases.
|
|
151
|
+
*/
|
|
152
|
+
code: "NOT_CONFIGURED";
|
|
153
|
+
/**
|
|
154
|
+
* No fields.
|
|
155
|
+
*/
|
|
156
|
+
data: Empty;
|
|
157
|
+
/**
|
|
158
|
+
* What went wrong, for people; it never contains input values.
|
|
159
|
+
*/
|
|
160
|
+
message: string;
|
|
161
|
+
/**
|
|
162
|
+
* Whether repeating the same request may succeed.
|
|
163
|
+
*/
|
|
164
|
+
retryable: false;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* The AXA portal no longer matches the verified provider protocol.
|
|
168
|
+
*/
|
|
169
|
+
export interface AxxaPortalChangedFailure {
|
|
170
|
+
/**
|
|
171
|
+
* The failure code, stable across releases.
|
|
172
|
+
*/
|
|
173
|
+
code: "PORTAL_CHANGED";
|
|
174
|
+
/**
|
|
175
|
+
* No fields.
|
|
176
|
+
*/
|
|
177
|
+
data: Empty;
|
|
178
|
+
/**
|
|
179
|
+
* What went wrong, for people; it never contains input values.
|
|
180
|
+
*/
|
|
181
|
+
message: string;
|
|
182
|
+
/**
|
|
183
|
+
* Whether repeating the same request may succeed.
|
|
184
|
+
*/
|
|
185
|
+
retryable: false;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* The AXA portal could not complete the request.
|
|
189
|
+
*/
|
|
190
|
+
export interface AxxaPortalUnavailableFailure {
|
|
191
|
+
/**
|
|
192
|
+
* The failure code, stable across releases.
|
|
193
|
+
*/
|
|
194
|
+
code: "PORTAL_UNAVAILABLE";
|
|
195
|
+
/**
|
|
196
|
+
* No fields.
|
|
197
|
+
*/
|
|
198
|
+
data: Empty;
|
|
199
|
+
/**
|
|
200
|
+
* What went wrong, for people; it never contains input values.
|
|
201
|
+
*/
|
|
202
|
+
message: string;
|
|
203
|
+
/**
|
|
204
|
+
* Whether repeating the same request may succeed.
|
|
205
|
+
*/
|
|
206
|
+
retryable: true;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* A session operation is already in progress. Try again shortly.
|
|
210
|
+
*/
|
|
211
|
+
export interface AxxaSessionBusyFailure {
|
|
212
|
+
/**
|
|
213
|
+
* The failure code, stable across releases.
|
|
214
|
+
*/
|
|
215
|
+
code: "SESSION_BUSY";
|
|
216
|
+
/**
|
|
217
|
+
* No fields.
|
|
218
|
+
*/
|
|
219
|
+
data: Empty;
|
|
220
|
+
/**
|
|
221
|
+
* What went wrong, for people; it never contains input values.
|
|
222
|
+
*/
|
|
223
|
+
message: string;
|
|
224
|
+
/**
|
|
225
|
+
* Whether repeating the same request may succeed.
|
|
226
|
+
*/
|
|
227
|
+
retryable: true;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* The AXA session has expired. The service must re-establish provider access.
|
|
231
|
+
*/
|
|
232
|
+
export interface AxxaSessionRequiredFailure {
|
|
233
|
+
/**
|
|
234
|
+
* The failure code, stable across releases.
|
|
235
|
+
*/
|
|
236
|
+
code: "SESSION_REQUIRED";
|
|
237
|
+
/**
|
|
238
|
+
* No fields.
|
|
239
|
+
*/
|
|
240
|
+
data: Empty;
|
|
241
|
+
/**
|
|
242
|
+
* What went wrong, for people; it never contains input values.
|
|
243
|
+
*/
|
|
244
|
+
message: string;
|
|
245
|
+
/**
|
|
246
|
+
* Whether repeating the same request may succeed.
|
|
247
|
+
*/
|
|
248
|
+
retryable: false;
|
|
249
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { AxxaGetProviderResultResponse } from "./models.js";
|
|
3
3
|
export interface ClientOptions extends BaseClientOptions {
|
|
4
4
|
/**
|
|
5
5
|
* The URL the paths of the API are relative to.
|
|
@@ -18,15 +18,9 @@ export interface Client {
|
|
|
18
18
|
export declare function createClient(options: ClientOptions): Client;
|
|
19
19
|
export declare function bind(transport: Transport): Client;
|
|
20
20
|
export interface GetRequest {
|
|
21
|
+
/**
|
|
22
|
+
* The connection id.
|
|
23
|
+
*/
|
|
21
24
|
connectionId?: string;
|
|
22
25
|
}
|
|
23
|
-
export
|
|
24
|
-
data: {
|
|
25
|
-
branch: string;
|
|
26
|
-
code: string;
|
|
27
|
-
name: string;
|
|
28
|
-
};
|
|
29
|
-
error: null;
|
|
30
|
-
metadata: ResponseMetadata;
|
|
31
|
-
success: true;
|
|
32
|
-
}
|
|
26
|
+
export type GetResponse = AxxaGetProviderResultResponse;
|
|
@@ -14,5 +14,5 @@ const GetOperation = {
|
|
|
14
14
|
route: "/v1/axxa/provider",
|
|
15
15
|
query: { connectionId: "connectionId" },
|
|
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, "428": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
18
18
|
};
|
|
@@ -2,3 +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, GetRequest, GetResponse, } from "./client.js";
|
|
5
|
+
export type { AxxaGetProviderBadGatewayError, AxxaGetProviderBadGatewayFailure, AxxaGetProviderConflictError, AxxaGetProviderConflictFailure, AxxaGetProviderForbiddenError, AxxaGetProviderForbiddenFailure, AxxaGetProviderResult, AxxaGetProviderResultResponse, AxxaGetProviderServiceUnavailableError, AxxaGetProviderServiceUnavailableFailure, AxxaGetProviderTooManyRequestsError, AxxaGetProviderTooManyRequestsFailure, } from "./models.js";
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { ForbiddenFailure, OutcomeUnknownFailure, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { AxxaAccountMismatchFailure, AxxaCaptchaPausedFailure, AxxaCaptchaUnavailableFailure, AxxaLoginCooldownFailure, AxxaLoginRejectedFailure, AxxaNotConfiguredFailure, AxxaPortalChangedFailure, AxxaPortalUnavailableFailure, AxxaSessionBusyFailure, AxxaSessionRequiredFailure } from "../models.js";
|
|
3
|
+
/**
|
|
4
|
+
* A failed answer.
|
|
5
|
+
*/
|
|
6
|
+
export interface AxxaGetProviderBadGatewayError {
|
|
7
|
+
data: null;
|
|
8
|
+
error: AxxaGetProviderBadGatewayFailure;
|
|
9
|
+
/**
|
|
10
|
+
* What every answer carries besides its data or error.
|
|
11
|
+
*/
|
|
12
|
+
metadata: ResponseMetadata;
|
|
13
|
+
success: false;
|
|
14
|
+
}
|
|
15
|
+
export type AxxaGetProviderBadGatewayFailure = OutcomeUnknownFailure | AxxaPortalChangedFailure;
|
|
16
|
+
/**
|
|
17
|
+
* A failed answer.
|
|
18
|
+
*/
|
|
19
|
+
export interface AxxaGetProviderConflictError {
|
|
20
|
+
data: null;
|
|
21
|
+
error: AxxaGetProviderConflictFailure;
|
|
22
|
+
/**
|
|
23
|
+
* What every answer carries besides its data or error.
|
|
24
|
+
*/
|
|
25
|
+
metadata: ResponseMetadata;
|
|
26
|
+
success: false;
|
|
27
|
+
}
|
|
28
|
+
export type AxxaGetProviderConflictFailure = AxxaNotConfiguredFailure | AxxaSessionRequiredFailure | AxxaSessionBusyFailure;
|
|
29
|
+
/**
|
|
30
|
+
* A failed answer.
|
|
31
|
+
*/
|
|
32
|
+
export interface AxxaGetProviderForbiddenError {
|
|
33
|
+
data: null;
|
|
34
|
+
error: AxxaGetProviderForbiddenFailure;
|
|
35
|
+
/**
|
|
36
|
+
* What every answer carries besides its data or error.
|
|
37
|
+
*/
|
|
38
|
+
metadata: ResponseMetadata;
|
|
39
|
+
success: false;
|
|
40
|
+
}
|
|
41
|
+
export type AxxaGetProviderForbiddenFailure = ForbiddenFailure | AxxaLoginRejectedFailure | AxxaAccountMismatchFailure;
|
|
42
|
+
/**
|
|
43
|
+
* AXA provider
|
|
44
|
+
*/
|
|
45
|
+
export interface AxxaGetProviderResult {
|
|
46
|
+
branch: string;
|
|
47
|
+
code: string;
|
|
48
|
+
name: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* A successful answer.
|
|
52
|
+
*/
|
|
53
|
+
export interface AxxaGetProviderResultResponse {
|
|
54
|
+
data: AxxaGetProviderResult;
|
|
55
|
+
error: null;
|
|
56
|
+
/**
|
|
57
|
+
* What every answer carries besides its data or error.
|
|
58
|
+
*/
|
|
59
|
+
metadata: ResponseMetadata;
|
|
60
|
+
success: true;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* A failed answer.
|
|
64
|
+
*/
|
|
65
|
+
export interface AxxaGetProviderServiceUnavailableError {
|
|
66
|
+
data: null;
|
|
67
|
+
error: AxxaGetProviderServiceUnavailableFailure;
|
|
68
|
+
/**
|
|
69
|
+
* What every answer carries besides its data or error.
|
|
70
|
+
*/
|
|
71
|
+
metadata: ResponseMetadata;
|
|
72
|
+
success: false;
|
|
73
|
+
}
|
|
74
|
+
export type AxxaGetProviderServiceUnavailableFailure = UpstreamUnavailableFailure | AxxaCaptchaUnavailableFailure | AxxaCaptchaPausedFailure | AxxaPortalUnavailableFailure;
|
|
75
|
+
/**
|
|
76
|
+
* A failed answer.
|
|
77
|
+
*/
|
|
78
|
+
export interface AxxaGetProviderTooManyRequestsError {
|
|
79
|
+
data: null;
|
|
80
|
+
error: AxxaGetProviderTooManyRequestsFailure;
|
|
81
|
+
/**
|
|
82
|
+
* What every answer carries besides its data or error.
|
|
83
|
+
*/
|
|
84
|
+
metadata: ResponseMetadata;
|
|
85
|
+
success: false;
|
|
86
|
+
}
|
|
87
|
+
export type AxxaGetProviderTooManyRequestsFailure = RateLimitedFailure | AxxaLoginCooldownFailure;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
3
|
-
import type { GmedicAgendaServicesPage } from "./models.js";
|
|
2
|
+
import type { GmedicAgendaServicesPageResponse } 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,12 +31,17 @@ export interface ListRequest {
|
|
|
32
31
|
* another cursor.
|
|
33
32
|
*/
|
|
34
33
|
limit?: number;
|
|
35
|
-
|
|
34
|
+
/**
|
|
35
|
+
* The service id.
|
|
36
|
+
*/
|
|
37
|
+
serviceId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The connection id.
|
|
40
|
+
*/
|
|
36
41
|
connectionId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Deprecated: use `serviceId`. Answered until 2027-01-28.
|
|
44
|
+
*/
|
|
45
|
+
id?: string;
|
|
37
46
|
}
|
|
38
|
-
export
|
|
39
|
-
data: GmedicAgendaServicesPage;
|
|
40
|
-
error: null;
|
|
41
|
-
metadata: ResponseMetadata;
|
|
42
|
-
success: true;
|
|
43
|
-
}
|
|
47
|
+
export type ListResponse = GmedicAgendaServicesPageResponse;
|