candidhealth 1.12.1 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -0
- package/Client.js +63 -58
- package/api/resources/commons/types/index.d.ts +2 -0
- package/api/resources/commons/types/index.js +2 -0
- package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +12 -1
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +64 -1
- package/api/resources/encounterAttachments/resources/v1/client/createWithDescription.d.ts +19 -0
- package/api/resources/encounterAttachments/resources/v1/client/createWithDescription.js +55 -0
- package/api/resources/encounterAttachments/resources/v1/client/index.d.ts +1 -0
- package/api/resources/encounterAttachments/resources/v1/client/index.js +2 -1
- package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentV2Request.d.ts +5 -0
- package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentV2Request.js +3 -0
- package/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +2 -0
- package/api/resources/encounterSupplementalInformation/client/Client.d.ts +14 -0
- package/api/resources/encounterSupplementalInformation/client/Client.js +15 -0
- package/api/resources/encounterSupplementalInformation/client/index.d.ts +1 -0
- package/api/resources/encounterSupplementalInformation/client/index.js +2 -0
- package/api/resources/encounterSupplementalInformation/index.d.ts +2 -0
- package/api/resources/encounterSupplementalInformation/index.js +18 -0
- package/api/resources/encounterSupplementalInformation/resources/index.d.ts +1 -0
- package/api/resources/encounterSupplementalInformation/resources/index.js +37 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/Client.d.ts +59 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/Client.js +328 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/create.d.ts +25 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/create.js +66 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/delete.d.ts +25 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/delete.js +66 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/get.d.ts +19 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/get.js +55 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/index.d.ts +4 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/index.js +40 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/update.d.ts +25 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/update.js +66 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/index.d.ts +2 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/index.js +18 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.d.ts +6 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.js +9 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.d.ts +8 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.js +3 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.d.ts +10 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.js +3 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.d.ts +5 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.js +7 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.d.ts +8 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.js +3 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/index.d.ts +5 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/index.js +21 -0
- package/api/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +2 -2
- package/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +2 -2
- package/api/resources/encounters/resources/v4/types/index.d.ts +0 -2
- package/api/resources/encounters/resources/v4/types/index.js +0 -2
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +4 -2
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +2 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +2 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +2 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +6 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientScanRequest.d.ts +1 -0
- package/api/resources/users/index.d.ts +1 -0
- package/api/resources/users/index.js +17 -0
- package/api/resources/users/resources/index.d.ts +1 -0
- package/api/resources/users/resources/index.js +37 -0
- package/api/resources/users/resources/v2/index.d.ts +1 -0
- package/api/resources/users/resources/v2/index.js +17 -0
- package/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +9 -0
- package/api/resources/users/resources/v2/types/AuthZeroMetadata.js +3 -0
- package/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +3 -0
- package/api/resources/users/resources/v2/types/GoogleAppsMetadata.js +3 -0
- package/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +13 -0
- package/api/resources/users/resources/v2/types/HumanUserMetadata.js +3 -0
- package/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +20 -0
- package/api/resources/users/resources/v2/types/IdpUserMetadata.js +3 -0
- package/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +3 -0
- package/api/resources/users/resources/v2/types/MachineUserMetadata.js +3 -0
- package/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +3 -0
- package/api/resources/users/resources/v2/types/OtherIdpMetadata.js +3 -0
- package/api/resources/users/resources/v2/types/UserMetadata.d.ts +19 -0
- package/api/resources/users/resources/v2/types/UserMetadata.js +3 -0
- package/api/resources/users/resources/v2/types/UserV2.d.ts +24 -0
- package/api/resources/users/resources/v2/types/UserV2.js +3 -0
- package/api/resources/users/resources/v2/types/index.d.ts +8 -0
- package/api/resources/users/resources/v2/types/index.js +24 -0
- package/api/resources/x12/resources/v1/types/Carc.d.ts +1 -0
- package/api/resources/x12/resources/v1/types/Carc.js +1 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +63 -58
- package/dist/api/resources/commons/types/index.d.ts +2 -0
- package/dist/api/resources/commons/types/index.js +2 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +12 -1
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +64 -1
- package/dist/api/resources/encounterAttachments/resources/v1/client/createWithDescription.d.ts +19 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/createWithDescription.js +55 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/index.js +2 -1
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentV2Request.d.ts +5 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentV2Request.js +3 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +2 -0
- package/dist/api/resources/encounterSupplementalInformation/client/Client.d.ts +14 -0
- package/dist/api/resources/encounterSupplementalInformation/client/Client.js +15 -0
- package/dist/api/resources/encounterSupplementalInformation/client/index.d.ts +1 -0
- package/dist/api/resources/encounterSupplementalInformation/client/index.js +2 -0
- package/dist/api/resources/encounterSupplementalInformation/index.d.ts +2 -0
- package/dist/api/resources/encounterSupplementalInformation/index.js +18 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/index.d.ts +1 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/index.js +37 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/Client.d.ts +59 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/Client.js +328 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/create.d.ts +25 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/create.js +66 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/delete.d.ts +25 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/delete.js +66 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/get.d.ts +19 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/get.js +55 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/index.d.ts +4 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/index.js +40 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/update.d.ts +25 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/update.js +66 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/index.js +18 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.d.ts +6 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.js +9 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.d.ts +8 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.js +3 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.d.ts +10 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.js +3 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.d.ts +5 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.js +7 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.d.ts +8 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.js +3 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/index.d.ts +5 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/index.js +21 -0
- package/dist/api/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +2 -2
- package/dist/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +2 -2
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +0 -2
- package/dist/api/resources/encounters/resources/v4/types/index.js +0 -2
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +4 -2
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +2 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +2 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +6 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientScanRequest.d.ts +1 -0
- package/dist/api/resources/users/index.d.ts +1 -0
- package/dist/api/resources/users/index.js +17 -0
- package/dist/api/resources/users/resources/index.d.ts +1 -0
- package/dist/api/resources/users/resources/index.js +37 -0
- package/dist/api/resources/users/resources/v2/index.d.ts +1 -0
- package/dist/api/resources/users/resources/v2/index.js +17 -0
- package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +9 -0
- package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.js +3 -0
- package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +3 -0
- package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.js +3 -0
- package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +13 -0
- package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.js +3 -0
- package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +20 -0
- package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.js +3 -0
- package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +3 -0
- package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.js +3 -0
- package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +3 -0
- package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.js +3 -0
- package/dist/api/resources/users/resources/v2/types/UserMetadata.d.ts +19 -0
- package/dist/api/resources/users/resources/v2/types/UserMetadata.js +3 -0
- package/dist/api/resources/users/resources/v2/types/UserV2.d.ts +24 -0
- package/dist/api/resources/users/resources/v2/types/UserV2.js +3 -0
- package/dist/api/resources/users/resources/v2/types/index.d.ts +8 -0
- package/dist/api/resources/users/resources/v2/types/index.js +24 -0
- package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +1 -0
- package/dist/api/resources/x12/resources/v1/types/Carc.js +1 -0
- package/dist/serialization/resources/commons/types/ReportTransmissionCode.d.ts +7 -0
- package/{serialization/resources/encounters/resources/v4 → dist/serialization/resources/commons}/types/ReportTransmissionCode.js +1 -1
- package/{serialization/resources/encounters/resources/v4 → dist/serialization/resources/commons}/types/ReportTypeCode.d.ts +4 -4
- package/dist/serialization/resources/{encounters/resources/v4 → commons}/types/ReportTypeCode.js +1 -1
- package/dist/serialization/resources/commons/types/index.d.ts +2 -0
- package/dist/serialization/resources/commons/types/index.js +2 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +3 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +3 -0
- package/dist/serialization/resources/encounterSupplementalInformation/index.d.ts +1 -0
- package/dist/serialization/resources/encounterSupplementalInformation/index.js +17 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/index.d.ts +1 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/index.js +37 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/create.d.ts +12 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/create.js +69 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/delete.d.ts +12 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/delete.js +69 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/get.d.ts +8 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/get.js +40 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/index.d.ts +4 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/index.js +40 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/update.d.ts +12 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/update.js +69 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/index.js +18 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.d.ts +7 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.js +39 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.d.ts +17 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.js +49 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.d.ts +21 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.js +53 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.d.ts +7 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.js +43 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.d.ts +17 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.js +49 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/index.d.ts +5 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/index.js +21 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +2 -2
- package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.js +2 -2
- package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +2 -2
- package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +2 -2
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -2
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +0 -2
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +4 -2
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +2 -2
- package/dist/serialization/resources/users/index.d.ts +1 -0
- package/dist/serialization/resources/users/index.js +17 -0
- package/dist/serialization/resources/users/resources/index.d.ts +1 -0
- package/dist/serialization/resources/users/resources/index.js +37 -0
- package/dist/serialization/resources/users/resources/v2/index.d.ts +1 -0
- package/dist/serialization/resources/users/resources/v2/index.js +17 -0
- package/dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +9 -0
- package/dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js +41 -0
- package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +9 -0
- package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +41 -0
- package/dist/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +11 -0
- package/dist/serialization/resources/users/resources/v2/types/HumanUserMetadata.js +43 -0
- package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +19 -0
- package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +51 -0
- package/dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +9 -0
- package/dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.js +41 -0
- package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +9 -0
- package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +41 -0
- package/dist/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +15 -0
- package/dist/serialization/resources/users/resources/v2/types/UserMetadata.js +49 -0
- package/dist/serialization/resources/users/resources/v2/types/UserV2.d.ts +16 -0
- package/dist/serialization/resources/users/resources/v2/types/UserV2.js +48 -0
- package/dist/serialization/resources/users/resources/v2/types/index.d.ts +8 -0
- package/dist/serialization/resources/users/resources/v2/types/index.js +24 -0
- package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
- package/dist/serialization/resources/x12/resources/v1/types/Carc.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +235 -2
- package/serialization/resources/commons/types/ReportTransmissionCode.d.ts +7 -0
- package/{dist/serialization/resources/encounters/resources/v4 → serialization/resources/commons}/types/ReportTransmissionCode.js +1 -1
- package/{dist/serialization/resources/encounters/resources/v4 → serialization/resources/commons}/types/ReportTypeCode.d.ts +4 -4
- package/serialization/resources/{encounters/resources/v4 → commons}/types/ReportTypeCode.js +1 -1
- package/serialization/resources/commons/types/index.d.ts +2 -0
- package/serialization/resources/commons/types/index.js +2 -0
- package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +3 -0
- package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +3 -0
- package/serialization/resources/encounterSupplementalInformation/index.d.ts +1 -0
- package/serialization/resources/encounterSupplementalInformation/index.js +17 -0
- package/serialization/resources/encounterSupplementalInformation/resources/index.d.ts +1 -0
- package/serialization/resources/encounterSupplementalInformation/resources/index.js +37 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/client/create.d.ts +12 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/client/create.js +69 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/client/delete.d.ts +12 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/client/delete.js +69 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/client/get.d.ts +8 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/client/get.js +40 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/client/index.d.ts +4 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/client/index.js +40 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/client/update.d.ts +12 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/client/update.js +69 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/index.d.ts +2 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/index.js +18 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.d.ts +7 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.js +39 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.d.ts +17 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.js +49 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.d.ts +21 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.js +53 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.d.ts +7 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.js +43 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.d.ts +17 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.js +49 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/index.d.ts +5 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/index.js +21 -0
- package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +2 -2
- package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.js +2 -2
- package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +2 -2
- package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +2 -2
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -2
- package/serialization/resources/encounters/resources/v4/types/index.js +0 -2
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +4 -2
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +1 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +2 -2
- package/serialization/resources/users/index.d.ts +1 -0
- package/serialization/resources/users/index.js +17 -0
- package/serialization/resources/users/resources/index.d.ts +1 -0
- package/serialization/resources/users/resources/index.js +37 -0
- package/serialization/resources/users/resources/v2/index.d.ts +1 -0
- package/serialization/resources/users/resources/v2/index.js +17 -0
- package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +9 -0
- package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js +41 -0
- package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +9 -0
- package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +41 -0
- package/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +11 -0
- package/serialization/resources/users/resources/v2/types/HumanUserMetadata.js +43 -0
- package/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +19 -0
- package/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +51 -0
- package/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +9 -0
- package/serialization/resources/users/resources/v2/types/MachineUserMetadata.js +41 -0
- package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +9 -0
- package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +41 -0
- package/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +15 -0
- package/serialization/resources/users/resources/v2/types/UserMetadata.js +49 -0
- package/serialization/resources/users/resources/v2/types/UserV2.d.ts +16 -0
- package/serialization/resources/users/resources/v2/types/UserV2.js +48 -0
- package/serialization/resources/users/resources/v2/types/index.d.ts +8 -0
- package/serialization/resources/users/resources/v2/types/index.js +24 -0
- package/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
- package/serialization/resources/x12/resources/v1/types/Carc.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/dist/serialization/resources/encounters/resources/v4/types/ReportTransmissionCode.d.ts +0 -7
- package/serialization/resources/encounters/resources/v4/types/ReportTransmissionCode.d.ts +0 -7
- /package/api/resources/{encounters/resources/v4 → commons}/types/ReportTransmissionCode.d.ts +0 -0
- /package/api/resources/{encounters/resources/v4 → commons}/types/ReportTransmissionCode.js +0 -0
- /package/api/resources/{encounters/resources/v4 → commons}/types/ReportTypeCode.d.ts +0 -0
- /package/api/resources/{encounters/resources/v4 → commons}/types/ReportTypeCode.js +0 -0
- /package/dist/api/resources/{encounters/resources/v4 → commons}/types/ReportTransmissionCode.d.ts +0 -0
- /package/dist/api/resources/{encounters/resources/v4 → commons}/types/ReportTransmissionCode.js +0 -0
- /package/dist/api/resources/{encounters/resources/v4 → commons}/types/ReportTypeCode.d.ts +0 -0
- /package/dist/api/resources/{encounters/resources/v4 → commons}/types/ReportTypeCode.js +0 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.UpdateSupplementalInformationRequest = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
const ReportTransmissionCode_1 = require("../../../../commons/types/ReportTransmissionCode");
|
|
40
|
+
const ReportTypeCode_1 = require("../../../../commons/types/ReportTypeCode");
|
|
41
|
+
const AttachmentId_1 = require("../../../../encounterAttachments/resources/v1/types/AttachmentId");
|
|
42
|
+
const AttachmentInclusion_1 = require("./AttachmentInclusion");
|
|
43
|
+
exports.UpdateSupplementalInformationRequest = core.serialization.object({
|
|
44
|
+
attachmentId: core.serialization.property("attachment_id", AttachmentId_1.AttachmentId.optional()),
|
|
45
|
+
attachmentReportTypeCode: core.serialization.property("attachment_report_type_code", ReportTypeCode_1.ReportTypeCode.optional()),
|
|
46
|
+
attachmentTransmissionCode: core.serialization.property("attachment_transmission_code", ReportTransmissionCode_1.ReportTransmissionCode.optional()),
|
|
47
|
+
attachmentControlNumber: core.serialization.property("attachment_control_number", core.serialization.string().optional()),
|
|
48
|
+
attachmentInclusion: core.serialization.property("attachment_inclusion", AttachmentInclusion_1.AttachmentInclusion.optional()),
|
|
49
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
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("./AttachmentInclusion"), exports);
|
|
18
|
+
__exportStar(require("./CreateSupplementalInformationRequest"), exports);
|
|
19
|
+
__exportStar(require("./SupplementalInformation"), exports);
|
|
20
|
+
__exportStar(require("./SupplementalInformationId"), exports);
|
|
21
|
+
__exportStar(require("./UpdateSupplementalInformationRequest"), exports);
|
package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type * as CandidApi from "../../../../../../api/index";
|
|
2
2
|
import * as core from "../../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../../index";
|
|
4
|
-
import { ReportTransmissionCode } from "
|
|
5
|
-
import { ReportTypeCode } from "
|
|
4
|
+
import { ReportTransmissionCode } from "../../../../commons/types/ReportTransmissionCode";
|
|
5
|
+
import { ReportTypeCode } from "../../../../commons/types/ReportTypeCode";
|
|
6
6
|
export declare const ClaimSupplementalInformation: core.serialization.ObjectSchema<serializers.encounters.v4.ClaimSupplementalInformation.Raw, CandidApi.encounters.v4.ClaimSupplementalInformation>;
|
|
7
7
|
export declare namespace ClaimSupplementalInformation {
|
|
8
8
|
interface Raw {
|
package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.js
CHANGED
|
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ClaimSupplementalInformation = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../../core"));
|
|
39
|
-
const ReportTransmissionCode_1 = require("
|
|
40
|
-
const ReportTypeCode_1 = require("
|
|
39
|
+
const ReportTransmissionCode_1 = require("../../../../commons/types/ReportTransmissionCode");
|
|
40
|
+
const ReportTypeCode_1 = require("../../../../commons/types/ReportTypeCode");
|
|
41
41
|
exports.ClaimSupplementalInformation = core.serialization.object({
|
|
42
42
|
attachmentReportTypeCode: core.serialization.property("attachment_report_type_code", ReportTypeCode_1.ReportTypeCode),
|
|
43
43
|
attachmentTransmissionCode: core.serialization.property("attachment_transmission_code", ReportTransmissionCode_1.ReportTransmissionCode),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type * as CandidApi from "../../../../../../api/index";
|
|
2
2
|
import * as core from "../../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../../index";
|
|
4
|
-
import { ReportTransmissionCode } from "
|
|
5
|
-
import { ReportTypeCode } from "
|
|
4
|
+
import { ReportTransmissionCode } from "../../../../commons/types/ReportTransmissionCode";
|
|
5
|
+
import { ReportTypeCode } from "../../../../commons/types/ReportTypeCode";
|
|
6
6
|
export declare const ClaimSupplementalInformationOptional: core.serialization.ObjectSchema<serializers.encounters.v4.ClaimSupplementalInformationOptional.Raw, CandidApi.encounters.v4.ClaimSupplementalInformationOptional>;
|
|
7
7
|
export declare namespace ClaimSupplementalInformationOptional {
|
|
8
8
|
interface Raw {
|
|
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ClaimSupplementalInformationOptional = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../../core"));
|
|
39
|
-
const ReportTransmissionCode_1 = require("
|
|
40
|
-
const ReportTypeCode_1 = require("
|
|
39
|
+
const ReportTransmissionCode_1 = require("../../../../commons/types/ReportTransmissionCode");
|
|
40
|
+
const ReportTypeCode_1 = require("../../../../commons/types/ReportTypeCode");
|
|
41
41
|
exports.ClaimSupplementalInformationOptional = core.serialization.object({
|
|
42
42
|
attachmentReportTypeCode: core.serialization.property("attachment_report_type_code", ReportTypeCode_1.ReportTypeCode.optional()),
|
|
43
43
|
attachmentTransmissionCode: core.serialization.property("attachment_transmission_code", ReportTransmissionCode_1.ReportTransmissionCode.optional()),
|
|
@@ -49,8 +49,6 @@ export * from "./PatientHistoryCategoryEnum";
|
|
|
49
49
|
export * from "./PatientHistoryCategoryOptional";
|
|
50
50
|
export * from "./PayerPlanGroupPayerDoesNotMatchInsuranceCardError";
|
|
51
51
|
export * from "./PriorAuthorizationNumber";
|
|
52
|
-
export * from "./ReportTransmissionCode";
|
|
53
|
-
export * from "./ReportTypeCode";
|
|
54
52
|
export * from "./ResponsiblePartyType";
|
|
55
53
|
export * from "./RxCui";
|
|
56
54
|
export * from "./SchemaDoesNotExistError";
|
|
@@ -65,8 +65,6 @@ __exportStar(require("./PatientHistoryCategoryEnum"), exports);
|
|
|
65
65
|
__exportStar(require("./PatientHistoryCategoryOptional"), exports);
|
|
66
66
|
__exportStar(require("./PayerPlanGroupPayerDoesNotMatchInsuranceCardError"), exports);
|
|
67
67
|
__exportStar(require("./PriorAuthorizationNumber"), exports);
|
|
68
|
-
__exportStar(require("./ReportTransmissionCode"), exports);
|
|
69
|
-
__exportStar(require("./ReportTypeCode"), exports);
|
|
70
68
|
__exportStar(require("./ResponsiblePartyType"), exports);
|
|
71
69
|
__exportStar(require("./RxCui"), exports);
|
|
72
70
|
__exportStar(require("./SchemaDoesNotExistError"), exports);
|
|
@@ -18,6 +18,7 @@ export * from "./diagnoses/types";
|
|
|
18
18
|
export * as eligibility from "./eligibility";
|
|
19
19
|
export * as encounterAttachments from "./encounterAttachments";
|
|
20
20
|
export * as encounterProviders from "./encounterProviders";
|
|
21
|
+
export * as encounterSupplementalInformation from "./encounterSupplementalInformation";
|
|
21
22
|
export * as encounters from "./encounters";
|
|
22
23
|
export * as encountersUniversal from "./encountersUniversal";
|
|
23
24
|
export * as era from "./era";
|
|
@@ -68,6 +69,7 @@ export * as superbills from "./superbills";
|
|
|
68
69
|
export * as tags from "./tags";
|
|
69
70
|
export * from "./tags/types";
|
|
70
71
|
export * as tasks from "./tasks";
|
|
72
|
+
export * as users from "./users";
|
|
71
73
|
export * as writeOffs from "./writeOffs";
|
|
72
74
|
export * as x12 from "./x12";
|
|
73
75
|
export * as yesNoIndicator from "./yesNoIndicator";
|
|
@@ -36,8 +36,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.yesNoIndicator = exports.x12 = exports.writeOffs = exports.tasks = exports.tags = exports.superbills = exports.serviceLines = exports.serviceFacility = void 0;
|
|
39
|
+
exports.remitDrafts = exports.preEncounter = exports.pipelineCommons = exports.paymentAccountConfigs = exports.payers = exports.payerPlanGroups = exports.patientRefunds = exports.patientPayments = exports.patientAr = exports.organizationServiceFacilities = exports.organizationProviders = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.individual = exports.importInvoice = exports.identifiers = exports.healthCareCodeInformation = exports.guarantor = exports.financials = exports.feeSchedules = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.eraCommons = exports.era = exports.encountersUniversal = exports.encounters = exports.encounterSupplementalInformation = exports.encounterProviders = exports.encounterAttachments = exports.eligibility = exports.diagnoses = exports.customSchemas = exports.credentialing = exports.contracts = exports.commons = exports.clinicalTrials = exports.claims = exports.claimSubmission = exports.chargeCaptureBundles = exports.chargeCapture = exports.billingNotes = exports.auth = void 0;
|
|
40
|
+
exports.yesNoIndicator = exports.x12 = exports.writeOffs = exports.users = exports.tasks = exports.tags = exports.superbills = exports.serviceLines = exports.serviceFacility = exports.remits = void 0;
|
|
41
41
|
exports.auth = __importStar(require("./auth"));
|
|
42
42
|
exports.billingNotes = __importStar(require("./billingNotes"));
|
|
43
43
|
exports.chargeCapture = __importStar(require("./chargeCapture"));
|
|
@@ -58,6 +58,7 @@ __exportStar(require("./diagnoses/types"), exports);
|
|
|
58
58
|
exports.eligibility = __importStar(require("./eligibility"));
|
|
59
59
|
exports.encounterAttachments = __importStar(require("./encounterAttachments"));
|
|
60
60
|
exports.encounterProviders = __importStar(require("./encounterProviders"));
|
|
61
|
+
exports.encounterSupplementalInformation = __importStar(require("./encounterSupplementalInformation"));
|
|
61
62
|
exports.encounters = __importStar(require("./encounters"));
|
|
62
63
|
exports.encountersUniversal = __importStar(require("./encountersUniversal"));
|
|
63
64
|
exports.era = __importStar(require("./era"));
|
|
@@ -108,6 +109,7 @@ exports.superbills = __importStar(require("./superbills"));
|
|
|
108
109
|
exports.tags = __importStar(require("./tags"));
|
|
109
110
|
__exportStar(require("./tags/types"), exports);
|
|
110
111
|
exports.tasks = __importStar(require("./tasks"));
|
|
112
|
+
exports.users = __importStar(require("./users"));
|
|
111
113
|
exports.writeOffs = __importStar(require("./writeOffs"));
|
|
112
114
|
exports.x12 = __importStar(require("./x12"));
|
|
113
115
|
exports.yesNoIndicator = __importStar(require("./yesNoIndicator"));
|
|
@@ -19,6 +19,7 @@ export declare namespace OrganizationServiceFacility {
|
|
|
19
19
|
external_id?: string | null;
|
|
20
20
|
npi?: string | null;
|
|
21
21
|
place_of_service_code?: FacilityTypeCode.Raw | null;
|
|
22
|
+
clia_number?: string | null;
|
|
22
23
|
status?: ServiceFacilityStatus.Raw | null;
|
|
23
24
|
operational_status?: ServiceFacilityOperationalStatus.Raw | null;
|
|
24
25
|
mode?: ServiceFacilityMode.Raw | null;
|
|
@@ -52,6 +52,7 @@ exports.OrganizationServiceFacility = core.serialization.object({
|
|
|
52
52
|
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
53
53
|
npi: core.serialization.string().optional(),
|
|
54
54
|
placeOfServiceCode: core.serialization.property("place_of_service_code", FacilityTypeCode_1.FacilityTypeCode.optional()),
|
|
55
|
+
cliaNumber: core.serialization.property("clia_number", core.serialization.string().optional()),
|
|
55
56
|
status: ServiceFacilityStatus_1.ServiceFacilityStatus.optional(),
|
|
56
57
|
operationalStatus: core.serialization.property("operational_status", ServiceFacilityOperationalStatus_1.ServiceFacilityOperationalStatus.optional()),
|
|
57
58
|
mode: ServiceFacilityMode_1.ServiceFacilityMode.optional(),
|
|
@@ -17,6 +17,7 @@ export declare namespace OrganizationServiceFacilityCreate {
|
|
|
17
17
|
external_id?: string | null;
|
|
18
18
|
npi?: string | null;
|
|
19
19
|
place_of_service_code?: FacilityTypeCode.Raw | null;
|
|
20
|
+
clia_number?: string | null;
|
|
20
21
|
status?: ServiceFacilityStatus.Raw | null;
|
|
21
22
|
operational_status?: ServiceFacilityOperationalStatus.Raw | null;
|
|
22
23
|
mode?: ServiceFacilityMode.Raw | null;
|
|
@@ -50,6 +50,7 @@ exports.OrganizationServiceFacilityCreate = core.serialization.object({
|
|
|
50
50
|
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
51
51
|
npi: core.serialization.string().optional(),
|
|
52
52
|
placeOfServiceCode: core.serialization.property("place_of_service_code", FacilityTypeCode_1.FacilityTypeCode.optional()),
|
|
53
|
+
cliaNumber: core.serialization.property("clia_number", core.serialization.string().optional()),
|
|
53
54
|
status: ServiceFacilityStatus_1.ServiceFacilityStatus.optional(),
|
|
54
55
|
operationalStatus: core.serialization.property("operational_status", ServiceFacilityOperationalStatus_1.ServiceFacilityOperationalStatus.optional()),
|
|
55
56
|
mode: ServiceFacilityMode_1.ServiceFacilityMode.optional(),
|
|
@@ -17,6 +17,7 @@ export declare namespace OrganizationServiceFacilityUpdate {
|
|
|
17
17
|
external_id?: string | null;
|
|
18
18
|
npi?: string | null;
|
|
19
19
|
place_of_service_code?: FacilityTypeCode.Raw | null;
|
|
20
|
+
clia_number?: string | null;
|
|
20
21
|
status?: ServiceFacilityStatus.Raw | null;
|
|
21
22
|
operational_status?: ServiceFacilityOperationalStatus.Raw | null;
|
|
22
23
|
mode?: ServiceFacilityMode.Raw | null;
|
|
@@ -50,6 +50,7 @@ exports.OrganizationServiceFacilityUpdate = core.serialization.object({
|
|
|
50
50
|
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
51
51
|
npi: core.serialization.string().optional(),
|
|
52
52
|
placeOfServiceCode: core.serialization.property("place_of_service_code", FacilityTypeCode_1.FacilityTypeCode.optional()),
|
|
53
|
+
cliaNumber: core.serialization.property("clia_number", core.serialization.string().optional()),
|
|
53
54
|
status: ServiceFacilityStatus_1.ServiceFacilityStatus.optional(),
|
|
54
55
|
operationalStatus: core.serialization.property("operational_status", ServiceFacilityOperationalStatus_1.ServiceFacilityOperationalStatus.optional()),
|
|
55
56
|
mode: ServiceFacilityMode_1.ServiceFacilityMode.optional(),
|
package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type * as CandidApi from "../../../../../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../../../../index";
|
|
4
4
|
import { PatientId } from "../../../../common/types/PatientId";
|
|
5
|
-
import {
|
|
5
|
+
import { CoverageStatus } from "../../../../coverages/resources/v1/types/CoverageStatus";
|
|
6
6
|
import { MutablePatientWithMrn } from "../../../../patients/resources/v1/types/MutablePatientWithMrn";
|
|
7
7
|
import { AppointmentStatus } from "./AppointmentStatus";
|
|
8
8
|
export declare const Visit: core.serialization.ObjectSchema<serializers.preEncounter.appointments.v1.Visit.Raw, CandidApi.preEncounter.appointments.v1.Visit>;
|
|
@@ -12,6 +12,6 @@ export declare namespace Visit {
|
|
|
12
12
|
patient: MutablePatientWithMrn.Raw;
|
|
13
13
|
start_time: string;
|
|
14
14
|
status: AppointmentStatus.Raw;
|
|
15
|
-
|
|
15
|
+
primary_coverage_status?: CoverageStatus.Raw | null;
|
|
16
16
|
}
|
|
17
17
|
}
|
package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js
CHANGED
|
@@ -37,7 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.Visit = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../../../../core"));
|
|
39
39
|
const PatientId_1 = require("../../../../common/types/PatientId");
|
|
40
|
-
const
|
|
40
|
+
const CoverageStatus_1 = require("../../../../coverages/resources/v1/types/CoverageStatus");
|
|
41
41
|
const MutablePatientWithMrn_1 = require("../../../../patients/resources/v1/types/MutablePatientWithMrn");
|
|
42
42
|
const AppointmentStatus_1 = require("./AppointmentStatus");
|
|
43
43
|
exports.Visit = core.serialization.object({
|
|
@@ -45,5 +45,5 @@ exports.Visit = core.serialization.object({
|
|
|
45
45
|
patient: MutablePatientWithMrn_1.MutablePatientWithMrn,
|
|
46
46
|
startTime: core.serialization.property("start_time", core.serialization.date()),
|
|
47
47
|
status: AppointmentStatus_1.AppointmentStatus,
|
|
48
|
-
|
|
48
|
+
primaryCoverageStatus: core.serialization.property("primary_coverage_status", CoverageStatus_1.CoverageStatus.optional()),
|
|
49
49
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./resources";
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v2 from "./v2";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.v2 = void 0;
|
|
37
|
+
exports.v2 = __importStar(require("./v2"));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
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);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
export declare const AuthZeroMetadata: core.serialization.ObjectSchema<serializers.users.v2.AuthZeroMetadata.Raw, CandidApi.users.v2.AuthZeroMetadata>;
|
|
5
|
+
export declare namespace AuthZeroMetadata {
|
|
6
|
+
interface Raw {
|
|
7
|
+
auth0_id: string;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.AuthZeroMetadata = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
exports.AuthZeroMetadata = core.serialization.object({
|
|
40
|
+
auth0Id: core.serialization.property("auth0_id", core.serialization.string()),
|
|
41
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
export declare const GoogleAppsMetadata: core.serialization.ObjectSchema<serializers.users.v2.GoogleAppsMetadata.Raw, CandidApi.users.v2.GoogleAppsMetadata>;
|
|
5
|
+
export declare namespace GoogleAppsMetadata {
|
|
6
|
+
interface Raw {
|
|
7
|
+
google_apps_id: string;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.GoogleAppsMetadata = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
exports.GoogleAppsMetadata = core.serialization.object({
|
|
40
|
+
googleAppsId: core.serialization.property("google_apps_id", core.serialization.string()),
|
|
41
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
export declare const HumanUserMetadata: core.serialization.ObjectSchema<serializers.users.v2.HumanUserMetadata.Raw, CandidApi.users.v2.HumanUserMetadata>;
|
|
5
|
+
export declare namespace HumanUserMetadata {
|
|
6
|
+
interface Raw {
|
|
7
|
+
first_name: string;
|
|
8
|
+
last_name: string;
|
|
9
|
+
email: string;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.HumanUserMetadata = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
exports.HumanUserMetadata = core.serialization.object({
|
|
40
|
+
firstName: core.serialization.property("first_name", core.serialization.string()),
|
|
41
|
+
lastName: core.serialization.property("last_name", core.serialization.string()),
|
|
42
|
+
email: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { AuthZeroMetadata } from "./AuthZeroMetadata";
|
|
5
|
+
import { GoogleAppsMetadata } from "./GoogleAppsMetadata";
|
|
6
|
+
import { OtherIdpMetadata } from "./OtherIdpMetadata";
|
|
7
|
+
export declare const IdpUserMetadata: core.serialization.Schema<serializers.users.v2.IdpUserMetadata.Raw, CandidApi.users.v2.IdpUserMetadata>;
|
|
8
|
+
export declare namespace IdpUserMetadata {
|
|
9
|
+
type Raw = IdpUserMetadata.AuthZeroMetadata | IdpUserMetadata.GoogleAppsMetadata | IdpUserMetadata.OtherIdpMetadata;
|
|
10
|
+
interface AuthZeroMetadata extends AuthZeroMetadata.Raw {
|
|
11
|
+
type: "auth_zero_metadata";
|
|
12
|
+
}
|
|
13
|
+
interface GoogleAppsMetadata extends GoogleAppsMetadata.Raw {
|
|
14
|
+
type: "google_apps_metadata";
|
|
15
|
+
}
|
|
16
|
+
interface OtherIdpMetadata extends OtherIdpMetadata.Raw {
|
|
17
|
+
type: "other_idp_metadata";
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.IdpUserMetadata = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
const AuthZeroMetadata_1 = require("./AuthZeroMetadata");
|
|
40
|
+
const GoogleAppsMetadata_1 = require("./GoogleAppsMetadata");
|
|
41
|
+
const OtherIdpMetadata_1 = require("./OtherIdpMetadata");
|
|
42
|
+
exports.IdpUserMetadata = core.serialization
|
|
43
|
+
.union("type", {
|
|
44
|
+
auth_zero_metadata: AuthZeroMetadata_1.AuthZeroMetadata,
|
|
45
|
+
google_apps_metadata: GoogleAppsMetadata_1.GoogleAppsMetadata,
|
|
46
|
+
other_idp_metadata: OtherIdpMetadata_1.OtherIdpMetadata,
|
|
47
|
+
})
|
|
48
|
+
.transform({
|
|
49
|
+
transform: (value) => value,
|
|
50
|
+
untransform: (value) => value,
|
|
51
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
export declare const MachineUserMetadata: core.serialization.ObjectSchema<serializers.users.v2.MachineUserMetadata.Raw, CandidApi.users.v2.MachineUserMetadata>;
|
|
5
|
+
export declare namespace MachineUserMetadata {
|
|
6
|
+
interface Raw {
|
|
7
|
+
name: string;
|
|
8
|
+
}
|
|
9
|
+
}
|