candidhealth 0.3.0 → 0.3.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/client/Client.js +1 -1
- package/api/resources/commons/types/DateRangeOptionalEnd.d.ts +8 -0
- package/api/resources/commons/types/Decimal.d.ts +11 -0
- package/api/resources/commons/types/Decimal.js +10 -0
- package/api/resources/commons/types/EmrPayerCrosswalk.d.ts +8 -0
- package/api/resources/commons/types/EmrPayerCrosswalk.js +10 -0
- package/api/resources/commons/types/UserId.d.ts +8 -0
- package/api/resources/commons/types/index.d.ts +4 -1
- package/api/resources/commons/types/index.js +4 -1
- package/api/resources/encounters/resources/v4/client/Client.js +16 -12
- 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 +0 -1
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -7
- package/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +2 -1
- package/api/resources/encounters/resources/v4/types/BillableStatusType.d.ts +8 -0
- package/api/resources/encounters/resources/v4/types/BillableStatusType.js +10 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +13 -7
- package/api/resources/encounters/resources/v4/types/EncounterGuarantorMissingContactInfoErrorType.d.ts +6 -0
- package/api/resources/encounters/resources/v4/types/ResponsiblePartyType.d.ts +9 -0
- package/api/resources/encounters/resources/v4/types/ResponsiblePartyType.js +11 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +3 -0
- package/api/resources/encounters/resources/v4/types/index.js +3 -0
- package/api/resources/expectedNetworkStatus/client/Client.js +1 -1
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +2 -2
- package/api/resources/guarantor/resources/v1/client/Client.js +20 -6
- package/api/resources/guarantor/resources/v1/client/create.d.ts +7 -1
- package/api/resources/guarantor/resources/v1/client/create.js +11 -0
- package/api/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts +6 -3
- package/api/resources/guarantor/resources/v1/types/EncounterHasExistingGuarantorErrorType.d.ts +6 -0
- package/api/resources/guarantor/resources/v1/types/EncounterHasExistingGuarantorErrorType.js +5 -0
- package/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +4 -0
- package/api/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -2
- package/api/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +6 -0
- package/api/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/api/resources/guarantor/resources/v1/types/index.js +1 -0
- package/api/resources/individual/types/Patient.d.ts +4 -0
- package/api/resources/individual/types/PatientBase.d.ts +0 -1
- package/api/resources/individual/types/PatientCreate.d.ts +6 -0
- package/api/resources/insuranceCard/types/InsuranceCardBase.d.ts +1 -1
- package/api/resources/insuranceCard/types/InsuranceCardCreate.d.ts +1 -0
- package/api/resources/payers/client/Client.js +2 -2
- package/api/resources/serviceLines/types/ServiceLine.d.ts +13 -1
- package/api/resources/serviceLines/types/ServiceLineCreate.d.ts +7 -1
- package/api/resources/tasks/resources/v3/client/Client.js +1 -1
- package/api/resources/users/resources/v2/types/UserV2.d.ts +1 -1
- package/api/resources/users/resources/v2/types/index.d.ts +0 -1
- package/api/resources/users/resources/v2/types/index.js +0 -1
- 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/DateRangeOptionalEnd.d.ts +8 -0
- package/dist/api/resources/commons/types/DateRangeOptionalEnd.js +5 -0
- package/dist/api/resources/commons/types/Decimal.d.ts +11 -0
- package/dist/api/resources/commons/types/Decimal.js +10 -0
- package/dist/api/resources/commons/types/EmrPayerCrosswalk.d.ts +8 -0
- package/dist/api/resources/commons/types/EmrPayerCrosswalk.js +10 -0
- package/dist/api/resources/commons/types/UserId.d.ts +8 -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/encounters/resources/v4/client/Client.js +16 -12
- 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 +0 -1
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -7
- package/dist/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +2 -1
- package/dist/api/resources/encounters/resources/v4/types/BillableStatusType.d.ts +8 -0
- package/dist/api/resources/encounters/resources/v4/types/BillableStatusType.js +10 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +13 -7
- package/dist/api/resources/encounters/resources/v4/types/EncounterGuarantorMissingContactInfoErrorType.d.ts +6 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterGuarantorMissingContactInfoErrorType.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/ResponsiblePartyType.d.ts +9 -0
- package/dist/api/resources/encounters/resources/v4/types/ResponsiblePartyType.js +11 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +3 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +3 -0
- package/dist/api/resources/expectedNetworkStatus/client/Client.js +1 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +2 -2
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +20 -6
- package/dist/api/resources/guarantor/resources/v1/client/create.d.ts +7 -1
- package/dist/api/resources/guarantor/resources/v1/client/create.js +11 -0
- package/dist/api/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts +6 -3
- package/dist/api/resources/guarantor/resources/v1/types/EncounterHasExistingGuarantorErrorType.d.ts +6 -0
- package/dist/api/resources/guarantor/resources/v1/types/EncounterHasExistingGuarantorErrorType.js +5 -0
- package/dist/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +4 -0
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -2
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +6 -0
- package/dist/api/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/guarantor/resources/v1/types/index.js +1 -0
- package/dist/api/resources/individual/types/Patient.d.ts +4 -0
- package/dist/api/resources/individual/types/PatientBase.d.ts +0 -1
- package/dist/api/resources/individual/types/PatientCreate.d.ts +6 -0
- package/dist/api/resources/insuranceCard/types/InsuranceCardBase.d.ts +1 -1
- package/dist/api/resources/insuranceCard/types/InsuranceCardCreate.d.ts +1 -0
- package/dist/api/resources/payers/client/Client.js +2 -2
- package/dist/api/resources/serviceLines/types/ServiceLine.d.ts +13 -1
- package/dist/api/resources/serviceLines/types/ServiceLineCreate.d.ts +7 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/users/resources/v2/types/UserV2.d.ts +1 -1
- package/dist/api/resources/users/resources/v2/types/index.d.ts +0 -1
- package/dist/api/resources/users/resources/v2/types/index.js +0 -1
- package/dist/serialization/resources/commons/types/DateRangeOptionalEnd.d.ts +13 -0
- package/dist/serialization/resources/commons/types/{ContactInfo.js → DateRangeOptionalEnd.js} +4 -6
- package/dist/serialization/resources/commons/types/Decimal.d.ts +10 -0
- package/{serialization/resources/commons/types/ContactInfo.js → dist/serialization/resources/commons/types/Decimal.js} +7 -6
- package/dist/serialization/resources/commons/types/EmrPayerCrosswalk.d.ts +10 -0
- package/dist/serialization/resources/commons/types/EmrPayerCrosswalk.js +31 -0
- package/dist/serialization/resources/commons/types/UserId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/UserId.js +37 -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 +5 -1
- package/dist/serialization/resources/encounters/resources/v4/client/create.js +5 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -1
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +0 -1
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -2
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +6 -2
- package/dist/serialization/resources/encounters/resources/v4/types/BillableStatusType.d.ts +10 -0
- package/dist/serialization/resources/encounters/resources/v4/types/BillableStatusType.js +31 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +3 -2
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +3 -2
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterGuarantorMissingContactInfoErrorType.d.ts +12 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterGuarantorMissingContactInfoErrorType.js +33 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ResponsiblePartyType.d.ts +10 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ResponsiblePartyType.js +31 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +3 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +3 -0
- package/dist/serialization/resources/guarantor/resources/v1/client/create.d.ts +14 -0
- package/dist/serialization/resources/guarantor/resources/v1/client/create.js +46 -0
- package/dist/serialization/resources/guarantor/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/client/index.js +14 -0
- package/dist/serialization/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts +6 -3
- package/dist/serialization/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.js +8 -3
- package/dist/serialization/resources/guarantor/resources/v1/types/EncounterHasExistingGuarantorErrorType.d.ts +12 -0
- package/dist/serialization/resources/{users/resources/v2/types/UserId.js → guarantor/resources/v1/types/EncounterHasExistingGuarantorErrorType.js} +3 -5
- package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +4 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.js +4 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -2
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +1 -2
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +4 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.js +8 -1
- package/dist/serialization/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/individual/types/Patient.d.ts +4 -0
- package/dist/serialization/resources/individual/types/Patient.js +4 -0
- package/dist/serialization/resources/individual/types/PatientBase.d.ts +0 -1
- package/dist/serialization/resources/individual/types/PatientBase.js +0 -1
- package/dist/serialization/resources/individual/types/PatientCreate.d.ts +4 -0
- package/dist/serialization/resources/individual/types/PatientCreate.js +8 -1
- package/dist/serialization/resources/insuranceCard/types/InsuranceCardBase.d.ts +1 -1
- package/dist/serialization/resources/insuranceCard/types/InsuranceCardBase.js +1 -1
- package/dist/serialization/resources/insuranceCard/types/InsuranceCardCreate.d.ts +1 -0
- package/dist/serialization/resources/insuranceCard/types/InsuranceCardCreate.js +1 -0
- package/dist/serialization/resources/serviceLines/types/ServiceLine.d.ts +2 -1
- package/dist/serialization/resources/serviceLines/types/ServiceLine.js +2 -1
- package/dist/serialization/resources/serviceLines/types/ServiceLineCreate.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/types/ServiceLineCreate.js +1 -1
- package/dist/serialization/resources/users/resources/v2/types/UserV2.d.ts +1 -1
- package/dist/serialization/resources/users/resources/v2/types/UserV2.js +1 -1
- package/dist/serialization/resources/users/resources/v2/types/index.d.ts +0 -1
- package/dist/serialization/resources/users/resources/v2/types/index.js +0 -1
- package/package.json +1 -1
- package/serialization/resources/commons/types/DateRangeOptionalEnd.d.ts +13 -0
- package/serialization/resources/commons/types/DateRangeOptionalEnd.js +34 -0
- package/serialization/resources/commons/types/Decimal.d.ts +10 -0
- package/serialization/resources/commons/types/Decimal.js +37 -0
- package/serialization/resources/commons/types/EmrPayerCrosswalk.d.ts +10 -0
- package/serialization/resources/commons/types/EmrPayerCrosswalk.js +31 -0
- package/serialization/resources/commons/types/UserId.d.ts +10 -0
- package/serialization/resources/commons/types/UserId.js +37 -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 +5 -1
- package/serialization/resources/encounters/resources/v4/client/create.js +5 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -1
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +0 -1
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -2
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +6 -2
- package/serialization/resources/encounters/resources/v4/types/BillableStatusType.d.ts +10 -0
- package/serialization/resources/encounters/resources/v4/types/BillableStatusType.js +31 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +3 -2
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +3 -2
- package/serialization/resources/encounters/resources/v4/types/EncounterGuarantorMissingContactInfoErrorType.d.ts +12 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterGuarantorMissingContactInfoErrorType.js +33 -0
- package/serialization/resources/encounters/resources/v4/types/ResponsiblePartyType.d.ts +10 -0
- package/serialization/resources/encounters/resources/v4/types/ResponsiblePartyType.js +31 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +3 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +3 -0
- package/serialization/resources/guarantor/resources/v1/client/create.d.ts +14 -0
- package/serialization/resources/guarantor/resources/v1/client/create.js +46 -0
- package/serialization/resources/guarantor/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/guarantor/resources/v1/client/index.js +14 -0
- package/serialization/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts +6 -3
- package/serialization/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.js +8 -3
- package/serialization/resources/guarantor/resources/v1/types/EncounterHasExistingGuarantorErrorType.d.ts +12 -0
- package/serialization/resources/{users/resources/v2/types/UserId.js → guarantor/resources/v1/types/EncounterHasExistingGuarantorErrorType.js} +3 -5
- package/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +4 -0
- package/serialization/resources/guarantor/resources/v1/types/Guarantor.js +4 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -2
- package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +1 -2
- package/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +4 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.js +8 -1
- package/serialization/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/guarantor/resources/v1/types/index.js +1 -0
- package/serialization/resources/individual/types/Patient.d.ts +4 -0
- package/serialization/resources/individual/types/Patient.js +4 -0
- package/serialization/resources/individual/types/PatientBase.d.ts +0 -1
- package/serialization/resources/individual/types/PatientBase.js +0 -1
- package/serialization/resources/individual/types/PatientCreate.d.ts +4 -0
- package/serialization/resources/individual/types/PatientCreate.js +8 -1
- package/serialization/resources/insuranceCard/types/InsuranceCardBase.d.ts +1 -1
- package/serialization/resources/insuranceCard/types/InsuranceCardBase.js +1 -1
- package/serialization/resources/insuranceCard/types/InsuranceCardCreate.d.ts +1 -0
- package/serialization/resources/insuranceCard/types/InsuranceCardCreate.js +1 -0
- package/serialization/resources/serviceLines/types/ServiceLine.d.ts +2 -1
- package/serialization/resources/serviceLines/types/ServiceLine.js +2 -1
- package/serialization/resources/serviceLines/types/ServiceLineCreate.d.ts +1 -1
- package/serialization/resources/serviceLines/types/ServiceLineCreate.js +1 -1
- package/serialization/resources/users/resources/v2/types/UserV2.d.ts +1 -1
- package/serialization/resources/users/resources/v2/types/UserV2.js +1 -1
- package/serialization/resources/users/resources/v2/types/index.d.ts +0 -1
- package/serialization/resources/users/resources/v2/types/index.js +0 -1
- package/api/resources/commons/types/ContactInfo.d.ts +0 -10
- package/api/resources/users/resources/v2/types/UserId.d.ts +0 -8
- package/dist/api/resources/commons/types/ContactInfo.d.ts +0 -10
- package/dist/api/resources/users/resources/v2/types/UserId.d.ts +0 -8
- package/dist/serialization/resources/commons/types/ContactInfo.d.ts +0 -15
- package/dist/serialization/resources/users/resources/v2/types/UserId.d.ts +0 -10
- package/serialization/resources/commons/types/ContactInfo.d.ts +0 -15
- package/serialization/resources/users/resources/v2/types/UserId.d.ts +0 -10
- /package/api/resources/commons/types/{ContactInfo.js → DateRangeOptionalEnd.js} +0 -0
- /package/api/resources/{users/resources/v2 → commons}/types/UserId.js +0 -0
- /package/{dist/api/resources/commons/types/ContactInfo.js → api/resources/encounters/resources/v4/types/EncounterGuarantorMissingContactInfoErrorType.js} +0 -0
- /package/dist/api/resources/{users/resources/v2 → commons}/types/UserId.js +0 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ResponsiblePartyType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.ResponsiblePartyType = core.serialization.enum_(["INSURANCE_PAY", "SELF_PAY", "UNKNOWN"]);
|
|
@@ -16,6 +16,8 @@ export * from "./ClinicalNoteCategoryCreate";
|
|
|
16
16
|
export * from "./ClinicalNoteCategory";
|
|
17
17
|
export * from "./NoteCategory";
|
|
18
18
|
export * from "./ClinicalNote";
|
|
19
|
+
export * from "./ResponsiblePartyType";
|
|
20
|
+
export * from "./BillableStatusType";
|
|
19
21
|
export * from "./SynchronicityType";
|
|
20
22
|
export * from "./CodingAttributionType";
|
|
21
23
|
export * from "./AttachmentId";
|
|
@@ -37,3 +39,4 @@ export * from "./RxCui";
|
|
|
37
39
|
export * from "./IntakeQuestionId";
|
|
38
40
|
export * from "./IntakeFollowUpId";
|
|
39
41
|
export * from "./EncounterExternalIdUniquenessErrorType";
|
|
42
|
+
export * from "./EncounterGuarantorMissingContactInfoErrorType";
|
|
@@ -32,6 +32,8 @@ __exportStar(require("./ClinicalNoteCategoryCreate"), exports);
|
|
|
32
32
|
__exportStar(require("./ClinicalNoteCategory"), exports);
|
|
33
33
|
__exportStar(require("./NoteCategory"), exports);
|
|
34
34
|
__exportStar(require("./ClinicalNote"), exports);
|
|
35
|
+
__exportStar(require("./ResponsiblePartyType"), exports);
|
|
36
|
+
__exportStar(require("./BillableStatusType"), exports);
|
|
35
37
|
__exportStar(require("./SynchronicityType"), exports);
|
|
36
38
|
__exportStar(require("./CodingAttributionType"), exports);
|
|
37
39
|
__exportStar(require("./AttachmentId"), exports);
|
|
@@ -53,3 +55,4 @@ __exportStar(require("./RxCui"), exports);
|
|
|
53
55
|
__exportStar(require("./IntakeQuestionId"), exports);
|
|
54
56
|
__exportStar(require("./IntakeFollowUpId"), exports);
|
|
55
57
|
__exportStar(require("./EncounterExternalIdUniquenessErrorType"), exports);
|
|
58
|
+
__exportStar(require("./EncounterGuarantorMissingContactInfoErrorType"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
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 Error: core.serialization.Schema<serializers.guarantor.v1.create.Error.Raw, CandidApi.guarantor.v1.create.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.EncounterHasExistingGuarantorError;
|
|
10
|
+
interface EncounterHasExistingGuarantorError {
|
|
11
|
+
errorName: "EncounterHasExistingGuarantorError";
|
|
12
|
+
content: serializers.guarantor.v1.EncounterHasExistingGuarantorErrorType.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.Error = core.serialization
|
|
33
|
+
.union("errorName", {
|
|
34
|
+
EncounterHasExistingGuarantorError: core.serialization.object({
|
|
35
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).guarantor.v1.EncounterHasExistingGuarantorErrorType),
|
|
36
|
+
}),
|
|
37
|
+
})
|
|
38
|
+
.transform({
|
|
39
|
+
transform: (value) => {
|
|
40
|
+
switch (value.errorName) {
|
|
41
|
+
case "EncounterHasExistingGuarantorError":
|
|
42
|
+
return CandidApi.guarantor.v1.create.Error.encounterHasExistingGuarantorError(value.content);
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
untransform: ({ _visit, ...value }) => value,
|
|
46
|
+
});
|
|
@@ -10,8 +10,22 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
11
11
|
o[k2] = m[k];
|
|
12
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
|
+
};
|
|
13
25
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
27
|
};
|
|
16
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.create = void 0;
|
|
30
|
+
exports.create = __importStar(require("./create"));
|
|
17
31
|
__exportStar(require("./requests"), exports);
|
|
@@ -10,8 +10,11 @@ export declare namespace GuarantorUpdate {
|
|
|
10
10
|
first_name?: string | null;
|
|
11
11
|
last_name?: string | null;
|
|
12
12
|
external_id?: string | null;
|
|
13
|
-
date_of_birth
|
|
14
|
-
address?: serializers.
|
|
15
|
-
|
|
13
|
+
date_of_birth?: string | null;
|
|
14
|
+
address?: serializers.StreetAddressShortZip.Raw | null;
|
|
15
|
+
phone_numbers?: serializers.PhoneNumber.Raw[] | null;
|
|
16
|
+
phone_consent?: boolean | null;
|
|
17
|
+
email?: serializers.Email.Raw | null;
|
|
18
|
+
email_consent?: boolean | null;
|
|
16
19
|
}
|
|
17
20
|
}
|
|
@@ -32,9 +32,14 @@ exports.GuarantorUpdate = core.serialization.object({
|
|
|
32
32
|
firstName: core.serialization.property("first_name", core.serialization.string().optional()),
|
|
33
33
|
lastName: core.serialization.property("last_name", core.serialization.string().optional()),
|
|
34
34
|
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
35
|
-
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string()),
|
|
35
|
+
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string().optional()),
|
|
36
36
|
address: core.serialization
|
|
37
|
-
.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).
|
|
37
|
+
.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).StreetAddressShortZip)
|
|
38
38
|
.optional(),
|
|
39
|
-
|
|
39
|
+
phoneNumbers: core.serialization.property("phone_numbers", core.serialization
|
|
40
|
+
.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).PhoneNumber))
|
|
41
|
+
.optional()),
|
|
42
|
+
phoneConsent: core.serialization.property("phone_consent", core.serialization.boolean().optional()),
|
|
43
|
+
email: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Email).optional(),
|
|
44
|
+
emailConsent: core.serialization.property("email_consent", core.serialization.boolean().optional()),
|
|
40
45
|
});
|
|
@@ -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 EncounterHasExistingGuarantorErrorType: core.serialization.ObjectSchema<serializers.guarantor.v1.EncounterHasExistingGuarantorErrorType.Raw, CandidApi.guarantor.v1.EncounterHasExistingGuarantorErrorType>;
|
|
8
|
+
export declare namespace EncounterHasExistingGuarantorErrorType {
|
|
9
|
+
interface Raw {
|
|
10
|
+
message: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -26,10 +26,8 @@ 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 CandidApi = __importStar(require("../../../../../../api"));
|
|
29
|
+
exports.EncounterHasExistingGuarantorErrorType = void 0;
|
|
31
30
|
const core = __importStar(require("../../../../../../core"));
|
|
32
|
-
exports.
|
|
33
|
-
|
|
34
|
-
untransform: (value) => value,
|
|
31
|
+
exports.EncounterHasExistingGuarantorErrorType = core.serialization.object({
|
|
32
|
+
message: core.serialization.string(),
|
|
35
33
|
});
|
|
@@ -8,5 +8,9 @@ export declare const Guarantor: core.serialization.ObjectSchema<serializers.guar
|
|
|
8
8
|
export declare namespace Guarantor {
|
|
9
9
|
interface Raw extends serializers.guarantor.v1.GuarantorBase.Raw {
|
|
10
10
|
guarantor_id: serializers.guarantor.v1.GuarantorId.Raw;
|
|
11
|
+
phone_numbers: serializers.PhoneNumber.Raw[];
|
|
12
|
+
phone_consent: boolean;
|
|
13
|
+
email?: serializers.Email.Raw | null;
|
|
14
|
+
email_consent: boolean;
|
|
11
15
|
}
|
|
12
16
|
}
|
|
@@ -31,5 +31,9 @@ const core = __importStar(require("../../../../../../core"));
|
|
|
31
31
|
exports.Guarantor = core.serialization
|
|
32
32
|
.object({
|
|
33
33
|
guarantorId: core.serialization.property("guarantor_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).guarantor.v1.GuarantorId)),
|
|
34
|
+
phoneNumbers: core.serialization.property("phone_numbers", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).PhoneNumber))),
|
|
35
|
+
phoneConsent: core.serialization.property("phone_consent", core.serialization.boolean()),
|
|
36
|
+
email: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Email).optional(),
|
|
37
|
+
emailConsent: core.serialization.property("email_consent", core.serialization.boolean()),
|
|
34
38
|
})
|
|
35
39
|
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).guarantor.v1.GuarantorBase));
|
|
@@ -11,7 +11,6 @@ export declare namespace GuarantorBase {
|
|
|
11
11
|
last_name: string;
|
|
12
12
|
external_id: string;
|
|
13
13
|
date_of_birth: string;
|
|
14
|
-
address: serializers.
|
|
15
|
-
contact_info: serializers.ContactInfo.Raw;
|
|
14
|
+
address: serializers.StreetAddressShortZip.Raw;
|
|
16
15
|
}
|
|
17
16
|
}
|
|
@@ -33,6 +33,5 @@ exports.GuarantorBase = core.serialization.object({
|
|
|
33
33
|
lastName: core.serialization.property("last_name", core.serialization.string()),
|
|
34
34
|
externalId: core.serialization.property("external_id", core.serialization.string()),
|
|
35
35
|
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string()),
|
|
36
|
-
address: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).
|
|
37
|
-
contactInfo: core.serialization.property("contact_info", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ContactInfo)),
|
|
36
|
+
address: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).StreetAddressShortZip),
|
|
38
37
|
});
|
|
@@ -7,5 +7,9 @@ import * as core from "../../../../../../core";
|
|
|
7
7
|
export declare const GuarantorCreate: core.serialization.ObjectSchema<serializers.guarantor.v1.GuarantorCreate.Raw, CandidApi.guarantor.v1.GuarantorCreate>;
|
|
8
8
|
export declare namespace GuarantorCreate {
|
|
9
9
|
interface Raw extends serializers.guarantor.v1.GuarantorBase.Raw {
|
|
10
|
+
phone_numbers?: serializers.PhoneNumber.Raw[] | null;
|
|
11
|
+
phone_consent?: boolean | null;
|
|
12
|
+
email?: serializers.Email.Raw | null;
|
|
13
|
+
email_consent?: boolean | null;
|
|
10
14
|
}
|
|
11
15
|
}
|
|
@@ -29,5 +29,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.GuarantorCreate = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.GuarantorCreate = core.serialization
|
|
32
|
-
.object({
|
|
32
|
+
.object({
|
|
33
|
+
phoneNumbers: core.serialization.property("phone_numbers", core.serialization
|
|
34
|
+
.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).PhoneNumber))
|
|
35
|
+
.optional()),
|
|
36
|
+
phoneConsent: core.serialization.property("phone_consent", core.serialization.boolean().optional()),
|
|
37
|
+
email: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Email).optional(),
|
|
38
|
+
emailConsent: core.serialization.property("email_consent", core.serialization.boolean().optional()),
|
|
39
|
+
})
|
|
33
40
|
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).guarantor.v1.GuarantorBase));
|
|
@@ -18,3 +18,4 @@ __exportStar(require("./GuarantorId"), exports);
|
|
|
18
18
|
__exportStar(require("./GuarantorBase"), exports);
|
|
19
19
|
__exportStar(require("./Guarantor"), exports);
|
|
20
20
|
__exportStar(require("./GuarantorCreate"), exports);
|
|
21
|
+
__exportStar(require("./EncounterHasExistingGuarantorErrorType"), exports);
|
|
@@ -8,5 +8,9 @@ export declare const Patient: core.serialization.ObjectSchema<serializers.Patien
|
|
|
8
8
|
export declare namespace Patient {
|
|
9
9
|
interface Raw extends serializers.PatientBase.Raw {
|
|
10
10
|
individual_id: serializers.IndividualId.Raw;
|
|
11
|
+
phone_numbers: serializers.PhoneNumber.Raw[];
|
|
12
|
+
phone_consent: boolean;
|
|
13
|
+
email?: serializers.Email.Raw | null;
|
|
14
|
+
email_consent: boolean;
|
|
11
15
|
}
|
|
12
16
|
}
|
|
@@ -31,5 +31,9 @@ const core = __importStar(require("../../../../core"));
|
|
|
31
31
|
exports.Patient = core.serialization
|
|
32
32
|
.object({
|
|
33
33
|
individualId: core.serialization.property("individual_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).IndividualId)),
|
|
34
|
+
phoneNumbers: core.serialization.property("phone_numbers", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).PhoneNumber))),
|
|
35
|
+
phoneConsent: core.serialization.property("phone_consent", core.serialization.boolean()),
|
|
36
|
+
email: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).Email).optional(),
|
|
37
|
+
emailConsent: core.serialization.property("email_consent", core.serialization.boolean()),
|
|
34
38
|
})
|
|
35
39
|
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).PatientBase));
|
|
@@ -33,6 +33,5 @@ exports.PatientBase = core.serialization
|
|
|
33
33
|
externalId: core.serialization.property("external_id", core.serialization.string()),
|
|
34
34
|
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).Date_)),
|
|
35
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
36
|
})
|
|
38
37
|
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).IndividualBase));
|
|
@@ -7,5 +7,9 @@ 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
9
|
interface Raw extends serializers.PatientBase.Raw {
|
|
10
|
+
phone_numbers?: serializers.PhoneNumber.Raw[] | null;
|
|
11
|
+
phone_consent?: boolean | null;
|
|
12
|
+
email?: serializers.Email.Raw | null;
|
|
13
|
+
email_consent?: boolean | null;
|
|
10
14
|
}
|
|
11
15
|
}
|
|
@@ -29,5 +29,12 @@ 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({
|
|
32
|
+
.object({
|
|
33
|
+
phoneNumbers: core.serialization.property("phone_numbers", core.serialization
|
|
34
|
+
.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).PhoneNumber))
|
|
35
|
+
.optional()),
|
|
36
|
+
phoneConsent: core.serialization.property("phone_consent", core.serialization.boolean().optional()),
|
|
37
|
+
email: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).Email).optional(),
|
|
38
|
+
emailConsent: core.serialization.property("email_consent", core.serialization.boolean().optional()),
|
|
39
|
+
})
|
|
33
40
|
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).PatientBase));
|
|
@@ -10,6 +10,6 @@ export declare namespace InsuranceCardBase {
|
|
|
10
10
|
group_number?: string | null;
|
|
11
11
|
plan_name?: string | null;
|
|
12
12
|
plan_type?: serializers.SourceOfPaymentCode.Raw | null;
|
|
13
|
-
insurance_type?:
|
|
13
|
+
insurance_type?: serializers.InsuranceTypeCode.Raw | null;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -32,5 +32,5 @@ exports.InsuranceCardBase = core.serialization.object({
|
|
|
32
32
|
groupNumber: core.serialization.property("group_number", core.serialization.string().optional()),
|
|
33
33
|
planName: core.serialization.property("plan_name", core.serialization.string().optional()),
|
|
34
34
|
planType: core.serialization.property("plan_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).SourceOfPaymentCode).optional()),
|
|
35
|
-
insuranceType: core.serialization.property("insurance_type", core.serialization.
|
|
35
|
+
insuranceType: core.serialization.property("insurance_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).InsuranceTypeCode).optional()),
|
|
36
36
|
});
|
|
@@ -37,5 +37,6 @@ exports.InsuranceCardCreate = core.serialization
|
|
|
37
37
|
rxPcn: core.serialization.property("rx_pcn", core.serialization.string().optional()),
|
|
38
38
|
imageUrlFront: core.serialization.property("image_url_front", core.serialization.string().optional()),
|
|
39
39
|
imageUrlBack: core.serialization.property("image_url_back", core.serialization.string().optional()),
|
|
40
|
+
emrPayerCrosswalk: core.serialization.property("emr_payer_crosswalk", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).EmrPayerCrosswalk).optional()),
|
|
40
41
|
})
|
|
41
42
|
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).InsuranceCardBase));
|
|
@@ -9,8 +9,9 @@ export declare namespace ServiceLine {
|
|
|
9
9
|
interface Raw extends serializers.ServiceLineBaseWithOptionals.Raw {
|
|
10
10
|
service_line_id: serializers.ServiceLineId.Raw;
|
|
11
11
|
procedure_code: string;
|
|
12
|
-
quantity:
|
|
12
|
+
quantity: serializers.Decimal.Raw;
|
|
13
13
|
units: serializers.ServiceLineUnits.Raw;
|
|
14
14
|
claim_id: serializers.ClaimId.Raw;
|
|
15
|
+
date_of_service_range: serializers.DateRangeOptionalEnd.Raw;
|
|
15
16
|
}
|
|
16
17
|
}
|
|
@@ -32,8 +32,9 @@ exports.ServiceLine = core.serialization
|
|
|
32
32
|
.object({
|
|
33
33
|
serviceLineId: core.serialization.property("service_line_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ServiceLineId)),
|
|
34
34
|
procedureCode: core.serialization.property("procedure_code", core.serialization.string()),
|
|
35
|
-
quantity: core.serialization.
|
|
35
|
+
quantity: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).Decimal),
|
|
36
36
|
units: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ServiceLineUnits),
|
|
37
37
|
claimId: core.serialization.property("claim_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ClaimId)),
|
|
38
|
+
dateOfServiceRange: core.serialization.property("date_of_service_range", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).DateRangeOptionalEnd)),
|
|
38
39
|
})
|
|
39
40
|
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ServiceLineBaseWithOptionals));
|
|
@@ -8,7 +8,7 @@ export declare const ServiceLineCreate: core.serialization.ObjectSchema<serializ
|
|
|
8
8
|
export declare namespace ServiceLineCreate {
|
|
9
9
|
interface Raw extends serializers.ServiceLineBase.Raw {
|
|
10
10
|
procedure_code: string;
|
|
11
|
-
quantity:
|
|
11
|
+
quantity: serializers.Decimal.Raw;
|
|
12
12
|
units: serializers.ServiceLineUnits.Raw;
|
|
13
13
|
charge_amount_cents?: number | null;
|
|
14
14
|
diagnosis_pointers: number[];
|
|
@@ -31,7 +31,7 @@ const core = __importStar(require("../../../../core"));
|
|
|
31
31
|
exports.ServiceLineCreate = core.serialization
|
|
32
32
|
.object({
|
|
33
33
|
procedureCode: core.serialization.property("procedure_code", core.serialization.string()),
|
|
34
|
-
quantity: core.serialization.
|
|
34
|
+
quantity: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).Decimal),
|
|
35
35
|
units: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ServiceLineUnits),
|
|
36
36
|
chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
|
|
37
37
|
diagnosisPointers: core.serialization.property("diagnosis_pointers", core.serialization.list(core.serialization.number())),
|
|
@@ -7,7 +7,7 @@ import * as core from "../../../../../../core";
|
|
|
7
7
|
export declare const UserV2: core.serialization.ObjectSchema<serializers.users.v2.UserV2.Raw, CandidApi.users.v2.UserV2>;
|
|
8
8
|
export declare namespace UserV2 {
|
|
9
9
|
interface Raw {
|
|
10
|
-
user_id: serializers.
|
|
10
|
+
user_id: serializers.UserId.Raw;
|
|
11
11
|
idp_metadata: serializers.users.v2.IdpUserMetadata.Raw[];
|
|
12
12
|
primary_organization_id: serializers.OrganizationId.Raw;
|
|
13
13
|
user_metadata: serializers.users.v2.UserMetadata.Raw;
|
|
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.UserV2 = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.UserV2 = core.serialization.object({
|
|
32
|
-
userId: core.serialization.property("user_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).
|
|
32
|
+
userId: core.serialization.property("user_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UserId)),
|
|
33
33
|
idpMetadata: core.serialization.property("idp_metadata", core.serialization.list(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.IdpUserMetadata))),
|
|
34
34
|
primaryOrganizationId: core.serialization.property("primary_organization_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).OrganizationId)),
|
|
35
35
|
userMetadata: core.serialization.property("user_metadata", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).users.v2.UserMetadata)),
|
|
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./HumanUserMetadata"), exports);
|
|
18
|
-
__exportStar(require("./UserId"), exports);
|
|
19
18
|
__exportStar(require("./MachineUserMetadata"), exports);
|
|
20
19
|
__exportStar(require("./UserMetadata"), exports);
|
|
21
20
|
__exportStar(require("./AuthZeroMetadata"), exports);
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as CandidApi from "../../..";
|
|
5
|
-
export interface ContactInfo {
|
|
6
|
-
phoneNumbers: CandidApi.PhoneNumber[];
|
|
7
|
-
phoneConsent: boolean;
|
|
8
|
-
email: CandidApi.Email;
|
|
9
|
-
emailConsent: boolean;
|
|
10
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as CandidApi from "../../../../..";
|
|
5
|
-
export declare type UserId = string & {
|
|
6
|
-
users_v2_UserId: void;
|
|
7
|
-
};
|
|
8
|
-
export declare function UserId(value: string): CandidApi.users.v2.UserId;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as CandidApi from "../../..";
|
|
5
|
-
export interface ContactInfo {
|
|
6
|
-
phoneNumbers: CandidApi.PhoneNumber[];
|
|
7
|
-
phoneConsent: boolean;
|
|
8
|
-
email: CandidApi.Email;
|
|
9
|
-
emailConsent: boolean;
|
|
10
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as CandidApi from "../../../../..";
|
|
5
|
-
export declare type UserId = string & {
|
|
6
|
-
users_v2_UserId: void;
|
|
7
|
-
};
|
|
8
|
-
export declare function UserId(value: string): CandidApi.users.v2.UserId;
|
|
@@ -1,15 +0,0 @@
|
|
|
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 ContactInfo: core.serialization.ObjectSchema<serializers.ContactInfo.Raw, CandidApi.ContactInfo>;
|
|
8
|
-
export declare namespace ContactInfo {
|
|
9
|
-
interface Raw {
|
|
10
|
-
phone_numbers: serializers.PhoneNumber.Raw[];
|
|
11
|
-
phone_consent: boolean;
|
|
12
|
-
email: serializers.Email.Raw;
|
|
13
|
-
email_consent: boolean;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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 UserId: core.serialization.Schema<serializers.users.v2.UserId.Raw, CandidApi.users.v2.UserId>;
|
|
8
|
-
export declare namespace UserId {
|
|
9
|
-
type Raw = string;
|
|
10
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 ContactInfo: core.serialization.ObjectSchema<serializers.ContactInfo.Raw, CandidApi.ContactInfo>;
|
|
8
|
-
export declare namespace ContactInfo {
|
|
9
|
-
interface Raw {
|
|
10
|
-
phone_numbers: serializers.PhoneNumber.Raw[];
|
|
11
|
-
phone_consent: boolean;
|
|
12
|
-
email: serializers.Email.Raw;
|
|
13
|
-
email_consent: boolean;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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 UserId: core.serialization.Schema<serializers.users.v2.UserId.Raw, CandidApi.users.v2.UserId>;
|
|
8
|
-
export declare namespace UserId {
|
|
9
|
-
type Raw = string;
|
|
10
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|