candidhealth 0.4.9 → 0.5.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 +6 -0
- package/Client.js +18 -8
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/client/Client.js +1 -1
- package/api/resources/commons/types/ErrorMessage.d.ts +8 -0
- package/api/resources/{encounters/resources/v4/types/AttachmentId.js → commons/types/ErrorMessage.js} +3 -3
- package/api/resources/commons/types/RemovableDateRangeOptionalEnd.d.ts +13 -0
- package/api/resources/commons/types/index.d.ts +2 -4
- package/api/resources/commons/types/index.js +2 -4
- package/api/resources/contracts/types/index.d.ts +0 -4
- package/api/resources/contracts/types/index.js +0 -4
- package/api/resources/encounters/resources/v4/client/Client.d.ts +0 -7
- package/api/resources/encounters/resources/v4/client/Client.js +4 -123
- package/api/resources/encounters/resources/v4/client/index.d.ts +0 -4
- package/api/resources/encounters/resources/v4/client/index.js +1 -5
- package/api/resources/encounters/resources/v4/types/index.d.ts +0 -13
- package/api/resources/encounters/resources/v4/types/index.js +0 -13
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/exports/client/Client.d.ts +18 -0
- package/api/resources/exports/client/Client.js +18 -0
- package/api/resources/exports/client/index.d.ts +1 -0
- package/api/resources/exports/client/index.js +2 -0
- package/api/resources/exports/index.d.ts +2 -0
- package/api/resources/exports/index.js +18 -0
- package/api/resources/exports/resources/index.d.ts +1 -0
- package/{serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.js → api/resources/exports/resources/index.js} +2 -6
- package/api/resources/exports/resources/v3/client/Client.d.ts +18 -0
- package/api/resources/exports/resources/v3/client/Client.js +104 -0
- package/api/resources/exports/resources/v3/client/getExports.d.ts +53 -0
- package/api/resources/exports/resources/v3/client/getExports.js +102 -0
- package/api/resources/exports/resources/v3/client/index.d.ts +2 -0
- package/{dist/serialization/resources/encounters/resources/v4/types/ContractingOutOfOfNetworkReason.js → api/resources/exports/resources/v3/client/index.js} +6 -6
- package/api/resources/exports/resources/v3/client/requests/GetExportsRequest.d.ts +17 -0
- package/api/resources/exports/resources/v3/client/requests/index.d.ts +1 -0
- package/api/resources/exports/resources/v3/client/requests/index.js +2 -0
- package/api/resources/exports/resources/v3/index.d.ts +2 -0
- package/api/resources/exports/resources/v3/index.js +18 -0
- package/api/resources/exports/resources/v3/types/GetExportsResponse.d.ts +12 -0
- package/api/resources/exports/resources/v3/types/index.d.ts +1 -0
- package/api/resources/exports/resources/v3/types/index.js +17 -0
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/{credentialing/types/RequiredCredentialingDates.d.ts → identifiers/types/Identifier.d.ts} +2 -3
- package/api/resources/identifiers/types/IdentifierBase.d.ts +9 -0
- package/api/resources/identifiers/types/IdentifierCode.d.ts +8 -0
- package/api/resources/identifiers/types/IdentifierCode.js +10 -0
- package/{dist/api/resources/commons/types/RegionStates.d.ts → api/resources/identifiers/types/IdentifierCreate.d.ts} +1 -2
- package/api/resources/identifiers/types/IdentifierId.d.ts +8 -0
- package/{dist/api/resources/encounters/resources/v4/types/AttachmentId.js → api/resources/identifiers/types/IdentifierId.js} +3 -3
- package/api/resources/identifiers/types/IdentifierUpdate.d.ts +10 -0
- package/api/resources/identifiers/types/IdentifierValue.d.ts +13 -0
- package/{dist/api/resources/credentialing/types/RequiredCredentialingDates.d.ts → api/resources/identifiers/types/MedicaidProviderIdentifier.d.ts} +3 -3
- package/api/resources/identifiers/types/MedicareProviderIdentifier.d.ts +8 -0
- package/api/resources/identifiers/types/UpdatableIdentifier.d.ts +17 -0
- package/api/resources/identifiers/types/index.d.ts +10 -0
- package/api/resources/identifiers/types/index.js +26 -0
- package/api/resources/index.d.ts +3 -2
- package/api/resources/index.js +4 -3
- package/api/resources/organizationProviders/client/Client.d.ts +18 -0
- package/api/resources/organizationProviders/client/Client.js +18 -0
- package/api/resources/organizationProviders/client/index.d.ts +1 -0
- package/api/resources/organizationProviders/client/index.js +2 -0
- package/api/resources/organizationProviders/index.d.ts +1 -0
- package/api/resources/organizationProviders/index.js +1 -0
- package/api/resources/organizationProviders/resources/index.d.ts +1 -0
- package/api/resources/organizationProviders/resources/index.js +2 -1
- package/api/resources/organizationProviders/resources/v2/types/OrganizationProviderSortOptions.d.ts +10 -0
- package/api/resources/organizationProviders/resources/v2/types/OrganizationProviderSortOptions.js +12 -0
- package/api/resources/organizationProviders/resources/v2/types/index.d.ts +1 -3
- package/api/resources/organizationProviders/resources/v2/types/index.js +1 -3
- package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +21 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.js +241 -0
- package/api/resources/organizationProviders/resources/v3/client/create.d.ts +28 -0
- package/{dist/api/resources/encounters/resources/v4/client/markAsNotBillable.js → api/resources/organizationProviders/resources/v3/client/create.js} +12 -1
- package/api/resources/organizationProviders/resources/v3/client/get.d.ts +28 -0
- package/api/resources/{encounters/resources/v4/client/recomputeNetworkStatusResults.js → organizationProviders/resources/v3/client/get.js} +12 -1
- package/api/resources/{encounters/resources/v4/client/markAsNotBillable.d.ts → organizationProviders/resources/v3/client/getMulti.d.ts} +4 -4
- package/api/resources/{encounters/resources/v4/client/getAttachments.js → organizationProviders/resources/v3/client/getMulti.js} +1 -1
- package/api/resources/organizationProviders/resources/v3/client/index.d.ts +5 -0
- package/api/resources/organizationProviders/resources/v3/client/index.js +34 -0
- package/api/resources/organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.d.ts +34 -0
- package/api/resources/organizationProviders/resources/v3/client/requests/index.d.ts +1 -0
- package/api/resources/organizationProviders/resources/v3/client/requests/index.js +2 -0
- package/api/resources/organizationProviders/resources/v3/client/update.d.ts +34 -0
- package/api/resources/organizationProviders/resources/v3/client/update.js +69 -0
- package/api/resources/organizationProviders/resources/v3/index.d.ts +2 -0
- package/api/resources/organizationProviders/resources/v3/index.js +18 -0
- package/api/resources/organizationProviders/resources/{v2/types/OrganizationProviderBase.d.ts → v3/types/OrganizationProviderCreateV2.d.ts} +7 -5
- package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderPageV2.d.ts +7 -0
- package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.d.ts +40 -0
- package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.d.ts +42 -0
- package/api/resources/organizationProviders/resources/v3/types/index.d.ts +4 -0
- package/api/resources/organizationProviders/resources/v3/types/index.js +20 -0
- package/api/resources/payers/client/Client.js +2 -2
- package/api/resources/tasks/resources/v3/client/Client.js +1 -1
- package/dist/Client.d.ts +6 -0
- package/dist/Client.js +18 -8
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/client/Client.js +1 -1
- package/dist/api/resources/commons/types/ErrorMessage.d.ts +8 -0
- package/{api/resources/commons/types/ContentDownloadUrl.js → dist/api/resources/commons/types/ErrorMessage.js} +3 -3
- package/dist/api/resources/commons/types/RemovableDateRangeOptionalEnd.d.ts +13 -0
- package/dist/api/resources/commons/types/index.d.ts +2 -4
- package/dist/api/resources/commons/types/index.js +2 -4
- package/dist/api/resources/contracts/types/index.d.ts +0 -4
- package/dist/api/resources/contracts/types/index.js +0 -4
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +0 -7
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -123
- package/dist/api/resources/encounters/resources/v4/client/index.d.ts +0 -4
- package/dist/api/resources/encounters/resources/v4/client/index.js +1 -5
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +0 -13
- package/dist/api/resources/encounters/resources/v4/types/index.js +0 -13
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/exports/client/Client.d.ts +18 -0
- package/dist/api/resources/exports/client/Client.js +18 -0
- package/dist/api/resources/exports/client/index.d.ts +1 -0
- package/dist/api/resources/exports/client/index.js +2 -0
- package/dist/api/resources/exports/index.d.ts +2 -0
- package/dist/api/resources/exports/index.js +18 -0
- package/dist/api/resources/exports/resources/index.d.ts +1 -0
- package/dist/api/resources/exports/resources/index.js +27 -0
- package/dist/api/resources/exports/resources/v3/client/Client.d.ts +18 -0
- package/dist/api/resources/exports/resources/v3/client/Client.js +104 -0
- package/dist/api/resources/exports/resources/v3/client/getExports.d.ts +53 -0
- package/dist/api/resources/exports/resources/v3/client/getExports.js +102 -0
- package/dist/api/resources/exports/resources/v3/client/index.d.ts +2 -0
- package/dist/{serialization/resources/contracts/types/ContractStatus.js → api/resources/exports/resources/v3/client/index.js} +6 -6
- package/dist/api/resources/exports/resources/v3/client/requests/GetExportsRequest.d.ts +17 -0
- package/dist/api/resources/exports/resources/v3/client/requests/index.d.ts +1 -0
- package/dist/api/resources/exports/resources/v3/client/requests/index.js +2 -0
- package/dist/api/resources/exports/resources/v3/index.d.ts +2 -0
- package/dist/api/resources/exports/resources/v3/index.js +18 -0
- package/dist/api/resources/exports/resources/v3/types/GetExportsResponse.d.ts +12 -0
- package/dist/api/resources/exports/resources/v3/types/index.d.ts +1 -0
- package/dist/api/resources/exports/resources/v3/types/index.js +17 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/identifiers/types/Identifier.d.ts +7 -0
- package/dist/api/resources/identifiers/types/IdentifierBase.d.ts +9 -0
- package/dist/api/resources/identifiers/types/IdentifierCode.d.ts +8 -0
- package/dist/api/resources/identifiers/types/IdentifierCode.js +10 -0
- package/{api/resources/commons/types/RegionStates.d.ts → dist/api/resources/identifiers/types/IdentifierCreate.d.ts} +1 -2
- package/dist/api/resources/identifiers/types/IdentifierId.d.ts +8 -0
- package/dist/api/resources/{commons/types/ContentDownloadUrl.js → identifiers/types/IdentifierId.js} +3 -3
- package/dist/api/resources/identifiers/types/IdentifierUpdate.d.ts +10 -0
- package/dist/api/resources/identifiers/types/IdentifierValue.d.ts +13 -0
- package/dist/api/resources/identifiers/types/MedicaidProviderIdentifier.d.ts +8 -0
- package/dist/api/resources/identifiers/types/MedicareProviderIdentifier.d.ts +8 -0
- package/dist/api/resources/identifiers/types/UpdatableIdentifier.d.ts +17 -0
- package/dist/api/resources/identifiers/types/index.d.ts +10 -0
- package/dist/api/resources/identifiers/types/index.js +26 -0
- package/dist/api/resources/index.d.ts +3 -2
- package/dist/api/resources/index.js +4 -3
- package/dist/api/resources/organizationProviders/client/Client.d.ts +18 -0
- package/dist/api/resources/organizationProviders/client/Client.js +18 -0
- package/dist/api/resources/organizationProviders/client/index.d.ts +1 -0
- package/dist/api/resources/organizationProviders/client/index.js +2 -0
- package/dist/api/resources/organizationProviders/index.d.ts +1 -0
- package/dist/api/resources/organizationProviders/index.js +1 -0
- package/dist/api/resources/organizationProviders/resources/index.d.ts +1 -0
- package/dist/api/resources/organizationProviders/resources/index.js +2 -1
- package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProviderSortOptions.d.ts +10 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProviderSortOptions.js +12 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/index.d.ts +1 -3
- package/dist/api/resources/organizationProviders/resources/v2/types/index.js +1 -3
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +21 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +241 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/create.d.ts +28 -0
- package/{api/resources/encounters/resources/v4/client/markAsNotBillable.js → dist/api/resources/organizationProviders/resources/v3/client/create.js} +12 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/get.d.ts +28 -0
- package/{api/resources/encounters/resources/v4/client/generateClinicalNotesPdf.js → dist/api/resources/organizationProviders/resources/v3/client/get.js} +12 -1
- package/dist/api/resources/{encounters/resources/v4/client/getAttachments.d.ts → organizationProviders/resources/v3/client/getMulti.d.ts} +4 -4
- package/dist/api/resources/{encounters/resources/v4/client/getAttachments.js → organizationProviders/resources/v3/client/getMulti.js} +1 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/index.d.ts +5 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/index.js +34 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.d.ts +34 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/requests/index.d.ts +1 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/requests/index.js +2 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/update.d.ts +34 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/update.js +69 -0
- package/dist/api/resources/organizationProviders/resources/v3/index.d.ts +2 -0
- package/dist/api/resources/organizationProviders/resources/v3/index.js +18 -0
- package/dist/api/resources/organizationProviders/resources/{v2/types/OrganizationProviderBase.d.ts → v3/types/OrganizationProviderCreateV2.d.ts} +7 -5
- package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderPageV2.d.ts +7 -0
- package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.d.ts +40 -0
- package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.d.ts +42 -0
- package/dist/api/resources/organizationProviders/resources/v3/types/index.d.ts +4 -0
- package/dist/api/resources/organizationProviders/resources/v3/types/index.js +20 -0
- package/dist/api/resources/payers/client/Client.js +2 -2
- package/dist/api/resources/tasks/resources/v3/client/Client.js +1 -1
- package/dist/serialization/resources/commons/types/{ContentDownloadUrl.d.ts → ErrorMessage.d.ts} +2 -2
- package/dist/serialization/resources/commons/types/{ContentDownloadUrl.js → ErrorMessage.js} +3 -3
- package/dist/serialization/resources/commons/types/RemovableDateRangeOptionalEnd.d.ts +16 -0
- package/{serialization/resources/credentialing/types/EncounterCredentialingStatusResult.js → dist/serialization/resources/commons/types/RemovableDateRangeOptionalEnd.js} +4 -4
- package/dist/serialization/resources/commons/types/index.d.ts +2 -4
- package/dist/serialization/resources/commons/types/index.js +2 -4
- package/dist/serialization/resources/contracts/types/index.d.ts +0 -4
- package/dist/serialization/resources/contracts/types/index.js +0 -4
- package/dist/serialization/resources/encounters/resources/v4/client/index.d.ts +0 -1
- package/dist/serialization/resources/encounters/resources/v4/client/index.js +1 -2
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -13
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +0 -13
- package/dist/serialization/resources/exports/index.d.ts +1 -0
- package/dist/serialization/resources/exports/index.js +17 -0
- package/dist/serialization/resources/exports/resources/index.d.ts +1 -0
- package/dist/serialization/resources/exports/resources/index.js +27 -0
- package/dist/serialization/resources/exports/resources/v3/client/getExports.d.ts +30 -0
- package/dist/serialization/resources/exports/resources/v3/client/getExports.js +66 -0
- package/dist/serialization/resources/exports/resources/v3/client/index.d.ts +1 -0
- package/dist/serialization/resources/exports/resources/v3/client/index.js +27 -0
- package/dist/serialization/resources/exports/resources/v3/index.d.ts +2 -0
- package/dist/serialization/resources/exports/resources/v3/index.js +18 -0
- package/dist/serialization/resources/exports/resources/v3/types/GetExportsResponse.d.ts +15 -0
- package/dist/serialization/resources/{encounters/resources/v4/types/GenerateClinicalNotesPdfResponse.js → exports/resources/v3/types/GetExportsResponse.js} +6 -8
- package/dist/serialization/resources/exports/resources/v3/types/index.d.ts +1 -0
- package/dist/serialization/resources/exports/resources/v3/types/index.js +17 -0
- package/dist/serialization/resources/identifiers/types/Identifier.d.ts +12 -0
- package/dist/serialization/resources/identifiers/types/Identifier.js +35 -0
- package/dist/serialization/resources/identifiers/types/IdentifierBase.d.ts +14 -0
- package/dist/serialization/resources/{credentialing/types/RequiredCredentialingDates.js → identifiers/types/IdentifierBase.js} +5 -4
- package/dist/serialization/resources/{commons/types/RegionNational.d.ts → identifiers/types/IdentifierCode.d.ts} +3 -4
- package/{serialization/resources/commons/types/RegionNational.js → dist/serialization/resources/identifiers/types/IdentifierCode.js} +2 -2
- package/dist/serialization/resources/identifiers/types/IdentifierCreate.d.ts +11 -0
- package/dist/serialization/resources/{credentialing/types/CredentialingSpanStatus.js → identifiers/types/IdentifierCreate.js} +4 -2
- package/{serialization/resources/commons/types/ContentDownloadUrl.d.ts → dist/serialization/resources/identifiers/types/IdentifierId.d.ts} +2 -2
- package/{serialization/resources/commons/types/ContentDownloadUrl.js → dist/serialization/resources/identifiers/types/IdentifierId.js} +3 -3
- package/dist/serialization/resources/identifiers/types/IdentifierUpdate.d.ts +15 -0
- package/dist/serialization/resources/{encounters/resources/v4/types/BaseAttachment.js → identifiers/types/IdentifierUpdate.js} +7 -8
- package/dist/serialization/resources/identifiers/types/IdentifierValue.d.ts +16 -0
- package/{serialization/resources/commons/types/Regions.js → dist/serialization/resources/identifiers/types/IdentifierValue.js} +4 -4
- package/dist/serialization/resources/identifiers/types/MedicaidProviderIdentifier.d.ts +13 -0
- package/dist/serialization/resources/{credentialing/types/ProviderCredentialingSpanBase.js → identifiers/types/MedicaidProviderIdentifier.js} +4 -3
- package/dist/serialization/resources/identifiers/types/MedicareProviderIdentifier.d.ts +13 -0
- package/dist/serialization/resources/identifiers/types/MedicareProviderIdentifier.js +34 -0
- package/dist/serialization/resources/identifiers/types/UpdatableIdentifier.d.ts +20 -0
- package/dist/serialization/resources/{commons/types/Regions.js → identifiers/types/UpdatableIdentifier.js} +7 -4
- package/dist/serialization/resources/identifiers/types/index.d.ts +10 -0
- package/dist/serialization/resources/identifiers/types/index.js +26 -0
- package/dist/serialization/resources/index.d.ts +3 -2
- package/dist/serialization/resources/index.js +4 -3
- package/dist/serialization/resources/organizationProviders/resources/index.d.ts +1 -0
- package/dist/serialization/resources/organizationProviders/resources/index.js +2 -1
- package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderSortOptions.d.ts +10 -0
- package/dist/serialization/resources/{encounters/resources/v4/types/NetworkStatus.js → organizationProviders/resources/v2/types/OrganizationProviderSortOptions.js} +2 -2
- package/dist/serialization/resources/organizationProviders/resources/v2/types/index.d.ts +1 -3
- package/dist/serialization/resources/organizationProviders/resources/v2/types/index.js +1 -3
- package/dist/serialization/resources/organizationProviders/resources/v3/client/create.d.ts +14 -0
- package/dist/serialization/resources/organizationProviders/resources/v3/client/create.js +46 -0
- package/dist/serialization/resources/organizationProviders/resources/v3/client/get.d.ts +14 -0
- package/{serialization/resources/encounters/resources/v4/types/AttachmentId.js → dist/serialization/resources/organizationProviders/resources/v3/client/get.js} +15 -4
- package/dist/serialization/resources/organizationProviders/resources/v3/client/index.d.ts +3 -0
- package/dist/serialization/resources/organizationProviders/resources/v3/client/index.js +29 -0
- package/dist/serialization/resources/organizationProviders/resources/v3/client/update.d.ts +18 -0
- package/dist/serialization/resources/{encounters/resources/v4/types/AttributableContractingStatusResult.js → organizationProviders/resources/v3/client/update.js} +19 -8
- package/dist/serialization/resources/organizationProviders/resources/v3/index.d.ts +2 -0
- package/dist/serialization/resources/organizationProviders/resources/v3/index.js +18 -0
- package/dist/serialization/resources/organizationProviders/resources/{v2/types/OrganizationProviderBase.d.ts → v3/types/OrganizationProviderCreateV2.d.ts} +5 -4
- package/dist/serialization/resources/organizationProviders/resources/{v2/types/OrganizationProviderBase.js → v3/types/OrganizationProviderCreateV2.js} +5 -4
- package/dist/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderPageV2.d.ts +12 -0
- package/{serialization/resources/encounters/resources/v4/types/EncounterAttachment.js → dist/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderPageV2.js} +4 -4
- package/dist/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.d.ts +25 -0
- package/dist/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.js +54 -0
- package/dist/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.d.ts +26 -0
- package/dist/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.js +49 -0
- package/dist/serialization/resources/organizationProviders/resources/v3/types/index.d.ts +4 -0
- package/dist/serialization/resources/organizationProviders/resources/v3/types/index.js +20 -0
- package/package.json +1 -1
- package/serialization/resources/{credentialing/types/ProviderCredentialingSpanId.d.ts → commons/types/ErrorMessage.d.ts} +2 -2
- package/{dist/serialization/resources/credentialing/types/ProviderCredentialingSpanId.js → serialization/resources/commons/types/ErrorMessage.js} +3 -3
- package/serialization/resources/commons/types/RemovableDateRangeOptionalEnd.d.ts +16 -0
- package/{dist/serialization/resources/credentialing/types/EncounterCredentialingStatusResult.js → serialization/resources/commons/types/RemovableDateRangeOptionalEnd.js} +4 -4
- package/serialization/resources/commons/types/index.d.ts +2 -4
- package/serialization/resources/commons/types/index.js +2 -4
- package/serialization/resources/contracts/types/index.d.ts +0 -4
- package/serialization/resources/contracts/types/index.js +0 -4
- package/serialization/resources/encounters/resources/v4/client/index.d.ts +0 -1
- package/serialization/resources/encounters/resources/v4/client/index.js +1 -2
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -13
- package/serialization/resources/encounters/resources/v4/types/index.js +0 -13
- package/serialization/resources/exports/index.d.ts +1 -0
- package/serialization/resources/exports/index.js +17 -0
- package/serialization/resources/exports/resources/index.d.ts +1 -0
- package/serialization/resources/exports/resources/index.js +27 -0
- package/serialization/resources/exports/resources/v3/client/getExports.d.ts +30 -0
- package/serialization/resources/exports/resources/v3/client/getExports.js +66 -0
- package/serialization/resources/exports/resources/v3/client/index.d.ts +1 -0
- package/serialization/resources/exports/resources/v3/client/index.js +27 -0
- package/serialization/resources/exports/resources/v3/index.d.ts +2 -0
- package/serialization/resources/exports/resources/v3/index.js +18 -0
- package/serialization/resources/exports/resources/v3/types/GetExportsResponse.d.ts +15 -0
- package/{dist/serialization/resources/encounters/resources/v4/types/AttachmentId.js → serialization/resources/exports/resources/v3/types/GetExportsResponse.js} +6 -5
- package/serialization/resources/exports/resources/v3/types/index.d.ts +1 -0
- package/serialization/resources/exports/resources/v3/types/index.js +17 -0
- package/serialization/resources/identifiers/types/Identifier.d.ts +12 -0
- package/serialization/resources/identifiers/types/Identifier.js +35 -0
- package/serialization/resources/identifiers/types/IdentifierBase.d.ts +14 -0
- package/serialization/resources/{credentialing/types/RequiredCredentialingDates.js → identifiers/types/IdentifierBase.js} +5 -4
- package/serialization/resources/{commons/types/RegionNational.d.ts → identifiers/types/IdentifierCode.d.ts} +3 -4
- package/{dist/serialization/resources/commons/types/RegionNational.js → serialization/resources/identifiers/types/IdentifierCode.js} +2 -2
- package/serialization/resources/identifiers/types/IdentifierCreate.d.ts +11 -0
- package/{dist/serialization/resources/commons/types/RegionStates.js → serialization/resources/identifiers/types/IdentifierCreate.js} +4 -4
- package/{dist/serialization/resources/credentialing/types/ProviderCredentialingSpanId.d.ts → serialization/resources/identifiers/types/IdentifierId.d.ts} +2 -2
- package/serialization/resources/{credentialing/types/ProviderCredentialingSpanId.js → identifiers/types/IdentifierId.js} +3 -3
- package/serialization/resources/identifiers/types/IdentifierUpdate.d.ts +15 -0
- package/serialization/resources/{encounters/resources/v4/types/SuccessfulGenerateClinicalNotesPdfResponse.js → identifiers/types/IdentifierUpdate.js} +7 -5
- package/serialization/resources/identifiers/types/IdentifierValue.d.ts +16 -0
- package/{dist/serialization/resources/credentialing/types/CredentialingSpanDates.js → serialization/resources/identifiers/types/IdentifierValue.js} +4 -4
- package/serialization/resources/identifiers/types/MedicaidProviderIdentifier.d.ts +13 -0
- package/serialization/resources/identifiers/types/MedicaidProviderIdentifier.js +34 -0
- package/serialization/resources/identifiers/types/MedicareProviderIdentifier.d.ts +13 -0
- package/serialization/resources/identifiers/types/MedicareProviderIdentifier.js +34 -0
- package/serialization/resources/identifiers/types/UpdatableIdentifier.d.ts +20 -0
- package/serialization/resources/identifiers/types/UpdatableIdentifier.js +42 -0
- package/serialization/resources/identifiers/types/index.d.ts +10 -0
- package/serialization/resources/identifiers/types/index.js +26 -0
- package/serialization/resources/index.d.ts +3 -2
- package/serialization/resources/index.js +4 -3
- package/serialization/resources/organizationProviders/resources/index.d.ts +1 -0
- package/serialization/resources/organizationProviders/resources/index.js +2 -1
- package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderSortOptions.d.ts +10 -0
- package/{dist/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.js → serialization/resources/organizationProviders/resources/v2/types/OrganizationProviderSortOptions.js} +2 -2
- package/serialization/resources/organizationProviders/resources/v2/types/index.d.ts +1 -3
- package/serialization/resources/organizationProviders/resources/v2/types/index.js +1 -3
- package/serialization/resources/organizationProviders/resources/v3/client/create.d.ts +14 -0
- package/serialization/resources/organizationProviders/resources/v3/client/create.js +46 -0
- package/serialization/resources/organizationProviders/resources/v3/client/get.d.ts +14 -0
- package/serialization/resources/{encounters/resources/v4/types/GenerateClinicalNotesPdfResponse.js → organizationProviders/resources/v3/client/get.js} +14 -6
- package/serialization/resources/organizationProviders/resources/v3/client/index.d.ts +3 -0
- package/serialization/resources/organizationProviders/resources/v3/client/index.js +29 -0
- package/serialization/resources/organizationProviders/resources/v3/client/update.d.ts +18 -0
- package/serialization/resources/organizationProviders/resources/v3/client/update.js +51 -0
- package/serialization/resources/organizationProviders/resources/v3/index.d.ts +2 -0
- package/serialization/resources/organizationProviders/resources/v3/index.js +18 -0
- package/serialization/resources/organizationProviders/resources/{v2/types/OrganizationProviderBase.d.ts → v3/types/OrganizationProviderCreateV2.d.ts} +5 -4
- package/serialization/resources/organizationProviders/resources/{v2/types/OrganizationProviderBase.js → v3/types/OrganizationProviderCreateV2.js} +5 -4
- package/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderPageV2.d.ts +12 -0
- package/{dist/serialization/resources/encounters/resources/v4/types/EncounterAttachment.js → serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderPageV2.js} +4 -4
- package/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.d.ts +25 -0
- package/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.js +54 -0
- package/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.d.ts +26 -0
- package/serialization/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.js +49 -0
- package/serialization/resources/organizationProviders/resources/v3/types/index.d.ts +4 -0
- package/serialization/resources/organizationProviders/resources/v3/types/index.js +20 -0
- package/api/resources/commons/types/ContentDownloadUrl.d.ts +0 -8
- package/api/resources/commons/types/RegionNational.d.ts +0 -5
- package/api/resources/commons/types/Regions.d.ts +0 -13
- package/api/resources/contracts/types/AuthorizedSignatory.d.ts +0 -11
- package/api/resources/contracts/types/Contract.d.ts +0 -13
- package/api/resources/contracts/types/ContractBase.d.ts +0 -18
- package/api/resources/contracts/types/ContractStatus.d.ts +0 -22
- package/api/resources/contracts/types/ContractStatus.js +0 -11
- package/api/resources/credentialing/types/CredentialedEncounterStatusResult.d.ts +0 -7
- package/api/resources/credentialing/types/CredentialingSpanDates.d.ts +0 -13
- package/api/resources/credentialing/types/CredentialingSpanStatus.d.ts +0 -13
- package/api/resources/credentialing/types/CredentialingSpanStatus.js +0 -12
- package/api/resources/credentialing/types/EncounterCredentialingStatusResult.d.ts +0 -13
- package/api/resources/credentialing/types/NonRequiredCredentialingDates.d.ts +0 -8
- package/api/resources/credentialing/types/ProviderCredentialingSpan.d.ts +0 -23
- package/api/resources/credentialing/types/ProviderCredentialingSpanBase.d.ts +0 -11
- package/api/resources/credentialing/types/ProviderCredentialingSpanId.d.ts +0 -8
- package/api/resources/credentialing/types/ProviderCredentialingSpanId.js +0 -10
- package/api/resources/credentialing/types/index.d.ts +0 -9
- package/api/resources/credentialing/types/index.js +0 -25
- package/api/resources/encounters/resources/v4/client/generateClinicalNotesPdf.d.ts +0 -22
- package/api/resources/encounters/resources/v4/client/getAttachments.d.ts +0 -22
- package/api/resources/encounters/resources/v4/client/recomputeNetworkStatusResults.d.ts +0 -22
- package/api/resources/encounters/resources/v4/types/AttachmentId.d.ts +0 -8
- package/api/resources/encounters/resources/v4/types/AttributableContractingStatusResult.d.ts +0 -16
- package/api/resources/encounters/resources/v4/types/BaseAttachment.d.ts +0 -11
- package/api/resources/encounters/resources/v4/types/ContractingOutOfOfNetworkReason.d.ts +0 -8
- package/api/resources/encounters/resources/v4/types/ContractingOutOfOfNetworkReason.js +0 -10
- package/api/resources/encounters/resources/v4/types/EncounterAttachment.d.ts +0 -7
- package/api/resources/encounters/resources/v4/types/EncounterAttachmentType.d.ts +0 -7
- package/api/resources/encounters/resources/v4/types/EncounterAttachmentType.js +0 -9
- package/api/resources/encounters/resources/v4/types/GenerateClinicalNotesPdfResponse.d.ts +0 -10
- package/api/resources/encounters/resources/v4/types/InNetworkContractingStatusResult.d.ts +0 -7
- package/api/resources/encounters/resources/v4/types/MarkAsNotBillableResponse.d.ts +0 -7
- package/api/resources/encounters/resources/v4/types/NetworkStatus.d.ts +0 -10
- package/api/resources/encounters/resources/v4/types/NetworkStatus.js +0 -12
- package/api/resources/encounters/resources/v4/types/NetworkStatusComputationResults.d.ts +0 -9
- package/api/resources/encounters/resources/v4/types/OutOfNetworkContractingStatusResult.d.ts +0 -7
- package/api/resources/encounters/resources/v4/types/SuccessfulGenerateClinicalNotesPdfResponse.d.ts +0 -8
- package/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +0 -8
- package/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.js +0 -10
- package/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +0 -14
- package/dist/api/resources/commons/types/ContentDownloadUrl.d.ts +0 -8
- package/dist/api/resources/commons/types/RegionNational.d.ts +0 -5
- package/dist/api/resources/commons/types/Regions.d.ts +0 -13
- package/dist/api/resources/contracts/types/AuthorizedSignatory.d.ts +0 -11
- package/dist/api/resources/contracts/types/Contract.d.ts +0 -13
- package/dist/api/resources/contracts/types/ContractBase.d.ts +0 -18
- package/dist/api/resources/contracts/types/ContractStatus.d.ts +0 -22
- package/dist/api/resources/contracts/types/ContractStatus.js +0 -11
- package/dist/api/resources/credentialing/types/CredentialedEncounterStatusResult.d.ts +0 -7
- package/dist/api/resources/credentialing/types/CredentialingSpanDates.d.ts +0 -13
- package/dist/api/resources/credentialing/types/CredentialingSpanStatus.d.ts +0 -13
- package/dist/api/resources/credentialing/types/CredentialingSpanStatus.js +0 -12
- package/dist/api/resources/credentialing/types/EncounterCredentialingStatusResult.d.ts +0 -13
- package/dist/api/resources/credentialing/types/EncounterCredentialingStatusResult.js +0 -5
- package/dist/api/resources/credentialing/types/NonRequiredCredentialingDates.d.ts +0 -8
- package/dist/api/resources/credentialing/types/NonRequiredCredentialingDates.js +0 -5
- package/dist/api/resources/credentialing/types/ProviderCredentialingSpan.d.ts +0 -23
- package/dist/api/resources/credentialing/types/ProviderCredentialingSpan.js +0 -5
- package/dist/api/resources/credentialing/types/ProviderCredentialingSpanBase.d.ts +0 -11
- package/dist/api/resources/credentialing/types/ProviderCredentialingSpanBase.js +0 -5
- package/dist/api/resources/credentialing/types/ProviderCredentialingSpanId.d.ts +0 -8
- package/dist/api/resources/credentialing/types/ProviderCredentialingSpanId.js +0 -10
- package/dist/api/resources/credentialing/types/RequiredCredentialingDates.js +0 -5
- package/dist/api/resources/credentialing/types/index.d.ts +0 -9
- package/dist/api/resources/credentialing/types/index.js +0 -25
- package/dist/api/resources/encounters/resources/v4/client/generateClinicalNotesPdf.d.ts +0 -22
- package/dist/api/resources/encounters/resources/v4/client/generateClinicalNotesPdf.js +0 -47
- package/dist/api/resources/encounters/resources/v4/client/markAsNotBillable.d.ts +0 -22
- package/dist/api/resources/encounters/resources/v4/client/recomputeNetworkStatusResults.d.ts +0 -22
- package/dist/api/resources/encounters/resources/v4/client/recomputeNetworkStatusResults.js +0 -47
- package/dist/api/resources/encounters/resources/v4/types/AttachmentId.d.ts +0 -8
- package/dist/api/resources/encounters/resources/v4/types/AttributableContractingStatusResult.d.ts +0 -16
- package/dist/api/resources/encounters/resources/v4/types/AttributableContractingStatusResult.js +0 -5
- package/dist/api/resources/encounters/resources/v4/types/BaseAttachment.d.ts +0 -11
- package/dist/api/resources/encounters/resources/v4/types/BaseAttachment.js +0 -5
- package/dist/api/resources/encounters/resources/v4/types/ContractingOutOfOfNetworkReason.d.ts +0 -8
- package/dist/api/resources/encounters/resources/v4/types/ContractingOutOfOfNetworkReason.js +0 -10
- package/dist/api/resources/encounters/resources/v4/types/EncounterAttachment.d.ts +0 -7
- package/dist/api/resources/encounters/resources/v4/types/EncounterAttachment.js +0 -5
- package/dist/api/resources/encounters/resources/v4/types/EncounterAttachmentType.d.ts +0 -7
- package/dist/api/resources/encounters/resources/v4/types/EncounterAttachmentType.js +0 -9
- package/dist/api/resources/encounters/resources/v4/types/GenerateClinicalNotesPdfResponse.d.ts +0 -10
- package/dist/api/resources/encounters/resources/v4/types/GenerateClinicalNotesPdfResponse.js +0 -5
- package/dist/api/resources/encounters/resources/v4/types/InNetworkContractingStatusResult.d.ts +0 -7
- package/dist/api/resources/encounters/resources/v4/types/InNetworkContractingStatusResult.js +0 -5
- package/dist/api/resources/encounters/resources/v4/types/MarkAsNotBillableResponse.d.ts +0 -7
- package/dist/api/resources/encounters/resources/v4/types/MarkAsNotBillableResponse.js +0 -5
- package/dist/api/resources/encounters/resources/v4/types/NetworkStatus.d.ts +0 -10
- package/dist/api/resources/encounters/resources/v4/types/NetworkStatus.js +0 -12
- package/dist/api/resources/encounters/resources/v4/types/NetworkStatusComputationResults.d.ts +0 -9
- package/dist/api/resources/encounters/resources/v4/types/NetworkStatusComputationResults.js +0 -5
- package/dist/api/resources/encounters/resources/v4/types/OutOfNetworkContractingStatusResult.d.ts +0 -7
- package/dist/api/resources/encounters/resources/v4/types/OutOfNetworkContractingStatusResult.js +0 -5
- package/dist/api/resources/encounters/resources/v4/types/SuccessfulGenerateClinicalNotesPdfResponse.d.ts +0 -8
- package/dist/api/resources/encounters/resources/v4/types/SuccessfulGenerateClinicalNotesPdfResponse.js +0 -5
- package/dist/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +0 -8
- package/dist/api/resources/organizationProviders/resources/v2/types/EmploymentStatus.js +0 -10
- package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +0 -14
- package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +0 -5
- package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.js +0 -5
- package/dist/serialization/resources/commons/types/RegionStates.d.ts +0 -12
- package/dist/serialization/resources/commons/types/Regions.d.ts +0 -16
- package/dist/serialization/resources/contracts/types/AuthorizedSignatory.d.ts +0 -17
- package/dist/serialization/resources/contracts/types/AuthorizedSignatory.js +0 -38
- package/dist/serialization/resources/contracts/types/Contract.d.ts +0 -15
- package/dist/serialization/resources/contracts/types/Contract.js +0 -38
- package/dist/serialization/resources/contracts/types/ContractBase.d.ts +0 -16
- package/dist/serialization/resources/contracts/types/ContractBase.js +0 -37
- package/dist/serialization/resources/contracts/types/ContractStatus.d.ts +0 -10
- package/dist/serialization/resources/credentialing/types/CredentialedEncounterStatusResult.d.ts +0 -12
- package/dist/serialization/resources/credentialing/types/CredentialedEncounterStatusResult.js +0 -33
- package/dist/serialization/resources/credentialing/types/CredentialingSpanDates.d.ts +0 -16
- package/dist/serialization/resources/credentialing/types/CredentialingSpanStatus.d.ts +0 -10
- package/dist/serialization/resources/credentialing/types/EncounterCredentialingStatusResult.d.ts +0 -16
- package/dist/serialization/resources/credentialing/types/NonRequiredCredentialingDates.d.ts +0 -13
- package/dist/serialization/resources/credentialing/types/NonRequiredCredentialingDates.js +0 -34
- package/dist/serialization/resources/credentialing/types/ProviderCredentialingSpan.d.ts +0 -19
- package/dist/serialization/resources/credentialing/types/ProviderCredentialingSpan.js +0 -42
- package/dist/serialization/resources/credentialing/types/ProviderCredentialingSpanBase.d.ts +0 -12
- package/dist/serialization/resources/credentialing/types/RequiredCredentialingDates.d.ts +0 -13
- package/dist/serialization/resources/credentialing/types/index.d.ts +0 -9
- package/dist/serialization/resources/credentialing/types/index.js +0 -25
- package/dist/serialization/resources/encounters/resources/v4/client/getAttachments.d.ts +0 -10
- package/dist/serialization/resources/encounters/resources/v4/client/getAttachments.js +0 -31
- package/dist/serialization/resources/encounters/resources/v4/types/AttachmentId.d.ts +0 -10
- package/dist/serialization/resources/encounters/resources/v4/types/AttributableContractingStatusResult.d.ts +0 -19
- package/dist/serialization/resources/encounters/resources/v4/types/BaseAttachment.d.ts +0 -16
- package/dist/serialization/resources/encounters/resources/v4/types/ContractingOutOfOfNetworkReason.d.ts +0 -10
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterAttachment.d.ts +0 -12
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterAttachmentType.d.ts +0 -10
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterAttachmentType.js +0 -31
- package/dist/serialization/resources/encounters/resources/v4/types/GenerateClinicalNotesPdfResponse.d.ts +0 -13
- package/dist/serialization/resources/encounters/resources/v4/types/InNetworkContractingStatusResult.d.ts +0 -12
- package/dist/serialization/resources/encounters/resources/v4/types/InNetworkContractingStatusResult.js +0 -33
- package/dist/serialization/resources/encounters/resources/v4/types/MarkAsNotBillableResponse.d.ts +0 -12
- package/dist/serialization/resources/encounters/resources/v4/types/MarkAsNotBillableResponse.js +0 -33
- package/dist/serialization/resources/encounters/resources/v4/types/NetworkStatus.d.ts +0 -10
- package/dist/serialization/resources/encounters/resources/v4/types/NetworkStatusComputationResults.d.ts +0 -14
- package/dist/serialization/resources/encounters/resources/v4/types/NetworkStatusComputationResults.js +0 -35
- package/dist/serialization/resources/encounters/resources/v4/types/OutOfNetworkContractingStatusResult.d.ts +0 -12
- package/dist/serialization/resources/encounters/resources/v4/types/OutOfNetworkContractingStatusResult.js +0 -33
- package/dist/serialization/resources/encounters/resources/v4/types/SuccessfulGenerateClinicalNotesPdfResponse.d.ts +0 -13
- package/dist/serialization/resources/encounters/resources/v4/types/SuccessfulGenerateClinicalNotesPdfResponse.js +0 -34
- package/dist/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +0 -10
- package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +0 -15
- package/dist/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +0 -38
- package/serialization/resources/commons/types/RegionStates.d.ts +0 -12
- package/serialization/resources/commons/types/RegionStates.js +0 -33
- package/serialization/resources/commons/types/Regions.d.ts +0 -16
- package/serialization/resources/contracts/types/AuthorizedSignatory.d.ts +0 -17
- package/serialization/resources/contracts/types/AuthorizedSignatory.js +0 -38
- package/serialization/resources/contracts/types/Contract.d.ts +0 -15
- package/serialization/resources/contracts/types/Contract.js +0 -38
- package/serialization/resources/contracts/types/ContractBase.d.ts +0 -16
- package/serialization/resources/contracts/types/ContractBase.js +0 -37
- package/serialization/resources/contracts/types/ContractStatus.d.ts +0 -10
- package/serialization/resources/contracts/types/ContractStatus.js +0 -31
- package/serialization/resources/credentialing/types/CredentialedEncounterStatusResult.d.ts +0 -12
- package/serialization/resources/credentialing/types/CredentialedEncounterStatusResult.js +0 -33
- package/serialization/resources/credentialing/types/CredentialingSpanDates.d.ts +0 -16
- package/serialization/resources/credentialing/types/CredentialingSpanDates.js +0 -39
- package/serialization/resources/credentialing/types/CredentialingSpanStatus.d.ts +0 -10
- package/serialization/resources/credentialing/types/CredentialingSpanStatus.js +0 -31
- package/serialization/resources/credentialing/types/EncounterCredentialingStatusResult.d.ts +0 -16
- package/serialization/resources/credentialing/types/NonRequiredCredentialingDates.d.ts +0 -13
- package/serialization/resources/credentialing/types/NonRequiredCredentialingDates.js +0 -34
- package/serialization/resources/credentialing/types/ProviderCredentialingSpan.d.ts +0 -19
- package/serialization/resources/credentialing/types/ProviderCredentialingSpan.js +0 -42
- package/serialization/resources/credentialing/types/ProviderCredentialingSpanBase.d.ts +0 -12
- package/serialization/resources/credentialing/types/ProviderCredentialingSpanBase.js +0 -33
- package/serialization/resources/credentialing/types/RequiredCredentialingDates.d.ts +0 -13
- package/serialization/resources/credentialing/types/index.d.ts +0 -9
- package/serialization/resources/credentialing/types/index.js +0 -25
- package/serialization/resources/encounters/resources/v4/client/getAttachments.d.ts +0 -10
- package/serialization/resources/encounters/resources/v4/client/getAttachments.js +0 -31
- package/serialization/resources/encounters/resources/v4/types/AttachmentId.d.ts +0 -10
- package/serialization/resources/encounters/resources/v4/types/AttributableContractingStatusResult.d.ts +0 -19
- package/serialization/resources/encounters/resources/v4/types/AttributableContractingStatusResult.js +0 -40
- package/serialization/resources/encounters/resources/v4/types/BaseAttachment.d.ts +0 -16
- package/serialization/resources/encounters/resources/v4/types/BaseAttachment.js +0 -37
- package/serialization/resources/encounters/resources/v4/types/ContractingOutOfOfNetworkReason.d.ts +0 -10
- package/serialization/resources/encounters/resources/v4/types/ContractingOutOfOfNetworkReason.js +0 -31
- package/serialization/resources/encounters/resources/v4/types/EncounterAttachment.d.ts +0 -12
- package/serialization/resources/encounters/resources/v4/types/EncounterAttachmentType.d.ts +0 -10
- package/serialization/resources/encounters/resources/v4/types/EncounterAttachmentType.js +0 -31
- package/serialization/resources/encounters/resources/v4/types/GenerateClinicalNotesPdfResponse.d.ts +0 -13
- package/serialization/resources/encounters/resources/v4/types/InNetworkContractingStatusResult.d.ts +0 -12
- package/serialization/resources/encounters/resources/v4/types/InNetworkContractingStatusResult.js +0 -33
- package/serialization/resources/encounters/resources/v4/types/MarkAsNotBillableResponse.d.ts +0 -12
- package/serialization/resources/encounters/resources/v4/types/MarkAsNotBillableResponse.js +0 -33
- package/serialization/resources/encounters/resources/v4/types/NetworkStatus.d.ts +0 -10
- package/serialization/resources/encounters/resources/v4/types/NetworkStatus.js +0 -31
- package/serialization/resources/encounters/resources/v4/types/NetworkStatusComputationResults.d.ts +0 -14
- package/serialization/resources/encounters/resources/v4/types/NetworkStatusComputationResults.js +0 -35
- package/serialization/resources/encounters/resources/v4/types/OutOfNetworkContractingStatusResult.d.ts +0 -12
- package/serialization/resources/encounters/resources/v4/types/OutOfNetworkContractingStatusResult.js +0 -33
- package/serialization/resources/encounters/resources/v4/types/SuccessfulGenerateClinicalNotesPdfResponse.d.ts +0 -13
- package/serialization/resources/organizationProviders/resources/v2/types/EmploymentStatus.d.ts +0 -10
- package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.d.ts +0 -15
- package/serialization/resources/organizationProviders/resources/v2/types/OrganizationProvider.js +0 -38
- /package/api/resources/commons/types/{RegionNational.js → RemovableDateRangeOptionalEnd.js} +0 -0
- /package/api/resources/{commons/types/RegionStates.js → exports/resources/v3/client/requests/GetExportsRequest.js} +0 -0
- /package/api/resources/{commons/types/Regions.js → exports/resources/v3/types/GetExportsResponse.js} +0 -0
- /package/api/resources/{credentialing → identifiers}/index.d.ts +0 -0
- /package/api/resources/{credentialing → identifiers}/index.js +0 -0
- /package/api/resources/{contracts/types/AuthorizedSignatory.js → identifiers/types/Identifier.js} +0 -0
- /package/api/resources/{contracts/types/Contract.js → identifiers/types/IdentifierBase.js} +0 -0
- /package/api/resources/{contracts/types/ContractBase.js → identifiers/types/IdentifierCreate.js} +0 -0
- /package/api/resources/{credentialing/types/CredentialedEncounterStatusResult.js → identifiers/types/IdentifierUpdate.js} +0 -0
- /package/api/resources/{credentialing/types/CredentialingSpanDates.js → identifiers/types/IdentifierValue.js} +0 -0
- /package/api/resources/{credentialing/types/EncounterCredentialingStatusResult.js → identifiers/types/MedicaidProviderIdentifier.js} +0 -0
- /package/api/resources/{credentialing/types/NonRequiredCredentialingDates.js → identifiers/types/MedicareProviderIdentifier.js} +0 -0
- /package/api/resources/{credentialing/types/ProviderCredentialingSpan.js → identifiers/types/UpdatableIdentifier.js} +0 -0
- /package/api/resources/{credentialing/types/ProviderCredentialingSpanBase.js → organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.js} +0 -0
- /package/api/resources/{credentialing/types/RequiredCredentialingDates.js → organizationProviders/resources/v3/types/OrganizationProviderCreateV2.js} +0 -0
- /package/api/resources/{encounters/resources/v4/types/AttributableContractingStatusResult.js → organizationProviders/resources/v3/types/OrganizationProviderPageV2.js} +0 -0
- /package/api/resources/{encounters/resources/v4/types/BaseAttachment.js → organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.js} +0 -0
- /package/api/resources/{encounters/resources/v4/types/EncounterAttachment.js → organizationProviders/resources/v3/types/OrganizationProviderV2.js} +0 -0
- /package/{api/resources/encounters/resources/v4/types/GenerateClinicalNotesPdfResponse.js → dist/api/resources/commons/types/RemovableDateRangeOptionalEnd.js} +0 -0
- /package/{api/resources/encounters/resources/v4/types/InNetworkContractingStatusResult.js → dist/api/resources/exports/resources/v3/client/requests/GetExportsRequest.js} +0 -0
- /package/{api/resources/encounters/resources/v4/types/MarkAsNotBillableResponse.js → dist/api/resources/exports/resources/v3/types/GetExportsResponse.js} +0 -0
- /package/dist/api/resources/{credentialing → identifiers}/index.d.ts +0 -0
- /package/dist/api/resources/{credentialing → identifiers}/index.js +0 -0
- /package/{api/resources/encounters/resources/v4/types/NetworkStatusComputationResults.js → dist/api/resources/identifiers/types/Identifier.js} +0 -0
- /package/{api/resources/encounters/resources/v4/types/OutOfNetworkContractingStatusResult.js → dist/api/resources/identifiers/types/IdentifierBase.js} +0 -0
- /package/{api/resources/encounters/resources/v4/types/SuccessfulGenerateClinicalNotesPdfResponse.js → dist/api/resources/identifiers/types/IdentifierCreate.js} +0 -0
- /package/{api/resources/organizationProviders/resources/v2/types/OrganizationProvider.js → dist/api/resources/identifiers/types/IdentifierUpdate.js} +0 -0
- /package/{api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.js → dist/api/resources/identifiers/types/IdentifierValue.js} +0 -0
- /package/dist/api/resources/{commons/types/RegionNational.js → identifiers/types/MedicaidProviderIdentifier.js} +0 -0
- /package/dist/api/resources/{commons/types/RegionStates.js → identifiers/types/MedicareProviderIdentifier.js} +0 -0
- /package/dist/api/resources/{commons/types/Regions.js → identifiers/types/UpdatableIdentifier.js} +0 -0
- /package/dist/api/resources/{contracts/types/AuthorizedSignatory.js → organizationProviders/resources/v3/client/requests/GetAllOrganizationProvidersRequestV2.js} +0 -0
- /package/dist/api/resources/{contracts/types/Contract.js → organizationProviders/resources/v3/types/OrganizationProviderCreateV2.js} +0 -0
- /package/dist/api/resources/{contracts/types/ContractBase.js → organizationProviders/resources/v3/types/OrganizationProviderPageV2.js} +0 -0
- /package/dist/api/resources/{credentialing/types/CredentialedEncounterStatusResult.js → organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.js} +0 -0
- /package/dist/api/resources/{credentialing/types/CredentialingSpanDates.js → organizationProviders/resources/v3/types/OrganizationProviderV2.js} +0 -0
- /package/dist/serialization/resources/{credentialing → identifiers}/index.d.ts +0 -0
- /package/dist/serialization/resources/{credentialing → identifiers}/index.js +0 -0
- /package/serialization/resources/{credentialing → identifiers}/index.d.ts +0 -0
- /package/serialization/resources/{credentialing → identifiers}/index.js +0 -0
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
29
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
30
|
+
};
|
|
31
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
+
exports.V3 = void 0;
|
|
33
|
+
const environments = __importStar(require("../../../../../../environments"));
|
|
34
|
+
const core = __importStar(require("../../../../../../core"));
|
|
35
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
36
|
+
const serializers = __importStar(require("../../../../../../serialization"));
|
|
37
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
38
|
+
const url_search_params_1 = __importDefault(require("@ungap/url-search-params"));
|
|
39
|
+
class V3 {
|
|
40
|
+
options;
|
|
41
|
+
constructor(options) {
|
|
42
|
+
this.options = options;
|
|
43
|
+
}
|
|
44
|
+
async get(organizationProviderId) {
|
|
45
|
+
const _response = await core.fetcher({
|
|
46
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/organization-providers/v3/${await serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(organizationProviderId)}`),
|
|
47
|
+
method: "GET",
|
|
48
|
+
headers: {
|
|
49
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
50
|
+
"X-Fern-Language": "JavaScript",
|
|
51
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
52
|
+
"X-Fern-SDK-Version": "0.5.0",
|
|
53
|
+
},
|
|
54
|
+
contentType: "application/json",
|
|
55
|
+
timeoutMs: 60000,
|
|
56
|
+
});
|
|
57
|
+
if (_response.ok) {
|
|
58
|
+
return {
|
|
59
|
+
ok: true,
|
|
60
|
+
body: await serializers.organizationProviders.v3.OrganizationProviderV2.parseOrThrow(_response.body, {
|
|
61
|
+
unrecognizedObjectKeys: "passthrough",
|
|
62
|
+
allowUnrecognizedUnionMembers: true,
|
|
63
|
+
allowUnrecognizedEnumValues: true,
|
|
64
|
+
breadcrumbsPrefix: ["response"],
|
|
65
|
+
}),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
if (_response.error.reason === "status-code") {
|
|
69
|
+
switch (_response.error.body?.errorName) {
|
|
70
|
+
case "EntityNotFoundError":
|
|
71
|
+
return {
|
|
72
|
+
ok: false,
|
|
73
|
+
error: await serializers.organizationProviders.v3.get.Error.parseOrThrow(_response.error.body, {
|
|
74
|
+
unrecognizedObjectKeys: "passthrough",
|
|
75
|
+
allowUnrecognizedUnionMembers: true,
|
|
76
|
+
allowUnrecognizedEnumValues: true,
|
|
77
|
+
breadcrumbsPrefix: ["response"],
|
|
78
|
+
}),
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
ok: false,
|
|
84
|
+
error: CandidApi.organizationProviders.v3.get.Error._unknown(_response.error),
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
async getMulti(request = {}) {
|
|
88
|
+
const { limit, searchTerm, npi, isRendering, isBilling, pageToken, sort } = request;
|
|
89
|
+
const _queryParams = new url_search_params_1.default();
|
|
90
|
+
if (limit != null) {
|
|
91
|
+
_queryParams.append("limit", limit.toString());
|
|
92
|
+
}
|
|
93
|
+
if (searchTerm != null) {
|
|
94
|
+
_queryParams.append("search_term", searchTerm);
|
|
95
|
+
}
|
|
96
|
+
if (npi != null) {
|
|
97
|
+
_queryParams.append("npi", npi);
|
|
98
|
+
}
|
|
99
|
+
if (isRendering != null) {
|
|
100
|
+
_queryParams.append("is_rendering", isRendering.toString());
|
|
101
|
+
}
|
|
102
|
+
if (isBilling != null) {
|
|
103
|
+
_queryParams.append("is_billing", isBilling.toString());
|
|
104
|
+
}
|
|
105
|
+
if (pageToken != null) {
|
|
106
|
+
_queryParams.append("page_token", pageToken);
|
|
107
|
+
}
|
|
108
|
+
if (sort != null) {
|
|
109
|
+
_queryParams.append("sort", sort);
|
|
110
|
+
}
|
|
111
|
+
const _response = await core.fetcher({
|
|
112
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/organization-providers/v3"),
|
|
113
|
+
method: "GET",
|
|
114
|
+
headers: {
|
|
115
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
116
|
+
"X-Fern-Language": "JavaScript",
|
|
117
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
118
|
+
"X-Fern-SDK-Version": "0.5.0",
|
|
119
|
+
},
|
|
120
|
+
contentType: "application/json",
|
|
121
|
+
queryParameters: _queryParams,
|
|
122
|
+
timeoutMs: 60000,
|
|
123
|
+
});
|
|
124
|
+
if (_response.ok) {
|
|
125
|
+
return {
|
|
126
|
+
ok: true,
|
|
127
|
+
body: await serializers.organizationProviders.v3.OrganizationProviderPageV2.parseOrThrow(_response.body, {
|
|
128
|
+
unrecognizedObjectKeys: "passthrough",
|
|
129
|
+
allowUnrecognizedUnionMembers: true,
|
|
130
|
+
allowUnrecognizedEnumValues: true,
|
|
131
|
+
breadcrumbsPrefix: ["response"],
|
|
132
|
+
}),
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
return {
|
|
136
|
+
ok: false,
|
|
137
|
+
error: CandidApi.organizationProviders.v3.getMulti.Error._unknown(_response.error),
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
async create(request) {
|
|
141
|
+
const _response = await core.fetcher({
|
|
142
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/organization-providers/v3"),
|
|
143
|
+
method: "POST",
|
|
144
|
+
headers: {
|
|
145
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
146
|
+
"X-Fern-Language": "JavaScript",
|
|
147
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
148
|
+
"X-Fern-SDK-Version": "0.5.0",
|
|
149
|
+
},
|
|
150
|
+
contentType: "application/json",
|
|
151
|
+
body: await serializers.organizationProviders.v3.OrganizationProviderCreateV2.jsonOrThrow(request, {
|
|
152
|
+
unrecognizedObjectKeys: "strip",
|
|
153
|
+
}),
|
|
154
|
+
timeoutMs: 60000,
|
|
155
|
+
});
|
|
156
|
+
if (_response.ok) {
|
|
157
|
+
return {
|
|
158
|
+
ok: true,
|
|
159
|
+
body: await serializers.organizationProviders.v3.OrganizationProviderV2.parseOrThrow(_response.body, {
|
|
160
|
+
unrecognizedObjectKeys: "passthrough",
|
|
161
|
+
allowUnrecognizedUnionMembers: true,
|
|
162
|
+
allowUnrecognizedEnumValues: true,
|
|
163
|
+
breadcrumbsPrefix: ["response"],
|
|
164
|
+
}),
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
if (_response.error.reason === "status-code") {
|
|
168
|
+
switch (_response.error.body?.errorName) {
|
|
169
|
+
case "HttpRequestValidationError":
|
|
170
|
+
return {
|
|
171
|
+
ok: false,
|
|
172
|
+
error: await serializers.organizationProviders.v3.create.Error.parseOrThrow(_response.error.body, {
|
|
173
|
+
unrecognizedObjectKeys: "passthrough",
|
|
174
|
+
allowUnrecognizedUnionMembers: true,
|
|
175
|
+
allowUnrecognizedEnumValues: true,
|
|
176
|
+
breadcrumbsPrefix: ["response"],
|
|
177
|
+
}),
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
return {
|
|
182
|
+
ok: false,
|
|
183
|
+
error: CandidApi.organizationProviders.v3.create.Error._unknown(_response.error),
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
async update(organizationProviderId, request) {
|
|
187
|
+
const _response = await core.fetcher({
|
|
188
|
+
url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/organization-providers/v3/${await serializers.organizationProviders.v2.OrganizationProviderId.jsonOrThrow(organizationProviderId)}`),
|
|
189
|
+
method: "PATCH",
|
|
190
|
+
headers: {
|
|
191
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
192
|
+
"X-Fern-Language": "JavaScript",
|
|
193
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
194
|
+
"X-Fern-SDK-Version": "0.5.0",
|
|
195
|
+
},
|
|
196
|
+
contentType: "application/json",
|
|
197
|
+
body: await serializers.organizationProviders.v3.OrganizationProviderUpdateV2.jsonOrThrow(request, {
|
|
198
|
+
unrecognizedObjectKeys: "strip",
|
|
199
|
+
}),
|
|
200
|
+
timeoutMs: 60000,
|
|
201
|
+
});
|
|
202
|
+
if (_response.ok) {
|
|
203
|
+
return {
|
|
204
|
+
ok: true,
|
|
205
|
+
body: await serializers.organizationProviders.v3.OrganizationProviderV2.parseOrThrow(_response.body, {
|
|
206
|
+
unrecognizedObjectKeys: "passthrough",
|
|
207
|
+
allowUnrecognizedUnionMembers: true,
|
|
208
|
+
allowUnrecognizedEnumValues: true,
|
|
209
|
+
breadcrumbsPrefix: ["response"],
|
|
210
|
+
}),
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
if (_response.error.reason === "status-code") {
|
|
214
|
+
switch (_response.error.body?.errorName) {
|
|
215
|
+
case "HttpRequestValidationError":
|
|
216
|
+
case "EntityNotFoundError":
|
|
217
|
+
return {
|
|
218
|
+
ok: false,
|
|
219
|
+
error: await serializers.organizationProviders.v3.update.Error.parseOrThrow(_response.error.body, {
|
|
220
|
+
unrecognizedObjectKeys: "passthrough",
|
|
221
|
+
allowUnrecognizedUnionMembers: true,
|
|
222
|
+
allowUnrecognizedEnumValues: true,
|
|
223
|
+
breadcrumbsPrefix: ["response"],
|
|
224
|
+
}),
|
|
225
|
+
};
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
return {
|
|
229
|
+
ok: false,
|
|
230
|
+
error: CandidApi.organizationProviders.v3.update.Error._unknown(_response.error),
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
async _getAuthorizationHeader() {
|
|
234
|
+
const bearer = await core.Supplier.get(this.options.token);
|
|
235
|
+
if (bearer != null) {
|
|
236
|
+
return `Bearer ${bearer}`;
|
|
237
|
+
}
|
|
238
|
+
return undefined;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
exports.V3 = V3;
|
|
@@ -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.organizationProviders.v3.create.Error.HttpRequestValidationError | CandidApi.organizationProviders.v3.create.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface HttpRequestValidationError extends _Utils {
|
|
9
|
+
errorName: "HttpRequestValidationError";
|
|
10
|
+
content: CandidApi.RequestValidationError;
|
|
11
|
+
}
|
|
12
|
+
interface _Unknown extends _Utils {
|
|
13
|
+
errorName: void;
|
|
14
|
+
content: core.Fetcher.Error;
|
|
15
|
+
}
|
|
16
|
+
interface _Utils {
|
|
17
|
+
_visit: <_Result>(visitor: CandidApi.organizationProviders.v3.create.Error._Visitor<_Result>) => _Result;
|
|
18
|
+
}
|
|
19
|
+
interface _Visitor<_Result> {
|
|
20
|
+
httpRequestValidationError: (value: CandidApi.RequestValidationError) => _Result;
|
|
21
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export declare const Error: {
|
|
25
|
+
readonly httpRequestValidationError: (value: CandidApi.RequestValidationError) => CandidApi.organizationProviders.v3.create.Error.HttpRequestValidationError;
|
|
26
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.organizationProviders.v3.create.Error._Unknown;
|
|
27
|
+
readonly _visit: <_Result>(value: CandidApi.organizationProviders.v3.create.Error, visitor: CandidApi.organizationProviders.v3.create.Error._Visitor<_Result>) => _Result;
|
|
28
|
+
};
|
|
@@ -29,17 +29,28 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Error = void 0;
|
|
30
30
|
const CandidApi = __importStar(require("../../../../.."));
|
|
31
31
|
exports.Error = {
|
|
32
|
+
httpRequestValidationError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "HttpRequestValidationError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.organizationProviders.v3.create.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
32
41
|
_unknown: (fetcherError) => {
|
|
33
42
|
return {
|
|
34
43
|
errorName: undefined,
|
|
35
44
|
content: fetcherError,
|
|
36
45
|
_visit: function (visitor) {
|
|
37
|
-
return CandidApi.
|
|
46
|
+
return CandidApi.organizationProviders.v3.create.Error._visit(this, visitor);
|
|
38
47
|
},
|
|
39
48
|
};
|
|
40
49
|
},
|
|
41
50
|
_visit: (value, visitor) => {
|
|
42
51
|
switch (value.errorName) {
|
|
52
|
+
case "HttpRequestValidationError":
|
|
53
|
+
return visitor.httpRequestValidationError(value.content);
|
|
43
54
|
default:
|
|
44
55
|
return visitor._other(value);
|
|
45
56
|
}
|
|
@@ -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.organizationProviders.v3.get.Error.EntityNotFoundError | CandidApi.organizationProviders.v3.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.organizationProviders.v3.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.organizationProviders.v3.get.Error.EntityNotFoundError;
|
|
26
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.organizationProviders.v3.get.Error._Unknown;
|
|
27
|
+
readonly _visit: <_Result>(value: CandidApi.organizationProviders.v3.get.Error, visitor: CandidApi.organizationProviders.v3.get.Error._Visitor<_Result>) => _Result;
|
|
28
|
+
};
|
|
@@ -29,17 +29,28 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Error = void 0;
|
|
30
30
|
const CandidApi = __importStar(require("../../../../.."));
|
|
31
31
|
exports.Error = {
|
|
32
|
+
entityNotFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "EntityNotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.organizationProviders.v3.get.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
32
41
|
_unknown: (fetcherError) => {
|
|
33
42
|
return {
|
|
34
43
|
errorName: undefined,
|
|
35
44
|
content: fetcherError,
|
|
36
45
|
_visit: function (visitor) {
|
|
37
|
-
return CandidApi.
|
|
46
|
+
return CandidApi.organizationProviders.v3.get.Error._visit(this, visitor);
|
|
38
47
|
},
|
|
39
48
|
};
|
|
40
49
|
},
|
|
41
50
|
_visit: (value, visitor) => {
|
|
42
51
|
switch (value.errorName) {
|
|
52
|
+
case "EntityNotFoundError":
|
|
53
|
+
return visitor.entityNotFoundError(value.content);
|
|
43
54
|
default:
|
|
44
55
|
return visitor._other(value);
|
|
45
56
|
}
|
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../..";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.
|
|
6
|
+
export declare type Error = CandidApi.organizationProviders.v3.getMulti.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface _Unknown extends _Utils {
|
|
9
9
|
errorName: void;
|
|
10
10
|
content: core.Fetcher.Error;
|
|
11
11
|
}
|
|
12
12
|
interface _Utils {
|
|
13
|
-
_visit: <_Result>(visitor: CandidApi.
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.organizationProviders.v3.getMulti.Error._Visitor<_Result>) => _Result;
|
|
14
14
|
}
|
|
15
15
|
interface _Visitor<_Result> {
|
|
16
16
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
export declare const Error: {
|
|
20
|
-
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.
|
|
21
|
-
readonly _visit: <_Result>(value: CandidApi.
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.organizationProviders.v3.getMulti.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.organizationProviders.v3.getMulti.Error, visitor: CandidApi.organizationProviders.v3.getMulti.Error._Visitor<_Result>) => _Result;
|
|
22
22
|
};
|
|
@@ -34,7 +34,7 @@ exports.Error = {
|
|
|
34
34
|
errorName: undefined,
|
|
35
35
|
content: fetcherError,
|
|
36
36
|
_visit: function (visitor) {
|
|
37
|
-
return CandidApi.
|
|
37
|
+
return CandidApi.organizationProviders.v3.getMulti.Error._visit(this, visitor);
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
},
|
|
@@ -0,0 +1,34 @@
|
|
|
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.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.update = __importStar(require("./update"));
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../..";
|
|
5
|
+
export interface GetAllOrganizationProvidersRequestV2 {
|
|
6
|
+
/**
|
|
7
|
+
* Limit the number of results returned. Defaults to 100.
|
|
8
|
+
*/
|
|
9
|
+
limit?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Filter to a name or a part of a name
|
|
12
|
+
*/
|
|
13
|
+
searchTerm?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Filter to a specific NPI
|
|
16
|
+
*/
|
|
17
|
+
npi?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Filter to only rendering providers
|
|
20
|
+
*/
|
|
21
|
+
isRendering?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Filter to only billing providers
|
|
24
|
+
*/
|
|
25
|
+
isBilling?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* The page token to continue paging through a previous request
|
|
28
|
+
*/
|
|
29
|
+
pageToken?: CandidApi.PageToken;
|
|
30
|
+
/**
|
|
31
|
+
* Defaults to PROVIDER_NAME_ASC
|
|
32
|
+
*/
|
|
33
|
+
sort?: CandidApi.organizationProviders.v2.OrganizationProviderSortOptions;
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GetAllOrganizationProvidersRequestV2 } from "./GetAllOrganizationProvidersRequestV2";
|
|
@@ -0,0 +1,34 @@
|
|
|
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.organizationProviders.v3.update.Error.HttpRequestValidationError | CandidApi.organizationProviders.v3.update.Error.EntityNotFoundError | CandidApi.organizationProviders.v3.update.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface HttpRequestValidationError extends _Utils {
|
|
9
|
+
errorName: "HttpRequestValidationError";
|
|
10
|
+
content: CandidApi.RequestValidationError;
|
|
11
|
+
}
|
|
12
|
+
interface EntityNotFoundError extends _Utils {
|
|
13
|
+
errorName: "EntityNotFoundError";
|
|
14
|
+
content: CandidApi.EntityNotFoundErrorMessage;
|
|
15
|
+
}
|
|
16
|
+
interface _Unknown extends _Utils {
|
|
17
|
+
errorName: void;
|
|
18
|
+
content: core.Fetcher.Error;
|
|
19
|
+
}
|
|
20
|
+
interface _Utils {
|
|
21
|
+
_visit: <_Result>(visitor: CandidApi.organizationProviders.v3.update.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
}
|
|
23
|
+
interface _Visitor<_Result> {
|
|
24
|
+
httpRequestValidationError: (value: CandidApi.RequestValidationError) => _Result;
|
|
25
|
+
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
26
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export declare const Error: {
|
|
30
|
+
readonly httpRequestValidationError: (value: CandidApi.RequestValidationError) => CandidApi.organizationProviders.v3.update.Error.HttpRequestValidationError;
|
|
31
|
+
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.organizationProviders.v3.update.Error.EntityNotFoundError;
|
|
32
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.organizationProviders.v3.update.Error._Unknown;
|
|
33
|
+
readonly _visit: <_Result>(value: CandidApi.organizationProviders.v3.update.Error, visitor: CandidApi.organizationProviders.v3.update.Error._Visitor<_Result>) => _Result;
|
|
34
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
httpRequestValidationError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "HttpRequestValidationError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.organizationProviders.v3.update.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
entityNotFoundError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "EntityNotFoundError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.organizationProviders.v3.update.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_unknown: (fetcherError) => {
|
|
51
|
+
return {
|
|
52
|
+
errorName: undefined,
|
|
53
|
+
content: fetcherError,
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.organizationProviders.v3.update.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
_visit: (value, visitor) => {
|
|
60
|
+
switch (value.errorName) {
|
|
61
|
+
case "HttpRequestValidationError":
|
|
62
|
+
return visitor.httpRequestValidationError(value.content);
|
|
63
|
+
case "EntityNotFoundError":
|
|
64
|
+
return visitor.entityNotFoundError(value.content);
|
|
65
|
+
default:
|
|
66
|
+
return visitor._other(value);
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../..";
|
|
5
|
-
export interface
|
|
5
|
+
export interface OrganizationProviderCreateV2 {
|
|
6
6
|
/** The NPI of the provider. This must be all digits [0-9] and exactly 10 characters long. */
|
|
7
7
|
npi: string;
|
|
8
8
|
/** Whether the provider can be used to render services. */
|
|
@@ -29,10 +29,12 @@ export interface OrganizationProviderBase {
|
|
|
29
29
|
taxonomyCode?: string;
|
|
30
30
|
/** The type of license that the provider holds. */
|
|
31
31
|
licenseType: CandidApi.organizationProviders.v2.LicenseType;
|
|
32
|
-
/** The Provider Transaction Access Number for the provider. */
|
|
33
|
-
ptan?: string;
|
|
34
|
-
/** The medicaid provider ID for the provider. */
|
|
35
|
-
medicaidProviderId?: string;
|
|
36
32
|
/** The addresses associated with this provider. */
|
|
37
33
|
addresses?: CandidApi.organizationProviders.v2.OrganizationProviderAddress[];
|
|
34
|
+
/** The employment start date for the provider. */
|
|
35
|
+
employmentStartDate?: string;
|
|
36
|
+
/** The employment termination date for the provider. */
|
|
37
|
+
employmentTerminationDate?: string;
|
|
38
|
+
/** A provider's qualifications such as PTAN, Medicaid Provider Id, etc. */
|
|
39
|
+
qualifications: CandidApi.IdentifierCreate[];
|
|
38
40
|
}
|
package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderPageV2.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
export interface OrganizationProviderPageV2 extends CandidApi.ResourcePage {
|
|
6
|
+
items: CandidApi.organizationProviders.v3.OrganizationProviderV2[];
|
|
7
|
+
}
|