candidhealth 0.1.1 → 0.2.1
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 +11 -6
- 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/ContactInfo.d.ts +10 -0
- package/api/resources/commons/types/Email.d.ts +8 -0
- package/api/resources/commons/types/{Auth0Id.js → Email.js} +3 -3
- package/api/resources/commons/types/PhoneNumber.d.ts +8 -0
- package/api/resources/commons/types/PhoneNumberType.d.ts +9 -0
- package/api/resources/commons/types/PhoneNumberType.js +11 -0
- package/api/resources/commons/types/index.d.ts +4 -1
- package/api/resources/commons/types/index.js +4 -1
- package/api/resources/encounterProviders/resources/v2/types/EncounterProviderBase.d.ts +3 -3
- package/api/resources/encounters/resources/v4/client/Client.js +36 -8
- package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/create.js +11 -0
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -0
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +7 -0
- package/api/resources/encounters/resources/v4/client/update.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/update.js +11 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -1
- package/api/resources/encounters/resources/v4/types/EncounterExternalIdUniquenessErrorType.d.ts +7 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/api/resources/encounters/resources/v4/types/index.js +1 -0
- package/api/resources/expectedNetworkStatus/client/Client.js +1 -1
- package/api/resources/guarantor/client/Client.d.ts +18 -0
- package/api/resources/guarantor/client/Client.js +18 -0
- package/api/resources/guarantor/client/index.d.ts +1 -0
- package/api/resources/guarantor/client/index.js +2 -0
- package/api/resources/guarantor/index.d.ts +2 -0
- package/api/resources/guarantor/index.js +18 -0
- package/api/resources/guarantor/resources/index.d.ts +1 -0
- package/api/resources/guarantor/resources/index.js +27 -0
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +20 -0
- package/api/resources/guarantor/resources/v1/client/Client.js +144 -0
- package/api/resources/guarantor/resources/v1/client/create.d.ts +22 -0
- package/api/resources/guarantor/resources/v1/client/create.js +47 -0
- package/api/resources/guarantor/resources/v1/client/get.d.ts +22 -0
- package/api/resources/guarantor/resources/v1/client/get.js +47 -0
- package/api/resources/guarantor/resources/v1/client/index.d.ts +4 -0
- package/api/resources/guarantor/resources/v1/client/index.js +33 -0
- package/api/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts +12 -0
- package/api/resources/guarantor/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/guarantor/resources/v1/client/requests/index.js +2 -0
- package/api/resources/guarantor/resources/v1/client/update.d.ts +22 -0
- package/api/resources/guarantor/resources/v1/client/update.js +47 -0
- package/api/resources/guarantor/resources/v1/index.d.ts +2 -0
- package/api/resources/guarantor/resources/v1/index.js +18 -0
- package/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +7 -0
- package/api/resources/guarantor/resources/v1/types/Guarantor.js +5 -0
- package/api/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +12 -0
- package/api/resources/guarantor/resources/v1/types/GuarantorBase.js +5 -0
- package/api/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +6 -0
- package/api/resources/guarantor/resources/v1/types/GuarantorCreate.js +5 -0
- package/api/resources/guarantor/resources/v1/types/GuarantorId.d.ts +8 -0
- package/api/resources/guarantor/resources/v1/types/GuarantorId.js +10 -0
- package/api/resources/guarantor/resources/v1/types/index.d.ts +4 -0
- package/api/resources/guarantor/resources/v1/types/index.js +20 -0
- package/api/resources/index.d.ts +2 -2
- package/api/resources/index.js +3 -3
- package/api/resources/individual/types/Patient.d.ts +1 -1
- package/api/resources/individual/types/PatientBase.d.ts +17 -0
- package/api/resources/individual/types/PatientBase.js +5 -0
- package/api/resources/individual/types/PatientCreate.d.ts +1 -11
- package/api/resources/individual/types/index.d.ts +1 -0
- package/api/resources/individual/types/index.js +1 -0
- package/api/resources/patientPayments/resources/index.d.ts +1 -1
- package/api/resources/patientPayments/resources/index.js +2 -2
- package/api/resources/patientPayments/resources/{v2 → v3}/types/PatientPayment.d.ts +4 -4
- package/api/resources/patientPayments/resources/v3/types/PatientPayment.js +5 -0
- package/api/resources/patientPayments/resources/{v2 → v3}/types/PatientPaymentId.d.ts +2 -2
- package/api/resources/payers/client/Client.d.ts +1 -1
- package/api/resources/payers/client/Client.js +4 -4
- package/api/resources/payers/types/Payer.d.ts +2 -1
- package/api/resources/payers/types/PayerUuid.d.ts +8 -0
- package/api/resources/payers/types/PayerUuid.js +10 -0
- package/api/resources/payers/types/index.d.ts +1 -0
- package/api/resources/payers/types/index.js +1 -0
- package/api/resources/users/index.d.ts +1 -1
- package/api/resources/users/index.js +1 -1
- package/api/resources/users/resources/index.d.ts +1 -0
- package/api/resources/users/resources/index.js +27 -0
- package/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +6 -0
- package/api/resources/users/resources/v2/types/AuthZeroMetadata.js +5 -0
- package/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +6 -0
- package/api/resources/users/resources/v2/types/GoogleAppsMetadata.js +5 -0
- package/{dist/api/resources/users/types/User.d.ts → api/resources/users/resources/v2/types/HumanUserMetadata.d.ts} +1 -3
- package/api/resources/users/resources/v2/types/HumanUserMetadata.js +5 -0
- package/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +16 -0
- package/api/resources/users/resources/v2/types/IdpUserMetadata.js +5 -0
- package/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +6 -0
- package/api/resources/users/resources/v2/types/MachineUserMetadata.js +5 -0
- package/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +6 -0
- package/api/resources/users/resources/v2/types/OtherIdpMetadata.js +5 -0
- package/api/resources/users/resources/v2/types/UserId.d.ts +8 -0
- package/{dist/api/resources/commons/types/Auth0Id.js → api/resources/users/resources/v2/types/UserId.js} +3 -3
- package/api/resources/users/resources/v2/types/UserMetadata.d.ts +13 -0
- package/api/resources/users/resources/v2/types/UserMetadata.js +5 -0
- package/api/resources/users/resources/v2/types/UserV2.d.ts +11 -0
- package/api/resources/users/resources/v2/types/UserV2.js +5 -0
- package/api/resources/users/resources/v2/types/index.d.ts +9 -0
- package/api/resources/users/resources/v2/types/index.js +25 -0
- package/api/resources/workQueues/resources/v1/types/WorkQueue.d.ts +1 -1
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +11 -6
- 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/ContactInfo.d.ts +10 -0
- package/dist/api/resources/commons/types/ContactInfo.js +5 -0
- package/dist/api/resources/commons/types/Email.d.ts +8 -0
- package/dist/api/resources/commons/types/Email.js +10 -0
- package/dist/api/resources/commons/types/PhoneNumber.d.ts +8 -0
- package/dist/api/resources/commons/types/PhoneNumber.js +5 -0
- package/dist/api/resources/commons/types/PhoneNumberType.d.ts +9 -0
- package/dist/api/resources/commons/types/PhoneNumberType.js +11 -0
- package/dist/api/resources/commons/types/index.d.ts +4 -1
- package/dist/api/resources/commons/types/index.js +4 -1
- package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProviderBase.d.ts +3 -3
- package/dist/api/resources/encounters/resources/v4/client/Client.js +36 -8
- package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +7 -0
- package/dist/api/resources/encounters/resources/v4/client/update.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/update.js +11 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterExternalIdUniquenessErrorType.d.ts +7 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterExternalIdUniquenessErrorType.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/api/resources/expectedNetworkStatus/client/Client.js +1 -1
- package/dist/api/resources/guarantor/client/Client.d.ts +18 -0
- package/dist/api/resources/guarantor/client/Client.js +18 -0
- package/dist/api/resources/guarantor/client/index.d.ts +1 -0
- package/dist/api/resources/guarantor/client/index.js +2 -0
- package/dist/api/resources/guarantor/index.d.ts +2 -0
- package/dist/api/resources/guarantor/index.js +18 -0
- package/dist/api/resources/guarantor/resources/index.d.ts +1 -0
- package/dist/api/resources/guarantor/resources/index.js +27 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +20 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +144 -0
- package/dist/api/resources/guarantor/resources/v1/client/create.d.ts +22 -0
- package/dist/api/resources/guarantor/resources/v1/client/create.js +47 -0
- package/dist/api/resources/guarantor/resources/v1/client/get.d.ts +22 -0
- package/dist/api/resources/guarantor/resources/v1/client/get.js +47 -0
- package/dist/api/resources/guarantor/resources/v1/client/index.d.ts +4 -0
- package/dist/api/resources/guarantor/resources/v1/client/index.js +33 -0
- package/dist/api/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts +12 -0
- package/dist/api/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.js +5 -0
- package/dist/api/resources/guarantor/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/guarantor/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/guarantor/resources/v1/client/update.d.ts +22 -0
- package/dist/api/resources/guarantor/resources/v1/client/update.js +47 -0
- package/dist/api/resources/guarantor/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/guarantor/resources/v1/index.js +18 -0
- package/dist/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +7 -0
- package/dist/api/resources/guarantor/resources/v1/types/Guarantor.js +5 -0
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +12 -0
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorBase.js +5 -0
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +6 -0
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorCreate.js +5 -0
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorId.d.ts +8 -0
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorId.js +10 -0
- package/dist/api/resources/guarantor/resources/v1/types/index.d.ts +4 -0
- package/dist/api/resources/guarantor/resources/v1/types/index.js +20 -0
- package/dist/api/resources/index.d.ts +2 -2
- package/dist/api/resources/index.js +3 -3
- package/dist/api/resources/individual/types/Patient.d.ts +1 -1
- package/dist/api/resources/individual/types/PatientBase.d.ts +17 -0
- package/dist/api/resources/individual/types/PatientBase.js +5 -0
- package/dist/api/resources/individual/types/PatientCreate.d.ts +1 -11
- package/dist/api/resources/individual/types/index.d.ts +1 -0
- package/dist/api/resources/individual/types/index.js +1 -0
- package/dist/api/resources/patientPayments/resources/index.d.ts +1 -1
- package/dist/api/resources/patientPayments/resources/index.js +2 -2
- package/dist/api/resources/patientPayments/resources/{v2 → v3}/types/PatientPayment.d.ts +4 -4
- package/dist/api/resources/patientPayments/resources/v3/types/PatientPayment.js +5 -0
- package/dist/api/resources/patientPayments/resources/{v2 → v3}/types/PatientPaymentId.d.ts +2 -2
- package/dist/api/resources/payers/client/Client.d.ts +1 -1
- package/dist/api/resources/payers/client/Client.js +4 -4
- package/dist/api/resources/payers/types/Payer.d.ts +2 -1
- package/dist/api/resources/payers/types/PayerUuid.d.ts +8 -0
- package/dist/api/resources/payers/types/PayerUuid.js +10 -0
- package/dist/api/resources/payers/types/index.d.ts +1 -0
- package/dist/api/resources/payers/types/index.js +1 -0
- package/dist/api/resources/users/index.d.ts +1 -1
- package/dist/api/resources/users/index.js +1 -1
- package/dist/api/resources/users/resources/index.d.ts +1 -0
- package/dist/api/resources/users/resources/index.js +27 -0
- package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +6 -0
- package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.js +5 -0
- package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +6 -0
- package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.js +5 -0
- package/{api/resources/users/types/User.d.ts → dist/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts} +1 -3
- package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.js +5 -0
- package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +16 -0
- package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.js +5 -0
- package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +6 -0
- package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.js +5 -0
- package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +6 -0
- package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.js +5 -0
- package/dist/api/resources/users/resources/v2/types/UserId.d.ts +8 -0
- package/dist/api/resources/users/resources/v2/types/UserId.js +10 -0
- package/dist/api/resources/users/resources/v2/types/UserMetadata.d.ts +13 -0
- package/dist/api/resources/users/resources/v2/types/UserMetadata.js +5 -0
- package/dist/api/resources/users/resources/v2/types/UserV2.d.ts +11 -0
- package/dist/api/resources/users/resources/v2/types/UserV2.js +5 -0
- package/dist/api/resources/users/resources/v2/types/index.d.ts +9 -0
- package/dist/api/resources/users/resources/v2/types/index.js +25 -0
- package/dist/api/resources/workQueues/resources/v1/types/WorkQueue.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ContactInfo.d.ts +15 -0
- package/dist/serialization/resources/commons/types/ContactInfo.js +36 -0
- package/dist/serialization/resources/commons/types/{Auth0Id.d.ts → Email.d.ts} +2 -2
- package/dist/serialization/resources/commons/types/{Auth0Id.js → Email.js} +3 -3
- package/dist/serialization/resources/{users/types/User.d.ts → commons/types/PhoneNumber.d.ts} +4 -5
- package/dist/serialization/resources/commons/types/PhoneNumber.js +34 -0
- package/dist/serialization/resources/commons/types/PhoneNumberType.d.ts +10 -0
- package/dist/serialization/resources/commons/types/PhoneNumberType.js +31 -0
- package/dist/serialization/resources/commons/types/index.d.ts +4 -1
- package/dist/serialization/resources/commons/types/index.js +4 -1
- package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +14 -0
- package/dist/serialization/resources/encounters/resources/v4/client/create.js +46 -0
- package/dist/serialization/resources/encounters/resources/v4/client/index.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/index.js +3 -1
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +4 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/update.d.ts +14 -0
- package/dist/serialization/resources/encounters/resources/v4/client/update.js +46 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -1
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterExternalIdUniquenessErrorType.d.ts +12 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterExternalIdUniquenessErrorType.js +33 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/serialization/resources/guarantor/index.d.ts +1 -0
- package/dist/serialization/resources/guarantor/index.js +17 -0
- package/dist/serialization/resources/guarantor/resources/index.d.ts +1 -0
- package/dist/serialization/resources/guarantor/resources/index.js +27 -0
- package/dist/serialization/resources/guarantor/resources/v1/client/index.d.ts +1 -0
- package/{api/resources/users/types → dist/serialization/resources/guarantor/resources/v1/client}/index.js +1 -1
- package/dist/serialization/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts +17 -0
- package/dist/serialization/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.js +40 -0
- package/dist/serialization/resources/guarantor/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/client/requests/index.js +5 -0
- package/dist/serialization/resources/guarantor/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/guarantor/resources/v1/index.js +18 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +12 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.js +35 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +17 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +38 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +11 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.js +33 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorId.d.ts +10 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorId.js +35 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/index.d.ts +4 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/index.js +20 -0
- package/dist/serialization/resources/index.d.ts +2 -2
- package/dist/serialization/resources/index.js +3 -3
- package/dist/serialization/resources/individual/types/Patient.d.ts +1 -1
- package/dist/serialization/resources/individual/types/Patient.js +1 -1
- package/dist/serialization/resources/individual/types/PatientBase.d.ts +15 -0
- package/dist/serialization/resources/individual/types/PatientBase.js +38 -0
- package/dist/serialization/resources/individual/types/PatientCreate.d.ts +1 -4
- package/dist/serialization/resources/individual/types/PatientCreate.js +2 -6
- package/dist/serialization/resources/individual/types/index.d.ts +1 -0
- package/dist/serialization/resources/individual/types/index.js +1 -0
- package/dist/serialization/resources/patientPayments/resources/index.d.ts +1 -1
- package/dist/serialization/resources/patientPayments/resources/index.js +2 -2
- package/dist/serialization/resources/patientPayments/resources/v3/index.d.ts +1 -0
- package/dist/serialization/resources/patientPayments/resources/v3/index.js +17 -0
- package/{serialization/resources/patientPayments/resources/v2 → dist/serialization/resources/patientPayments/resources/v3}/types/PatientPayment.d.ts +5 -5
- package/{serialization/resources/patientPayments/resources/v2 → dist/serialization/resources/patientPayments/resources/v3}/types/PatientPayment.js +4 -4
- package/{serialization/resources/patientPayments/resources/v2 → dist/serialization/resources/patientPayments/resources/v3}/types/PatientPaymentId.d.ts +1 -1
- package/{serialization/resources/patientPayments/resources/v2 → dist/serialization/resources/patientPayments/resources/v3}/types/PatientPaymentId.js +1 -1
- package/{serialization/resources/patientPayments/resources/v2 → dist/serialization/resources/patientPayments/resources/v3}/types/PatientPaymentSource.d.ts +1 -1
- package/dist/serialization/resources/patientPayments/resources/{v2 → v3}/types/PatientPaymentStatus.d.ts +1 -1
- package/dist/serialization/resources/payers/types/Payer.d.ts +1 -1
- package/dist/serialization/resources/payers/types/Payer.js +1 -1
- package/dist/serialization/resources/payers/types/PayerUuid.d.ts +10 -0
- package/dist/serialization/resources/payers/types/PayerUuid.js +37 -0
- package/dist/serialization/resources/payers/types/index.d.ts +1 -0
- package/dist/serialization/resources/payers/types/index.js +1 -0
- package/dist/serialization/resources/users/index.d.ts +1 -1
- package/dist/serialization/resources/users/index.js +1 -1
- package/dist/serialization/resources/users/resources/index.d.ts +1 -0
- package/dist/serialization/resources/users/resources/index.js +27 -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 +12 -0
- package/dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js +33 -0
- package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +12 -0
- package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +33 -0
- package/dist/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +13 -0
- package/dist/serialization/resources/users/{types/User.js → resources/v2/types/HumanUserMetadata.js} +3 -4
- package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +19 -0
- package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +40 -0
- package/dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +12 -0
- package/dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.js +33 -0
- package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +12 -0
- package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +33 -0
- package/dist/serialization/resources/users/resources/v2/types/UserId.d.ts +10 -0
- package/dist/serialization/resources/users/resources/v2/types/UserId.js +35 -0
- package/dist/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +16 -0
- package/dist/serialization/resources/users/resources/v2/types/UserMetadata.js +39 -0
- package/dist/serialization/resources/users/resources/v2/types/UserV2.d.ts +16 -0
- package/dist/serialization/resources/users/resources/v2/types/UserV2.js +37 -0
- package/dist/serialization/resources/users/resources/v2/types/index.d.ts +9 -0
- package/dist/serialization/resources/users/resources/v2/types/index.js +25 -0
- package/dist/serialization/resources/workQueues/resources/v1/types/WorkQueue.d.ts +1 -1
- package/dist/serialization/resources/workQueues/resources/v1/types/WorkQueue.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/commons/types/ContactInfo.d.ts +15 -0
- package/serialization/resources/commons/types/ContactInfo.js +36 -0
- package/serialization/resources/commons/types/{Auth0Id.d.ts → Email.d.ts} +2 -2
- package/serialization/resources/commons/types/{Auth0Id.js → Email.js} +3 -3
- package/serialization/resources/{users/types/User.d.ts → commons/types/PhoneNumber.d.ts} +4 -5
- package/serialization/resources/commons/types/PhoneNumber.js +34 -0
- package/serialization/resources/commons/types/PhoneNumberType.d.ts +10 -0
- package/serialization/resources/commons/types/PhoneNumberType.js +31 -0
- package/serialization/resources/commons/types/index.d.ts +4 -1
- package/serialization/resources/commons/types/index.js +4 -1
- package/serialization/resources/encounters/resources/v4/client/create.d.ts +14 -0
- package/serialization/resources/encounters/resources/v4/client/create.js +46 -0
- package/serialization/resources/encounters/resources/v4/client/index.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/client/index.js +3 -1
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +4 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
- package/serialization/resources/encounters/resources/v4/client/update.d.ts +14 -0
- package/serialization/resources/encounters/resources/v4/client/update.js +46 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -1
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -1
- package/serialization/resources/encounters/resources/v4/types/EncounterExternalIdUniquenessErrorType.d.ts +12 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterExternalIdUniquenessErrorType.js +33 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/serialization/resources/guarantor/index.d.ts +1 -0
- package/serialization/resources/guarantor/index.js +17 -0
- package/serialization/resources/guarantor/resources/index.d.ts +1 -0
- package/serialization/resources/guarantor/resources/index.js +27 -0
- package/serialization/resources/guarantor/resources/v1/client/index.d.ts +1 -0
- package/{dist/api/resources/users/types → serialization/resources/guarantor/resources/v1/client}/index.js +1 -1
- package/serialization/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts +17 -0
- package/serialization/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.js +40 -0
- package/serialization/resources/guarantor/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/guarantor/resources/v1/client/requests/index.js +5 -0
- package/serialization/resources/guarantor/resources/v1/index.d.ts +2 -0
- package/serialization/resources/guarantor/resources/v1/index.js +18 -0
- package/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +12 -0
- package/serialization/resources/guarantor/resources/v1/types/Guarantor.js +35 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +17 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +38 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +11 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.js +33 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorId.d.ts +10 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorId.js +35 -0
- package/serialization/resources/guarantor/resources/v1/types/index.d.ts +4 -0
- package/serialization/resources/guarantor/resources/v1/types/index.js +20 -0
- package/serialization/resources/index.d.ts +2 -2
- package/serialization/resources/index.js +3 -3
- package/serialization/resources/individual/types/Patient.d.ts +1 -1
- package/serialization/resources/individual/types/Patient.js +1 -1
- package/serialization/resources/individual/types/PatientBase.d.ts +15 -0
- package/serialization/resources/individual/types/PatientBase.js +38 -0
- package/serialization/resources/individual/types/PatientCreate.d.ts +1 -4
- package/serialization/resources/individual/types/PatientCreate.js +2 -6
- package/serialization/resources/individual/types/index.d.ts +1 -0
- package/serialization/resources/individual/types/index.js +1 -0
- package/serialization/resources/patientPayments/resources/index.d.ts +1 -1
- package/serialization/resources/patientPayments/resources/index.js +2 -2
- package/serialization/resources/patientPayments/resources/v3/index.d.ts +1 -0
- package/serialization/resources/patientPayments/resources/v3/index.js +17 -0
- package/{dist/serialization/resources/patientPayments/resources/v2 → serialization/resources/patientPayments/resources/v3}/types/PatientPayment.d.ts +5 -5
- package/{dist/serialization/resources/patientPayments/resources/v2 → serialization/resources/patientPayments/resources/v3}/types/PatientPayment.js +4 -4
- package/{dist/serialization/resources/patientPayments/resources/v2 → serialization/resources/patientPayments/resources/v3}/types/PatientPaymentId.d.ts +1 -1
- package/{dist/serialization/resources/patientPayments/resources/v2 → serialization/resources/patientPayments/resources/v3}/types/PatientPaymentId.js +1 -1
- package/{dist/serialization/resources/patientPayments/resources/v2 → serialization/resources/patientPayments/resources/v3}/types/PatientPaymentSource.d.ts +1 -1
- package/serialization/resources/patientPayments/resources/{v2 → v3}/types/PatientPaymentStatus.d.ts +1 -1
- package/serialization/resources/payers/types/Payer.d.ts +1 -1
- package/serialization/resources/payers/types/Payer.js +1 -1
- package/serialization/resources/payers/types/PayerUuid.d.ts +10 -0
- package/serialization/resources/payers/types/PayerUuid.js +37 -0
- package/serialization/resources/payers/types/index.d.ts +1 -0
- package/serialization/resources/payers/types/index.js +1 -0
- package/serialization/resources/users/index.d.ts +1 -1
- package/serialization/resources/users/index.js +1 -1
- package/serialization/resources/users/resources/index.d.ts +1 -0
- package/serialization/resources/users/resources/index.js +27 -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 +12 -0
- package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js +33 -0
- package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +12 -0
- package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +33 -0
- package/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +13 -0
- package/serialization/resources/users/{types/User.js → resources/v2/types/HumanUserMetadata.js} +3 -4
- package/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +19 -0
- package/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +40 -0
- package/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +12 -0
- package/serialization/resources/users/resources/v2/types/MachineUserMetadata.js +33 -0
- package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +12 -0
- package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +33 -0
- package/serialization/resources/users/resources/v2/types/UserId.d.ts +10 -0
- package/serialization/resources/users/resources/v2/types/UserId.js +35 -0
- package/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +16 -0
- package/serialization/resources/users/resources/v2/types/UserMetadata.js +39 -0
- package/serialization/resources/users/resources/v2/types/UserV2.d.ts +16 -0
- package/serialization/resources/users/resources/v2/types/UserV2.js +37 -0
- package/serialization/resources/users/resources/v2/types/index.d.ts +9 -0
- package/serialization/resources/users/resources/v2/types/index.js +25 -0
- package/serialization/resources/workQueues/resources/v1/types/WorkQueue.d.ts +1 -1
- package/serialization/resources/workQueues/resources/v1/types/WorkQueue.js +1 -1
- package/api/resources/commons/types/Auth0Id.d.ts +0 -8
- package/api/resources/users/types/index.d.ts +0 -1
- package/dist/api/resources/commons/types/Auth0Id.d.ts +0 -8
- package/dist/api/resources/users/types/index.d.ts +0 -1
- package/dist/serialization/resources/users/types/index.d.ts +0 -1
- package/dist/serialization/resources/users/types/index.js +0 -17
- package/serialization/resources/users/types/index.d.ts +0 -1
- package/serialization/resources/users/types/index.js +0 -17
- /package/api/resources/{patientPayments/resources/v2/types/PatientPayment.js → commons/types/ContactInfo.js} +0 -0
- /package/api/resources/{users/types/User.js → commons/types/PhoneNumber.js} +0 -0
- /package/{dist/api/resources/patientPayments/resources/v2/types/PatientPayment.js → api/resources/encounters/resources/v4/types/EncounterExternalIdUniquenessErrorType.js} +0 -0
- /package/{dist/api/resources/users/types/User.js → api/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.js} +0 -0
- /package/api/resources/patientPayments/resources/{v2 → v3}/index.d.ts +0 -0
- /package/api/resources/patientPayments/resources/{v2 → v3}/index.js +0 -0
- /package/api/resources/patientPayments/resources/{v2 → v3}/types/PatientPaymentId.js +0 -0
- /package/api/resources/patientPayments/resources/{v2 → v3}/types/PatientPaymentSource.d.ts +0 -0
- /package/api/resources/patientPayments/resources/{v2 → v3}/types/PatientPaymentSource.js +0 -0
- /package/api/resources/patientPayments/resources/{v2 → v3}/types/PatientPaymentStatus.d.ts +0 -0
- /package/api/resources/patientPayments/resources/{v2 → v3}/types/PatientPaymentStatus.js +0 -0
- /package/api/resources/patientPayments/resources/{v2 → v3}/types/index.d.ts +0 -0
- /package/api/resources/patientPayments/resources/{v2 → v3}/types/index.js +0 -0
- /package/{dist/api/resources/patientPayments → api/resources/users}/resources/v2/index.d.ts +0 -0
- /package/{dist/api/resources/patientPayments → api/resources/users}/resources/v2/index.js +0 -0
- /package/dist/{serialization/resources/patientPayments/resources/v2 → api/resources/patientPayments/resources/v3}/index.d.ts +0 -0
- /package/dist/{serialization/resources/patientPayments/resources/v2 → api/resources/patientPayments/resources/v3}/index.js +0 -0
- /package/dist/api/resources/patientPayments/resources/{v2 → v3}/types/PatientPaymentId.js +0 -0
- /package/dist/api/resources/patientPayments/resources/{v2 → v3}/types/PatientPaymentSource.d.ts +0 -0
- /package/dist/api/resources/patientPayments/resources/{v2 → v3}/types/PatientPaymentSource.js +0 -0
- /package/dist/api/resources/patientPayments/resources/{v2 → v3}/types/PatientPaymentStatus.d.ts +0 -0
- /package/dist/api/resources/patientPayments/resources/{v2 → v3}/types/PatientPaymentStatus.js +0 -0
- /package/dist/api/resources/patientPayments/resources/{v2 → v3}/types/index.d.ts +0 -0
- /package/dist/api/resources/patientPayments/resources/{v2 → v3}/types/index.js +0 -0
- /package/{serialization/resources/patientPayments → dist/api/resources/users}/resources/v2/index.d.ts +0 -0
- /package/{serialization/resources/patientPayments → dist/api/resources/users}/resources/v2/index.js +0 -0
- /package/dist/serialization/resources/patientPayments/resources/{v2 → v3}/types/PatientPaymentSource.js +0 -0
- /package/dist/serialization/resources/patientPayments/resources/{v2 → v3}/types/PatientPaymentStatus.js +0 -0
- /package/dist/serialization/resources/patientPayments/resources/{v2 → v3}/types/index.d.ts +0 -0
- /package/dist/serialization/resources/patientPayments/resources/{v2 → v3}/types/index.js +0 -0
- /package/serialization/resources/patientPayments/resources/{v2 → v3}/types/PatientPaymentSource.js +0 -0
- /package/serialization/resources/patientPayments/resources/{v2 → v3}/types/PatientPaymentStatus.js +0 -0
- /package/serialization/resources/patientPayments/resources/{v2 → v3}/types/index.d.ts +0 -0
- /package/serialization/resources/patientPayments/resources/{v2 → v3}/types/index.js +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
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.PatientBase = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.PatientBase = core.serialization
|
|
32
|
+
.object({
|
|
33
|
+
externalId: core.serialization.property("external_id", core.serialization.string()),
|
|
34
|
+
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).Date_)),
|
|
35
|
+
address: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).StreetAddressShortZip),
|
|
36
|
+
contactInfo: core.serialization.property("contact_info", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ContactInfo).optional()),
|
|
37
|
+
})
|
|
38
|
+
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).IndividualBase));
|
|
@@ -6,9 +6,6 @@ import * as CandidApi from "../../../../api";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const PatientCreate: core.serialization.ObjectSchema<serializers.PatientCreate.Raw, CandidApi.PatientCreate>;
|
|
8
8
|
export declare namespace PatientCreate {
|
|
9
|
-
interface Raw extends serializers.
|
|
10
|
-
external_id: string;
|
|
11
|
-
date_of_birth: serializers.Date_.Raw;
|
|
12
|
-
address: serializers.StreetAddressShortZip.Raw;
|
|
9
|
+
interface Raw extends serializers.PatientBase.Raw {
|
|
13
10
|
}
|
|
14
11
|
}
|
|
@@ -29,9 +29,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.PatientCreate = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
31
|
exports.PatientCreate = core.serialization
|
|
32
|
-
.object({
|
|
33
|
-
|
|
34
|
-
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).Date_)),
|
|
35
|
-
address: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).StreetAddressShortZip),
|
|
36
|
-
})
|
|
37
|
-
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).IndividualBase));
|
|
32
|
+
.object({})
|
|
33
|
+
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).PatientBase));
|
|
@@ -20,5 +20,6 @@ __exportStar(require("./SubscriberBase"), exports);
|
|
|
20
20
|
__exportStar(require("./SubscriberCreate"), exports);
|
|
21
21
|
__exportStar(require("./Subscriber"), exports);
|
|
22
22
|
__exportStar(require("./PatientCreate"), exports);
|
|
23
|
+
__exportStar(require("./PatientBase"), exports);
|
|
23
24
|
__exportStar(require("./Patient"), exports);
|
|
24
25
|
__exportStar(require("./Gender"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * as
|
|
1
|
+
export * as v3 from "./v3";
|
|
@@ -23,5 +23,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
26
|
+
exports.v3 = void 0;
|
|
27
|
+
exports.v3 = __importStar(require("./v3"));
|
|
@@ -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);
|
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
import * as serializers from "../../../../..";
|
|
5
5
|
import * as CandidApi from "../../../../../../api";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
export declare const PatientPayment: core.serialization.ObjectSchema<serializers.patientPayments.
|
|
7
|
+
export declare const PatientPayment: core.serialization.ObjectSchema<serializers.patientPayments.v3.PatientPayment.Raw, CandidApi.patientPayments.v3.PatientPayment>;
|
|
8
8
|
export declare namespace PatientPayment {
|
|
9
9
|
interface Raw {
|
|
10
|
-
patient_payment_id: serializers.patientPayments.
|
|
10
|
+
patient_payment_id: serializers.patientPayments.v3.PatientPaymentId.Raw;
|
|
11
11
|
organization_id: serializers.OrganizationId.Raw;
|
|
12
12
|
source_internal_id: string;
|
|
13
|
-
source: serializers.patientPayments.
|
|
13
|
+
source: serializers.patientPayments.v3.PatientPaymentSource.Raw;
|
|
14
14
|
amount_cents: number;
|
|
15
15
|
payment_timestamp?: string | null;
|
|
16
|
-
status?: serializers.patientPayments.
|
|
16
|
+
status?: serializers.patientPayments.v3.PatientPaymentStatus.Raw | null;
|
|
17
17
|
payment_name?: string | null;
|
|
18
18
|
payment_note?: string | null;
|
|
19
19
|
patient_external_id?: serializers.PatientExternalId.Raw | null;
|
|
20
|
-
|
|
20
|
+
encounter_external_id?: serializers.EncounterExternalId.Raw | null;
|
|
21
21
|
service_line_id?: serializers.ServiceLineId.Raw | null;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -29,18 +29,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.PatientPayment = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.PatientPayment = core.serialization.object({
|
|
32
|
-
patientPaymentId: core.serialization.property("patient_payment_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).patientPayments.
|
|
32
|
+
patientPaymentId: core.serialization.property("patient_payment_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).patientPayments.v3.PatientPaymentId)),
|
|
33
33
|
organizationId: core.serialization.property("organization_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).OrganizationId)),
|
|
34
34
|
sourceInternalId: core.serialization.property("source_internal_id", core.serialization.string()),
|
|
35
|
-
source: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).patientPayments.
|
|
35
|
+
source: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).patientPayments.v3.PatientPaymentSource),
|
|
36
36
|
amountCents: core.serialization.property("amount_cents", core.serialization.number()),
|
|
37
37
|
paymentTimestamp: core.serialization.property("payment_timestamp", core.serialization.date().optional()),
|
|
38
38
|
status: core.serialization
|
|
39
|
-
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).patientPayments.
|
|
39
|
+
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).patientPayments.v3.PatientPaymentStatus)
|
|
40
40
|
.optional(),
|
|
41
41
|
paymentName: core.serialization.property("payment_name", core.serialization.string().optional()),
|
|
42
42
|
paymentNote: core.serialization.property("payment_note", core.serialization.string().optional()),
|
|
43
43
|
patientExternalId: core.serialization.property("patient_external_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).PatientExternalId).optional()),
|
|
44
|
-
|
|
44
|
+
encounterExternalId: core.serialization.property("encounter_external_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EncounterExternalId).optional()),
|
|
45
45
|
serviceLineId: core.serialization.property("service_line_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineId).optional()),
|
|
46
46
|
});
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../../../../..";
|
|
5
5
|
import * as CandidApi from "../../../../../../api";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
export declare const PatientPaymentId: core.serialization.Schema<serializers.patientPayments.
|
|
7
|
+
export declare const PatientPaymentId: core.serialization.Schema<serializers.patientPayments.v3.PatientPaymentId.Raw, CandidApi.patientPayments.v3.PatientPaymentId>;
|
|
8
8
|
export declare namespace PatientPaymentId {
|
|
9
9
|
type Raw = string;
|
|
10
10
|
}
|
|
@@ -30,6 +30,6 @@ exports.PatientPaymentId = void 0;
|
|
|
30
30
|
const CandidApi = __importStar(require("../../../../../../api"));
|
|
31
31
|
const core = __importStar(require("../../../../../../core"));
|
|
32
32
|
exports.PatientPaymentId = core.serialization.string().transform({
|
|
33
|
-
transform: CandidApi.patientPayments.
|
|
33
|
+
transform: CandidApi.patientPayments.v3.PatientPaymentId,
|
|
34
34
|
untransform: (value) => value,
|
|
35
35
|
});
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../../../../..";
|
|
5
5
|
import * as CandidApi from "../../../../../../api";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
export declare const PatientPaymentSource: core.serialization.Schema<serializers.patientPayments.
|
|
7
|
+
export declare const PatientPaymentSource: core.serialization.Schema<serializers.patientPayments.v3.PatientPaymentSource.Raw, CandidApi.patientPayments.v3.PatientPaymentSource>;
|
|
8
8
|
export declare namespace PatientPaymentSource {
|
|
9
9
|
type Raw = "MANUAL_ENTRY" | "CHARGEBEE_PAYMENTS" | "CHARGEBEE MANUALLY VOIDED BY CANDID" | "CHARGEBEE_REFUNDS" | "SQUARE_REFUNDS" | "SQUARE_PAYMENTS" | "STRIPE_CHARGES" | "STRIPE_REFUNDS" | "ELATION_PAYMENTS";
|
|
10
10
|
}
|
package/serialization/resources/patientPayments/resources/{v2 → v3}/types/PatientPaymentStatus.d.ts
RENAMED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../../../../..";
|
|
5
5
|
import * as CandidApi from "../../../../../../api";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
export declare const PatientPaymentStatus: core.serialization.Schema<serializers.patientPayments.
|
|
7
|
+
export declare const PatientPaymentStatus: core.serialization.Schema<serializers.patientPayments.v3.PatientPaymentStatus.Raw, CandidApi.patientPayments.v3.PatientPaymentStatus>;
|
|
8
8
|
export declare namespace PatientPaymentStatus {
|
|
9
9
|
type Raw = "PENDING" | "paid" | "CANCELED" | "voided" | "FAILED" | "COMPLETED" | "succeeded" | "pending" | "failed" | "requires_action" | "canceled";
|
|
10
10
|
}
|
|
@@ -7,7 +7,7 @@ import * as core from "../../../../core";
|
|
|
7
7
|
export declare const Payer: core.serialization.ObjectSchema<serializers.Payer.Raw, CandidApi.Payer>;
|
|
8
8
|
export declare namespace Payer {
|
|
9
9
|
interface Raw {
|
|
10
|
-
payer_uuid
|
|
10
|
+
payer_uuid: serializers.PayerUuid.Raw;
|
|
11
11
|
payer_id: string;
|
|
12
12
|
payer_name: string;
|
|
13
13
|
}
|
|
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Payer = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
31
|
exports.Payer = core.serialization.object({
|
|
32
|
-
payerUuid: core.serialization.property("payer_uuid", core.serialization.
|
|
32
|
+
payerUuid: core.serialization.property("payer_uuid", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).PayerUuid)),
|
|
33
33
|
payerId: core.serialization.property("payer_id", core.serialization.string()),
|
|
34
34
|
payerName: core.serialization.property("payer_name", core.serialization.string()),
|
|
35
35
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as CandidApi from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const PayerUuid: core.serialization.Schema<serializers.PayerUuid.Raw, CandidApi.PayerUuid>;
|
|
8
|
+
export declare namespace PayerUuid {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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.PayerUuid = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../api"));
|
|
31
|
+
const core = __importStar(require("../../../../core"));
|
|
32
|
+
exports.PayerUuid = core.serialization
|
|
33
|
+
.string()
|
|
34
|
+
.transform({
|
|
35
|
+
transform: CandidApi.PayerUuid,
|
|
36
|
+
untransform: (value) => value,
|
|
37
|
+
});
|
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./PayerUuid"), exports);
|
|
17
18
|
__exportStar(require("./PayerPage"), exports);
|
|
18
19
|
__exportStar(require("./Payer"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./resources";
|
|
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v2 from "./v2";
|
|
@@ -0,0 +1,27 @@
|
|
|
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 (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.v2 = void 0;
|
|
27
|
+
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,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const AuthZeroMetadata: core.serialization.ObjectSchema<serializers.users.v2.AuthZeroMetadata.Raw, CandidApi.users.v2.AuthZeroMetadata>;
|
|
8
|
+
export declare namespace AuthZeroMetadata {
|
|
9
|
+
interface Raw {
|
|
10
|
+
auth0_id: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.AuthZeroMetadata = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.AuthZeroMetadata = core.serialization.object({
|
|
32
|
+
auth0Id: core.serialization.property("auth0_id", core.serialization.string()),
|
|
33
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const GoogleAppsMetadata: core.serialization.ObjectSchema<serializers.users.v2.GoogleAppsMetadata.Raw, CandidApi.users.v2.GoogleAppsMetadata>;
|
|
8
|
+
export declare namespace GoogleAppsMetadata {
|
|
9
|
+
interface Raw {
|
|
10
|
+
google_apps_id: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.GoogleAppsMetadata = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.GoogleAppsMetadata = core.serialization.object({
|
|
32
|
+
googleAppsId: core.serialization.property("google_apps_id", core.serialization.string()),
|
|
33
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const HumanUserMetadata: core.serialization.ObjectSchema<serializers.users.v2.HumanUserMetadata.Raw, CandidApi.users.v2.HumanUserMetadata>;
|
|
8
|
+
export declare namespace HumanUserMetadata {
|
|
9
|
+
interface Raw {
|
|
10
|
+
first_name: string;
|
|
11
|
+
last_name: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
package/serialization/resources/users/{types/User.js → resources/v2/types/HumanUserMetadata.js}
RENAMED
|
@@ -26,10 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
exports.
|
|
32
|
-
auth0Id: core.serialization.property("auth0_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).Auth0Id)),
|
|
29
|
+
exports.HumanUserMetadata = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.HumanUserMetadata = core.serialization.object({
|
|
33
32
|
firstName: core.serialization.property("first_name", core.serialization.string()),
|
|
34
33
|
lastName: core.serialization.property("last_name", core.serialization.string()),
|
|
35
34
|
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const 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 serializers.users.v2.AuthZeroMetadata.Raw {
|
|
11
|
+
type: "auth_zero_metadata";
|
|
12
|
+
}
|
|
13
|
+
interface GoogleAppsMetadata extends serializers.users.v2.GoogleAppsMetadata.Raw {
|
|
14
|
+
type: "google_apps_metadata";
|
|
15
|
+
}
|
|
16
|
+
interface OtherIdpMetadata extends serializers.users.v2.OtherIdpMetadata.Raw {
|
|
17
|
+
type: "other_idp_metadata";
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.IdpUserMetadata = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.IdpUserMetadata = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
auth_zero_metadata: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.AuthZeroMetadata),
|
|
34
|
+
google_apps_metadata: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.GoogleAppsMetadata),
|
|
35
|
+
other_idp_metadata: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.OtherIdpMetadata),
|
|
36
|
+
})
|
|
37
|
+
.transform({
|
|
38
|
+
transform: (value) => value,
|
|
39
|
+
untransform: (value) => value,
|
|
40
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const MachineUserMetadata: core.serialization.ObjectSchema<serializers.users.v2.MachineUserMetadata.Raw, CandidApi.users.v2.MachineUserMetadata>;
|
|
8
|
+
export declare namespace MachineUserMetadata {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.MachineUserMetadata = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.MachineUserMetadata = core.serialization.object({
|
|
32
|
+
name: core.serialization.string(),
|
|
33
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const OtherIdpMetadata: core.serialization.ObjectSchema<serializers.users.v2.OtherIdpMetadata.Raw, CandidApi.users.v2.OtherIdpMetadata>;
|
|
8
|
+
export declare namespace OtherIdpMetadata {
|
|
9
|
+
interface Raw {
|
|
10
|
+
idp_external_id: string;
|
|
11
|
+
}
|
|
12
|
+
}
|