candidhealth 0.17.2 → 0.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/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 +2 -2
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- 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 +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +9 -5
- package/api/resources/insurancePayments/resources/v1/client/create.d.ts +13 -1
- package/api/resources/insurancePayments/resources/v1/client/create.js +22 -0
- package/api/resources/insurancePayments/resources/v1/client/delete.d.ts +7 -1
- package/api/resources/insurancePayments/resources/v1/client/delete.js +11 -0
- package/api/resources/insurancePayments/resources/v1/client/update.d.ts +7 -1
- package/api/resources/insurancePayments/resources/v1/client/update.js +11 -0
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +83 -5
- package/api/resources/insuranceRefunds/resources/v1/client/create.d.ts +19 -1
- package/api/resources/insuranceRefunds/resources/v1/client/create.js +33 -0
- package/api/resources/insuranceRefunds/resources/v1/client/delete.d.ts +19 -1
- package/api/resources/insuranceRefunds/resources/v1/client/delete.js +33 -0
- package/api/resources/insuranceRefunds/resources/v1/client/get.d.ts +13 -1
- package/api/resources/insuranceRefunds/resources/v1/client/get.js +22 -0
- package/api/resources/insuranceRefunds/resources/v1/client/getMulti.d.ts +13 -1
- package/api/resources/insuranceRefunds/resources/v1/client/getMulti.js +22 -0
- package/api/resources/insuranceRefunds/resources/v1/client/update.d.ts +19 -1
- package/api/resources/insuranceRefunds/resources/v1/client/update.js +33 -0
- 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 +83 -5
- package/api/resources/patientPayments/resources/v4/client/create.d.ts +19 -1
- package/api/resources/patientPayments/resources/v4/client/create.js +33 -0
- package/api/resources/patientPayments/resources/v4/client/delete.d.ts +19 -1
- package/api/resources/patientPayments/resources/v4/client/delete.js +33 -0
- package/api/resources/patientPayments/resources/v4/client/get.d.ts +13 -1
- package/api/resources/patientPayments/resources/v4/client/get.js +22 -0
- package/api/resources/patientPayments/resources/v4/client/getMulti.d.ts +13 -1
- package/api/resources/patientPayments/resources/v4/client/getMulti.js +22 -0
- package/api/resources/patientPayments/resources/v4/client/update.d.ts +19 -1
- package/api/resources/patientPayments/resources/v4/client/update.js +33 -0
- package/api/resources/patientRefunds/resources/v1/client/Client.js +83 -5
- package/api/resources/patientRefunds/resources/v1/client/create.d.ts +19 -1
- package/api/resources/patientRefunds/resources/v1/client/create.js +33 -0
- package/api/resources/patientRefunds/resources/v1/client/delete.d.ts +19 -1
- package/api/resources/patientRefunds/resources/v1/client/delete.js +33 -0
- package/api/resources/patientRefunds/resources/v1/client/get.d.ts +13 -1
- package/api/resources/patientRefunds/resources/v1/client/get.js +22 -0
- package/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +13 -1
- package/api/resources/patientRefunds/resources/v1/client/getMulti.js +22 -0
- package/api/resources/patientRefunds/resources/v1/client/update.d.ts +19 -1
- package/api/resources/patientRefunds/resources/v1/client/update.js +33 -0
- 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/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- 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 +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +9 -5
- package/dist/api/resources/insurancePayments/resources/v1/client/create.d.ts +13 -1
- package/dist/api/resources/insurancePayments/resources/v1/client/create.js +22 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/delete.d.ts +7 -1
- package/dist/api/resources/insurancePayments/resources/v1/client/delete.js +11 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/update.d.ts +7 -1
- package/dist/api/resources/insurancePayments/resources/v1/client/update.js +11 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +83 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/create.d.ts +19 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/create.js +33 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/delete.d.ts +19 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/delete.js +33 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/get.d.ts +13 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/get.js +22 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/getMulti.d.ts +13 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/getMulti.js +22 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/update.d.ts +19 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/update.js +33 -0
- 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 +83 -5
- package/dist/api/resources/patientPayments/resources/v4/client/create.d.ts +19 -1
- package/dist/api/resources/patientPayments/resources/v4/client/create.js +33 -0
- package/dist/api/resources/patientPayments/resources/v4/client/delete.d.ts +19 -1
- package/dist/api/resources/patientPayments/resources/v4/client/delete.js +33 -0
- package/dist/api/resources/patientPayments/resources/v4/client/get.d.ts +13 -1
- package/dist/api/resources/patientPayments/resources/v4/client/get.js +22 -0
- package/dist/api/resources/patientPayments/resources/v4/client/getMulti.d.ts +13 -1
- package/dist/api/resources/patientPayments/resources/v4/client/getMulti.js +22 -0
- package/dist/api/resources/patientPayments/resources/v4/client/update.d.ts +19 -1
- package/dist/api/resources/patientPayments/resources/v4/client/update.js +33 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +83 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/create.d.ts +19 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/create.js +33 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/delete.d.ts +19 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/delete.js +33 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/get.d.ts +13 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/get.js +22 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +13 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/getMulti.js +22 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/update.d.ts +19 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/update.js +33 -0
- 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/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/insurancePayments/resources/v1/client/create.d.ts +9 -1
- package/dist/serialization/resources/insurancePayments/resources/v1/client/create.js +10 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +5 -1
- package/dist/serialization/resources/insurancePayments/resources/v1/client/delete.js +5 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/update.d.ts +5 -1
- package/dist/serialization/resources/insurancePayments/resources/v1/client/update.js +5 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/create.d.ts +22 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/create.js +56 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/delete.d.ts +22 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/delete.js +56 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/get.d.ts +18 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/get.js +51 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/getMulti.d.ts +18 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/getMulti.js +51 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/index.d.ts +5 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/index.js +18 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/update.d.ts +22 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/update.js +56 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/create.d.ts +22 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/create.js +56 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/delete.d.ts +22 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/delete.js +56 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/get.d.ts +18 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/get.js +51 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/getMulti.d.ts +18 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/getMulti.js +51 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/index.d.ts +5 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/index.js +18 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/update.d.ts +22 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/update.js +56 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/create.d.ts +22 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/create.js +56 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/delete.d.ts +22 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/delete.js +56 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/get.d.ts +18 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/get.js +51 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/getMulti.d.ts +18 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/getMulti.js +51 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/index.d.ts +5 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/index.js +18 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/update.d.ts +22 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/update.js +56 -0
- package/package.json +1 -1
- package/serialization/resources/insurancePayments/resources/v1/client/create.d.ts +9 -1
- package/serialization/resources/insurancePayments/resources/v1/client/create.js +10 -0
- package/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +5 -1
- package/serialization/resources/insurancePayments/resources/v1/client/delete.js +5 -0
- package/serialization/resources/insurancePayments/resources/v1/client/update.d.ts +5 -1
- package/serialization/resources/insurancePayments/resources/v1/client/update.js +5 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/create.d.ts +22 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/create.js +56 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/delete.d.ts +22 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/delete.js +56 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/get.d.ts +18 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/get.js +51 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/getMulti.d.ts +18 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/getMulti.js +51 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/index.d.ts +5 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/index.js +18 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/update.d.ts +22 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/update.js +56 -0
- package/serialization/resources/patientPayments/resources/v4/client/create.d.ts +22 -0
- package/serialization/resources/patientPayments/resources/v4/client/create.js +56 -0
- package/serialization/resources/patientPayments/resources/v4/client/delete.d.ts +22 -0
- package/serialization/resources/patientPayments/resources/v4/client/delete.js +56 -0
- package/serialization/resources/patientPayments/resources/v4/client/get.d.ts +18 -0
- package/serialization/resources/patientPayments/resources/v4/client/get.js +51 -0
- package/serialization/resources/patientPayments/resources/v4/client/getMulti.d.ts +18 -0
- package/serialization/resources/patientPayments/resources/v4/client/getMulti.js +51 -0
- package/serialization/resources/patientPayments/resources/v4/client/index.d.ts +5 -0
- package/serialization/resources/patientPayments/resources/v4/client/index.js +18 -0
- package/serialization/resources/patientPayments/resources/v4/client/update.d.ts +22 -0
- package/serialization/resources/patientPayments/resources/v4/client/update.js +56 -0
- package/serialization/resources/patientRefunds/resources/v1/client/create.d.ts +22 -0
- package/serialization/resources/patientRefunds/resources/v1/client/create.js +56 -0
- package/serialization/resources/patientRefunds/resources/v1/client/delete.d.ts +22 -0
- package/serialization/resources/patientRefunds/resources/v1/client/delete.js +56 -0
- package/serialization/resources/patientRefunds/resources/v1/client/get.d.ts +18 -0
- package/serialization/resources/patientRefunds/resources/v1/client/get.js +51 -0
- package/serialization/resources/patientRefunds/resources/v1/client/getMulti.d.ts +18 -0
- package/serialization/resources/patientRefunds/resources/v1/client/getMulti.js +51 -0
- package/serialization/resources/patientRefunds/resources/v1/client/index.d.ts +5 -0
- package/serialization/resources/patientRefunds/resources/v1/client/index.js +18 -0
- package/serialization/resources/patientRefunds/resources/v1/client/update.d.ts +22 -0
- package/serialization/resources/patientRefunds/resources/v1/client/update.js +56 -0
|
@@ -3,8 +3,20 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../..";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.patientRefunds.v1.delete.Error._Unknown;
|
|
6
|
+
export declare type Error = CandidApi.patientRefunds.v1.delete.Error.EntityNotFoundError | CandidApi.patientRefunds.v1.delete.Error.UnauthorizedError | CandidApi.patientRefunds.v1.delete.Error.UnprocessableEntityError | CandidApi.patientRefunds.v1.delete.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
|
+
interface EntityNotFoundError extends _Utils {
|
|
9
|
+
errorName: "EntityNotFoundError";
|
|
10
|
+
content: CandidApi.EntityNotFoundErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface UnauthorizedError extends _Utils {
|
|
13
|
+
errorName: "UnauthorizedError";
|
|
14
|
+
content: CandidApi.UnauthorizedErrorMessage;
|
|
15
|
+
}
|
|
16
|
+
interface UnprocessableEntityError extends _Utils {
|
|
17
|
+
errorName: "UnprocessableEntityError";
|
|
18
|
+
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
19
|
+
}
|
|
8
20
|
interface _Unknown extends _Utils {
|
|
9
21
|
errorName: void;
|
|
10
22
|
content: core.Fetcher.Error;
|
|
@@ -13,10 +25,16 @@ export declare namespace Error {
|
|
|
13
25
|
_visit: <_Result>(visitor: CandidApi.patientRefunds.v1.delete.Error._Visitor<_Result>) => _Result;
|
|
14
26
|
}
|
|
15
27
|
interface _Visitor<_Result> {
|
|
28
|
+
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
29
|
+
unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
|
|
30
|
+
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
16
31
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
32
|
}
|
|
18
33
|
}
|
|
19
34
|
export declare const Error: {
|
|
35
|
+
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.patientRefunds.v1.delete.Error.EntityNotFoundError;
|
|
36
|
+
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.patientRefunds.v1.delete.Error.UnauthorizedError;
|
|
37
|
+
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.patientRefunds.v1.delete.Error.UnprocessableEntityError;
|
|
20
38
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.patientRefunds.v1.delete.Error._Unknown;
|
|
21
39
|
readonly _visit: <_Result>(value: CandidApi.patientRefunds.v1.delete.Error, visitor: CandidApi.patientRefunds.v1.delete.Error._Visitor<_Result>) => _Result;
|
|
22
40
|
};
|
|
@@ -29,6 +29,33 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Error = void 0;
|
|
30
30
|
const CandidApi = __importStar(require("../../../../.."));
|
|
31
31
|
exports.Error = {
|
|
32
|
+
entityNotFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "EntityNotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.patientRefunds.v1.delete.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
unauthorizedError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "UnauthorizedError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.patientRefunds.v1.delete.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
unprocessableEntityError: (value) => {
|
|
51
|
+
return {
|
|
52
|
+
content: value,
|
|
53
|
+
errorName: "UnprocessableEntityError",
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.patientRefunds.v1.delete.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
32
59
|
_unknown: (fetcherError) => {
|
|
33
60
|
return {
|
|
34
61
|
errorName: undefined,
|
|
@@ -40,6 +67,12 @@ exports.Error = {
|
|
|
40
67
|
},
|
|
41
68
|
_visit: (value, visitor) => {
|
|
42
69
|
switch (value.errorName) {
|
|
70
|
+
case "EntityNotFoundError":
|
|
71
|
+
return visitor.entityNotFoundError(value.content);
|
|
72
|
+
case "UnauthorizedError":
|
|
73
|
+
return visitor.unauthorizedError(value.content);
|
|
74
|
+
case "UnprocessableEntityError":
|
|
75
|
+
return visitor.unprocessableEntityError(value.content);
|
|
43
76
|
default:
|
|
44
77
|
return visitor._other(value);
|
|
45
78
|
}
|
|
@@ -3,8 +3,16 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../..";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.patientRefunds.v1.get.Error._Unknown;
|
|
6
|
+
export declare type Error = CandidApi.patientRefunds.v1.get.Error.EntityNotFoundError | CandidApi.patientRefunds.v1.get.Error.UnauthorizedError | CandidApi.patientRefunds.v1.get.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
|
+
interface EntityNotFoundError extends _Utils {
|
|
9
|
+
errorName: "EntityNotFoundError";
|
|
10
|
+
content: CandidApi.EntityNotFoundErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface UnauthorizedError extends _Utils {
|
|
13
|
+
errorName: "UnauthorizedError";
|
|
14
|
+
content: CandidApi.UnauthorizedErrorMessage;
|
|
15
|
+
}
|
|
8
16
|
interface _Unknown extends _Utils {
|
|
9
17
|
errorName: void;
|
|
10
18
|
content: core.Fetcher.Error;
|
|
@@ -13,10 +21,14 @@ export declare namespace Error {
|
|
|
13
21
|
_visit: <_Result>(visitor: CandidApi.patientRefunds.v1.get.Error._Visitor<_Result>) => _Result;
|
|
14
22
|
}
|
|
15
23
|
interface _Visitor<_Result> {
|
|
24
|
+
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
25
|
+
unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
|
|
16
26
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
27
|
}
|
|
18
28
|
}
|
|
19
29
|
export declare const Error: {
|
|
30
|
+
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.patientRefunds.v1.get.Error.EntityNotFoundError;
|
|
31
|
+
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.patientRefunds.v1.get.Error.UnauthorizedError;
|
|
20
32
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.patientRefunds.v1.get.Error._Unknown;
|
|
21
33
|
readonly _visit: <_Result>(value: CandidApi.patientRefunds.v1.get.Error, visitor: CandidApi.patientRefunds.v1.get.Error._Visitor<_Result>) => _Result;
|
|
22
34
|
};
|
|
@@ -29,6 +29,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Error = void 0;
|
|
30
30
|
const CandidApi = __importStar(require("../../../../.."));
|
|
31
31
|
exports.Error = {
|
|
32
|
+
entityNotFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "EntityNotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.patientRefunds.v1.get.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
unauthorizedError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "UnauthorizedError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.patientRefunds.v1.get.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
32
50
|
_unknown: (fetcherError) => {
|
|
33
51
|
return {
|
|
34
52
|
errorName: undefined,
|
|
@@ -40,6 +58,10 @@ exports.Error = {
|
|
|
40
58
|
},
|
|
41
59
|
_visit: (value, visitor) => {
|
|
42
60
|
switch (value.errorName) {
|
|
61
|
+
case "EntityNotFoundError":
|
|
62
|
+
return visitor.entityNotFoundError(value.content);
|
|
63
|
+
case "UnauthorizedError":
|
|
64
|
+
return visitor.unauthorizedError(value.content);
|
|
43
65
|
default:
|
|
44
66
|
return visitor._other(value);
|
|
45
67
|
}
|
|
@@ -3,8 +3,16 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../..";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.patientRefunds.v1.getMulti.Error._Unknown;
|
|
6
|
+
export declare type Error = CandidApi.patientRefunds.v1.getMulti.Error.UnauthorizedError | CandidApi.patientRefunds.v1.getMulti.Error.UnprocessableEntityError | CandidApi.patientRefunds.v1.getMulti.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
|
+
interface UnauthorizedError extends _Utils {
|
|
9
|
+
errorName: "UnauthorizedError";
|
|
10
|
+
content: CandidApi.UnauthorizedErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface UnprocessableEntityError extends _Utils {
|
|
13
|
+
errorName: "UnprocessableEntityError";
|
|
14
|
+
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
15
|
+
}
|
|
8
16
|
interface _Unknown extends _Utils {
|
|
9
17
|
errorName: void;
|
|
10
18
|
content: core.Fetcher.Error;
|
|
@@ -13,10 +21,14 @@ export declare namespace Error {
|
|
|
13
21
|
_visit: <_Result>(visitor: CandidApi.patientRefunds.v1.getMulti.Error._Visitor<_Result>) => _Result;
|
|
14
22
|
}
|
|
15
23
|
interface _Visitor<_Result> {
|
|
24
|
+
unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
|
|
25
|
+
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
16
26
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
27
|
}
|
|
18
28
|
}
|
|
19
29
|
export declare const Error: {
|
|
30
|
+
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.patientRefunds.v1.getMulti.Error.UnauthorizedError;
|
|
31
|
+
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.patientRefunds.v1.getMulti.Error.UnprocessableEntityError;
|
|
20
32
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.patientRefunds.v1.getMulti.Error._Unknown;
|
|
21
33
|
readonly _visit: <_Result>(value: CandidApi.patientRefunds.v1.getMulti.Error, visitor: CandidApi.patientRefunds.v1.getMulti.Error._Visitor<_Result>) => _Result;
|
|
22
34
|
};
|
|
@@ -29,6 +29,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Error = void 0;
|
|
30
30
|
const CandidApi = __importStar(require("../../../../.."));
|
|
31
31
|
exports.Error = {
|
|
32
|
+
unauthorizedError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "UnauthorizedError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.patientRefunds.v1.getMulti.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
unprocessableEntityError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "UnprocessableEntityError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.patientRefunds.v1.getMulti.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
32
50
|
_unknown: (fetcherError) => {
|
|
33
51
|
return {
|
|
34
52
|
errorName: undefined,
|
|
@@ -40,6 +58,10 @@ exports.Error = {
|
|
|
40
58
|
},
|
|
41
59
|
_visit: (value, visitor) => {
|
|
42
60
|
switch (value.errorName) {
|
|
61
|
+
case "UnauthorizedError":
|
|
62
|
+
return visitor.unauthorizedError(value.content);
|
|
63
|
+
case "UnprocessableEntityError":
|
|
64
|
+
return visitor.unprocessableEntityError(value.content);
|
|
43
65
|
default:
|
|
44
66
|
return visitor._other(value);
|
|
45
67
|
}
|
|
@@ -3,8 +3,20 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../..";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.patientRefunds.v1.update.Error._Unknown;
|
|
6
|
+
export declare type Error = CandidApi.patientRefunds.v1.update.Error.EntityNotFoundError | CandidApi.patientRefunds.v1.update.Error.UnauthorizedError | CandidApi.patientRefunds.v1.update.Error.UnprocessableEntityError | CandidApi.patientRefunds.v1.update.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
|
+
interface EntityNotFoundError extends _Utils {
|
|
9
|
+
errorName: "EntityNotFoundError";
|
|
10
|
+
content: CandidApi.EntityNotFoundErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface UnauthorizedError extends _Utils {
|
|
13
|
+
errorName: "UnauthorizedError";
|
|
14
|
+
content: CandidApi.UnauthorizedErrorMessage;
|
|
15
|
+
}
|
|
16
|
+
interface UnprocessableEntityError extends _Utils {
|
|
17
|
+
errorName: "UnprocessableEntityError";
|
|
18
|
+
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
19
|
+
}
|
|
8
20
|
interface _Unknown extends _Utils {
|
|
9
21
|
errorName: void;
|
|
10
22
|
content: core.Fetcher.Error;
|
|
@@ -13,10 +25,16 @@ export declare namespace Error {
|
|
|
13
25
|
_visit: <_Result>(visitor: CandidApi.patientRefunds.v1.update.Error._Visitor<_Result>) => _Result;
|
|
14
26
|
}
|
|
15
27
|
interface _Visitor<_Result> {
|
|
28
|
+
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
29
|
+
unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
|
|
30
|
+
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
16
31
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
32
|
}
|
|
18
33
|
}
|
|
19
34
|
export declare const Error: {
|
|
35
|
+
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.patientRefunds.v1.update.Error.EntityNotFoundError;
|
|
36
|
+
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.patientRefunds.v1.update.Error.UnauthorizedError;
|
|
37
|
+
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.patientRefunds.v1.update.Error.UnprocessableEntityError;
|
|
20
38
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.patientRefunds.v1.update.Error._Unknown;
|
|
21
39
|
readonly _visit: <_Result>(value: CandidApi.patientRefunds.v1.update.Error, visitor: CandidApi.patientRefunds.v1.update.Error._Visitor<_Result>) => _Result;
|
|
22
40
|
};
|
|
@@ -29,6 +29,33 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Error = void 0;
|
|
30
30
|
const CandidApi = __importStar(require("../../../../.."));
|
|
31
31
|
exports.Error = {
|
|
32
|
+
entityNotFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "EntityNotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.patientRefunds.v1.update.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
unauthorizedError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "UnauthorizedError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.patientRefunds.v1.update.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
unprocessableEntityError: (value) => {
|
|
51
|
+
return {
|
|
52
|
+
content: value,
|
|
53
|
+
errorName: "UnprocessableEntityError",
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.patientRefunds.v1.update.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
32
59
|
_unknown: (fetcherError) => {
|
|
33
60
|
return {
|
|
34
61
|
errorName: undefined,
|
|
@@ -40,6 +67,12 @@ exports.Error = {
|
|
|
40
67
|
},
|
|
41
68
|
_visit: (value, visitor) => {
|
|
42
69
|
switch (value.errorName) {
|
|
70
|
+
case "EntityNotFoundError":
|
|
71
|
+
return visitor.entityNotFoundError(value.content);
|
|
72
|
+
case "UnauthorizedError":
|
|
73
|
+
return visitor.unauthorizedError(value.content);
|
|
74
|
+
case "UnprocessableEntityError":
|
|
75
|
+
return visitor.unprocessableEntityError(value.content);
|
|
43
76
|
default:
|
|
44
77
|
return visitor._other(value);
|
|
45
78
|
}
|
|
@@ -49,7 +49,7 @@ class V3 {
|
|
|
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.17.
|
|
52
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -89,7 +89,7 @@ class V3 {
|
|
|
89
89
|
Authorization: await this._getAuthorizationHeader(),
|
|
90
90
|
"X-Fern-Language": "JavaScript",
|
|
91
91
|
"X-Fern-SDK-Name": "candidhealth",
|
|
92
|
-
"X-Fern-SDK-Version": "0.17.
|
|
92
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
93
93
|
},
|
|
94
94
|
contentType: "application/json",
|
|
95
95
|
queryParameters: _queryParams,
|
|
@@ -48,7 +48,7 @@ class ServiceFacility {
|
|
|
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.17.
|
|
51
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.EncounterServiceFacilityUpdate.jsonOrThrow(request, {
|
|
@@ -49,7 +49,7 @@ class V3 {
|
|
|
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.17.
|
|
52
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -119,7 +119,7 @@ class V3 {
|
|
|
119
119
|
Authorization: await this._getAuthorizationHeader(),
|
|
120
120
|
"X-Fern-Language": "JavaScript",
|
|
121
121
|
"X-Fern-SDK-Name": "candidhealth",
|
|
122
|
-
"X-Fern-SDK-Version": "0.17.
|
|
122
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
123
123
|
},
|
|
124
124
|
contentType: "application/json",
|
|
125
125
|
queryParameters: _queryParams,
|
|
@@ -163,7 +163,7 @@ class V3 {
|
|
|
163
163
|
Authorization: await this._getAuthorizationHeader(),
|
|
164
164
|
"X-Fern-Language": "JavaScript",
|
|
165
165
|
"X-Fern-SDK-Name": "candidhealth",
|
|
166
|
-
"X-Fern-SDK-Version": "0.17.
|
|
166
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
167
167
|
},
|
|
168
168
|
contentType: "application/json",
|
|
169
169
|
timeoutMs: 60000,
|
|
@@ -207,7 +207,7 @@ class V3 {
|
|
|
207
207
|
Authorization: await this._getAuthorizationHeader(),
|
|
208
208
|
"X-Fern-Language": "JavaScript",
|
|
209
209
|
"X-Fern-SDK-Name": "candidhealth",
|
|
210
|
-
"X-Fern-SDK-Version": "0.17.
|
|
210
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
211
211
|
},
|
|
212
212
|
contentType: "application/json",
|
|
213
213
|
body: await serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -237,7 +237,7 @@ class V3 {
|
|
|
237
237
|
Authorization: await this._getAuthorizationHeader(),
|
|
238
238
|
"X-Fern-Language": "JavaScript",
|
|
239
239
|
"X-Fern-SDK-Name": "candidhealth",
|
|
240
|
-
"X-Fern-SDK-Version": "0.17.
|
|
240
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
241
241
|
},
|
|
242
242
|
contentType: "application/json",
|
|
243
243
|
body: await serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -91,7 +91,7 @@ class V1 {
|
|
|
91
91
|
Authorization: await this._getAuthorizationHeader(),
|
|
92
92
|
"X-Fern-Language": "JavaScript",
|
|
93
93
|
"X-Fern-SDK-Name": "candidhealth",
|
|
94
|
-
"X-Fern-SDK-Version": "0.17.
|
|
94
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
95
95
|
},
|
|
96
96
|
contentType: "application/json",
|
|
97
97
|
queryParameters: _queryParams,
|
|
@@ -124,7 +124,7 @@ class V1 {
|
|
|
124
124
|
Authorization: await this._getAuthorizationHeader(),
|
|
125
125
|
"X-Fern-Language": "JavaScript",
|
|
126
126
|
"X-Fern-SDK-Name": "candidhealth",
|
|
127
|
-
"X-Fern-SDK-Version": "0.17.
|
|
127
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
128
128
|
},
|
|
129
129
|
contentType: "application/json",
|
|
130
130
|
timeoutMs: 60000,
|
|
@@ -158,7 +158,7 @@ class V1 {
|
|
|
158
158
|
Authorization: await this._getAuthorizationHeader(),
|
|
159
159
|
"X-Fern-Language": "JavaScript",
|
|
160
160
|
"X-Fern-SDK-Name": "candidhealth",
|
|
161
|
-
"X-Fern-SDK-Version": "0.17.
|
|
161
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
162
162
|
},
|
|
163
163
|
contentType: "application/json",
|
|
164
164
|
body: await serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
|
|
@@ -193,7 +193,7 @@ class V1 {
|
|
|
193
193
|
Authorization: await this._getAuthorizationHeader(),
|
|
194
194
|
"X-Fern-Language": "JavaScript",
|
|
195
195
|
"X-Fern-SDK-Name": "candidhealth",
|
|
196
|
-
"X-Fern-SDK-Version": "0.17.
|
|
196
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
197
197
|
},
|
|
198
198
|
contentType: "application/json",
|
|
199
199
|
timeoutMs: 60000,
|
|
@@ -61,7 +61,7 @@ class V2 {
|
|
|
61
61
|
Authorization: await this._getAuthorizationHeader(),
|
|
62
62
|
"X-Fern-Language": "JavaScript",
|
|
63
63
|
"X-Fern-SDK-Name": "candidhealth",
|
|
64
|
-
"X-Fern-SDK-Version": "0.17.
|
|
64
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
65
65
|
},
|
|
66
66
|
contentType: "application/json",
|
|
67
67
|
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.17.
|
|
51
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
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.17.
|
|
52
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
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.17.
|
|
139
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
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.17.
|
|
172
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
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.17.
|
|
204
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
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.17.
|
|
242
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
243
243
|
},
|
|
244
244
|
contentType: "application/json",
|
|
245
245
|
body: await serializers.contracts.v2.ContractUpdate.jsonOrThrow(request, {
|
|
@@ -64,7 +64,7 @@ class V2 {
|
|
|
64
64
|
Authorization: await this._getAuthorizationHeader(),
|
|
65
65
|
"X-Fern-Language": "JavaScript",
|
|
66
66
|
"X-Fern-SDK-Name": "candidhealth",
|
|
67
|
-
"X-Fern-SDK-Version": "0.17.
|
|
67
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
68
68
|
},
|
|
69
69
|
contentType: "application/json",
|
|
70
70
|
body: request,
|
|
@@ -115,7 +115,7 @@ class V2 {
|
|
|
115
115
|
Authorization: await this._getAuthorizationHeader(),
|
|
116
116
|
"X-Fern-Language": "JavaScript",
|
|
117
117
|
"X-Fern-SDK-Name": "candidhealth",
|
|
118
|
-
"X-Fern-SDK-Version": "0.17.
|
|
118
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
119
119
|
},
|
|
120
120
|
contentType: "application/json",
|
|
121
121
|
timeoutMs: 60000,
|
|
@@ -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.17.
|
|
106
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
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.17.
|
|
136
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
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.17.
|
|
165
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
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.17.
|
|
216
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
217
217
|
},
|
|
218
218
|
contentType: "application/json",
|
|
219
219
|
body: await serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, {
|
|
@@ -51,7 +51,7 @@ class V1 {
|
|
|
51
51
|
Authorization: await this._getAuthorizationHeader(),
|
|
52
52
|
"X-Fern-Language": "JavaScript",
|
|
53
53
|
"X-Fern-SDK-Name": "candidhealth",
|
|
54
|
-
"X-Fern-SDK-Version": "0.17.
|
|
54
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
55
55
|
},
|
|
56
56
|
contentType: "application/json",
|
|
57
57
|
body: await serializers.expectedNetworkStatus.v1.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
|
|
@@ -53,7 +53,7 @@ class V2 {
|
|
|
53
53
|
Authorization: await this._getAuthorizationHeader(),
|
|
54
54
|
"X-Fern-Language": "JavaScript",
|
|
55
55
|
"X-Fern-SDK-Name": "candidhealth",
|
|
56
|
-
"X-Fern-SDK-Version": "0.17.
|
|
56
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
57
57
|
},
|
|
58
58
|
contentType: "application/json",
|
|
59
59
|
body: await serializers.expectedNetworkStatus.v2.ExpectedNetworkStatusRequestV2.jsonOrThrow(request, {
|
|
@@ -107,7 +107,7 @@ class V2 {
|
|
|
107
107
|
Authorization: await this._getAuthorizationHeader(),
|
|
108
108
|
"X-Fern-Language": "JavaScript",
|
|
109
109
|
"X-Fern-SDK-Name": "candidhealth",
|
|
110
|
-
"X-Fern-SDK-Version": "0.17.
|
|
110
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
111
111
|
},
|
|
112
112
|
contentType: "application/json",
|
|
113
113
|
body: await serializers.expectedNetworkStatus.v2.ComputeAllInNetworkProvidersRequest.jsonOrThrow(request, {
|
|
@@ -67,7 +67,7 @@ class V3 {
|
|
|
67
67
|
Authorization: await this._getAuthorizationHeader(),
|
|
68
68
|
"X-Fern-Language": "JavaScript",
|
|
69
69
|
"X-Fern-SDK-Name": "candidhealth",
|
|
70
|
-
"X-Fern-SDK-Version": "0.17.
|
|
70
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
71
71
|
},
|
|
72
72
|
contentType: "application/json",
|
|
73
73
|
queryParameters: _queryParams,
|
|
@@ -51,7 +51,7 @@ class V1 {
|
|
|
51
51
|
Authorization: await this._getAuthorizationHeader(),
|
|
52
52
|
"X-Fern-Language": "JavaScript",
|
|
53
53
|
"X-Fern-SDK-Name": "candidhealth",
|
|
54
|
-
"X-Fern-SDK-Version": "0.17.
|
|
54
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
55
55
|
},
|
|
56
56
|
contentType: "application/json",
|
|
57
57
|
body: await serializers.guarantor.v1.GuarantorCreate.jsonOrThrow(request, {
|
|
@@ -100,7 +100,7 @@ class V1 {
|
|
|
100
100
|
Authorization: await this._getAuthorizationHeader(),
|
|
101
101
|
"X-Fern-Language": "JavaScript",
|
|
102
102
|
"X-Fern-SDK-Name": "candidhealth",
|
|
103
|
-
"X-Fern-SDK-Version": "0.17.
|
|
103
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
104
104
|
},
|
|
105
105
|
contentType: "application/json",
|
|
106
106
|
timeoutMs: 60000,
|
|
@@ -132,7 +132,7 @@ class V1 {
|
|
|
132
132
|
Authorization: await this._getAuthorizationHeader(),
|
|
133
133
|
"X-Fern-Language": "JavaScript",
|
|
134
134
|
"X-Fern-SDK-Name": "candidhealth",
|
|
135
|
-
"X-Fern-SDK-Version": "0.17.
|
|
135
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
136
136
|
},
|
|
137
137
|
contentType: "application/json",
|
|
138
138
|
body: await serializers.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, {
|
|
@@ -51,7 +51,7 @@ class V1 {
|
|
|
51
51
|
Authorization: await this._getAuthorizationHeader(),
|
|
52
52
|
"X-Fern-Language": "JavaScript",
|
|
53
53
|
"X-Fern-SDK-Name": "candidhealth",
|
|
54
|
-
"X-Fern-SDK-Version": "0.17.
|
|
54
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
55
55
|
},
|
|
56
56
|
contentType: "application/json",
|
|
57
57
|
timeoutMs: 60000,
|
|
@@ -83,7 +83,7 @@ class V1 {
|
|
|
83
83
|
Authorization: await this._getAuthorizationHeader(),
|
|
84
84
|
"X-Fern-Language": "JavaScript",
|
|
85
85
|
"X-Fern-SDK-Name": "candidhealth",
|
|
86
|
-
"X-Fern-SDK-Version": "0.17.
|
|
86
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
87
87
|
},
|
|
88
88
|
contentType: "application/json",
|
|
89
89
|
body: await serializers.insuranceAdjudications.v1.InsuranceAdjudicationCreate.jsonOrThrow(request, {
|
|
@@ -132,7 +132,7 @@ class V1 {
|
|
|
132
132
|
Authorization: await this._getAuthorizationHeader(),
|
|
133
133
|
"X-Fern-Language": "JavaScript",
|
|
134
134
|
"X-Fern-SDK-Name": "candidhealth",
|
|
135
|
-
"X-Fern-SDK-Version": "0.17.
|
|
135
|
+
"X-Fern-SDK-Version": "0.17.4",
|
|
136
136
|
},
|
|
137
137
|
contentType: "application/json",
|
|
138
138
|
timeoutMs: 60000,
|