candidhealth 0.16.2 → 0.17.1

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 (193) hide show
  1. package/api/resources/auth/resources/v2/client/Client.d.ts +0 -1
  2. package/api/resources/auth/resources/v2/client/Client.js +1 -2
  3. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/types/BillingNote.d.ts +0 -1
  5. package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +0 -2
  6. package/api/resources/commons/types/DelayReasonCode.d.ts +65 -0
  7. package/api/resources/commons/types/DelayReasonCode.js +22 -0
  8. package/api/resources/commons/types/FacilityTypeCode.d.ts +0 -1
  9. package/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
  10. package/api/resources/commons/types/ProcedureModifier.d.ts +4 -8
  11. package/api/resources/commons/types/index.d.ts +1 -0
  12. package/api/resources/commons/types/index.js +1 -0
  13. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  14. package/api/resources/contracts/resources/v2/types/ContractBase.d.ts +3 -13
  15. package/api/resources/contracts/resources/v2/types/ContractStatus.d.ts +3 -6
  16. package/api/resources/diagnoses/types/DiagnosisCreate.d.ts +6 -9
  17. package/api/resources/eligibility/resources/v2/client/Client.d.ts +13 -1
  18. package/api/resources/eligibility/resources/v2/client/Client.js +37 -2
  19. package/api/resources/eligibility/resources/v2/client/index.d.ts +1 -0
  20. package/api/resources/eligibility/resources/v2/client/index.js +2 -1
  21. package/api/resources/eligibility/resources/v2/client/submitEligibilityCheckAvaility.d.ts +22 -0
  22. package/api/resources/eligibility/resources/v2/client/submitEligibilityCheckAvaility.js +47 -0
  23. package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +1 -5
  24. package/api/resources/encounterProviders/resources/v2/types/EncounterProviderBase.d.ts +3 -12
  25. package/api/resources/encounterProviders/resources/v2/types/ReferringProvider.d.ts +0 -1
  26. package/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +0 -1
  27. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  28. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -0
  29. package/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +0 -6
  30. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +6 -28
  31. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +12 -27
  32. package/api/resources/encounters/resources/v4/types/Intervention.d.ts +1 -4
  33. package/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +0 -1
  34. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
  35. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
  36. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
  37. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
  38. package/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +1 -5
  39. package/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +1 -5
  40. package/api/resources/exports/resources/v3/client/Client.d.ts +0 -1
  41. package/api/resources/exports/resources/v3/client/Client.js +1 -2
  42. package/api/resources/exports/resources/v3/client/requests/GetExportsRequest.d.ts +0 -2
  43. package/api/resources/financials/types/AllocationCreate.d.ts +0 -1
  44. package/api/resources/financials/types/AllocationTarget.d.ts +0 -1
  45. package/api/resources/financials/types/AllocationTargetCreate.d.ts +0 -1
  46. package/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
  47. package/api/resources/guarantor/resources/v1/client/Client.js +3 -6
  48. package/api/resources/individual/types/PatientBase.d.ts +1 -5
  49. package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
  50. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
  51. package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -5
  52. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -10
  53. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -5
  54. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -10
  55. package/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +2 -8
  56. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  57. package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderCreateV2.d.ts +2 -8
  58. package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.d.ts +2 -8
  59. package/api/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.d.ts +2 -8
  60. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  61. package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +0 -1
  62. package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +0 -1
  63. package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +0 -1
  64. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
  65. package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
  66. package/api/resources/patientPayments/resources/v4/client/Client.d.ts +0 -5
  67. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -10
  68. package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +0 -5
  69. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -10
  70. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  71. package/api/resources/serviceFacility/client/Client.js +1 -1
  72. package/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +1 -5
  73. package/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +1 -6
  74. package/api/resources/serviceLines/resources/v2/types/ServiceIdQualifier.d.ts +1 -2
  75. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -2
  76. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -2
  77. package/api/resources/serviceLines/resources/v2/types/ServiceLineDenialReason.d.ts +0 -1
  78. package/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +2 -1
  79. package/api/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
  80. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  81. package/api/resources/writeOffs/resources/v1/client/Client.d.ts +0 -4
  82. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -8
  83. package/dist/api/resources/auth/resources/v2/client/Client.d.ts +0 -1
  84. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -2
  85. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  86. package/dist/api/resources/billingNotes/resources/v2/types/BillingNote.d.ts +0 -1
  87. package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +0 -2
  88. package/dist/api/resources/commons/types/DelayReasonCode.d.ts +65 -0
  89. package/dist/api/resources/commons/types/DelayReasonCode.js +22 -0
  90. package/dist/api/resources/commons/types/FacilityTypeCode.d.ts +0 -1
  91. package/dist/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
  92. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +4 -8
  93. package/dist/api/resources/commons/types/index.d.ts +1 -0
  94. package/dist/api/resources/commons/types/index.js +1 -0
  95. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  96. package/dist/api/resources/contracts/resources/v2/types/ContractBase.d.ts +3 -13
  97. package/dist/api/resources/contracts/resources/v2/types/ContractStatus.d.ts +3 -6
  98. package/dist/api/resources/diagnoses/types/DiagnosisCreate.d.ts +6 -9
  99. package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +13 -1
  100. package/dist/api/resources/eligibility/resources/v2/client/Client.js +37 -2
  101. package/dist/api/resources/eligibility/resources/v2/client/index.d.ts +1 -0
  102. package/dist/api/resources/eligibility/resources/v2/client/index.js +2 -1
  103. package/dist/api/resources/eligibility/resources/v2/client/submitEligibilityCheckAvaility.d.ts +22 -0
  104. package/dist/api/resources/eligibility/resources/v2/client/submitEligibilityCheckAvaility.js +47 -0
  105. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +1 -5
  106. package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProviderBase.d.ts +3 -12
  107. package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProvider.d.ts +0 -1
  108. package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProvider.d.ts +0 -1
  109. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  110. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +6 -0
  111. package/dist/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +0 -6
  112. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +6 -28
  113. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +12 -27
  114. package/dist/api/resources/encounters/resources/v4/types/Intervention.d.ts +1 -4
  115. package/dist/api/resources/encounters/resources/v4/types/ServiceAuthorizationExceptionCode.d.ts +0 -1
  116. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +0 -1
  117. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -2
  118. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +0 -2
  119. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -4
  120. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ComputeAllInNetworkProvidersRequest.d.ts +1 -5
  121. package/dist/api/resources/expectedNetworkStatus/resources/v2/types/ExpectedNetworkStatusRequestV2.d.ts +1 -5
  122. package/dist/api/resources/exports/resources/v3/client/Client.d.ts +0 -1
  123. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -2
  124. package/dist/api/resources/exports/resources/v3/client/requests/GetExportsRequest.d.ts +0 -2
  125. package/dist/api/resources/financials/types/AllocationCreate.d.ts +0 -1
  126. package/dist/api/resources/financials/types/AllocationTarget.d.ts +0 -1
  127. package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +0 -1
  128. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +0 -3
  129. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -6
  130. package/dist/api/resources/individual/types/PatientBase.d.ts +1 -5
  131. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -3
  132. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -6
  133. package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +0 -5
  134. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -10
  135. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +0 -5
  136. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -10
  137. package/dist/api/resources/organizationProviders/resources/v2/types/OrganizationProviderBase.d.ts +2 -8
  138. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  139. package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderCreateV2.d.ts +2 -8
  140. package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderUpdateV2.d.ts +2 -8
  141. package/dist/api/resources/organizationProviders/resources/v3/types/OrganizationProviderV2.d.ts +2 -8
  142. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  143. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +0 -1
  144. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +0 -1
  145. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +0 -1
  146. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
  147. package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
  148. package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +0 -5
  149. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -10
  150. package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +0 -5
  151. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -10
  152. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  153. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  154. package/dist/api/resources/serviceFacility/types/EncounterServiceFacility.d.ts +1 -5
  155. package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityBase.d.ts +1 -6
  156. package/dist/api/resources/serviceLines/resources/v2/types/ServiceIdQualifier.d.ts +1 -2
  157. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -2
  158. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -2
  159. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineDenialReason.d.ts +0 -1
  160. package/dist/api/resources/tasks/resources/commons/types/TaskCategory.d.ts +2 -1
  161. package/dist/api/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
  162. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  163. package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +0 -4
  164. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -8
  165. package/dist/serialization/resources/commons/types/DelayReasonCode.d.ts +10 -0
  166. package/dist/serialization/resources/commons/types/DelayReasonCode.js +31 -0
  167. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  168. package/dist/serialization/resources/commons/types/index.js +1 -0
  169. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  170. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  171. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
  172. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
  173. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -0
  174. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -0
  175. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
  176. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -0
  177. package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +1 -1
  178. package/dist/serialization/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
  179. package/package.json +1 -1
  180. package/serialization/resources/commons/types/DelayReasonCode.d.ts +10 -0
  181. package/serialization/resources/commons/types/DelayReasonCode.js +31 -0
  182. package/serialization/resources/commons/types/index.d.ts +1 -0
  183. package/serialization/resources/commons/types/index.js +1 -0
  184. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  185. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  186. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +1 -0
  187. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +1 -0
  188. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -0
  189. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -0
  190. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -0
  191. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -0
  192. package/serialization/resources/tasks/resources/commons/types/TaskCategory.d.ts +1 -1
  193. package/serialization/resources/tasks/resources/commons/types/TaskCategory.js +1 -0
