candidhealth 0.10.0 → 0.10.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/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/claimActionsCommons/index.d.ts +1 -0
- package/api/resources/claimActionsCommons/index.js +17 -0
- package/api/resources/claimActionsCommons/types/ClaimAction.d.ts +30 -0
- package/api/resources/claimActionsCommons/types/ClaimAction.js +5 -0
- package/api/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +23 -0
- package/api/resources/claimActionsCommons/types/ClaimActionMetadata.js +5 -0
- package/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +8 -0
- package/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js +5 -0
- package/api/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +21 -0
- package/api/resources/claimActionsCommons/types/CreateTaskConfig.js +5 -0
- package/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +21 -0
- package/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +5 -0
- package/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +14 -0
- package/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js +5 -0
- package/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +8 -0
- package/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js +5 -0
- package/api/resources/claimActionsCommons/types/VoidClaimAction.d.ts +8 -0
- package/api/resources/claimActionsCommons/types/VoidClaimAction.js +5 -0
- package/api/resources/claimActionsCommons/types/index.d.ts +8 -0
- package/api/resources/claimActionsCommons/types/index.js +24 -0
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +8 -1
- package/api/resources/claims/types/Claim.d.ts +37 -1
- package/api/resources/claims/types/ClaimStatus.d.ts +2 -1
- package/api/resources/claims/types/ClaimStatus.js +1 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +36 -1
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +36 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
- package/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +14 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +16 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
- package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -2
- package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +29 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +5 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/financials/types/AllocationTarget.d.ts +4 -1
- package/api/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
- package/api/resources/financials/types/PatientTransactionSource.d.ts +13 -0
- package/api/resources/financials/types/PatientTransactionSource.js +15 -0
- package/api/resources/financials/types/index.d.ts +1 -0
- package/api/resources/financials/types/index.js +1 -0
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -6
- package/api/resources/index.d.ts +4 -0
- package/api/resources/index.js +5 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -3
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -6
- package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
- package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
- package/api/resources/jobs/index.d.ts +1 -0
- package/api/resources/jobs/index.js +17 -0
- package/api/resources/jobs/resources/index.d.ts +1 -0
- package/api/resources/jobs/resources/index.js +27 -0
- package/api/resources/jobs/resources/v1/index.d.ts +1 -0
- package/api/resources/jobs/resources/v1/index.js +17 -0
- package/api/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +29 -0
- package/api/resources/jobs/resources/v1/types/ClaimJobMetadata.js +5 -0
- package/api/resources/jobs/resources/v1/types/Job.d.ts +53 -0
- package/api/resources/jobs/resources/v1/types/Job.js +5 -0
- package/api/resources/jobs/resources/v1/types/JobGroupId.d.ts +8 -0
- package/api/resources/jobs/resources/v1/types/JobGroupId.js +10 -0
- package/api/resources/jobs/resources/v1/types/JobId.d.ts +8 -0
- package/api/resources/jobs/resources/v1/types/JobId.js +10 -0
- package/api/resources/jobs/resources/v1/types/JobMetadata.d.ts +30 -0
- package/api/resources/jobs/resources/v1/types/JobMetadata.js +5 -0
- package/api/resources/jobs/resources/v1/types/JobStatus.d.ts +16 -0
- package/api/resources/jobs/resources/v1/types/JobStatus.js +12 -0
- package/api/resources/jobs/resources/v1/types/index.d.ts +6 -0
- package/api/resources/jobs/resources/v1/types/index.js +22 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.d.ts +0 -3
- package/api/resources/patientPayments/resources/v4/client/Client.js +3 -6
- package/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +0 -3
- package/api/resources/patientRefunds/resources/v1/client/Client.js +3 -6
- package/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/payers/resources/v3/types/PayerIdentifier.d.ts +14 -0
- package/api/resources/payers/resources/v3/types/PayerIdentifier.js +5 -0
- package/api/resources/payers/resources/v3/types/PayerInfo.d.ts +8 -0
- package/api/resources/payers/resources/v3/types/PayerInfo.js +5 -0
- package/api/resources/payers/resources/v3/types/PayerName.d.ts +8 -0
- package/api/resources/payers/resources/v3/types/PayerName.js +10 -0
- package/api/resources/payers/resources/v3/types/index.d.ts +3 -0
- package/api/resources/payers/resources/v3/types/index.js +3 -0
- package/api/resources/tasks/resources/v3/client/Client.d.ts +0 -20
- package/api/resources/tasks/resources/v3/client/Client.js +5 -25
- 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 +27 -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 +12 -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/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +14 -0
- package/api/resources/users/resources/v2/types/HumanUserMetadata.js +5 -0
- package/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +23 -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/UserMetadata.d.ts +21 -0
- package/api/resources/users/resources/v2/types/UserMetadata.js +5 -0
- package/api/resources/users/resources/v2/types/UserV2.d.ts +28 -0
- package/api/resources/users/resources/v2/types/UserV2.js +5 -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/writeOffs/resources/v1/client/Client.d.ts +1 -4
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -7
- package/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +7 -0
- package/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
- package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
- package/api/resources/writeOffs/resources/v1/types/index.d.ts +1 -0
- package/api/resources/writeOffs/resources/v1/types/index.js +1 -0
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/claimActionsCommons/index.d.ts +1 -0
- package/dist/api/resources/claimActionsCommons/index.js +17 -0
- package/dist/api/resources/claimActionsCommons/types/ClaimAction.d.ts +30 -0
- package/dist/api/resources/claimActionsCommons/types/ClaimAction.js +5 -0
- package/dist/api/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +23 -0
- package/dist/api/resources/claimActionsCommons/types/ClaimActionMetadata.js +5 -0
- package/dist/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +8 -0
- package/dist/api/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js +5 -0
- package/dist/api/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +21 -0
- package/dist/api/resources/claimActionsCommons/types/CreateTaskConfig.js +5 -0
- package/dist/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +21 -0
- package/dist/api/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +5 -0
- package/dist/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +14 -0
- package/dist/api/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js +5 -0
- package/dist/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +8 -0
- package/dist/api/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js +5 -0
- package/dist/api/resources/claimActionsCommons/types/VoidClaimAction.d.ts +8 -0
- package/dist/api/resources/claimActionsCommons/types/VoidClaimAction.js +5 -0
- package/dist/api/resources/claimActionsCommons/types/index.d.ts +8 -0
- package/dist/api/resources/claimActionsCommons/types/index.js +24 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +8 -1
- package/dist/api/resources/claims/types/Claim.d.ts +37 -1
- package/dist/api/resources/claims/types/ClaimStatus.d.ts +2 -1
- package/dist/api/resources/claims/types/ClaimStatus.js +1 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +36 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +36 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +14 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +16 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +29 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/financials/types/AllocationTarget.d.ts +4 -1
- package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
- package/dist/api/resources/financials/types/PatientTransactionSource.d.ts +13 -0
- package/dist/api/resources/financials/types/PatientTransactionSource.js +15 -0
- package/dist/api/resources/financials/types/index.d.ts +1 -0
- package/dist/api/resources/financials/types/index.js +1 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -6
- package/dist/api/resources/index.d.ts +4 -0
- package/dist/api/resources/index.js +5 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -3
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -6
- package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
- package/dist/api/resources/jobs/index.d.ts +1 -0
- package/dist/api/resources/jobs/index.js +17 -0
- package/dist/api/resources/jobs/resources/index.d.ts +1 -0
- package/dist/api/resources/jobs/resources/index.js +27 -0
- package/dist/api/resources/jobs/resources/v1/index.d.ts +1 -0
- package/dist/api/resources/jobs/resources/v1/index.js +17 -0
- package/dist/api/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +29 -0
- package/dist/api/resources/jobs/resources/v1/types/ClaimJobMetadata.js +5 -0
- package/dist/api/resources/jobs/resources/v1/types/Job.d.ts +53 -0
- package/dist/api/resources/jobs/resources/v1/types/Job.js +5 -0
- package/dist/api/resources/jobs/resources/v1/types/JobGroupId.d.ts +8 -0
- package/dist/api/resources/jobs/resources/v1/types/JobGroupId.js +10 -0
- package/dist/api/resources/jobs/resources/v1/types/JobId.d.ts +8 -0
- package/dist/api/resources/jobs/resources/v1/types/JobId.js +10 -0
- package/dist/api/resources/jobs/resources/v1/types/JobMetadata.d.ts +30 -0
- package/dist/api/resources/jobs/resources/v1/types/JobMetadata.js +5 -0
- package/dist/api/resources/jobs/resources/v1/types/JobStatus.d.ts +16 -0
- package/dist/api/resources/jobs/resources/v1/types/JobStatus.js +12 -0
- package/dist/api/resources/jobs/resources/v1/types/index.d.ts +6 -0
- package/dist/api/resources/jobs/resources/v1/types/index.js +22 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +0 -3
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +3 -6
- package/dist/api/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +0 -3
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +3 -6
- package/dist/api/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/payers/resources/v3/types/PayerIdentifier.d.ts +14 -0
- package/dist/api/resources/payers/resources/v3/types/PayerIdentifier.js +5 -0
- package/dist/api/resources/payers/resources/v3/types/PayerInfo.d.ts +8 -0
- package/dist/api/resources/payers/resources/v3/types/PayerInfo.js +5 -0
- package/dist/api/resources/payers/resources/v3/types/PayerName.d.ts +8 -0
- package/dist/api/resources/payers/resources/v3/types/PayerName.js +10 -0
- package/dist/api/resources/payers/resources/v3/types/index.d.ts +3 -0
- package/dist/api/resources/payers/resources/v3/types/index.js +3 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +0 -20
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -25
- 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 +27 -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 +12 -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/dist/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +14 -0
- package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.js +5 -0
- package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +23 -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/UserMetadata.d.ts +21 -0
- package/dist/api/resources/users/resources/v2/types/UserMetadata.js +5 -0
- package/dist/api/resources/users/resources/v2/types/UserV2.d.ts +28 -0
- package/dist/api/resources/users/resources/v2/types/UserV2.js +5 -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/writeOffs/resources/v1/client/Client.d.ts +1 -4
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -7
- package/dist/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +7 -0
- package/dist/api/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
- package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/writeOffs/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/claimActionsCommons/index.d.ts +1 -0
- package/dist/serialization/resources/claimActionsCommons/index.js +17 -0
- package/dist/serialization/resources/claimActionsCommons/types/ClaimAction.d.ts +25 -0
- package/dist/serialization/resources/claimActionsCommons/types/ClaimAction.js +42 -0
- package/dist/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +16 -0
- package/dist/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.js +37 -0
- package/dist/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +11 -0
- package/dist/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js +31 -0
- package/dist/serialization/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +16 -0
- package/dist/serialization/resources/claimActionsCommons/types/CreateTaskConfig.js +37 -0
- package/dist/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +13 -0
- package/dist/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +34 -0
- package/dist/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +12 -0
- package/dist/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js +33 -0
- package/dist/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +11 -0
- package/dist/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js +31 -0
- package/dist/serialization/resources/claimActionsCommons/types/VoidClaimAction.d.ts +11 -0
- package/dist/serialization/resources/claimActionsCommons/types/VoidClaimAction.js +31 -0
- package/dist/serialization/resources/claimActionsCommons/types/index.d.ts +8 -0
- package/dist/serialization/resources/claimActionsCommons/types/index.js +24 -0
- package/dist/serialization/resources/claims/types/Claim.d.ts +1 -0
- package/dist/serialization/resources/claims/types/Claim.js +1 -0
- package/dist/serialization/resources/claims/types/ClaimStatus.d.ts +1 -1
- package/dist/serialization/resources/claims/types/ClaimStatus.js +1 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +10 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +40 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +2 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +1 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +20 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +42 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +1 -1
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
- package/dist/serialization/resources/financials/types/AllocationTarget.d.ts +4 -1
- package/dist/serialization/resources/financials/types/AllocationTarget.js +1 -0
- package/dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
- package/dist/serialization/resources/financials/types/AllocationTargetCreate.js +1 -0
- package/dist/serialization/resources/financials/types/PatientTransactionSource.d.ts +10 -0
- package/dist/serialization/resources/financials/types/PatientTransactionSource.js +31 -0
- package/dist/serialization/resources/financials/types/index.d.ts +1 -0
- package/dist/serialization/resources/financials/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +4 -0
- package/dist/serialization/resources/index.js +5 -1
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +1 -1
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
- package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +1 -1
- package/dist/serialization/resources/jobs/index.d.ts +1 -0
- package/dist/serialization/resources/jobs/index.js +17 -0
- package/dist/serialization/resources/jobs/resources/index.d.ts +1 -0
- package/dist/serialization/resources/jobs/resources/index.js +27 -0
- package/dist/serialization/resources/jobs/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/jobs/resources/v1/index.js +17 -0
- package/dist/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +15 -0
- package/dist/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.js +36 -0
- package/dist/serialization/resources/jobs/resources/v1/types/Job.d.ts +18 -0
- package/dist/serialization/resources/jobs/resources/v1/types/Job.js +39 -0
- package/dist/serialization/resources/jobs/resources/v1/types/JobGroupId.d.ts +10 -0
- package/dist/serialization/resources/jobs/resources/v1/types/JobGroupId.js +35 -0
- package/dist/serialization/resources/jobs/resources/v1/types/JobId.d.ts +10 -0
- package/dist/serialization/resources/jobs/resources/v1/types/JobId.js +35 -0
- package/dist/serialization/resources/jobs/resources/v1/types/JobMetadata.d.ts +13 -0
- package/dist/serialization/resources/jobs/resources/v1/types/JobMetadata.js +38 -0
- package/dist/serialization/resources/jobs/resources/v1/types/JobStatus.d.ts +10 -0
- package/dist/serialization/resources/{writeOffs/resources/v1/client/create.js → jobs/resources/v1/types/JobStatus.js} +2 -2
- package/dist/serialization/resources/jobs/resources/v1/types/index.d.ts +6 -0
- package/dist/serialization/resources/jobs/resources/v1/types/index.js +22 -0
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
- package/dist/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -1
- package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
- package/dist/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -1
- package/dist/serialization/resources/payers/resources/v3/types/PayerIdentifier.d.ts +17 -0
- package/dist/serialization/resources/payers/resources/v3/types/PayerIdentifier.js +41 -0
- package/dist/serialization/resources/payers/resources/v3/types/PayerInfo.d.ts +13 -0
- package/dist/serialization/resources/payers/resources/v3/types/PayerInfo.js +34 -0
- package/dist/serialization/resources/payers/resources/v3/types/PayerName.d.ts +10 -0
- package/dist/serialization/resources/payers/resources/v3/types/PayerName.js +35 -0
- package/dist/serialization/resources/payers/resources/v3/types/index.d.ts +3 -0
- package/dist/serialization/resources/payers/resources/v3/types/index.js +3 -0
- 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 +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/{serialization/resources/writeOffs/resources/v1/client/create.js → dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js} +4 -2
- 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/resources/v2/types/HumanUserMetadata.js +34 -0
- 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/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 +8 -0
- package/dist/serialization/resources/users/resources/v2/types/index.js +24 -0
- package/dist/serialization/resources/writeOffs/resources/v1/client/index.d.ts +0 -1
- package/dist/serialization/resources/writeOffs/resources/v1/client/index.js +0 -14
- package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +12 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +33 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +1 -0
- package/package.json +1 -1
- package/serialization/resources/claimActionsCommons/index.d.ts +1 -0
- package/serialization/resources/claimActionsCommons/index.js +17 -0
- package/serialization/resources/claimActionsCommons/types/ClaimAction.d.ts +25 -0
- package/serialization/resources/claimActionsCommons/types/ClaimAction.js +42 -0
- package/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.d.ts +16 -0
- package/serialization/resources/claimActionsCommons/types/ClaimActionMetadata.js +37 -0
- package/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.d.ts +11 -0
- package/serialization/resources/claimActionsCommons/types/CloseTasksAndProcessClaimAction.js +31 -0
- package/serialization/resources/claimActionsCommons/types/CreateTaskConfig.d.ts +16 -0
- package/serialization/resources/claimActionsCommons/types/CreateTaskConfig.js +37 -0
- package/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.d.ts +13 -0
- package/serialization/resources/claimActionsCommons/types/MoveToWorkQueueClaimAction.js +34 -0
- package/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.d.ts +12 -0
- package/serialization/resources/claimActionsCommons/types/ResubmitCorrectedClaimAction.js +33 -0
- package/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.d.ts +11 -0
- package/serialization/resources/claimActionsCommons/types/ResubmitFreshClaimAction.js +31 -0
- package/serialization/resources/claimActionsCommons/types/VoidClaimAction.d.ts +11 -0
- package/serialization/resources/claimActionsCommons/types/VoidClaimAction.js +31 -0
- package/serialization/resources/claimActionsCommons/types/index.d.ts +8 -0
- package/serialization/resources/claimActionsCommons/types/index.js +24 -0
- package/serialization/resources/claims/types/Claim.d.ts +1 -0
- package/serialization/resources/claims/types/Claim.js +1 -0
- package/serialization/resources/claims/types/ClaimStatus.d.ts +1 -1
- package/serialization/resources/claims/types/ClaimStatus.js +1 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.d.ts +10 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/Explanation.js +40 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.d.ts +2 -1
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/IndeterminateNetworkStatus.js +2 -1
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.d.ts +1 -1
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceType.js +1 -1
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +20 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +42 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.d.ts +1 -1
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/OutOfNetworkStatus.js +1 -1
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +2 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +2 -0
- package/serialization/resources/financials/types/AllocationTarget.d.ts +4 -1
- package/serialization/resources/financials/types/AllocationTarget.js +1 -0
- package/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -1
- package/serialization/resources/financials/types/AllocationTargetCreate.js +1 -0
- package/serialization/resources/financials/types/PatientTransactionSource.d.ts +10 -0
- package/serialization/resources/financials/types/PatientTransactionSource.js +31 -0
- package/serialization/resources/financials/types/index.d.ts +1 -0
- package/serialization/resources/financials/types/index.js +1 -0
- package/serialization/resources/index.d.ts +4 -0
- package/serialization/resources/index.js +5 -1
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.d.ts +1 -1
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefund.js +1 -1
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.d.ts +1 -1
- package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundCreate.js +1 -1
- package/serialization/resources/jobs/index.d.ts +1 -0
- package/serialization/resources/jobs/index.js +17 -0
- package/serialization/resources/jobs/resources/index.d.ts +1 -0
- package/serialization/resources/jobs/resources/index.js +27 -0
- package/serialization/resources/jobs/resources/v1/index.d.ts +1 -0
- package/serialization/resources/jobs/resources/v1/index.js +17 -0
- package/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.d.ts +15 -0
- package/serialization/resources/jobs/resources/v1/types/ClaimJobMetadata.js +36 -0
- package/serialization/resources/jobs/resources/v1/types/Job.d.ts +18 -0
- package/serialization/resources/jobs/resources/v1/types/Job.js +39 -0
- package/serialization/resources/jobs/resources/v1/types/JobGroupId.d.ts +10 -0
- package/serialization/resources/jobs/resources/v1/types/JobGroupId.js +35 -0
- package/serialization/resources/jobs/resources/v1/types/JobId.d.ts +10 -0
- package/serialization/resources/jobs/resources/v1/types/JobId.js +35 -0
- package/serialization/resources/jobs/resources/v1/types/JobMetadata.d.ts +13 -0
- package/serialization/resources/jobs/resources/v1/types/JobMetadata.js +38 -0
- package/serialization/resources/jobs/resources/v1/types/JobStatus.d.ts +10 -0
- package/serialization/resources/jobs/resources/v1/types/JobStatus.js +31 -0
- package/serialization/resources/jobs/resources/v1/types/index.d.ts +6 -0
- package/serialization/resources/jobs/resources/v1/types/index.js +22 -0
- package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.d.ts +2 -1
- package/serialization/resources/patientPayments/resources/v4/types/PatientPayment.js +2 -1
- package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.d.ts +2 -1
- package/serialization/resources/patientRefunds/resources/v1/types/PatientRefund.js +2 -1
- package/serialization/resources/payers/resources/v3/types/PayerIdentifier.d.ts +17 -0
- package/serialization/resources/payers/resources/v3/types/PayerIdentifier.js +41 -0
- package/serialization/resources/payers/resources/v3/types/PayerInfo.d.ts +13 -0
- package/serialization/resources/payers/resources/v3/types/PayerInfo.js +34 -0
- package/serialization/resources/payers/resources/v3/types/PayerName.d.ts +10 -0
- package/serialization/resources/payers/resources/v3/types/PayerName.js +35 -0
- package/serialization/resources/payers/resources/v3/types/index.d.ts +3 -0
- package/serialization/resources/payers/resources/v3/types/index.js +3 -0
- 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 +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/resources/v2/types/HumanUserMetadata.js +34 -0
- 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/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 +8 -0
- package/serialization/resources/users/resources/v2/types/index.js +24 -0
- package/serialization/resources/writeOffs/resources/v1/client/index.d.ts +0 -1
- package/serialization/resources/writeOffs/resources/v1/client/index.js +0 -14
- package/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.d.ts +12 -0
- package/serialization/resources/writeOffs/resources/v1/types/CreateWriteOffsResponse.js +33 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +2 -1
- package/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -1
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +2 -1
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -1
- package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/writeOffs/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/writeOffs/resources/v1/client/create.d.ts +0 -10
- package/serialization/resources/writeOffs/resources/v1/client/create.d.ts +0 -10
|
@@ -9,7 +9,8 @@ export declare namespace PatientRefund {
|
|
|
9
9
|
interface Raw {
|
|
10
10
|
patient_refund_id: serializers.patientRefunds.v1.PatientRefundId.Raw;
|
|
11
11
|
organization_id: serializers.OrganizationId.Raw;
|
|
12
|
-
source_internal_id
|
|
12
|
+
source_internal_id?: string | null;
|
|
13
|
+
refund_source: serializers.PatientTransactionSource.Raw;
|
|
13
14
|
amount_cents: number;
|
|
14
15
|
patient_external_id: serializers.PatientExternalId.Raw;
|
|
15
16
|
refund_timestamp?: string | null;
|
|
@@ -31,7 +31,8 @@ const core = __importStar(require("../../../../../../core"));
|
|
|
31
31
|
exports.PatientRefund = core.serialization.object({
|
|
32
32
|
patientRefundId: core.serialization.property("patient_refund_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).patientRefunds.v1.PatientRefundId)),
|
|
33
33
|
organizationId: core.serialization.property("organization_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).OrganizationId)),
|
|
34
|
-
sourceInternalId: core.serialization.property("source_internal_id", core.serialization.string()),
|
|
34
|
+
sourceInternalId: core.serialization.property("source_internal_id", core.serialization.string().optional()),
|
|
35
|
+
refundSource: core.serialization.property("refund_source", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).PatientTransactionSource)),
|
|
35
36
|
amountCents: core.serialization.property("amount_cents", core.serialization.number()),
|
|
36
37
|
patientExternalId: core.serialization.property("patient_external_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).PatientExternalId)),
|
|
37
38
|
refundTimestamp: core.serialization.property("refund_timestamp", core.serialization.date().optional()),
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const PayerIdentifier: core.serialization.Schema<serializers.payers.v3.PayerIdentifier.Raw, CandidApi.payers.v3.PayerIdentifier>;
|
|
8
|
+
export declare namespace PayerIdentifier {
|
|
9
|
+
type Raw = PayerIdentifier.PayerInfo | PayerIdentifier.PayerUuid;
|
|
10
|
+
interface PayerInfo extends serializers.payers.v3.PayerInfo.Raw {
|
|
11
|
+
type: "payer_info";
|
|
12
|
+
}
|
|
13
|
+
interface PayerUuid {
|
|
14
|
+
type: "payer_uuid";
|
|
15
|
+
value: serializers.payers.v3.PayerUuid.Raw;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PayerIdentifier = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.PayerIdentifier = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
payer_info: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).payers.v3.PayerInfo),
|
|
34
|
+
payer_uuid: core.serialization.object({
|
|
35
|
+
value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).payers.v3.PayerUuid),
|
|
36
|
+
}),
|
|
37
|
+
})
|
|
38
|
+
.transform({
|
|
39
|
+
transform: (value) => value,
|
|
40
|
+
untransform: (value) => value,
|
|
41
|
+
});
|
|
@@ -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 PayerInfo: core.serialization.ObjectSchema<serializers.payers.v3.PayerInfo.Raw, CandidApi.payers.v3.PayerInfo>;
|
|
8
|
+
export declare namespace PayerInfo {
|
|
9
|
+
interface Raw {
|
|
10
|
+
payer_id: serializers.payers.v3.PayerId.Raw;
|
|
11
|
+
payer_name: serializers.payers.v3.PayerName.Raw;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PayerInfo = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.PayerInfo = core.serialization.object({
|
|
32
|
+
payerId: core.serialization.property("payer_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).payers.v3.PayerId)),
|
|
33
|
+
payerName: core.serialization.property("payer_name", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).payers.v3.PayerName)),
|
|
34
|
+
});
|
|
@@ -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 PayerName: core.serialization.Schema<serializers.payers.v3.PayerName.Raw, CandidApi.payers.v3.PayerName>;
|
|
8
|
+
export declare namespace PayerName {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PayerName = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.PayerName = core.serialization.string().transform({
|
|
33
|
+
transform: CandidApi.payers.v3.PayerName,
|
|
34
|
+
untransform: (value) => value,
|
|
35
|
+
});
|
|
@@ -16,5 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./PayerUuid"), exports);
|
|
18
18
|
__exportStar(require("./PayerId"), exports);
|
|
19
|
+
__exportStar(require("./PayerName"), exports);
|
|
19
20
|
__exportStar(require("./PayerPage"), exports);
|
|
20
21
|
__exportStar(require("./Payer"), exports);
|
|
22
|
+
__exportStar(require("./PayerInfo"), exports);
|
|
23
|
+
__exportStar(require("./PayerIdentifier"), exports);
|
|
@@ -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,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
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.HumanUserMetadata = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.HumanUserMetadata = core.serialization.object({
|
|
32
|
+
firstName: core.serialization.property("first_name", core.serialization.string()),
|
|
33
|
+
lastName: core.serialization.property("last_name", core.serialization.string()),
|
|
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
|
+
}
|
|
@@ -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.OtherIdpMetadata = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.OtherIdpMetadata = core.serialization.object({
|
|
32
|
+
idpExternalId: core.serialization.property("idp_external_id", core.serialization.string()),
|
|
33
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
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 UserMetadata: core.serialization.Schema<serializers.users.v2.UserMetadata.Raw, CandidApi.users.v2.UserMetadata>;
|
|
8
|
+
export declare namespace UserMetadata {
|
|
9
|
+
type Raw = UserMetadata.MachineUserMetadata | UserMetadata.HumanUserMetadata;
|
|
10
|
+
interface MachineUserMetadata extends serializers.users.v2.MachineUserMetadata.Raw {
|
|
11
|
+
type: "machine_user_metadata";
|
|
12
|
+
}
|
|
13
|
+
interface HumanUserMetadata extends serializers.users.v2.HumanUserMetadata.Raw {
|
|
14
|
+
type: "human_user_metadata";
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.UserMetadata = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.UserMetadata = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
machine_user_metadata: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.MachineUserMetadata),
|
|
34
|
+
human_user_metadata: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.HumanUserMetadata),
|
|
35
|
+
})
|
|
36
|
+
.transform({
|
|
37
|
+
transform: (value) => value,
|
|
38
|
+
untransform: (value) => value,
|
|
39
|
+
});
|