candidhealth 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -0
- package/Client.js +33 -28
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +6 -2
- package/api/resources/commons/types/RegionNational.d.ts +5 -0
- package/api/resources/commons/types/RegionNational.js +5 -0
- package/api/resources/commons/types/RegionStates.d.ts +7 -0
- package/api/resources/commons/types/RegionStates.js +5 -0
- package/api/resources/commons/types/Regions.d.ts +13 -0
- package/api/resources/commons/types/Regions.js +5 -0
- package/api/resources/commons/types/index.d.ts +3 -0
- package/api/resources/commons/types/index.js +3 -0
- package/api/resources/contracts/client/Client.d.ts +18 -0
- package/api/resources/contracts/client/Client.js +18 -0
- package/api/resources/contracts/client/index.d.ts +1 -0
- package/api/resources/contracts/client/index.js +2 -0
- package/api/resources/contracts/index.d.ts +2 -1
- package/api/resources/contracts/index.js +2 -1
- package/api/resources/contracts/resources/index.d.ts +1 -0
- package/api/resources/contracts/resources/index.js +27 -0
- package/api/resources/contracts/resources/v2/client/Client.d.ts +25 -0
- package/api/resources/contracts/resources/v2/client/Client.js +274 -0
- package/api/resources/contracts/resources/v2/client/create.d.ts +22 -0
- package/api/resources/contracts/resources/v2/client/create.js +47 -0
- package/api/resources/contracts/resources/v2/client/delete.d.ts +22 -0
- package/api/resources/contracts/resources/v2/client/delete.js +47 -0
- package/api/resources/contracts/resources/v2/client/get.d.ts +28 -0
- package/api/resources/contracts/resources/v2/client/get.js +58 -0
- package/api/resources/contracts/resources/v2/client/getMulti.d.ts +22 -0
- package/api/resources/contracts/resources/v2/client/getMulti.js +47 -0
- package/api/resources/contracts/resources/v2/client/index.d.ts +6 -0
- package/api/resources/contracts/resources/v2/client/index.js +35 -0
- package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +17 -0
- package/api/resources/contracts/resources/v2/client/requests/ContractCreate.js +5 -0
- package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +28 -0
- package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.js +5 -0
- package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +22 -0
- package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.js +5 -0
- package/api/resources/contracts/resources/v2/client/requests/index.d.ts +3 -0
- package/api/resources/contracts/resources/v2/client/requests/index.js +2 -0
- package/api/resources/contracts/resources/v2/client/update.d.ts +28 -0
- package/api/resources/contracts/resources/v2/client/update.js +58 -0
- package/api/resources/contracts/resources/v2/index.d.ts +2 -0
- package/{dist/api/resources/contracts/types → api/resources/contracts/resources/v2}/index.js +2 -1
- package/api/resources/contracts/resources/v2/types/AuthorizedSignatory.d.ts +11 -0
- package/api/resources/contracts/resources/v2/types/AuthorizedSignatory.js +5 -0
- package/api/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.d.ts +13 -0
- package/api/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.js +5 -0
- package/api/resources/contracts/resources/v2/types/Contract.d.ts +13 -0
- package/api/resources/contracts/resources/v2/types/Contract.js +5 -0
- package/api/resources/contracts/resources/v2/types/ContractBase.d.ts +33 -0
- package/api/resources/contracts/resources/v2/types/ContractBase.js +5 -0
- package/api/resources/contracts/resources/v2/types/ContractId.d.ts +8 -0
- package/api/resources/contracts/resources/v2/types/ContractStatus.d.ts +22 -0
- package/api/resources/contracts/resources/v2/types/ContractStatus.js +11 -0
- package/api/resources/contracts/resources/v2/types/ContractWithProviders.d.ts +8 -0
- package/api/resources/contracts/resources/v2/types/ContractWithProviders.js +5 -0
- package/api/resources/contracts/resources/v2/types/ContractingProviderId.d.ts +8 -0
- package/api/resources/contracts/resources/v2/types/ContractingProviderId.js +10 -0
- package/api/resources/contracts/resources/v2/types/ContractsPage.d.ts +7 -0
- package/api/resources/contracts/resources/v2/types/ContractsPage.js +5 -0
- package/api/resources/contracts/resources/v2/types/DateUpdate.d.ts +14 -0
- package/api/resources/contracts/resources/v2/types/DateUpdate.js +5 -0
- package/api/resources/contracts/resources/v2/types/InsuranceTypes.d.ts +17 -0
- package/api/resources/contracts/resources/v2/types/InsuranceTypes.js +5 -0
- package/api/resources/contracts/resources/v2/types/RegionsUpdate.d.ts +14 -0
- package/api/resources/contracts/resources/v2/types/RegionsUpdate.js +5 -0
- package/api/resources/contracts/resources/v2/types/RenderingProviderid.d.ts +8 -0
- package/api/resources/contracts/resources/v2/types/RenderingProviderid.js +10 -0
- package/api/resources/contracts/resources/v2/types/index.d.ts +13 -0
- package/api/resources/contracts/resources/v2/types/index.js +29 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.d.ts +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/index.d.ts +1 -2
- package/api/resources/index.js +2 -3
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -1
- package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -2
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +4 -4
- package/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +8 -0
- package/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.js +10 -0
- package/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +14 -0
- package/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +5 -0
- package/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +38 -0
- package/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.js +5 -0
- package/api/resources/organizationProviders/resources/v2/types/index.d.ts +3 -0
- package/api/resources/organizationProviders/resources/v2/types/index.js +3 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +4 -4
- package/api/resources/patientRefunds/resources/v1/client/Client.js +4 -4
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +33 -28
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +6 -2
- package/dist/api/resources/commons/types/RegionNational.d.ts +5 -0
- package/dist/api/resources/commons/types/RegionNational.js +5 -0
- package/dist/api/resources/commons/types/RegionStates.d.ts +7 -0
- package/dist/api/resources/commons/types/RegionStates.js +5 -0
- package/dist/api/resources/commons/types/Regions.d.ts +13 -0
- package/dist/api/resources/commons/types/Regions.js +5 -0
- package/dist/api/resources/commons/types/index.d.ts +3 -0
- package/dist/api/resources/commons/types/index.js +3 -0
- package/dist/api/resources/contracts/client/Client.d.ts +18 -0
- package/dist/api/resources/contracts/client/Client.js +18 -0
- package/dist/api/resources/contracts/client/index.d.ts +1 -0
- package/dist/api/resources/contracts/client/index.js +2 -0
- package/dist/api/resources/contracts/index.d.ts +2 -1
- package/dist/api/resources/contracts/index.js +2 -1
- package/dist/api/resources/contracts/resources/index.d.ts +1 -0
- package/dist/api/resources/contracts/resources/index.js +27 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +25 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +274 -0
- package/dist/api/resources/contracts/resources/v2/client/create.d.ts +22 -0
- package/dist/api/resources/contracts/resources/v2/client/create.js +47 -0
- package/dist/api/resources/contracts/resources/v2/client/delete.d.ts +22 -0
- package/dist/api/resources/contracts/resources/v2/client/delete.js +47 -0
- package/dist/api/resources/contracts/resources/v2/client/get.d.ts +28 -0
- package/dist/api/resources/contracts/resources/v2/client/get.js +58 -0
- package/dist/api/resources/contracts/resources/v2/client/getMulti.d.ts +22 -0
- package/dist/api/resources/contracts/resources/v2/client/getMulti.js +47 -0
- package/dist/api/resources/contracts/resources/v2/client/index.d.ts +6 -0
- package/dist/api/resources/contracts/resources/v2/client/index.js +35 -0
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +17 -0
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.js +5 -0
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +28 -0
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.js +5 -0
- package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +22 -0
- package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.js +5 -0
- package/dist/api/resources/contracts/resources/v2/client/requests/index.d.ts +3 -0
- package/dist/api/resources/contracts/resources/v2/client/requests/index.js +2 -0
- package/dist/api/resources/contracts/resources/v2/client/update.d.ts +28 -0
- package/dist/api/resources/contracts/resources/v2/client/update.js +58 -0
- package/dist/api/resources/contracts/resources/v2/index.d.ts +2 -0
- package/{serialization/resources/contracts/types → dist/api/resources/contracts/resources/v2}/index.js +2 -1
- package/dist/api/resources/contracts/resources/v2/types/AuthorizedSignatory.d.ts +11 -0
- package/dist/api/resources/contracts/resources/v2/types/AuthorizedSignatory.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.d.ts +13 -0
- package/dist/api/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/Contract.d.ts +13 -0
- package/dist/api/resources/contracts/resources/v2/types/Contract.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractBase.d.ts +33 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractBase.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractId.d.ts +8 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractStatus.d.ts +22 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractStatus.js +11 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractWithProviders.d.ts +8 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractWithProviders.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractingProviderId.d.ts +8 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractingProviderId.js +10 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractsPage.d.ts +7 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractsPage.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/DateUpdate.d.ts +14 -0
- package/dist/api/resources/contracts/resources/v2/types/DateUpdate.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/InsuranceTypes.d.ts +17 -0
- package/dist/api/resources/contracts/resources/v2/types/InsuranceTypes.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/RegionsUpdate.d.ts +14 -0
- package/dist/api/resources/contracts/resources/v2/types/RegionsUpdate.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/RenderingProviderid.d.ts +8 -0
- package/dist/api/resources/contracts/resources/v2/types/RenderingProviderid.js +10 -0
- package/dist/api/resources/contracts/resources/v2/types/index.d.ts +13 -0
- package/dist/api/resources/contracts/resources/v2/types/index.js +29 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.d.ts +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/index.d.ts +1 -2
- package/dist/api/resources/index.js +2 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +8 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.js +10 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +14 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +5 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +38 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.js +5 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/index.d.ts +3 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/index.js +3 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +4 -4
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/{contracts/types/ContractId.d.ts → commons/types/RegionNational.d.ts} +4 -3
- package/dist/serialization/resources/commons/types/RegionNational.js +31 -0
- package/dist/serialization/resources/commons/types/RegionStates.d.ts +12 -0
- package/dist/serialization/resources/commons/types/RegionStates.js +33 -0
- package/dist/serialization/resources/commons/types/Regions.d.ts +16 -0
- package/dist/serialization/resources/commons/types/Regions.js +39 -0
- package/dist/serialization/resources/commons/types/index.d.ts +3 -0
- package/dist/serialization/resources/commons/types/index.js +3 -0
- package/dist/serialization/resources/contracts/index.d.ts +1 -1
- package/dist/serialization/resources/contracts/index.js +1 -1
- package/dist/serialization/resources/contracts/resources/index.d.ts +1 -0
- package/dist/serialization/resources/contracts/resources/index.js +27 -0
- package/dist/serialization/resources/contracts/resources/v2/client/get.d.ts +14 -0
- package/dist/serialization/resources/contracts/resources/v2/client/get.js +46 -0
- package/dist/serialization/resources/contracts/resources/v2/client/index.d.ts +3 -0
- package/dist/serialization/resources/contracts/resources/v2/client/index.js +32 -0
- package/dist/serialization/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +14 -0
- package/dist/serialization/resources/contracts/resources/v2/client/requests/ContractCreate.js +37 -0
- package/dist/serialization/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +20 -0
- package/dist/serialization/resources/contracts/resources/v2/client/requests/ContractUpdate.js +47 -0
- package/dist/serialization/resources/contracts/resources/v2/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/contracts/resources/v2/client/requests/index.js +7 -0
- package/dist/serialization/resources/contracts/resources/v2/client/update.d.ts +14 -0
- package/dist/serialization/resources/contracts/resources/v2/client/update.js +46 -0
- package/dist/serialization/resources/contracts/resources/v2/index.d.ts +2 -0
- package/dist/serialization/resources/contracts/{types → resources/v2}/index.js +2 -1
- package/dist/serialization/resources/contracts/resources/v2/types/AuthorizedSignatory.d.ts +17 -0
- package/dist/serialization/resources/contracts/resources/v2/types/AuthorizedSignatory.js +38 -0
- package/dist/serialization/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.d.ts +16 -0
- package/dist/serialization/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.js +39 -0
- package/dist/serialization/resources/contracts/resources/v2/types/Contract.d.ts +15 -0
- package/dist/serialization/resources/contracts/resources/v2/types/Contract.js +38 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractBase.d.ts +19 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractBase.js +42 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractId.d.ts +10 -0
- package/dist/serialization/resources/contracts/{types → resources/v2/types}/ContractId.js +3 -3
- package/dist/serialization/resources/contracts/resources/v2/types/ContractStatus.d.ts +10 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractStatus.js +31 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractWithProviders.d.ts +12 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractWithProviders.js +35 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractingProviderId.d.ts +10 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractingProviderId.js +35 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractsPage.d.ts +12 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractsPage.js +35 -0
- package/dist/serialization/resources/contracts/resources/v2/types/DateUpdate.d.ts +17 -0
- package/dist/serialization/resources/contracts/resources/v2/types/DateUpdate.js +41 -0
- package/dist/serialization/resources/contracts/resources/v2/types/InsuranceTypes.d.ts +20 -0
- package/dist/serialization/resources/contracts/resources/v2/types/InsuranceTypes.js +42 -0
- package/dist/serialization/resources/contracts/resources/v2/types/RegionsUpdate.d.ts +17 -0
- package/dist/serialization/resources/contracts/resources/v2/types/RegionsUpdate.js +41 -0
- package/dist/serialization/resources/contracts/resources/v2/types/RenderingProviderid.d.ts +10 -0
- package/dist/serialization/resources/contracts/resources/v2/types/RenderingProviderid.js +35 -0
- package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +13 -0
- package/dist/serialization/resources/contracts/resources/v2/types/index.js +29 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.d.ts +1 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.js +1 -1
- package/dist/serialization/resources/index.d.ts +1 -2
- package/dist/serialization/resources/index.js +2 -3
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +1 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -2
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -2
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +1 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +1 -1
- package/dist/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +10 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.js +31 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +15 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +38 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +24 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.js +47 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/index.d.ts +3 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/index.js +3 -0
- package/package.json +1 -1
- package/serialization/resources/{contracts/types/ContractId.d.ts → commons/types/RegionNational.d.ts} +4 -3
- package/serialization/resources/commons/types/RegionNational.js +31 -0
- package/serialization/resources/commons/types/RegionStates.d.ts +12 -0
- package/serialization/resources/commons/types/RegionStates.js +33 -0
- package/serialization/resources/commons/types/Regions.d.ts +16 -0
- package/serialization/resources/commons/types/Regions.js +39 -0
- package/serialization/resources/commons/types/index.d.ts +3 -0
- package/serialization/resources/commons/types/index.js +3 -0
- package/serialization/resources/contracts/index.d.ts +1 -1
- package/serialization/resources/contracts/index.js +1 -1
- package/serialization/resources/contracts/resources/index.d.ts +1 -0
- package/serialization/resources/contracts/resources/index.js +27 -0
- package/serialization/resources/contracts/resources/v2/client/get.d.ts +14 -0
- package/serialization/resources/contracts/resources/v2/client/get.js +46 -0
- package/serialization/resources/contracts/resources/v2/client/index.d.ts +3 -0
- package/serialization/resources/contracts/resources/v2/client/index.js +32 -0
- package/serialization/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +14 -0
- package/serialization/resources/contracts/resources/v2/client/requests/ContractCreate.js +37 -0
- package/serialization/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +20 -0
- package/serialization/resources/contracts/resources/v2/client/requests/ContractUpdate.js +47 -0
- package/serialization/resources/contracts/resources/v2/client/requests/index.d.ts +2 -0
- package/serialization/resources/contracts/resources/v2/client/requests/index.js +7 -0
- package/serialization/resources/contracts/resources/v2/client/update.d.ts +14 -0
- package/serialization/resources/contracts/resources/v2/client/update.js +46 -0
- package/serialization/resources/contracts/resources/v2/index.d.ts +2 -0
- package/{api/resources/contracts/types → serialization/resources/contracts/resources/v2}/index.js +2 -1
- package/serialization/resources/contracts/resources/v2/types/AuthorizedSignatory.d.ts +17 -0
- package/serialization/resources/contracts/resources/v2/types/AuthorizedSignatory.js +38 -0
- package/serialization/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.d.ts +16 -0
- package/serialization/resources/contracts/resources/v2/types/AuthorizedSignatoryUpdate.js +39 -0
- package/serialization/resources/contracts/resources/v2/types/Contract.d.ts +15 -0
- package/serialization/resources/contracts/resources/v2/types/Contract.js +38 -0
- package/serialization/resources/contracts/resources/v2/types/ContractBase.d.ts +19 -0
- package/serialization/resources/contracts/resources/v2/types/ContractBase.js +42 -0
- package/serialization/resources/contracts/resources/v2/types/ContractId.d.ts +10 -0
- package/serialization/resources/contracts/{types → resources/v2/types}/ContractId.js +3 -3
- package/serialization/resources/contracts/resources/v2/types/ContractStatus.d.ts +10 -0
- package/serialization/resources/contracts/resources/v2/types/ContractStatus.js +31 -0
- package/serialization/resources/contracts/resources/v2/types/ContractWithProviders.d.ts +12 -0
- package/serialization/resources/contracts/resources/v2/types/ContractWithProviders.js +35 -0
- package/serialization/resources/contracts/resources/v2/types/ContractingProviderId.d.ts +10 -0
- package/serialization/resources/contracts/resources/v2/types/ContractingProviderId.js +35 -0
- package/serialization/resources/contracts/resources/v2/types/ContractsPage.d.ts +12 -0
- package/serialization/resources/contracts/resources/v2/types/ContractsPage.js +35 -0
- package/serialization/resources/contracts/resources/v2/types/DateUpdate.d.ts +17 -0
- package/serialization/resources/contracts/resources/v2/types/DateUpdate.js +41 -0
- package/serialization/resources/contracts/resources/v2/types/InsuranceTypes.d.ts +20 -0
- package/serialization/resources/contracts/resources/v2/types/InsuranceTypes.js +42 -0
- package/serialization/resources/contracts/resources/v2/types/RegionsUpdate.d.ts +17 -0
- package/serialization/resources/contracts/resources/v2/types/RegionsUpdate.js +41 -0
- package/serialization/resources/contracts/resources/v2/types/RenderingProviderid.d.ts +10 -0
- package/serialization/resources/contracts/resources/v2/types/RenderingProviderid.js +35 -0
- package/serialization/resources/contracts/resources/v2/types/index.d.ts +13 -0
- package/serialization/resources/contracts/resources/v2/types/index.js +29 -0
- package/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.d.ts +1 -1
- package/serialization/resources/expectedNetworkStatus/resources/v1/types/ExpectedNetworkStatusResponse.js +1 -1
- package/serialization/resources/index.d.ts +1 -2
- package/serialization/resources/index.js +2 -3
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +1 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +1 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -2
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -2
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +1 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +1 -1
- package/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +10 -0
- package/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.js +31 -0
- package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +15 -0
- package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +38 -0
- package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +24 -0
- package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.js +47 -0
- package/serialization/resources/organizationProviders/resources/v2/types/index.d.ts +3 -0
- package/serialization/resources/organizationProviders/resources/v2/types/index.js +3 -0
- package/api/resources/contracts/types/ContractId.d.ts +0 -8
- package/api/resources/contracts/types/index.d.ts +0 -1
- package/dist/api/resources/contracts/types/ContractId.d.ts +0 -8
- package/dist/api/resources/contracts/types/index.d.ts +0 -1
- package/dist/serialization/resources/contracts/types/index.d.ts +0 -1
- package/serialization/resources/contracts/types/index.d.ts +0 -1
- /package/api/resources/contracts/{types → resources/v2/types}/ContractId.js +0 -0
- /package/dist/api/resources/contracts/{types → resources/v2/types}/ContractId.js +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.contracts.v2.create.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.contracts.v2.create.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.contracts.v2.create.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.contracts.v2.create.Error, visitor: CandidApi.contracts.v2.create.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
_unknown: (fetcherError) => {
|
|
33
|
+
return {
|
|
34
|
+
errorName: undefined,
|
|
35
|
+
content: fetcherError,
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.contracts.v2.create.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_visit: (value, visitor) => {
|
|
42
|
+
switch (value.errorName) {
|
|
43
|
+
default:
|
|
44
|
+
return visitor._other(value);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.contracts.v2.delete.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.contracts.v2.delete.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.contracts.v2.delete.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.contracts.v2.delete.Error, visitor: CandidApi.contracts.v2.delete.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
_unknown: (fetcherError) => {
|
|
33
|
+
return {
|
|
34
|
+
errorName: undefined,
|
|
35
|
+
content: fetcherError,
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.contracts.v2.delete.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_visit: (value, visitor) => {
|
|
42
|
+
switch (value.errorName) {
|
|
43
|
+
default:
|
|
44
|
+
return visitor._other(value);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.contracts.v2.get.Error.EntityNotFoundError | CandidApi.contracts.v2.get.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface EntityNotFoundError extends _Utils {
|
|
9
|
+
errorName: "EntityNotFoundError";
|
|
10
|
+
content: CandidApi.EntityNotFoundErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface _Unknown extends _Utils {
|
|
13
|
+
errorName: void;
|
|
14
|
+
content: core.Fetcher.Error;
|
|
15
|
+
}
|
|
16
|
+
interface _Utils {
|
|
17
|
+
_visit: <_Result>(visitor: CandidApi.contracts.v2.get.Error._Visitor<_Result>) => _Result;
|
|
18
|
+
}
|
|
19
|
+
interface _Visitor<_Result> {
|
|
20
|
+
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
21
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export declare const Error: {
|
|
25
|
+
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.contracts.v2.get.Error.EntityNotFoundError;
|
|
26
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.contracts.v2.get.Error._Unknown;
|
|
27
|
+
readonly _visit: <_Result>(value: CandidApi.contracts.v2.get.Error, visitor: CandidApi.contracts.v2.get.Error._Visitor<_Result>) => _Result;
|
|
28
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
entityNotFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "EntityNotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.contracts.v2.get.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_unknown: (fetcherError) => {
|
|
42
|
+
return {
|
|
43
|
+
errorName: undefined,
|
|
44
|
+
content: fetcherError,
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.contracts.v2.get.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_visit: (value, visitor) => {
|
|
51
|
+
switch (value.errorName) {
|
|
52
|
+
case "EntityNotFoundError":
|
|
53
|
+
return visitor.entityNotFoundError(value.content);
|
|
54
|
+
default:
|
|
55
|
+
return visitor._other(value);
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.contracts.v2.getMulti.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.contracts.v2.getMulti.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.contracts.v2.getMulti.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.contracts.v2.getMulti.Error, visitor: CandidApi.contracts.v2.getMulti.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
_unknown: (fetcherError) => {
|
|
33
|
+
return {
|
|
34
|
+
errorName: undefined,
|
|
35
|
+
content: fetcherError,
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.contracts.v2.getMulti.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_visit: (value, visitor) => {
|
|
42
|
+
switch (value.errorName) {
|
|
43
|
+
default:
|
|
44
|
+
return visitor._other(value);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
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.update = exports.delete = exports.create = exports.getMulti = exports.get = void 0;
|
|
30
|
+
__exportStar(require("./requests"), exports);
|
|
31
|
+
exports.get = __importStar(require("./get"));
|
|
32
|
+
exports.getMulti = __importStar(require("./getMulti"));
|
|
33
|
+
exports.create = __importStar(require("./create"));
|
|
34
|
+
exports.delete = __importStar(require("./delete"));
|
|
35
|
+
exports.update = __importStar(require("./update"));
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../..";
|
|
5
|
+
export interface ContractCreate extends CandidApi.contracts.v2.ContractBase {
|
|
6
|
+
/** The UUID of the provider under agreement to the contract */
|
|
7
|
+
contractingProviderId: CandidApi.contracts.v2.ContractingProviderId;
|
|
8
|
+
/**
|
|
9
|
+
* A rendering provider isn't contracted directly with the payer but can render
|
|
10
|
+
* services under the contract held by the contracting provider.
|
|
11
|
+
* Max items is 100.
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
renderingProviderIds: Set<CandidApi.contracts.v2.RenderingProviderid>;
|
|
15
|
+
/** The UUID of the insurance company under agreement to the contract */
|
|
16
|
+
payerUuid: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../..";
|
|
5
|
+
export interface ContractUpdate {
|
|
6
|
+
/**
|
|
7
|
+
* A rendering provider isn't contracted directly with the payer but can render
|
|
8
|
+
* services under the contract held by the contracting provider.
|
|
9
|
+
* Max items is 100.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
renderingProviderIds?: Set<CandidApi.contracts.v2.RenderingProviderid>;
|
|
13
|
+
/** The starting day upon which the contract is effective */
|
|
14
|
+
effectiveDate?: CandidApi.Date_;
|
|
15
|
+
/** An optional end day upon which the contract expires */
|
|
16
|
+
expirationDate?: CandidApi.contracts.v2.DateUpdate;
|
|
17
|
+
/**
|
|
18
|
+
* If present, the contract's rendering providers will be patched to this exact
|
|
19
|
+
* value, overriding what was set before.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
regions?: CandidApi.contracts.v2.RegionsUpdate;
|
|
23
|
+
contractStatus?: CandidApi.contracts.v2.ContractStatus;
|
|
24
|
+
authorizedSignatory?: CandidApi.contracts.v2.AuthorizedSignatoryUpdate;
|
|
25
|
+
commercialInsuranceTypes?: CandidApi.contracts.v2.InsuranceTypes;
|
|
26
|
+
medicareInsuranceTypes?: CandidApi.contracts.v2.InsuranceTypes;
|
|
27
|
+
medicaidInsuranceTypes?: CandidApi.contracts.v2.InsuranceTypes;
|
|
28
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../..";
|
|
5
|
+
export interface GetMultiContractsRequest {
|
|
6
|
+
pageToken?: CandidApi.PageToken;
|
|
7
|
+
/**
|
|
8
|
+
* Max number of contracts returned. Defaults to 1000. Max is 1000.
|
|
9
|
+
*/
|
|
10
|
+
limit?: number;
|
|
11
|
+
contractingProviderId?: CandidApi.contracts.v2.ContractingProviderId;
|
|
12
|
+
renderingProviderIds?: CandidApi.contracts.v2.RenderingProviderid | CandidApi.contracts.v2.RenderingProviderid[];
|
|
13
|
+
/**
|
|
14
|
+
* Filter to contracts that include any of the included payer names.
|
|
15
|
+
*/
|
|
16
|
+
payerNames?: string | string[];
|
|
17
|
+
states?: CandidApi.State | CandidApi.State[];
|
|
18
|
+
/**
|
|
19
|
+
* The status of the contract. Defaults to `pending`
|
|
20
|
+
*/
|
|
21
|
+
contractStatus?: CandidApi.contracts.v2.ContractStatus;
|
|
22
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.contracts.v2.update.Error.UnprocessableEntityError | CandidApi.contracts.v2.update.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface UnprocessableEntityError extends _Utils {
|
|
9
|
+
errorName: "UnprocessableEntityError";
|
|
10
|
+
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface _Unknown extends _Utils {
|
|
13
|
+
errorName: void;
|
|
14
|
+
content: core.Fetcher.Error;
|
|
15
|
+
}
|
|
16
|
+
interface _Utils {
|
|
17
|
+
_visit: <_Result>(visitor: CandidApi.contracts.v2.update.Error._Visitor<_Result>) => _Result;
|
|
18
|
+
}
|
|
19
|
+
interface _Visitor<_Result> {
|
|
20
|
+
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
21
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export declare const Error: {
|
|
25
|
+
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.contracts.v2.update.Error.UnprocessableEntityError;
|
|
26
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.contracts.v2.update.Error._Unknown;
|
|
27
|
+
readonly _visit: <_Result>(value: CandidApi.contracts.v2.update.Error, visitor: CandidApi.contracts.v2.update.Error._Visitor<_Result>) => _Result;
|
|
28
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
unprocessableEntityError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "UnprocessableEntityError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.contracts.v2.update.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_unknown: (fetcherError) => {
|
|
42
|
+
return {
|
|
43
|
+
errorName: undefined,
|
|
44
|
+
content: fetcherError,
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.contracts.v2.update.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_visit: (value, visitor) => {
|
|
51
|
+
switch (value.errorName) {
|
|
52
|
+
case "UnprocessableEntityError":
|
|
53
|
+
return visitor.unprocessableEntityError(value.content);
|
|
54
|
+
default:
|
|
55
|
+
return visitor._other(value);
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
};
|
package/{dist/api/resources/contracts/types → api/resources/contracts/resources/v2}/index.js
RENAMED
|
@@ -14,4 +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("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export declare type AuthorizedSignatoryUpdate = CandidApi.contracts.v2.AuthorizedSignatoryUpdate.Set | CandidApi.contracts.v2.AuthorizedSignatoryUpdate.Remove;
|
|
6
|
+
export declare namespace AuthorizedSignatoryUpdate {
|
|
7
|
+
interface Set extends CandidApi.contracts.v2.AuthorizedSignatory {
|
|
8
|
+
type: "set";
|
|
9
|
+
}
|
|
10
|
+
interface Remove {
|
|
11
|
+
type: "remove";
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export interface Contract extends CandidApi.contracts.v2.ContractBase {
|
|
6
|
+
contractId: CandidApi.contracts.v2.ContractId;
|
|
7
|
+
/** The provider under contract */
|
|
8
|
+
contractingProvider: CandidApi.organizationProviders.v2.OrganizationProvider;
|
|
9
|
+
/** The number of linked providers who can render medical services under this contract */
|
|
10
|
+
providerCount: number;
|
|
11
|
+
/** The insurance company under contract */
|
|
12
|
+
payer?: CandidApi.payers.v3.Payer;
|
|
13
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export interface ContractBase {
|
|
6
|
+
/** The starting day upon which the contract is effective */
|
|
7
|
+
effectiveDate: CandidApi.Date_;
|
|
8
|
+
/** An optional end day upon which the contract expires */
|
|
9
|
+
expirationDate?: CandidApi.Date_;
|
|
10
|
+
/**
|
|
11
|
+
* The state(s) to which the contract's coverage extends.
|
|
12
|
+
* It may also be set to "national" for the entirety of the US.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
regions: CandidApi.Regions;
|
|
16
|
+
contractStatus?: CandidApi.contracts.v2.ContractStatus;
|
|
17
|
+
authorizedSignatory?: CandidApi.contracts.v2.AuthorizedSignatory;
|
|
18
|
+
/**
|
|
19
|
+
* The commercial plan insurance types this contract applies.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
commercialInsuranceTypes: CandidApi.contracts.v2.InsuranceTypes;
|
|
23
|
+
/**
|
|
24
|
+
* The Medicare plan insurance types this contract applies.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
medicareInsuranceTypes: CandidApi.contracts.v2.InsuranceTypes;
|
|
28
|
+
/**
|
|
29
|
+
* The Medicaid plan insurance types this contract applies.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
medicaidInsuranceTypes: CandidApi.contracts.v2.InsuranceTypes;
|
|
33
|
+
}
|