candidhealth 0.34.4 → 0.34.6
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 +3 -0
- package/Client.js +7 -2
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/claims/types/Claim.d.ts +4 -4
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.d.ts +65 -0
- package/api/resources/diagnoses/client/Client.js +237 -0
- package/api/resources/diagnoses/client/create.d.ts +22 -0
- package/api/resources/diagnoses/client/create.js +47 -0
- package/api/resources/diagnoses/client/delete.d.ts +28 -0
- package/api/resources/diagnoses/client/delete.js +58 -0
- package/api/resources/diagnoses/client/index.d.ts +4 -0
- package/api/resources/diagnoses/client/index.js +33 -0
- package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +33 -0
- package/api/resources/diagnoses/client/requests/DiagnosisUpdate.js +5 -0
- package/api/resources/diagnoses/client/requests/index.d.ts +1 -0
- package/api/resources/diagnoses/client/requests/index.js +2 -0
- package/api/resources/diagnoses/client/update.d.ts +28 -0
- package/api/resources/diagnoses/client/update.js +58 -0
- package/api/resources/diagnoses/index.d.ts +1 -0
- package/api/resources/diagnoses/index.js +1 -0
- package/api/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +8 -0
- package/api/resources/diagnoses/types/DiagnosisNotFoundError.js +5 -0
- package/api/resources/diagnoses/types/index.d.ts +1 -0
- package/api/resources/diagnoses/types/index.js +1 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -19
- package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +7 -2
- package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +11 -0
- package/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/createReferringProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +21 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/api/resources/encounters/resources/v4/client/Client.d.ts +28 -10
- package/api/resources/encounters/resources/v4/client/Client.js +33 -15
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +6 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +21 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +4 -4
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +4 -4
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +1 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +2 -1
- package/api/resources/medicationDispense/resources/v1/client/Client.js +3 -2
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +6 -5
- package/api/resources/serviceLines/resources/v2/client/Client.js +9 -8
- package/api/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +6 -6
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -2
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +6 -2
- package/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +3 -10
- package/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +8 -0
- package/api/resources/serviceLines/resources/v2/types/TestResultType.js +10 -0
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +7 -2
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/claims/types/Claim.d.ts +4 -4
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.d.ts +65 -0
- package/dist/api/resources/diagnoses/client/Client.js +237 -0
- package/dist/api/resources/diagnoses/client/create.d.ts +22 -0
- package/dist/api/resources/diagnoses/client/create.js +47 -0
- package/dist/api/resources/diagnoses/client/delete.d.ts +28 -0
- package/dist/api/resources/diagnoses/client/delete.js +58 -0
- package/dist/api/resources/diagnoses/client/index.d.ts +4 -0
- package/dist/api/resources/diagnoses/client/index.js +33 -0
- package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +33 -0
- package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.js +5 -0
- package/dist/api/resources/diagnoses/client/requests/index.d.ts +1 -0
- package/dist/api/resources/diagnoses/client/requests/index.js +2 -0
- package/dist/api/resources/diagnoses/client/update.d.ts +28 -0
- package/dist/api/resources/diagnoses/client/update.js +58 -0
- package/dist/api/resources/diagnoses/index.d.ts +1 -0
- package/dist/api/resources/diagnoses/index.js +1 -0
- package/dist/api/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +8 -0
- package/dist/api/resources/diagnoses/types/DiagnosisNotFoundError.js +5 -0
- package/dist/api/resources/diagnoses/types/index.d.ts +1 -0
- package/dist/api/resources/diagnoses/types/index.js +1 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -19
- package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +7 -2
- package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +11 -0
- package/dist/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/createReferringProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +21 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +28 -10
- package/dist/api/resources/encounters/resources/v4/client/Client.js +33 -15
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +6 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +21 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +4 -4
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +4 -4
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +1 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +2 -1
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +3 -2
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +6 -5
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +9 -8
- package/dist/api/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +6 -6
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -2
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +6 -2
- package/dist/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +3 -10
- package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +8 -0
- package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.js +10 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/diagnoses/client/delete.d.ts +15 -0
- package/dist/serialization/resources/diagnoses/client/delete.js +61 -0
- package/dist/serialization/resources/diagnoses/client/index.d.ts +3 -0
- package/dist/serialization/resources/diagnoses/client/index.js +32 -0
- package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +15 -0
- package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +36 -0
- package/dist/serialization/resources/diagnoses/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/diagnoses/client/requests/index.js +5 -0
- package/dist/serialization/resources/diagnoses/client/update.d.ts +15 -0
- package/dist/serialization/resources/diagnoses/client/update.js +61 -0
- package/dist/serialization/resources/diagnoses/index.d.ts +1 -0
- package/dist/serialization/resources/diagnoses/index.js +1 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +14 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisNotFoundError.js +35 -0
- package/dist/serialization/resources/diagnoses/types/index.d.ts +1 -0
- package/dist/serialization/resources/diagnoses/types/index.js +1 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +6 -1
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +6 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +17 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +40 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +4 -8
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.js +4 -12
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +10 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +31 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/package.json +1 -1
- package/reference.md +31 -5260
- package/serialization/resources/diagnoses/client/delete.d.ts +15 -0
- package/serialization/resources/diagnoses/client/delete.js +61 -0
- package/serialization/resources/diagnoses/client/index.d.ts +3 -0
- package/serialization/resources/diagnoses/client/index.js +32 -0
- package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +15 -0
- package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +36 -0
- package/serialization/resources/diagnoses/client/requests/index.d.ts +1 -0
- package/serialization/resources/diagnoses/client/requests/index.js +5 -0
- package/serialization/resources/diagnoses/client/update.d.ts +15 -0
- package/serialization/resources/diagnoses/client/update.js +61 -0
- package/serialization/resources/diagnoses/index.d.ts +1 -0
- package/serialization/resources/diagnoses/index.js +1 -0
- package/serialization/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +14 -0
- package/serialization/resources/diagnoses/types/DiagnosisNotFoundError.js +35 -0
- package/serialization/resources/diagnoses/types/index.d.ts +1 -0
- package/serialization/resources/diagnoses/types/index.js +1 -0
- package/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +6 -1
- package/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +6 -0
- package/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +17 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +40 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +4 -8
- package/serialization/resources/serviceLines/resources/v2/types/TestResult.js +4 -12
- package/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +10 -0
- package/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +31 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { DiagnosisNotFoundError } from "../types/DiagnosisNotFoundError";
|
|
8
|
+
export declare const Error: core.serialization.Schema<serializers.diagnoses.delete.Error.Raw, CandidApi.diagnoses.delete.Error>;
|
|
9
|
+
export declare namespace Error {
|
|
10
|
+
type Raw = Error.DiagnosisNotFoundHttpError;
|
|
11
|
+
interface DiagnosisNotFoundHttpError {
|
|
12
|
+
errorName: "DiagnosisNotFoundHTTPError";
|
|
13
|
+
content: DiagnosisNotFoundError.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
+
var t = {};
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.Error = void 0;
|
|
41
|
+
const CandidApi = __importStar(require("../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../core"));
|
|
43
|
+
const DiagnosisNotFoundError_1 = require("../types/DiagnosisNotFoundError");
|
|
44
|
+
exports.Error = core.serialization
|
|
45
|
+
.union("errorName", {
|
|
46
|
+
DiagnosisNotFoundHTTPError: core.serialization.object({
|
|
47
|
+
content: DiagnosisNotFoundError_1.DiagnosisNotFoundError,
|
|
48
|
+
}),
|
|
49
|
+
})
|
|
50
|
+
.transform({
|
|
51
|
+
transform: (value) => {
|
|
52
|
+
switch (value.errorName) {
|
|
53
|
+
case "DiagnosisNotFoundHTTPError":
|
|
54
|
+
return CandidApi.diagnoses.delete.Error.diagnosisNotFoundHttpError(value.content);
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
untransform: (_a) => {
|
|
58
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
59
|
+
return value;
|
|
60
|
+
},
|
|
61
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.delete = exports.update = void 0;
|
|
30
|
+
exports.update = __importStar(require("./update"));
|
|
31
|
+
exports.delete = __importStar(require("./delete"));
|
|
32
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
import { DiagnosisTypeCode } from "../../types/DiagnosisTypeCode";
|
|
8
|
+
export declare const DiagnosisUpdate: core.serialization.Schema<serializers.DiagnosisUpdate.Raw, CandidApi.DiagnosisUpdate>;
|
|
9
|
+
export declare namespace DiagnosisUpdate {
|
|
10
|
+
interface Raw {
|
|
11
|
+
name?: string | null;
|
|
12
|
+
code_type?: DiagnosisTypeCode.Raw | null;
|
|
13
|
+
code?: string | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.DiagnosisUpdate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
const DiagnosisTypeCode_1 = require("../../types/DiagnosisTypeCode");
|
|
32
|
+
exports.DiagnosisUpdate = core.serialization.object({
|
|
33
|
+
name: core.serialization.string().optional(),
|
|
34
|
+
codeType: core.serialization.property("code_type", DiagnosisTypeCode_1.DiagnosisTypeCode.optional()),
|
|
35
|
+
code: core.serialization.string().optional(),
|
|
36
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DiagnosisUpdate } from "./DiagnosisUpdate";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DiagnosisUpdate = void 0;
|
|
4
|
+
var DiagnosisUpdate_1 = require("./DiagnosisUpdate");
|
|
5
|
+
Object.defineProperty(exports, "DiagnosisUpdate", { enumerable: true, get: function () { return DiagnosisUpdate_1.DiagnosisUpdate; } });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { DiagnosisNotFoundError } from "../types/DiagnosisNotFoundError";
|
|
8
|
+
export declare const Error: core.serialization.Schema<serializers.diagnoses.update.Error.Raw, CandidApi.diagnoses.update.Error>;
|
|
9
|
+
export declare namespace Error {
|
|
10
|
+
type Raw = Error.DiagnosisNotFoundHttpError;
|
|
11
|
+
interface DiagnosisNotFoundHttpError {
|
|
12
|
+
errorName: "DiagnosisNotFoundHTTPError";
|
|
13
|
+
content: DiagnosisNotFoundError.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
+
var t = {};
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.Error = void 0;
|
|
41
|
+
const CandidApi = __importStar(require("../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../core"));
|
|
43
|
+
const DiagnosisNotFoundError_1 = require("../types/DiagnosisNotFoundError");
|
|
44
|
+
exports.Error = core.serialization
|
|
45
|
+
.union("errorName", {
|
|
46
|
+
DiagnosisNotFoundHTTPError: core.serialization.object({
|
|
47
|
+
content: DiagnosisNotFoundError_1.DiagnosisNotFoundError,
|
|
48
|
+
}),
|
|
49
|
+
})
|
|
50
|
+
.transform({
|
|
51
|
+
transform: (value) => {
|
|
52
|
+
switch (value.errorName) {
|
|
53
|
+
case "DiagnosisNotFoundHTTPError":
|
|
54
|
+
return CandidApi.diagnoses.update.Error.diagnosisNotFoundHttpError(value.content);
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
untransform: (_a) => {
|
|
58
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
59
|
+
return value;
|
|
60
|
+
},
|
|
61
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { DiagnosisId } from "./DiagnosisId";
|
|
8
|
+
export declare const DiagnosisNotFoundError: core.serialization.ObjectSchema<serializers.DiagnosisNotFoundError.Raw, CandidApi.DiagnosisNotFoundError>;
|
|
9
|
+
export declare namespace DiagnosisNotFoundError {
|
|
10
|
+
interface Raw {
|
|
11
|
+
diagnosis_id?: DiagnosisId.Raw | null;
|
|
12
|
+
message: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.DiagnosisNotFoundError = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const DiagnosisId_1 = require("./DiagnosisId");
|
|
32
|
+
exports.DiagnosisNotFoundError = core.serialization.object({
|
|
33
|
+
diagnosisId: core.serialization.property("diagnosis_id", DiagnosisId_1.DiagnosisId.optional()),
|
|
34
|
+
message: core.serialization.string(),
|
|
35
|
+
});
|
|
@@ -19,3 +19,4 @@ __exportStar(require("./DiagnosisCreate"), exports);
|
|
|
19
19
|
__exportStar(require("./StandaloneDiagnosisCreate"), exports);
|
|
20
20
|
__exportStar(require("./DiagnosisTypeCode"), exports);
|
|
21
21
|
__exportStar(require("./Diagnosis"), exports);
|
|
22
|
+
__exportStar(require("./DiagnosisNotFoundError"), exports);
|
|
@@ -6,10 +6,11 @@ import * as CandidApi from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { EntityConflictErrorMessage } from "../../../../commons/types/EntityConflictErrorMessage";
|
|
8
8
|
import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
|
|
9
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
9
10
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
10
11
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.createInitialReferringProvider.Error.Raw, CandidApi.encounterProviders.v2.createInitialReferringProvider.Error>;
|
|
11
12
|
export declare namespace Error {
|
|
12
|
-
type Raw = Error.EntityConflictError | Error.UnprocessableEntityError | Error.EntityNotFoundError;
|
|
13
|
+
type Raw = Error.EntityConflictError | Error.UnprocessableEntityError | Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
13
14
|
interface EntityConflictError {
|
|
14
15
|
errorName: "EntityConflictError";
|
|
15
16
|
content: EntityConflictErrorMessage.Raw;
|
|
@@ -18,6 +19,10 @@ export declare namespace Error {
|
|
|
18
19
|
errorName: "UnprocessableEntityError";
|
|
19
20
|
content: UnprocessableEntityErrorMessage.Raw;
|
|
20
21
|
}
|
|
22
|
+
interface HttpRequestValidationsError {
|
|
23
|
+
errorName: "HttpRequestValidationsError";
|
|
24
|
+
content: RequestValidationError.Raw[];
|
|
25
|
+
}
|
|
21
26
|
interface EntityNotFoundError {
|
|
22
27
|
errorName: "EntityNotFoundError";
|
|
23
28
|
content: EntityNotFoundErrorMessage.Raw;
|
|
@@ -42,6 +42,7 @@ const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
43
|
const EntityConflictErrorMessage_1 = require("../../../../commons/types/EntityConflictErrorMessage");
|
|
44
44
|
const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
45
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
45
46
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
46
47
|
exports.Error = core.serialization
|
|
47
48
|
.union("errorName", {
|
|
@@ -51,6 +52,9 @@ exports.Error = core.serialization
|
|
|
51
52
|
UnprocessableEntityError: core.serialization.object({
|
|
52
53
|
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
53
54
|
}),
|
|
55
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
56
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
57
|
+
}),
|
|
54
58
|
EntityNotFoundError: core.serialization.object({
|
|
55
59
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
56
60
|
}),
|
|
@@ -62,6 +66,8 @@ exports.Error = core.serialization
|
|
|
62
66
|
return CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.entityConflictError(value.content);
|
|
63
67
|
case "UnprocessableEntityError":
|
|
64
68
|
return CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.unprocessableEntityError(value.content);
|
|
69
|
+
case "HttpRequestValidationsError":
|
|
70
|
+
return CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.httpRequestValidationsError(value.content);
|
|
65
71
|
case "EntityNotFoundError":
|
|
66
72
|
return CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.entityNotFoundError(value.content);
|
|
67
73
|
}
|
package/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts
CHANGED
|
@@ -5,18 +5,18 @@ import * as serializers from "../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { EntityConflictErrorMessage } from "../../../../commons/types/EntityConflictErrorMessage";
|
|
8
|
-
import {
|
|
8
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
9
9
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
10
10
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.createOrderingProvider.Error.Raw, CandidApi.encounterProviders.v2.createOrderingProvider.Error>;
|
|
11
11
|
export declare namespace Error {
|
|
12
|
-
type Raw = Error.EntityConflictError | Error.
|
|
12
|
+
type Raw = Error.EntityConflictError | Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
13
13
|
interface EntityConflictError {
|
|
14
14
|
errorName: "EntityConflictError";
|
|
15
15
|
content: EntityConflictErrorMessage.Raw;
|
|
16
16
|
}
|
|
17
|
-
interface
|
|
18
|
-
errorName: "
|
|
19
|
-
content:
|
|
17
|
+
interface HttpRequestValidationsError {
|
|
18
|
+
errorName: "HttpRequestValidationsError";
|
|
19
|
+
content: RequestValidationError.Raw[];
|
|
20
20
|
}
|
|
21
21
|
interface EntityNotFoundError {
|
|
22
22
|
errorName: "EntityNotFoundError";
|
package/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.js
CHANGED
|
@@ -41,15 +41,15 @@ exports.Error = void 0;
|
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
43
|
const EntityConflictErrorMessage_1 = require("../../../../commons/types/EntityConflictErrorMessage");
|
|
44
|
-
const
|
|
44
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
45
45
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
46
46
|
exports.Error = core.serialization
|
|
47
47
|
.union("errorName", {
|
|
48
48
|
EntityConflictError: core.serialization.object({
|
|
49
49
|
content: EntityConflictErrorMessage_1.EntityConflictErrorMessage,
|
|
50
50
|
}),
|
|
51
|
-
|
|
52
|
-
content:
|
|
51
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
52
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
53
53
|
}),
|
|
54
54
|
EntityNotFoundError: core.serialization.object({
|
|
55
55
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
@@ -60,8 +60,8 @@ exports.Error = core.serialization
|
|
|
60
60
|
switch (value.errorName) {
|
|
61
61
|
case "EntityConflictError":
|
|
62
62
|
return CandidApi.encounterProviders.v2.createOrderingProvider.Error.entityConflictError(value.content);
|
|
63
|
-
case "
|
|
64
|
-
return CandidApi.encounterProviders.v2.createOrderingProvider.Error.
|
|
63
|
+
case "HttpRequestValidationsError":
|
|
64
|
+
return CandidApi.encounterProviders.v2.createOrderingProvider.Error.httpRequestValidationsError(value.content);
|
|
65
65
|
case "EntityNotFoundError":
|
|
66
66
|
return CandidApi.encounterProviders.v2.createOrderingProvider.Error.entityNotFoundError(value.content);
|
|
67
67
|
}
|
package/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts
CHANGED
|
@@ -5,18 +5,18 @@ import * as serializers from "../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { EntityConflictErrorMessage } from "../../../../commons/types/EntityConflictErrorMessage";
|
|
8
|
-
import {
|
|
8
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
9
9
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
10
10
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.createReferringProvider.Error.Raw, CandidApi.encounterProviders.v2.createReferringProvider.Error>;
|
|
11
11
|
export declare namespace Error {
|
|
12
|
-
type Raw = Error.EntityConflictError | Error.
|
|
12
|
+
type Raw = Error.EntityConflictError | Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
13
13
|
interface EntityConflictError {
|
|
14
14
|
errorName: "EntityConflictError";
|
|
15
15
|
content: EntityConflictErrorMessage.Raw;
|
|
16
16
|
}
|
|
17
|
-
interface
|
|
18
|
-
errorName: "
|
|
19
|
-
content:
|
|
17
|
+
interface HttpRequestValidationsError {
|
|
18
|
+
errorName: "HttpRequestValidationsError";
|
|
19
|
+
content: RequestValidationError.Raw[];
|
|
20
20
|
}
|
|
21
21
|
interface EntityNotFoundError {
|
|
22
22
|
errorName: "EntityNotFoundError";
|
package/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.js
CHANGED
|
@@ -41,15 +41,15 @@ exports.Error = void 0;
|
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
43
|
const EntityConflictErrorMessage_1 = require("../../../../commons/types/EntityConflictErrorMessage");
|
|
44
|
-
const
|
|
44
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
45
45
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
46
46
|
exports.Error = core.serialization
|
|
47
47
|
.union("errorName", {
|
|
48
48
|
EntityConflictError: core.serialization.object({
|
|
49
49
|
content: EntityConflictErrorMessage_1.EntityConflictErrorMessage,
|
|
50
50
|
}),
|
|
51
|
-
|
|
52
|
-
content:
|
|
51
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
52
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
53
53
|
}),
|
|
54
54
|
EntityNotFoundError: core.serialization.object({
|
|
55
55
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
@@ -60,8 +60,8 @@ exports.Error = core.serialization
|
|
|
60
60
|
switch (value.errorName) {
|
|
61
61
|
case "EntityConflictError":
|
|
62
62
|
return CandidApi.encounterProviders.v2.createReferringProvider.Error.entityConflictError(value.content);
|
|
63
|
-
case "
|
|
64
|
-
return CandidApi.encounterProviders.v2.createReferringProvider.Error.
|
|
63
|
+
case "HttpRequestValidationsError":
|
|
64
|
+
return CandidApi.encounterProviders.v2.createReferringProvider.Error.httpRequestValidationsError(value.content);
|
|
65
65
|
case "EntityNotFoundError":
|
|
66
66
|
return CandidApi.encounterProviders.v2.createReferringProvider.Error.entityNotFoundError(value.content);
|
|
67
67
|
}
|
|
@@ -5,18 +5,18 @@ import * as serializers from "../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { EntityConflictErrorMessage } from "../../../../commons/types/EntityConflictErrorMessage";
|
|
8
|
-
import {
|
|
8
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
9
9
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
10
10
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.createSupervisingProvider.Error.Raw, CandidApi.encounterProviders.v2.createSupervisingProvider.Error>;
|
|
11
11
|
export declare namespace Error {
|
|
12
|
-
type Raw = Error.EntityConflictError | Error.
|
|
12
|
+
type Raw = Error.EntityConflictError | Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
13
13
|
interface EntityConflictError {
|
|
14
14
|
errorName: "EntityConflictError";
|
|
15
15
|
content: EntityConflictErrorMessage.Raw;
|
|
16
16
|
}
|
|
17
|
-
interface
|
|
18
|
-
errorName: "
|
|
19
|
-
content:
|
|
17
|
+
interface HttpRequestValidationsError {
|
|
18
|
+
errorName: "HttpRequestValidationsError";
|
|
19
|
+
content: RequestValidationError.Raw[];
|
|
20
20
|
}
|
|
21
21
|
interface EntityNotFoundError {
|
|
22
22
|
errorName: "EntityNotFoundError";
|
package/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js
CHANGED
|
@@ -41,15 +41,15 @@ exports.Error = void 0;
|
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
43
|
const EntityConflictErrorMessage_1 = require("../../../../commons/types/EntityConflictErrorMessage");
|
|
44
|
-
const
|
|
44
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
45
45
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
46
46
|
exports.Error = core.serialization
|
|
47
47
|
.union("errorName", {
|
|
48
48
|
EntityConflictError: core.serialization.object({
|
|
49
49
|
content: EntityConflictErrorMessage_1.EntityConflictErrorMessage,
|
|
50
50
|
}),
|
|
51
|
-
|
|
52
|
-
content:
|
|
51
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
52
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
53
53
|
}),
|
|
54
54
|
EntityNotFoundError: core.serialization.object({
|
|
55
55
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
@@ -60,8 +60,8 @@ exports.Error = core.serialization
|
|
|
60
60
|
switch (value.errorName) {
|
|
61
61
|
case "EntityConflictError":
|
|
62
62
|
return CandidApi.encounterProviders.v2.createSupervisingProvider.Error.entityConflictError(value.content);
|
|
63
|
-
case "
|
|
64
|
-
return CandidApi.encounterProviders.v2.createSupervisingProvider.Error.
|
|
63
|
+
case "HttpRequestValidationsError":
|
|
64
|
+
return CandidApi.encounterProviders.v2.createSupervisingProvider.Error.httpRequestValidationsError(value.content);
|
|
65
65
|
case "EntityNotFoundError":
|
|
66
66
|
return CandidApi.encounterProviders.v2.createSupervisingProvider.Error.entityNotFoundError(value.content);
|
|
67
67
|
}
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
8
8
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
9
9
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.updateInitialReferringProvider.Error.Raw, CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error>;
|
|
10
10
|
export declare namespace Error {
|
|
11
|
-
type Raw = Error.
|
|
12
|
-
interface
|
|
13
|
-
errorName: "
|
|
14
|
-
content:
|
|
11
|
+
type Raw = Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
12
|
+
interface HttpRequestValidationsError {
|
|
13
|
+
errorName: "HttpRequestValidationsError";
|
|
14
|
+
content: RequestValidationError.Raw[];
|
|
15
15
|
}
|
|
16
16
|
interface EntityNotFoundError {
|
|
17
17
|
errorName: "EntityNotFoundError";
|
|
@@ -40,12 +40,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
exports.Error = void 0;
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
|
-
const
|
|
43
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
44
44
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
45
45
|
exports.Error = core.serialization
|
|
46
46
|
.union("errorName", {
|
|
47
|
-
|
|
48
|
-
content:
|
|
47
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
48
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
49
49
|
}),
|
|
50
50
|
EntityNotFoundError: core.serialization.object({
|
|
51
51
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
@@ -54,8 +54,8 @@ exports.Error = core.serialization
|
|
|
54
54
|
.transform({
|
|
55
55
|
transform: (value) => {
|
|
56
56
|
switch (value.errorName) {
|
|
57
|
-
case "
|
|
58
|
-
return CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.
|
|
57
|
+
case "HttpRequestValidationsError":
|
|
58
|
+
return CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.httpRequestValidationsError(value.content);
|
|
59
59
|
case "EntityNotFoundError":
|
|
60
60
|
return CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.entityNotFoundError(value.content);
|
|
61
61
|
}
|
package/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
8
8
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
9
9
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.updateOrderingProvider.Error.Raw, CandidApi.encounterProviders.v2.updateOrderingProvider.Error>;
|
|
10
10
|
export declare namespace Error {
|
|
11
|
-
type Raw = Error.
|
|
12
|
-
interface
|
|
13
|
-
errorName: "
|
|
14
|
-
content:
|
|
11
|
+
type Raw = Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
12
|
+
interface HttpRequestValidationsError {
|
|
13
|
+
errorName: "HttpRequestValidationsError";
|
|
14
|
+
content: RequestValidationError.Raw[];
|
|
15
15
|
}
|
|
16
16
|
interface EntityNotFoundError {
|
|
17
17
|
errorName: "EntityNotFoundError";
|