candidhealth 0.14.3 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -0
- package/Client.js +5 -0
- package/api/resources/auth/resources/v2/client/Client.d.ts +1 -1
- package/api/resources/auth/resources/v2/client/Client.js +2 -2
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/contracts/resources/v2/client/Client.js +19 -5
- package/api/resources/contracts/resources/v2/client/delete.d.ts +7 -1
- package/api/resources/contracts/resources/v2/client/delete.js +11 -0
- package/api/resources/contracts/resources/v2/types/ContractIsLinkedToFeeScheduleError.d.ts +6 -0
- package/api/resources/contracts/resources/v2/types/ContractIsLinkedToFeeScheduleError.js +5 -0
- package/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/api/resources/contracts/resources/v2/types/index.js +1 -0
- 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/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/index.d.ts +1 -0
- package/api/resources/index.js +1 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- 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.d.ts +18 -0
- package/api/resources/serviceFacility/client/Client.js +83 -0
- package/api/resources/serviceFacility/client/index.d.ts +2 -0
- package/api/resources/serviceFacility/client/index.js +31 -0
- package/api/resources/serviceFacility/client/requests/EncounterServiceFacilityUpdate.d.ts +18 -0
- package/api/resources/serviceFacility/client/requests/EncounterServiceFacilityUpdate.js +5 -0
- package/api/resources/serviceFacility/client/requests/index.d.ts +1 -0
- package/api/resources/serviceFacility/client/requests/index.js +2 -0
- package/api/resources/serviceFacility/client/update.d.ts +22 -0
- package/api/resources/serviceFacility/client/update.js +47 -0
- package/api/resources/serviceFacility/index.d.ts +1 -0
- package/api/resources/serviceFacility/index.js +1 -0
- package/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +4 -0
- package/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +4 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +5 -0
- package/dist/api/resources/auth/resources/v2/client/Client.d.ts +1 -1
- package/dist/api/resources/auth/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +19 -5
- package/dist/api/resources/contracts/resources/v2/client/delete.d.ts +7 -1
- package/dist/api/resources/contracts/resources/v2/client/delete.js +11 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractIsLinkedToFeeScheduleError.d.ts +6 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractIsLinkedToFeeScheduleError.js +5 -0
- package/dist/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/contracts/resources/v2/types/index.js +1 -0
- 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/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/index.d.ts +1 -0
- package/dist/api/resources/index.js +1 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- 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.d.ts +18 -0
- package/dist/api/resources/serviceFacility/client/Client.js +83 -0
- package/dist/api/resources/serviceFacility/client/index.d.ts +2 -0
- package/dist/api/resources/serviceFacility/client/index.js +31 -0
- package/dist/api/resources/serviceFacility/client/requests/EncounterServiceFacilityUpdate.d.ts +18 -0
- package/dist/api/resources/serviceFacility/client/requests/EncounterServiceFacilityUpdate.js +5 -0
- package/dist/api/resources/serviceFacility/client/requests/index.d.ts +1 -0
- package/dist/api/resources/serviceFacility/client/requests/index.js +2 -0
- package/dist/api/resources/serviceFacility/client/update.d.ts +22 -0
- package/dist/api/resources/serviceFacility/client/update.js +47 -0
- package/dist/api/resources/serviceFacility/index.d.ts +1 -0
- package/dist/api/resources/serviceFacility/index.js +1 -0
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +4 -0
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +4 -0
- 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/contracts/resources/v2/client/delete.d.ts +14 -0
- package/dist/serialization/resources/contracts/resources/v2/client/delete.js +46 -0
- package/dist/serialization/resources/contracts/resources/v2/client/index.d.ts +1 -0
- package/dist/serialization/resources/contracts/resources/v2/client/index.js +2 -1
- package/dist/serialization/resources/contracts/resources/v2/types/ContractIsLinkedToFeeScheduleError.d.ts +12 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractIsLinkedToFeeScheduleError.js +33 -0
- package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/contracts/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +1 -0
- package/dist/serialization/resources/serviceFacility/client/index.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/client/index.js +17 -0
- package/dist/serialization/resources/serviceFacility/client/requests/EncounterServiceFacilityUpdate.d.ts +14 -0
- package/dist/serialization/resources/serviceFacility/client/requests/EncounterServiceFacilityUpdate.js +35 -0
- package/dist/serialization/resources/serviceFacility/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/client/requests/index.js +5 -0
- package/dist/serialization/resources/serviceFacility/index.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/index.js +1 -0
- package/package.json +1 -1
- package/serialization/resources/contracts/resources/v2/client/delete.d.ts +14 -0
- package/serialization/resources/contracts/resources/v2/client/delete.js +46 -0
- package/serialization/resources/contracts/resources/v2/client/index.d.ts +1 -0
- package/serialization/resources/contracts/resources/v2/client/index.js +2 -1
- package/serialization/resources/contracts/resources/v2/types/ContractIsLinkedToFeeScheduleError.d.ts +12 -0
- package/serialization/resources/contracts/resources/v2/types/ContractIsLinkedToFeeScheduleError.js +33 -0
- package/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/contracts/resources/v2/types/index.js +1 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +1 -0
- package/serialization/resources/serviceFacility/client/index.d.ts +1 -0
- package/serialization/resources/serviceFacility/client/index.js +17 -0
- package/serialization/resources/serviceFacility/client/requests/EncounterServiceFacilityUpdate.d.ts +14 -0
- package/serialization/resources/serviceFacility/client/requests/EncounterServiceFacilityUpdate.js +35 -0
- package/serialization/resources/serviceFacility/client/requests/index.d.ts +1 -0
- package/serialization/resources/serviceFacility/client/requests/index.js +5 -0
- package/serialization/resources/serviceFacility/index.d.ts +1 -0
- package/serialization/resources/serviceFacility/index.js +1 -0
|
@@ -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.
|
|
95
|
+
"X-Fern-SDK-Version": "0.15.0",
|
|
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.
|
|
129
|
+
"X-Fern-SDK-Version": "0.15.0",
|
|
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.
|
|
164
|
+
"X-Fern-SDK-Version": "0.15.0",
|
|
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.
|
|
200
|
+
"X-Fern-SDK-Version": "0.15.0",
|
|
201
201
|
},
|
|
202
202
|
contentType: "application/json",
|
|
203
203
|
timeoutMs: 60000,
|
|
@@ -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.contracts.v2.delete.Error.Raw, CandidApi.contracts.v2.delete.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.ContractIsLinkedToFeeScheduleHttpError;
|
|
10
|
+
interface ContractIsLinkedToFeeScheduleHttpError {
|
|
11
|
+
errorName: "ContractIsLinkedToFeeScheduleHttpError";
|
|
12
|
+
content: serializers.contracts.v2.ContractIsLinkedToFeeScheduleError.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
|
+
ContractIsLinkedToFeeScheduleHttpError: core.serialization.object({
|
|
35
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).contracts.v2.ContractIsLinkedToFeeScheduleError),
|
|
36
|
+
}),
|
|
37
|
+
})
|
|
38
|
+
.transform({
|
|
39
|
+
transform: (value) => {
|
|
40
|
+
switch (value.errorName) {
|
|
41
|
+
case "ContractIsLinkedToFeeScheduleHttpError":
|
|
42
|
+
return CandidApi.contracts.v2.delete.Error.contractIsLinkedToFeeScheduleHttpError(value.content);
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
untransform: ({ _visit, ...value }) => value,
|
|
46
|
+
});
|
|
@@ -26,7 +26,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.update = exports.get = void 0;
|
|
29
|
+
exports.update = exports.delete = exports.get = void 0;
|
|
30
30
|
exports.get = __importStar(require("./get"));
|
|
31
|
+
exports.delete = __importStar(require("./delete"));
|
|
31
32
|
exports.update = __importStar(require("./update"));
|
|
32
33
|
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
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 ContractIsLinkedToFeeScheduleError: core.serialization.ObjectSchema<serializers.contracts.v2.ContractIsLinkedToFeeScheduleError.Raw, CandidApi.contracts.v2.ContractIsLinkedToFeeScheduleError>;
|
|
8
|
+
export declare namespace ContractIsLinkedToFeeScheduleError {
|
|
9
|
+
interface Raw {
|
|
10
|
+
message: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.ContractIsLinkedToFeeScheduleError = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.ContractIsLinkedToFeeScheduleError = core.serialization.object({
|
|
32
|
+
message: core.serialization.string(),
|
|
33
|
+
});
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ContractIsLinkedToFeeScheduleError"), exports);
|
|
17
18
|
__exportStar(require("./ContractId"), exports);
|
|
18
19
|
__exportStar(require("./ContractingProviderId"), exports);
|
|
19
20
|
__exportStar(require("./RenderingProviderid"), exports);
|
|
@@ -72,3 +72,4 @@ __exportStar(require("./serviceFacility/types"), exports);
|
|
|
72
72
|
exports.tags = __importStar(require("./tags"));
|
|
73
73
|
__exportStar(require("./tags/types"), exports);
|
|
74
74
|
exports.eligibility = __importStar(require("./eligibility"));
|
|
75
|
+
__exportStar(require("./serviceFacility/client/requests"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), 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 EncounterServiceFacilityUpdate: core.serialization.Schema<serializers.EncounterServiceFacilityUpdate.Raw, CandidApi.EncounterServiceFacilityUpdate>;
|
|
8
|
+
export declare namespace EncounterServiceFacilityUpdate {
|
|
9
|
+
interface Raw {
|
|
10
|
+
organization_name?: string | null;
|
|
11
|
+
npi?: string | null;
|
|
12
|
+
address?: serializers.StreetAddressLongZip.Raw | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.EncounterServiceFacilityUpdate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
exports.EncounterServiceFacilityUpdate = core.serialization.object({
|
|
32
|
+
organizationName: core.serialization.property("organization_name", core.serialization.string().optional()),
|
|
33
|
+
npi: core.serialization.string().optional(),
|
|
34
|
+
address: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../..")))).StreetAddressLongZip).optional(),
|
|
35
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { EncounterServiceFacilityUpdate } from "./EncounterServiceFacilityUpdate";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EncounterServiceFacilityUpdate = void 0;
|
|
4
|
+
var EncounterServiceFacilityUpdate_1 = require("./EncounterServiceFacilityUpdate");
|
|
5
|
+
Object.defineProperty(exports, "EncounterServiceFacilityUpdate", { enumerable: true, get: function () { return EncounterServiceFacilityUpdate_1.EncounterServiceFacilityUpdate; } });
|
package/package.json
CHANGED
|
@@ -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.contracts.v2.delete.Error.Raw, CandidApi.contracts.v2.delete.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.ContractIsLinkedToFeeScheduleHttpError;
|
|
10
|
+
interface ContractIsLinkedToFeeScheduleHttpError {
|
|
11
|
+
errorName: "ContractIsLinkedToFeeScheduleHttpError";
|
|
12
|
+
content: serializers.contracts.v2.ContractIsLinkedToFeeScheduleError.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
|
+
ContractIsLinkedToFeeScheduleHttpError: core.serialization.object({
|
|
35
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).contracts.v2.ContractIsLinkedToFeeScheduleError),
|
|
36
|
+
}),
|
|
37
|
+
})
|
|
38
|
+
.transform({
|
|
39
|
+
transform: (value) => {
|
|
40
|
+
switch (value.errorName) {
|
|
41
|
+
case "ContractIsLinkedToFeeScheduleHttpError":
|
|
42
|
+
return CandidApi.contracts.v2.delete.Error.contractIsLinkedToFeeScheduleHttpError(value.content);
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
untransform: ({ _visit, ...value }) => value,
|
|
46
|
+
});
|
|
@@ -26,7 +26,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.update = exports.get = void 0;
|
|
29
|
+
exports.update = exports.delete = exports.get = void 0;
|
|
30
30
|
exports.get = __importStar(require("./get"));
|
|
31
|
+
exports.delete = __importStar(require("./delete"));
|
|
31
32
|
exports.update = __importStar(require("./update"));
|
|
32
33
|
__exportStar(require("./requests"), exports);
|
package/serialization/resources/contracts/resources/v2/types/ContractIsLinkedToFeeScheduleError.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
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 ContractIsLinkedToFeeScheduleError: core.serialization.ObjectSchema<serializers.contracts.v2.ContractIsLinkedToFeeScheduleError.Raw, CandidApi.contracts.v2.ContractIsLinkedToFeeScheduleError>;
|
|
8
|
+
export declare namespace ContractIsLinkedToFeeScheduleError {
|
|
9
|
+
interface Raw {
|
|
10
|
+
message: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
package/serialization/resources/contracts/resources/v2/types/ContractIsLinkedToFeeScheduleError.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
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.ContractIsLinkedToFeeScheduleError = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.ContractIsLinkedToFeeScheduleError = core.serialization.object({
|
|
32
|
+
message: core.serialization.string(),
|
|
33
|
+
});
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ContractIsLinkedToFeeScheduleError"), exports);
|
|
17
18
|
__exportStar(require("./ContractId"), exports);
|
|
18
19
|
__exportStar(require("./ContractingProviderId"), exports);
|
|
19
20
|
__exportStar(require("./RenderingProviderid"), exports);
|
|
@@ -72,3 +72,4 @@ __exportStar(require("./serviceFacility/types"), exports);
|
|
|
72
72
|
exports.tags = __importStar(require("./tags"));
|
|
73
73
|
__exportStar(require("./tags/types"), exports);
|
|
74
74
|
exports.eligibility = __importStar(require("./eligibility"));
|
|
75
|
+
__exportStar(require("./serviceFacility/client/requests"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
package/serialization/resources/serviceFacility/client/requests/EncounterServiceFacilityUpdate.d.ts
ADDED
|
@@ -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 EncounterServiceFacilityUpdate: core.serialization.Schema<serializers.EncounterServiceFacilityUpdate.Raw, CandidApi.EncounterServiceFacilityUpdate>;
|
|
8
|
+
export declare namespace EncounterServiceFacilityUpdate {
|
|
9
|
+
interface Raw {
|
|
10
|
+
organization_name?: string | null;
|
|
11
|
+
npi?: string | null;
|
|
12
|
+
address?: serializers.StreetAddressLongZip.Raw | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
package/serialization/resources/serviceFacility/client/requests/EncounterServiceFacilityUpdate.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
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.EncounterServiceFacilityUpdate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
exports.EncounterServiceFacilityUpdate = core.serialization.object({
|
|
32
|
+
organizationName: core.serialization.property("organization_name", core.serialization.string().optional()),
|
|
33
|
+
npi: core.serialization.string().optional(),
|
|
34
|
+
address: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../..")))).StreetAddressLongZip).optional(),
|
|
35
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { EncounterServiceFacilityUpdate } from "./EncounterServiceFacilityUpdate";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EncounterServiceFacilityUpdate = void 0;
|
|
4
|
+
var EncounterServiceFacilityUpdate_1 = require("./EncounterServiceFacilityUpdate");
|
|
5
|
+
Object.defineProperty(exports, "EncounterServiceFacilityUpdate", { enumerable: true, get: function () { return EncounterServiceFacilityUpdate_1.EncounterServiceFacilityUpdate; } });
|