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
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type TaskActionType = "close_task" | "close_task_and_reprocess";
|
|
5
|
+
export declare const TaskActionType: {
|
|
6
|
+
readonly CloseTask: "close_task";
|
|
7
|
+
readonly CloseTaskAndReprocess: "close_task_and_reprocess";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.TaskActionType = void 0;
|
|
7
|
+
exports.TaskActionType = {
|
|
8
|
+
CloseTask: "close_task",
|
|
9
|
+
CloseTaskAndReprocess: "close_task_and_reprocess",
|
|
10
|
+
};
|
|
@@ -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);
|
|
@@ -92,7 +92,7 @@ class V1 {
|
|
|
92
92
|
Authorization: await this._getAuthorizationHeader(),
|
|
93
93
|
"X-Fern-Language": "JavaScript",
|
|
94
94
|
"X-Fern-SDK-Name": "candidhealth",
|
|
95
|
-
"X-Fern-SDK-Version": "0.16.
|
|
95
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
96
96
|
},
|
|
97
97
|
contentType: "application/json",
|
|
98
98
|
queryParameters: _queryParams,
|
|
@@ -126,7 +126,7 @@ class V1 {
|
|
|
126
126
|
Authorization: await this._getAuthorizationHeader(),
|
|
127
127
|
"X-Fern-Language": "JavaScript",
|
|
128
128
|
"X-Fern-SDK-Name": "candidhealth",
|
|
129
|
-
"X-Fern-SDK-Version": "0.16.
|
|
129
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
130
130
|
},
|
|
131
131
|
contentType: "application/json",
|
|
132
132
|
timeoutMs: 60000,
|
|
@@ -161,7 +161,7 @@ class V1 {
|
|
|
161
161
|
Authorization: await this._getAuthorizationHeader(),
|
|
162
162
|
"X-Fern-Language": "JavaScript",
|
|
163
163
|
"X-Fern-SDK-Name": "candidhealth",
|
|
164
|
-
"X-Fern-SDK-Version": "0.16.
|
|
164
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
165
165
|
},
|
|
166
166
|
contentType: "application/json",
|
|
167
167
|
body: await serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
|
|
@@ -197,7 +197,7 @@ class V1 {
|
|
|
197
197
|
Authorization: await this._getAuthorizationHeader(),
|
|
198
198
|
"X-Fern-Language": "JavaScript",
|
|
199
199
|
"X-Fern-SDK-Name": "candidhealth",
|
|
200
|
-
"X-Fern-SDK-Version": "0.16.
|
|
200
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
201
201
|
},
|
|
202
202
|
contentType: "application/json",
|
|
203
203
|
timeoutMs: 60000,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare type Carc = "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";
|
|
4
|
+
export declare type Carc = "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";
|
|
5
5
|
export declare const Carc: {
|
|
6
6
|
readonly Carc1: "1";
|
|
7
7
|
readonly Carc2: "2";
|
|
@@ -298,4 +298,111 @@ export declare const Carc: {
|
|
|
298
298
|
readonly CarcP30: "P30";
|
|
299
299
|
readonly CarcP31: "P31";
|
|
300
300
|
readonly CarcP32: "P32";
|
|
301
|
+
readonly Carc17: "17";
|
|
302
|
+
readonly Carc25: "25";
|
|
303
|
+
readonly Carc28: "28";
|
|
304
|
+
readonly Carc30: "30";
|
|
305
|
+
readonly Carc36: "36";
|
|
306
|
+
readonly Carc37: "37";
|
|
307
|
+
readonly Carc38: "38";
|
|
308
|
+
readonly Carc41: "41";
|
|
309
|
+
readonly Carc42: "42";
|
|
310
|
+
readonly Carc43: "43";
|
|
311
|
+
readonly Carc46: "46";
|
|
312
|
+
readonly Carc47: "47";
|
|
313
|
+
readonly Carc48: "48";
|
|
314
|
+
readonly Carc52: "52";
|
|
315
|
+
readonly Carc57: "57";
|
|
316
|
+
readonly Carc62: "62";
|
|
317
|
+
readonly Carc63: "63";
|
|
318
|
+
readonly Carc64: "64";
|
|
319
|
+
readonly Carc65: "65";
|
|
320
|
+
readonly Carc67: "67";
|
|
321
|
+
readonly Carc68: "68";
|
|
322
|
+
readonly Carc71: "71";
|
|
323
|
+
readonly Carc72: "72";
|
|
324
|
+
readonly Carc73: "73";
|
|
325
|
+
readonly Carc77: "77";
|
|
326
|
+
readonly Carc79: "79";
|
|
327
|
+
readonly Carc80: "80";
|
|
328
|
+
readonly Carc81: "81";
|
|
329
|
+
readonly Carc82: "82";
|
|
330
|
+
readonly Carc83: "83";
|
|
331
|
+
readonly Carc84: "84";
|
|
332
|
+
readonly Carc86: "86";
|
|
333
|
+
readonly Carc87: "87";
|
|
334
|
+
readonly Carc88: "88";
|
|
335
|
+
readonly Carc92: "92";
|
|
336
|
+
readonly Carc93: "93";
|
|
337
|
+
readonly Carc98: "98";
|
|
338
|
+
readonly Carc99: "99";
|
|
339
|
+
readonly Carc113: "113";
|
|
340
|
+
readonly Carc120: "120";
|
|
341
|
+
readonly Carc123: "123";
|
|
342
|
+
readonly Carc124: "124";
|
|
343
|
+
readonly Carc126: "126";
|
|
344
|
+
readonly Carc127: "127";
|
|
345
|
+
readonly Carc138: "138";
|
|
346
|
+
readonly Carc141: "141";
|
|
347
|
+
readonly Carc145: "145";
|
|
348
|
+
readonly Carc156: "156";
|
|
349
|
+
readonly Carc162: "162";
|
|
350
|
+
readonly Carc165: "165";
|
|
351
|
+
readonly Carc168: "168";
|
|
352
|
+
readonly Carc191: "191";
|
|
353
|
+
readonly Carc196: "196";
|
|
354
|
+
readonly Carc214: "214";
|
|
355
|
+
readonly Carc217: "217";
|
|
356
|
+
readonly Carc218: "218";
|
|
357
|
+
readonly Carc220: "220";
|
|
358
|
+
readonly Carc221: "221";
|
|
359
|
+
readonly Carc230: "230";
|
|
360
|
+
readonly Carc244: "244";
|
|
361
|
+
readonly Carc255: "255";
|
|
362
|
+
readonly CarcA2: "A2";
|
|
363
|
+
readonly CarcA3: "A3";
|
|
364
|
+
readonly CarcA4: "A4";
|
|
365
|
+
readonly CarcA7: "A7";
|
|
366
|
+
readonly CarcB2: "B2";
|
|
367
|
+
readonly CarcB3: "B3";
|
|
368
|
+
readonly CarcB5: "B5";
|
|
369
|
+
readonly CarcB6: "B6";
|
|
370
|
+
readonly CarcB17: "B17";
|
|
371
|
+
readonly CarcB18: "B18";
|
|
372
|
+
readonly CarcB19: "B19";
|
|
373
|
+
readonly CarcB21: "B21";
|
|
374
|
+
readonly CarcD1: "D1";
|
|
375
|
+
readonly CarcD2: "D2";
|
|
376
|
+
readonly CarcD3: "D3";
|
|
377
|
+
readonly CarcD4: "D4";
|
|
378
|
+
readonly CarcD5: "D5";
|
|
379
|
+
readonly CarcD6: "D6";
|
|
380
|
+
readonly CarcD7: "D7";
|
|
381
|
+
readonly CarcD8: "D8";
|
|
382
|
+
readonly CarcD9: "D9";
|
|
383
|
+
readonly CarcD10: "D10";
|
|
384
|
+
readonly CarcD11: "D11";
|
|
385
|
+
readonly CarcD12: "D12";
|
|
386
|
+
readonly CarcD14: "D14";
|
|
387
|
+
readonly CarcD15: "D15";
|
|
388
|
+
readonly CarcD16: "D16";
|
|
389
|
+
readonly CarcD17: "D17";
|
|
390
|
+
readonly CarcD18: "D18";
|
|
391
|
+
readonly CarcD19: "D19";
|
|
392
|
+
readonly CarcD20: "D20";
|
|
393
|
+
readonly CarcD21: "D21";
|
|
394
|
+
readonly CarcD22: "D22";
|
|
395
|
+
readonly CarcD23: "D23";
|
|
396
|
+
readonly CarcW1: "W1";
|
|
397
|
+
readonly CarcW2: "W2";
|
|
398
|
+
readonly CarcW3: "W3";
|
|
399
|
+
readonly CarcW4: "W4";
|
|
400
|
+
readonly CarcW5: "W5";
|
|
401
|
+
readonly CarcW6: "W6";
|
|
402
|
+
readonly CarcW7: "W7";
|
|
403
|
+
readonly CarcW8: "W8";
|
|
404
|
+
readonly CarcW9: "W9";
|
|
405
|
+
readonly CarcY1: "Y1";
|
|
406
|
+
readonly CarcY2: "Y2";
|
|
407
|
+
readonly CarcY3: "Y3";
|
|
301
408
|
};
|
|
@@ -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
|
};
|
|
@@ -62,7 +62,7 @@ class V2 {
|
|
|
62
62
|
Authorization: await this._getAuthorizationHeader(),
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "candidhealth",
|
|
65
|
-
"X-Fern-SDK-Version": "0.16.
|
|
65
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
66
66
|
},
|
|
67
67
|
contentType: "application/json",
|
|
68
68
|
body: await serializers.auth.v2.AuthGetTokenRequest.jsonOrThrow(request, {
|
|
@@ -48,7 +48,7 @@ class V2 {
|
|
|
48
48
|
Authorization: await this._getAuthorizationHeader(),
|
|
49
49
|
"X-Fern-Language": "JavaScript",
|
|
50
50
|
"X-Fern-SDK-Name": "candidhealth",
|
|
51
|
-
"X-Fern-SDK-Version": "0.16.
|
|
51
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.billingNotes.v2.StandaloneBillingNoteCreate.jsonOrThrow(request, {
|
|
@@ -49,7 +49,7 @@ class V2 {
|
|
|
49
49
|
Authorization: await this._getAuthorizationHeader(),
|
|
50
50
|
"X-Fern-Language": "JavaScript",
|
|
51
51
|
"X-Fern-SDK-Name": "candidhealth",
|
|
52
|
-
"X-Fern-SDK-Version": "0.16.
|
|
52
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -136,7 +136,7 @@ class V2 {
|
|
|
136
136
|
Authorization: await this._getAuthorizationHeader(),
|
|
137
137
|
"X-Fern-Language": "JavaScript",
|
|
138
138
|
"X-Fern-SDK-Name": "candidhealth",
|
|
139
|
-
"X-Fern-SDK-Version": "0.16.
|
|
139
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
140
140
|
},
|
|
141
141
|
contentType: "application/json",
|
|
142
142
|
queryParameters: _queryParams,
|
|
@@ -169,7 +169,7 @@ class V2 {
|
|
|
169
169
|
Authorization: await this._getAuthorizationHeader(),
|
|
170
170
|
"X-Fern-Language": "JavaScript",
|
|
171
171
|
"X-Fern-SDK-Name": "candidhealth",
|
|
172
|
-
"X-Fern-SDK-Version": "0.16.
|
|
172
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
173
173
|
},
|
|
174
174
|
contentType: "application/json",
|
|
175
175
|
body: await serializers.contracts.v2.ContractCreate.jsonOrThrow(request, {
|
|
@@ -201,7 +201,7 @@ class V2 {
|
|
|
201
201
|
Authorization: await this._getAuthorizationHeader(),
|
|
202
202
|
"X-Fern-Language": "JavaScript",
|
|
203
203
|
"X-Fern-SDK-Name": "candidhealth",
|
|
204
|
-
"X-Fern-SDK-Version": "0.16.
|
|
204
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
205
205
|
},
|
|
206
206
|
contentType: "application/json",
|
|
207
207
|
timeoutMs: 60000,
|
|
@@ -239,7 +239,7 @@ class V2 {
|
|
|
239
239
|
Authorization: await this._getAuthorizationHeader(),
|
|
240
240
|
"X-Fern-Language": "JavaScript",
|
|
241
241
|
"X-Fern-SDK-Name": "candidhealth",
|
|
242
|
-
"X-Fern-SDK-Version": "0.16.
|
|
242
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
243
243
|
},
|
|
244
244
|
contentType: "application/json",
|
|
245
245
|
body: await serializers.contracts.v2.ContractUpdate.jsonOrThrow(request, {
|
|
@@ -65,7 +65,7 @@ class V2 {
|
|
|
65
65
|
Authorization: await this._getAuthorizationHeader(),
|
|
66
66
|
"X-Fern-Language": "JavaScript",
|
|
67
67
|
"X-Fern-SDK-Name": "candidhealth",
|
|
68
|
-
"X-Fern-SDK-Version": "0.16.
|
|
68
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
69
69
|
},
|
|
70
70
|
contentType: "application/json",
|
|
71
71
|
body: request,
|
|
@@ -103,7 +103,7 @@ class V4 {
|
|
|
103
103
|
Authorization: await this._getAuthorizationHeader(),
|
|
104
104
|
"X-Fern-Language": "JavaScript",
|
|
105
105
|
"X-Fern-SDK-Name": "candidhealth",
|
|
106
|
-
"X-Fern-SDK-Version": "0.16.
|
|
106
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
107
107
|
},
|
|
108
108
|
contentType: "application/json",
|
|
109
109
|
queryParameters: _queryParams,
|
|
@@ -133,7 +133,7 @@ class V4 {
|
|
|
133
133
|
Authorization: await this._getAuthorizationHeader(),
|
|
134
134
|
"X-Fern-Language": "JavaScript",
|
|
135
135
|
"X-Fern-SDK-Name": "candidhealth",
|
|
136
|
-
"X-Fern-SDK-Version": "0.16.
|
|
136
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
137
137
|
},
|
|
138
138
|
contentType: "application/json",
|
|
139
139
|
timeoutMs: 60000,
|
|
@@ -162,7 +162,7 @@ class V4 {
|
|
|
162
162
|
Authorization: await this._getAuthorizationHeader(),
|
|
163
163
|
"X-Fern-Language": "JavaScript",
|
|
164
164
|
"X-Fern-SDK-Name": "candidhealth",
|
|
165
|
-
"X-Fern-SDK-Version": "0.16.
|
|
165
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
166
166
|
},
|
|
167
167
|
contentType: "application/json",
|
|
168
168
|
body: await serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, {
|
|
@@ -213,7 +213,7 @@ class V4 {
|
|
|
213
213
|
Authorization: await this._getAuthorizationHeader(),
|
|
214
214
|
"X-Fern-Language": "JavaScript",
|
|
215
215
|
"X-Fern-SDK-Name": "candidhealth",
|
|
216
|
-
"X-Fern-SDK-Version": "0.16.
|
|
216
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
217
217
|
},
|
|
218
218
|
contentType: "application/json",
|
|
219
219
|
body: await serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, {
|
|
@@ -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);
|
|
@@ -52,7 +52,7 @@ class V1 {
|
|
|
52
52
|
Authorization: await this._getAuthorizationHeader(),
|
|
53
53
|
"X-Fern-Language": "JavaScript",
|
|
54
54
|
"X-Fern-SDK-Name": "candidhealth",
|
|
55
|
-
"X-Fern-SDK-Version": "0.16.
|
|
55
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
56
56
|
},
|
|
57
57
|
contentType: "application/json",
|
|
58
58
|
body: await serializers.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
|
|
@@ -54,7 +54,7 @@ class V2 {
|
|
|
54
54
|
Authorization: await this._getAuthorizationHeader(),
|
|
55
55
|
"X-Fern-Language": "JavaScript",
|
|
56
56
|
"X-Fern-SDK-Name": "candidhealth",
|
|
57
|
-
"X-Fern-SDK-Version": "0.16.
|
|
57
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
58
58
|
},
|
|
59
59
|
contentType: "application/json",
|
|
60
60
|
body: await serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2.jsonOrThrow(request, {
|
|
@@ -109,7 +109,7 @@ class V2 {
|
|
|
109
109
|
Authorization: await this._getAuthorizationHeader(),
|
|
110
110
|
"X-Fern-Language": "JavaScript",
|
|
111
111
|
"X-Fern-SDK-Name": "candidhealth",
|
|
112
|
-
"X-Fern-SDK-Version": "0.16.
|
|
112
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
113
113
|
},
|
|
114
114
|
contentType: "application/json",
|
|
115
115
|
body: await serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest.jsonOrThrow(request, {
|
|
@@ -68,7 +68,7 @@ class V3 {
|
|
|
68
68
|
Authorization: await this._getAuthorizationHeader(),
|
|
69
69
|
"X-Fern-Language": "JavaScript",
|
|
70
70
|
"X-Fern-SDK-Name": "candidhealth",
|
|
71
|
-
"X-Fern-SDK-Version": "0.16.
|
|
71
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
72
72
|
},
|
|
73
73
|
contentType: "application/json",
|
|
74
74
|
queryParameters: _queryParams,
|
|
@@ -52,7 +52,7 @@ class V1 {
|
|
|
52
52
|
Authorization: await this._getAuthorizationHeader(),
|
|
53
53
|
"X-Fern-Language": "JavaScript",
|
|
54
54
|
"X-Fern-SDK-Name": "candidhealth",
|
|
55
|
-
"X-Fern-SDK-Version": "0.16.
|
|
55
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
56
56
|
},
|
|
57
57
|
contentType: "application/json",
|
|
58
58
|
body: await serializers.guarantor.v1.GuarantorCreate.jsonOrThrow(request, {
|
|
@@ -102,7 +102,7 @@ class V1 {
|
|
|
102
102
|
Authorization: await this._getAuthorizationHeader(),
|
|
103
103
|
"X-Fern-Language": "JavaScript",
|
|
104
104
|
"X-Fern-SDK-Name": "candidhealth",
|
|
105
|
-
"X-Fern-SDK-Version": "0.16.
|
|
105
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
106
106
|
},
|
|
107
107
|
contentType: "application/json",
|
|
108
108
|
timeoutMs: 60000,
|
|
@@ -135,7 +135,7 @@ class V1 {
|
|
|
135
135
|
Authorization: await this._getAuthorizationHeader(),
|
|
136
136
|
"X-Fern-Language": "JavaScript",
|
|
137
137
|
"X-Fern-SDK-Name": "candidhealth",
|
|
138
|
-
"X-Fern-SDK-Version": "0.16.
|
|
138
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
139
139
|
},
|
|
140
140
|
contentType: "application/json",
|
|
141
141
|
body: await serializers.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, {
|
|
@@ -52,7 +52,7 @@ class V1 {
|
|
|
52
52
|
Authorization: await this._getAuthorizationHeader(),
|
|
53
53
|
"X-Fern-Language": "JavaScript",
|
|
54
54
|
"X-Fern-SDK-Name": "candidhealth",
|
|
55
|
-
"X-Fern-SDK-Version": "0.16.
|
|
55
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
56
56
|
},
|
|
57
57
|
contentType: "application/json",
|
|
58
58
|
timeoutMs: 60000,
|
|
@@ -85,7 +85,7 @@ class V1 {
|
|
|
85
85
|
Authorization: await this._getAuthorizationHeader(),
|
|
86
86
|
"X-Fern-Language": "JavaScript",
|
|
87
87
|
"X-Fern-SDK-Name": "candidhealth",
|
|
88
|
-
"X-Fern-SDK-Version": "0.16.
|
|
88
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
89
89
|
},
|
|
90
90
|
contentType: "application/json",
|
|
91
91
|
body: await serializers.insuranceAdjudications.v1.InsuranceAdjudicationCreate.jsonOrThrow(request, {
|
|
@@ -104,6 +104,20 @@ class V1 {
|
|
|
104
104
|
}),
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
|
+
if (_response.error.reason === "status-code") {
|
|
108
|
+
switch (_response.error.body?.errorName) {
|
|
109
|
+
case "EraNotFullyProcessedError":
|
|
110
|
+
return {
|
|
111
|
+
ok: false,
|
|
112
|
+
error: await serializers.insuranceAdjudications.v1.create.Error.parseOrThrow(_response.error.body, {
|
|
113
|
+
unrecognizedObjectKeys: "passthrough",
|
|
114
|
+
allowUnrecognizedUnionMembers: true,
|
|
115
|
+
allowUnrecognizedEnumValues: true,
|
|
116
|
+
breadcrumbsPrefix: ["response"],
|
|
117
|
+
}),
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
}
|
|
107
121
|
return {
|
|
108
122
|
ok: false,
|
|
109
123
|
error: CandidApi.insuranceAdjudications.v1.create.Error._unknown(_response.error),
|
|
@@ -121,7 +135,7 @@ class V1 {
|
|
|
121
135
|
Authorization: await this._getAuthorizationHeader(),
|
|
122
136
|
"X-Fern-Language": "JavaScript",
|
|
123
137
|
"X-Fern-SDK-Name": "candidhealth",
|
|
124
|
-
"X-Fern-SDK-Version": "0.16.
|
|
138
|
+
"X-Fern-SDK-Version": "0.16.2",
|
|
125
139
|
},
|
|
126
140
|
contentType: "application/json",
|
|
127
141
|
timeoutMs: 60000,
|
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../..";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.insuranceAdjudications.v1.create.Error._Unknown;
|
|
6
|
+
export declare type Error = CandidApi.insuranceAdjudications.v1.create.Error.EraNotFullyProcessedError | CandidApi.insuranceAdjudications.v1.create.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
|
+
interface EraNotFullyProcessedError extends _Utils {
|
|
9
|
+
errorName: "EraNotFullyProcessedError";
|
|
10
|
+
content: CandidApi.EraNotFullyProcessedErrorMessage;
|
|
11
|
+
}
|
|
8
12
|
interface _Unknown extends _Utils {
|
|
9
13
|
errorName: void;
|
|
10
14
|
content: core.Fetcher.Error;
|
|
@@ -13,10 +17,12 @@ export declare namespace Error {
|
|
|
13
17
|
_visit: <_Result>(visitor: CandidApi.insuranceAdjudications.v1.create.Error._Visitor<_Result>) => _Result;
|
|
14
18
|
}
|
|
15
19
|
interface _Visitor<_Result> {
|
|
20
|
+
eraNotFullyProcessedError: (value: CandidApi.EraNotFullyProcessedErrorMessage) => _Result;
|
|
16
21
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
22
|
}
|
|
18
23
|
}
|
|
19
24
|
export declare const Error: {
|
|
25
|
+
readonly eraNotFullyProcessedError: (value: CandidApi.EraNotFullyProcessedErrorMessage) => CandidApi.insuranceAdjudications.v1.create.Error.EraNotFullyProcessedError;
|
|
20
26
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.insuranceAdjudications.v1.create.Error._Unknown;
|
|
21
27
|
readonly _visit: <_Result>(value: CandidApi.insuranceAdjudications.v1.create.Error, visitor: CandidApi.insuranceAdjudications.v1.create.Error._Visitor<_Result>) => _Result;
|
|
22
28
|
};
|
|
@@ -29,6 +29,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Error = void 0;
|
|
30
30
|
const CandidApi = __importStar(require("../../../../.."));
|
|
31
31
|
exports.Error = {
|
|
32
|
+
eraNotFullyProcessedError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "EraNotFullyProcessedError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.insuranceAdjudications.v1.create.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
32
41
|
_unknown: (fetcherError) => {
|
|
33
42
|
return {
|
|
34
43
|
errorName: undefined,
|
|
@@ -40,6 +49,8 @@ exports.Error = {
|
|
|
40
49
|
},
|
|
41
50
|
_visit: (value, visitor) => {
|
|
42
51
|
switch (value.errorName) {
|
|
52
|
+
case "EraNotFullyProcessedError":
|
|
53
|
+
return visitor.eraNotFullyProcessedError(value.content);
|
|
43
54
|
default:
|
|
44
55
|
return visitor._other(value);
|
|
45
56
|
}
|