candidhealth 0.5.0 → 0.6.1
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 +6 -6
- package/Client.js +20 -20
- package/api/resources/auth/resources/v2/client/Client.d.ts +14 -0
- package/api/resources/auth/resources/v2/client/Client.js +15 -1
- package/api/resources/billingNotes/client/Client.d.ts +3 -3
- package/api/resources/billingNotes/client/Client.js +4 -69
- package/api/resources/billingNotes/client/index.d.ts +1 -2
- package/api/resources/billingNotes/client/index.js +0 -29
- package/api/resources/billingNotes/index.d.ts +1 -1
- package/api/resources/billingNotes/index.js +1 -1
- package/api/resources/billingNotes/resources/index.d.ts +1 -0
- package/api/resources/billingNotes/resources/index.js +27 -0
- package/api/resources/billingNotes/resources/v2/client/Client.d.ts +18 -0
- package/{dist/api/resources/tasks/resources/v3 → api/resources/billingNotes/resources/v2}/client/Client.js +12 -9
- package/{dist/api/resources/payers/client/get.d.ts → api/resources/billingNotes/resources/v2/client/create.d.ts} +6 -6
- package/{dist/api/resources/billingNotes → api/resources/billingNotes/resources/v2}/client/create.js +2 -2
- package/api/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
- package/api/resources/billingNotes/resources/v2/client/index.js +31 -0
- package/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +7 -0
- package/api/resources/billingNotes/{types → resources/v2/types}/BillingNote.d.ts +3 -3
- package/{dist/api/resources/billingNotes → api/resources/billingNotes/resources/v2}/types/BillingNoteId.d.ts +3 -3
- package/api/resources/commons/types/HttpServiceUnavailableErrorMessage.d.ts +6 -0
- package/api/resources/commons/types/index.d.ts +1 -1
- package/api/resources/commons/types/index.js +1 -1
- package/api/resources/{tasks → eligibility}/client/Client.d.ts +7 -7
- package/{dist/api/resources/tasks → api/resources/eligibility}/client/Client.js +7 -7
- package/api/resources/eligibility/resources/index.d.ts +1 -0
- package/api/resources/eligibility/resources/index.js +27 -0
- package/api/resources/eligibility/resources/v2/client/Client.d.ts +35 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +107 -0
- package/api/resources/eligibility/resources/v2/client/index.d.ts +1 -0
- package/api/resources/{tasks/resources/v3 → eligibility/resources/v2}/client/index.js +2 -2
- package/api/resources/eligibility/resources/v2/client/submitEligibilityCheck.d.ts +28 -0
- package/api/resources/eligibility/resources/v2/client/submitEligibilityCheck.js +58 -0
- package/api/resources/eligibility/resources/v2/index.d.ts +1 -0
- package/api/resources/eligibility/resources/v2/index.js +17 -0
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/exports/resources/v3/client/Client.d.ts +15 -0
- package/api/resources/exports/resources/v3/client/Client.js +16 -1
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/index.d.ts +3 -7
- package/api/resources/index.js +4 -8
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/payers/client/Client.d.ts +3 -4
- package/api/resources/payers/client/Client.js +4 -108
- package/api/resources/payers/client/index.d.ts +1 -3
- package/api/resources/payers/client/index.js +0 -30
- package/api/resources/payers/index.d.ts +1 -1
- package/api/resources/payers/index.js +1 -1
- package/api/resources/{tasks → payers}/resources/v3/client/Client.d.ts +2 -1
- package/api/resources/payers/resources/v3/client/Client.js +122 -0
- package/api/resources/{tasks/resources/v3/client/getActions.d.ts → payers/resources/v3/client/get.d.ts} +4 -4
- package/api/resources/{tasks/resources/v3/client/getActions.js → payers/resources/v3/client/get.js} +1 -1
- package/{dist/api/resources/tasks/resources/v3/client/getActions.d.ts → api/resources/payers/resources/v3/client/getAll.d.ts} +4 -4
- package/{dist/api/resources/tasks/resources/v3/client/getActions.js → api/resources/payers/resources/v3/client/getAll.js} +1 -1
- package/api/resources/payers/resources/v3/client/index.d.ts +3 -0
- package/api/resources/payers/resources/v3/client/index.js +32 -0
- package/api/resources/payers/{client → resources/v3/client}/requests/GetAllPayersRequest.d.ts +1 -1
- package/api/resources/payers/{types → resources/v3/types}/Payer.d.ts +2 -2
- package/api/resources/payers/{types → resources/v3/types}/PayerPage.d.ts +2 -2
- package/api/resources/payers/resources/v3/types/PayerUuid.d.ts +8 -0
- package/dist/Client.d.ts +6 -6
- package/dist/Client.js +20 -20
- package/dist/api/resources/auth/resources/v2/client/Client.d.ts +14 -0
- package/dist/api/resources/auth/resources/v2/client/Client.js +15 -1
- package/dist/api/resources/billingNotes/client/Client.d.ts +3 -3
- package/dist/api/resources/billingNotes/client/Client.js +4 -69
- package/dist/api/resources/billingNotes/client/index.d.ts +1 -2
- package/dist/api/resources/billingNotes/client/index.js +0 -29
- package/dist/api/resources/billingNotes/index.d.ts +1 -1
- package/dist/api/resources/billingNotes/index.js +1 -1
- package/dist/api/resources/billingNotes/resources/index.d.ts +1 -0
- package/dist/api/resources/billingNotes/resources/index.js +27 -0
- package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +18 -0
- package/{api/resources/tasks/resources/v3 → dist/api/resources/billingNotes/resources/v2}/client/Client.js +12 -9
- package/{api/resources/payers/client/get.d.ts → dist/api/resources/billingNotes/resources/v2/client/create.d.ts} +6 -6
- package/{api/resources/billingNotes → dist/api/resources/billingNotes/resources/v2}/client/create.js +2 -2
- package/dist/api/resources/billingNotes/resources/v2/client/index.d.ts +2 -0
- package/dist/api/resources/billingNotes/resources/v2/client/index.js +31 -0
- package/dist/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +7 -0
- package/dist/api/resources/billingNotes/resources/v2/index.d.ts +2 -0
- package/dist/api/resources/billingNotes/resources/v2/index.js +18 -0
- package/dist/api/resources/billingNotes/{types → resources/v2/types}/BillingNote.d.ts +3 -3
- package/{api/resources/billingNotes → dist/api/resources/billingNotes/resources/v2}/types/BillingNoteId.d.ts +3 -3
- package/dist/api/resources/commons/types/HttpServiceUnavailableErrorMessage.d.ts +6 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -1
- package/dist/api/resources/commons/types/index.js +1 -1
- package/dist/api/resources/{tasks → eligibility}/client/Client.d.ts +7 -7
- package/{api/resources/tasks → dist/api/resources/eligibility}/client/Client.js +7 -7
- package/dist/api/resources/eligibility/resources/index.d.ts +1 -0
- package/dist/api/resources/eligibility/resources/index.js +27 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +35 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +107 -0
- package/dist/api/resources/eligibility/resources/v2/client/index.d.ts +1 -0
- package/dist/api/resources/{tasks/resources/v3 → eligibility/resources/v2}/client/index.js +2 -2
- package/dist/api/resources/eligibility/resources/v2/client/submitEligibilityCheck.d.ts +28 -0
- package/dist/api/resources/eligibility/resources/v2/client/submitEligibilityCheck.js +58 -0
- package/dist/api/resources/eligibility/resources/v2/index.d.ts +1 -0
- package/dist/api/resources/eligibility/resources/v2/index.js +17 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/exports/resources/v3/client/Client.d.ts +15 -0
- package/dist/api/resources/exports/resources/v3/client/Client.js +16 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/index.d.ts +3 -7
- package/dist/api/resources/index.js +4 -8
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/payers/client/Client.d.ts +3 -4
- package/dist/api/resources/payers/client/Client.js +4 -108
- package/dist/api/resources/payers/client/index.d.ts +1 -3
- package/dist/api/resources/payers/client/index.js +0 -30
- package/dist/api/resources/payers/index.d.ts +1 -1
- package/dist/api/resources/payers/index.js +1 -1
- package/dist/api/resources/{tasks → payers}/resources/v3/client/Client.d.ts +2 -1
- package/dist/api/resources/payers/resources/v3/client/Client.js +122 -0
- package/dist/api/resources/payers/{client/getAll.d.ts → resources/v3/client/get.d.ts} +6 -6
- package/{api/resources/payers/client/getAll.js → dist/api/resources/payers/resources/v3/client/get.js} +2 -2
- package/dist/api/resources/payers/resources/v3/client/getAll.d.ts +22 -0
- package/dist/api/resources/payers/{client → resources/v3/client}/getAll.js +2 -2
- package/dist/api/resources/payers/resources/v3/client/index.d.ts +3 -0
- package/dist/api/resources/payers/resources/v3/client/index.js +32 -0
- package/dist/api/resources/payers/{client → resources/v3/client}/requests/GetAllPayersRequest.d.ts +1 -1
- package/dist/api/resources/payers/resources/v3/index.d.ts +2 -0
- package/dist/api/resources/payers/resources/v3/index.js +18 -0
- package/dist/api/resources/payers/{types → resources/v3/types}/Payer.d.ts +2 -2
- package/dist/api/resources/payers/{types → resources/v3/types}/PayerPage.d.ts +2 -2
- package/dist/api/resources/payers/resources/v3/types/PayerUuid.d.ts +8 -0
- package/dist/serialization/resources/billingNotes/index.d.ts +1 -2
- package/dist/serialization/resources/billingNotes/index.js +1 -2
- package/dist/serialization/resources/billingNotes/resources/index.d.ts +1 -0
- package/dist/serialization/resources/billingNotes/resources/index.js +27 -0
- package/dist/serialization/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +12 -0
- package/dist/serialization/resources/billingNotes/{client → resources/v2/client}/requests/StandaloneBillingNoteCreate.js +3 -3
- package/dist/serialization/resources/billingNotes/resources/v2/index.d.ts +2 -0
- package/dist/serialization/resources/billingNotes/resources/v2/index.js +18 -0
- package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNote.d.ts +16 -0
- package/dist/serialization/resources/billingNotes/{types → resources/v2/types}/BillingNote.js +4 -4
- package/{serialization/resources/tasks/resources/v3/types/TaskActions.d.ts → dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteBase.d.ts} +3 -3
- package/dist/serialization/resources/billingNotes/{types → resources/v2/types}/BillingNoteBase.js +1 -1
- package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteId.d.ts +10 -0
- package/dist/serialization/resources/billingNotes/{types → resources/v2/types}/BillingNoteId.js +3 -3
- package/dist/serialization/resources/commons/types/HttpServiceUnavailableErrorMessage.d.ts +12 -0
- package/dist/serialization/resources/commons/types/{TaskId.js → HttpServiceUnavailableErrorMessage.js} +3 -7
- package/dist/serialization/resources/commons/types/index.d.ts +1 -1
- package/dist/serialization/resources/commons/types/index.js +1 -1
- package/dist/serialization/resources/eligibility/resources/index.d.ts +1 -0
- package/dist/serialization/resources/eligibility/resources/index.js +27 -0
- package/dist/serialization/resources/eligibility/resources/v2/client/index.d.ts +1 -0
- package/dist/serialization/resources/eligibility/resources/v2/client/index.js +27 -0
- package/dist/serialization/resources/eligibility/resources/v2/client/submitEligibilityCheck.d.ts +14 -0
- package/dist/serialization/resources/eligibility/resources/v2/client/submitEligibilityCheck.js +46 -0
- package/dist/serialization/resources/eligibility/resources/v2/index.d.ts +1 -0
- package/dist/serialization/resources/eligibility/resources/v2/index.js +17 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -1
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -1
- package/dist/serialization/resources/index.d.ts +3 -6
- package/dist/serialization/resources/index.js +4 -7
- package/dist/serialization/resources/payers/index.d.ts +1 -1
- package/dist/serialization/resources/payers/index.js +1 -1
- package/dist/serialization/resources/payers/resources/v3/types/Payer.d.ts +14 -0
- package/{serialization/resources/payers → dist/serialization/resources/payers/resources/v3}/types/Payer.js +2 -2
- package/dist/serialization/resources/payers/resources/v3/types/PayerPage.d.ts +12 -0
- package/dist/serialization/resources/payers/{types → resources/v3/types}/PayerPage.js +3 -3
- package/dist/serialization/resources/payers/resources/v3/types/PayerUuid.d.ts +10 -0
- package/dist/serialization/resources/{tasks/resources/v3/types/TaskActionExecutionMethod.js → payers/resources/v3/types/PayerUuid.js} +4 -7
- package/package.json +1 -1
- package/serialization/resources/billingNotes/index.d.ts +1 -2
- package/serialization/resources/billingNotes/index.js +1 -2
- package/serialization/resources/billingNotes/resources/index.d.ts +1 -0
- package/serialization/resources/billingNotes/resources/index.js +27 -0
- package/serialization/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +12 -0
- package/serialization/resources/billingNotes/{client → resources/v2/client}/requests/StandaloneBillingNoteCreate.js +3 -3
- package/serialization/resources/billingNotes/resources/v2/index.d.ts +2 -0
- package/serialization/resources/billingNotes/resources/v2/index.js +18 -0
- package/serialization/resources/billingNotes/resources/v2/types/BillingNote.d.ts +16 -0
- package/serialization/resources/billingNotes/{types → resources/v2/types}/BillingNote.js +4 -4
- package/{dist/serialization/resources/tasks/resources/v3/types/TaskActions.d.ts → serialization/resources/billingNotes/resources/v2/types/BillingNoteBase.d.ts} +3 -3
- package/serialization/resources/billingNotes/{types → resources/v2/types}/BillingNoteBase.js +1 -1
- package/serialization/resources/billingNotes/resources/v2/types/BillingNoteId.d.ts +10 -0
- package/serialization/resources/billingNotes/{types → resources/v2/types}/BillingNoteId.js +3 -3
- package/serialization/resources/commons/types/HttpServiceUnavailableErrorMessage.d.ts +12 -0
- package/serialization/resources/commons/types/{TaskId.js → HttpServiceUnavailableErrorMessage.js} +3 -7
- package/serialization/resources/commons/types/index.d.ts +1 -1
- package/serialization/resources/commons/types/index.js +1 -1
- package/serialization/resources/eligibility/resources/index.d.ts +1 -0
- package/serialization/resources/eligibility/resources/index.js +27 -0
- package/serialization/resources/eligibility/resources/v2/client/index.d.ts +1 -0
- package/serialization/resources/eligibility/resources/v2/client/index.js +27 -0
- package/serialization/resources/eligibility/resources/v2/client/submitEligibilityCheck.d.ts +14 -0
- package/serialization/resources/eligibility/resources/v2/client/submitEligibilityCheck.js +46 -0
- package/serialization/resources/eligibility/resources/v2/index.d.ts +1 -0
- package/serialization/resources/eligibility/resources/v2/index.js +17 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -1
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -1
- package/serialization/resources/index.d.ts +3 -6
- package/serialization/resources/index.js +4 -7
- package/serialization/resources/payers/index.d.ts +1 -1
- package/serialization/resources/payers/index.js +1 -1
- package/serialization/resources/payers/resources/v3/types/Payer.d.ts +14 -0
- package/{dist/serialization/resources/payers → serialization/resources/payers/resources/v3}/types/Payer.js +2 -2
- package/serialization/resources/payers/resources/v3/types/PayerPage.d.ts +12 -0
- package/serialization/resources/payers/{types → resources/v3/types}/PayerPage.js +3 -3
- package/serialization/resources/payers/resources/v3/types/PayerUuid.d.ts +10 -0
- package/serialization/resources/{tasks/resources/v3/types/TaskActionExecutionMethod.js → payers/resources/v3/types/PayerUuid.js} +4 -7
- package/api/resources/billingNotes/client/create.d.ts +0 -22
- package/api/resources/billingNotes/client/requests/StandaloneBillingNoteCreate.d.ts +0 -7
- package/api/resources/commons/types/TaskId.d.ts +0 -8
- package/api/resources/commons/types/TaskId.js +0 -10
- package/api/resources/payers/client/get.js +0 -47
- package/api/resources/payers/client/getAll.d.ts +0 -22
- package/api/resources/payers/types/PayerUuid.d.ts +0 -8
- package/api/resources/tasks/resources/v3/client/index.d.ts +0 -1
- package/api/resources/tasks/resources/v3/types/TaskAction.d.ts +0 -8
- package/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +0 -10
- package/api/resources/tasks/resources/v3/types/TaskActions.d.ts +0 -7
- package/api/resources/tasks/resources/v3/types/TaskActions.js +0 -5
- package/api/resources/tasks/resources/v3/types/index.d.ts +0 -3
- package/api/resources/tasks/resources/v3/types/index.js +0 -19
- package/dist/api/resources/billingNotes/client/create.d.ts +0 -22
- package/dist/api/resources/billingNotes/client/requests/StandaloneBillingNoteCreate.d.ts +0 -7
- package/dist/api/resources/commons/types/TaskId.d.ts +0 -8
- package/dist/api/resources/commons/types/TaskId.js +0 -10
- package/dist/api/resources/payers/client/get.js +0 -47
- package/dist/api/resources/payers/types/PayerUuid.d.ts +0 -8
- package/dist/api/resources/tasks/resources/v3/client/index.d.ts +0 -1
- package/dist/api/resources/tasks/resources/v3/types/TaskAction.d.ts +0 -8
- package/dist/api/resources/tasks/resources/v3/types/TaskAction.js +0 -5
- package/dist/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +0 -10
- package/dist/api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js +0 -5
- package/dist/api/resources/tasks/resources/v3/types/TaskActions.d.ts +0 -7
- package/dist/api/resources/tasks/resources/v3/types/TaskActions.js +0 -5
- package/dist/api/resources/tasks/resources/v3/types/index.d.ts +0 -3
- package/dist/api/resources/tasks/resources/v3/types/index.js +0 -19
- package/dist/serialization/resources/billingNotes/client/requests/StandaloneBillingNoteCreate.d.ts +0 -12
- package/dist/serialization/resources/billingNotes/types/BillingNote.d.ts +0 -16
- package/dist/serialization/resources/billingNotes/types/BillingNoteBase.d.ts +0 -12
- package/dist/serialization/resources/billingNotes/types/BillingNoteId.d.ts +0 -10
- package/dist/serialization/resources/commons/types/TaskId.d.ts +0 -10
- package/dist/serialization/resources/payers/types/Payer.d.ts +0 -14
- package/dist/serialization/resources/payers/types/PayerPage.d.ts +0 -12
- package/dist/serialization/resources/payers/types/PayerUuid.d.ts +0 -10
- package/dist/serialization/resources/payers/types/PayerUuid.js +0 -37
- package/dist/serialization/resources/tasks/resources/v3/types/TaskAction.d.ts +0 -13
- package/dist/serialization/resources/tasks/resources/v3/types/TaskAction.js +0 -34
- package/dist/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +0 -13
- package/dist/serialization/resources/tasks/resources/v3/types/TaskActions.js +0 -33
- package/dist/serialization/resources/tasks/resources/v3/types/index.d.ts +0 -3
- package/dist/serialization/resources/tasks/resources/v3/types/index.js +0 -19
- package/serialization/resources/billingNotes/client/requests/StandaloneBillingNoteCreate.d.ts +0 -12
- package/serialization/resources/billingNotes/types/BillingNote.d.ts +0 -16
- package/serialization/resources/billingNotes/types/BillingNoteBase.d.ts +0 -12
- package/serialization/resources/billingNotes/types/BillingNoteId.d.ts +0 -10
- package/serialization/resources/commons/types/TaskId.d.ts +0 -10
- package/serialization/resources/payers/types/Payer.d.ts +0 -14
- package/serialization/resources/payers/types/PayerPage.d.ts +0 -12
- package/serialization/resources/payers/types/PayerUuid.d.ts +0 -10
- package/serialization/resources/payers/types/PayerUuid.js +0 -37
- package/serialization/resources/tasks/resources/v3/types/TaskAction.d.ts +0 -13
- package/serialization/resources/tasks/resources/v3/types/TaskAction.js +0 -34
- package/serialization/resources/tasks/resources/v3/types/TaskActionExecutionMethod.d.ts +0 -13
- package/serialization/resources/tasks/resources/v3/types/TaskActions.js +0 -33
- package/serialization/resources/tasks/resources/v3/types/index.d.ts +0 -3
- package/serialization/resources/tasks/resources/v3/types/index.js +0 -19
- package/api/resources/billingNotes/{client → resources/v2/client}/requests/StandaloneBillingNoteCreate.js +0 -0
- package/api/resources/billingNotes/{client → resources/v2/client}/requests/index.d.ts +0 -0
- package/api/resources/billingNotes/{client → resources/v2/client}/requests/index.js +0 -0
- package/api/resources/{tasks/resources/v3 → billingNotes/resources/v2}/index.d.ts +0 -0
- package/api/resources/{tasks/resources/v3 → billingNotes/resources/v2}/index.js +0 -0
- package/api/resources/billingNotes/{types → resources/v2/types}/BillingNote.js +0 -0
- package/api/resources/billingNotes/{types → resources/v2/types}/BillingNoteBase.d.ts +0 -0
- package/api/resources/billingNotes/{types → resources/v2/types}/BillingNoteBase.js +0 -0
- package/api/resources/billingNotes/{types → resources/v2/types}/BillingNoteId.js +0 -0
- package/api/resources/billingNotes/{types → resources/v2/types}/index.d.ts +0 -0
- package/api/resources/billingNotes/{types → resources/v2/types}/index.js +0 -0
- package/api/resources/{payers/client/requests/GetAllPayersRequest.js → commons/types/HttpServiceUnavailableErrorMessage.js} +0 -0
- package/api/resources/{tasks → eligibility}/client/index.d.ts +0 -0
- package/api/resources/{payers/client/requests → eligibility/client}/index.js +0 -0
- package/api/resources/{tasks → eligibility}/index.d.ts +1 -1
- package/{dist/api/resources/tasks → api/resources/eligibility}/index.js +1 -1
- package/api/resources/{tasks → payers}/resources/index.d.ts +0 -0
- package/api/resources/{tasks → payers}/resources/index.js +0 -0
- package/{dist/api/resources/payers → api/resources/payers/resources/v3}/client/requests/GetAllPayersRequest.js +0 -0
- package/api/resources/payers/{client → resources/v3/client}/requests/index.d.ts +0 -0
- package/api/resources/{tasks/client → payers/resources/v3/client/requests}/index.js +0 -0
- package/{dist/api/resources/tasks → api/resources/payers}/resources/v3/index.d.ts +0 -0
- package/{dist/api/resources/tasks → api/resources/payers}/resources/v3/index.js +0 -0
- package/api/resources/payers/{types → resources/v3/types}/Payer.js +0 -0
- package/api/resources/payers/{types → resources/v3/types}/PayerPage.js +0 -0
- package/api/resources/payers/{types → resources/v3/types}/PayerUuid.js +0 -0
- package/api/resources/payers/{types → resources/v3/types}/index.d.ts +0 -0
- package/api/resources/payers/{types → resources/v3/types}/index.js +0 -0
- package/dist/api/resources/billingNotes/{client → resources/v2/client}/requests/StandaloneBillingNoteCreate.js +0 -0
- package/dist/api/resources/billingNotes/{client → resources/v2/client}/requests/index.d.ts +0 -0
- package/dist/api/resources/billingNotes/{client → resources/v2/client}/requests/index.js +0 -0
- package/dist/api/resources/billingNotes/{types → resources/v2/types}/BillingNote.js +0 -0
- package/dist/api/resources/billingNotes/{types → resources/v2/types}/BillingNoteBase.d.ts +0 -0
- package/dist/api/resources/billingNotes/{types → resources/v2/types}/BillingNoteBase.js +0 -0
- package/dist/api/resources/billingNotes/{types → resources/v2/types}/BillingNoteId.js +0 -0
- package/dist/api/resources/billingNotes/{types → resources/v2/types}/index.d.ts +0 -0
- package/dist/api/resources/billingNotes/{types → resources/v2/types}/index.js +0 -0
- package/{api/resources/tasks/resources/v3/types/TaskAction.js → dist/api/resources/commons/types/HttpServiceUnavailableErrorMessage.js} +0 -0
- package/dist/api/resources/{tasks → eligibility}/client/index.d.ts +0 -0
- package/dist/api/resources/{payers/client/requests → eligibility/client}/index.js +0 -0
- package/dist/api/resources/{tasks → eligibility}/index.d.ts +1 -1
- package/{api/resources/tasks → dist/api/resources/eligibility}/index.js +1 -1
- /package/dist/api/resources/{tasks → payers}/resources/index.d.ts +0 -0
- /package/dist/api/resources/{tasks → payers}/resources/index.js +0 -0
- /package/{api/resources/tasks/resources/v3/types/TaskActionExecutionMethod.js → dist/api/resources/payers/resources/v3/client/requests/GetAllPayersRequest.js} +0 -0
- /package/dist/api/resources/payers/{client → resources/v3/client}/requests/index.d.ts +0 -0
- /package/dist/api/resources/{tasks/client → payers/resources/v3/client/requests}/index.js +0 -0
- /package/dist/api/resources/payers/{types → resources/v3/types}/Payer.js +0 -0
- /package/dist/api/resources/payers/{types → resources/v3/types}/PayerPage.js +0 -0
- /package/dist/api/resources/payers/{types → resources/v3/types}/PayerUuid.js +0 -0
- /package/dist/api/resources/payers/{types → resources/v3/types}/index.d.ts +0 -0
- /package/dist/api/resources/payers/{types → resources/v3/types}/index.js +0 -0
- /package/dist/serialization/resources/billingNotes/{client → resources/v2/client}/index.d.ts +0 -0
- /package/dist/serialization/resources/billingNotes/{client → resources/v2/client}/index.js +0 -0
- /package/dist/serialization/resources/billingNotes/{client → resources/v2/client}/requests/index.d.ts +0 -0
- /package/dist/serialization/resources/billingNotes/{client → resources/v2/client}/requests/index.js +0 -0
- /package/dist/serialization/resources/billingNotes/{types → resources/v2/types}/index.d.ts +0 -0
- /package/dist/serialization/resources/billingNotes/{types → resources/v2/types}/index.js +0 -0
- /package/dist/serialization/resources/{tasks → eligibility}/index.d.ts +0 -0
- /package/dist/serialization/resources/{tasks → eligibility}/index.js +0 -0
- /package/dist/serialization/resources/{tasks → payers}/resources/index.d.ts +0 -0
- /package/dist/serialization/resources/{tasks → payers}/resources/index.js +0 -0
- /package/dist/serialization/resources/{tasks → payers}/resources/v3/index.d.ts +0 -0
- /package/dist/serialization/resources/{tasks → payers}/resources/v3/index.js +0 -0
- /package/dist/serialization/resources/payers/{types → resources/v3/types}/index.d.ts +0 -0
- /package/dist/serialization/resources/payers/{types → resources/v3/types}/index.js +0 -0
- /package/serialization/resources/billingNotes/{client → resources/v2/client}/index.d.ts +0 -0
- /package/serialization/resources/billingNotes/{client → resources/v2/client}/index.js +0 -0
- /package/serialization/resources/billingNotes/{client → resources/v2/client}/requests/index.d.ts +0 -0
- /package/serialization/resources/billingNotes/{client → resources/v2/client}/requests/index.js +0 -0
- /package/serialization/resources/billingNotes/{types → resources/v2/types}/index.d.ts +0 -0
- /package/serialization/resources/billingNotes/{types → resources/v2/types}/index.js +0 -0
- /package/serialization/resources/{tasks → eligibility}/index.d.ts +0 -0
- /package/serialization/resources/{tasks → eligibility}/index.js +0 -0
- /package/serialization/resources/{tasks → payers}/resources/index.d.ts +0 -0
- /package/serialization/resources/{tasks → payers}/resources/index.js +0 -0
- /package/serialization/resources/{tasks → payers}/resources/v3/index.d.ts +0 -0
- /package/serialization/resources/{tasks → payers}/resources/v3/index.js +0 -0
- /package/serialization/resources/payers/{types → resources/v3/types}/index.d.ts +0 -0
- /package/serialization/resources/payers/{types → resources/v3/types}/index.js +0 -0
|
@@ -2,82 +2,17 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
29
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
30
|
-
};
|
|
31
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
6
|
exports.BillingNotes = void 0;
|
|
33
|
-
const
|
|
34
|
-
const core = __importStar(require("../../../../core"));
|
|
35
|
-
const CandidApi = __importStar(require("../../.."));
|
|
36
|
-
const serializers = __importStar(require("../../../../serialization"));
|
|
37
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
7
|
+
const Client_1 = require("../resources/v2/client/Client");
|
|
38
8
|
class BillingNotes {
|
|
39
9
|
options;
|
|
40
10
|
constructor(options) {
|
|
41
11
|
this.options = options;
|
|
42
12
|
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
method: "POST",
|
|
47
|
-
headers: {
|
|
48
|
-
Authorization: await this._getAuthorizationHeader(),
|
|
49
|
-
"X-Fern-Language": "JavaScript",
|
|
50
|
-
"X-Fern-SDK-Name": "candidhealth",
|
|
51
|
-
"X-Fern-SDK-Version": "0.5.0",
|
|
52
|
-
},
|
|
53
|
-
contentType: "application/json",
|
|
54
|
-
body: await serializers.StandaloneBillingNoteCreate.jsonOrThrow(request, {
|
|
55
|
-
unrecognizedObjectKeys: "strip",
|
|
56
|
-
}),
|
|
57
|
-
timeoutMs: 60000,
|
|
58
|
-
});
|
|
59
|
-
if (_response.ok) {
|
|
60
|
-
return {
|
|
61
|
-
ok: true,
|
|
62
|
-
body: await serializers.BillingNote.parseOrThrow(_response.body, {
|
|
63
|
-
unrecognizedObjectKeys: "passthrough",
|
|
64
|
-
allowUnrecognizedUnionMembers: true,
|
|
65
|
-
allowUnrecognizedEnumValues: true,
|
|
66
|
-
breadcrumbsPrefix: ["response"],
|
|
67
|
-
}),
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
return {
|
|
71
|
-
ok: false,
|
|
72
|
-
error: CandidApi.billingNotes.create.Error._unknown(_response.error),
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
async _getAuthorizationHeader() {
|
|
76
|
-
const bearer = await core.Supplier.get(this.options.token);
|
|
77
|
-
if (bearer != null) {
|
|
78
|
-
return `Bearer ${bearer}`;
|
|
79
|
-
}
|
|
80
|
-
return undefined;
|
|
13
|
+
_v2;
|
|
14
|
+
get v2() {
|
|
15
|
+
return (this._v2 ??= new Client_1.V2(this.options));
|
|
81
16
|
}
|
|
82
17
|
}
|
|
83
18
|
exports.BillingNotes = BillingNotes;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export * as create from "./create";
|
|
1
|
+
export {};
|
|
@@ -1,31 +1,2 @@
|
|
|
1
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.create = void 0;
|
|
30
|
-
__exportStar(require("./requests"), exports);
|
|
31
|
-
exports.create = __importStar(require("./create"));
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./resources";
|
|
2
2
|
export * from "./client";
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
18
18
|
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v2 from "./v2";
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.v2 = void 0;
|
|
27
|
+
exports.v2 = __importStar(require("./v2"));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
import * as CandidApi from "../../../../..";
|
|
7
|
+
export declare namespace V2 {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: environments.CandidApiEnvironment | string;
|
|
10
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export declare class V2 {
|
|
14
|
+
protected readonly options: V2.Options;
|
|
15
|
+
constructor(options: V2.Options);
|
|
16
|
+
create(request: CandidApi.billingNotes.v2.StandaloneBillingNoteCreate): Promise<core.APIResponse<CandidApi.billingNotes.v2.BillingNote, CandidApi.billingNotes.v2.create.Error>>;
|
|
17
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
18
|
+
}
|
|
@@ -29,34 +29,37 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
29
29
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
30
30
|
};
|
|
31
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
-
exports.
|
|
32
|
+
exports.V2 = void 0;
|
|
33
33
|
const environments = __importStar(require("../../../../../../environments"));
|
|
34
34
|
const core = __importStar(require("../../../../../../core"));
|
|
35
35
|
const CandidApi = __importStar(require("../../../../.."));
|
|
36
36
|
const serializers = __importStar(require("../../../../../../serialization"));
|
|
37
37
|
const url_join_1 = __importDefault(require("url-join"));
|
|
38
|
-
class
|
|
38
|
+
class V2 {
|
|
39
39
|
options;
|
|
40
40
|
constructor(options) {
|
|
41
41
|
this.options = options;
|
|
42
42
|
}
|
|
43
|
-
async
|
|
43
|
+
async create(request) {
|
|
44
44
|
const _response = await core.fetcher({
|
|
45
|
-
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production,
|
|
46
|
-
method: "
|
|
45
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/billing_notes/v2"),
|
|
46
|
+
method: "POST",
|
|
47
47
|
headers: {
|
|
48
48
|
Authorization: await this._getAuthorizationHeader(),
|
|
49
49
|
"X-Fern-Language": "JavaScript",
|
|
50
50
|
"X-Fern-SDK-Name": "candidhealth",
|
|
51
|
-
"X-Fern-SDK-Version": "0.
|
|
51
|
+
"X-Fern-SDK-Version": "0.6.1",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
|
+
body: await serializers.billingNotes.v2.StandaloneBillingNoteCreate.jsonOrThrow(request, {
|
|
55
|
+
unrecognizedObjectKeys: "strip",
|
|
56
|
+
}),
|
|
54
57
|
timeoutMs: 60000,
|
|
55
58
|
});
|
|
56
59
|
if (_response.ok) {
|
|
57
60
|
return {
|
|
58
61
|
ok: true,
|
|
59
|
-
body: await serializers.
|
|
62
|
+
body: await serializers.billingNotes.v2.BillingNote.parseOrThrow(_response.body, {
|
|
60
63
|
unrecognizedObjectKeys: "passthrough",
|
|
61
64
|
allowUnrecognizedUnionMembers: true,
|
|
62
65
|
allowUnrecognizedEnumValues: true,
|
|
@@ -66,7 +69,7 @@ class V3 {
|
|
|
66
69
|
}
|
|
67
70
|
return {
|
|
68
71
|
ok: false,
|
|
69
|
-
error: CandidApi.
|
|
72
|
+
error: CandidApi.billingNotes.v2.create.Error._unknown(_response.error),
|
|
70
73
|
};
|
|
71
74
|
}
|
|
72
75
|
async _getAuthorizationHeader() {
|
|
@@ -77,4 +80,4 @@ class V3 {
|
|
|
77
80
|
return undefined;
|
|
78
81
|
}
|
|
79
82
|
}
|
|
80
|
-
exports.
|
|
83
|
+
exports.V2 = V2;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
5
|
-
import * as core from "
|
|
6
|
-
export declare type Error = CandidApi.
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.billingNotes.v2.create.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface _Unknown extends _Utils {
|
|
9
9
|
errorName: void;
|
|
10
10
|
content: core.Fetcher.Error;
|
|
11
11
|
}
|
|
12
12
|
interface _Utils {
|
|
13
|
-
_visit: <_Result>(visitor: CandidApi.
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.billingNotes.v2.create.Error._Visitor<_Result>) => _Result;
|
|
14
14
|
}
|
|
15
15
|
interface _Visitor<_Result> {
|
|
16
16
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
export declare const Error: {
|
|
20
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.
|
|
21
|
-
readonly _visit: <_Result>(value: CandidApi.
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.billingNotes.v2.create.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.billingNotes.v2.create.Error, visitor: CandidApi.billingNotes.v2.create.Error._Visitor<_Result>) => _Result;
|
|
22
22
|
};
|
package/{api/resources/billingNotes → dist/api/resources/billingNotes/resources/v2}/client/create.js
RENAMED
|
@@ -27,14 +27,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.Error = void 0;
|
|
30
|
-
const CandidApi = __importStar(require("
|
|
30
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
31
31
|
exports.Error = {
|
|
32
32
|
_unknown: (fetcherError) => {
|
|
33
33
|
return {
|
|
34
34
|
errorName: undefined,
|
|
35
35
|
content: fetcherError,
|
|
36
36
|
_visit: function (visitor) {
|
|
37
|
-
return CandidApi.billingNotes.create.Error._visit(this, visitor);
|
|
37
|
+
return CandidApi.billingNotes.v2.create.Error._visit(this, visitor);
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
},
|
|
@@ -0,0 +1,31 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
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.create = void 0;
|
|
30
|
+
__exportStar(require("./requests"), exports);
|
|
31
|
+
exports.create = __importStar(require("./create"));
|
|
@@ -0,0 +1,18 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
5
|
-
export interface BillingNote extends CandidApi.BillingNoteBase {
|
|
6
|
-
billingNoteId: CandidApi.BillingNoteId;
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export interface BillingNote extends CandidApi.billingNotes.v2.BillingNoteBase {
|
|
6
|
+
billingNoteId: CandidApi.billingNotes.v2.BillingNoteId;
|
|
7
7
|
encounterId: CandidApi.EncounterId;
|
|
8
8
|
createdAt: Date;
|
|
9
9
|
authorAuth0Id?: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as CandidApi from "
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
5
|
export declare type BillingNoteId = string & {
|
|
6
|
-
|
|
6
|
+
billingNotes_v2_BillingNoteId: void;
|
|
7
7
|
};
|
|
8
|
-
export declare function BillingNoteId(value: string): CandidApi.BillingNoteId;
|
|
8
|
+
export declare function BillingNoteId(value: string): CandidApi.billingNotes.v2.BillingNoteId;
|
|
@@ -6,7 +6,6 @@ export * from "./PatientExternalId";
|
|
|
6
6
|
export * from "./EncounterExternalId";
|
|
7
7
|
export * from "./Npi";
|
|
8
8
|
export * from "./WorkQueueId";
|
|
9
|
-
export * from "./TaskId";
|
|
10
9
|
export * from "./LinkUrl";
|
|
11
10
|
export * from "./PageToken";
|
|
12
11
|
export * from "./Date_";
|
|
@@ -28,6 +27,7 @@ export * from "./EmrPayerCrosswalk";
|
|
|
28
27
|
export * from "./ErrorMessage";
|
|
29
28
|
export * from "./EntityNotFoundErrorMessage";
|
|
30
29
|
export * from "./UnauthorizedErrorMessage";
|
|
30
|
+
export * from "./HttpServiceUnavailableErrorMessage";
|
|
31
31
|
export * from "./RequestValidationError";
|
|
32
32
|
export * from "./PhoneNumber";
|
|
33
33
|
export * from "./PhoneNumberType";
|
|
@@ -22,7 +22,6 @@ __exportStar(require("./PatientExternalId"), exports);
|
|
|
22
22
|
__exportStar(require("./EncounterExternalId"), exports);
|
|
23
23
|
__exportStar(require("./Npi"), exports);
|
|
24
24
|
__exportStar(require("./WorkQueueId"), exports);
|
|
25
|
-
__exportStar(require("./TaskId"), exports);
|
|
26
25
|
__exportStar(require("./LinkUrl"), exports);
|
|
27
26
|
__exportStar(require("./PageToken"), exports);
|
|
28
27
|
__exportStar(require("./Date_"), exports);
|
|
@@ -44,6 +43,7 @@ __exportStar(require("./EmrPayerCrosswalk"), exports);
|
|
|
44
43
|
__exportStar(require("./ErrorMessage"), exports);
|
|
45
44
|
__exportStar(require("./EntityNotFoundErrorMessage"), exports);
|
|
46
45
|
__exportStar(require("./UnauthorizedErrorMessage"), exports);
|
|
46
|
+
__exportStar(require("./HttpServiceUnavailableErrorMessage"), exports);
|
|
47
47
|
__exportStar(require("./RequestValidationError"), exports);
|
|
48
48
|
__exportStar(require("./PhoneNumber"), exports);
|
|
49
49
|
__exportStar(require("./PhoneNumberType"), exports);
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as environments from "../../../../environments";
|
|
5
5
|
import * as core from "../../../../core";
|
|
6
|
-
import {
|
|
7
|
-
export declare namespace
|
|
6
|
+
import { V2 } from "../resources/v2/client/Client";
|
|
7
|
+
export declare namespace Eligibility {
|
|
8
8
|
interface Options {
|
|
9
9
|
environment?: environments.CandidApiEnvironment | string;
|
|
10
10
|
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
export declare class
|
|
14
|
-
protected readonly options:
|
|
15
|
-
constructor(options:
|
|
16
|
-
protected
|
|
17
|
-
get
|
|
13
|
+
export declare class Eligibility {
|
|
14
|
+
protected readonly options: Eligibility.Options;
|
|
15
|
+
constructor(options: Eligibility.Options);
|
|
16
|
+
protected _v2: V2 | undefined;
|
|
17
|
+
get v2(): V2;
|
|
18
18
|
}
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
const Client_1 = require("../resources/
|
|
8
|
-
class
|
|
6
|
+
exports.Eligibility = void 0;
|
|
7
|
+
const Client_1 = require("../resources/v2/client/Client");
|
|
8
|
+
class Eligibility {
|
|
9
9
|
options;
|
|
10
10
|
constructor(options) {
|
|
11
11
|
this.options = options;
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
get
|
|
15
|
-
return (this.
|
|
13
|
+
_v2;
|
|
14
|
+
get v2() {
|
|
15
|
+
return (this._v2 ??= new Client_1.V2(this.options));
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
exports.
|
|
18
|
+
exports.Eligibility = Eligibility;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v2 from "./v2";
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.v2 = void 0;
|
|
27
|
+
exports.v2 = __importStar(require("./v2"));
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
import * as CandidApi from "../../../../..";
|
|
7
|
+
export declare namespace V2 {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: environments.CandidApiEnvironment | string;
|
|
10
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export declare class V2 {
|
|
14
|
+
protected readonly options: V2.Options;
|
|
15
|
+
constructor(options: V2.Options);
|
|
16
|
+
/**
|
|
17
|
+
* This API is a wrapper around Change Healthcare's eligibility API. Below are some helpful documentation links:
|
|
18
|
+
*
|
|
19
|
+
* - [Change Healthcare - Guides: Contents of the Eligibility Request Body](https://developers.changehealthcare.com/eligibilityandclaims/docs/contents-of-the-eligibility-request-body)
|
|
20
|
+
* - [Change Healthcare - Guides: Use "Bare Minimum" Eligibility Requests](https://developers.changehealthcare.com/eligibilityandclaims/docs/use-bare-minimum-eligibility-requests)
|
|
21
|
+
* - [Change Healthcare - Guides: Contents of the Eligibility Response](https://developers.changehealthcare.com/eligibilityandclaims/docs/contents-of-the-eligibility-response)
|
|
22
|
+
* - [Change Healthcare - Guides: Eligibility JSON-to-EDI API Contents](https://developers.changehealthcare.com/eligibilityandclaims/docs/eligibility-json-to-edi-api-contents)
|
|
23
|
+
* - [Change Healthcare - Guides: Eligibility Error Messages](https://developers.changehealthcare.com/eligibilityandclaims/docs/eligibility-error-messages)
|
|
24
|
+
* - [Change Healthcare - Guides: FAQ](https://developers.changehealthcare.com/eligibilityandclaims/docs/frequently-asked-questions)
|
|
25
|
+
* - [Change Healthcare - Guides: Eligibility FAQs](https://developers.changehealthcare.com/eligibilityandclaims/docs/eligibility-api-requests)
|
|
26
|
+
* - [Change Healthcare - Guides: Sandbox API Values and Test Responses](https://developers.changehealthcare.com/eligibilityandclaims/docs/eligibility-sandbox-api-values-and-test-responses)
|
|
27
|
+
* - [Change Healthcare - Guides: Sandbox Predefined Fields and Values](https://developers.changehealthcare.com/eligibilityandclaims/docs/sandbox-predefined-fields-and-values)
|
|
28
|
+
* - [Change Healthcare - Guides: Using Test Payers in the Sandbox](https://developers.changehealthcare.com/eligibilityandclaims/docs/use-the-test-payers-in-the-sandbox-api)
|
|
29
|
+
*
|
|
30
|
+
* A schema of the response object can be found here: [Change Healthcare Docs](https://developers.changehealthcare.com/eligibilityandclaims/reference/medicaleligibility)
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
submitEligibilityCheck(request?: unknown): Promise<core.APIResponse<unknown, CandidApi.eligibility.v2.submitEligibilityCheck.Error>>;
|
|
34
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
35
|
+
}
|