candidhealth 0.39.7 → 0.39.8

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.
Files changed (92) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  3. package/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
  4. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  5. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  6. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  7. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  8. package/api/resources/diagnoses/client/Client.js +3 -3
  9. package/api/resources/eligibility/resources/v2/client/Client.d.ts +9 -0
  10. package/api/resources/eligibility/resources/v2/client/Client.js +12 -3
  11. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  12. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  13. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  14. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  15. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  16. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  17. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  18. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  19. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  20. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  21. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  22. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  23. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  24. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  25. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  26. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  27. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  28. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  29. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  30. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  31. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  32. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  33. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  34. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +1 -0
  35. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +2 -1
  36. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  37. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  38. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +10 -10
  39. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  40. package/api/resources/serviceFacility/client/Client.js +1 -1
  41. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  42. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  43. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  44. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  45. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  46. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
  47. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  48. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  49. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  50. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  51. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  52. package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +9 -0
  53. package/dist/api/resources/eligibility/resources/v2/client/Client.js +12 -3
  54. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  55. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  56. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  57. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  58. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  59. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  60. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  61. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  62. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  63. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  64. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  65. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  66. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  67. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  68. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  69. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  70. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  71. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  72. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  73. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  74. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  75. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  76. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  77. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +1 -0
  78. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +2 -1
  79. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  80. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  81. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +10 -10
  82. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  83. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  84. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  85. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  86. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  87. package/dist/version.d.ts +1 -1
  88. package/dist/version.js +1 -1
  89. package/package.json +1 -1
  90. package/reference.md +10 -0
  91. package/version.d.ts +1 -1
  92. package/version.js +1 -1
@@ -127,7 +127,7 @@ class V1 {
127
127
  const _response = yield core.fetcher({
128
128
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/write-offs/v1"),
129
129
  method: "GET",
130
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
130
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
131
131
  contentType: "application/json",
132
132
  queryParameters: _queryParams,
133
133
  requestType: "json",
@@ -167,7 +167,7 @@ class V1 {
167
167
  const _response = yield core.fetcher({
168
168
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}`),
169
169
  method: "GET",
170
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
170
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
171
171
  contentType: "application/json",
172
172
  requestType: "json",
173
173
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -216,7 +216,7 @@ class V1 {
216
216
  const _response = yield core.fetcher({
217
217
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/write-offs/v1"),
218
218
  method: "POST",
219
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
219
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
220
220
  contentType: "application/json",
221
221
  requestType: "json",
222
222
  body: serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
@@ -258,7 +258,7 @@ class V1 {
258
258
  const _response = yield core.fetcher({
259
259
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}/revert`),
260
260
  method: "POST",
261
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.7", "User-Agent": "candidhealth/0.39.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
261
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.8", "User-Agent": "candidhealth/0.39.8", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
262
262
  contentType: "application/json",
263
263
  requestType: "json",
264
264
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.39.7";
1
+ export declare const SDK_VERSION = "0.39.8";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.39.7";
4
+ exports.SDK_VERSION = "0.39.8";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "candidhealth",
3
- "version": "0.39.7",
3
+ "version": "0.39.8",
4
4
  "private": false,
5
5
  "repository": "https://github.com/candidhealth/candid-node",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -1594,6 +1594,9 @@ await client.customSchemas.v1.update(CandidApi.SchemaId("ec096b13-f80a-471d-aaeb
1594
1594
  <dl>
1595
1595
  <dd>
1596
1596
 
1597
+ <Tip>Candid is deprecating support for this endpoint. It is instead recommended to use [Candid's Stedi passthrough endpoint](https://docs.joincandidhealth.com/api-reference/eligibility-checks/v-1/post).
1598
+ For assistance with the transition, please reference the [Transitioning to Candid's New Eligibility Endpoint](https://support.joincandidhealth.com/hc/en-us/articles/34918552872980) document in the Candid Support Center.</Tip>
1599
+
1597
1600
  This API is a wrapper around Change Healthcare's eligibility API. Below are some helpful documentation links:
1598
1601
 
1599
1602
  - [Change Healthcare - Guides: Contents of the Eligibility Request Body](https://developers.changehealthcare.com/eligibilityandclaims/docs/contents-of-the-eligibility-request-body)
@@ -1672,6 +1675,9 @@ await client.eligibility.v2.submitEligibilityCheck({
1672
1675
  <dl>
1673
1676
  <dd>
1674
1677
 
1678
+ <Tip>Candid is deprecating support for this endpoint. It is instead recommended to use [Candid's Stedi passthrough endpoint](https://docs.joincandidhealth.com/api-reference/eligibility-checks/v-1/post).
1679
+ For assistance with the transition, please reference the [Transitioning to Candid's New Eligibility Endpoint](https://support.joincandidhealth.com/hc/en-us/articles/34918552872980) document in the Candid Support Center.</Tip>
1680
+
1675
1681
  **Availity has transitioned their GET endpoint to a POST endpoint. Candid has updated their pass-through integration to enable backwards compatibility for the GET endpoint so that customers do not have to immediately update their integrations.**
1676
1682
 
1677
1683
  **Candid recommends integrations with the [POST endpoint](https://docs.joincandidhealth.com/api-reference/eligibility/v-2/submit-eligibility-check-availity-post) to ensure the best possible integration experience. Given the transition, Availity’s documentation will be out of sync with this endpoint.**
@@ -1743,6 +1749,9 @@ await client.eligibility.v2.submitEligibilityCheckAvaility();
1743
1749
  <dl>
1744
1750
  <dd>
1745
1751
 
1752
+ <Tip>Candid is deprecating support for this endpoint. It is instead recommended to use [Candid's Stedi passthrough endpoint](https://docs.joincandidhealth.com/api-reference/eligibility-checks/v-1/post).
1753
+ For assistance with the transition, please reference the [Transitioning to Candid's New Eligibility Endpoint](https://support.joincandidhealth.com/hc/en-us/articles/34918552872980) document in the Candid Support Center.</Tip>
1754
+
1746
1755
  If you'd like access to this endpoint, please reach out to support@joincandidhealth.com with the subject line "Action: Activate Availity Eligibility API Endpoint
1747
1756
 
1748
1757
  This API is a wrapper around Availity's coverages API. Below are some helpful documentation links:
@@ -10705,6 +10714,7 @@ await client.preEncounter.coverages.v1.getEligibility(
10705
10714
  <dd>
10706
10715
 
10707
10716
  Sends real-time eligibility checks to payers through Stedi.
10717
+ <Warning>Please only send one concurrent request to this endpoint. Batch requests must be made in succession, otherwise, it will cause this service to fail. A batch endpoint is in development - please reach out to the Candid team for more information.</Warning>
10708
10718
 
10709
10719
  </dd>
10710
10720
  </dl>
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.39.7";
1
+ export declare const SDK_VERSION = "0.39.8";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.39.7";
4
+ exports.SDK_VERSION = "0.39.8";