candidhealth 0.43.0 → 0.43.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 +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -239
- package/api/resources/chargeCapture/resources/v1/client/Client.js +16 -249
- package/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
- package/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
- package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -118
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -118
- package/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -6
- package/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +3 -3
- package/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +6 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +5 -0
- package/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
- package/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +4 -4
- package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +3 -1
- package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +2 -0
- package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
- package/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
- package/api/resources/encounters/resources/v4/client/Client.d.ts +100 -110
- package/api/resources/encounters/resources/v4/client/Client.js +105 -115
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +83 -9
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -97
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +21 -1
- package/api/resources/guarantor/resources/v1/client/Client.js +24 -4
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- 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.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
- package/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -239
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +16 -249
- package/dist/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -118
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -118
- package/dist/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -6
- package/dist/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +6 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +5 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +3 -1
- package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +2 -0
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +100 -110
- package/dist/api/resources/encounters/resources/v4/client/Client.js +105 -115
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +83 -9
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -97
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +21 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +24 -4
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- 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.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
- package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +5 -3
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +3 -1
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +1 -1
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +181 -358
- package/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
- package/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
- package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
- package/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
- package/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -1
- package/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +5 -3
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
- package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +3 -1
- package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +1 -1
- package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -9,9 +9,10 @@ import { UnauthorizedErrorMessage } from "../../../../commons/types/Unauthorized
|
|
|
9
9
|
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
10
10
|
import { SchemaInstanceValidationFailure } from "../../../../encounters/resources/v4/types/SchemaInstanceValidationFailure";
|
|
11
11
|
import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
|
|
12
|
+
import { ChargeExternalIdConflictErrorMessage } from "../types/ChargeExternalIdConflictErrorMessage";
|
|
12
13
|
export declare const Error: core.serialization.Schema<serializers.chargeCapture.v1.create.Error.Raw, CandidApi.chargeCapture.v1.create.Error>;
|
|
13
14
|
export declare namespace Error {
|
|
14
|
-
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.UnprocessableEntityError;
|
|
15
|
+
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.UnprocessableEntityError | Error.ChargeExternalIdConflictError;
|
|
15
16
|
interface EntityNotFoundError {
|
|
16
17
|
errorName: "EntityNotFoundError";
|
|
17
18
|
content: EntityNotFoundErrorMessage.Raw;
|
|
@@ -32,4 +33,8 @@ export declare namespace Error {
|
|
|
32
33
|
errorName: "UnprocessableEntityError";
|
|
33
34
|
content: UnprocessableEntityErrorMessage.Raw;
|
|
34
35
|
}
|
|
36
|
+
interface ChargeExternalIdConflictError {
|
|
37
|
+
errorName: "ChargeExternalIdConflictError";
|
|
38
|
+
content: ChargeExternalIdConflictErrorMessage.Raw;
|
|
39
|
+
}
|
|
35
40
|
}
|
|
@@ -55,6 +55,7 @@ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/Unauthoriz
|
|
|
55
55
|
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
56
56
|
const SchemaInstanceValidationFailure_1 = require("../../../../encounters/resources/v4/types/SchemaInstanceValidationFailure");
|
|
57
57
|
const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
58
|
+
const ChargeExternalIdConflictErrorMessage_1 = require("../types/ChargeExternalIdConflictErrorMessage");
|
|
58
59
|
exports.Error = core.serialization
|
|
59
60
|
.union("errorName", {
|
|
60
61
|
EntityNotFoundError: core.serialization.object({
|
|
@@ -72,6 +73,9 @@ exports.Error = core.serialization
|
|
|
72
73
|
UnprocessableEntityError: core.serialization.object({
|
|
73
74
|
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
74
75
|
}),
|
|
76
|
+
ChargeExternalIdConflictError: core.serialization.object({
|
|
77
|
+
content: ChargeExternalIdConflictErrorMessage_1.ChargeExternalIdConflictErrorMessage,
|
|
78
|
+
}),
|
|
75
79
|
})
|
|
76
80
|
.transform({
|
|
77
81
|
transform: (value) => {
|
|
@@ -86,6 +90,8 @@ exports.Error = core.serialization
|
|
|
86
90
|
return CandidApi.chargeCapture.v1.create.Error.schemaInstanceValidationHttpFailure(value.content);
|
|
87
91
|
case "UnprocessableEntityError":
|
|
88
92
|
return CandidApi.chargeCapture.v1.create.Error.unprocessableEntityError(value.content);
|
|
93
|
+
case "ChargeExternalIdConflictError":
|
|
94
|
+
return CandidApi.chargeCapture.v1.create.Error.chargeExternalIdConflictError(value.content);
|
|
89
95
|
}
|
|
90
96
|
},
|
|
91
97
|
untransform: (_a) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * as create from "./create";
|
|
2
2
|
export * as delete from "./delete";
|
|
3
3
|
export * as update from "./update";
|
|
4
|
-
export * as
|
|
4
|
+
export * as updatePostBilledChanges from "./updatePostBilledChanges";
|
|
5
5
|
export * from "./requests";
|
|
@@ -36,9 +36,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.updatePostBilledChanges = exports.update = exports.delete = exports.create = void 0;
|
|
40
40
|
exports.create = __importStar(require("./create"));
|
|
41
41
|
exports.delete = __importStar(require("./delete"));
|
|
42
42
|
exports.update = __importStar(require("./update"));
|
|
43
|
-
exports.
|
|
43
|
+
exports.updatePostBilledChanges = __importStar(require("./updatePostBilledChanges"));
|
|
44
44
|
__exportStar(require("./requests"), exports);
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
import * as serializers from "../../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../core";
|
|
7
|
+
import { ChargeCapturePostBilledChangeId } from "../../../../../commons/types/ChargeCapturePostBilledChangeId";
|
|
7
8
|
export declare const ChargeCapturePostBilledChangeUpdate: core.serialization.Schema<serializers.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate.Raw, CandidApi.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate>;
|
|
8
9
|
export declare namespace ChargeCapturePostBilledChangeUpdate {
|
|
9
10
|
interface Raw {
|
|
11
|
+
charge_capture_change_ids: ChargeCapturePostBilledChangeId.Raw[];
|
|
10
12
|
resolved: boolean;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -38,6 +38,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ChargeCapturePostBilledChangeUpdate = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../../core"));
|
|
41
|
+
const ChargeCapturePostBilledChangeId_1 = require("../../../../../commons/types/ChargeCapturePostBilledChangeId");
|
|
41
42
|
exports.ChargeCapturePostBilledChangeUpdate = core.serialization.object({
|
|
43
|
+
chargeCaptureChangeIds: core.serialization.property("charge_capture_change_ids", core.serialization.list(ChargeCapturePostBilledChangeId_1.ChargeCapturePostBilledChangeId)),
|
|
42
44
|
resolved: core.serialization.boolean(),
|
|
43
45
|
});
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
+
import { ChargeCapturePostBilledChange } from "../types/ChargeCapturePostBilledChange";
|
|
7
8
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
8
9
|
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
9
|
-
export declare const
|
|
10
|
+
export declare const Response: core.serialization.Schema<serializers.chargeCapture.v1.updatePostBilledChanges.Response.Raw, CandidApi.chargeCapture.v1.ChargeCapturePostBilledChange[]>;
|
|
11
|
+
export declare namespace Response {
|
|
12
|
+
type Raw = ChargeCapturePostBilledChange.Raw[];
|
|
13
|
+
}
|
|
14
|
+
export declare const Error: core.serialization.Schema<serializers.chargeCapture.v1.updatePostBilledChanges.Error.Raw, CandidApi.chargeCapture.v1.updatePostBilledChanges.Error>;
|
|
10
15
|
export declare namespace Error {
|
|
11
16
|
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
|
|
12
17
|
interface EntityNotFoundError {
|
|
@@ -47,11 +47,13 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
47
47
|
return t;
|
|
48
48
|
};
|
|
49
49
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
-
exports.Error = void 0;
|
|
50
|
+
exports.Error = exports.Response = void 0;
|
|
51
51
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
52
52
|
const core = __importStar(require("../../../../../../core"));
|
|
53
|
+
const ChargeCapturePostBilledChange_1 = require("../types/ChargeCapturePostBilledChange");
|
|
53
54
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
54
55
|
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
56
|
+
exports.Response = core.serialization.list(ChargeCapturePostBilledChange_1.ChargeCapturePostBilledChange);
|
|
55
57
|
exports.Error = core.serialization
|
|
56
58
|
.union("errorName", {
|
|
57
59
|
EntityNotFoundError: core.serialization.object({
|
|
@@ -65,9 +67,9 @@ exports.Error = core.serialization
|
|
|
65
67
|
transform: (value) => {
|
|
66
68
|
switch (value.errorName) {
|
|
67
69
|
case "EntityNotFoundError":
|
|
68
|
-
return CandidApi.chargeCapture.v1.
|
|
70
|
+
return CandidApi.chargeCapture.v1.updatePostBilledChanges.Error.entityNotFoundError(value.content);
|
|
69
71
|
case "UnauthorizedError":
|
|
70
|
-
return CandidApi.chargeCapture.v1.
|
|
72
|
+
return CandidApi.chargeCapture.v1.updatePostBilledChanges.Error.unauthorizedError(value.content);
|
|
71
73
|
}
|
|
72
74
|
},
|
|
73
75
|
untransform: (_a) => {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const ChargeExternalIdConflictErrorMessage: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeExternalIdConflictErrorMessage.Raw, CandidApi.chargeCapture.v1.ChargeExternalIdConflictErrorMessage>;
|
|
8
|
+
export declare namespace ChargeExternalIdConflictErrorMessage {
|
|
9
|
+
interface Raw {
|
|
10
|
+
message?: string | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ChargeExternalIdConflictErrorMessage = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.ChargeExternalIdConflictErrorMessage = core.serialization.object({
|
|
42
|
+
message: core.serialization.string().optional(),
|
|
43
|
+
});
|
|
@@ -21,3 +21,4 @@ __exportStar(require("./ChargeCaptureError"), exports);
|
|
|
21
21
|
__exportStar(require("./ChargeCaptureSortField"), exports);
|
|
22
22
|
__exportStar(require("./ChargeCaptureStatus"), exports);
|
|
23
23
|
__exportStar(require("./ChargeCapturePostBilledChange"), exports);
|
|
24
|
+
__exportStar(require("./ChargeExternalIdConflictErrorMessage"), exports);
|
|
@@ -8,13 +8,15 @@ import { ChargeCaptureClaimCreationId } from "../../../../commons/types/ChargeCa
|
|
|
8
8
|
import { EncounterId } from "../../../../commons/types/EncounterId";
|
|
9
9
|
import { ChargeCaptureClaimCreationStatus } from "./ChargeCaptureClaimCreationStatus";
|
|
10
10
|
import { ChargeCaptureError } from "../../../../chargeCapture/resources/v1/types/ChargeCaptureError";
|
|
11
|
+
import { ChargeCaptureData } from "../../../../chargeCapture/resources/v1/types/ChargeCaptureData";
|
|
11
12
|
export declare const ChargeCaptureClaimCreation: core.serialization.ObjectSchema<serializers.chargeCaptureBundles.v1.ChargeCaptureClaimCreation.Raw, CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreation>;
|
|
12
13
|
export declare namespace ChargeCaptureClaimCreation {
|
|
13
14
|
interface Raw {
|
|
14
15
|
id: ChargeCaptureClaimCreationId.Raw;
|
|
15
16
|
created_encounter_id?: EncounterId.Raw | null;
|
|
16
17
|
status: ChargeCaptureClaimCreationStatus.Raw;
|
|
17
|
-
characteristics: Record<string,
|
|
18
|
+
characteristics: Record<string, unknown | null | undefined>;
|
|
18
19
|
errors: ChargeCaptureError.Raw[];
|
|
20
|
+
encounter_creation_input?: ChargeCaptureData.Raw | null;
|
|
19
21
|
}
|
|
20
22
|
}
|
|
@@ -42,10 +42,12 @@ const ChargeCaptureClaimCreationId_1 = require("../../../../commons/types/Charge
|
|
|
42
42
|
const EncounterId_1 = require("../../../../commons/types/EncounterId");
|
|
43
43
|
const ChargeCaptureClaimCreationStatus_1 = require("./ChargeCaptureClaimCreationStatus");
|
|
44
44
|
const ChargeCaptureError_1 = require("../../../../chargeCapture/resources/v1/types/ChargeCaptureError");
|
|
45
|
+
const ChargeCaptureData_1 = require("../../../../chargeCapture/resources/v1/types/ChargeCaptureData");
|
|
45
46
|
exports.ChargeCaptureClaimCreation = core.serialization.object({
|
|
46
47
|
id: ChargeCaptureClaimCreationId_1.ChargeCaptureClaimCreationId,
|
|
47
48
|
createdEncounterId: core.serialization.property("created_encounter_id", EncounterId_1.EncounterId.optional()),
|
|
48
49
|
status: ChargeCaptureClaimCreationStatus_1.ChargeCaptureClaimCreationStatus,
|
|
49
|
-
characteristics: core.serialization.record(core.serialization.string(), core.serialization.
|
|
50
|
+
characteristics: core.serialization.record(core.serialization.string(), core.serialization.unknown().optional()),
|
|
50
51
|
errors: core.serialization.list(ChargeCaptureError_1.ChargeCaptureError),
|
|
52
|
+
encounterCreationInput: core.serialization.property("encounter_creation_input", ChargeCaptureData_1.ChargeCaptureData.optional()),
|
|
51
53
|
});
|
package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const EncounterAttachmentType: core.serialization.Schema<serializers.encounterAttachments.v1.EncounterAttachmentType.Raw, CandidApi.encounterAttachments.v1.EncounterAttachmentType>;
|
|
8
8
|
export declare namespace EncounterAttachmentType {
|
|
9
|
-
type Raw = "DOCUMENTATION";
|
|
9
|
+
type Raw = "DOCUMENTATION" | "EOB" | "OTHER";
|
|
10
10
|
}
|
package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js
CHANGED
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.EncounterAttachmentType = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../core"));
|
|
41
|
-
exports.EncounterAttachmentType = core.serialization.enum_(["DOCUMENTATION"]);
|
|
41
|
+
exports.EncounterAttachmentType = core.serialization.enum_(["DOCUMENTATION", "EOB", "OTHER"]);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.43.
|
|
1
|
+
export declare const SDK_VERSION = "0.43.1";
|
package/version.js
CHANGED