@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { AxxaLookupAuthorizationsBody, AxxaLookupAuthorizationsResultResponse } 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,37 +18,5 @@ export interface Client {
|
|
|
18
18
|
}
|
|
19
19
|
export declare function createClient(options: ClientOptions): Client;
|
|
20
20
|
export declare function bind(transport: Transport): Client;
|
|
21
|
-
export
|
|
22
|
-
|
|
23
|
-
documentNumber: string;
|
|
24
|
-
}
|
|
25
|
-
export interface LookupResponse {
|
|
26
|
-
/**
|
|
27
|
-
* Only an empty authorizations array confirms no matches. Provider failures
|
|
28
|
-
* are errors.
|
|
29
|
-
*/
|
|
30
|
-
data: {
|
|
31
|
-
authorizations: {
|
|
32
|
-
authorizationNumber: string;
|
|
33
|
-
authorizedAt: string;
|
|
34
|
-
diagnosis: {
|
|
35
|
-
code: string;
|
|
36
|
-
description: string;
|
|
37
|
-
};
|
|
38
|
-
product: string;
|
|
39
|
-
requestNumber: string;
|
|
40
|
-
requestedAt: string;
|
|
41
|
-
services: {
|
|
42
|
-
code: string;
|
|
43
|
-
description: string;
|
|
44
|
-
}[];
|
|
45
|
-
}[];
|
|
46
|
-
beneficiary: {
|
|
47
|
-
documentNumber: string;
|
|
48
|
-
name: string;
|
|
49
|
-
} | null;
|
|
50
|
-
};
|
|
51
|
-
error: null;
|
|
52
|
-
metadata: ResponseMetadata;
|
|
53
|
-
success: true;
|
|
54
|
-
}
|
|
21
|
+
export type LookupRequest = AxxaLookupAuthorizationsBody;
|
|
22
|
+
export type LookupResponse = AxxaLookupAuthorizationsResultResponse;
|
|
@@ -14,5 +14,5 @@ const LookupOperation = {
|
|
|
14
14
|
route: "/v1/axxa/authorizations/lookup",
|
|
15
15
|
body: "flat",
|
|
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, "413": true, "415": 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, LookupRequest, LookupResponse, } from "./client.js";
|
|
5
|
+
export type { AxxaLookupAuthorizationsBadGatewayError, AxxaLookupAuthorizationsBadGatewayFailure, AxxaLookupAuthorizationsBody, AxxaLookupAuthorizationsConflictError, AxxaLookupAuthorizationsConflictFailure, AxxaLookupAuthorizationsForbiddenError, AxxaLookupAuthorizationsForbiddenFailure, AxxaLookupAuthorizationsResult, AxxaLookupAuthorizationsResultResponse, AxxaLookupAuthorizationsServiceUnavailableError, AxxaLookupAuthorizationsServiceUnavailableFailure, AxxaLookupAuthorizationsTooManyRequestsError, AxxaLookupAuthorizationsTooManyRequestsFailure, } from "./models.js";
|
|
@@ -0,0 +1,112 @@
|
|
|
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 AxxaLookupAuthorizationsBadGatewayError {
|
|
7
|
+
data: null;
|
|
8
|
+
error: AxxaLookupAuthorizationsBadGatewayFailure;
|
|
9
|
+
/**
|
|
10
|
+
* What every answer carries besides its data or error.
|
|
11
|
+
*/
|
|
12
|
+
metadata: ResponseMetadata;
|
|
13
|
+
success: false;
|
|
14
|
+
}
|
|
15
|
+
export type AxxaLookupAuthorizationsBadGatewayFailure = OutcomeUnknownFailure | AxxaPortalChangedFailure;
|
|
16
|
+
export interface AxxaLookupAuthorizationsBody {
|
|
17
|
+
connectionId?: string;
|
|
18
|
+
documentNumber: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* A failed answer.
|
|
22
|
+
*/
|
|
23
|
+
export interface AxxaLookupAuthorizationsConflictError {
|
|
24
|
+
data: null;
|
|
25
|
+
error: AxxaLookupAuthorizationsConflictFailure;
|
|
26
|
+
/**
|
|
27
|
+
* What every answer carries besides its data or error.
|
|
28
|
+
*/
|
|
29
|
+
metadata: ResponseMetadata;
|
|
30
|
+
success: false;
|
|
31
|
+
}
|
|
32
|
+
export type AxxaLookupAuthorizationsConflictFailure = AxxaNotConfiguredFailure | AxxaSessionRequiredFailure | AxxaSessionBusyFailure;
|
|
33
|
+
/**
|
|
34
|
+
* A failed answer.
|
|
35
|
+
*/
|
|
36
|
+
export interface AxxaLookupAuthorizationsForbiddenError {
|
|
37
|
+
data: null;
|
|
38
|
+
error: AxxaLookupAuthorizationsForbiddenFailure;
|
|
39
|
+
/**
|
|
40
|
+
* What every answer carries besides its data or error.
|
|
41
|
+
*/
|
|
42
|
+
metadata: ResponseMetadata;
|
|
43
|
+
success: false;
|
|
44
|
+
}
|
|
45
|
+
export type AxxaLookupAuthorizationsForbiddenFailure = ForbiddenFailure | AxxaLoginRejectedFailure | AxxaAccountMismatchFailure;
|
|
46
|
+
/**
|
|
47
|
+
* Only an empty authorizations array confirms no matches. Provider failures are
|
|
48
|
+
* errors.
|
|
49
|
+
*/
|
|
50
|
+
export interface AxxaLookupAuthorizationsResult {
|
|
51
|
+
authorizations: {
|
|
52
|
+
authorizationNumber: string;
|
|
53
|
+
authorizedAt: string;
|
|
54
|
+
diagnosis: {
|
|
55
|
+
code: string;
|
|
56
|
+
description: string;
|
|
57
|
+
};
|
|
58
|
+
product: string;
|
|
59
|
+
requestNumber: string;
|
|
60
|
+
requestedAt: string;
|
|
61
|
+
services: {
|
|
62
|
+
code: string;
|
|
63
|
+
description: string;
|
|
64
|
+
}[];
|
|
65
|
+
}[];
|
|
66
|
+
beneficiary: {
|
|
67
|
+
documentNumber: string;
|
|
68
|
+
name: string;
|
|
69
|
+
} | null;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* A successful answer.
|
|
73
|
+
*/
|
|
74
|
+
export interface AxxaLookupAuthorizationsResultResponse {
|
|
75
|
+
/**
|
|
76
|
+
* Only an empty authorizations array confirms no matches. Provider failures
|
|
77
|
+
* are errors.
|
|
78
|
+
*/
|
|
79
|
+
data: AxxaLookupAuthorizationsResult;
|
|
80
|
+
error: null;
|
|
81
|
+
/**
|
|
82
|
+
* What every answer carries besides its data or error.
|
|
83
|
+
*/
|
|
84
|
+
metadata: ResponseMetadata;
|
|
85
|
+
success: true;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* A failed answer.
|
|
89
|
+
*/
|
|
90
|
+
export interface AxxaLookupAuthorizationsServiceUnavailableError {
|
|
91
|
+
data: null;
|
|
92
|
+
error: AxxaLookupAuthorizationsServiceUnavailableFailure;
|
|
93
|
+
/**
|
|
94
|
+
* What every answer carries besides its data or error.
|
|
95
|
+
*/
|
|
96
|
+
metadata: ResponseMetadata;
|
|
97
|
+
success: false;
|
|
98
|
+
}
|
|
99
|
+
export type AxxaLookupAuthorizationsServiceUnavailableFailure = UpstreamUnavailableFailure | AxxaCaptchaUnavailableFailure | AxxaCaptchaPausedFailure | AxxaPortalUnavailableFailure;
|
|
100
|
+
/**
|
|
101
|
+
* A failed answer.
|
|
102
|
+
*/
|
|
103
|
+
export interface AxxaLookupAuthorizationsTooManyRequestsError {
|
|
104
|
+
data: null;
|
|
105
|
+
error: AxxaLookupAuthorizationsTooManyRequestsFailure;
|
|
106
|
+
/**
|
|
107
|
+
* What every answer carries besides its data or error.
|
|
108
|
+
*/
|
|
109
|
+
metadata: ResponseMetadata;
|
|
110
|
+
success: false;
|
|
111
|
+
}
|
|
112
|
+
export type AxxaLookupAuthorizationsTooManyRequestsFailure = RateLimitedFailure | AxxaLoginCooldownFailure;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import { type
|
|
2
|
+
import { type ConnectionPageResponse, type ConnectionResponse, type DeletedObjectResponse, type VerifyConnectionResultResponse } from "../../models.js";
|
|
3
|
+
import type { AxxaVerifyConnectionBody } from "./models.js";
|
|
3
4
|
export interface ClientOptions extends BaseClientOptions {
|
|
4
5
|
/**
|
|
5
6
|
* The URL the paths of the API are relative to.
|
|
@@ -40,26 +41,19 @@ export interface Client {
|
|
|
40
41
|
export declare function createClient(options: ClientOptions): Client;
|
|
41
42
|
export declare function bind(transport: Transport): Client;
|
|
42
43
|
export interface DeleteRequest {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
export interface DeleteResponse {
|
|
49
|
-
data: DeletedObject;
|
|
50
|
-
error: null;
|
|
51
|
-
metadata: ResponseMetadata;
|
|
52
|
-
success: true;
|
|
44
|
+
/**
|
|
45
|
+
* The connection id.
|
|
46
|
+
*/
|
|
47
|
+
connectionId: string;
|
|
53
48
|
}
|
|
49
|
+
export type DeleteResponse = DeletedObjectResponse;
|
|
54
50
|
export interface GetRequest {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
error: null;
|
|
60
|
-
metadata: ResponseMetadata;
|
|
61
|
-
success: true;
|
|
51
|
+
/**
|
|
52
|
+
* The connection id.
|
|
53
|
+
*/
|
|
54
|
+
connectionId: string;
|
|
62
55
|
}
|
|
56
|
+
export type GetResponse = ConnectionResponse;
|
|
63
57
|
export interface ListRequest {
|
|
64
58
|
/**
|
|
65
59
|
* Opaque cursor returned by pageInfo; omit it to request the first page.
|
|
@@ -75,30 +69,11 @@ export interface ListRequest {
|
|
|
75
69
|
*/
|
|
76
70
|
limit?: number;
|
|
77
71
|
}
|
|
78
|
-
export
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
export interface VerifyRequest {
|
|
72
|
+
export type ListResponse = ConnectionPageResponse;
|
|
73
|
+
export type VerifyRequest = {
|
|
74
|
+
/**
|
|
75
|
+
* The connection id.
|
|
76
|
+
*/
|
|
85
77
|
connectionId: string;
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
password: string;
|
|
89
|
-
providerCode: string;
|
|
90
|
-
username: string;
|
|
91
|
-
}
|
|
92
|
-
export interface VerifyResponse {
|
|
93
|
-
data: {
|
|
94
|
-
stateRef: string;
|
|
95
|
-
status: "active";
|
|
96
|
-
summary: string;
|
|
97
|
-
} | {
|
|
98
|
-
errorCode: string;
|
|
99
|
-
status: "rejected";
|
|
100
|
-
};
|
|
101
|
-
error: null;
|
|
102
|
-
metadata: ResponseMetadata;
|
|
103
|
-
success: true;
|
|
104
|
-
}
|
|
78
|
+
} & AxxaVerifyConnectionBody;
|
|
79
|
+
export type VerifyResponse = VerifyConnectionResultResponse;
|
|
@@ -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 { ConnectionPageResponseCodec, ConnectionResponseCodec, } from "../../models.js";
|
|
5
5
|
export function createClient(options) {
|
|
6
6
|
return bind(new Transport(options));
|
|
7
7
|
}
|
|
@@ -15,28 +15,27 @@ export function bind(transport) {
|
|
|
15
15
|
}
|
|
16
16
|
const DeleteOperation = {
|
|
17
17
|
method: "DELETE",
|
|
18
|
-
route: "/v1/axxa/connections/{
|
|
19
|
-
body: "nested",
|
|
18
|
+
route: "/v1/axxa/connections/{connectionId}",
|
|
20
19
|
response: null,
|
|
21
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "
|
|
20
|
+
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "428": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
22
21
|
};
|
|
23
22
|
const GetOperation = {
|
|
24
23
|
method: "GET",
|
|
25
|
-
route: "/v1/axxa/connections/{
|
|
26
|
-
response:
|
|
27
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "
|
|
24
|
+
route: "/v1/axxa/connections/{connectionId}",
|
|
25
|
+
response: ConnectionResponseCodec,
|
|
26
|
+
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "428": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
28
27
|
};
|
|
29
28
|
const ListOperation = {
|
|
30
29
|
method: "GET",
|
|
31
30
|
route: "/v1/axxa/connections",
|
|
32
31
|
query: { cursor: "cursor", direction: "direction", limit: "limit" },
|
|
33
|
-
response:
|
|
34
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "
|
|
32
|
+
response: ConnectionPageResponseCodec,
|
|
33
|
+
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "428": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
35
34
|
};
|
|
36
35
|
const VerifyOperation = {
|
|
37
36
|
method: "POST",
|
|
38
37
|
route: "/v1/axxa/connections/{connectionId}/verify",
|
|
39
38
|
body: "flat",
|
|
40
39
|
response: null,
|
|
41
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "
|
|
40
|
+
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "413": true, "415": true, "428": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
42
41
|
};
|
|
@@ -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, DeleteRequest, DeleteResponse, GetRequest, GetResponse, ListRequest, ListResponse, VerifyRequest, VerifyResponse, } from "./client.js";
|
|
5
|
+
export type { AxxaDeleteConnectionBadGatewayError, AxxaDeleteConnectionBadGatewayFailure, AxxaDeleteConnectionConflictError, AxxaDeleteConnectionConflictFailure, AxxaDeleteConnectionForbiddenError, AxxaDeleteConnectionForbiddenFailure, AxxaDeleteConnectionServiceUnavailableError, AxxaDeleteConnectionServiceUnavailableFailure, AxxaDeleteConnectionTooManyRequestsError, AxxaDeleteConnectionTooManyRequestsFailure, AxxaGetConnectionBadGatewayError, AxxaGetConnectionBadGatewayFailure, AxxaGetConnectionConflictError, AxxaGetConnectionConflictFailure, AxxaGetConnectionForbiddenError, AxxaGetConnectionForbiddenFailure, AxxaGetConnectionServiceUnavailableError, AxxaGetConnectionServiceUnavailableFailure, AxxaGetConnectionTooManyRequestsError, AxxaGetConnectionTooManyRequestsFailure, AxxaListConnectionsBadGatewayError, AxxaListConnectionsBadGatewayFailure, AxxaListConnectionsConflictError, AxxaListConnectionsConflictFailure, AxxaListConnectionsForbiddenError, AxxaListConnectionsForbiddenFailure, AxxaListConnectionsServiceUnavailableError, AxxaListConnectionsServiceUnavailableFailure, AxxaListConnectionsTooManyRequestsError, AxxaListConnectionsTooManyRequestsFailure, AxxaVerifyConnectionBadGatewayError, AxxaVerifyConnectionBadGatewayFailure, AxxaVerifyConnectionBody, AxxaVerifyConnectionConflictError, AxxaVerifyConnectionConflictFailure, AxxaVerifyConnectionForbiddenError, AxxaVerifyConnectionForbiddenFailure, AxxaVerifyConnectionServiceUnavailableError, AxxaVerifyConnectionServiceUnavailableFailure, AxxaVerifyConnectionTooManyRequestsError, AxxaVerifyConnectionTooManyRequestsFailure, } from "./models.js";
|
|
@@ -0,0 +1,269 @@
|
|
|
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 AxxaDeleteConnectionBadGatewayError {
|
|
7
|
+
data: null;
|
|
8
|
+
error: AxxaDeleteConnectionBadGatewayFailure;
|
|
9
|
+
/**
|
|
10
|
+
* What every answer carries besides its data or error.
|
|
11
|
+
*/
|
|
12
|
+
metadata: ResponseMetadata;
|
|
13
|
+
success: false;
|
|
14
|
+
}
|
|
15
|
+
export type AxxaDeleteConnectionBadGatewayFailure = OutcomeUnknownFailure | AxxaPortalChangedFailure;
|
|
16
|
+
/**
|
|
17
|
+
* A failed answer.
|
|
18
|
+
*/
|
|
19
|
+
export interface AxxaDeleteConnectionConflictError {
|
|
20
|
+
data: null;
|
|
21
|
+
error: AxxaDeleteConnectionConflictFailure;
|
|
22
|
+
/**
|
|
23
|
+
* What every answer carries besides its data or error.
|
|
24
|
+
*/
|
|
25
|
+
metadata: ResponseMetadata;
|
|
26
|
+
success: false;
|
|
27
|
+
}
|
|
28
|
+
export type AxxaDeleteConnectionConflictFailure = AxxaNotConfiguredFailure | AxxaSessionRequiredFailure | AxxaSessionBusyFailure;
|
|
29
|
+
/**
|
|
30
|
+
* A failed answer.
|
|
31
|
+
*/
|
|
32
|
+
export interface AxxaDeleteConnectionForbiddenError {
|
|
33
|
+
data: null;
|
|
34
|
+
error: AxxaDeleteConnectionForbiddenFailure;
|
|
35
|
+
/**
|
|
36
|
+
* What every answer carries besides its data or error.
|
|
37
|
+
*/
|
|
38
|
+
metadata: ResponseMetadata;
|
|
39
|
+
success: false;
|
|
40
|
+
}
|
|
41
|
+
export type AxxaDeleteConnectionForbiddenFailure = ForbiddenFailure | AxxaLoginRejectedFailure | AxxaAccountMismatchFailure;
|
|
42
|
+
/**
|
|
43
|
+
* A failed answer.
|
|
44
|
+
*/
|
|
45
|
+
export interface AxxaDeleteConnectionServiceUnavailableError {
|
|
46
|
+
data: null;
|
|
47
|
+
error: AxxaDeleteConnectionServiceUnavailableFailure;
|
|
48
|
+
/**
|
|
49
|
+
* What every answer carries besides its data or error.
|
|
50
|
+
*/
|
|
51
|
+
metadata: ResponseMetadata;
|
|
52
|
+
success: false;
|
|
53
|
+
}
|
|
54
|
+
export type AxxaDeleteConnectionServiceUnavailableFailure = UpstreamUnavailableFailure | AxxaCaptchaUnavailableFailure | AxxaCaptchaPausedFailure | AxxaPortalUnavailableFailure;
|
|
55
|
+
/**
|
|
56
|
+
* A failed answer.
|
|
57
|
+
*/
|
|
58
|
+
export interface AxxaDeleteConnectionTooManyRequestsError {
|
|
59
|
+
data: null;
|
|
60
|
+
error: AxxaDeleteConnectionTooManyRequestsFailure;
|
|
61
|
+
/**
|
|
62
|
+
* What every answer carries besides its data or error.
|
|
63
|
+
*/
|
|
64
|
+
metadata: ResponseMetadata;
|
|
65
|
+
success: false;
|
|
66
|
+
}
|
|
67
|
+
export type AxxaDeleteConnectionTooManyRequestsFailure = RateLimitedFailure | AxxaLoginCooldownFailure;
|
|
68
|
+
/**
|
|
69
|
+
* A failed answer.
|
|
70
|
+
*/
|
|
71
|
+
export interface AxxaGetConnectionBadGatewayError {
|
|
72
|
+
data: null;
|
|
73
|
+
error: AxxaGetConnectionBadGatewayFailure;
|
|
74
|
+
/**
|
|
75
|
+
* What every answer carries besides its data or error.
|
|
76
|
+
*/
|
|
77
|
+
metadata: ResponseMetadata;
|
|
78
|
+
success: false;
|
|
79
|
+
}
|
|
80
|
+
export type AxxaGetConnectionBadGatewayFailure = OutcomeUnknownFailure | AxxaPortalChangedFailure;
|
|
81
|
+
/**
|
|
82
|
+
* A failed answer.
|
|
83
|
+
*/
|
|
84
|
+
export interface AxxaGetConnectionConflictError {
|
|
85
|
+
data: null;
|
|
86
|
+
error: AxxaGetConnectionConflictFailure;
|
|
87
|
+
/**
|
|
88
|
+
* What every answer carries besides its data or error.
|
|
89
|
+
*/
|
|
90
|
+
metadata: ResponseMetadata;
|
|
91
|
+
success: false;
|
|
92
|
+
}
|
|
93
|
+
export type AxxaGetConnectionConflictFailure = AxxaNotConfiguredFailure | AxxaSessionRequiredFailure | AxxaSessionBusyFailure;
|
|
94
|
+
/**
|
|
95
|
+
* A failed answer.
|
|
96
|
+
*/
|
|
97
|
+
export interface AxxaGetConnectionForbiddenError {
|
|
98
|
+
data: null;
|
|
99
|
+
error: AxxaGetConnectionForbiddenFailure;
|
|
100
|
+
/**
|
|
101
|
+
* What every answer carries besides its data or error.
|
|
102
|
+
*/
|
|
103
|
+
metadata: ResponseMetadata;
|
|
104
|
+
success: false;
|
|
105
|
+
}
|
|
106
|
+
export type AxxaGetConnectionForbiddenFailure = ForbiddenFailure | AxxaLoginRejectedFailure | AxxaAccountMismatchFailure;
|
|
107
|
+
/**
|
|
108
|
+
* A failed answer.
|
|
109
|
+
*/
|
|
110
|
+
export interface AxxaGetConnectionServiceUnavailableError {
|
|
111
|
+
data: null;
|
|
112
|
+
error: AxxaGetConnectionServiceUnavailableFailure;
|
|
113
|
+
/**
|
|
114
|
+
* What every answer carries besides its data or error.
|
|
115
|
+
*/
|
|
116
|
+
metadata: ResponseMetadata;
|
|
117
|
+
success: false;
|
|
118
|
+
}
|
|
119
|
+
export type AxxaGetConnectionServiceUnavailableFailure = UpstreamUnavailableFailure | AxxaCaptchaUnavailableFailure | AxxaCaptchaPausedFailure | AxxaPortalUnavailableFailure;
|
|
120
|
+
/**
|
|
121
|
+
* A failed answer.
|
|
122
|
+
*/
|
|
123
|
+
export interface AxxaGetConnectionTooManyRequestsError {
|
|
124
|
+
data: null;
|
|
125
|
+
error: AxxaGetConnectionTooManyRequestsFailure;
|
|
126
|
+
/**
|
|
127
|
+
* What every answer carries besides its data or error.
|
|
128
|
+
*/
|
|
129
|
+
metadata: ResponseMetadata;
|
|
130
|
+
success: false;
|
|
131
|
+
}
|
|
132
|
+
export type AxxaGetConnectionTooManyRequestsFailure = RateLimitedFailure | AxxaLoginCooldownFailure;
|
|
133
|
+
/**
|
|
134
|
+
* A failed answer.
|
|
135
|
+
*/
|
|
136
|
+
export interface AxxaListConnectionsBadGatewayError {
|
|
137
|
+
data: null;
|
|
138
|
+
error: AxxaListConnectionsBadGatewayFailure;
|
|
139
|
+
/**
|
|
140
|
+
* What every answer carries besides its data or error.
|
|
141
|
+
*/
|
|
142
|
+
metadata: ResponseMetadata;
|
|
143
|
+
success: false;
|
|
144
|
+
}
|
|
145
|
+
export type AxxaListConnectionsBadGatewayFailure = OutcomeUnknownFailure | AxxaPortalChangedFailure;
|
|
146
|
+
/**
|
|
147
|
+
* A failed answer.
|
|
148
|
+
*/
|
|
149
|
+
export interface AxxaListConnectionsConflictError {
|
|
150
|
+
data: null;
|
|
151
|
+
error: AxxaListConnectionsConflictFailure;
|
|
152
|
+
/**
|
|
153
|
+
* What every answer carries besides its data or error.
|
|
154
|
+
*/
|
|
155
|
+
metadata: ResponseMetadata;
|
|
156
|
+
success: false;
|
|
157
|
+
}
|
|
158
|
+
export type AxxaListConnectionsConflictFailure = AxxaNotConfiguredFailure | AxxaSessionRequiredFailure | AxxaSessionBusyFailure;
|
|
159
|
+
/**
|
|
160
|
+
* A failed answer.
|
|
161
|
+
*/
|
|
162
|
+
export interface AxxaListConnectionsForbiddenError {
|
|
163
|
+
data: null;
|
|
164
|
+
error: AxxaListConnectionsForbiddenFailure;
|
|
165
|
+
/**
|
|
166
|
+
* What every answer carries besides its data or error.
|
|
167
|
+
*/
|
|
168
|
+
metadata: ResponseMetadata;
|
|
169
|
+
success: false;
|
|
170
|
+
}
|
|
171
|
+
export type AxxaListConnectionsForbiddenFailure = ForbiddenFailure | AxxaLoginRejectedFailure | AxxaAccountMismatchFailure;
|
|
172
|
+
/**
|
|
173
|
+
* A failed answer.
|
|
174
|
+
*/
|
|
175
|
+
export interface AxxaListConnectionsServiceUnavailableError {
|
|
176
|
+
data: null;
|
|
177
|
+
error: AxxaListConnectionsServiceUnavailableFailure;
|
|
178
|
+
/**
|
|
179
|
+
* What every answer carries besides its data or error.
|
|
180
|
+
*/
|
|
181
|
+
metadata: ResponseMetadata;
|
|
182
|
+
success: false;
|
|
183
|
+
}
|
|
184
|
+
export type AxxaListConnectionsServiceUnavailableFailure = UpstreamUnavailableFailure | AxxaCaptchaUnavailableFailure | AxxaCaptchaPausedFailure | AxxaPortalUnavailableFailure;
|
|
185
|
+
/**
|
|
186
|
+
* A failed answer.
|
|
187
|
+
*/
|
|
188
|
+
export interface AxxaListConnectionsTooManyRequestsError {
|
|
189
|
+
data: null;
|
|
190
|
+
error: AxxaListConnectionsTooManyRequestsFailure;
|
|
191
|
+
/**
|
|
192
|
+
* What every answer carries besides its data or error.
|
|
193
|
+
*/
|
|
194
|
+
metadata: ResponseMetadata;
|
|
195
|
+
success: false;
|
|
196
|
+
}
|
|
197
|
+
export type AxxaListConnectionsTooManyRequestsFailure = RateLimitedFailure | AxxaLoginCooldownFailure;
|
|
198
|
+
/**
|
|
199
|
+
* A failed answer.
|
|
200
|
+
*/
|
|
201
|
+
export interface AxxaVerifyConnectionBadGatewayError {
|
|
202
|
+
data: null;
|
|
203
|
+
error: AxxaVerifyConnectionBadGatewayFailure;
|
|
204
|
+
/**
|
|
205
|
+
* What every answer carries besides its data or error.
|
|
206
|
+
*/
|
|
207
|
+
metadata: ResponseMetadata;
|
|
208
|
+
success: false;
|
|
209
|
+
}
|
|
210
|
+
export type AxxaVerifyConnectionBadGatewayFailure = OutcomeUnknownFailure | AxxaPortalChangedFailure;
|
|
211
|
+
export interface AxxaVerifyConnectionBody {
|
|
212
|
+
documentType: "CC" | "CE" | "NIT" | "PA" | "PT";
|
|
213
|
+
name: string;
|
|
214
|
+
password: string;
|
|
215
|
+
providerCode: string;
|
|
216
|
+
username: string;
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* A failed answer.
|
|
220
|
+
*/
|
|
221
|
+
export interface AxxaVerifyConnectionConflictError {
|
|
222
|
+
data: null;
|
|
223
|
+
error: AxxaVerifyConnectionConflictFailure;
|
|
224
|
+
/**
|
|
225
|
+
* What every answer carries besides its data or error.
|
|
226
|
+
*/
|
|
227
|
+
metadata: ResponseMetadata;
|
|
228
|
+
success: false;
|
|
229
|
+
}
|
|
230
|
+
export type AxxaVerifyConnectionConflictFailure = AxxaNotConfiguredFailure | AxxaSessionRequiredFailure | AxxaSessionBusyFailure;
|
|
231
|
+
/**
|
|
232
|
+
* A failed answer.
|
|
233
|
+
*/
|
|
234
|
+
export interface AxxaVerifyConnectionForbiddenError {
|
|
235
|
+
data: null;
|
|
236
|
+
error: AxxaVerifyConnectionForbiddenFailure;
|
|
237
|
+
/**
|
|
238
|
+
* What every answer carries besides its data or error.
|
|
239
|
+
*/
|
|
240
|
+
metadata: ResponseMetadata;
|
|
241
|
+
success: false;
|
|
242
|
+
}
|
|
243
|
+
export type AxxaVerifyConnectionForbiddenFailure = ForbiddenFailure | AxxaLoginRejectedFailure | AxxaAccountMismatchFailure;
|
|
244
|
+
/**
|
|
245
|
+
* A failed answer.
|
|
246
|
+
*/
|
|
247
|
+
export interface AxxaVerifyConnectionServiceUnavailableError {
|
|
248
|
+
data: null;
|
|
249
|
+
error: AxxaVerifyConnectionServiceUnavailableFailure;
|
|
250
|
+
/**
|
|
251
|
+
* What every answer carries besides its data or error.
|
|
252
|
+
*/
|
|
253
|
+
metadata: ResponseMetadata;
|
|
254
|
+
success: false;
|
|
255
|
+
}
|
|
256
|
+
export type AxxaVerifyConnectionServiceUnavailableFailure = UpstreamUnavailableFailure | AxxaCaptchaUnavailableFailure | AxxaCaptchaPausedFailure | AxxaPortalUnavailableFailure;
|
|
257
|
+
/**
|
|
258
|
+
* A failed answer.
|
|
259
|
+
*/
|
|
260
|
+
export interface AxxaVerifyConnectionTooManyRequestsError {
|
|
261
|
+
data: null;
|
|
262
|
+
error: AxxaVerifyConnectionTooManyRequestsFailure;
|
|
263
|
+
/**
|
|
264
|
+
* What every answer carries besides its data or error.
|
|
265
|
+
*/
|
|
266
|
+
metadata: ResponseMetadata;
|
|
267
|
+
success: false;
|
|
268
|
+
}
|
|
269
|
+
export type AxxaVerifyConnectionTooManyRequestsFailure = RateLimitedFailure | AxxaLoginCooldownFailure;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { AxxaLookupEligibilityBody, AxxaLookupEligibilityResultResponse } 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,27 +18,5 @@ export interface Client {
|
|
|
18
18
|
}
|
|
19
19
|
export declare function createClient(options: ClientOptions): Client;
|
|
20
20
|
export declare function bind(transport: Transport): Client;
|
|
21
|
-
export
|
|
22
|
-
|
|
23
|
-
documentNumber: string;
|
|
24
|
-
documentType: "CC" | "CE" | "TI" | "RC" | "PA";
|
|
25
|
-
serviceType: "outpatient" | "emergency" | "laboratory" | "therapy" | "radiology" | "other";
|
|
26
|
-
}
|
|
27
|
-
export interface LookupResponse {
|
|
28
|
-
/**
|
|
29
|
-
* Observed plan/validation result for this service category. This does not
|
|
30
|
-
* establish coverage for a CUPS, active authorization, or a voucher amount.
|
|
31
|
-
*/
|
|
32
|
-
data: {
|
|
33
|
-
plans: {
|
|
34
|
-
contractNumber: string;
|
|
35
|
-
name: string;
|
|
36
|
-
notice: string | null;
|
|
37
|
-
}[];
|
|
38
|
-
status: "plans_found" | "validation_required";
|
|
39
|
-
validationMessages: string[];
|
|
40
|
-
};
|
|
41
|
-
error: null;
|
|
42
|
-
metadata: ResponseMetadata;
|
|
43
|
-
success: true;
|
|
44
|
-
}
|
|
21
|
+
export type LookupRequest = AxxaLookupEligibilityBody;
|
|
22
|
+
export type LookupResponse = AxxaLookupEligibilityResultResponse;
|
|
@@ -14,5 +14,5 @@ const LookupOperation = {
|
|
|
14
14
|
route: "/v1/axxa/eligibility/lookup",
|
|
15
15
|
body: "flat",
|
|
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, "413": true, "415": 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, LookupRequest, LookupResponse, } from "./client.js";
|
|
5
|
+
export type { AxxaLookupEligibilityBadGatewayError, AxxaLookupEligibilityBadGatewayFailure, AxxaLookupEligibilityBody, AxxaLookupEligibilityConflictError, AxxaLookupEligibilityConflictFailure, AxxaLookupEligibilityForbiddenError, AxxaLookupEligibilityForbiddenFailure, AxxaLookupEligibilityResult, AxxaLookupEligibilityResultResponse, AxxaLookupEligibilityServiceUnavailableError, AxxaLookupEligibilityServiceUnavailableFailure, AxxaLookupEligibilityTooManyRequestsError, AxxaLookupEligibilityTooManyRequestsFailure, } from "./models.js";
|