candidhealth 0.23.0 → 0.24.0-2a6d412
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/Client.d.ts +1 -1
- package/api/resources/auth/client/Client.d.ts +1 -1
- package/api/resources/auth/resources/v2/client/Client.d.ts +1 -1
- package/api/resources/auth/resources/v2/client/Client.js +3 -2
- package/api/resources/billingNotes/client/Client.d.ts +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.d.ts +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -2
- package/api/resources/contracts/client/Client.d.ts +1 -1
- package/api/resources/contracts/resources/v2/client/Client.d.ts +1 -1
- package/api/resources/contracts/resources/v2/client/Client.js +15 -10
- package/api/resources/eligibility/client/Client.d.ts +1 -1
- package/api/resources/eligibility/resources/v2/client/Client.d.ts +1 -1
- package/api/resources/eligibility/resources/v2/client/Client.js +9 -6
- package/api/resources/encounters/client/Client.d.ts +1 -1
- package/api/resources/encounters/resources/v4/client/Client.d.ts +1 -1
- package/api/resources/encounters/resources/v4/client/Client.js +12 -8
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -5
- package/api/resources/expectedNetworkStatus/client/Client.d.ts +1 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +3 -2
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +6 -4
- package/api/resources/exports/client/Client.d.ts +1 -1
- package/api/resources/exports/resources/v3/client/Client.d.ts +1 -1
- package/api/resources/exports/resources/v3/client/Client.js +3 -2
- package/api/resources/externalPaymentAccountConfig/client/Client.d.ts +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +3 -2
- package/api/resources/feeSchedules/client/Client.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +30 -20
- package/api/resources/guarantor/client/Client.d.ts +1 -1
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/guarantor/resources/v1/client/Client.js +9 -6
- package/api/resources/importInvoice/client/Client.d.ts +1 -1
- package/api/resources/importInvoice/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/importInvoice/resources/v1/client/Client.js +12 -8
- package/api/resources/insuranceAdjudications/client/Client.d.ts +1 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +9 -6
- package/api/resources/insurancePayments/client/Client.d.ts +1 -1
- package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/insurancePayments/resources/v1/client/Client.js +15 -10
- package/api/resources/insuranceRefunds/client/Client.d.ts +1 -1
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +15 -10
- package/api/resources/organizationProviders/client/Client.d.ts +1 -1
- package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +1 -1
- package/api/resources/organizationProviders/resources/v3/client/Client.js +12 -8
- package/api/resources/organizationServiceFacilities/client/Client.d.ts +1 -1
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +15 -10
- package/api/resources/patientPayments/client/Client.d.ts +1 -1
- package/api/resources/patientPayments/resources/v4/client/Client.d.ts +1 -1
- package/api/resources/patientPayments/resources/v4/client/Client.js +15 -10
- package/api/resources/patientRefunds/client/Client.d.ts +1 -1
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/patientRefunds/resources/v1/client/Client.js +15 -10
- package/api/resources/payers/client/Client.d.ts +1 -1
- package/api/resources/payers/resources/v3/client/Client.d.ts +1 -1
- package/api/resources/payers/resources/v3/client/Client.js +6 -4
- package/api/resources/preEncounter/client/Client.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/client/Client.d.ts +4 -125
- package/api/resources/preEncounter/resources/coverages/client/Client.js +3 -424
- package/api/resources/preEncounter/resources/coverages/client/index.d.ts +1 -7
- package/api/resources/preEncounter/resources/coverages/client/index.js +0 -34
- package/api/resources/preEncounter/resources/coverages/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/index.js +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/index.js +27 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +23 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +17 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/index.js +18 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.d.ts +144 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +445 -0
- package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/create.d.ts +6 -6
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/create.js +2 -2
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/get.d.ts +6 -6
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/get.js +2 -2
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getHistory.d.ts +7 -7
- package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/getHistory.js +3 -3
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getMulti.d.ts +6 -6
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getMulti.js +2 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.d.ts +7 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.js +36 -0
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/scan.d.ts +6 -6
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/scan.js +2 -2
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/update.d.ts +8 -8
- package/api/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/update.js +4 -4
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +18 -0
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/Coverage.d.ts +3 -3
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageId.d.ts +3 -3
- package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.d.ts +2 -2
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/MutableCoverage.d.ts +5 -5
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/Subscriber.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +3 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +32 -0
- package/api/resources/preEncounter/resources/index.d.ts +0 -4
- package/api/resources/preEncounter/resources/index.js +0 -4
- package/api/resources/preEncounter/resources/patients/client/Client.d.ts +4 -316
- package/api/resources/preEncounter/resources/patients/client/Client.js +3 -688
- package/api/resources/preEncounter/resources/patients/client/index.d.ts +1 -8
- package/api/resources/preEncounter/resources/patients/client/index.js +0 -35
- package/api/resources/preEncounter/resources/patients/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/index.js +1 -1
- package/api/resources/preEncounter/resources/patients/resources/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/index.js +27 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +23 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +17 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/index.js +18 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +3 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/index.js +32 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.d.ts +335 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +709 -0
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/create.d.ts +7 -7
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/create.js +3 -3
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.d.ts +8 -8
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.js +4 -4
- package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/get.d.ts +7 -7
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/get.js +3 -3
- package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/getHistory.d.ts +7 -7
- package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/getHistory.js +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +8 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.js +37 -0
- package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/scan.d.ts +6 -6
- package/api/resources/preEncounter/resources/{coverages → patients/resources/v1/resources/patients}/client/scan.js +2 -2
- package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/search.d.ts +6 -6
- package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/search.js +2 -2
- package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/update.d.ts +8 -8
- package/api/resources/preEncounter/resources/{coverages → patients/resources/v1/resources/patients}/client/update.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +18 -0
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/Contact.d.ts +1 -1
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/ExternalProvider.d.ts +1 -1
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/MutablePatient.d.ts +5 -5
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/Patient.d.ts +3 -3
- package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/PatientId.d.ts +3 -3
- package/api/resources/serviceFacility/client/Client.d.ts +1 -1
- package/api/resources/serviceFacility/client/Client.js +3 -2
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +11 -5
- package/api/resources/tasks/client/Client.d.ts +1 -1
- package/api/resources/tasks/resources/v3/client/Client.d.ts +1 -1
- package/api/resources/tasks/resources/v3/client/Client.js +15 -10
- package/api/resources/writeOffs/client/Client.d.ts +1 -1
- package/api/resources/writeOffs/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/writeOffs/resources/v1/client/Client.js +12 -8
- package/dist/Client.d.ts +1 -1
- package/dist/api/resources/auth/client/Client.d.ts +1 -1
- package/dist/api/resources/auth/resources/v2/client/Client.d.ts +1 -1
- package/dist/api/resources/auth/resources/v2/client/Client.js +3 -2
- package/dist/api/resources/billingNotes/client/Client.d.ts +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -2
- package/dist/api/resources/contracts/client/Client.d.ts +1 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +1 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +15 -10
- package/dist/api/resources/eligibility/client/Client.d.ts +1 -1
- package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +1 -1
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +9 -6
- package/dist/api/resources/encounters/client/Client.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +12 -8
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -5
- package/dist/api/resources/expectedNetworkStatus/client/Client.d.ts +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +3 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +6 -4
- package/dist/api/resources/exports/client/Client.d.ts +1 -1
- package/dist/api/resources/exports/resources/v3/client/Client.d.ts +1 -1
- package/dist/api/resources/exports/resources/v3/client/Client.js +3 -2
- package/dist/api/resources/externalPaymentAccountConfig/client/Client.d.ts +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +3 -2
- package/dist/api/resources/feeSchedules/client/Client.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +30 -20
- package/dist/api/resources/guarantor/client/Client.d.ts +1 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +9 -6
- package/dist/api/resources/importInvoice/client/Client.d.ts +1 -1
- package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +12 -8
- package/dist/api/resources/insuranceAdjudications/client/Client.d.ts +1 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +9 -6
- package/dist/api/resources/insurancePayments/client/Client.d.ts +1 -1
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +15 -10
- package/dist/api/resources/insuranceRefunds/client/Client.d.ts +1 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +15 -10
- package/dist/api/resources/organizationProviders/client/Client.d.ts +1 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +1 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +12 -8
- package/dist/api/resources/organizationServiceFacilities/client/Client.d.ts +1 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +15 -10
- package/dist/api/resources/patientPayments/client/Client.d.ts +1 -1
- package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +1 -1
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +15 -10
- package/dist/api/resources/patientRefunds/client/Client.d.ts +1 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +15 -10
- package/dist/api/resources/payers/client/Client.d.ts +1 -1
- package/dist/api/resources/payers/resources/v3/client/Client.d.ts +1 -1
- package/dist/api/resources/payers/resources/v3/client/Client.js +6 -4
- package/dist/api/resources/preEncounter/client/Client.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/client/Client.d.ts +4 -125
- package/dist/api/resources/preEncounter/resources/coverages/client/Client.js +3 -424
- package/dist/api/resources/preEncounter/resources/coverages/client/index.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/coverages/client/index.js +0 -34
- package/dist/api/resources/preEncounter/resources/coverages/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/index.js +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/index.js +27 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +23 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +17 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.d.ts +144 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +445 -0
- package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/create.d.ts +6 -6
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/create.js +2 -2
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/get.d.ts +6 -6
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/get.js +2 -2
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getHistory.d.ts +7 -7
- package/dist/api/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/getHistory.js +3 -3
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getMulti.d.ts +6 -6
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getMulti.js +2 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.js +36 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/index.js +2 -0
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/scan.d.ts +6 -6
- package/dist/api/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/scan.js +2 -2
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/update.d.ts +8 -8
- package/dist/api/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/update.js +4 -4
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +18 -0
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/Coverage.d.ts +3 -3
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageId.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.d.ts +2 -2
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/MutableCoverage.d.ts +5 -5
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/Subscriber.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +32 -0
- package/dist/api/resources/preEncounter/resources/index.d.ts +0 -4
- package/dist/api/resources/preEncounter/resources/index.js +0 -4
- package/dist/api/resources/preEncounter/resources/patients/client/Client.d.ts +4 -316
- package/dist/api/resources/preEncounter/resources/patients/client/Client.js +3 -688
- package/dist/api/resources/preEncounter/resources/patients/client/index.d.ts +1 -8
- package/dist/api/resources/preEncounter/resources/patients/client/index.js +0 -35
- package/dist/api/resources/preEncounter/resources/patients/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/index.js +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/index.js +27 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +23 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +17 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/index.js +32 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.d.ts +335 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +709 -0
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/create.d.ts +7 -7
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/create.js +3 -3
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.d.ts +8 -8
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/get.d.ts +7 -7
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/get.js +3 -3
- package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/getHistory.d.ts +7 -7
- package/dist/api/resources/preEncounter/resources/{coverages → patients/resources/v1/resources/patients}/client/getHistory.js +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.js +37 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/scan.d.ts +6 -6
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/scan.js +2 -2
- package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/search.d.ts +6 -6
- package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/search.js +2 -2
- package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/update.d.ts +8 -8
- package/dist/api/resources/preEncounter/resources/{coverages → patients/resources/v1/resources/patients}/client/update.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +18 -0
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/Contact.d.ts +1 -1
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/ExternalProvider.d.ts +1 -1
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/MutablePatient.d.ts +5 -5
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/Patient.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/PatientId.d.ts +3 -3
- package/dist/api/resources/serviceFacility/client/Client.d.ts +1 -1
- package/dist/api/resources/serviceFacility/client/Client.js +3 -2
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +11 -5
- package/dist/api/resources/tasks/client/Client.d.ts +1 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +1 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +15 -10
- package/dist/api/resources/writeOffs/client/Client.d.ts +1 -1
- package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +12 -8
- package/dist/environments.d.ts +12 -2
- package/dist/environments.js +8 -2
- package/dist/index.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/Address.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/Address.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/index.d.ts +1 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/index.js +1 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/index.js +27 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/getHistory.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/getMulti.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/scan.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +20 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/update.js +6 -6
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +18 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.d.ts +21 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Coverage.js +5 -5
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.d.ts +10 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageId.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.d.ts +10 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageStatus.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +10 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageType.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.d.ts +22 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.js +8 -8
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.d.ts +22 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/MutableCoverage.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.d.ts +16 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Subscriber.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/index.d.ts +0 -2
- package/dist/serialization/resources/preEncounter/resources/index.js +0 -2
- package/dist/serialization/resources/preEncounter/resources/patients/index.d.ts +1 -2
- package/dist/serialization/resources/preEncounter/resources/patients/index.js +1 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/index.js +27 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/create.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +20 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.js +6 -6
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +15 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/get.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/getHistory.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +11 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/scan.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +11 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/search.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/update.js +6 -6
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +18 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +23 -0
- package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Contact.js +7 -7
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +19 -0
- package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvider.js +5 -5
- package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.d.ts +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +35 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/MutablePatient.js +15 -15
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.d.ts +21 -0
- package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Patient.js +5 -5
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.d.ts +10 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/PatientId.js +3 -3
- package/environments.d.ts +12 -2
- package/environments.js +8 -2
- package/index.d.ts +1 -1
- package/package.json +1 -1
- package/serialization/resources/preEncounter/resources/common/types/Address.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/common/types/Address.js +1 -1
- package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/index.d.ts +1 -2
- package/serialization/resources/preEncounter/resources/coverages/index.js +1 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/index.js +27 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/index.js +17 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/getHistory.js +4 -4
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/getMulti.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/scan.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/update.js +6 -6
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +18 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.d.ts +21 -0
- package/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Coverage.js +5 -5
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.d.ts +10 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageId.js +3 -3
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.d.ts +10 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageStatus.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +10 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageType.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.d.ts +22 -0
- package/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.js +8 -8
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.d.ts +22 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/MutableCoverage.js +4 -4
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.d.ts +16 -0
- package/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Subscriber.js +4 -4
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +31 -0
- package/serialization/resources/preEncounter/resources/index.d.ts +0 -2
- package/serialization/resources/preEncounter/resources/index.js +0 -2
- package/serialization/resources/preEncounter/resources/patients/index.d.ts +1 -2
- package/serialization/resources/preEncounter/resources/patients/index.js +1 -2
- package/serialization/resources/preEncounter/resources/patients/resources/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/index.js +27 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/index.js +17 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js +31 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/create.js +4 -4
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +20 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.js +6 -6
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +15 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/get.js +4 -4
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/getHistory.js +4 -4
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +11 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/scan.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +11 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/search.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +20 -0
- package/{dist/serialization/resources/preEncounter/resources/coverages → serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients}/client/update.js +6 -6
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +18 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +23 -0
- package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Contact.js +7 -7
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.js +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +19 -0
- package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvider.js +5 -5
- package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.d.ts +4 -4
- package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +35 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/MutablePatient.js +15 -15
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.d.ts +21 -0
- package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Patient.js +5 -5
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.d.ts +10 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/PatientId.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/coverages/client/getHistory.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/coverages/client/getMulti.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/coverages/client/scan.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/coverages/client/update.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/coverages/types/Coverage.d.ts +0 -21
- package/dist/serialization/resources/preEncounter/resources/coverages/types/CoverageId.d.ts +0 -10
- package/dist/serialization/resources/preEncounter/resources/coverages/types/CoverageStatus.d.ts +0 -10
- package/dist/serialization/resources/preEncounter/resources/coverages/types/CoverageType.d.ts +0 -10
- package/dist/serialization/resources/preEncounter/resources/coverages/types/InsurancePlan.d.ts +0 -22
- package/dist/serialization/resources/preEncounter/resources/coverages/types/MutableCoverage.d.ts +0 -22
- package/dist/serialization/resources/preEncounter/resources/coverages/types/Subscriber.d.ts +0 -16
- package/dist/serialization/resources/preEncounter/resources/patients/client/create.d.ts +0 -15
- package/dist/serialization/resources/preEncounter/resources/patients/client/deactivate.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/patients/client/get.d.ts +0 -15
- package/dist/serialization/resources/preEncounter/resources/patients/client/getHistory.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/patients/client/scan.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/patients/client/search.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/patients/client/update.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/patients/types/Contact.d.ts +0 -23
- package/dist/serialization/resources/preEncounter/resources/patients/types/ExternalProvenance.d.ts +0 -13
- package/dist/serialization/resources/preEncounter/resources/patients/types/ExternalProvider.d.ts +0 -19
- package/dist/serialization/resources/preEncounter/resources/patients/types/MutablePatient.d.ts +0 -35
- package/dist/serialization/resources/preEncounter/resources/patients/types/Patient.d.ts +0 -21
- package/dist/serialization/resources/preEncounter/resources/patients/types/PatientId.d.ts +0 -10
- package/serialization/resources/preEncounter/resources/coverages/client/getHistory.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/coverages/client/getMulti.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/coverages/client/scan.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/coverages/client/update.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/coverages/types/Coverage.d.ts +0 -21
- package/serialization/resources/preEncounter/resources/coverages/types/CoverageId.d.ts +0 -10
- package/serialization/resources/preEncounter/resources/coverages/types/CoverageStatus.d.ts +0 -10
- package/serialization/resources/preEncounter/resources/coverages/types/CoverageType.d.ts +0 -10
- package/serialization/resources/preEncounter/resources/coverages/types/InsurancePlan.d.ts +0 -22
- package/serialization/resources/preEncounter/resources/coverages/types/MutableCoverage.d.ts +0 -22
- package/serialization/resources/preEncounter/resources/coverages/types/Subscriber.d.ts +0 -16
- package/serialization/resources/preEncounter/resources/patients/client/create.d.ts +0 -15
- package/serialization/resources/preEncounter/resources/patients/client/deactivate.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/client/get.d.ts +0 -15
- package/serialization/resources/preEncounter/resources/patients/client/getHistory.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/client/scan.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/patients/client/search.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/patients/client/update.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/types/Contact.d.ts +0 -23
- package/serialization/resources/preEncounter/resources/patients/types/ExternalProvenance.d.ts +0 -13
- package/serialization/resources/preEncounter/resources/patients/types/ExternalProvider.d.ts +0 -19
- package/serialization/resources/preEncounter/resources/patients/types/MutablePatient.d.ts +0 -35
- package/serialization/resources/preEncounter/resources/patients/types/Patient.d.ts +0 -21
- package/serialization/resources/preEncounter/resources/patients/types/PatientId.d.ts +0 -10
- /package/api/resources/preEncounter/resources/coverages/{client/requests → resources/v1/client}/index.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/CoverageScanRequest.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/CoverageScanRequest.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/GetAllCoveragesRequest.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/GetAllCoveragesRequest.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/index.d.ts +0 -0
- /package/api/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/requests/index.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Coverage.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageId.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageStatus.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageStatus.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageType.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageType.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/MutableCoverage.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Subscriber.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.js +0 -0
- /package/{dist/api/resources/preEncounter/resources/coverages/client/requests → api/resources/preEncounter/resources/patients/resources/v1/client}/index.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientScanRequest.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientScanRequest.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientsSearchRequest.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientsSearchRequest.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/index.d.ts +0 -0
- /package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/requests/index.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Contact.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvider.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MutablePatient.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Patient.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/PatientId.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/CoverageScanRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/CoverageScanRequest.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/GetAllCoveragesRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/GetAllCoveragesRequest.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/index.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Coverage.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageId.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageStatus.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageStatus.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageType.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageType.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/MutableCoverage.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Subscriber.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientScanRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientScanRequest.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientsSearchRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientsSearchRequest.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/index.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Contact.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvider.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MutablePatient.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Patient.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/PatientId.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.js +0 -0
- /package/dist/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/index.d.ts +0 -0
- /package/dist/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/index.js +0 -0
- /package/dist/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.d.ts +0 -0
- /package/dist/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.js +0 -0
- /package/dist/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/index.d.ts +0 -0
- /package/dist/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/index.js +0 -0
- /package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.d.ts +0 -0
- /package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.js +0 -0
- /package/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/index.d.ts +0 -0
- /package/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/index.js +0 -0
- /package/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.d.ts +0 -0
- /package/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.js +0 -0
- /package/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/index.d.ts +0 -0
- /package/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/index.js +0 -0
- /package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.d.ts +0 -0
- /package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.js +0 -0
|
@@ -61,13 +61,14 @@ class V3 {
|
|
|
61
61
|
var _a, _b;
|
|
62
62
|
return __awaiter(this, void 0, void 0, function* () {
|
|
63
63
|
const _response = yield core.fetcher({
|
|
64
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
64
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
65
|
+
.candidApi, `/api/fee-schedules/v3/service-line/${encodeURIComponent(yield serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match`),
|
|
65
66
|
method: "GET",
|
|
66
67
|
headers: {
|
|
67
68
|
Authorization: yield this._getAuthorizationHeader(),
|
|
68
69
|
"X-Fern-Language": "JavaScript",
|
|
69
70
|
"X-Fern-SDK-Name": "candidhealth",
|
|
70
|
-
"X-Fern-SDK-Version": "0.
|
|
71
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
71
72
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
72
73
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
73
74
|
},
|
|
@@ -122,13 +123,14 @@ class V3 {
|
|
|
122
123
|
var _a, _b;
|
|
123
124
|
return __awaiter(this, void 0, void 0, function* () {
|
|
124
125
|
const _response = yield core.fetcher({
|
|
125
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
126
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
127
|
+
.candidApi, `/api/fee-schedules/v3/service-line/${encodeURIComponent(yield serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/match/${encodeURIComponent(yield serializers.RateId.jsonOrThrow(rateId))}`),
|
|
126
128
|
method: "GET",
|
|
127
129
|
headers: {
|
|
128
130
|
Authorization: yield this._getAuthorizationHeader(),
|
|
129
131
|
"X-Fern-Language": "JavaScript",
|
|
130
132
|
"X-Fern-SDK-Name": "candidhealth",
|
|
131
|
-
"X-Fern-SDK-Version": "0.
|
|
133
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
132
134
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
133
135
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
134
136
|
},
|
|
@@ -263,13 +265,14 @@ class V3 {
|
|
|
263
265
|
}
|
|
264
266
|
}
|
|
265
267
|
const _response = yield core.fetcher({
|
|
266
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
268
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
269
|
+
.candidApi, "/api/fee-schedules/v3"),
|
|
267
270
|
method: "GET",
|
|
268
271
|
headers: {
|
|
269
272
|
Authorization: yield this._getAuthorizationHeader(),
|
|
270
273
|
"X-Fern-Language": "JavaScript",
|
|
271
274
|
"X-Fern-SDK-Name": "candidhealth",
|
|
272
|
-
"X-Fern-SDK-Version": "0.
|
|
275
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
273
276
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
274
277
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
275
278
|
},
|
|
@@ -388,13 +391,14 @@ class V3 {
|
|
|
388
391
|
}
|
|
389
392
|
}
|
|
390
393
|
const _response = yield core.fetcher({
|
|
391
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
394
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
395
|
+
.candidApi, "/api/fee-schedules/v3/unique-dimension-values"),
|
|
392
396
|
method: "GET",
|
|
393
397
|
headers: {
|
|
394
398
|
Authorization: yield this._getAuthorizationHeader(),
|
|
395
399
|
"X-Fern-Language": "JavaScript",
|
|
396
400
|
"X-Fern-SDK-Name": "candidhealth",
|
|
397
|
-
"X-Fern-SDK-Version": "0.
|
|
401
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
398
402
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
399
403
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
400
404
|
},
|
|
@@ -434,13 +438,14 @@ class V3 {
|
|
|
434
438
|
var _a, _b;
|
|
435
439
|
return __awaiter(this, void 0, void 0, function* () {
|
|
436
440
|
const _response = yield core.fetcher({
|
|
437
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
441
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
442
|
+
.candidApi, `/api/fee-schedules/v3/${encodeURIComponent(yield serializers.RateId.jsonOrThrow(rateId))}/history`),
|
|
438
443
|
method: "GET",
|
|
439
444
|
headers: {
|
|
440
445
|
Authorization: yield this._getAuthorizationHeader(),
|
|
441
446
|
"X-Fern-Language": "JavaScript",
|
|
442
447
|
"X-Fern-SDK-Name": "candidhealth",
|
|
443
|
-
"X-Fern-SDK-Version": "0.
|
|
448
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
444
449
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
445
450
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
446
451
|
},
|
|
@@ -514,13 +519,14 @@ class V3 {
|
|
|
514
519
|
var _a, _b;
|
|
515
520
|
return __awaiter(this, void 0, void 0, function* () {
|
|
516
521
|
const _response = yield core.fetcher({
|
|
517
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
522
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
523
|
+
.candidApi, "/api/fee-schedules/v3"),
|
|
518
524
|
method: "POST",
|
|
519
525
|
headers: {
|
|
520
526
|
Authorization: yield this._getAuthorizationHeader(),
|
|
521
527
|
"X-Fern-Language": "JavaScript",
|
|
522
528
|
"X-Fern-SDK-Name": "candidhealth",
|
|
523
|
-
"X-Fern-SDK-Version": "0.
|
|
529
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
524
530
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
525
531
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
526
532
|
},
|
|
@@ -577,13 +583,14 @@ class V3 {
|
|
|
577
583
|
var _a, _b;
|
|
578
584
|
return __awaiter(this, void 0, void 0, function* () {
|
|
579
585
|
const _response = yield core.fetcher({
|
|
580
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
586
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
587
|
+
.candidApi, `/api/fee-schedules/v3/${encodeURIComponent(yield serializers.RateId.jsonOrThrow(rateId))}/${encodeURIComponent(version)}`),
|
|
581
588
|
method: "DELETE",
|
|
582
589
|
headers: {
|
|
583
590
|
Authorization: yield this._getAuthorizationHeader(),
|
|
584
591
|
"X-Fern-Language": "JavaScript",
|
|
585
592
|
"X-Fern-SDK-Name": "candidhealth",
|
|
586
|
-
"X-Fern-SDK-Version": "0.
|
|
593
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
587
594
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
588
595
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
589
596
|
},
|
|
@@ -631,13 +638,14 @@ class V3 {
|
|
|
631
638
|
var _a;
|
|
632
639
|
return __awaiter(this, void 0, void 0, function* () {
|
|
633
640
|
const _response = yield core.fetcher({
|
|
634
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
641
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
642
|
+
.candidApi, "/api/fee-schedules/v3/payer-threshold/default"),
|
|
635
643
|
method: "GET",
|
|
636
644
|
headers: {
|
|
637
645
|
Authorization: yield this._getAuthorizationHeader(),
|
|
638
646
|
"X-Fern-Language": "JavaScript",
|
|
639
647
|
"X-Fern-SDK-Name": "candidhealth",
|
|
640
|
-
"X-Fern-SDK-Version": "0.
|
|
648
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
641
649
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
642
650
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
643
651
|
},
|
|
@@ -686,13 +694,14 @@ class V3 {
|
|
|
686
694
|
_queryParams["payer_uuids"] = payerUuids;
|
|
687
695
|
}
|
|
688
696
|
const _response = yield core.fetcher({
|
|
689
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
697
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
698
|
+
.candidApi, "/api/fee-schedules/v3/payer-threshold"),
|
|
690
699
|
method: "GET",
|
|
691
700
|
headers: {
|
|
692
701
|
Authorization: yield this._getAuthorizationHeader(),
|
|
693
702
|
"X-Fern-Language": "JavaScript",
|
|
694
703
|
"X-Fern-SDK-Name": "candidhealth",
|
|
695
|
-
"X-Fern-SDK-Version": "0.
|
|
704
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
696
705
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
697
706
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
698
707
|
},
|
|
@@ -737,13 +746,14 @@ class V3 {
|
|
|
737
746
|
var _a, _b;
|
|
738
747
|
return __awaiter(this, void 0, void 0, function* () {
|
|
739
748
|
const _response = yield core.fetcher({
|
|
740
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
749
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
750
|
+
.candidApi, `/api/fee-schedules/v3/payer-threshold/${encodeURIComponent(yield serializers.payers.v3.PayerUuid.jsonOrThrow(payerUuid))}`),
|
|
741
751
|
method: "PUT",
|
|
742
752
|
headers: {
|
|
743
753
|
Authorization: yield this._getAuthorizationHeader(),
|
|
744
754
|
"X-Fern-Language": "JavaScript",
|
|
745
755
|
"X-Fern-SDK-Name": "candidhealth",
|
|
746
|
-
"X-Fern-SDK-Version": "0.
|
|
756
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
747
757
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
748
758
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
749
759
|
},
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../core";
|
|
|
6
6
|
import { V1 } from "../resources/v1/client/Client";
|
|
7
7
|
export declare namespace Guarantor {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.CandidApiEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
10
|
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../../../core";
|
|
|
6
6
|
import * as CandidApi from "../../../../../index";
|
|
7
7
|
export declare namespace V1 {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.CandidApiEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
10
|
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
@@ -82,13 +82,14 @@ class V1 {
|
|
|
82
82
|
var _a, _b;
|
|
83
83
|
return __awaiter(this, void 0, void 0, function* () {
|
|
84
84
|
const _response = yield core.fetcher({
|
|
85
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
85
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
86
|
+
.candidApi, `/api/guarantors/v1/${encodeURIComponent(yield serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
86
87
|
method: "POST",
|
|
87
88
|
headers: {
|
|
88
89
|
Authorization: yield this._getAuthorizationHeader(),
|
|
89
90
|
"X-Fern-Language": "JavaScript",
|
|
90
91
|
"X-Fern-SDK-Name": "candidhealth",
|
|
91
|
-
"X-Fern-SDK-Version": "0.
|
|
92
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
92
93
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
93
94
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
94
95
|
},
|
|
@@ -145,13 +146,14 @@ class V1 {
|
|
|
145
146
|
var _a;
|
|
146
147
|
return __awaiter(this, void 0, void 0, function* () {
|
|
147
148
|
const _response = yield core.fetcher({
|
|
148
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
149
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
150
|
+
.candidApi, `/api/guarantors/v1/${encodeURIComponent(yield serializers.guarantor.v1.GuarantorId.jsonOrThrow(guarantorId))}`),
|
|
149
151
|
method: "GET",
|
|
150
152
|
headers: {
|
|
151
153
|
Authorization: yield this._getAuthorizationHeader(),
|
|
152
154
|
"X-Fern-Language": "JavaScript",
|
|
153
155
|
"X-Fern-SDK-Name": "candidhealth",
|
|
154
|
-
"X-Fern-SDK-Version": "0.
|
|
156
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
155
157
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
156
158
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
157
159
|
},
|
|
@@ -211,13 +213,14 @@ class V1 {
|
|
|
211
213
|
var _a;
|
|
212
214
|
return __awaiter(this, void 0, void 0, function* () {
|
|
213
215
|
const _response = yield core.fetcher({
|
|
214
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
216
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
217
|
+
.candidApi, `/api/guarantors/v1/${encodeURIComponent(yield serializers.guarantor.v1.GuarantorId.jsonOrThrow(guarantorId))}`),
|
|
215
218
|
method: "PATCH",
|
|
216
219
|
headers: {
|
|
217
220
|
Authorization: yield this._getAuthorizationHeader(),
|
|
218
221
|
"X-Fern-Language": "JavaScript",
|
|
219
222
|
"X-Fern-SDK-Name": "candidhealth",
|
|
220
|
-
"X-Fern-SDK-Version": "0.
|
|
223
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
221
224
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
222
225
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
223
226
|
},
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../core";
|
|
|
6
6
|
import { V1 } from "../resources/v1/client/Client";
|
|
7
7
|
export declare namespace ImportInvoice {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.CandidApiEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
10
|
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../../../core";
|
|
|
6
6
|
import * as CandidApi from "../../../../../index";
|
|
7
7
|
export declare namespace V1 {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.CandidApiEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
10
|
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
@@ -71,13 +71,14 @@ class V1 {
|
|
|
71
71
|
var _a;
|
|
72
72
|
return __awaiter(this, void 0, void 0, function* () {
|
|
73
73
|
const _response = yield core.fetcher({
|
|
74
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
74
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
75
|
+
.candidApi, "/api/import-invoice/v1"),
|
|
75
76
|
method: "POST",
|
|
76
77
|
headers: {
|
|
77
78
|
Authorization: yield this._getAuthorizationHeader(),
|
|
78
79
|
"X-Fern-Language": "JavaScript",
|
|
79
80
|
"X-Fern-SDK-Name": "candidhealth",
|
|
80
|
-
"X-Fern-SDK-Version": "0.
|
|
81
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
81
82
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
82
83
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
83
84
|
},
|
|
@@ -167,13 +168,14 @@ class V1 {
|
|
|
167
168
|
_queryParams["page_token"] = pageToken;
|
|
168
169
|
}
|
|
169
170
|
const _response = yield core.fetcher({
|
|
170
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
171
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
172
|
+
.candidApi, "/api/import-invoice/v1"),
|
|
171
173
|
method: "GET",
|
|
172
174
|
headers: {
|
|
173
175
|
Authorization: yield this._getAuthorizationHeader(),
|
|
174
176
|
"X-Fern-Language": "JavaScript",
|
|
175
177
|
"X-Fern-SDK-Name": "candidhealth",
|
|
176
|
-
"X-Fern-SDK-Version": "0.
|
|
178
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
177
179
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
178
180
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
179
181
|
},
|
|
@@ -213,13 +215,14 @@ class V1 {
|
|
|
213
215
|
var _a, _b;
|
|
214
216
|
return __awaiter(this, void 0, void 0, function* () {
|
|
215
217
|
const _response = yield core.fetcher({
|
|
216
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
218
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
219
|
+
.candidApi, `/api/import-invoice/v1/${encodeURIComponent(yield serializers.InvoiceId.jsonOrThrow(invoiceId))}`),
|
|
217
220
|
method: "GET",
|
|
218
221
|
headers: {
|
|
219
222
|
Authorization: yield this._getAuthorizationHeader(),
|
|
220
223
|
"X-Fern-Language": "JavaScript",
|
|
221
224
|
"X-Fern-SDK-Name": "candidhealth",
|
|
222
|
-
"X-Fern-SDK-Version": "0.
|
|
225
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
223
226
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
224
227
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
225
228
|
},
|
|
@@ -282,13 +285,14 @@ class V1 {
|
|
|
282
285
|
var _a, _b;
|
|
283
286
|
return __awaiter(this, void 0, void 0, function* () {
|
|
284
287
|
const _response = yield core.fetcher({
|
|
285
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
288
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
289
|
+
.candidApi, `/api/import-invoice/v1/${encodeURIComponent(yield serializers.InvoiceId.jsonOrThrow(invoiceId))}`),
|
|
286
290
|
method: "PATCH",
|
|
287
291
|
headers: {
|
|
288
292
|
Authorization: yield this._getAuthorizationHeader(),
|
|
289
293
|
"X-Fern-Language": "JavaScript",
|
|
290
294
|
"X-Fern-SDK-Name": "candidhealth",
|
|
291
|
-
"X-Fern-SDK-Version": "0.
|
|
295
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
292
296
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
293
297
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
294
298
|
},
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../core";
|
|
|
6
6
|
import { V1 } from "../resources/v1/client/Client";
|
|
7
7
|
export declare namespace InsuranceAdjudications {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.CandidApiEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
10
|
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../../../core";
|
|
|
6
6
|
import * as CandidApi from "../../../../../index";
|
|
7
7
|
export declare namespace V1 {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.CandidApiEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
10
|
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
@@ -61,13 +61,14 @@ class V1 {
|
|
|
61
61
|
var _a;
|
|
62
62
|
return __awaiter(this, void 0, void 0, function* () {
|
|
63
63
|
const _response = yield core.fetcher({
|
|
64
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
64
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
65
|
+
.candidApi, `/api/insurance-adjudications/v1/${encodeURIComponent(yield serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.jsonOrThrow(insuranceAdjudicationId))}`),
|
|
65
66
|
method: "GET",
|
|
66
67
|
headers: {
|
|
67
68
|
Authorization: yield this._getAuthorizationHeader(),
|
|
68
69
|
"X-Fern-Language": "JavaScript",
|
|
69
70
|
"X-Fern-SDK-Name": "candidhealth",
|
|
70
|
-
"X-Fern-SDK-Version": "0.
|
|
71
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
71
72
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
72
73
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
73
74
|
},
|
|
@@ -118,13 +119,14 @@ class V1 {
|
|
|
118
119
|
var _a, _b;
|
|
119
120
|
return __awaiter(this, void 0, void 0, function* () {
|
|
120
121
|
const _response = yield core.fetcher({
|
|
121
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
122
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
123
|
+
.candidApi, "/api/insurance-adjudications/v1"),
|
|
122
124
|
method: "POST",
|
|
123
125
|
headers: {
|
|
124
126
|
Authorization: yield this._getAuthorizationHeader(),
|
|
125
127
|
"X-Fern-Language": "JavaScript",
|
|
126
128
|
"X-Fern-SDK-Name": "candidhealth",
|
|
127
|
-
"X-Fern-SDK-Version": "0.
|
|
129
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
128
130
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
129
131
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
130
132
|
},
|
|
@@ -180,13 +182,14 @@ class V1 {
|
|
|
180
182
|
var _a;
|
|
181
183
|
return __awaiter(this, void 0, void 0, function* () {
|
|
182
184
|
const _response = yield core.fetcher({
|
|
183
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
185
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
186
|
+
.candidApi, `/api/insurance-adjudications/v1/${encodeURIComponent(yield serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.jsonOrThrow(insuranceAdjudicationId))}`),
|
|
184
187
|
method: "DELETE",
|
|
185
188
|
headers: {
|
|
186
189
|
Authorization: yield this._getAuthorizationHeader(),
|
|
187
190
|
"X-Fern-Language": "JavaScript",
|
|
188
191
|
"X-Fern-SDK-Name": "candidhealth",
|
|
189
|
-
"X-Fern-SDK-Version": "0.
|
|
192
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
190
193
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
191
194
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
192
195
|
},
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../core";
|
|
|
6
6
|
import { V1 } from "../resources/v1/client/Client";
|
|
7
7
|
export declare namespace InsurancePayments {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.CandidApiEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
10
|
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../../../core";
|
|
|
6
6
|
import * as CandidApi from "../../../../../index";
|
|
7
7
|
export declare namespace V1 {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.CandidApiEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
10
|
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
@@ -96,13 +96,14 @@ class V1 {
|
|
|
96
96
|
_queryParams["page_token"] = pageToken;
|
|
97
97
|
}
|
|
98
98
|
const _response = yield core.fetcher({
|
|
99
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
99
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
100
|
+
.candidApi, "/api/insurance-payments/v1"),
|
|
100
101
|
method: "GET",
|
|
101
102
|
headers: {
|
|
102
103
|
Authorization: yield this._getAuthorizationHeader(),
|
|
103
104
|
"X-Fern-Language": "JavaScript",
|
|
104
105
|
"X-Fern-SDK-Name": "candidhealth",
|
|
105
|
-
"X-Fern-SDK-Version": "0.
|
|
106
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
106
107
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
107
108
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
108
109
|
},
|
|
@@ -158,13 +159,14 @@ class V1 {
|
|
|
158
159
|
var _a, _b;
|
|
159
160
|
return __awaiter(this, void 0, void 0, function* () {
|
|
160
161
|
const _response = yield core.fetcher({
|
|
161
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
162
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
163
|
+
.candidApi, `/api/insurance-payments/v1/${encodeURIComponent(yield serializers.insurancePayments.v1.InsurancePaymentId.jsonOrThrow(insurancePaymentId))}`),
|
|
162
164
|
method: "GET",
|
|
163
165
|
headers: {
|
|
164
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
165
167
|
"X-Fern-Language": "JavaScript",
|
|
166
168
|
"X-Fern-SDK-Name": "candidhealth",
|
|
167
|
-
"X-Fern-SDK-Version": "0.
|
|
169
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
168
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
169
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
170
172
|
},
|
|
@@ -228,13 +230,14 @@ class V1 {
|
|
|
228
230
|
var _a, _b;
|
|
229
231
|
return __awaiter(this, void 0, void 0, function* () {
|
|
230
232
|
const _response = yield core.fetcher({
|
|
231
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
233
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
234
|
+
.candidApi, "/api/insurance-payments/v1"),
|
|
232
235
|
method: "POST",
|
|
233
236
|
headers: {
|
|
234
237
|
Authorization: yield this._getAuthorizationHeader(),
|
|
235
238
|
"X-Fern-Language": "JavaScript",
|
|
236
239
|
"X-Fern-SDK-Name": "candidhealth",
|
|
237
|
-
"X-Fern-SDK-Version": "0.
|
|
240
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
238
241
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
239
242
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
240
243
|
},
|
|
@@ -300,13 +303,14 @@ class V1 {
|
|
|
300
303
|
var _a, _b;
|
|
301
304
|
return __awaiter(this, void 0, void 0, function* () {
|
|
302
305
|
const _response = yield core.fetcher({
|
|
303
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
306
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
307
|
+
.candidApi, `/api/insurance-payments/v1/${encodeURIComponent(yield serializers.insurancePayments.v1.InsurancePaymentId.jsonOrThrow(insurancePaymentId))}`),
|
|
304
308
|
method: "PATCH",
|
|
305
309
|
headers: {
|
|
306
310
|
Authorization: yield this._getAuthorizationHeader(),
|
|
307
311
|
"X-Fern-Language": "JavaScript",
|
|
308
312
|
"X-Fern-SDK-Name": "candidhealth",
|
|
309
|
-
"X-Fern-SDK-Version": "0.
|
|
313
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
310
314
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
311
315
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
312
316
|
},
|
|
@@ -366,13 +370,14 @@ class V1 {
|
|
|
366
370
|
var _a, _b;
|
|
367
371
|
return __awaiter(this, void 0, void 0, function* () {
|
|
368
372
|
const _response = yield core.fetcher({
|
|
369
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
373
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
374
|
+
.candidApi, `/api/insurance-payments/v1/${encodeURIComponent(yield serializers.insurancePayments.v1.InsurancePaymentId.jsonOrThrow(insurancePaymentId))}`),
|
|
370
375
|
method: "DELETE",
|
|
371
376
|
headers: {
|
|
372
377
|
Authorization: yield this._getAuthorizationHeader(),
|
|
373
378
|
"X-Fern-Language": "JavaScript",
|
|
374
379
|
"X-Fern-SDK-Name": "candidhealth",
|
|
375
|
-
"X-Fern-SDK-Version": "0.
|
|
380
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
376
381
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
377
382
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
378
383
|
},
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../core";
|
|
|
6
6
|
import { V1 } from "../resources/v1/client/Client";
|
|
7
7
|
export declare namespace InsuranceRefunds {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.CandidApiEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
10
|
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../../../core";
|
|
|
6
6
|
import * as CandidApi from "../../../../../index";
|
|
7
7
|
export declare namespace V1 {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.CandidApiEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
10
|
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
@@ -97,13 +97,14 @@ class V1 {
|
|
|
97
97
|
_queryParams["page_token"] = pageToken;
|
|
98
98
|
}
|
|
99
99
|
const _response = yield core.fetcher({
|
|
100
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
100
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
101
|
+
.candidApi, "/api/insurance-refunds/v1"),
|
|
101
102
|
method: "GET",
|
|
102
103
|
headers: {
|
|
103
104
|
Authorization: yield this._getAuthorizationHeader(),
|
|
104
105
|
"X-Fern-Language": "JavaScript",
|
|
105
106
|
"X-Fern-SDK-Name": "candidhealth",
|
|
106
|
-
"X-Fern-SDK-Version": "0.
|
|
107
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
107
108
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
108
109
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
109
110
|
},
|
|
@@ -159,13 +160,14 @@ class V1 {
|
|
|
159
160
|
var _a, _b;
|
|
160
161
|
return __awaiter(this, void 0, void 0, function* () {
|
|
161
162
|
const _response = yield core.fetcher({
|
|
162
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
163
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
164
|
+
.candidApi, `/api/insurance-refunds/v1/${encodeURIComponent(yield serializers.insuranceRefunds.v1.InsuranceRefundId.jsonOrThrow(insuranceRefundId))}`),
|
|
163
165
|
method: "GET",
|
|
164
166
|
headers: {
|
|
165
167
|
Authorization: yield this._getAuthorizationHeader(),
|
|
166
168
|
"X-Fern-Language": "JavaScript",
|
|
167
169
|
"X-Fern-SDK-Name": "candidhealth",
|
|
168
|
-
"X-Fern-SDK-Version": "0.
|
|
170
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
169
171
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
170
172
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
171
173
|
},
|
|
@@ -230,13 +232,14 @@ class V1 {
|
|
|
230
232
|
var _a, _b;
|
|
231
233
|
return __awaiter(this, void 0, void 0, function* () {
|
|
232
234
|
const _response = yield core.fetcher({
|
|
233
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
235
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
236
|
+
.candidApi, "/api/insurance-refunds/v1"),
|
|
234
237
|
method: "POST",
|
|
235
238
|
headers: {
|
|
236
239
|
Authorization: yield this._getAuthorizationHeader(),
|
|
237
240
|
"X-Fern-Language": "JavaScript",
|
|
238
241
|
"X-Fern-SDK-Name": "candidhealth",
|
|
239
|
-
"X-Fern-SDK-Version": "0.
|
|
242
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
240
243
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
241
244
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
242
245
|
},
|
|
@@ -306,13 +309,14 @@ class V1 {
|
|
|
306
309
|
var _a, _b;
|
|
307
310
|
return __awaiter(this, void 0, void 0, function* () {
|
|
308
311
|
const _response = yield core.fetcher({
|
|
309
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
312
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
313
|
+
.candidApi, `/api/insurance-refunds/v1/${encodeURIComponent(yield serializers.insuranceRefunds.v1.InsuranceRefundId.jsonOrThrow(insuranceRefundId))}`),
|
|
310
314
|
method: "PATCH",
|
|
311
315
|
headers: {
|
|
312
316
|
Authorization: yield this._getAuthorizationHeader(),
|
|
313
317
|
"X-Fern-Language": "JavaScript",
|
|
314
318
|
"X-Fern-SDK-Name": "candidhealth",
|
|
315
|
-
"X-Fern-SDK-Version": "0.
|
|
319
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
316
320
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
317
321
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
318
322
|
},
|
|
@@ -372,13 +376,14 @@ class V1 {
|
|
|
372
376
|
var _a, _b;
|
|
373
377
|
return __awaiter(this, void 0, void 0, function* () {
|
|
374
378
|
const _response = yield core.fetcher({
|
|
375
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
379
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
380
|
+
.candidApi, `/api/insurance-refunds/v1/${encodeURIComponent(yield serializers.insuranceRefunds.v1.InsuranceRefundId.jsonOrThrow(insuranceRefundId))}`),
|
|
376
381
|
method: "DELETE",
|
|
377
382
|
headers: {
|
|
378
383
|
Authorization: yield this._getAuthorizationHeader(),
|
|
379
384
|
"X-Fern-Language": "JavaScript",
|
|
380
385
|
"X-Fern-SDK-Name": "candidhealth",
|
|
381
|
-
"X-Fern-SDK-Version": "0.
|
|
386
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
382
387
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
383
388
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
384
389
|
},
|