candidhealth 1.17.2 → 1.17.4
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.js +2 -2
- package/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +7 -1
- package/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentificationQualifier.d.ts +9 -0
- package/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentificationQualifier.js +12 -0
- package/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/api/resources/financials/types/Allocation.d.ts +2 -0
- package/api/resources/financials/types/AllocationCreate.d.ts +1 -1
- package/api/resources/financials/types/AllocationEarmarkType.d.ts +2 -2
- package/api/resources/financials/types/BalanceEarmark.d.ts +11 -0
- package/api/resources/financials/types/BalanceEarmark.js +3 -0
- package/api/resources/financials/types/index.d.ts +1 -0
- package/api/resources/financials/types/index.js +1 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +19 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/get.d.ts +7 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/get.js +11 -0
- package/api/resources/insuranceCards/resources/v2/types/InsuranceCardBase.d.ts +1 -0
- package/api/resources/tasks/resources/commons/types/TaskType.d.ts +1 -0
- package/api/resources/tasks/resources/commons/types/TaskType.js +1 -0
- package/dist/Client.js +2 -2
- package/dist/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +7 -1
- package/dist/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentificationQualifier.d.ts +9 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentificationQualifier.js +12 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/dist/api/resources/financials/types/Allocation.d.ts +2 -0
- package/dist/api/resources/financials/types/AllocationCreate.d.ts +1 -1
- package/dist/api/resources/financials/types/AllocationEarmarkType.d.ts +2 -2
- package/dist/api/resources/financials/types/BalanceEarmark.d.ts +11 -0
- package/dist/api/resources/financials/types/BalanceEarmark.js +3 -0
- package/dist/api/resources/financials/types/index.d.ts +1 -0
- package/dist/api/resources/financials/types/index.js +1 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +19 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/get.d.ts +7 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/get.js +11 -0
- package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCardBase.d.ts +1 -0
- package/dist/api/resources/tasks/resources/commons/types/TaskType.d.ts +1 -0
- package/dist/api/resources/tasks/resources/commons/types/TaskType.js +1 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentificationQualifier.d.ts +7 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentificationQualifier.js +39 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/financials/types/Allocation.d.ts +2 -0
- package/dist/serialization/resources/financials/types/Allocation.js +2 -0
- package/dist/serialization/resources/financials/types/BalanceEarmark.d.ts +11 -0
- package/dist/serialization/resources/financials/types/BalanceEarmark.js +43 -0
- package/dist/serialization/resources/financials/types/index.d.ts +1 -0
- package/dist/serialization/resources/financials/types/index.js +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/get.d.ts +12 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/get.js +69 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/index.js +37 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.js +1 -0
- package/dist/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardBase.d.ts +2 -0
- package/dist/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardBase.js +2 -0
- package/dist/serialization/resources/tasks/resources/commons/types/TaskType.d.ts +1 -1
- package/dist/serialization/resources/tasks/resources/commons/types/TaskType.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +219 -219
- package/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentification.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentificationQualifier.d.ts +7 -0
- package/serialization/resources/encounterProviders/resources/v2/types/ProviderSecondaryIdentificationQualifier.js +39 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/serialization/resources/financials/types/Allocation.d.ts +2 -0
- package/serialization/resources/financials/types/Allocation.js +2 -0
- package/serialization/resources/financials/types/BalanceEarmark.d.ts +11 -0
- package/serialization/resources/financials/types/BalanceEarmark.js +43 -0
- package/serialization/resources/financials/types/index.d.ts +1 -0
- package/serialization/resources/financials/types/index.js +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/client/get.d.ts +12 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/client/get.js +69 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/client/index.js +37 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/index.js +1 -0
- package/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardBase.d.ts +2 -0
- package/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardBase.js +2 -0
- package/serialization/resources/tasks/resources/commons/types/TaskType.d.ts +1 -1
- package/serialization/resources/tasks/resources/commons/types/TaskType.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type * as CandidApi from "../../../../../../api/index";
|
|
2
2
|
import * as core from "../../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { ProviderSecondaryIdentificationQualifier } from "./ProviderSecondaryIdentificationQualifier";
|
|
4
5
|
export declare const ProviderSecondaryIdentification: core.serialization.ObjectSchema<serializers.encounterProviders.v2.ProviderSecondaryIdentification.Raw, CandidApi.encounterProviders.v2.ProviderSecondaryIdentification>;
|
|
5
6
|
export declare namespace ProviderSecondaryIdentification {
|
|
6
7
|
interface Raw {
|
|
7
8
|
reference_identification: string;
|
|
9
|
+
reference_identification_qualifier?: ProviderSecondaryIdentificationQualifier.Raw | null;
|
|
8
10
|
}
|
|
9
11
|
}
|
|
@@ -36,6 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ProviderSecondaryIdentification = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
const ProviderSecondaryIdentificationQualifier_1 = require("./ProviderSecondaryIdentificationQualifier");
|
|
39
40
|
exports.ProviderSecondaryIdentification = core.serialization.object({
|
|
40
41
|
referenceIdentification: core.serialization.property("reference_identification", core.serialization.string()),
|
|
42
|
+
referenceIdentificationQualifier: core.serialization.property("reference_identification_qualifier", ProviderSecondaryIdentificationQualifier_1.ProviderSecondaryIdentificationQualifier.optional()),
|
|
41
43
|
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
export declare const ProviderSecondaryIdentificationQualifier: core.serialization.Schema<serializers.encounterProviders.v2.ProviderSecondaryIdentificationQualifier.Raw, CandidApi.encounterProviders.v2.ProviderSecondaryIdentificationQualifier>;
|
|
5
|
+
export declare namespace ProviderSecondaryIdentificationQualifier {
|
|
6
|
+
type Raw = "G2" | "LU";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ProviderSecondaryIdentificationQualifier = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
exports.ProviderSecondaryIdentificationQualifier = core.serialization.enum_(["G2", "LU"]);
|
|
@@ -11,6 +11,7 @@ export * from "./OrderingProviderOptional";
|
|
|
11
11
|
export * from "./OrderingProviderUpdate";
|
|
12
12
|
export * from "./ProviderId";
|
|
13
13
|
export * from "./ProviderSecondaryIdentification";
|
|
14
|
+
export * from "./ProviderSecondaryIdentificationQualifier";
|
|
14
15
|
export * from "./ReferringProvider";
|
|
15
16
|
export * from "./ReferringProviderUpdate";
|
|
16
17
|
export * from "./ReferringProviderUpdateWithOptionalAddress";
|
|
@@ -27,6 +27,7 @@ __exportStar(require("./OrderingProviderOptional"), exports);
|
|
|
27
27
|
__exportStar(require("./OrderingProviderUpdate"), exports);
|
|
28
28
|
__exportStar(require("./ProviderId"), exports);
|
|
29
29
|
__exportStar(require("./ProviderSecondaryIdentification"), exports);
|
|
30
|
+
__exportStar(require("./ProviderSecondaryIdentificationQualifier"), exports);
|
|
30
31
|
__exportStar(require("./ReferringProvider"), exports);
|
|
31
32
|
__exportStar(require("./ReferringProviderUpdate"), exports);
|
|
32
33
|
__exportStar(require("./ReferringProviderUpdateWithOptionalAddress"), exports);
|
|
@@ -2,10 +2,12 @@ import type * as CandidApi from "../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { AllocationTarget } from "./AllocationTarget";
|
|
5
|
+
import { BalanceEarmark } from "./BalanceEarmark";
|
|
5
6
|
export declare const Allocation: core.serialization.ObjectSchema<serializers.Allocation.Raw, CandidApi.Allocation>;
|
|
6
7
|
export declare namespace Allocation {
|
|
7
8
|
interface Raw {
|
|
8
9
|
amount_cents: number;
|
|
9
10
|
target: AllocationTarget.Raw;
|
|
11
|
+
earmark?: BalanceEarmark.Raw | null;
|
|
10
12
|
}
|
|
11
13
|
}
|
|
@@ -37,7 +37,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.Allocation = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const AllocationTarget_1 = require("./AllocationTarget");
|
|
40
|
+
const BalanceEarmark_1 = require("./BalanceEarmark");
|
|
40
41
|
exports.Allocation = core.serialization.object({
|
|
41
42
|
amountCents: core.serialization.property("amount_cents", core.serialization.number()),
|
|
42
43
|
target: AllocationTarget_1.AllocationTarget,
|
|
44
|
+
earmark: BalanceEarmark_1.BalanceEarmark.optional(),
|
|
43
45
|
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { AllocationEarmarkType } from "./AllocationEarmarkType";
|
|
5
|
+
export declare const BalanceEarmark: core.serialization.ObjectSchema<serializers.BalanceEarmark.Raw, CandidApi.BalanceEarmark>;
|
|
6
|
+
export declare namespace BalanceEarmark {
|
|
7
|
+
interface Raw {
|
|
8
|
+
id: string;
|
|
9
|
+
target: AllocationEarmarkType.Raw;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.BalanceEarmark = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const AllocationEarmarkType_1 = require("./AllocationEarmarkType");
|
|
40
|
+
exports.BalanceEarmark = core.serialization.object({
|
|
41
|
+
id: core.serialization.string(),
|
|
42
|
+
target: AllocationEarmarkType_1.AllocationEarmarkType,
|
|
43
|
+
});
|
|
@@ -6,6 +6,7 @@ export * from "./AllocationTarget";
|
|
|
6
6
|
export * from "./AllocationTargetCreate";
|
|
7
7
|
export * from "./AppointmentAllocationTarget";
|
|
8
8
|
export * from "./AppointmentByIdAndPatientExternalId";
|
|
9
|
+
export * from "./BalanceEarmark";
|
|
9
10
|
export * from "./BillingProviderAllocationTarget";
|
|
10
11
|
export * from "./ClaimAllocationTarget";
|
|
11
12
|
export * from "./InvoiceUpdate";
|
|
@@ -22,6 +22,7 @@ __exportStar(require("./AllocationTarget"), exports);
|
|
|
22
22
|
__exportStar(require("./AllocationTargetCreate"), exports);
|
|
23
23
|
__exportStar(require("./AppointmentAllocationTarget"), exports);
|
|
24
24
|
__exportStar(require("./AppointmentByIdAndPatientExternalId"), exports);
|
|
25
|
+
__exportStar(require("./BalanceEarmark"), exports);
|
|
25
26
|
__exportStar(require("./BillingProviderAllocationTarget"), exports);
|
|
26
27
|
__exportStar(require("./ClaimAllocationTarget"), exports);
|
|
27
28
|
__exportStar(require("./InvoiceUpdate"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
5
|
+
export declare const Error: core.serialization.Schema<serializers.insuranceAdjudications.v1.get.Error.Raw, CandidApi.insuranceAdjudications.v1.get.Error>;
|
|
6
|
+
export declare namespace Error {
|
|
7
|
+
type Raw = Error.UnauthorizedError;
|
|
8
|
+
interface UnauthorizedError {
|
|
9
|
+
errorName: "UnauthorizedError";
|
|
10
|
+
content: UnauthorizedErrorMessage.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
37
|
+
var t = {};
|
|
38
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
39
|
+
t[p] = s[p];
|
|
40
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
41
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
42
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
43
|
+
t[p[i]] = s[p[i]];
|
|
44
|
+
}
|
|
45
|
+
return t;
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
exports.Error = void 0;
|
|
49
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
50
|
+
const core = __importStar(require("../../../../../../core"));
|
|
51
|
+
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
52
|
+
exports.Error = core.serialization
|
|
53
|
+
.union("errorName", {
|
|
54
|
+
UnauthorizedError: core.serialization.object({
|
|
55
|
+
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
56
|
+
}),
|
|
57
|
+
})
|
|
58
|
+
.transform({
|
|
59
|
+
transform: (value) => {
|
|
60
|
+
switch (value.errorName) {
|
|
61
|
+
case "UnauthorizedError":
|
|
62
|
+
return CandidApi.insuranceAdjudications.v1.get.Error.unauthorizedError(value.content);
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
untransform: (_a) => {
|
|
66
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
67
|
+
return value;
|
|
68
|
+
},
|
|
69
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as get from "./get";
|
|
@@ -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.get = void 0;
|
|
37
|
+
exports.get = __importStar(require("./get"));
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
17
18
|
__exportStar(require("./types"), exports);
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../../../../../index";
|
|
|
4
4
|
import { InsuranceTypeCode } from "../../../../commons/types/InsuranceTypeCode";
|
|
5
5
|
import { PayerPlanGroupId } from "../../../../commons/types/PayerPlanGroupId";
|
|
6
6
|
import { SourceOfPaymentCode } from "../../../../commons/types/SourceOfPaymentCode";
|
|
7
|
+
import { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
|
|
7
8
|
export declare const InsuranceCardBase: core.serialization.ObjectSchema<serializers.insuranceCards.v2.InsuranceCardBase.Raw, CandidApi.insuranceCards.v2.InsuranceCardBase>;
|
|
8
9
|
export declare namespace InsuranceCardBase {
|
|
9
10
|
interface Raw {
|
|
@@ -12,5 +13,6 @@ export declare namespace InsuranceCardBase {
|
|
|
12
13
|
plan_type?: SourceOfPaymentCode.Raw | null;
|
|
13
14
|
insurance_type?: InsuranceTypeCode.Raw | null;
|
|
14
15
|
payer_plan_group_id?: PayerPlanGroupId.Raw | null;
|
|
16
|
+
payer_address?: StreetAddressLongZip.Raw | null;
|
|
15
17
|
}
|
|
16
18
|
}
|
|
@@ -39,10 +39,12 @@ const core = __importStar(require("../../../../../../core"));
|
|
|
39
39
|
const InsuranceTypeCode_1 = require("../../../../commons/types/InsuranceTypeCode");
|
|
40
40
|
const PayerPlanGroupId_1 = require("../../../../commons/types/PayerPlanGroupId");
|
|
41
41
|
const SourceOfPaymentCode_1 = require("../../../../commons/types/SourceOfPaymentCode");
|
|
42
|
+
const StreetAddressLongZip_1 = require("../../../../commons/types/StreetAddressLongZip");
|
|
42
43
|
exports.InsuranceCardBase = core.serialization.object({
|
|
43
44
|
groupNumber: core.serialization.property("group_number", core.serialization.string().optional()),
|
|
44
45
|
planName: core.serialization.property("plan_name", core.serialization.string().optional()),
|
|
45
46
|
planType: core.serialization.property("plan_type", SourceOfPaymentCode_1.SourceOfPaymentCode.optional()),
|
|
46
47
|
insuranceType: core.serialization.property("insurance_type", InsuranceTypeCode_1.InsuranceTypeCode.optional()),
|
|
47
48
|
payerPlanGroupId: core.serialization.property("payer_plan_group_id", PayerPlanGroupId_1.PayerPlanGroupId.optional()),
|
|
49
|
+
payerAddress: core.serialization.property("payer_address", StreetAddressLongZip_1.StreetAddressLongZip.optional()),
|
|
48
50
|
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../../../index";
|
|
4
4
|
export declare const TaskType: core.serialization.Schema<serializers.tasks.TaskType.Raw, CandidApi.tasks.TaskType>;
|
|
5
5
|
export declare namespace TaskType {
|
|
6
|
-
type Raw = "CUSTOMER_DATA_REQUEST" | "CLAIM_SUBMISSION_RUN_VALIDATIONS_FAILURE" | "CLAIM_SUBMISSION_SUBMIT_CLAIM_FAILURE" | "CLAIM_SUBMISSION_TRANSFORM_FAILURE" | "CODE_CLAIM" | "CODE_CLAIM_REVIEW" | "ELIGIBILITY" | "CLAIM_FOLLOW_UP" | "REJECTION_RESOLUTION" | "PAYER_CONFIGURATION_ERROR" | "DENIAL_RESOLUTION" | "MISSING_ENROLLMENT";
|
|
6
|
+
type Raw = "CUSTOMER_DATA_REQUEST" | "CLAIM_SUBMISSION_RUN_VALIDATIONS_FAILURE" | "CLAIM_SUBMISSION_SUBMIT_CLAIM_FAILURE" | "CLAIM_SUBMISSION_TRANSFORM_FAILURE" | "CODE_CLAIM" | "CODE_CLAIM_REVIEW" | "ELIGIBILITY" | "CLAIM_FOLLOW_UP" | "REJECTION_RESOLUTION" | "PAYER_CONFIGURATION_ERROR" | "DENIAL_RESOLUTION" | "MISSING_ENROLLMENT" | "CHARGE_CAPTURE_UPDATE";
|
|
7
7
|
}
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.17.
|
|
1
|
+
export declare const SDK_VERSION = "1.17.4";
|
package/version.js
CHANGED