candidhealth 0.12.1 → 0.14.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/RegionStates.d.ts +7 -0
- package/api/resources/commons/types/Regions.d.ts +13 -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/ContractUpdate.d.ts +28 -0
- package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +22 -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/api/resources/contracts/resources/v2/index.js +18 -0
- 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/{dist/serialization/resources/contracts → api/resources/contracts/resources/v2}/types/index.js +12 -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/encounters/resources/v4/types/Encounter.d.ts +2 -2
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -2
- 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/financials/types/AccountType.d.ts +8 -0
- package/api/resources/financials/types/AccountType.js +10 -0
- package/api/resources/financials/types/AllocationAmountUpdate.d.ts +8 -0
- package/api/resources/financials/types/AllocationAmountUpdate.js +5 -0
- package/api/resources/financials/types/InvoiceUpdate.d.ts +14 -0
- package/api/resources/financials/types/InvoiceUpdate.js +5 -0
- package/api/resources/financials/types/NoteUpdate.d.ts +14 -0
- package/api/resources/financials/types/NoteUpdate.js +5 -0
- package/api/resources/financials/types/RefundReasonUpdate.d.ts +14 -0
- package/api/resources/financials/types/RefundReasonUpdate.js +5 -0
- package/api/resources/financials/types/index.d.ts +5 -0
- package/api/resources/financials/types/index.js +5 -0
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/index.d.ts +2 -4
- package/api/resources/index.js +3 -5
- package/api/resources/individual/types/Subscriber.d.ts +2 -2
- package/api/resources/individual/types/SubscriberCreate.d.ts +1 -1
- 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/insuranceCards/index.d.ts +1 -0
- package/api/resources/insuranceCards/index.js +17 -0
- package/api/resources/insuranceCards/resources/index.d.ts +1 -0
- package/api/resources/insuranceCards/resources/index.js +27 -0
- package/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCard.d.ts +4 -4
- package/api/resources/insuranceCards/resources/v2/types/InsuranceCard.js +5 -0
- package/{dist/api/resources/insuranceCard → api/resources/insuranceCards/resources/v2}/types/InsuranceCardBase.d.ts +1 -1
- package/api/resources/insuranceCards/resources/v2/types/InsuranceCardBase.js +5 -0
- package/{dist/api/resources/insuranceCard → api/resources/insuranceCards/resources/v2}/types/InsuranceCardCreate.d.ts +2 -2
- package/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreate.js +5 -0
- package/{dist/api/resources/insuranceCard → api/resources/insuranceCards/resources/v2}/types/InsuranceCardId.d.ts +3 -3
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +6 -0
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +41 -4
- package/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -0
- package/api/resources/insuranceRefunds/resources/v1/client/index.js +2 -1
- package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +12 -0
- package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +5 -0
- package/api/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/insuranceRefunds/resources/v1/client/update.d.ts +22 -0
- package/api/resources/insuranceRefunds/resources/v1/client/update.js +47 -0
- 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/LicenseType.d.ts +2 -1
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -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.d.ts +5 -0
- package/api/resources/patientPayments/resources/v4/client/Client.js +40 -4
- package/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
- package/api/resources/patientPayments/resources/v4/client/index.js +2 -1
- package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +11 -0
- package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +5 -0
- package/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
- package/api/resources/patientPayments/resources/v4/client/update.d.ts +22 -0
- package/api/resources/patientPayments/resources/v4/client/update.js +47 -0
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +5 -0
- package/api/resources/patientRefunds/resources/v1/client/Client.js +40 -4
- package/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
- package/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +12 -0
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +5 -0
- package/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/patientRefunds/resources/v1/client/update.d.ts +22 -0
- package/api/resources/patientRefunds/resources/v1/client/update.js +47 -0
- 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.d.ts +1 -2
- package/api/resources/writeOffs/resources/v1/client/Client.js +25 -7
- package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +7 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +13 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +12 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.d.ts +19 -0
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +12 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOff.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +11 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +8 -7
- package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +8 -6
- package/api/resources/writeOffs/resources/v1/types/index.d.ts +5 -0
- package/api/resources/writeOffs/resources/v1/types/index.js +5 -0
- 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/dist/api/resources/contracts/resources/v2/index.js +18 -0
- 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/{serialization/resources/contracts → dist/api/resources/contracts/resources/v2}/types/index.js +12 -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/encounters/resources/v4/types/Encounter.d.ts +2 -2
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -2
- 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/financials/types/AccountType.d.ts +8 -0
- package/dist/api/resources/financials/types/AccountType.js +10 -0
- package/dist/api/resources/financials/types/AllocationAmountUpdate.d.ts +8 -0
- package/dist/api/resources/financials/types/AllocationAmountUpdate.js +5 -0
- package/dist/api/resources/financials/types/InvoiceUpdate.d.ts +14 -0
- package/dist/api/resources/financials/types/InvoiceUpdate.js +5 -0
- package/dist/api/resources/financials/types/NoteUpdate.d.ts +14 -0
- package/dist/api/resources/financials/types/NoteUpdate.js +5 -0
- package/dist/api/resources/financials/types/RefundReasonUpdate.d.ts +14 -0
- package/dist/api/resources/financials/types/RefundReasonUpdate.js +5 -0
- package/dist/api/resources/financials/types/index.d.ts +5 -0
- package/dist/api/resources/financials/types/index.js +5 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/index.d.ts +2 -4
- package/dist/api/resources/index.js +3 -5
- package/dist/api/resources/individual/types/Subscriber.d.ts +2 -2
- package/dist/api/resources/individual/types/SubscriberCreate.d.ts +1 -1
- 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/insuranceCards/index.d.ts +1 -0
- package/dist/api/resources/insuranceCards/index.js +17 -0
- package/dist/api/resources/insuranceCards/resources/index.d.ts +1 -0
- package/dist/api/resources/insuranceCards/resources/index.js +27 -0
- package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCard.d.ts +4 -4
- package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCard.js +5 -0
- package/{api/resources/insuranceCard → dist/api/resources/insuranceCards/resources/v2}/types/InsuranceCardBase.d.ts +1 -1
- package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCardBase.js +5 -0
- package/{api/resources/insuranceCard → dist/api/resources/insuranceCards/resources/v2}/types/InsuranceCardCreate.d.ts +2 -2
- package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreate.js +5 -0
- package/{api/resources/insuranceCard → dist/api/resources/insuranceCards/resources/v2}/types/InsuranceCardId.d.ts +3 -3
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +6 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +41 -4
- package/dist/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/index.js +2 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +12 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +5 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/update.d.ts +22 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/update.js +47 -0
- 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/LicenseType.d.ts +2 -1
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -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.d.ts +5 -0
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +40 -4
- package/dist/api/resources/patientPayments/resources/v4/client/index.d.ts +1 -0
- package/dist/api/resources/patientPayments/resources/v4/client/index.js +2 -1
- package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +11 -0
- package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +5 -0
- package/dist/api/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
- package/dist/api/resources/patientPayments/resources/v4/client/update.d.ts +22 -0
- package/dist/api/resources/patientPayments/resources/v4/client/update.js +47 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +5 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +40 -4
- package/dist/api/resources/patientRefunds/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/index.js +2 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +12 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +5 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/update.d.ts +22 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/update.js +47 -0
- 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.d.ts +1 -2
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +25 -7
- package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +7 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +13 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +12 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.d.ts +19 -0
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +12 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOff.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +11 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +8 -7
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +8 -6
- package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/index.js +5 -0
- package/{serialization/resources/insuranceCard/types/InsuranceCardId.d.ts → dist/serialization/resources/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/resources/v2/index.js +18 -0
- 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/{api/resources/contracts → serialization/resources/contracts/resources/v2}/types/index.js +12 -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/{contracts/types/ContractId.d.ts → financials/types/AccountType.d.ts} +3 -3
- package/dist/serialization/resources/financials/types/AccountType.js +31 -0
- package/dist/serialization/resources/financials/types/AllocationAmountUpdate.d.ts +13 -0
- package/dist/serialization/resources/financials/types/AllocationAmountUpdate.js +34 -0
- package/dist/serialization/resources/financials/types/InvoiceUpdate.d.ts +17 -0
- package/dist/serialization/resources/financials/types/InvoiceUpdate.js +41 -0
- package/dist/serialization/resources/financials/types/NoteUpdate.d.ts +17 -0
- package/dist/serialization/resources/financials/types/NoteUpdate.js +41 -0
- package/dist/serialization/resources/financials/types/RefundReasonUpdate.d.ts +17 -0
- package/dist/serialization/resources/financials/types/RefundReasonUpdate.js +41 -0
- package/dist/serialization/resources/financials/types/index.d.ts +5 -0
- package/dist/serialization/resources/financials/types/index.js +5 -0
- package/dist/serialization/resources/index.d.ts +2 -4
- package/dist/serialization/resources/index.js +3 -5
- package/dist/serialization/resources/individual/types/Subscriber.d.ts +1 -1
- package/dist/serialization/resources/individual/types/Subscriber.js +1 -1
- package/dist/serialization/resources/individual/types/SubscriberCreate.d.ts +1 -1
- package/dist/serialization/resources/individual/types/SubscriberCreate.js +1 -1
- 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/insuranceCards/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceCards/index.js +17 -0
- package/dist/serialization/resources/insuranceCards/resources/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceCards/resources/index.js +27 -0
- package/{serialization/resources/insuranceCard → dist/serialization/resources/insuranceCards/resources/v2}/types/InsuranceCard.d.ts +6 -6
- package/{serialization/resources/insuranceCard → dist/serialization/resources/insuranceCards/resources/v2}/types/InsuranceCard.js +3 -3
- package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardBase.d.ts +4 -4
- package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardBase.js +3 -3
- package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardCreate.d.ts +5 -5
- package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardCreate.js +3 -3
- package/dist/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardId.d.ts +10 -0
- package/{serialization/resources/insuranceCard → dist/serialization/resources/insuranceCards/resources/v2}/types/InsuranceCardId.js +3 -3
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/index.js +17 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +17 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +40 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/index.js +5 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/index.js +1 -0
- 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/LicenseType.d.ts +1 -1
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -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/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +16 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +39 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/requests/index.js +3 -1
- package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +17 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +40 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/index.js +3 -1
- package/dist/serialization/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.js +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +18 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +39 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +17 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +38 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.d.ts +22 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.js +46 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +17 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +38 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +16 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +37 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +7 -8
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +8 -7
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +7 -7
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +8 -6
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +5 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +5 -0
- package/package.json +1 -1
- package/{dist/serialization/resources/insuranceCard/types/InsuranceCardId.d.ts → serialization/resources/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/serialization/resources/contracts/resources/v2/index.js +18 -0
- 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/{api/resources/contracts → serialization/resources/contracts/resources/v2}/types/index.js +12 -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/{contracts/types/ContractId.d.ts → financials/types/AccountType.d.ts} +3 -3
- package/serialization/resources/financials/types/AccountType.js +31 -0
- package/serialization/resources/financials/types/AllocationAmountUpdate.d.ts +13 -0
- package/serialization/resources/financials/types/AllocationAmountUpdate.js +34 -0
- package/serialization/resources/financials/types/InvoiceUpdate.d.ts +17 -0
- package/serialization/resources/financials/types/InvoiceUpdate.js +41 -0
- package/serialization/resources/financials/types/NoteUpdate.d.ts +17 -0
- package/serialization/resources/financials/types/NoteUpdate.js +41 -0
- package/serialization/resources/financials/types/RefundReasonUpdate.d.ts +17 -0
- package/serialization/resources/financials/types/RefundReasonUpdate.js +41 -0
- package/serialization/resources/financials/types/index.d.ts +5 -0
- package/serialization/resources/financials/types/index.js +5 -0
- package/serialization/resources/index.d.ts +2 -4
- package/serialization/resources/index.js +3 -5
- package/serialization/resources/individual/types/Subscriber.d.ts +1 -1
- package/serialization/resources/individual/types/Subscriber.js +1 -1
- package/serialization/resources/individual/types/SubscriberCreate.d.ts +1 -1
- package/serialization/resources/individual/types/SubscriberCreate.js +1 -1
- 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/insuranceCards/index.d.ts +1 -0
- package/serialization/resources/insuranceCards/index.js +17 -0
- package/serialization/resources/insuranceCards/resources/index.d.ts +1 -0
- package/serialization/resources/insuranceCards/resources/index.js +27 -0
- package/{dist/serialization/resources/insuranceCard → serialization/resources/insuranceCards/resources/v2}/types/InsuranceCard.d.ts +6 -6
- package/{dist/serialization/resources/insuranceCard → serialization/resources/insuranceCards/resources/v2}/types/InsuranceCard.js +3 -3
- package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardBase.d.ts +4 -4
- package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardBase.js +3 -3
- package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardCreate.d.ts +5 -5
- package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardCreate.js +3 -3
- package/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardId.d.ts +10 -0
- package/{dist/serialization/resources/insuranceCard → serialization/resources/insuranceCards/resources/v2}/types/InsuranceCardId.js +3 -3
- package/serialization/resources/insuranceRefunds/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/index.js +17 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +17 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +40 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/requests/index.js +5 -0
- package/serialization/resources/insuranceRefunds/resources/v1/index.d.ts +1 -0
- package/serialization/resources/insuranceRefunds/resources/v1/index.js +1 -0
- 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/LicenseType.d.ts +1 -1
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +1 -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/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +16 -0
- package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +39 -0
- package/serialization/resources/patientPayments/resources/v4/client/requests/index.d.ts +1 -0
- package/serialization/resources/patientPayments/resources/v4/client/requests/index.js +3 -1
- package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +17 -0
- package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +40 -0
- package/serialization/resources/patientRefunds/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/patientRefunds/resources/v1/client/requests/index.js +3 -1
- package/serialization/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.js +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +18 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +39 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +17 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +38 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.d.ts +22 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffTarget.js +46 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +17 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +38 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +16 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +37 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +7 -8
- package/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +8 -7
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +7 -7
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +8 -6
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffsPage.js +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +5 -0
- package/serialization/resources/writeOffs/resources/v1/types/index.js +5 -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/{insuranceCard/types/InsuranceCard.js → commons/types/RegionNational.js} +0 -0
- /package/api/resources/{insuranceCard/types/InsuranceCardBase.js → commons/types/RegionStates.js} +0 -0
- /package/api/resources/{insuranceCard/types/InsuranceCardCreate.js → commons/types/Regions.js} +0 -0
- /package/{dist/api/resources/insuranceCard/types/InsuranceCard.js → api/resources/contracts/resources/v2/client/requests/ContractCreate.js} +0 -0
- /package/{dist/api/resources/insuranceCard/types/InsuranceCardBase.js → api/resources/contracts/resources/v2/client/requests/ContractUpdate.js} +0 -0
- /package/{dist/api/resources/insuranceCard/types/InsuranceCardCreate.js → api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.js} +0 -0
- /package/api/resources/contracts/{types → resources/v2/types}/ContractId.js +0 -0
- /package/api/resources/{insuranceCard → insuranceCards/resources/v2}/index.d.ts +0 -0
- /package/api/resources/{insuranceCard → insuranceCards/resources/v2}/index.js +0 -0
- /package/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardId.js +0 -0
- /package/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.d.ts +0 -0
- /package/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.js +0 -0
- /package/dist/api/resources/contracts/{types → resources/v2/types}/ContractId.js +0 -0
- /package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/index.d.ts +0 -0
- /package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/index.js +0 -0
- /package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/InsuranceCardId.js +0 -0
- /package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.d.ts +0 -0
- /package/dist/api/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.js +0 -0
- /package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/index.d.ts +0 -0
- /package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/index.js +0 -0
- /package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.d.ts +0 -0
- /package/dist/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.js +0 -0
- /package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/index.d.ts +0 -0
- /package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/index.js +0 -0
- /package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.d.ts +0 -0
- /package/serialization/resources/{insuranceCard → insuranceCards/resources/v2}/types/index.js +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ContractWithProviders = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.ContractWithProviders = core.serialization
|
|
32
|
+
.object({
|
|
33
|
+
renderingProviderIds: core.serialization.property("rendering_provider_ids", core.serialization.set(core.serialization.string())),
|
|
34
|
+
})
|
|
35
|
+
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).contracts.v2.Contract));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const ContractingProviderId: core.serialization.Schema<serializers.contracts.v2.ContractingProviderId.Raw, CandidApi.contracts.v2.ContractingProviderId>;
|
|
8
|
+
export declare namespace ContractingProviderId {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ContractingProviderId = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.ContractingProviderId = core.serialization.string().transform({
|
|
33
|
+
transform: CandidApi.contracts.v2.ContractingProviderId,
|
|
34
|
+
untransform: (value) => value,
|
|
35
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const ContractsPage: core.serialization.ObjectSchema<serializers.contracts.v2.ContractsPage.Raw, CandidApi.contracts.v2.ContractsPage>;
|
|
8
|
+
export declare namespace ContractsPage {
|
|
9
|
+
interface Raw extends serializers.ResourcePage.Raw {
|
|
10
|
+
items: serializers.contracts.v2.Contract.Raw[];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ContractsPage = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.ContractsPage = core.serialization
|
|
32
|
+
.object({
|
|
33
|
+
items: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).contracts.v2.Contract)),
|
|
34
|
+
})
|
|
35
|
+
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ResourcePage));
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const DateUpdate: core.serialization.Schema<serializers.contracts.v2.DateUpdate.Raw, CandidApi.contracts.v2.DateUpdate>;
|
|
8
|
+
export declare namespace DateUpdate {
|
|
9
|
+
type Raw = DateUpdate.Set | DateUpdate.Remove;
|
|
10
|
+
interface Set {
|
|
11
|
+
type: "set";
|
|
12
|
+
value: serializers.Date_.Raw;
|
|
13
|
+
}
|
|
14
|
+
interface Remove {
|
|
15
|
+
type: "remove";
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.DateUpdate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.DateUpdate = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
set: core.serialization.object({
|
|
34
|
+
value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_),
|
|
35
|
+
}),
|
|
36
|
+
remove: core.serialization.object({}),
|
|
37
|
+
})
|
|
38
|
+
.transform({
|
|
39
|
+
transform: (value) => value,
|
|
40
|
+
untransform: (value) => value,
|
|
41
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const InsuranceTypes: core.serialization.Schema<serializers.contracts.v2.InsuranceTypes.Raw, CandidApi.contracts.v2.InsuranceTypes>;
|
|
8
|
+
export declare namespace InsuranceTypes {
|
|
9
|
+
type Raw = InsuranceTypes.AllApply | InsuranceTypes.NoneApply | InsuranceTypes.TheseApply;
|
|
10
|
+
interface AllApply {
|
|
11
|
+
type: "allApply";
|
|
12
|
+
}
|
|
13
|
+
interface NoneApply {
|
|
14
|
+
type: "noneApply";
|
|
15
|
+
}
|
|
16
|
+
interface TheseApply {
|
|
17
|
+
type: "theseApply";
|
|
18
|
+
value: serializers.InsuranceTypeCode.Raw[];
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.InsuranceTypes = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.InsuranceTypes = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
allApply: core.serialization.object({}),
|
|
34
|
+
noneApply: core.serialization.object({}),
|
|
35
|
+
theseApply: core.serialization.object({
|
|
36
|
+
value: core.serialization.list(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).InsuranceTypeCode)),
|
|
37
|
+
}),
|
|
38
|
+
})
|
|
39
|
+
.transform({
|
|
40
|
+
transform: (value) => value,
|
|
41
|
+
untransform: (value) => value,
|
|
42
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const RegionsUpdate: core.serialization.Schema<serializers.contracts.v2.RegionsUpdate.Raw, CandidApi.contracts.v2.RegionsUpdate>;
|
|
8
|
+
export declare namespace RegionsUpdate {
|
|
9
|
+
type Raw = RegionsUpdate.Set | RegionsUpdate.Remove;
|
|
10
|
+
interface Set {
|
|
11
|
+
type: "set";
|
|
12
|
+
value: serializers.Regions.Raw;
|
|
13
|
+
}
|
|
14
|
+
interface Remove {
|
|
15
|
+
type: "remove";
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.RegionsUpdate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.RegionsUpdate = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
set: core.serialization.object({
|
|
34
|
+
value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Regions),
|
|
35
|
+
}),
|
|
36
|
+
remove: core.serialization.object({}),
|
|
37
|
+
})
|
|
38
|
+
.transform({
|
|
39
|
+
transform: (value) => value,
|
|
40
|
+
untransform: (value) => value,
|
|
41
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const RenderingProviderid: core.serialization.Schema<serializers.contracts.v2.RenderingProviderid.Raw, CandidApi.contracts.v2.RenderingProviderid>;
|
|
8
|
+
export declare namespace RenderingProviderid {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.RenderingProviderid = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.RenderingProviderid = core.serialization.string().transform({
|
|
33
|
+
transform: CandidApi.contracts.v2.RenderingProviderid,
|
|
34
|
+
untransform: (value) => value,
|
|
35
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./ContractId";
|
|
2
|
+
export * from "./ContractingProviderId";
|
|
3
|
+
export * from "./RenderingProviderid";
|
|
4
|
+
export * from "./RegionsUpdate";
|
|
5
|
+
export * from "./DateUpdate";
|
|
6
|
+
export * from "./AuthorizedSignatoryUpdate";
|
|
7
|
+
export * from "./InsuranceTypes";
|
|
8
|
+
export * from "./ContractBase";
|
|
9
|
+
export * from "./Contract";
|
|
10
|
+
export * from "./ContractWithProviders";
|
|
11
|
+
export * from "./ContractsPage";
|
|
12
|
+
export * from "./ContractStatus";
|
|
13
|
+
export * from "./AuthorizedSignatory";
|
|
@@ -15,3 +15,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ContractId"), exports);
|
|
18
|
+
__exportStar(require("./ContractingProviderId"), exports);
|
|
19
|
+
__exportStar(require("./RenderingProviderid"), exports);
|
|
20
|
+
__exportStar(require("./RegionsUpdate"), exports);
|
|
21
|
+
__exportStar(require("./DateUpdate"), exports);
|
|
22
|
+
__exportStar(require("./AuthorizedSignatoryUpdate"), exports);
|
|
23
|
+
__exportStar(require("./InsuranceTypes"), exports);
|
|
24
|
+
__exportStar(require("./ContractBase"), exports);
|
|
25
|
+
__exportStar(require("./Contract"), exports);
|
|
26
|
+
__exportStar(require("./ContractWithProviders"), exports);
|
|
27
|
+
__exportStar(require("./ContractsPage"), exports);
|
|
28
|
+
__exportStar(require("./ContractStatus"), exports);
|
|
29
|
+
__exportStar(require("./AuthorizedSignatory"), exports);
|
|
@@ -9,6 +9,6 @@ export declare namespace ExpectedNetworkStatusResponse {
|
|
|
9
9
|
interface Raw {
|
|
10
10
|
expected_network_status: serializers.expectedNetworkStatus.v1.ExpectedNetworkStatus.Raw;
|
|
11
11
|
explanation: string;
|
|
12
|
-
contract_id?: serializers.ContractId.Raw | null;
|
|
12
|
+
contract_id?: serializers.contracts.v2.ContractId.Raw | null;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -31,5 +31,5 @@ const core = __importStar(require("../../../../../../core"));
|
|
|
31
31
|
exports.ExpectedNetworkStatusResponse = core.serialization.object({
|
|
32
32
|
expectedNetworkStatus: core.serialization.property("expected_network_status", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).expectedNetworkStatus.v1.ExpectedNetworkStatus)),
|
|
33
33
|
explanation: core.serialization.string(),
|
|
34
|
-
contractId: core.serialization.property("contract_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ContractId).optional()),
|
|
34
|
+
contractId: core.serialization.property("contract_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).contracts.v2.ContractId).optional()),
|
|
35
35
|
});
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../../..";
|
|
5
5
|
import * as CandidApi from "../../../../api";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
9
|
-
type Raw =
|
|
7
|
+
export declare const AccountType: core.serialization.Schema<serializers.AccountType.Raw, CandidApi.AccountType>;
|
|
8
|
+
export declare namespace AccountType {
|
|
9
|
+
type Raw = "PATIENT" | "INSURANCE";
|
|
10
10
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.AccountType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.AccountType = core.serialization.enum_(["PATIENT", "INSURANCE"]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as CandidApi from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const AllocationAmountUpdate: core.serialization.ObjectSchema<serializers.AllocationAmountUpdate.Raw, CandidApi.AllocationAmountUpdate>;
|
|
8
|
+
export declare namespace AllocationAmountUpdate {
|
|
9
|
+
interface Raw {
|
|
10
|
+
amount_cents?: number | null;
|
|
11
|
+
allocations: serializers.AllocationCreate.Raw[];
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.AllocationAmountUpdate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.AllocationAmountUpdate = core.serialization.object({
|
|
32
|
+
amountCents: core.serialization.property("amount_cents", core.serialization.number().optional()),
|
|
33
|
+
allocations: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).AllocationCreate)),
|
|
34
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as CandidApi from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const InvoiceUpdate: core.serialization.Schema<serializers.InvoiceUpdate.Raw, CandidApi.InvoiceUpdate>;
|
|
8
|
+
export declare namespace InvoiceUpdate {
|
|
9
|
+
type Raw = InvoiceUpdate.Set | InvoiceUpdate.Remove;
|
|
10
|
+
interface Set {
|
|
11
|
+
type: "set";
|
|
12
|
+
value: serializers.InvoiceId.Raw;
|
|
13
|
+
}
|
|
14
|
+
interface Remove {
|
|
15
|
+
type: "remove";
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.InvoiceUpdate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.InvoiceUpdate = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
set: core.serialization.object({
|
|
34
|
+
value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).InvoiceId),
|
|
35
|
+
}),
|
|
36
|
+
remove: core.serialization.object({}),
|
|
37
|
+
})
|
|
38
|
+
.transform({
|
|
39
|
+
transform: (value) => value,
|
|
40
|
+
untransform: (value) => value,
|
|
41
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as CandidApi from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const NoteUpdate: core.serialization.Schema<serializers.NoteUpdate.Raw, CandidApi.NoteUpdate>;
|
|
8
|
+
export declare namespace NoteUpdate {
|
|
9
|
+
type Raw = NoteUpdate.Set | NoteUpdate.Remove;
|
|
10
|
+
interface Set {
|
|
11
|
+
type: "set";
|
|
12
|
+
value: string;
|
|
13
|
+
}
|
|
14
|
+
interface Remove {
|
|
15
|
+
type: "remove";
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.NoteUpdate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.NoteUpdate = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
set: core.serialization.object({
|
|
34
|
+
value: core.serialization.string(),
|
|
35
|
+
}),
|
|
36
|
+
remove: core.serialization.object({}),
|
|
37
|
+
})
|
|
38
|
+
.transform({
|
|
39
|
+
transform: (value) => value,
|
|
40
|
+
untransform: (value) => value,
|
|
41
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as CandidApi from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const RefundReasonUpdate: core.serialization.Schema<serializers.RefundReasonUpdate.Raw, CandidApi.RefundReasonUpdate>;
|
|
8
|
+
export declare namespace RefundReasonUpdate {
|
|
9
|
+
type Raw = RefundReasonUpdate.Set | RefundReasonUpdate.Remove;
|
|
10
|
+
interface Set {
|
|
11
|
+
type: "set";
|
|
12
|
+
value: serializers.RefundReason.Raw;
|
|
13
|
+
}
|
|
14
|
+
interface Remove {
|
|
15
|
+
type: "remove";
|
|
16
|
+
}
|
|
17
|
+
}
|