candidhealth 1.14.2 → 1.14.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.js +2 -2
- package/README.md +36 -1
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -0
- package/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +2 -0
- package/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +2 -0
- package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +2 -0
- package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +2 -0
- package/dist/Client.js +2 -2
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -0
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +2 -0
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +2 -0
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +2 -0
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +2 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacility.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacility.js +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.js +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.js +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/serviceFacility/types/EncounterServiceFacility.d.ts +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacility.js +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityBase.js +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.d.ts +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.js +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/Client.js
CHANGED
|
@@ -90,8 +90,8 @@ class CandidApiClient {
|
|
|
90
90
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_1.mergeHeaders)({
|
|
91
91
|
"X-Fern-Language": "JavaScript",
|
|
92
92
|
"X-Fern-SDK-Name": "candidhealth",
|
|
93
|
-
"X-Fern-SDK-Version": "1.14.
|
|
94
|
-
"User-Agent": "candidhealth/1.14.
|
|
93
|
+
"X-Fern-SDK-Version": "1.14.4",
|
|
94
|
+
"User-Agent": "candidhealth/1.14.4",
|
|
95
95
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
96
96
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
97
97
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
package/README.md
CHANGED
|
@@ -5,6 +5,41 @@
|
|
|
5
5
|
|
|
6
6
|
The Candid TypeScript library provides convenient access to the Candid APIs from TypeScript.
|
|
7
7
|
|
|
8
|
+
## Table of Contents
|
|
9
|
+
|
|
10
|
+
- [Table of Contents](#table-of-contents)
|
|
11
|
+
- [Installation](#installation)
|
|
12
|
+
- [Reference](#reference)
|
|
13
|
+
- [Usage](#usage)
|
|
14
|
+
- [Request and Response Types](#request-and-response-types)
|
|
15
|
+
- [Exception Handling](#exception-handling)
|
|
16
|
+
- [Advanced](#advanced)
|
|
17
|
+
- [Additional Headers](#additional-headers)
|
|
18
|
+
- [Additional Query String Parameters](#additional-query-string-parameters)
|
|
19
|
+
- [Retries](#retries)
|
|
20
|
+
- [Timeouts](#timeouts)
|
|
21
|
+
- [Aborting Requests](#aborting-requests)
|
|
22
|
+
- [Access Raw Response Data](#access-raw-response-data)
|
|
23
|
+
- [Runtime Compatibility](#runtime-compatibility)
|
|
24
|
+
- [Contributing](#contributing)
|
|
25
|
+
|
|
26
|
+
## Table of Contents
|
|
27
|
+
|
|
28
|
+
- [Installation](#installation)
|
|
29
|
+
- [Reference](#reference)
|
|
30
|
+
- [Usage](#usage)
|
|
31
|
+
- [Request and Response Types](#request-and-response-types)
|
|
32
|
+
- [Exception Handling](#exception-handling)
|
|
33
|
+
- [Advanced](#advanced)
|
|
34
|
+
- [Additional Headers](#additional-headers)
|
|
35
|
+
- [Additional Query String Parameters](#additional-query-string-parameters)
|
|
36
|
+
- [Retries](#retries)
|
|
37
|
+
- [Timeouts](#timeouts)
|
|
38
|
+
- [Aborting Requests](#aborting-requests)
|
|
39
|
+
- [Access Raw Response Data](#access-raw-response-data)
|
|
40
|
+
- [Runtime Compatibility](#runtime-compatibility)
|
|
41
|
+
- [Contributing](#contributing)
|
|
42
|
+
|
|
8
43
|
## Installation
|
|
9
44
|
|
|
10
45
|
```sh
|
|
@@ -35,7 +70,7 @@ await client.preEncounter.eligibilityChecks.v1.post({
|
|
|
35
70
|
});
|
|
36
71
|
```
|
|
37
72
|
|
|
38
|
-
## Request
|
|
73
|
+
## Request and Response Types
|
|
39
74
|
|
|
40
75
|
The SDK exports all request and response types as TypeScript interfaces. Simply import them with the
|
|
41
76
|
following namespace:
|
|
@@ -10,6 +10,7 @@ export interface ChargeCapture {
|
|
|
10
10
|
originatingSystem?: string;
|
|
11
11
|
claimCreationCategory?: string;
|
|
12
12
|
error?: CandidApi.chargeCapture.v1.ChargeCaptureError;
|
|
13
|
+
/** This list of updates will always return at most 1 update that is not resolved. The singular update will contain the difference between the updated charge and the created encounter. */
|
|
13
14
|
updates: CandidApi.chargeCapture.v1.ChargeCapturePostBilledChange[];
|
|
14
15
|
claimCreationId?: CandidApi.ChargeCaptureClaimCreationId;
|
|
15
16
|
}
|
|
@@ -30,4 +30,6 @@ export interface EncounterServiceFacility {
|
|
|
30
30
|
* Box 32 section (b) of the CMS-1500 claim form.
|
|
31
31
|
*/
|
|
32
32
|
secondaryIdentification?: string;
|
|
33
|
+
/** The associated mammography certification number for this service facility. This is a 6 digit code assigned by the FDA. */
|
|
34
|
+
mammographyCertificationNumber?: string;
|
|
33
35
|
}
|
|
@@ -23,4 +23,6 @@ export interface EncounterServiceFacilityBase {
|
|
|
23
23
|
* Box 32 section (b) of the CMS-1500 claim form.
|
|
24
24
|
*/
|
|
25
25
|
secondaryIdentification?: string;
|
|
26
|
+
/** The associated mammography certification number for this service facility. This is a 6 digit code assigned by the FDA. */
|
|
27
|
+
mammographyCertificationNumber?: string;
|
|
26
28
|
}
|
|
@@ -28,4 +28,6 @@ export interface EncounterServiceFacilityUpdate {
|
|
|
28
28
|
* Box 32 section (b) of the CMS-1500 claim form.
|
|
29
29
|
*/
|
|
30
30
|
secondaryIdentification?: string;
|
|
31
|
+
/** The associated mammography certification number for this service facility. This is a 6 digit code assigned by the FDA. */
|
|
32
|
+
mammographyCertificationNumber?: string;
|
|
31
33
|
}
|
package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts
CHANGED
|
@@ -14,4 +14,6 @@ export interface EncounterServiceFacilityUpdateWithOptionalAddress {
|
|
|
14
14
|
* Box 32 section (b) of the CMS-1500 claim form.
|
|
15
15
|
*/
|
|
16
16
|
secondaryIdentification?: string;
|
|
17
|
+
/** The associated mammography certification number for this service facility. This is a 6 digit code assigned by the FDA. */
|
|
18
|
+
mammographyCertificationNumber?: string;
|
|
17
19
|
}
|
package/dist/Client.js
CHANGED
|
@@ -90,8 +90,8 @@ class CandidApiClient {
|
|
|
90
90
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_1.mergeHeaders)({
|
|
91
91
|
"X-Fern-Language": "JavaScript",
|
|
92
92
|
"X-Fern-SDK-Name": "candidhealth",
|
|
93
|
-
"X-Fern-SDK-Version": "1.14.
|
|
94
|
-
"User-Agent": "candidhealth/1.14.
|
|
93
|
+
"X-Fern-SDK-Version": "1.14.4",
|
|
94
|
+
"User-Agent": "candidhealth/1.14.4",
|
|
95
95
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
96
96
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
97
97
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -10,6 +10,7 @@ export interface ChargeCapture {
|
|
|
10
10
|
originatingSystem?: string;
|
|
11
11
|
claimCreationCategory?: string;
|
|
12
12
|
error?: CandidApi.chargeCapture.v1.ChargeCaptureError;
|
|
13
|
+
/** This list of updates will always return at most 1 update that is not resolved. The singular update will contain the difference between the updated charge and the created encounter. */
|
|
13
14
|
updates: CandidApi.chargeCapture.v1.ChargeCapturePostBilledChange[];
|
|
14
15
|
claimCreationId?: CandidApi.ChargeCaptureClaimCreationId;
|
|
15
16
|
}
|
|
@@ -30,4 +30,6 @@ export interface EncounterServiceFacility {
|
|
|
30
30
|
* Box 32 section (b) of the CMS-1500 claim form.
|
|
31
31
|
*/
|
|
32
32
|
secondaryIdentification?: string;
|
|
33
|
+
/** The associated mammography certification number for this service facility. This is a 6 digit code assigned by the FDA. */
|
|
34
|
+
mammographyCertificationNumber?: string;
|
|
33
35
|
}
|
|
@@ -23,4 +23,6 @@ export interface EncounterServiceFacilityBase {
|
|
|
23
23
|
* Box 32 section (b) of the CMS-1500 claim form.
|
|
24
24
|
*/
|
|
25
25
|
secondaryIdentification?: string;
|
|
26
|
+
/** The associated mammography certification number for this service facility. This is a 6 digit code assigned by the FDA. */
|
|
27
|
+
mammographyCertificationNumber?: string;
|
|
26
28
|
}
|
|
@@ -28,4 +28,6 @@ export interface EncounterServiceFacilityUpdate {
|
|
|
28
28
|
* Box 32 section (b) of the CMS-1500 claim form.
|
|
29
29
|
*/
|
|
30
30
|
secondaryIdentification?: string;
|
|
31
|
+
/** The associated mammography certification number for this service facility. This is a 6 digit code assigned by the FDA. */
|
|
32
|
+
mammographyCertificationNumber?: string;
|
|
31
33
|
}
|
|
@@ -14,4 +14,6 @@ export interface EncounterServiceFacilityUpdateWithOptionalAddress {
|
|
|
14
14
|
* Box 32 section (b) of the CMS-1500 claim form.
|
|
15
15
|
*/
|
|
16
16
|
secondaryIdentification?: string;
|
|
17
|
+
/** The associated mammography certification number for this service facility. This is a 6 digit code assigned by the FDA. */
|
|
18
|
+
mammographyCertificationNumber?: string;
|
|
17
19
|
}
|
|
@@ -44,4 +44,5 @@ exports.EncounterServiceFacility = core.serialization.object({
|
|
|
44
44
|
npi: core.serialization.string().optional(),
|
|
45
45
|
address: StreetAddressLongZip_1.StreetAddressLongZip,
|
|
46
46
|
secondaryIdentification: core.serialization.property("secondary_identification", core.serialization.string().optional()),
|
|
47
|
+
mammographyCertificationNumber: core.serialization.property("mammography_certification_number", core.serialization.string().optional()),
|
|
47
48
|
});
|
|
@@ -42,4 +42,5 @@ exports.EncounterServiceFacilityBase = core.serialization.object({
|
|
|
42
42
|
npi: core.serialization.string().optional(),
|
|
43
43
|
address: StreetAddressLongZip_1.StreetAddressLongZip,
|
|
44
44
|
secondaryIdentification: core.serialization.property("secondary_identification", core.serialization.string().optional()),
|
|
45
|
+
mammographyCertificationNumber: core.serialization.property("mammography_certification_number", core.serialization.string().optional()),
|
|
45
46
|
});
|
package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdate.js
CHANGED
|
@@ -42,4 +42,5 @@ exports.EncounterServiceFacilityUpdate = core.serialization.object({
|
|
|
42
42
|
npi: core.serialization.string().optional(),
|
|
43
43
|
address: StreetAddressLongZip_1.StreetAddressLongZip.optional(),
|
|
44
44
|
secondaryIdentification: core.serialization.property("secondary_identification", core.serialization.string().optional()),
|
|
45
|
+
mammographyCertificationNumber: core.serialization.property("mammography_certification_number", core.serialization.string().optional()),
|
|
45
46
|
});
|
|
@@ -42,4 +42,5 @@ exports.EncounterServiceFacilityUpdateWithOptionalAddress = core.serialization.o
|
|
|
42
42
|
npi: core.serialization.string().optional(),
|
|
43
43
|
address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
|
|
44
44
|
secondaryIdentification: core.serialization.property("secondary_identification", core.serialization.string().optional()),
|
|
45
|
+
mammographyCertificationNumber: core.serialization.property("mammography_certification_number", core.serialization.string().optional()),
|
|
45
46
|
});
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.14.
|
|
1
|
+
export declare const SDK_VERSION = "1.14.4";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -44,4 +44,5 @@ exports.EncounterServiceFacility = core.serialization.object({
|
|
|
44
44
|
npi: core.serialization.string().optional(),
|
|
45
45
|
address: StreetAddressLongZip_1.StreetAddressLongZip,
|
|
46
46
|
secondaryIdentification: core.serialization.property("secondary_identification", core.serialization.string().optional()),
|
|
47
|
+
mammographyCertificationNumber: core.serialization.property("mammography_certification_number", core.serialization.string().optional()),
|
|
47
48
|
});
|
|
@@ -42,4 +42,5 @@ exports.EncounterServiceFacilityBase = core.serialization.object({
|
|
|
42
42
|
npi: core.serialization.string().optional(),
|
|
43
43
|
address: StreetAddressLongZip_1.StreetAddressLongZip,
|
|
44
44
|
secondaryIdentification: core.serialization.property("secondary_identification", core.serialization.string().optional()),
|
|
45
|
+
mammographyCertificationNumber: core.serialization.property("mammography_certification_number", core.serialization.string().optional()),
|
|
45
46
|
});
|
|
@@ -42,4 +42,5 @@ exports.EncounterServiceFacilityUpdate = core.serialization.object({
|
|
|
42
42
|
npi: core.serialization.string().optional(),
|
|
43
43
|
address: StreetAddressLongZip_1.StreetAddressLongZip.optional(),
|
|
44
44
|
secondaryIdentification: core.serialization.property("secondary_identification", core.serialization.string().optional()),
|
|
45
|
+
mammographyCertificationNumber: core.serialization.property("mammography_certification_number", core.serialization.string().optional()),
|
|
45
46
|
});
|
|
@@ -42,4 +42,5 @@ exports.EncounterServiceFacilityUpdateWithOptionalAddress = core.serialization.o
|
|
|
42
42
|
npi: core.serialization.string().optional(),
|
|
43
43
|
address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
|
|
44
44
|
secondaryIdentification: core.serialization.property("secondary_identification", core.serialization.string().optional()),
|
|
45
|
+
mammographyCertificationNumber: core.serialization.property("mammography_certification_number", core.serialization.string().optional()),
|
|
45
46
|
});
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.14.
|
|
1
|
+
export declare const SDK_VERSION = "1.14.4";
|
package/version.js
CHANGED