candidhealth 0.26.0 → 0.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/claims/types/Claim.d.ts +0 -37
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +0 -37
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +0 -37
- 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 +0 -1
- package/api/resources/index.js +0 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/invoices/index.d.ts +0 -1
- package/api/resources/invoices/index.js +0 -1
- 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/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +7 -7
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +0 -18
- package/api/resources/serviceLines/resources/v2/client/Client.js +2 -20
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +0 -41
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +0 -9
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +0 -9
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +0 -1
- package/api/resources/serviceLines/resources/v2/types/index.js +0 -1
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/claims/types/Claim.d.ts +0 -37
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +0 -37
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +0 -37
- 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 +0 -1
- package/dist/api/resources/index.js +0 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/invoices/index.d.ts +0 -1
- package/dist/api/resources/invoices/index.js +0 -1
- 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/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +7 -7
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +0 -18
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +2 -20
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +0 -41
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +0 -9
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +0 -9
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +0 -1
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +0 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/index.d.ts +0 -1
- package/dist/serialization/resources/index.js +0 -1
- package/dist/serialization/resources/invoices/index.d.ts +0 -1
- package/dist/serialization/resources/invoices/index.js +0 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +0 -6
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +0 -6
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +0 -10
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +0 -10
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +0 -10
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +0 -10
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +0 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +0 -1
- package/package.json +1 -1
- package/reference.md +0 -18
- package/serialization/resources/index.d.ts +0 -1
- package/serialization/resources/index.js +0 -1
- package/serialization/resources/invoices/index.d.ts +0 -1
- package/serialization/resources/invoices/index.js +0 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +0 -6
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +0 -6
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +0 -10
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +0 -10
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +0 -10
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +0 -10
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +0 -1
- package/serialization/resources/serviceLines/resources/v2/types/index.js +0 -1
- package/api/resources/invoices/types/Invoice.d.ts +0 -19
- package/api/resources/invoices/types/Invoice.js +0 -5
- package/api/resources/invoices/types/InvoiceItem.d.ts +0 -8
- package/api/resources/invoices/types/InvoiceItem.js +0 -5
- package/api/resources/invoices/types/InvoiceStatus.d.ts +0 -12
- package/api/resources/invoices/types/InvoiceStatus.js +0 -14
- package/api/resources/invoices/types/index.d.ts +0 -3
- package/api/resources/invoices/types/index.js +0 -19
- package/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +0 -8
- package/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.js +0 -5
- package/dist/api/resources/invoices/types/Invoice.d.ts +0 -19
- package/dist/api/resources/invoices/types/Invoice.js +0 -5
- package/dist/api/resources/invoices/types/InvoiceItem.d.ts +0 -8
- package/dist/api/resources/invoices/types/InvoiceItem.js +0 -5
- package/dist/api/resources/invoices/types/InvoiceStatus.d.ts +0 -12
- package/dist/api/resources/invoices/types/InvoiceStatus.js +0 -14
- package/dist/api/resources/invoices/types/index.d.ts +0 -3
- package/dist/api/resources/invoices/types/index.js +0 -19
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +0 -8
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineEraData.js +0 -5
- package/dist/serialization/resources/invoices/types/Invoice.d.ts +0 -30
- package/dist/serialization/resources/invoices/types/Invoice.js +0 -51
- package/dist/serialization/resources/invoices/types/InvoiceItem.d.ts +0 -14
- package/dist/serialization/resources/invoices/types/InvoiceItem.js +0 -35
- package/dist/serialization/resources/invoices/types/InvoiceStatus.d.ts +0 -10
- package/dist/serialization/resources/invoices/types/InvoiceStatus.js +0 -31
- package/dist/serialization/resources/invoices/types/index.d.ts +0 -3
- package/dist/serialization/resources/invoices/types/index.js +0 -19
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +0 -14
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.js +0 -35
- package/serialization/resources/invoices/types/Invoice.d.ts +0 -30
- package/serialization/resources/invoices/types/Invoice.js +0 -51
- package/serialization/resources/invoices/types/InvoiceItem.d.ts +0 -14
- package/serialization/resources/invoices/types/InvoiceItem.js +0 -35
- package/serialization/resources/invoices/types/InvoiceStatus.d.ts +0 -10
- package/serialization/resources/invoices/types/InvoiceStatus.js +0 -31
- package/serialization/resources/invoices/types/index.d.ts +0 -3
- package/serialization/resources/invoices/types/index.js +0 -19
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +0 -14
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.js +0 -35
|
@@ -1,30 +0,0 @@
|
|
|
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 { InvoiceId } from "../../commons/types/InvoiceId";
|
|
8
|
-
import { OrganizationId } from "../../commons/types/OrganizationId";
|
|
9
|
-
import { PatientExternalId } from "../../commons/types/PatientExternalId";
|
|
10
|
-
import { Date_ } from "../../commons/types/Date_";
|
|
11
|
-
import { InvoiceStatus } from "./InvoiceStatus";
|
|
12
|
-
import { InvoiceItem } from "./InvoiceItem";
|
|
13
|
-
export declare const Invoice: core.serialization.ObjectSchema<serializers.Invoice.Raw, CandidApi.Invoice>;
|
|
14
|
-
export declare namespace Invoice {
|
|
15
|
-
interface Raw {
|
|
16
|
-
id: InvoiceId.Raw;
|
|
17
|
-
created_at: string;
|
|
18
|
-
updated_at: string;
|
|
19
|
-
organzation_id: OrganizationId.Raw;
|
|
20
|
-
source_id: string;
|
|
21
|
-
source_customer_id: string;
|
|
22
|
-
patient_external_id: PatientExternalId.Raw;
|
|
23
|
-
note?: string | null;
|
|
24
|
-
due_date: Date_.Raw;
|
|
25
|
-
status: InvoiceStatus.Raw;
|
|
26
|
-
url?: string | null;
|
|
27
|
-
customer_invoice_url?: string | null;
|
|
28
|
-
items: InvoiceItem.Raw[];
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
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.Invoice = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../core"));
|
|
31
|
-
const InvoiceId_1 = require("../../commons/types/InvoiceId");
|
|
32
|
-
const OrganizationId_1 = require("../../commons/types/OrganizationId");
|
|
33
|
-
const PatientExternalId_1 = require("../../commons/types/PatientExternalId");
|
|
34
|
-
const Date_1 = require("../../commons/types/Date_");
|
|
35
|
-
const InvoiceStatus_1 = require("./InvoiceStatus");
|
|
36
|
-
const InvoiceItem_1 = require("./InvoiceItem");
|
|
37
|
-
exports.Invoice = core.serialization.object({
|
|
38
|
-
id: InvoiceId_1.InvoiceId,
|
|
39
|
-
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
40
|
-
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
|
41
|
-
organzationId: core.serialization.property("organzation_id", OrganizationId_1.OrganizationId),
|
|
42
|
-
sourceId: core.serialization.property("source_id", core.serialization.string()),
|
|
43
|
-
sourceCustomerId: core.serialization.property("source_customer_id", core.serialization.string()),
|
|
44
|
-
patientExternalId: core.serialization.property("patient_external_id", PatientExternalId_1.PatientExternalId),
|
|
45
|
-
note: core.serialization.string().optional(),
|
|
46
|
-
dueDate: core.serialization.property("due_date", Date_1.Date_),
|
|
47
|
-
status: InvoiceStatus_1.InvoiceStatus,
|
|
48
|
-
url: core.serialization.string().optional(),
|
|
49
|
-
customerInvoiceUrl: core.serialization.property("customer_invoice_url", core.serialization.string().optional()),
|
|
50
|
-
items: core.serialization.list(InvoiceItem_1.InvoiceItem),
|
|
51
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
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 { ServiceLineId } from "../../commons/types/ServiceLineId";
|
|
8
|
-
export declare const InvoiceItem: core.serialization.ObjectSchema<serializers.InvoiceItem.Raw, CandidApi.InvoiceItem>;
|
|
9
|
-
export declare namespace InvoiceItem {
|
|
10
|
-
interface Raw {
|
|
11
|
-
service_line_id: ServiceLineId.Raw;
|
|
12
|
-
amount_cents: number;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
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.InvoiceItem = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../core"));
|
|
31
|
-
const ServiceLineId_1 = require("../../commons/types/ServiceLineId");
|
|
32
|
-
exports.InvoiceItem = core.serialization.object({
|
|
33
|
-
serviceLineId: core.serialization.property("service_line_id", ServiceLineId_1.ServiceLineId),
|
|
34
|
-
amountCents: core.serialization.property("amount_cents", core.serialization.number()),
|
|
35
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
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 InvoiceStatus: core.serialization.Schema<serializers.InvoiceStatus.Raw, CandidApi.InvoiceStatus>;
|
|
8
|
-
export declare namespace InvoiceStatus {
|
|
9
|
-
type Raw = "draft" | "open" | "paid" | "void" | "uncollectible" | "held";
|
|
10
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
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.InvoiceStatus = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../core"));
|
|
31
|
-
exports.InvoiceStatus = core.serialization.enum_(["draft", "open", "paid", "void", "uncollectible", "held"]);
|
|
@@ -1,19 +0,0 @@
|
|
|
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("./Invoice"), exports);
|
|
18
|
-
__exportStar(require("./InvoiceItem"), exports);
|
|
19
|
-
__exportStar(require("./InvoiceStatus"), exports);
|
package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
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 { ServiceLineAdjustment } from "./ServiceLineAdjustment";
|
|
8
|
-
export declare const ServiceLineEraData: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLineEraData.Raw, CandidApi.serviceLines.v2.ServiceLineEraData>;
|
|
9
|
-
export declare namespace ServiceLineEraData {
|
|
10
|
-
interface Raw {
|
|
11
|
-
service_line_adjustments: ServiceLineAdjustment.Raw[];
|
|
12
|
-
remittance_advice_remark_codes: string[];
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
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.ServiceLineEraData = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
const ServiceLineAdjustment_1 = require("./ServiceLineAdjustment");
|
|
32
|
-
exports.ServiceLineEraData = core.serialization.object({
|
|
33
|
-
serviceLineAdjustments: core.serialization.property("service_line_adjustments", core.serialization.list(ServiceLineAdjustment_1.ServiceLineAdjustment)),
|
|
34
|
-
remittanceAdviceRemarkCodes: core.serialization.property("remittance_advice_remark_codes", core.serialization.list(core.serialization.string())),
|
|
35
|
-
});
|
|
@@ -1,30 +0,0 @@
|
|
|
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 { InvoiceId } from "../../commons/types/InvoiceId";
|
|
8
|
-
import { OrganizationId } from "../../commons/types/OrganizationId";
|
|
9
|
-
import { PatientExternalId } from "../../commons/types/PatientExternalId";
|
|
10
|
-
import { Date_ } from "../../commons/types/Date_";
|
|
11
|
-
import { InvoiceStatus } from "./InvoiceStatus";
|
|
12
|
-
import { InvoiceItem } from "./InvoiceItem";
|
|
13
|
-
export declare const Invoice: core.serialization.ObjectSchema<serializers.Invoice.Raw, CandidApi.Invoice>;
|
|
14
|
-
export declare namespace Invoice {
|
|
15
|
-
interface Raw {
|
|
16
|
-
id: InvoiceId.Raw;
|
|
17
|
-
created_at: string;
|
|
18
|
-
updated_at: string;
|
|
19
|
-
organzation_id: OrganizationId.Raw;
|
|
20
|
-
source_id: string;
|
|
21
|
-
source_customer_id: string;
|
|
22
|
-
patient_external_id: PatientExternalId.Raw;
|
|
23
|
-
note?: string | null;
|
|
24
|
-
due_date: Date_.Raw;
|
|
25
|
-
status: InvoiceStatus.Raw;
|
|
26
|
-
url?: string | null;
|
|
27
|
-
customer_invoice_url?: string | null;
|
|
28
|
-
items: InvoiceItem.Raw[];
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
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.Invoice = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../core"));
|
|
31
|
-
const InvoiceId_1 = require("../../commons/types/InvoiceId");
|
|
32
|
-
const OrganizationId_1 = require("../../commons/types/OrganizationId");
|
|
33
|
-
const PatientExternalId_1 = require("../../commons/types/PatientExternalId");
|
|
34
|
-
const Date_1 = require("../../commons/types/Date_");
|
|
35
|
-
const InvoiceStatus_1 = require("./InvoiceStatus");
|
|
36
|
-
const InvoiceItem_1 = require("./InvoiceItem");
|
|
37
|
-
exports.Invoice = core.serialization.object({
|
|
38
|
-
id: InvoiceId_1.InvoiceId,
|
|
39
|
-
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
40
|
-
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
|
41
|
-
organzationId: core.serialization.property("organzation_id", OrganizationId_1.OrganizationId),
|
|
42
|
-
sourceId: core.serialization.property("source_id", core.serialization.string()),
|
|
43
|
-
sourceCustomerId: core.serialization.property("source_customer_id", core.serialization.string()),
|
|
44
|
-
patientExternalId: core.serialization.property("patient_external_id", PatientExternalId_1.PatientExternalId),
|
|
45
|
-
note: core.serialization.string().optional(),
|
|
46
|
-
dueDate: core.serialization.property("due_date", Date_1.Date_),
|
|
47
|
-
status: InvoiceStatus_1.InvoiceStatus,
|
|
48
|
-
url: core.serialization.string().optional(),
|
|
49
|
-
customerInvoiceUrl: core.serialization.property("customer_invoice_url", core.serialization.string().optional()),
|
|
50
|
-
items: core.serialization.list(InvoiceItem_1.InvoiceItem),
|
|
51
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
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 { ServiceLineId } from "../../commons/types/ServiceLineId";
|
|
8
|
-
export declare const InvoiceItem: core.serialization.ObjectSchema<serializers.InvoiceItem.Raw, CandidApi.InvoiceItem>;
|
|
9
|
-
export declare namespace InvoiceItem {
|
|
10
|
-
interface Raw {
|
|
11
|
-
service_line_id: ServiceLineId.Raw;
|
|
12
|
-
amount_cents: number;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
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.InvoiceItem = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../core"));
|
|
31
|
-
const ServiceLineId_1 = require("../../commons/types/ServiceLineId");
|
|
32
|
-
exports.InvoiceItem = core.serialization.object({
|
|
33
|
-
serviceLineId: core.serialization.property("service_line_id", ServiceLineId_1.ServiceLineId),
|
|
34
|
-
amountCents: core.serialization.property("amount_cents", core.serialization.number()),
|
|
35
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
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 InvoiceStatus: core.serialization.Schema<serializers.InvoiceStatus.Raw, CandidApi.InvoiceStatus>;
|
|
8
|
-
export declare namespace InvoiceStatus {
|
|
9
|
-
type Raw = "draft" | "open" | "paid" | "void" | "uncollectible" | "held";
|
|
10
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
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.InvoiceStatus = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../core"));
|
|
31
|
-
exports.InvoiceStatus = core.serialization.enum_(["draft", "open", "paid", "void", "uncollectible", "held"]);
|
|
@@ -1,19 +0,0 @@
|
|
|
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("./Invoice"), exports);
|
|
18
|
-
__exportStar(require("./InvoiceItem"), exports);
|
|
19
|
-
__exportStar(require("./InvoiceStatus"), exports);
|
|
@@ -1,14 +0,0 @@
|
|
|
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 { ServiceLineAdjustment } from "./ServiceLineAdjustment";
|
|
8
|
-
export declare const ServiceLineEraData: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLineEraData.Raw, CandidApi.serviceLines.v2.ServiceLineEraData>;
|
|
9
|
-
export declare namespace ServiceLineEraData {
|
|
10
|
-
interface Raw {
|
|
11
|
-
service_line_adjustments: ServiceLineAdjustment.Raw[];
|
|
12
|
-
remittance_advice_remark_codes: string[];
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
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.ServiceLineEraData = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
const ServiceLineAdjustment_1 = require("./ServiceLineAdjustment");
|
|
32
|
-
exports.ServiceLineEraData = core.serialization.object({
|
|
33
|
-
serviceLineAdjustments: core.serialization.property("service_line_adjustments", core.serialization.list(ServiceLineAdjustment_1.ServiceLineAdjustment)),
|
|
34
|
-
remittanceAdviceRemarkCodes: core.serialization.property("remittance_advice_remark_codes", core.serialization.list(core.serialization.string())),
|
|
35
|
-
});
|