candidhealth 0.41.2 → 0.41.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -0
- package/Client.js +15 -10
- 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 +1 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.js +7 -9
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -8
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +0 -7
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +0 -5
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +1 -3
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +0 -2
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +5 -0
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +5 -2
- package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -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/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.js +5 -5
- 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.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +3 -2
- 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.js +3 -3
- package/api/resources/superbills/client/Client.d.ts +30 -0
- package/api/resources/superbills/client/Client.js +17 -0
- package/api/resources/superbills/client/index.d.ts +1 -0
- package/api/resources/superbills/client/index.js +2 -0
- package/api/resources/superbills/index.d.ts +2 -0
- package/api/resources/superbills/index.js +18 -0
- package/api/resources/superbills/resources/index.d.ts +1 -0
- package/api/resources/superbills/resources/index.js +37 -0
- package/api/resources/superbills/resources/v1/client/Client.d.ts +49 -0
- package/api/resources/superbills/resources/v1/client/Client.js +137 -0
- package/api/resources/superbills/resources/v1/client/createSuperbill.d.ts +28 -0
- package/api/resources/superbills/resources/v1/client/createSuperbill.js +68 -0
- package/api/resources/superbills/resources/v1/client/index.d.ts +2 -0
- package/api/resources/superbills/resources/v1/client/index.js +41 -0
- package/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +33 -0
- package/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.js +5 -0
- package/api/resources/superbills/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/superbills/resources/v1/client/requests/index.js +2 -0
- package/api/resources/superbills/resources/v1/index.d.ts +2 -0
- package/api/resources/superbills/resources/v1/index.js +18 -0
- package/api/resources/superbills/resources/v1/types/Superbill.d.ts +18 -0
- package/api/resources/superbills/resources/v1/types/Superbill.js +5 -0
- package/api/resources/superbills/resources/v1/types/SuperbillResponse.d.ts +8 -0
- package/api/resources/superbills/resources/v1/types/SuperbillResponse.js +5 -0
- package/api/resources/superbills/resources/v1/types/index.d.ts +2 -0
- package/api/resources/superbills/resources/v1/types/index.js +18 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +15 -10
- 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 +1 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +7 -9
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -8
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +0 -7
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +0 -5
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +1 -3
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +0 -2
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +5 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +5 -2
- package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -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/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
- 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.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +3 -2
- 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.js +3 -3
- package/dist/api/resources/superbills/client/Client.d.ts +30 -0
- package/dist/api/resources/superbills/client/Client.js +17 -0
- package/dist/api/resources/superbills/client/index.d.ts +1 -0
- package/dist/api/resources/superbills/client/index.js +2 -0
- package/dist/api/resources/superbills/index.d.ts +2 -0
- package/dist/api/resources/superbills/index.js +18 -0
- package/dist/api/resources/superbills/resources/index.d.ts +1 -0
- package/dist/api/resources/superbills/resources/index.js +37 -0
- package/dist/api/resources/superbills/resources/v1/client/Client.d.ts +49 -0
- package/dist/api/resources/superbills/resources/v1/client/Client.js +137 -0
- package/dist/api/resources/superbills/resources/v1/client/createSuperbill.d.ts +28 -0
- package/dist/api/resources/superbills/resources/v1/client/createSuperbill.js +68 -0
- package/dist/api/resources/superbills/resources/v1/client/index.d.ts +2 -0
- package/dist/api/resources/superbills/resources/v1/client/index.js +41 -0
- package/dist/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +33 -0
- package/dist/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.js +5 -0
- package/dist/api/resources/superbills/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/superbills/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/superbills/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/superbills/resources/v1/index.js +18 -0
- package/dist/api/resources/superbills/resources/v1/types/Superbill.d.ts +18 -0
- package/dist/api/resources/superbills/resources/v1/types/Superbill.js +5 -0
- package/dist/api/resources/superbills/resources/v1/types/SuperbillResponse.d.ts +8 -0
- package/dist/api/resources/superbills/resources/v1/types/SuperbillResponse.js +5 -0
- package/dist/api/resources/superbills/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/superbills/resources/v1/types/index.js +18 -0
- 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/requests/ChargeCaptureUpdate.d.ts +0 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +0 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +0 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +0 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +0 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +0 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +1 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +1 -9
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +1 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js +1 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -1
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -1
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +3 -2
- package/dist/serialization/resources/superbills/index.d.ts +1 -0
- package/dist/serialization/resources/superbills/index.js +17 -0
- package/dist/serialization/resources/superbills/resources/index.d.ts +1 -0
- package/dist/serialization/resources/superbills/resources/index.js +37 -0
- package/dist/serialization/resources/superbills/resources/v1/client/createSuperbill.d.ts +15 -0
- package/dist/serialization/resources/superbills/resources/v1/client/createSuperbill.js +71 -0
- package/dist/serialization/resources/superbills/resources/v1/client/index.d.ts +2 -0
- package/dist/serialization/resources/superbills/resources/v1/client/index.js +41 -0
- package/dist/serialization/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +17 -0
- package/dist/serialization/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.js +48 -0
- package/dist/serialization/resources/superbills/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/superbills/resources/v1/client/requests/index.js +5 -0
- package/dist/serialization/resources/superbills/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/superbills/resources/v1/index.js +18 -0
- package/dist/serialization/resources/superbills/resources/v1/types/Superbill.d.ts +18 -0
- package/dist/serialization/resources/superbills/resources/v1/types/Superbill.js +49 -0
- package/dist/serialization/resources/superbills/resources/v1/types/SuperbillResponse.d.ts +13 -0
- package/dist/serialization/resources/superbills/resources/v1/types/SuperbillResponse.js +44 -0
- package/dist/serialization/resources/superbills/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/superbills/resources/v1/types/index.js +18 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +62 -2
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +0 -1
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +0 -1
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +0 -1
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +0 -1
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +0 -1
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +0 -1
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +1 -1
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +1 -9
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +1 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js +1 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -1
- package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -1
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +3 -2
- package/serialization/resources/superbills/index.d.ts +1 -0
- package/serialization/resources/superbills/index.js +17 -0
- package/serialization/resources/superbills/resources/index.d.ts +1 -0
- package/serialization/resources/superbills/resources/index.js +37 -0
- package/serialization/resources/superbills/resources/v1/client/createSuperbill.d.ts +15 -0
- package/serialization/resources/superbills/resources/v1/client/createSuperbill.js +71 -0
- package/serialization/resources/superbills/resources/v1/client/index.d.ts +2 -0
- package/serialization/resources/superbills/resources/v1/client/index.js +41 -0
- package/serialization/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +17 -0
- package/serialization/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.js +48 -0
- package/serialization/resources/superbills/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/superbills/resources/v1/client/requests/index.js +5 -0
- package/serialization/resources/superbills/resources/v1/index.d.ts +2 -0
- package/serialization/resources/superbills/resources/v1/index.js +18 -0
- package/serialization/resources/superbills/resources/v1/types/Superbill.d.ts +18 -0
- package/serialization/resources/superbills/resources/v1/types/Superbill.js +49 -0
- package/serialization/resources/superbills/resources/v1/types/SuperbillResponse.d.ts +13 -0
- package/serialization/resources/superbills/resources/v1/types/SuperbillResponse.js +44 -0
- package/serialization/resources/superbills/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/superbills/resources/v1/types/index.js +18 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,44 @@
|
|
|
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.SuperbillResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const Superbill_1 = require("./Superbill");
|
|
42
|
+
exports.SuperbillResponse = core.serialization.object({
|
|
43
|
+
superbills: core.serialization.list(Superbill_1.Superbill),
|
|
44
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./Superbill"), exports);
|
|
18
|
+
__exportStar(require("./SuperbillResponse"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.41.
|
|
1
|
+
export declare const SDK_VERSION = "0.41.5";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -458,7 +458,6 @@ await client.chargeCapture.v1.create({
|
|
|
458
458
|
data: {},
|
|
459
459
|
chargeExternalId: "string",
|
|
460
460
|
ehrSourceUrl: "string",
|
|
461
|
-
dateOfService: "2023-01-15",
|
|
462
461
|
patientExternalId: "string",
|
|
463
462
|
status: "planned",
|
|
464
463
|
});
|
|
@@ -563,7 +562,6 @@ await client.chargeCapture.v1.update(CandidApi.ChargeCaptureId("d5e9c84f-c2b2-4b
|
|
|
563
562
|
ehrSourceUrl: "string",
|
|
564
563
|
patientExternalId: "string",
|
|
565
564
|
status: "planned",
|
|
566
|
-
dateOfService: "2023-01-15",
|
|
567
565
|
});
|
|
568
566
|
```
|
|
569
567
|
|
|
@@ -9166,6 +9164,68 @@ await client.serviceLines.v2.delete(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-
|
|
|
9166
9164
|
</dl>
|
|
9167
9165
|
</details>
|
|
9168
9166
|
|
|
9167
|
+
## Superbills V1
|
|
9168
|
+
|
|
9169
|
+
<details><summary><code>client.superbills.v1.<a href="/src/api/resources/superbills/resources/v1/client/Client.ts">createSuperbill</a>({ ...params }) -> core.APIResponse<CandidApi.SuperbillResponse, CandidApi.superbills.v1.createSuperbill.Error></code></summary>
|
|
9170
|
+
<dl>
|
|
9171
|
+
<dd>
|
|
9172
|
+
|
|
9173
|
+
#### 🔌 Usage
|
|
9174
|
+
|
|
9175
|
+
<dl>
|
|
9176
|
+
<dd>
|
|
9177
|
+
|
|
9178
|
+
<dl>
|
|
9179
|
+
<dd>
|
|
9180
|
+
|
|
9181
|
+
```typescript
|
|
9182
|
+
await client.superbills.v1.createSuperbill({
|
|
9183
|
+
patientExternalId: CandidApi.PatientExternalId("string"),
|
|
9184
|
+
dateRangeMin: "2023-01-15",
|
|
9185
|
+
dateRangeMax: "2023-01-15",
|
|
9186
|
+
payToAddress: {
|
|
9187
|
+
address1: "123 Main St",
|
|
9188
|
+
address2: "Apt 1",
|
|
9189
|
+
city: "New York",
|
|
9190
|
+
state: "NY",
|
|
9191
|
+
zipCode: "10001",
|
|
9192
|
+
zipPlusFourCode: "1234",
|
|
9193
|
+
},
|
|
9194
|
+
});
|
|
9195
|
+
```
|
|
9196
|
+
|
|
9197
|
+
</dd>
|
|
9198
|
+
</dl>
|
|
9199
|
+
</dd>
|
|
9200
|
+
</dl>
|
|
9201
|
+
|
|
9202
|
+
#### ⚙️ Parameters
|
|
9203
|
+
|
|
9204
|
+
<dl>
|
|
9205
|
+
<dd>
|
|
9206
|
+
|
|
9207
|
+
<dl>
|
|
9208
|
+
<dd>
|
|
9209
|
+
|
|
9210
|
+
**request:** `CandidApi.superbills.v1.CreateSuperbillRequest`
|
|
9211
|
+
|
|
9212
|
+
</dd>
|
|
9213
|
+
</dl>
|
|
9214
|
+
|
|
9215
|
+
<dl>
|
|
9216
|
+
<dd>
|
|
9217
|
+
|
|
9218
|
+
**requestOptions:** `V1.RequestOptions`
|
|
9219
|
+
|
|
9220
|
+
</dd>
|
|
9221
|
+
</dl>
|
|
9222
|
+
</dd>
|
|
9223
|
+
</dl>
|
|
9224
|
+
|
|
9225
|
+
</dd>
|
|
9226
|
+
</dl>
|
|
9227
|
+
</details>
|
|
9228
|
+
|
|
9169
9229
|
## Tasks V3
|
|
9170
9230
|
|
|
9171
9231
|
<details><summary><code>client.tasks.v3.<a href="/src/api/resources/tasks/resources/v3/client/Client.ts">getActions</a>(taskId) -> core.APIResponse<CandidApi.TaskActions, CandidApi.tasks.v3.getActions.Error></code></summary>
|
package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js
CHANGED
|
@@ -46,5 +46,4 @@ exports.ChargeCaptureUpdate = core.serialization.object({
|
|
|
46
46
|
ehrSourceUrl: core.serialization.property("ehr_source_url", core.serialization.string().optional()),
|
|
47
47
|
patientExternalId: core.serialization.property("patient_external_id", core.serialization.string().optional()),
|
|
48
48
|
status: ChargeCaptureStatus_1.ChargeCaptureStatus.optional(),
|
|
49
|
-
dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
|
|
50
49
|
});
|
|
@@ -44,7 +44,6 @@ exports.CreateChargeCaptureRequest = core.serialization.object({
|
|
|
44
44
|
data: ChargeCaptureData_1.ChargeCaptureData,
|
|
45
45
|
chargeExternalId: core.serialization.property("charge_external_id", core.serialization.string()),
|
|
46
46
|
ehrSourceUrl: core.serialization.property("ehr_source_url", core.serialization.string().optional()),
|
|
47
|
-
dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
|
|
48
47
|
patientExternalId: core.serialization.property("patient_external_id", core.serialization.string()),
|
|
49
48
|
status: ChargeCaptureStatus_1.ChargeCaptureStatus,
|
|
50
49
|
});
|
|
@@ -20,7 +20,6 @@ export declare namespace ChargeCapture {
|
|
|
20
20
|
patient_external_id: PatientExternalId.Raw;
|
|
21
21
|
charge_external_id: string;
|
|
22
22
|
ehr_source_url?: string | null;
|
|
23
|
-
date_of_service?: string | null;
|
|
24
23
|
error?: ChargeCaptureError.Raw | null;
|
|
25
24
|
updates: ChargeCapturePostBilledChange.Raw[];
|
|
26
25
|
bundle_id?: ChargeCaptureBundleId.Raw | null;
|
|
@@ -52,7 +52,6 @@ exports.ChargeCapture = core.serialization.object({
|
|
|
52
52
|
patientExternalId: core.serialization.property("patient_external_id", PatientExternalId_1.PatientExternalId),
|
|
53
53
|
chargeExternalId: core.serialization.property("charge_external_id", core.serialization.string()),
|
|
54
54
|
ehrSourceUrl: core.serialization.property("ehr_source_url", core.serialization.string().optional()),
|
|
55
|
-
dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
|
|
56
55
|
error: ChargeCaptureError_1.ChargeCaptureError.optional(),
|
|
57
56
|
updates: core.serialization.list(ChargeCapturePostBilledChange_1.ChargeCapturePostBilledChange),
|
|
58
57
|
bundleId: core.serialization.property("bundle_id", ChargeCaptureBundleId_1.ChargeCaptureBundleId.optional()),
|
|
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const ChargeCaptureStatus: core.serialization.Schema<serializers.chargeCapture.v1.ChargeCaptureStatus.Raw, CandidApi.chargeCapture.v1.ChargeCaptureStatus>;
|
|
8
8
|
export declare namespace ChargeCaptureStatus {
|
|
9
|
-
type Raw = "planned" | "not-billable" | "billable" | "aborted" | "
|
|
9
|
+
type Raw = "planned" | "not-billable" | "billable" | "aborted" | "entered-in-error";
|
|
10
10
|
}
|
|
@@ -38,12 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ChargeCaptureStatus = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../core"));
|
|
41
|
-
exports.ChargeCaptureStatus = core.serialization.enum_([
|
|
42
|
-
"planned",
|
|
43
|
-
"not-billable",
|
|
44
|
-
"billable",
|
|
45
|
-
"aborted",
|
|
46
|
-
"billed",
|
|
47
|
-
"entered-in-error",
|
|
48
|
-
"unknown",
|
|
49
|
-
]);
|
|
41
|
+
exports.ChargeCaptureStatus = core.serialization.enum_(["planned", "not-billable", "billable", "aborted", "entered-in-error"]);
|
package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export declare namespace ChargeCaptureBundle {
|
|
|
15
15
|
id: ChargeCaptureBundleId.Raw;
|
|
16
16
|
created_encounter_id?: EncounterId.Raw | null;
|
|
17
17
|
status: ChargeCaptureBundleStatus.Raw;
|
|
18
|
+
characteristics: Record<string, string>;
|
|
18
19
|
charge_captures: ChargeCapture.Raw[];
|
|
19
20
|
errors: ChargeCaptureError.Raw[];
|
|
20
21
|
}
|
package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js
CHANGED
|
@@ -47,6 +47,7 @@ exports.ChargeCaptureBundle = core.serialization.object({
|
|
|
47
47
|
id: ChargeCaptureBundleId_1.ChargeCaptureBundleId,
|
|
48
48
|
createdEncounterId: core.serialization.property("created_encounter_id", EncounterId_1.EncounterId.optional()),
|
|
49
49
|
status: ChargeCaptureBundleStatus_1.ChargeCaptureBundleStatus,
|
|
50
|
+
characteristics: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
50
51
|
chargeCaptures: core.serialization.property("charge_captures", core.serialization.list(ChargeCapture_1.ChargeCapture)),
|
|
51
52
|
errors: core.serialization.list(ChargeCaptureError_1.ChargeCaptureError),
|
|
52
53
|
});
|
|
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const ChargeCaptureBundleStatus: core.serialization.Schema<serializers.chargeCaptureBundles.v1.ChargeCaptureBundleStatus.Raw, CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundleStatus>;
|
|
8
8
|
export declare namespace ChargeCaptureBundleStatus {
|
|
9
|
-
type Raw = "not-started" | "in-
|
|
9
|
+
type Raw = "not-started" | "in-error" | "successful" | "successful-dry-run" | "aborted" | "held";
|
|
10
10
|
}
|
package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js
CHANGED
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ChargeCaptureBundleStatus = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../core"));
|
|
41
|
-
exports.ChargeCaptureBundleStatus = core.serialization.enum_(["not-started", "in-
|
|
41
|
+
exports.ChargeCaptureBundleStatus = core.serialization.enum_(["not-started", "in-error", "successful", "successful-dry-run", "aborted", "held"]);
|
|
@@ -35,6 +35,7 @@ export * as payers from "./payers";
|
|
|
35
35
|
export * as remitDrafts from "./remitDrafts";
|
|
36
36
|
export * as remits from "./remits";
|
|
37
37
|
export * as serviceLines from "./serviceLines";
|
|
38
|
+
export * as superbills from "./superbills";
|
|
38
39
|
export * as tasks from "./tasks";
|
|
39
40
|
export * as writeOffs from "./writeOffs";
|
|
40
41
|
export * as x12 from "./x12";
|
|
@@ -36,8 +36,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.eligibility = void 0;
|
|
39
|
+
exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.superbills = exports.serviceLines = exports.remits = exports.remitDrafts = exports.payers = exports.payerPlanGroups = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.credentialing = exports.contracts = exports.clinicalTrials = exports.claimSubmission = exports.chargeCapture = exports.chargeCaptureBundles = exports.billingNotes = exports.auth = exports.commons = exports.feeSchedules = void 0;
|
|
40
|
+
exports.eligibility = exports.tags = void 0;
|
|
41
41
|
exports.feeSchedules = __importStar(require("./feeSchedules"));
|
|
42
42
|
exports.commons = __importStar(require("./commons"));
|
|
43
43
|
__exportStar(require("./commons/errors"), exports);
|
|
@@ -75,6 +75,7 @@ exports.payers = __importStar(require("./payers"));
|
|
|
75
75
|
exports.remitDrafts = __importStar(require("./remitDrafts"));
|
|
76
76
|
exports.remits = __importStar(require("./remits"));
|
|
77
77
|
exports.serviceLines = __importStar(require("./serviceLines"));
|
|
78
|
+
exports.superbills = __importStar(require("./superbills"));
|
|
78
79
|
exports.tasks = __importStar(require("./tasks"));
|
|
79
80
|
exports.writeOffs = __importStar(require("./writeOffs"));
|
|
80
81
|
exports.x12 = __importStar(require("./x12"));
|
|
@@ -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 v1 from "./v1";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.v1 = void 0;
|
|
37
|
+
exports.v1 = __importStar(require("./v1"));
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
|
|
8
|
+
export declare const Error: core.serialization.Schema<serializers.superbills.v1.createSuperbill.Error.Raw, CandidApi.superbills.v1.createSuperbill.Error>;
|
|
9
|
+
export declare namespace Error {
|
|
10
|
+
type Raw = Error.UnprocessableEntityError;
|
|
11
|
+
interface UnprocessableEntityError {
|
|
12
|
+
errorName: "UnprocessableEntityError";
|
|
13
|
+
content: UnprocessableEntityErrorMessage.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
39
|
+
var t = {};
|
|
40
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
41
|
+
t[p] = s[p];
|
|
42
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
43
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
45
|
+
t[p[i]] = s[p[i]];
|
|
46
|
+
}
|
|
47
|
+
return t;
|
|
48
|
+
};
|
|
49
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
+
exports.Error = void 0;
|
|
51
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
52
|
+
const core = __importStar(require("../../../../../../core"));
|
|
53
|
+
const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
54
|
+
exports.Error = core.serialization
|
|
55
|
+
.union("errorName", {
|
|
56
|
+
UnprocessableEntityError: core.serialization.object({
|
|
57
|
+
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
58
|
+
}),
|
|
59
|
+
})
|
|
60
|
+
.transform({
|
|
61
|
+
transform: (value) => {
|
|
62
|
+
switch (value.errorName) {
|
|
63
|
+
case "UnprocessableEntityError":
|
|
64
|
+
return CandidApi.superbills.v1.createSuperbill.Error.unprocessableEntityError(value.content);
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
untransform: (_a) => {
|
|
68
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
69
|
+
return value;
|
|
70
|
+
},
|
|
71
|
+
});
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.createSuperbill = void 0;
|
|
40
|
+
exports.createSuperbill = __importStar(require("./createSuperbill"));
|
|
41
|
+
__exportStar(require("./requests"), exports);
|
package/serialization/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
import { PatientExternalId } from "../../../../../commons/types/PatientExternalId";
|
|
8
|
+
import { StreetAddressShortZip } from "../../../../../commons/types/StreetAddressShortZip";
|
|
9
|
+
export declare const CreateSuperbillRequest: core.serialization.Schema<serializers.superbills.v1.CreateSuperbillRequest.Raw, CandidApi.superbills.v1.CreateSuperbillRequest>;
|
|
10
|
+
export declare namespace CreateSuperbillRequest {
|
|
11
|
+
interface Raw {
|
|
12
|
+
patient_external_id: PatientExternalId.Raw;
|
|
13
|
+
date_range_min: string;
|
|
14
|
+
date_range_max: string;
|
|
15
|
+
pay_to_address?: StreetAddressShortZip.Raw | null;
|
|
16
|
+
}
|
|
17
|
+
}
|
package/serialization/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
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.CreateSuperbillRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
41
|
+
const PatientExternalId_1 = require("../../../../../commons/types/PatientExternalId");
|
|
42
|
+
const StreetAddressShortZip_1 = require("../../../../../commons/types/StreetAddressShortZip");
|
|
43
|
+
exports.CreateSuperbillRequest = core.serialization.object({
|
|
44
|
+
patientExternalId: core.serialization.property("patient_external_id", PatientExternalId_1.PatientExternalId),
|
|
45
|
+
dateRangeMin: core.serialization.property("date_range_min", core.serialization.string()),
|
|
46
|
+
dateRangeMax: core.serialization.property("date_range_max", core.serialization.string()),
|
|
47
|
+
payToAddress: core.serialization.property("pay_to_address", StreetAddressShortZip_1.StreetAddressShortZip.optional()),
|
|
48
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CreateSuperbillRequest } from "./CreateSuperbillRequest";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateSuperbillRequest = void 0;
|
|
4
|
+
var CreateSuperbillRequest_1 = require("./CreateSuperbillRequest");
|
|
5
|
+
Object.defineProperty(exports, "CreateSuperbillRequest", { enumerable: true, get: function () { return CreateSuperbillRequest_1.CreateSuperbillRequest; } });
|
|
@@ -0,0 +1,18 @@
|
|
|
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);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
import { PatientExternalId } from "../../../../commons/types/PatientExternalId";
|
|
8
|
+
export declare const Superbill: core.serialization.ObjectSchema<serializers.superbills.v1.Superbill.Raw, CandidApi.superbills.v1.Superbill>;
|
|
9
|
+
export declare namespace Superbill {
|
|
10
|
+
interface Raw {
|
|
11
|
+
superbill_id: string;
|
|
12
|
+
patient_external_id: PatientExternalId.Raw;
|
|
13
|
+
authed_url: string;
|
|
14
|
+
date_range_min: string;
|
|
15
|
+
date_range_max: string;
|
|
16
|
+
file_name: string;
|
|
17
|
+
}
|
|
18
|
+
}
|