@@ -43,7 +43,6 @@ class V1 {
43
43
  }
44
44
  /**
45
45
  * Returns all write-offs satisfying the search criteria.
46
- *
47
46
  */
48
47
  async getMulti(request = {}) {
49
48
  const { limit, patientExternalId, payerUuid, serviceLineId, claimId, billingProviderId, sort, sortDirection, pageToken, accountTypes, } = request;
@@ -92,7 +91,7 @@ class V1 {
92
91
  Authorization: await this._getAuthorizationHeader(),
93
92
  "X-Fern-Language": "JavaScript",
94
93
  "X-Fern-SDK-Name": "candidhealth",
95
- "X-Fern-SDK-Version": "0.16.2",
94
+ "X-Fern-SDK-Version": "0.17.1",
96
95
  },
97
96
  contentType: "application/json",
98
97
  queryParameters: _queryParams,
@@ -116,7 +115,6 @@ class V1 {
116
115
  }
117
116
  /**
118
117
  * Retrieves a previously created write off by its `write_off_id`.
119
- *
120
118
  */
121
119
  async get(writeOffId) {
122
120
  const _response = await core.fetcher({
@@ -126,7 +124,7 @@ class V1 {
126
124
  Authorization: await this._getAuthorizationHeader(),
127
125
  "X-Fern-Language": "JavaScript",
128
126
  "X-Fern-SDK-Name": "candidhealth",
129
- "X-Fern-SDK-Version": "0.16.2",
127
+ "X-Fern-SDK-Version": "0.17.1",
130
128
  },
131
129
  contentType: "application/json",
132
130
  timeoutMs: 60000,
@@ -151,7 +149,6 @@ class V1 {
151
149
  * Creates one or many write-offs given a specific set of allocations.
152
150
  * The allocations can describe whether the refund is being applied toward a specific service line,
153
151
  * claim, or billing provider.
154
- *
155
152
  */
156
153
  async create(request) {
157
154
  const _response = await core.fetcher({
@@ -161,7 +158,7 @@ class V1 {
161
158
  Authorization: await this._getAuthorizationHeader(),
162
159
  "X-Fern-Language": "JavaScript",
163
160
  "X-Fern-SDK-Name": "candidhealth",
164
- "X-Fern-SDK-Version": "0.16.2",
161
+ "X-Fern-SDK-Version": "0.17.1",
165
162
  },
166
163
  contentType: "application/json",
167
164
  body: await serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
@@ -187,7 +184,6 @@ class V1 {
187
184
  }
188
185
  /**
189
186
  * Reverts a write off given a `write_off_id`.
190
- *
191
187
  */
192
188
  async revert(writeOffId) {
193
189
  const _response = await core.fetcher({
@@ -197,7 +193,7 @@ class V1 {
197
193
  Authorization: await this._getAuthorizationHeader(),
198
194
  "X-Fern-Language": "JavaScript",
199
195
  "X-Fern-SDK-Name": "candidhealth",
200
- "X-Fern-SDK-Version": "0.16.2",
196
+ "X-Fern-SDK-Version": "0.17.1",
201
197
  },
202
198
  contentType: "application/json",
203
199
  timeoutMs: 60000,
@@ -0,0 +1,10 @@
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 DelayReasonCode: core.serialization.Schema<serializers.DelayReasonCode.Raw, CandidApi.DelayReasonCode>;
8
+ export declare namespace DelayReasonCode {
9
+ type Raw = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "15" | "16" | "17";
10
+ }
@@ -0,0 +1,31 @@
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.DelayReasonCode = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.DelayReasonCode = core.serialization.enum_(["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "15", "16", "17"]);
@@ -48,3 +48,4 @@ export * from "./OrganizationNotAuthorizedErrorMessage";
48
48
  export * from "./PhoneNumber";
49
49
  export * from "./PhoneNumberType";
50
50
  export * from "./Email";
51
+ export * from "./DelayReasonCode";
@@ -64,3 +64,4 @@ __exportStar(require("./OrganizationNotAuthorizedErrorMessage"), exports);
64
64
  __exportStar(require("./PhoneNumber"), exports);
65
65
  __exportStar(require("./PhoneNumberType"), exports);
66
66
  __exportStar(require("./Email"), exports);
67
+ __exportStar(require("./DelayReasonCode"), exports);
@@ -30,5 +30,6 @@ export declare namespace EncounterUpdate {
30
30
  discharge_date?: serializers.Date_.Raw | null;
31
31
  onset_of_current_illness_or_symptom_date?: serializers.Date_.Raw | null;
32
32
  last_menstrual_period_date?: serializers.Date_.Raw | null;
33
+ delay_reason_code?: serializers.DelayReasonCode.Raw | null;
33
34
  }
34
35
  }
@@ -68,4 +68,5 @@ exports.EncounterUpdate = core.serialization.object({
68
68
  dischargeDate: core.serialization.property("discharge_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
69
69
  onsetOfCurrentIllnessOrSymptomDate: core.serialization.property("onset_of_current_illness_or_symptom_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
70
70
  lastMenstrualPeriodDate: core.serialization.property("last_menstrual_period_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
71
+ delayReasonCode: core.serialization.property("delay_reason_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).DelayReasonCode).optional()),
71
72
  });
@@ -28,5 +28,6 @@ export declare namespace EncounterBase {
28
28
  discharge_date?: serializers.Date_.Raw | null;
29
29
  onset_of_current_illness_or_symptom_date?: serializers.Date_.Raw | null;
30
30
  last_menstrual_period_date?: serializers.Date_.Raw | null;
31
+ delay_reason_code?: serializers.DelayReasonCode.Raw | null;
31
32
  }
32
33
  }
@@ -60,4 +60,5 @@ exports.EncounterBase = core.serialization.object({
60
60
  dischargeDate: core.serialization.property("discharge_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
61
61
  onsetOfCurrentIllnessOrSymptomDate: core.serialization.property("onset_of_current_illness_or_symptom_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
62
62
  lastMenstrualPeriodDate: core.serialization.property("last_menstrual_period_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
63
+ delayReasonCode: core.serialization.property("delay_reason_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).DelayReasonCode).optional()),
63
64
  });
@@ -29,5 +29,6 @@ export declare namespace ServiceLine {
29
29
  units: serializers.ServiceLineUnits.Raw;
30
30
  claim_id: serializers.ClaimId.Raw;
31
31
  date_of_service_range: serializers.DateRangeOptionalEnd.Raw;
32
+ description?: string | null;
32
33
  }
33
34
  }
@@ -61,4 +61,5 @@ exports.ServiceLine = core.serialization.object({
61
61
  units: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineUnits),
62
62
  claimId: core.serialization.property("claim_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ClaimId)),
63
63
  dateOfServiceRange: core.serialization.property("date_of_service_range", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).DateRangeOptionalEnd)),
64
+ description: core.serialization.string().optional(),
64
65
  });
@@ -15,5 +15,6 @@ export declare namespace ServiceLineCreate {
15
15
  diagnosis_pointers: number[];
16
16
  drug_identification?: serializers.serviceLines.v2.DrugIdentification.Raw | null;
17
17
  place_of_service_code?: serializers.FacilityTypeCode.Raw | null;
18
+ description?: string | null;
18
19
  }
19
20
  }
@@ -41,4 +41,5 @@ exports.ServiceLineCreate = core.serialization.object({
41
41
  .lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).serviceLines.v2.DrugIdentification)
42
42
  .optional()),
43
43
  placeOfServiceCode: core.serialization.property("place_of_service_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).FacilityTypeCode).optional()),
44
+ description: core.serialization.string().optional(),
44
45
  });
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const TaskCategory: core.serialization.Schema<serializers.tasks.TaskCategory.Raw, CandidApi.tasks.TaskCategory>;
8
8
  export declare namespace TaskCategory {
9
- type Raw = "other" | "provider_credentialing" | "authorization_required" | "inactive_coverage" | "unknown_eligibility_or_patient_not_found" | "incorrect_member_id" | "documentation_addendum_request" | "coordination_of_benefits" | "missing_or_incorrect_gender" | "incorrect_date_of_birth" | "incorrect_payer" | "incorrect_name" | "invalid_diagnosis_code" | "non_covered_diagnosis_codes" | "information_requested_from_patient" | "incorrect_rendering_provider_info" | "missing_or_incorrect_modifier" | "coding_frequency_error" | "incorrect_patient_address" | "multiple_em_claims" | "missing_or_incorrect_charge_amount" | "medical_records_request" | "provider_enrollment_or_contracting" | "missing_or_incorrect_group_number" | "missing_diagnosis_codes" | "missing_patient_authorization" | "incorrect_billing_provider_info" | "incorrect_procedure_code" | "incorrect_quantity" | "incorrect_place_of_service_code" | "incorrect_service_facility_info" | "incorrect_date_of_service" | "missing_or_incorrect_ndc" | "patient_collections" | "submit_to_secondary" | "transient_server_error" | "missing_remittance_enrollment" | "missing_claims_enrollment" | "held_by_customer";
9
+ type Raw = "other" | "provider_credentialing" | "authorization_required" | "inactive_coverage" | "unknown_eligibility_or_patient_not_found" | "incorrect_member_id" | "documentation_addendum_request" | "coordination_of_benefits" | "missing_or_incorrect_gender" | "incorrect_date_of_birth" | "incorrect_payer" | "incorrect_name" | "invalid_diagnosis_code" | "non_covered_diagnosis_codes" | "information_requested_from_patient" | "incorrect_rendering_provider_info" | "missing_or_incorrect_modifier" | "coding_frequency_error" | "incorrect_patient_address" | "multiple_em_claims" | "missing_or_incorrect_charge_amount" | "medical_records_request" | "provider_enrollment_or_contracting" | "missing_or_incorrect_group_number" | "missing_diagnosis_codes" | "missing_patient_authorization" | "incorrect_billing_provider_info" | "incorrect_procedure_code" | "incorrect_quantity" | "incorrect_place_of_service_code" | "incorrect_service_facility_info" | "incorrect_date_of_service" | "missing_or_incorrect_ndc" | "patient_collections" | "submit_to_secondary" | "transient_server_error" | "missing_remittance_enrollment" | "missing_claims_enrollment" | "held_by_customer" | "pending_manual_remit_posting";
10
10
  }
@@ -68,4 +68,5 @@ exports.TaskCategory = core.serialization.enum_([
68
68
  "missing_remittance_enrollment",
69
69
  "missing_claims_enrollment",
70
70
  "held_by_customer",
71
+ "pending_manual_remit_posting",
71
72
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "candidhealth",
3
- "version": "0.16.2",
3
+ "version": "0.17.1",
4
4
  "private": false,
5
5
  "repository": "https://github.com/candidhealth/candid-node",
6
6
  "main": "./index.js",
@@ -0,0 +1,10 @@
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 DelayReasonCode: core.serialization.Schema<serializers.DelayReasonCode.Raw, CandidApi.DelayReasonCode>;
8
+ export declare namespace DelayReasonCode {
9
+ type Raw = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "15" | "16" | "17";
10
+ }
@@ -0,0 +1,31 @@
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.DelayReasonCode = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.DelayReasonCode = core.serialization.enum_(["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "15", "16", "17"]);
@@ -48,3 +48,4 @@ export * from "./OrganizationNotAuthorizedErrorMessage";
48
48
  export * from "./PhoneNumber";
49
49
  export * from "./PhoneNumberType";
50
50
  export * from "./Email";
51
+ export * from "./DelayReasonCode";
@@ -64,3 +64,4 @@ __exportStar(require("./OrganizationNotAuthorizedErrorMessage"), exports);
64
64
  __exportStar(require("./PhoneNumber"), exports);
65
65
  __exportStar(require("./PhoneNumberType"), exports);
66
66
  __exportStar(require("./Email"), exports);
67
+ __exportStar(require("./DelayReasonCode"), exports);
@@ -30,5 +30,6 @@ export declare namespace EncounterUpdate {
30
30
  discharge_date?: serializers.Date_.Raw | null;
31
31
  onset_of_current_illness_or_symptom_date?: serializers.Date_.Raw | null;
32
32
  last_menstrual_period_date?: serializers.Date_.Raw | null;
33
+ delay_reason_code?: serializers.DelayReasonCode.Raw | null;
33
34
  }
34
35
  }
@@ -68,4 +68,5 @@ exports.EncounterUpdate = core.serialization.object({
68
68
  dischargeDate: core.serialization.property("discharge_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
69
69
  onsetOfCurrentIllnessOrSymptomDate: core.serialization.property("onset_of_current_illness_or_symptom_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
70
70
  lastMenstrualPeriodDate: core.serialization.property("last_menstrual_period_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
71
+ delayReasonCode: core.serialization.property("delay_reason_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).DelayReasonCode).optional()),
71
72
  });
@@ -28,5 +28,6 @@ export declare namespace EncounterBase {
28
28
  discharge_date?: serializers.Date_.Raw | null;
29
29
  onset_of_current_illness_or_symptom_date?: serializers.Date_.Raw | null;
30
30
  last_menstrual_period_date?: serializers.Date_.Raw | null;
31
+ delay_reason_code?: serializers.DelayReasonCode.Raw | null;
31
32
  }
32
33
  }
@@ -60,4 +60,5 @@ exports.EncounterBase = core.serialization.object({
60
60
  dischargeDate: core.serialization.property("discharge_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
61
61
  onsetOfCurrentIllnessOrSymptomDate: core.serialization.property("onset_of_current_illness_or_symptom_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
62
62
  lastMenstrualPeriodDate: core.serialization.property("last_menstrual_period_date", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
63
+ delayReasonCode: core.serialization.property("delay_reason_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).DelayReasonCode).optional()),
63
64
  });
@@ -29,5 +29,6 @@ export declare namespace ServiceLine {
29
29
  units: serializers.ServiceLineUnits.Raw;
30
30
  claim_id: serializers.ClaimId.Raw;
31
31
  date_of_service_range: serializers.DateRangeOptionalEnd.Raw;
32
+ description?: string | null;
32
33
  }
33
34
  }
@@ -61,4 +61,5 @@ exports.ServiceLine = core.serialization.object({
61
61
  units: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineUnits),
62
62
  claimId: core.serialization.property("claim_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ClaimId)),
63
63
  dateOfServiceRange: core.serialization.property("date_of_service_range", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).DateRangeOptionalEnd)),
64
+ description: core.serialization.string().optional(),
64
65
  });
@@ -15,5 +15,6 @@ export declare namespace ServiceLineCreate {
15
15
  diagnosis_pointers: number[];
16
16
  drug_identification?: serializers.serviceLines.v2.DrugIdentification.Raw | null;
17
17
  place_of_service_code?: serializers.FacilityTypeCode.Raw | null;
18
+ description?: string | null;
18
19
  }
19
20
  }
@@ -41,4 +41,5 @@ exports.ServiceLineCreate = core.serialization.object({
41
41
  .lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).serviceLines.v2.DrugIdentification)
42
42
  .optional()),
43
43
  placeOfServiceCode: core.serialization.property("place_of_service_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).FacilityTypeCode).optional()),
44
+ description: core.serialization.string().optional(),
44
45
  });
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const TaskCategory: core.serialization.Schema<serializers.tasks.TaskCategory.Raw, CandidApi.tasks.TaskCategory>;
8
8
  export declare namespace TaskCategory {
9
- type Raw = "other" | "provider_credentialing" | "authorization_required" | "inactive_coverage" | "unknown_eligibility_or_patient_not_found" | "incorrect_member_id" | "documentation_addendum_request" | "coordination_of_benefits" | "missing_or_incorrect_gender" | "incorrect_date_of_birth" | "incorrect_payer" | "incorrect_name" | "invalid_diagnosis_code" | "non_covered_diagnosis_codes" | "information_requested_from_patient" | "incorrect_rendering_provider_info" | "missing_or_incorrect_modifier" | "coding_frequency_error" | "incorrect_patient_address" | "multiple_em_claims" | "missing_or_incorrect_charge_amount" | "medical_records_request" | "provider_enrollment_or_contracting" | "missing_or_incorrect_group_number" | "missing_diagnosis_codes" | "missing_patient_authorization" | "incorrect_billing_provider_info" | "incorrect_procedure_code" | "incorrect_quantity" | "incorrect_place_of_service_code" | "incorrect_service_facility_info" | "incorrect_date_of_service" | "missing_or_incorrect_ndc" | "patient_collections" | "submit_to_secondary" | "transient_server_error" | "missing_remittance_enrollment" | "missing_claims_enrollment" | "held_by_customer";
9
+ type Raw = "other" | "provider_credentialing" | "authorization_required" | "inactive_coverage" | "unknown_eligibility_or_patient_not_found" | "incorrect_member_id" | "documentation_addendum_request" | "coordination_of_benefits" | "missing_or_incorrect_gender" | "incorrect_date_of_birth" | "incorrect_payer" | "incorrect_name" | "invalid_diagnosis_code" | "non_covered_diagnosis_codes" | "information_requested_from_patient" | "incorrect_rendering_provider_info" | "missing_or_incorrect_modifier" | "coding_frequency_error" | "incorrect_patient_address" | "multiple_em_claims" | "missing_or_incorrect_charge_amount" | "medical_records_request" | "provider_enrollment_or_contracting" | "missing_or_incorrect_group_number" | "missing_diagnosis_codes" | "missing_patient_authorization" | "incorrect_billing_provider_info" | "incorrect_procedure_code" | "incorrect_quantity" | "incorrect_place_of_service_code" | "incorrect_service_facility_info" | "incorrect_date_of_service" | "missing_or_incorrect_ndc" | "patient_collections" | "submit_to_secondary" | "transient_server_error" | "missing_remittance_enrollment" | "missing_claims_enrollment" | "held_by_customer" | "pending_manual_remit_posting";
10
10
  }
@@ -68,4 +68,5 @@ exports.TaskCategory = core.serialization.enum_([
68
68
  "missing_remittance_enrollment",
69
69
  "missing_claims_enrollment",
70
70
  "held_by_customer",
71
+ "pending_manual_remit_posting",
71
72
  ]);