candidhealth 1.14.0 → 1.14.2
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 +0 -3
- package/Client.js +38 -43
- package/api/resources/commons/types/index.d.ts +0 -2
- package/api/resources/commons/types/index.js +0 -2
- package/api/resources/era/types/index.d.ts +0 -1
- package/api/resources/era/types/index.js +0 -1
- package/api/resources/index.d.ts +0 -5
- package/api/resources/index.js +2 -7
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +2 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +2 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/client/Client.js +1 -0
- package/api/resources/serviceLines/resources/v2/client/delete.d.ts +7 -1
- package/api/resources/serviceLines/resources/v2/client/delete.js +11 -0
- package/api/resources/x12/resources/v1/types/index.d.ts +0 -4
- package/api/resources/x12/resources/v1/types/index.js +0 -4
- package/dist/Client.d.ts +0 -3
- package/dist/Client.js +38 -43
- package/dist/api/resources/commons/types/index.d.ts +0 -2
- package/dist/api/resources/commons/types/index.js +0 -2
- package/dist/api/resources/era/types/index.d.ts +0 -1
- package/dist/api/resources/era/types/index.js +0 -1
- package/dist/api/resources/index.d.ts +0 -5
- package/dist/api/resources/index.js +2 -7
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +2 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +2 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +1 -0
- package/dist/api/resources/serviceLines/resources/v2/client/delete.d.ts +7 -1
- package/dist/api/resources/serviceLines/resources/v2/client/delete.js +11 -0
- package/dist/api/resources/x12/resources/v1/types/index.d.ts +0 -4
- package/dist/api/resources/x12/resources/v1/types/index.js +0 -4
- package/dist/serialization/resources/commons/types/index.d.ts +0 -2
- package/dist/serialization/resources/commons/types/index.js +0 -2
- package/dist/serialization/resources/era/types/index.d.ts +0 -1
- package/dist/serialization/resources/era/types/index.js +0 -1
- package/dist/serialization/resources/index.d.ts +0 -5
- package/dist/serialization/resources/index.js +2 -7
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/delete.d.ts +6 -1
- package/dist/serialization/resources/serviceLines/resources/v2/client/delete.js +6 -0
- package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +0 -4
- package/dist/serialization/resources/x12/resources/v1/types/index.js +0 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +0 -295
- package/serialization/resources/commons/types/index.d.ts +0 -2
- package/serialization/resources/commons/types/index.js +0 -2
- package/serialization/resources/era/types/index.d.ts +0 -1
- package/serialization/resources/era/types/index.js +0 -1
- package/serialization/resources/index.d.ts +0 -5
- package/serialization/resources/index.js +2 -7
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/client/delete.d.ts +6 -1
- package/serialization/resources/serviceLines/resources/v2/client/delete.js +6 -0
- package/serialization/resources/x12/resources/v1/types/index.d.ts +0 -4
- package/serialization/resources/x12/resources/v1/types/index.js +0 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +0 -13
- package/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +0 -16
- package/api/resources/commons/types/TaxId.d.ts +0 -5
- package/api/resources/commons/types/TaxId.js +0 -7
- package/api/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +0 -5
- package/api/resources/era/types/EraNotFullyProcessedErrorMessage.js +0 -3
- package/api/resources/eraCommons/index.d.ts +0 -1
- package/api/resources/eraCommons/index.js +0 -17
- package/api/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +0 -13
- package/api/resources/eraCommons/types/ClaimStatusCodeCreate.js +0 -16
- package/api/resources/eraCommons/types/index.d.ts +0 -1
- package/api/resources/eraCommons/types/index.js +0 -17
- package/api/resources/insuranceAdjudications/client/Client.d.ts +0 -14
- package/api/resources/insuranceAdjudications/client/Client.js +0 -15
- package/api/resources/insuranceAdjudications/client/index.d.ts +0 -1
- package/api/resources/insuranceAdjudications/client/index.js +0 -2
- package/api/resources/insuranceAdjudications/index.d.ts +0 -2
- package/api/resources/insuranceAdjudications/index.js +0 -18
- package/api/resources/insuranceAdjudications/resources/index.d.ts +0 -1
- package/api/resources/insuranceAdjudications/resources/index.js +0 -37
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -153
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +0 -342
- package/api/resources/insuranceAdjudications/resources/v1/client/create.d.ts +0 -25
- package/api/resources/insuranceAdjudications/resources/v1/client/create.js +0 -66
- package/api/resources/insuranceAdjudications/resources/v1/client/delete.d.ts +0 -19
- package/api/resources/insuranceAdjudications/resources/v1/client/delete.js +0 -55
- package/api/resources/insuranceAdjudications/resources/v1/client/get.d.ts +0 -19
- package/api/resources/insuranceAdjudications/resources/v1/client/get.js +0 -55
- package/api/resources/insuranceAdjudications/resources/v1/client/index.d.ts +0 -3
- package/api/resources/insuranceAdjudications/resources/v1/client/index.js +0 -39
- package/api/resources/insuranceAdjudications/resources/v1/index.d.ts +0 -2
- package/api/resources/insuranceAdjudications/resources/v1/index.js +0 -18
- package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +0 -10
- package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +0 -3
- package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +0 -9
- package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +0 -3
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -10
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -3
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +0 -12
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +0 -3
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +0 -5
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +0 -7
- package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +0 -13
- package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +0 -3
- package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +0 -12
- package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +0 -3
- package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +0 -5
- package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +0 -7
- package/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -8
- package/api/resources/insuranceAdjudications/resources/v1/types/index.js +0 -24
- package/api/resources/remitDrafts/index.d.ts +0 -1
- package/api/resources/remitDrafts/index.js +0 -17
- package/api/resources/remitDrafts/resources/index.d.ts +0 -1
- package/api/resources/remitDrafts/resources/index.js +0 -37
- package/api/resources/remitDrafts/resources/v1/index.d.ts +0 -1
- package/api/resources/remitDrafts/resources/v1/index.js +0 -17
- package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +0 -5
- package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +0 -7
- package/api/resources/remitDrafts/resources/v1/types/index.d.ts +0 -1
- package/api/resources/remitDrafts/resources/v1/types/index.js +0 -17
- package/api/resources/remits/index.d.ts +0 -1
- package/api/resources/remits/index.js +0 -17
- package/api/resources/remits/resources/index.d.ts +0 -1
- package/api/resources/remits/resources/index.js +0 -37
- package/api/resources/remits/resources/v1/index.d.ts +0 -1
- package/api/resources/remits/resources/v1/index.js +0 -17
- package/api/resources/remits/resources/v1/types/Payee.d.ts +0 -5
- package/api/resources/remits/resources/v1/types/Payee.js +0 -3
- package/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +0 -16
- package/api/resources/remits/resources/v1/types/PayeeIdentifier.js +0 -3
- package/api/resources/remits/resources/v1/types/index.d.ts +0 -2
- package/api/resources/remits/resources/v1/types/index.js +0 -18
- package/api/resources/x12/resources/v1/types/Carc.d.ts +0 -407
- package/api/resources/x12/resources/v1/types/Carc.js +0 -410
- package/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -6
- package/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -3
- package/api/resources/x12/resources/v1/types/Rarc.d.ts +0 -1190
- package/api/resources/x12/resources/v1/types/Rarc.js +0 -1193
- package/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -4
- package/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -3
- package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +0 -13
- package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +0 -16
- package/dist/api/resources/commons/types/TaxId.d.ts +0 -5
- package/dist/api/resources/commons/types/TaxId.js +0 -7
- package/dist/api/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +0 -5
- package/dist/api/resources/era/types/EraNotFullyProcessedErrorMessage.js +0 -3
- package/dist/api/resources/eraCommons/index.d.ts +0 -1
- package/dist/api/resources/eraCommons/index.js +0 -17
- package/dist/api/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +0 -13
- package/dist/api/resources/eraCommons/types/ClaimStatusCodeCreate.js +0 -16
- package/dist/api/resources/eraCommons/types/index.d.ts +0 -1
- package/dist/api/resources/eraCommons/types/index.js +0 -17
- package/dist/api/resources/insuranceAdjudications/client/Client.d.ts +0 -14
- package/dist/api/resources/insuranceAdjudications/client/Client.js +0 -15
- package/dist/api/resources/insuranceAdjudications/client/index.d.ts +0 -1
- package/dist/api/resources/insuranceAdjudications/client/index.js +0 -2
- package/dist/api/resources/insuranceAdjudications/index.d.ts +0 -2
- package/dist/api/resources/insuranceAdjudications/index.js +0 -18
- package/dist/api/resources/insuranceAdjudications/resources/index.d.ts +0 -1
- package/dist/api/resources/insuranceAdjudications/resources/index.js +0 -37
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -153
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +0 -342
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/create.d.ts +0 -25
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/create.js +0 -66
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/delete.d.ts +0 -19
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/delete.js +0 -55
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/get.d.ts +0 -19
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/get.js +0 -55
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/index.d.ts +0 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/index.js +0 -39
- package/dist/api/resources/insuranceAdjudications/resources/v1/index.d.ts +0 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/index.js +0 -18
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +0 -10
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +0 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +0 -9
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +0 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -10
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +0 -12
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +0 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +0 -5
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +0 -7
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +0 -13
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +0 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +0 -12
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +0 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +0 -5
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +0 -7
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -8
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.js +0 -24
- package/dist/api/resources/remitDrafts/index.d.ts +0 -1
- package/dist/api/resources/remitDrafts/index.js +0 -17
- package/dist/api/resources/remitDrafts/resources/index.d.ts +0 -1
- package/dist/api/resources/remitDrafts/resources/index.js +0 -37
- package/dist/api/resources/remitDrafts/resources/v1/index.d.ts +0 -1
- package/dist/api/resources/remitDrafts/resources/v1/index.js +0 -17
- package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +0 -5
- package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +0 -7
- package/dist/api/resources/remitDrafts/resources/v1/types/index.d.ts +0 -1
- package/dist/api/resources/remitDrafts/resources/v1/types/index.js +0 -17
- package/dist/api/resources/remits/index.d.ts +0 -1
- package/dist/api/resources/remits/index.js +0 -17
- package/dist/api/resources/remits/resources/index.d.ts +0 -1
- package/dist/api/resources/remits/resources/index.js +0 -37
- package/dist/api/resources/remits/resources/v1/index.d.ts +0 -1
- package/dist/api/resources/remits/resources/v1/index.js +0 -17
- package/dist/api/resources/remits/resources/v1/types/Payee.d.ts +0 -5
- package/dist/api/resources/remits/resources/v1/types/Payee.js +0 -3
- package/dist/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +0 -16
- package/dist/api/resources/remits/resources/v1/types/PayeeIdentifier.js +0 -3
- package/dist/api/resources/remits/resources/v1/types/index.d.ts +0 -2
- package/dist/api/resources/remits/resources/v1/types/index.js +0 -18
- package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +0 -407
- package/dist/api/resources/x12/resources/v1/types/Carc.js +0 -410
- package/dist/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -6
- package/dist/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -3
- package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +0 -1190
- package/dist/api/resources/x12/resources/v1/types/Rarc.js +0 -1193
- package/dist/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -4
- package/dist/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -3
- package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +0 -7
- package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +0 -39
- package/dist/serialization/resources/commons/types/TaxId.d.ts +0 -7
- package/dist/serialization/resources/commons/types/TaxId.js +0 -45
- package/dist/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +0 -11
- package/dist/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.js +0 -43
- package/dist/serialization/resources/eraCommons/index.d.ts +0 -1
- package/dist/serialization/resources/eraCommons/index.js +0 -17
- package/dist/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +0 -7
- package/dist/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.js +0 -39
- package/dist/serialization/resources/eraCommons/types/index.d.ts +0 -1
- package/dist/serialization/resources/eraCommons/types/index.js +0 -17
- package/dist/serialization/resources/insuranceAdjudications/index.d.ts +0 -1
- package/dist/serialization/resources/insuranceAdjudications/index.js +0 -17
- package/dist/serialization/resources/insuranceAdjudications/resources/index.d.ts +0 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/index.js +0 -37
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/create.d.ts +0 -12
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/create.js +0 -69
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/index.d.ts +0 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/index.js +0 -37
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +0 -2
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.js +0 -18
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +0 -19
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +0 -51
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +0 -18
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +0 -50
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -19
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -51
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +0 -22
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +0 -54
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +0 -7
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +0 -43
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +0 -21
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +0 -53
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +0 -19
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +0 -51
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +0 -7
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +0 -43
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -8
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +0 -24
- package/dist/serialization/resources/remitDrafts/index.d.ts +0 -1
- package/dist/serialization/resources/remitDrafts/index.js +0 -17
- package/dist/serialization/resources/remitDrafts/resources/index.d.ts +0 -1
- package/dist/serialization/resources/remitDrafts/resources/index.js +0 -37
- package/dist/serialization/resources/remitDrafts/resources/v1/index.d.ts +0 -1
- package/dist/serialization/resources/remitDrafts/resources/v1/index.js +0 -17
- package/dist/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +0 -7
- package/dist/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.js +0 -43
- package/dist/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +0 -1
- package/dist/serialization/resources/remitDrafts/resources/v1/types/index.js +0 -17
- package/dist/serialization/resources/remits/index.d.ts +0 -1
- package/dist/serialization/resources/remits/index.js +0 -17
- package/dist/serialization/resources/remits/resources/index.d.ts +0 -1
- package/dist/serialization/resources/remits/resources/index.js +0 -37
- package/dist/serialization/resources/remits/resources/v1/index.d.ts +0 -1
- package/dist/serialization/resources/remits/resources/v1/index.js +0 -17
- package/dist/serialization/resources/remits/resources/v1/types/Payee.d.ts +0 -11
- package/dist/serialization/resources/remits/resources/v1/types/Payee.js +0 -43
- package/dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +0 -21
- package/dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.js +0 -56
- package/dist/serialization/resources/remits/resources/v1/types/index.d.ts +0 -2
- package/dist/serialization/resources/remits/resources/v1/types/index.js +0 -18
- package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +0 -7
- package/dist/serialization/resources/x12/resources/v1/types/Carc.js +0 -444
- package/dist/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -13
- package/dist/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -45
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +0 -7
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +0 -1227
- package/dist/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -10
- package/dist/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -42
- package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +0 -7
- package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +0 -39
- package/serialization/resources/commons/types/TaxId.d.ts +0 -7
- package/serialization/resources/commons/types/TaxId.js +0 -45
- package/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +0 -11
- package/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.js +0 -43
- package/serialization/resources/eraCommons/index.d.ts +0 -1
- package/serialization/resources/eraCommons/index.js +0 -17
- package/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +0 -7
- package/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.js +0 -39
- package/serialization/resources/eraCommons/types/index.d.ts +0 -1
- package/serialization/resources/eraCommons/types/index.js +0 -17
- package/serialization/resources/insuranceAdjudications/index.d.ts +0 -1
- package/serialization/resources/insuranceAdjudications/index.js +0 -17
- package/serialization/resources/insuranceAdjudications/resources/index.d.ts +0 -1
- package/serialization/resources/insuranceAdjudications/resources/index.js +0 -37
- package/serialization/resources/insuranceAdjudications/resources/v1/client/create.d.ts +0 -12
- package/serialization/resources/insuranceAdjudications/resources/v1/client/create.js +0 -69
- package/serialization/resources/insuranceAdjudications/resources/v1/client/index.d.ts +0 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/client/index.js +0 -37
- package/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +0 -2
- package/serialization/resources/insuranceAdjudications/resources/v1/index.js +0 -18
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +0 -19
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +0 -51
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +0 -18
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +0 -50
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -19
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -51
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +0 -22
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +0 -54
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +0 -7
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +0 -43
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +0 -21
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +0 -53
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +0 -19
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +0 -51
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +0 -7
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +0 -43
- package/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -8
- package/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +0 -24
- package/serialization/resources/remitDrafts/index.d.ts +0 -1
- package/serialization/resources/remitDrafts/index.js +0 -17
- package/serialization/resources/remitDrafts/resources/index.d.ts +0 -1
- package/serialization/resources/remitDrafts/resources/index.js +0 -37
- package/serialization/resources/remitDrafts/resources/v1/index.d.ts +0 -1
- package/serialization/resources/remitDrafts/resources/v1/index.js +0 -17
- package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +0 -7
- package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.js +0 -43
- package/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +0 -1
- package/serialization/resources/remitDrafts/resources/v1/types/index.js +0 -17
- package/serialization/resources/remits/index.d.ts +0 -1
- package/serialization/resources/remits/index.js +0 -17
- package/serialization/resources/remits/resources/index.d.ts +0 -1
- package/serialization/resources/remits/resources/index.js +0 -37
- package/serialization/resources/remits/resources/v1/index.d.ts +0 -1
- package/serialization/resources/remits/resources/v1/index.js +0 -17
- package/serialization/resources/remits/resources/v1/types/Payee.d.ts +0 -11
- package/serialization/resources/remits/resources/v1/types/Payee.js +0 -43
- package/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +0 -21
- package/serialization/resources/remits/resources/v1/types/PayeeIdentifier.js +0 -56
- package/serialization/resources/remits/resources/v1/types/index.d.ts +0 -2
- package/serialization/resources/remits/resources/v1/types/index.js +0 -18
- package/serialization/resources/x12/resources/v1/types/Carc.d.ts +0 -7
- package/serialization/resources/x12/resources/v1/types/Carc.js +0 -444
- package/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -13
- package/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -45
- package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +0 -7
- package/serialization/resources/x12/resources/v1/types/Rarc.js +0 -1227
- package/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -10
- package/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -42
|
@@ -1,342 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
-
});
|
|
44
|
-
};
|
|
45
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
-
exports.V1 = void 0;
|
|
47
|
-
const core = __importStar(require("../../../../../../core"));
|
|
48
|
-
const headers_1 = require("../../../../../../core/headers");
|
|
49
|
-
const environments = __importStar(require("../../../../../../environments"));
|
|
50
|
-
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
51
|
-
const CandidApi = __importStar(require("../../../../../index"));
|
|
52
|
-
class V1 {
|
|
53
|
-
constructor(_options = {}) {
|
|
54
|
-
this._options = _options;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Retrieves a previously created insurance adjudication by its `insurance_adjudication_id`.
|
|
58
|
-
*
|
|
59
|
-
* @param {CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId} insuranceAdjudicationId
|
|
60
|
-
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
61
|
-
*
|
|
62
|
-
* @example
|
|
63
|
-
* await client.insuranceAdjudications.v1.get(CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
64
|
-
*/
|
|
65
|
-
get(insuranceAdjudicationId, requestOptions) {
|
|
66
|
-
return core.HttpResponsePromise.fromPromise(this.__get(insuranceAdjudicationId, requestOptions));
|
|
67
|
-
}
|
|
68
|
-
__get(insuranceAdjudicationId, requestOptions) {
|
|
69
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
70
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
71
|
-
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
72
|
-
const _response = yield core.fetcher({
|
|
73
|
-
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-adjudications/v1/${core.url.encodePathParam(serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.jsonOrThrow(insuranceAdjudicationId))}`),
|
|
74
|
-
method: "GET",
|
|
75
|
-
headers: _headers,
|
|
76
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
77
|
-
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
78
|
-
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
79
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
80
|
-
});
|
|
81
|
-
if (_response.ok) {
|
|
82
|
-
return {
|
|
83
|
-
data: {
|
|
84
|
-
ok: true,
|
|
85
|
-
body: serializers.insuranceAdjudications.v1.InsuranceAdjudication.parseOrThrow(_response.body, {
|
|
86
|
-
unrecognizedObjectKeys: "passthrough",
|
|
87
|
-
allowUnrecognizedUnionMembers: true,
|
|
88
|
-
allowUnrecognizedEnumValues: true,
|
|
89
|
-
breadcrumbsPrefix: ["response"],
|
|
90
|
-
}),
|
|
91
|
-
headers: _response.headers,
|
|
92
|
-
rawResponse: _response.rawResponse,
|
|
93
|
-
},
|
|
94
|
-
rawResponse: _response.rawResponse,
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
return {
|
|
98
|
-
data: {
|
|
99
|
-
ok: false,
|
|
100
|
-
error: CandidApi.insuranceAdjudications.v1.get.Error._unknown(_response.error),
|
|
101
|
-
rawResponse: _response.rawResponse,
|
|
102
|
-
},
|
|
103
|
-
rawResponse: _response.rawResponse,
|
|
104
|
-
};
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Creates a new insurance adjudication record and returns the newly created InsuranceAdjudication object.
|
|
109
|
-
*
|
|
110
|
-
* @param {CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationCreate} request
|
|
111
|
-
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
112
|
-
*
|
|
113
|
-
* @example
|
|
114
|
-
* await client.insuranceAdjudications.v1.create({
|
|
115
|
-
* payerIdentifier: {
|
|
116
|
-
* type: "payer_info",
|
|
117
|
-
* payerId: CandidApi.payers.v3.PayerId("payer_id"),
|
|
118
|
-
* payerName: CandidApi.payers.v3.PayerName("payer_name")
|
|
119
|
-
* },
|
|
120
|
-
* payee: {
|
|
121
|
-
* payeeName: "payee_name",
|
|
122
|
-
* payeeIdentifier: {
|
|
123
|
-
* type: "npi",
|
|
124
|
-
* value: CandidApi.Npi("payee_identifier")
|
|
125
|
-
* }
|
|
126
|
-
* },
|
|
127
|
-
* checkDate: "2023-01-15",
|
|
128
|
-
* claims: {
|
|
129
|
-
* "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [{
|
|
130
|
-
* claimStatusCode: "1",
|
|
131
|
-
* serviceLines: {
|
|
132
|
-
* "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [{
|
|
133
|
-
* carcs: [{
|
|
134
|
-
* groupCode: "CO",
|
|
135
|
-
* reasonCode: "1",
|
|
136
|
-
* amountCents: 1
|
|
137
|
-
* }, {
|
|
138
|
-
* groupCode: "CO",
|
|
139
|
-
* reasonCode: "1",
|
|
140
|
-
* amountCents: 1
|
|
141
|
-
* }],
|
|
142
|
-
* rarcs: [{
|
|
143
|
-
* reasonCode: "M1"
|
|
144
|
-
* }, {
|
|
145
|
-
* reasonCode: "M1"
|
|
146
|
-
* }]
|
|
147
|
-
* }, {
|
|
148
|
-
* carcs: [{
|
|
149
|
-
* groupCode: "CO",
|
|
150
|
-
* reasonCode: "1",
|
|
151
|
-
* amountCents: 1
|
|
152
|
-
* }, {
|
|
153
|
-
* groupCode: "CO",
|
|
154
|
-
* reasonCode: "1",
|
|
155
|
-
* amountCents: 1
|
|
156
|
-
* }],
|
|
157
|
-
* rarcs: [{
|
|
158
|
-
* reasonCode: "M1"
|
|
159
|
-
* }, {
|
|
160
|
-
* reasonCode: "M1"
|
|
161
|
-
* }]
|
|
162
|
-
* }]
|
|
163
|
-
* },
|
|
164
|
-
* carcs: [{
|
|
165
|
-
* groupCode: "CO",
|
|
166
|
-
* reasonCode: "1",
|
|
167
|
-
* amountCents: 1
|
|
168
|
-
* }, {
|
|
169
|
-
* groupCode: "CO",
|
|
170
|
-
* reasonCode: "1",
|
|
171
|
-
* amountCents: 1
|
|
172
|
-
* }]
|
|
173
|
-
* }, {
|
|
174
|
-
* claimStatusCode: "1",
|
|
175
|
-
* serviceLines: {
|
|
176
|
-
* "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [{
|
|
177
|
-
* carcs: [{
|
|
178
|
-
* groupCode: "CO",
|
|
179
|
-
* reasonCode: "1",
|
|
180
|
-
* amountCents: 1
|
|
181
|
-
* }, {
|
|
182
|
-
* groupCode: "CO",
|
|
183
|
-
* reasonCode: "1",
|
|
184
|
-
* amountCents: 1
|
|
185
|
-
* }],
|
|
186
|
-
* rarcs: [{
|
|
187
|
-
* reasonCode: "M1"
|
|
188
|
-
* }, {
|
|
189
|
-
* reasonCode: "M1"
|
|
190
|
-
* }]
|
|
191
|
-
* }, {
|
|
192
|
-
* carcs: [{
|
|
193
|
-
* groupCode: "CO",
|
|
194
|
-
* reasonCode: "1",
|
|
195
|
-
* amountCents: 1
|
|
196
|
-
* }, {
|
|
197
|
-
* groupCode: "CO",
|
|
198
|
-
* reasonCode: "1",
|
|
199
|
-
* amountCents: 1
|
|
200
|
-
* }],
|
|
201
|
-
* rarcs: [{
|
|
202
|
-
* reasonCode: "M1"
|
|
203
|
-
* }, {
|
|
204
|
-
* reasonCode: "M1"
|
|
205
|
-
* }]
|
|
206
|
-
* }]
|
|
207
|
-
* },
|
|
208
|
-
* carcs: [{
|
|
209
|
-
* groupCode: "CO",
|
|
210
|
-
* reasonCode: "1",
|
|
211
|
-
* amountCents: 1
|
|
212
|
-
* }, {
|
|
213
|
-
* groupCode: "CO",
|
|
214
|
-
* reasonCode: "1",
|
|
215
|
-
* amountCents: 1
|
|
216
|
-
* }]
|
|
217
|
-
* }]
|
|
218
|
-
* }
|
|
219
|
-
* })
|
|
220
|
-
*/
|
|
221
|
-
create(request, requestOptions) {
|
|
222
|
-
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
223
|
-
}
|
|
224
|
-
__create(request, requestOptions) {
|
|
225
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
226
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
227
|
-
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
228
|
-
const _response = yield core.fetcher({
|
|
229
|
-
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, "/api/insurance-adjudications/v1"),
|
|
230
|
-
method: "POST",
|
|
231
|
-
headers: _headers,
|
|
232
|
-
contentType: "application/json",
|
|
233
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
234
|
-
requestType: "json",
|
|
235
|
-
body: serializers.insuranceAdjudications.v1.InsuranceAdjudicationCreate.jsonOrThrow(request, {
|
|
236
|
-
unrecognizedObjectKeys: "strip",
|
|
237
|
-
}),
|
|
238
|
-
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
239
|
-
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
240
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
241
|
-
});
|
|
242
|
-
if (_response.ok) {
|
|
243
|
-
return {
|
|
244
|
-
data: {
|
|
245
|
-
ok: true,
|
|
246
|
-
body: serializers.insuranceAdjudications.v1.InsuranceAdjudication.parseOrThrow(_response.body, {
|
|
247
|
-
unrecognizedObjectKeys: "passthrough",
|
|
248
|
-
allowUnrecognizedUnionMembers: true,
|
|
249
|
-
allowUnrecognizedEnumValues: true,
|
|
250
|
-
breadcrumbsPrefix: ["response"],
|
|
251
|
-
}),
|
|
252
|
-
headers: _response.headers,
|
|
253
|
-
rawResponse: _response.rawResponse,
|
|
254
|
-
},
|
|
255
|
-
rawResponse: _response.rawResponse,
|
|
256
|
-
};
|
|
257
|
-
}
|
|
258
|
-
if (_response.error.reason === "status-code") {
|
|
259
|
-
switch ((_j = _response.error.body) === null || _j === void 0 ? void 0 : _j.errorName) {
|
|
260
|
-
case "EraNotFullyProcessedError":
|
|
261
|
-
return {
|
|
262
|
-
data: {
|
|
263
|
-
ok: false,
|
|
264
|
-
error: serializers.insuranceAdjudications.v1.create.Error.parseOrThrow(_response.error.body, {
|
|
265
|
-
unrecognizedObjectKeys: "passthrough",
|
|
266
|
-
allowUnrecognizedUnionMembers: true,
|
|
267
|
-
allowUnrecognizedEnumValues: true,
|
|
268
|
-
breadcrumbsPrefix: ["response"],
|
|
269
|
-
}),
|
|
270
|
-
rawResponse: _response.rawResponse,
|
|
271
|
-
},
|
|
272
|
-
rawResponse: _response.rawResponse,
|
|
273
|
-
};
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
return {
|
|
277
|
-
data: {
|
|
278
|
-
ok: false,
|
|
279
|
-
error: CandidApi.insuranceAdjudications.v1.create.Error._unknown(_response.error),
|
|
280
|
-
rawResponse: _response.rawResponse,
|
|
281
|
-
},
|
|
282
|
-
rawResponse: _response.rawResponse,
|
|
283
|
-
};
|
|
284
|
-
});
|
|
285
|
-
}
|
|
286
|
-
/**
|
|
287
|
-
* Deletes the insurance adjudication record matching the provided insurance_adjudication_id.
|
|
288
|
-
*
|
|
289
|
-
* @param {CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId} insuranceAdjudicationId
|
|
290
|
-
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
291
|
-
*
|
|
292
|
-
* @example
|
|
293
|
-
* await client.insuranceAdjudications.v1.delete(CandidApi.insuranceAdjudications.v1.InsuranceAdjudicationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
294
|
-
*/
|
|
295
|
-
delete(insuranceAdjudicationId, requestOptions) {
|
|
296
|
-
return core.HttpResponsePromise.fromPromise(this.__delete(insuranceAdjudicationId, requestOptions));
|
|
297
|
-
}
|
|
298
|
-
__delete(insuranceAdjudicationId, requestOptions) {
|
|
299
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
300
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
301
|
-
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
302
|
-
const _response = yield core.fetcher({
|
|
303
|
-
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.CandidApiEnvironment.Production).candidApi, `/api/insurance-adjudications/v1/${core.url.encodePathParam(serializers.insuranceAdjudications.v1.InsuranceAdjudicationId.jsonOrThrow(insuranceAdjudicationId))}`),
|
|
304
|
-
method: "DELETE",
|
|
305
|
-
headers: _headers,
|
|
306
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
307
|
-
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
308
|
-
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
309
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
310
|
-
});
|
|
311
|
-
if (_response.ok) {
|
|
312
|
-
return {
|
|
313
|
-
data: {
|
|
314
|
-
ok: true,
|
|
315
|
-
body: undefined,
|
|
316
|
-
headers: _response.headers,
|
|
317
|
-
rawResponse: _response.rawResponse,
|
|
318
|
-
},
|
|
319
|
-
rawResponse: _response.rawResponse,
|
|
320
|
-
};
|
|
321
|
-
}
|
|
322
|
-
return {
|
|
323
|
-
data: {
|
|
324
|
-
ok: false,
|
|
325
|
-
error: CandidApi.insuranceAdjudications.v1.delete.Error._unknown(_response.error),
|
|
326
|
-
rawResponse: _response.rawResponse,
|
|
327
|
-
},
|
|
328
|
-
rawResponse: _response.rawResponse,
|
|
329
|
-
};
|
|
330
|
-
});
|
|
331
|
-
}
|
|
332
|
-
_getAuthorizationHeader() {
|
|
333
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
334
|
-
const bearer = yield core.Supplier.get(this._options.token);
|
|
335
|
-
if (bearer != null) {
|
|
336
|
-
return `Bearer ${bearer}`;
|
|
337
|
-
}
|
|
338
|
-
return undefined;
|
|
339
|
-
});
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
exports.V1 = V1;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type * as core from "../../../../../../core";
|
|
2
|
-
import * as CandidApi from "../../../../../index";
|
|
3
|
-
export type Error = CandidApi.insuranceAdjudications.v1.create.Error.EraNotFullyProcessedError | CandidApi.insuranceAdjudications.v1.create.Error._Unknown;
|
|
4
|
-
export declare namespace Error {
|
|
5
|
-
interface EraNotFullyProcessedError extends _Utils {
|
|
6
|
-
errorName: "EraNotFullyProcessedError";
|
|
7
|
-
content: CandidApi.EraNotFullyProcessedErrorMessage;
|
|
8
|
-
}
|
|
9
|
-
interface _Unknown extends _Utils {
|
|
10
|
-
errorName: void;
|
|
11
|
-
content: core.Fetcher.Error;
|
|
12
|
-
}
|
|
13
|
-
interface _Utils {
|
|
14
|
-
_visit: <_Result>(visitor: CandidApi.insuranceAdjudications.v1.create.Error._Visitor<_Result>) => _Result;
|
|
15
|
-
}
|
|
16
|
-
interface _Visitor<_Result> {
|
|
17
|
-
eraNotFullyProcessedError: (value: CandidApi.EraNotFullyProcessedErrorMessage) => _Result;
|
|
18
|
-
_other: (value: core.Fetcher.Error) => _Result;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
export declare const Error: {
|
|
22
|
-
readonly eraNotFullyProcessedError: (value: CandidApi.EraNotFullyProcessedErrorMessage) => CandidApi.insuranceAdjudications.v1.create.Error.EraNotFullyProcessedError;
|
|
23
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.insuranceAdjudications.v1.create.Error._Unknown;
|
|
24
|
-
readonly _visit: <_Result>(value: CandidApi.insuranceAdjudications.v1.create.Error, visitor: CandidApi.insuranceAdjudications.v1.create.Error._Visitor<_Result>) => _Result;
|
|
25
|
-
};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.Error = void 0;
|
|
38
|
-
const CandidApi = __importStar(require("../../../../../index"));
|
|
39
|
-
exports.Error = {
|
|
40
|
-
eraNotFullyProcessedError: (value) => {
|
|
41
|
-
return {
|
|
42
|
-
content: value,
|
|
43
|
-
errorName: "EraNotFullyProcessedError",
|
|
44
|
-
_visit: function (visitor) {
|
|
45
|
-
return CandidApi.insuranceAdjudications.v1.create.Error._visit(this, visitor);
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
|
-
},
|
|
49
|
-
_unknown: (fetcherError) => {
|
|
50
|
-
return {
|
|
51
|
-
errorName: undefined,
|
|
52
|
-
content: fetcherError,
|
|
53
|
-
_visit: function (visitor) {
|
|
54
|
-
return CandidApi.insuranceAdjudications.v1.create.Error._visit(this, visitor);
|
|
55
|
-
},
|
|
56
|
-
};
|
|
57
|
-
},
|
|
58
|
-
_visit: (value, visitor) => {
|
|
59
|
-
switch (value.errorName) {
|
|
60
|
-
case "EraNotFullyProcessedError":
|
|
61
|
-
return visitor.eraNotFullyProcessedError(value.content);
|
|
62
|
-
default:
|
|
63
|
-
return visitor._other(value);
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type * as core from "../../../../../../core";
|
|
2
|
-
import * as CandidApi from "../../../../../index";
|
|
3
|
-
export type Error = CandidApi.insuranceAdjudications.v1.delete.Error._Unknown;
|
|
4
|
-
export declare namespace Error {
|
|
5
|
-
interface _Unknown extends _Utils {
|
|
6
|
-
errorName: void;
|
|
7
|
-
content: core.Fetcher.Error;
|
|
8
|
-
}
|
|
9
|
-
interface _Utils {
|
|
10
|
-
_visit: <_Result>(visitor: CandidApi.insuranceAdjudications.v1.delete.Error._Visitor<_Result>) => _Result;
|
|
11
|
-
}
|
|
12
|
-
interface _Visitor<_Result> {
|
|
13
|
-
_other: (value: core.Fetcher.Error) => _Result;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export declare const Error: {
|
|
17
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.insuranceAdjudications.v1.delete.Error._Unknown;
|
|
18
|
-
readonly _visit: <_Result>(value: CandidApi.insuranceAdjudications.v1.delete.Error, visitor: CandidApi.insuranceAdjudications.v1.delete.Error._Visitor<_Result>) => _Result;
|
|
19
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.Error = void 0;
|
|
38
|
-
const CandidApi = __importStar(require("../../../../../index"));
|
|
39
|
-
exports.Error = {
|
|
40
|
-
_unknown: (fetcherError) => {
|
|
41
|
-
return {
|
|
42
|
-
errorName: undefined,
|
|
43
|
-
content: fetcherError,
|
|
44
|
-
_visit: function (visitor) {
|
|
45
|
-
return CandidApi.insuranceAdjudications.v1.delete.Error._visit(this, visitor);
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
|
-
},
|
|
49
|
-
_visit: (value, visitor) => {
|
|
50
|
-
switch (value.errorName) {
|
|
51
|
-
default:
|
|
52
|
-
return visitor._other(value);
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type * as core from "../../../../../../core";
|
|
2
|
-
import * as CandidApi from "../../../../../index";
|
|
3
|
-
export type Error = CandidApi.insuranceAdjudications.v1.get.Error._Unknown;
|
|
4
|
-
export declare namespace Error {
|
|
5
|
-
interface _Unknown extends _Utils {
|
|
6
|
-
errorName: void;
|
|
7
|
-
content: core.Fetcher.Error;
|
|
8
|
-
}
|
|
9
|
-
interface _Utils {
|
|
10
|
-
_visit: <_Result>(visitor: CandidApi.insuranceAdjudications.v1.get.Error._Visitor<_Result>) => _Result;
|
|
11
|
-
}
|
|
12
|
-
interface _Visitor<_Result> {
|
|
13
|
-
_other: (value: core.Fetcher.Error) => _Result;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export declare const Error: {
|
|
17
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.insuranceAdjudications.v1.get.Error._Unknown;
|
|
18
|
-
readonly _visit: <_Result>(value: CandidApi.insuranceAdjudications.v1.get.Error, visitor: CandidApi.insuranceAdjudications.v1.get.Error._Visitor<_Result>) => _Result;
|
|
19
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
-
var ownKeys = function(o) {
|
|
21
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
-
var ar = [];
|
|
23
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
-
return ar;
|
|
25
|
-
};
|
|
26
|
-
return ownKeys(o);
|
|
27
|
-
};
|
|
28
|
-
return function (mod) {
|
|
29
|
-
if (mod && mod.__esModule) return mod;
|
|
30
|
-
var result = {};
|
|
31
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
-
__setModuleDefault(result, mod);
|
|
33
|
-
return result;
|
|
34
|
-
};
|
|
35
|
-
})();
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.Error = void 0;
|
|
38
|
-
const CandidApi = __importStar(require("../../../../../index"));
|
|
39
|
-
exports.Error = {
|
|
40
|
-
_unknown: (fetcherError) => {
|
|
41
|
-
return {
|
|
42
|
-
errorName: undefined,
|
|
43
|
-
content: fetcherError,
|
|
44
|
-
_visit: function (visitor) {
|
|
45
|
-
return CandidApi.insuranceAdjudications.v1.get.Error._visit(this, visitor);
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
|
-
},
|
|
49
|
-
_visit: (value, visitor) => {
|
|
50
|
-
switch (value.errorName) {
|
|
51
|
-
default:
|
|
52
|
-
return visitor._other(value);
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
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 () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.get = exports.delete = exports.create = void 0;
|
|
37
|
-
exports.create = __importStar(require("./create"));
|
|
38
|
-
exports.delete = __importStar(require("./delete"));
|
|
39
|
-
exports.get = __importStar(require("./get"));
|
|
@@ -1,18 +0,0 @@
|
|
|
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("./client"), exports);
|
|
18
|
-
__exportStar(require("./types"), exports);
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type * as CandidApi from "../../../../../index";
|
|
2
|
-
export interface ClaimAdjudication {
|
|
3
|
-
claimId: CandidApi.ClaimId;
|
|
4
|
-
insuranceAllowedAmountCents?: number;
|
|
5
|
-
insurancePaidAmountCents?: number;
|
|
6
|
-
chargeAmountCents?: number;
|
|
7
|
-
serviceLines: Record<CandidApi.ServiceLineId, CandidApi.insuranceAdjudications.v1.ServiceLineAdjudication[]>;
|
|
8
|
-
payerClaimNumber?: string;
|
|
9
|
-
carcs: CandidApi.x12.v1.ClaimAdjustmentReasonCode[];
|
|
10
|
-
}
|