candidhealth 0.16.0 → 0.16.2
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/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/api/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +8 -0
- package/api/resources/era/types/EraNotFullyProcessedErrorMessage.js +5 -0
- package/api/resources/era/types/index.d.ts +1 -0
- package/api/resources/era/types/index.js +1 -0
- 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/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +17 -3
- package/api/resources/insuranceAdjudications/resources/v1/client/create.d.ts +7 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/create.js +11 -0
- 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/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/serviceFacility/client/Client.js +1 -1
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/tasks/resources/v3/types/TaskAction.d.ts +1 -0
- package/api/resources/tasks/resources/v3/types/TaskActionType.d.ts +8 -0
- package/api/resources/tasks/resources/v3/types/TaskActionType.js +10 -0
- package/api/resources/tasks/resources/v3/types/index.d.ts +1 -0
- package/api/resources/tasks/resources/v3/types/index.js +1 -0
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/api/resources/x12/resources/v1/types/Carc.d.ts +108 -1
- package/api/resources/x12/resources/v1/types/Carc.js +107 -0
- 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/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/dist/api/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +8 -0
- package/dist/api/resources/era/types/EraNotFullyProcessedErrorMessage.js +5 -0
- package/dist/api/resources/era/types/index.d.ts +1 -0
- package/dist/api/resources/era/types/index.js +1 -0
- 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/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +17 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/create.d.ts +7 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/create.js +11 -0
- 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/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/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/tasks/resources/v3/types/TaskAction.d.ts +1 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskActionType.d.ts +8 -0
- package/dist/api/resources/tasks/resources/v3/types/TaskActionType.js +10 -0
- package/dist/api/resources/tasks/resources/v3/types/index.d.ts +1 -0
- package/dist/api/resources/tasks/resources/v3/types/index.js +1 -0
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +108 -1
- package/dist/api/resources/x12/resources/v1/types/Carc.js +107 -0
- package/dist/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +13 -0
- package/dist/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.js +34 -0
- package/dist/serialization/resources/era/types/index.d.ts +1 -0
- package/dist/serialization/resources/era/types/index.js +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/create.d.ts +14 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/create.js +46 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/index.js +27 -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/tasks/resources/v3/types/TaskAction.d.ts +1 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskAction.js +1 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskActionType.d.ts +10 -0
- package/dist/serialization/resources/tasks/resources/v3/types/TaskActionType.js +31 -0
- package/dist/serialization/resources/tasks/resources/v3/types/index.d.ts +1 -0
- package/dist/serialization/resources/tasks/resources/v3/types/index.js +1 -0
- package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
- package/dist/serialization/resources/x12/resources/v1/types/Carc.js +107 -0
- package/package.json +1 -1
- package/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +13 -0
- package/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.js +34 -0
- package/serialization/resources/era/types/index.d.ts +1 -0
- package/serialization/resources/era/types/index.js +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/client/create.d.ts +14 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/client/create.js +46 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/client/index.js +27 -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/tasks/resources/v3/types/TaskAction.d.ts +1 -0
- package/serialization/resources/tasks/resources/v3/types/TaskAction.js +1 -0
- package/serialization/resources/tasks/resources/v3/types/TaskActionType.d.ts +10 -0
- package/serialization/resources/tasks/resources/v3/types/TaskActionType.js +31 -0
- package/serialization/resources/tasks/resources/v3/types/index.d.ts +1 -0
- package/serialization/resources/tasks/resources/v3/types/index.js +1 -0
- package/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
- package/serialization/resources/x12/resources/v1/types/Carc.js +107 -0
|
@@ -300,4 +300,111 @@ exports.Carc = {
|
|
|
300
300
|
CarcP30: "P30",
|
|
301
301
|
CarcP31: "P31",
|
|
302
302
|
CarcP32: "P32",
|
|
303
|
+
Carc17: "17",
|
|
304
|
+
Carc25: "25",
|
|
305
|
+
Carc28: "28",
|
|
306
|
+
Carc30: "30",
|
|
307
|
+
Carc36: "36",
|
|
308
|
+
Carc37: "37",
|
|
309
|
+
Carc38: "38",
|
|
310
|
+
Carc41: "41",
|
|
311
|
+
Carc42: "42",
|
|
312
|
+
Carc43: "43",
|
|
313
|
+
Carc46: "46",
|
|
314
|
+
Carc47: "47",
|
|
315
|
+
Carc48: "48",
|
|
316
|
+
Carc52: "52",
|
|
317
|
+
Carc57: "57",
|
|
318
|
+
Carc62: "62",
|
|
319
|
+
Carc63: "63",
|
|
320
|
+
Carc64: "64",
|
|
321
|
+
Carc65: "65",
|
|
322
|
+
Carc67: "67",
|
|
323
|
+
Carc68: "68",
|
|
324
|
+
Carc71: "71",
|
|
325
|
+
Carc72: "72",
|
|
326
|
+
Carc73: "73",
|
|
327
|
+
Carc77: "77",
|
|
328
|
+
Carc79: "79",
|
|
329
|
+
Carc80: "80",
|
|
330
|
+
Carc81: "81",
|
|
331
|
+
Carc82: "82",
|
|
332
|
+
Carc83: "83",
|
|
333
|
+
Carc84: "84",
|
|
334
|
+
Carc86: "86",
|
|
335
|
+
Carc87: "87",
|
|
336
|
+
Carc88: "88",
|
|
337
|
+
Carc92: "92",
|
|
338
|
+
Carc93: "93",
|
|
339
|
+
Carc98: "98",
|
|
340
|
+
Carc99: "99",
|
|
341
|
+
Carc113: "113",
|
|
342
|
+
Carc120: "120",
|
|
343
|
+
Carc123: "123",
|
|
344
|
+
Carc124: "124",
|
|
345
|
+
Carc126: "126",
|
|
346
|
+
Carc127: "127",
|
|
347
|
+
Carc138: "138",
|
|
348
|
+
Carc141: "141",
|
|
349
|
+
Carc145: "145",
|
|
350
|
+
Carc156: "156",
|
|
351
|
+
Carc162: "162",
|
|
352
|
+
Carc165: "165",
|
|
353
|
+
Carc168: "168",
|
|
354
|
+
Carc191: "191",
|
|
355
|
+
Carc196: "196",
|
|
356
|
+
Carc214: "214",
|
|
357
|
+
Carc217: "217",
|
|
358
|
+
Carc218: "218",
|
|
359
|
+
Carc220: "220",
|
|
360
|
+
Carc221: "221",
|
|
361
|
+
Carc230: "230",
|
|
362
|
+
Carc244: "244",
|
|
363
|
+
Carc255: "255",
|
|
364
|
+
CarcA2: "A2",
|
|
365
|
+
CarcA3: "A3",
|
|
366
|
+
CarcA4: "A4",
|
|
367
|
+
CarcA7: "A7",
|
|
368
|
+
CarcB2: "B2",
|
|
369
|
+
CarcB3: "B3",
|
|
370
|
+
CarcB5: "B5",
|
|
371
|
+
CarcB6: "B6",
|
|
372
|
+
CarcB17: "B17",
|
|
373
|
+
CarcB18: "B18",
|
|
374
|
+
CarcB19: "B19",
|
|
375
|
+
CarcB21: "B21",
|
|
376
|
+
CarcD1: "D1",
|
|
377
|
+
CarcD2: "D2",
|
|
378
|
+
CarcD3: "D3",
|
|
379
|
+
CarcD4: "D4",
|
|
380
|
+
CarcD5: "D5",
|
|
381
|
+
CarcD6: "D6",
|
|
382
|
+
CarcD7: "D7",
|
|
383
|
+
CarcD8: "D8",
|
|
384
|
+
CarcD9: "D9",
|
|
385
|
+
CarcD10: "D10",
|
|
386
|
+
CarcD11: "D11",
|
|
387
|
+
CarcD12: "D12",
|
|
388
|
+
CarcD14: "D14",
|
|
389
|
+
CarcD15: "D15",
|
|
390
|
+
CarcD16: "D16",
|
|
391
|
+
CarcD17: "D17",
|
|
392
|
+
CarcD18: "D18",
|
|
393
|
+
CarcD19: "D19",
|
|
394
|
+
CarcD20: "D20",
|
|
395
|
+
CarcD21: "D21",
|
|
396
|
+
CarcD22: "D22",
|
|
397
|
+
CarcD23: "D23",
|
|
398
|
+
CarcW1: "W1",
|
|
399
|
+
CarcW2: "W2",
|
|
400
|
+
CarcW3: "W3",
|
|
401
|
+
CarcW4: "W4",
|
|
402
|
+
CarcW5: "W5",
|
|
403
|
+
CarcW6: "W6",
|
|
404
|
+
CarcW7: "W7",
|
|
405
|
+
CarcW8: "W8",
|
|
406
|
+
CarcW9: "W9",
|
|
407
|
+
CarcY1: "Y1",
|
|
408
|
+
CarcY2: "Y2",
|
|
409
|
+
CarcY3: "Y3",
|
|
303
410
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as CandidApi from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const EraNotFullyProcessedErrorMessage: core.serialization.ObjectSchema<serializers.EraNotFullyProcessedErrorMessage.Raw, CandidApi.EraNotFullyProcessedErrorMessage>;
|
|
8
|
+
export declare namespace EraNotFullyProcessedErrorMessage {
|
|
9
|
+
interface Raw {
|
|
10
|
+
claim_id: serializers.ClaimId.Raw;
|
|
11
|
+
message: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.EraNotFullyProcessedErrorMessage = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.EraNotFullyProcessedErrorMessage = core.serialization.object({
|
|
32
|
+
claimId: core.serialization.property("claim_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ClaimId)),
|
|
33
|
+
message: core.serialization.string(),
|
|
34
|
+
});
|
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./EraId"), exports);
|
|
18
18
|
__exportStar(require("./EraBase"), exports);
|
|
19
|
+
__exportStar(require("./EraNotFullyProcessedErrorMessage"), exports);
|
|
19
20
|
__exportStar(require("./Era"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const Error: core.serialization.Schema<serializers.insuranceAdjudications.v1.create.Error.Raw, CandidApi.insuranceAdjudications.v1.create.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.EraNotFullyProcessedError;
|
|
10
|
+
interface EraNotFullyProcessedError {
|
|
11
|
+
errorName: "EraNotFullyProcessedError";
|
|
12
|
+
content: serializers.EraNotFullyProcessedErrorMessage.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.Error = core.serialization
|
|
33
|
+
.union("errorName", {
|
|
34
|
+
EraNotFullyProcessedError: core.serialization.object({
|
|
35
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EraNotFullyProcessedErrorMessage),
|
|
36
|
+
}),
|
|
37
|
+
})
|
|
38
|
+
.transform({
|
|
39
|
+
transform: (value) => {
|
|
40
|
+
switch (value.errorName) {
|
|
41
|
+
case "EraNotFullyProcessedError":
|
|
42
|
+
return CandidApi.insuranceAdjudications.v1.create.Error.eraNotFullyProcessedError(value.content);
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
untransform: ({ _visit, ...value }) => value,
|
|
46
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as create from "./create";
|
|
@@ -0,0 +1,27 @@
|
|
|
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 (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.create = void 0;
|
|
27
|
+
exports.create = __importStar(require("./create"));
|
|
@@ -31,4 +31,5 @@ const core = __importStar(require("../../../../../../core"));
|
|
|
31
31
|
exports.TaskAction = core.serialization.object({
|
|
32
32
|
displayName: core.serialization.property("display_name", core.serialization.string()),
|
|
33
33
|
executionMethod: core.serialization.property("execution_method", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.v3.TaskActionExecutionMethod)),
|
|
34
|
+
type: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).tasks.v3.TaskActionType),
|
|
34
35
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const TaskActionType: core.serialization.Schema<serializers.tasks.v3.TaskActionType.Raw, CandidApi.tasks.v3.TaskActionType>;
|
|
8
|
+
export declare namespace TaskActionType {
|
|
9
|
+
type Raw = "close_task" | "close_task_and_reprocess";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.TaskActionType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.TaskActionType = core.serialization.enum_(["close_task", "close_task_and_reprocess"]);
|
|
@@ -2,6 +2,7 @@ export * from "./Task";
|
|
|
2
2
|
export * from "./TaskNote";
|
|
3
3
|
export * from "./TaskAssignment";
|
|
4
4
|
export * from "./TaskSortOptions";
|
|
5
|
+
export * from "./TaskActionType";
|
|
5
6
|
export * from "./TaskActionExecutionMethod";
|
|
6
7
|
export * from "./TaskActions";
|
|
7
8
|
export * from "./TaskAction";
|
|
@@ -18,6 +18,7 @@ __exportStar(require("./Task"), exports);
|
|
|
18
18
|
__exportStar(require("./TaskNote"), exports);
|
|
19
19
|
__exportStar(require("./TaskAssignment"), exports);
|
|
20
20
|
__exportStar(require("./TaskSortOptions"), exports);
|
|
21
|
+
__exportStar(require("./TaskActionType"), exports);
|
|
21
22
|
__exportStar(require("./TaskActionExecutionMethod"), exports);
|
|
22
23
|
__exportStar(require("./TaskActions"), exports);
|
|
23
24
|
__exportStar(require("./TaskAction"), exports);
|
|
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const Carc: core.serialization.Schema<serializers.x12.v1.Carc.Raw, CandidApi.x12.v1.Carc>;
|
|
8
8
|
export declare namespace Carc {
|
|
9
|
-
type Raw = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "16" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "26" | "27" | "29" | "31" | "32" | "33" | "34" | "35" | "39" | "40" | "44" | "45" | "49" | "50" | "51" | "53" | "54" | "55" | "56" | "58" | "59" | "60" | "61" | "66" | "69" | "70" | "74" | "75" | "76" | "78" | "85" | "89" | "90" | "91" | "94" | "95" | "96" | "97" | "100" | "101" | "102" | "103" | "104" | "105" | "106" | "107" | "108" | "109" | "110" | "111" | "112" | "114" | "115" | "116" | "117" | "118" | "119" | "121" | "122" | "125" | "128" | "129" | "130" | "131" | "132" | "133" | "134" | "135" | "136" | "137" | "139" | "140" | "142" | "143" | "144" | "146" | "147" | "148" | "149" | "150" | "151" | "152" | "153" | "154" | "155" | "157" | "158" | "159" | "160" | "161" | "163" | "164" | "166" | "167" | "169" | "170" | "171" | "172" | "173" | "174" | "175" | "176" | "177" | "178" | "179" | "180" | "181" | "182" | "183" | "184" | "185" | "186" | "187" | "188" | "189" | "190" | "192" | "193" | "194" | "195" | "197" | "198" | "199" | "200" | "201" | "202" | "203" | "204" | "205" | "206" | "207" | "208" | "209" | "210" | "211" | "212" | "213" | "215" | "216" | "219" | "222" | "223" | "224" | "225" | "226" | "227" | "228" | "229" | "231" | "232" | "233" | "234" | "235" | "236" | "237" | "238" | "239" | "240" | "241" | "242" | "243" | "245" | "246" | "247" | "248" | "249" | "250" | "251" | "252" | "253" | "254" | "256" | "257" | "258" | "259" | "260" | "261" | "262" | "263" | "264" | "265" | "266" | "267" | "268" | "269" | "270" | "271" | "272" | "273" | "274" | "275" | "276" | "277" | "278" | "279" | "280" | "281" | "282" | "283" | "284" | "285" | "286" | "287" | "288" | "289" | "290" | "291" | "292" | "293" | "294" | "295" | "296" | "297" | "298" | "299" | "300" | "301" | "302" | "303" | "304" | "305" | "A0" | "A1" | "A5" | "A6" | "A8" | "B1" | "B4" | "B7" | "B8" | "B9" | "B10" | "B11" | "B12" | "B13" | "B14" | "B15" | "B16" | "B20" | "B22" | "B23" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "P7" | "P8" | "P9" | "P10" | "P11" | "P12" | "P13" | "P14" | "P15" | "P16" | "P17" | "P18" | "P19" | "P20" | "P21" | "P22" | "P23" | "P24" | "P25" | "P26" | "P27" | "P28" | "P29" | "P30" | "P31" | "P32";
|
|
9
|
+
type Raw = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "16" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "26" | "27" | "29" | "31" | "32" | "33" | "34" | "35" | "39" | "40" | "44" | "45" | "49" | "50" | "51" | "53" | "54" | "55" | "56" | "58" | "59" | "60" | "61" | "66" | "69" | "70" | "74" | "75" | "76" | "78" | "85" | "89" | "90" | "91" | "94" | "95" | "96" | "97" | "100" | "101" | "102" | "103" | "104" | "105" | "106" | "107" | "108" | "109" | "110" | "111" | "112" | "114" | "115" | "116" | "117" | "118" | "119" | "121" | "122" | "125" | "128" | "129" | "130" | "131" | "132" | "133" | "134" | "135" | "136" | "137" | "139" | "140" | "142" | "143" | "144" | "146" | "147" | "148" | "149" | "150" | "151" | "152" | "153" | "154" | "155" | "157" | "158" | "159" | "160" | "161" | "163" | "164" | "166" | "167" | "169" | "170" | "171" | "172" | "173" | "174" | "175" | "176" | "177" | "178" | "179" | "180" | "181" | "182" | "183" | "184" | "185" | "186" | "187" | "188" | "189" | "190" | "192" | "193" | "194" | "195" | "197" | "198" | "199" | "200" | "201" | "202" | "203" | "204" | "205" | "206" | "207" | "208" | "209" | "210" | "211" | "212" | "213" | "215" | "216" | "219" | "222" | "223" | "224" | "225" | "226" | "227" | "228" | "229" | "231" | "232" | "233" | "234" | "235" | "236" | "237" | "238" | "239" | "240" | "241" | "242" | "243" | "245" | "246" | "247" | "248" | "249" | "250" | "251" | "252" | "253" | "254" | "256" | "257" | "258" | "259" | "260" | "261" | "262" | "263" | "264" | "265" | "266" | "267" | "268" | "269" | "270" | "271" | "272" | "273" | "274" | "275" | "276" | "277" | "278" | "279" | "280" | "281" | "282" | "283" | "284" | "285" | "286" | "287" | "288" | "289" | "290" | "291" | "292" | "293" | "294" | "295" | "296" | "297" | "298" | "299" | "300" | "301" | "302" | "303" | "304" | "305" | "A0" | "A1" | "A5" | "A6" | "A8" | "B1" | "B4" | "B7" | "B8" | "B9" | "B10" | "B11" | "B12" | "B13" | "B14" | "B15" | "B16" | "B20" | "B22" | "B23" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "P7" | "P8" | "P9" | "P10" | "P11" | "P12" | "P13" | "P14" | "P15" | "P16" | "P17" | "P18" | "P19" | "P20" | "P21" | "P22" | "P23" | "P24" | "P25" | "P26" | "P27" | "P28" | "P29" | "P30" | "P31" | "P32" | "17" | "25" | "28" | "30" | "36" | "37" | "38" | "41" | "42" | "43" | "46" | "47" | "48" | "52" | "57" | "62" | "63" | "64" | "65" | "67" | "68" | "71" | "72" | "73" | "77" | "79" | "80" | "81" | "82" | "83" | "84" | "86" | "87" | "88" | "92" | "93" | "98" | "99" | "113" | "120" | "123" | "124" | "126" | "127" | "138" | "141" | "145" | "156" | "162" | "165" | "168" | "191" | "196" | "214" | "217" | "218" | "220" | "221" | "230" | "244" | "255" | "A2" | "A3" | "A4" | "A7" | "B2" | "B3" | "B5" | "B6" | "B17" | "B18" | "B19" | "B21" | "D1" | "D2" | "D3" | "D4" | "D5" | "D6" | "D7" | "D8" | "D9" | "D10" | "D11" | "D12" | "D14" | "D15" | "D16" | "D17" | "D18" | "D19" | "D20" | "D21" | "D22" | "D23" | "W1" | "W2" | "W3" | "W4" | "W5" | "W6" | "W7" | "W8" | "W9" | "Y1" | "Y2" | "Y3";
|
|
10
10
|
}
|
|
@@ -324,4 +324,111 @@ exports.Carc = core.serialization.enum_([
|
|
|
324
324
|
"P30",
|
|
325
325
|
"P31",
|
|
326
326
|
"P32",
|
|
327
|
+
"17",
|
|
328
|
+
"25",
|
|
329
|
+
"28",
|
|
330
|
+
"30",
|
|
331
|
+
"36",
|
|
332
|
+
"37",
|
|
333
|
+
"38",
|
|
334
|
+
"41",
|
|
335
|
+
"42",
|
|
336
|
+
"43",
|
|
337
|
+
"46",
|
|
338
|
+
"47",
|
|
339
|
+
"48",
|
|
340
|
+
"52",
|
|
341
|
+
"57",
|
|
342
|
+
"62",
|
|
343
|
+
"63",
|
|
344
|
+
"64",
|
|
345
|
+
"65",
|
|
346
|
+
"67",
|
|
347
|
+
"68",
|
|
348
|
+
"71",
|
|
349
|
+
"72",
|
|
350
|
+
"73",
|
|
351
|
+
"77",
|
|
352
|
+
"79",
|
|
353
|
+
"80",
|
|
354
|
+
"81",
|
|
355
|
+
"82",
|
|
356
|
+
"83",
|
|
357
|
+
"84",
|
|
358
|
+
"86",
|
|
359
|
+
"87",
|
|
360
|
+
"88",
|
|
361
|
+
"92",
|
|
362
|
+
"93",
|
|
363
|
+
"98",
|
|
364
|
+
"99",
|
|
365
|
+
"113",
|
|
366
|
+
"120",
|
|
367
|
+
"123",
|
|
368
|
+
"124",
|
|
369
|
+
"126",
|
|
370
|
+
"127",
|
|
371
|
+
"138",
|
|
372
|
+
"141",
|
|
373
|
+
"145",
|
|
374
|
+
"156",
|
|
375
|
+
"162",
|
|
376
|
+
"165",
|
|
377
|
+
"168",
|
|
378
|
+
"191",
|
|
379
|
+
"196",
|
|
380
|
+
"214",
|
|
381
|
+
"217",
|
|
382
|
+
"218",
|
|
383
|
+
"220",
|
|
384
|
+
"221",
|
|
385
|
+
"230",
|
|
386
|
+
"244",
|
|
387
|
+
"255",
|
|
388
|
+
"A2",
|
|
389
|
+
"A3",
|
|
390
|
+
"A4",
|
|
391
|
+
"A7",
|
|
392
|
+
"B2",
|
|
393
|
+
"B3",
|
|
394
|
+
"B5",
|
|
395
|
+
"B6",
|
|
396
|
+
"B17",
|
|
397
|
+
"B18",
|
|
398
|
+
"B19",
|
|
399
|
+
"B21",
|
|
400
|
+
"D1",
|
|
401
|
+
"D2",
|
|
402
|
+
"D3",
|
|
403
|
+
"D4",
|
|
404
|
+
"D5",
|
|
405
|
+
"D6",
|
|
406
|
+
"D7",
|
|
407
|
+
"D8",
|
|
408
|
+
"D9",
|
|
409
|
+
"D10",
|
|
410
|
+
"D11",
|
|
411
|
+
"D12",
|
|
412
|
+
"D14",
|
|
413
|
+
"D15",
|
|
414
|
+
"D16",
|
|
415
|
+
"D17",
|
|
416
|
+
"D18",
|
|
417
|
+
"D19",
|
|
418
|
+
"D20",
|
|
419
|
+
"D21",
|
|
420
|
+
"D22",
|
|
421
|
+
"D23",
|
|
422
|
+
"W1",
|
|
423
|
+
"W2",
|
|
424
|
+
"W3",
|
|
425
|
+
"W4",
|
|
426
|
+
"W5",
|
|
427
|
+
"W6",
|
|
428
|
+
"W7",
|
|
429
|
+
"W8",
|
|
430
|
+
"W9",
|
|
431
|
+
"Y1",
|
|
432
|
+
"Y2",
|
|
433
|
+
"Y3",
|
|
327
434
|
]);
|
package/package.json
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../..";
|
|
5
|
+
import * as CandidApi from "../../../../api";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const EraNotFullyProcessedErrorMessage: core.serialization.ObjectSchema<serializers.EraNotFullyProcessedErrorMessage.Raw, CandidApi.EraNotFullyProcessedErrorMessage>;
|
|
8
|
+
export declare namespace EraNotFullyProcessedErrorMessage {
|
|
9
|
+
interface Raw {
|
|
10
|
+
claim_id: serializers.ClaimId.Raw;
|
|
11
|
+
message: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.EraNotFullyProcessedErrorMessage = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.EraNotFullyProcessedErrorMessage = core.serialization.object({
|
|
32
|
+
claimId: core.serialization.property("claim_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ClaimId)),
|
|
33
|
+
message: core.serialization.string(),
|
|
34
|
+
});
|
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./EraId"), exports);
|
|
18
18
|
__exportStar(require("./EraBase"), exports);
|
|
19
|
+
__exportStar(require("./EraNotFullyProcessedErrorMessage"), exports);
|
|
19
20
|
__exportStar(require("./Era"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const Error: core.serialization.Schema<serializers.insuranceAdjudications.v1.create.Error.Raw, CandidApi.insuranceAdjudications.v1.create.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.EraNotFullyProcessedError;
|
|
10
|
+
interface EraNotFullyProcessedError {
|
|
11
|
+
errorName: "EraNotFullyProcessedError";
|
|
12
|
+
content: serializers.EraNotFullyProcessedErrorMessage.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.Error = core.serialization
|
|
33
|
+
.union("errorName", {
|
|
34
|
+
EraNotFullyProcessedError: core.serialization.object({
|
|
35
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EraNotFullyProcessedErrorMessage),
|
|
36
|
+
}),
|
|
37
|
+
})
|
|
38
|
+
.transform({
|
|
39
|
+
transform: (value) => {
|
|
40
|
+
switch (value.errorName) {
|
|
41
|
+
case "EraNotFullyProcessedError":
|
|
42
|
+
return CandidApi.insuranceAdjudications.v1.create.Error.eraNotFullyProcessedError(value.content);
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
untransform: ({ _visit, ...value }) => value,
|
|
46
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as create from "./create";
|