candidhealth 0.24.7 → 0.25.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.
Files changed (180) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +13 -8
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  5. package/api/resources/commons/types/AppointmentId.d.ts +8 -0
  6. package/api/resources/commons/types/AppointmentId.js +10 -0
  7. package/api/resources/commons/types/index.d.ts +1 -0
  8. package/api/resources/commons/types/index.js +1 -0
  9. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  10. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  11. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  12. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  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/financials/types/AllocationTarget.d.ts +4 -1
  19. package/api/resources/financials/types/AllocationTargetCreate.d.ts +5 -1
  20. package/api/resources/financials/types/AppointmentAllocationTarget.d.ts +7 -0
  21. package/api/resources/financials/types/AppointmentAllocationTarget.js +5 -0
  22. package/api/resources/financials/types/index.d.ts +1 -0
  23. package/api/resources/financials/types/index.js +1 -0
  24. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  25. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  26. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  27. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  28. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  29. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  30. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  31. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  32. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  33. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  34. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +6 -6
  35. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +7 -7
  36. package/api/resources/serviceFacility/client/Client.js +1 -1
  37. package/api/resources/serviceLines/client/Client.d.ts +26 -0
  38. package/api/resources/serviceLines/client/Client.js +17 -0
  39. package/api/resources/serviceLines/client/index.d.ts +1 -0
  40. package/api/resources/serviceLines/client/index.js +2 -0
  41. package/api/resources/serviceLines/index.d.ts +1 -0
  42. package/api/resources/serviceLines/index.js +1 -0
  43. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +92 -0
  44. package/api/resources/serviceLines/resources/v2/client/Client.js +238 -0
  45. package/api/resources/serviceLines/resources/v2/client/create.d.ts +28 -0
  46. package/api/resources/serviceLines/resources/v2/client/create.js +58 -0
  47. package/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  48. package/api/resources/serviceLines/resources/v2/client/index.js +28 -0
  49. package/api/resources/serviceLines/resources/v2/client/update.d.ts +40 -0
  50. package/api/resources/serviceLines/resources/v2/client/update.js +80 -0
  51. package/api/resources/serviceLines/resources/v2/index.d.ts +1 -0
  52. package/api/resources/serviceLines/resources/v2/index.js +1 -0
  53. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +36 -0
  54. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -0
  55. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +37 -0
  56. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -0
  57. package/api/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
  58. package/api/resources/serviceLines/resources/v2/types/index.js +2 -0
  59. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  60. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  61. package/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +2 -0
  62. package/dist/Client.d.ts +3 -0
  63. package/dist/Client.js +13 -8
  64. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  65. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  66. package/dist/api/resources/commons/types/AppointmentId.d.ts +8 -0
  67. package/dist/api/resources/commons/types/AppointmentId.js +10 -0
  68. package/dist/api/resources/commons/types/index.d.ts +1 -0
  69. package/dist/api/resources/commons/types/index.js +1 -0
  70. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  71. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  72. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  73. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  74. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  75. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  76. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  77. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  78. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  79. package/dist/api/resources/financials/types/AllocationTarget.d.ts +4 -1
  80. package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +5 -1
  81. package/dist/api/resources/financials/types/AppointmentAllocationTarget.d.ts +7 -0
  82. package/dist/api/resources/financials/types/AppointmentAllocationTarget.js +5 -0
  83. package/dist/api/resources/financials/types/index.d.ts +1 -0
  84. package/dist/api/resources/financials/types/index.js +1 -0
  85. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  86. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  87. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  88. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  89. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  90. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  91. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  92. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  93. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  94. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  95. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +6 -6
  96. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +7 -7
  97. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  98. package/dist/api/resources/serviceLines/client/Client.d.ts +26 -0
  99. package/dist/api/resources/serviceLines/client/Client.js +17 -0
  100. package/dist/api/resources/serviceLines/client/index.d.ts +1 -0
  101. package/dist/api/resources/serviceLines/client/index.js +2 -0
  102. package/dist/api/resources/serviceLines/index.d.ts +1 -0
  103. package/dist/api/resources/serviceLines/index.js +1 -0
  104. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +92 -0
  105. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +238 -0
  106. package/dist/api/resources/serviceLines/resources/v2/client/create.d.ts +28 -0
  107. package/dist/api/resources/serviceLines/resources/v2/client/create.js +58 -0
  108. package/dist/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  109. package/dist/api/resources/serviceLines/resources/v2/client/index.js +28 -0
  110. package/dist/api/resources/serviceLines/resources/v2/client/update.d.ts +40 -0
  111. package/dist/api/resources/serviceLines/resources/v2/client/update.js +80 -0
  112. package/dist/api/resources/serviceLines/resources/v2/index.d.ts +1 -0
  113. package/dist/api/resources/serviceLines/resources/v2/index.js +1 -0
  114. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +36 -0
  115. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -0
  116. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +37 -0
  117. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -0
  118. package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
  119. package/dist/api/resources/serviceLines/resources/v2/types/index.js +2 -0
  120. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  121. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  122. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +2 -0
  123. package/dist/serialization/resources/commons/types/AppointmentId.d.ts +10 -0
  124. package/dist/serialization/resources/commons/types/AppointmentId.js +35 -0
  125. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  126. package/dist/serialization/resources/commons/types/index.js +1 -0
  127. package/dist/serialization/resources/financials/types/AllocationTarget.d.ts +5 -1
  128. package/dist/serialization/resources/financials/types/AllocationTarget.js +2 -0
  129. package/dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts +6 -1
  130. package/dist/serialization/resources/financials/types/AllocationTargetCreate.js +4 -0
  131. package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +13 -0
  132. package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.js +34 -0
  133. package/dist/serialization/resources/financials/types/index.d.ts +1 -0
  134. package/dist/serialization/resources/financials/types/index.js +1 -0
  135. package/dist/serialization/resources/serviceLines/resources/v2/client/create.d.ts +15 -0
  136. package/dist/serialization/resources/serviceLines/resources/v2/client/create.js +61 -0
  137. package/dist/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  138. package/dist/serialization/resources/serviceLines/resources/v2/client/index.js +28 -0
  139. package/dist/serialization/resources/serviceLines/resources/v2/client/update.d.ts +25 -0
  140. package/dist/serialization/resources/serviceLines/resources/v2/client/update.js +73 -0
  141. package/dist/serialization/resources/serviceLines/resources/v2/index.d.ts +1 -0
  142. package/dist/serialization/resources/serviceLines/resources/v2/index.js +1 -0
  143. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +43 -0
  144. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +64 -0
  145. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +42 -0
  146. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +63 -0
  147. package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
  148. package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +2 -0
  149. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +4 -0
  150. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +4 -0
  151. package/package.json +1 -1
  152. package/reference.md +156 -0
  153. package/serialization/resources/commons/types/AppointmentId.d.ts +10 -0
  154. package/serialization/resources/commons/types/AppointmentId.js +35 -0
  155. package/serialization/resources/commons/types/index.d.ts +1 -0
  156. package/serialization/resources/commons/types/index.js +1 -0
  157. package/serialization/resources/financials/types/AllocationTarget.d.ts +5 -1
  158. package/serialization/resources/financials/types/AllocationTarget.js +2 -0
  159. package/serialization/resources/financials/types/AllocationTargetCreate.d.ts +6 -1
  160. package/serialization/resources/financials/types/AllocationTargetCreate.js +4 -0
  161. package/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +13 -0
  162. package/serialization/resources/financials/types/AppointmentAllocationTarget.js +34 -0
  163. package/serialization/resources/financials/types/index.d.ts +1 -0
  164. package/serialization/resources/financials/types/index.js +1 -0
  165. package/serialization/resources/serviceLines/resources/v2/client/create.d.ts +15 -0
  166. package/serialization/resources/serviceLines/resources/v2/client/create.js +61 -0
  167. package/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
  168. package/serialization/resources/serviceLines/resources/v2/client/index.js +28 -0
  169. package/serialization/resources/serviceLines/resources/v2/client/update.d.ts +25 -0
  170. package/serialization/resources/serviceLines/resources/v2/client/update.js +73 -0
  171. package/serialization/resources/serviceLines/resources/v2/index.d.ts +1 -0
  172. package/serialization/resources/serviceLines/resources/v2/index.js +1 -0
  173. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +43 -0
  174. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +64 -0
  175. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +42 -0
  176. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +63 -0
  177. package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +2 -0
  178. package/serialization/resources/serviceLines/resources/v2/types/index.js +2 -0
  179. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +4 -0
  180. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +4 -0
@@ -104,7 +104,7 @@ class V1 {
104
104
  Authorization: yield this._getAuthorizationHeader(),
105
105
  "X-Fern-Language": "JavaScript",
106
106
  "X-Fern-SDK-Name": "candidhealth",
107
- "X-Fern-SDK-Version": "0.24.7",
107
+ "X-Fern-SDK-Version": "0.25.0",
108
108
  "X-Fern-Runtime": core.RUNTIME.type,
109
109
  "X-Fern-Runtime-Version": core.RUNTIME.version,
110
110
  },
@@ -168,7 +168,7 @@ class V1 {
168
168
  Authorization: yield this._getAuthorizationHeader(),
169
169
  "X-Fern-Language": "JavaScript",
170
170
  "X-Fern-SDK-Name": "candidhealth",
171
- "X-Fern-SDK-Version": "0.24.7",
171
+ "X-Fern-SDK-Version": "0.25.0",
172
172
  "X-Fern-Runtime": core.RUNTIME.type,
173
173
  "X-Fern-Runtime-Version": core.RUNTIME.version,
174
174
  },
@@ -241,7 +241,7 @@ class V1 {
241
241
  Authorization: yield this._getAuthorizationHeader(),
242
242
  "X-Fern-Language": "JavaScript",
243
243
  "X-Fern-SDK-Name": "candidhealth",
244
- "X-Fern-SDK-Version": "0.24.7",
244
+ "X-Fern-SDK-Version": "0.25.0",
245
245
  "X-Fern-Runtime": core.RUNTIME.type,
246
246
  "X-Fern-Runtime-Version": core.RUNTIME.version,
247
247
  },
@@ -319,7 +319,7 @@ class V1 {
319
319
  Authorization: yield this._getAuthorizationHeader(),
320
320
  "X-Fern-Language": "JavaScript",
321
321
  "X-Fern-SDK-Name": "candidhealth",
322
- "X-Fern-SDK-Version": "0.24.7",
322
+ "X-Fern-SDK-Version": "0.25.0",
323
323
  "X-Fern-Runtime": core.RUNTIME.type,
324
324
  "X-Fern-Runtime-Version": core.RUNTIME.version,
325
325
  },
@@ -387,7 +387,7 @@ class V1 {
387
387
  Authorization: yield this._getAuthorizationHeader(),
388
388
  "X-Fern-Language": "JavaScript",
389
389
  "X-Fern-SDK-Name": "candidhealth",
390
- "X-Fern-SDK-Version": "0.24.7",
390
+ "X-Fern-SDK-Version": "0.25.0",
391
391
  "X-Fern-Runtime": core.RUNTIME.type,
392
392
  "X-Fern-Runtime-Version": core.RUNTIME.version,
393
393
  },
@@ -66,7 +66,7 @@ class V3 {
66
66
  Authorization: yield this._getAuthorizationHeader(),
67
67
  "X-Fern-Language": "JavaScript",
68
68
  "X-Fern-SDK-Name": "candidhealth",
69
- "X-Fern-SDK-Version": "0.24.7",
69
+ "X-Fern-SDK-Version": "0.25.0",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -156,7 +156,7 @@ class V3 {
156
156
  Authorization: yield this._getAuthorizationHeader(),
157
157
  "X-Fern-Language": "JavaScript",
158
158
  "X-Fern-SDK-Name": "candidhealth",
159
- "X-Fern-SDK-Version": "0.24.7",
159
+ "X-Fern-SDK-Version": "0.25.0",
160
160
  "X-Fern-Runtime": core.RUNTIME.type,
161
161
  "X-Fern-Runtime-Version": core.RUNTIME.version,
162
162
  },
@@ -227,7 +227,7 @@ class V3 {
227
227
  Authorization: yield this._getAuthorizationHeader(),
228
228
  "X-Fern-Language": "JavaScript",
229
229
  "X-Fern-SDK-Name": "candidhealth",
230
- "X-Fern-SDK-Version": "0.24.7",
230
+ "X-Fern-SDK-Version": "0.25.0",
231
231
  "X-Fern-Runtime": core.RUNTIME.type,
232
232
  "X-Fern-Runtime-Version": core.RUNTIME.version,
233
233
  },
@@ -318,7 +318,7 @@ class V3 {
318
318
  Authorization: yield this._getAuthorizationHeader(),
319
319
  "X-Fern-Language": "JavaScript",
320
320
  "X-Fern-SDK-Name": "candidhealth",
321
- "X-Fern-SDK-Version": "0.24.7",
321
+ "X-Fern-SDK-Version": "0.25.0",
322
322
  "X-Fern-Runtime": core.RUNTIME.type,
323
323
  "X-Fern-Runtime-Version": core.RUNTIME.version,
324
324
  },
@@ -66,7 +66,7 @@ class V2 {
66
66
  Authorization: yield this._getAuthorizationHeader(),
67
67
  "X-Fern-Language": "JavaScript",
68
68
  "X-Fern-SDK-Name": "candidhealth",
69
- "X-Fern-SDK-Version": "0.24.7",
69
+ "X-Fern-SDK-Version": "0.25.0",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -140,7 +140,7 @@ class V2 {
140
140
  Authorization: yield this._getAuthorizationHeader(),
141
141
  "X-Fern-Language": "JavaScript",
142
142
  "X-Fern-SDK-Name": "candidhealth",
143
- "X-Fern-SDK-Version": "0.24.7",
143
+ "X-Fern-SDK-Version": "0.25.0",
144
144
  "X-Fern-Runtime": core.RUNTIME.type,
145
145
  "X-Fern-Runtime-Version": core.RUNTIME.version,
146
146
  },
@@ -204,7 +204,7 @@ class V2 {
204
204
  Authorization: yield this._getAuthorizationHeader(),
205
205
  "X-Fern-Language": "JavaScript",
206
206
  "X-Fern-SDK-Name": "candidhealth",
207
- "X-Fern-SDK-Version": "0.24.7",
207
+ "X-Fern-SDK-Version": "0.25.0",
208
208
  "X-Fern-Runtime": core.RUNTIME.type,
209
209
  "X-Fern-Runtime-Version": core.RUNTIME.version,
210
210
  },
@@ -285,7 +285,7 @@ class V2 {
285
285
  Authorization: yield this._getAuthorizationHeader(),
286
286
  "X-Fern-Language": "JavaScript",
287
287
  "X-Fern-SDK-Name": "candidhealth",
288
- "X-Fern-SDK-Version": "0.24.7",
288
+ "X-Fern-SDK-Version": "0.25.0",
289
289
  "X-Fern-Runtime": core.RUNTIME.type,
290
290
  "X-Fern-Runtime-Version": core.RUNTIME.version,
291
291
  },
@@ -348,7 +348,7 @@ class V2 {
348
348
  Authorization: yield this._getAuthorizationHeader(),
349
349
  "X-Fern-Language": "JavaScript",
350
350
  "X-Fern-SDK-Name": "candidhealth",
351
- "X-Fern-SDK-Version": "0.24.7",
351
+ "X-Fern-SDK-Version": "0.25.0",
352
352
  "X-Fern-Runtime": core.RUNTIME.type,
353
353
  "X-Fern-Runtime-Version": core.RUNTIME.version,
354
354
  },
@@ -121,7 +121,7 @@ class V4 {
121
121
  Authorization: yield this._getAuthorizationHeader(),
122
122
  "X-Fern-Language": "JavaScript",
123
123
  "X-Fern-SDK-Name": "candidhealth",
124
- "X-Fern-SDK-Version": "0.24.7",
124
+ "X-Fern-SDK-Version": "0.25.0",
125
125
  "X-Fern-Runtime": core.RUNTIME.type,
126
126
  "X-Fern-Runtime-Version": core.RUNTIME.version,
127
127
  },
@@ -184,7 +184,7 @@ class V4 {
184
184
  Authorization: yield this._getAuthorizationHeader(),
185
185
  "X-Fern-Language": "JavaScript",
186
186
  "X-Fern-SDK-Name": "candidhealth",
187
- "X-Fern-SDK-Version": "0.24.7",
187
+ "X-Fern-SDK-Version": "0.25.0",
188
188
  "X-Fern-Runtime": core.RUNTIME.type,
189
189
  "X-Fern-Runtime-Version": core.RUNTIME.version,
190
190
  },
@@ -261,7 +261,7 @@ class V4 {
261
261
  Authorization: yield this._getAuthorizationHeader(),
262
262
  "X-Fern-Language": "JavaScript",
263
263
  "X-Fern-SDK-Name": "candidhealth",
264
- "X-Fern-SDK-Version": "0.24.7",
264
+ "X-Fern-SDK-Version": "0.25.0",
265
265
  "X-Fern-Runtime": core.RUNTIME.type,
266
266
  "X-Fern-Runtime-Version": core.RUNTIME.version,
267
267
  },
@@ -338,7 +338,7 @@ class V4 {
338
338
  Authorization: yield this._getAuthorizationHeader(),
339
339
  "X-Fern-Language": "JavaScript",
340
340
  "X-Fern-SDK-Name": "candidhealth",
341
- "X-Fern-SDK-Version": "0.24.7",
341
+ "X-Fern-SDK-Version": "0.25.0",
342
342
  "X-Fern-Runtime": core.RUNTIME.type,
343
343
  "X-Fern-Runtime-Version": core.RUNTIME.version,
344
344
  },
@@ -404,7 +404,7 @@ class V4 {
404
404
  Authorization: yield this._getAuthorizationHeader(),
405
405
  "X-Fern-Language": "JavaScript",
406
406
  "X-Fern-SDK-Name": "candidhealth",
407
- "X-Fern-SDK-Version": "0.24.7",
407
+ "X-Fern-SDK-Version": "0.25.0",
408
408
  "X-Fern-Runtime": core.RUNTIME.type,
409
409
  "X-Fern-Runtime-Version": core.RUNTIME.version,
410
410
  },
@@ -121,7 +121,7 @@ class V1 {
121
121
  Authorization: yield this._getAuthorizationHeader(),
122
122
  "X-Fern-Language": "JavaScript",
123
123
  "X-Fern-SDK-Name": "candidhealth",
124
- "X-Fern-SDK-Version": "0.24.7",
124
+ "X-Fern-SDK-Version": "0.25.0",
125
125
  "X-Fern-Runtime": core.RUNTIME.type,
126
126
  "X-Fern-Runtime-Version": core.RUNTIME.version,
127
127
  },
@@ -184,7 +184,7 @@ class V1 {
184
184
  Authorization: yield this._getAuthorizationHeader(),
185
185
  "X-Fern-Language": "JavaScript",
186
186
  "X-Fern-SDK-Name": "candidhealth",
187
- "X-Fern-SDK-Version": "0.24.7",
187
+ "X-Fern-SDK-Version": "0.25.0",
188
188
  "X-Fern-Runtime": core.RUNTIME.type,
189
189
  "X-Fern-Runtime-Version": core.RUNTIME.version,
190
190
  },
@@ -262,7 +262,7 @@ class V1 {
262
262
  Authorization: yield this._getAuthorizationHeader(),
263
263
  "X-Fern-Language": "JavaScript",
264
264
  "X-Fern-SDK-Name": "candidhealth",
265
- "X-Fern-SDK-Version": "0.24.7",
265
+ "X-Fern-SDK-Version": "0.25.0",
266
266
  "X-Fern-Runtime": core.RUNTIME.type,
267
267
  "X-Fern-Runtime-Version": core.RUNTIME.version,
268
268
  },
@@ -343,7 +343,7 @@ class V1 {
343
343
  Authorization: yield this._getAuthorizationHeader(),
344
344
  "X-Fern-Language": "JavaScript",
345
345
  "X-Fern-SDK-Name": "candidhealth",
346
- "X-Fern-SDK-Version": "0.24.7",
346
+ "X-Fern-SDK-Version": "0.25.0",
347
347
  "X-Fern-Runtime": core.RUNTIME.type,
348
348
  "X-Fern-Runtime-Version": core.RUNTIME.version,
349
349
  },
@@ -409,7 +409,7 @@ class V1 {
409
409
  Authorization: yield this._getAuthorizationHeader(),
410
410
  "X-Fern-Language": "JavaScript",
411
411
  "X-Fern-SDK-Name": "candidhealth",
412
- "X-Fern-SDK-Version": "0.24.7",
412
+ "X-Fern-SDK-Version": "0.25.0",
413
413
  "X-Fern-Runtime": core.RUNTIME.type,
414
414
  "X-Fern-Runtime-Version": core.RUNTIME.version,
415
415
  },
@@ -66,7 +66,7 @@ class V3 {
66
66
  Authorization: yield this._getAuthorizationHeader(),
67
67
  "X-Fern-Language": "JavaScript",
68
68
  "X-Fern-SDK-Name": "candidhealth",
69
- "X-Fern-SDK-Version": "0.24.7",
69
+ "X-Fern-SDK-Version": "0.25.0",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -126,7 +126,7 @@ class V3 {
126
126
  Authorization: yield this._getAuthorizationHeader(),
127
127
  "X-Fern-Language": "JavaScript",
128
128
  "X-Fern-SDK-Name": "candidhealth",
129
- "X-Fern-SDK-Version": "0.24.7",
129
+ "X-Fern-SDK-Version": "0.25.0",
130
130
  "X-Fern-Runtime": core.RUNTIME.type,
131
131
  "X-Fern-Runtime-Version": core.RUNTIME.version,
132
132
  },
@@ -89,7 +89,7 @@ class V1 {
89
89
  Authorization: yield this._getAuthorizationHeader(),
90
90
  "X-Fern-Language": "JavaScript",
91
91
  "X-Fern-SDK-Name": "candidhealth",
92
- "X-Fern-SDK-Version": "0.24.7",
92
+ "X-Fern-SDK-Version": "0.25.0",
93
93
  "X-Fern-Runtime": core.RUNTIME.type,
94
94
  "X-Fern-Runtime-Version": core.RUNTIME.version,
95
95
  },
@@ -162,7 +162,7 @@ class V1 {
162
162
  Authorization: yield this._getAuthorizationHeader(),
163
163
  "X-Fern-Language": "JavaScript",
164
164
  "X-Fern-SDK-Name": "candidhealth",
165
- "X-Fern-SDK-Version": "0.24.7",
165
+ "X-Fern-SDK-Version": "0.25.0",
166
166
  "X-Fern-Runtime": core.RUNTIME.type,
167
167
  "X-Fern-Runtime-Version": core.RUNTIME.version,
168
168
  },
@@ -227,7 +227,7 @@ class V1 {
227
227
  Authorization: yield this._getAuthorizationHeader(),
228
228
  "X-Fern-Language": "JavaScript",
229
229
  "X-Fern-SDK-Name": "candidhealth",
230
- "X-Fern-SDK-Version": "0.24.7",
230
+ "X-Fern-SDK-Version": "0.25.0",
231
231
  "X-Fern-Runtime": core.RUNTIME.type,
232
232
  "X-Fern-Runtime-Version": core.RUNTIME.version,
233
233
  },
@@ -274,7 +274,7 @@ class V1 {
274
274
  Authorization: yield this._getAuthorizationHeader(),
275
275
  "X-Fern-Language": "JavaScript",
276
276
  "X-Fern-SDK-Name": "candidhealth",
277
- "X-Fern-SDK-Version": "0.24.7",
277
+ "X-Fern-SDK-Version": "0.25.0",
278
278
  "X-Fern-Runtime": core.RUNTIME.type,
279
279
  "X-Fern-Runtime-Version": core.RUNTIME.version,
280
280
  },
@@ -342,7 +342,7 @@ class V1 {
342
342
  Authorization: yield this._getAuthorizationHeader(),
343
343
  "X-Fern-Language": "JavaScript",
344
344
  "X-Fern-SDK-Name": "candidhealth",
345
- "X-Fern-SDK-Version": "0.24.7",
345
+ "X-Fern-SDK-Version": "0.25.0",
346
346
  "X-Fern-Runtime": core.RUNTIME.type,
347
347
  "X-Fern-Runtime-Version": core.RUNTIME.version,
348
348
  },
@@ -395,7 +395,7 @@ class V1 {
395
395
  Authorization: yield this._getAuthorizationHeader(),
396
396
  "X-Fern-Language": "JavaScript",
397
397
  "X-Fern-SDK-Name": "candidhealth",
398
- "X-Fern-SDK-Version": "0.24.7",
398
+ "X-Fern-SDK-Version": "0.25.0",
399
399
  "X-Fern-Runtime": core.RUNTIME.type,
400
400
  "X-Fern-Runtime-Version": core.RUNTIME.version,
401
401
  },
@@ -105,7 +105,7 @@ class V1 {
105
105
  Authorization: yield this._getAuthorizationHeader(),
106
106
  "X-Fern-Language": "JavaScript",
107
107
  "X-Fern-SDK-Name": "candidhealth",
108
- "X-Fern-SDK-Version": "0.24.7",
108
+ "X-Fern-SDK-Version": "0.25.0",
109
109
  "X-Fern-Runtime": core.RUNTIME.type,
110
110
  "X-Fern-Runtime-Version": core.RUNTIME.version,
111
111
  },
@@ -169,7 +169,7 @@ class V1 {
169
169
  Authorization: yield this._getAuthorizationHeader(),
170
170
  "X-Fern-Language": "JavaScript",
171
171
  "X-Fern-SDK-Name": "candidhealth",
172
- "X-Fern-SDK-Version": "0.24.7",
172
+ "X-Fern-SDK-Version": "0.25.0",
173
173
  "X-Fern-Runtime": core.RUNTIME.type,
174
174
  "X-Fern-Runtime-Version": core.RUNTIME.version,
175
175
  },
@@ -230,7 +230,7 @@ class V1 {
230
230
  Authorization: yield this._getAuthorizationHeader(),
231
231
  "X-Fern-Language": "JavaScript",
232
232
  "X-Fern-SDK-Name": "candidhealth",
233
- "X-Fern-SDK-Version": "0.24.7",
233
+ "X-Fern-SDK-Version": "0.25.0",
234
234
  "X-Fern-Runtime": core.RUNTIME.type,
235
235
  "X-Fern-Runtime-Version": core.RUNTIME.version,
236
236
  },
@@ -330,7 +330,7 @@ class V1 {
330
330
  Authorization: yield this._getAuthorizationHeader(),
331
331
  "X-Fern-Language": "JavaScript",
332
332
  "X-Fern-SDK-Name": "candidhealth",
333
- "X-Fern-SDK-Version": "0.24.7",
333
+ "X-Fern-SDK-Version": "0.25.0",
334
334
  "X-Fern-Runtime": core.RUNTIME.type,
335
335
  "X-Fern-Runtime-Version": core.RUNTIME.version,
336
336
  },
@@ -396,7 +396,7 @@ class V1 {
396
396
  Authorization: yield this._getAuthorizationHeader(),
397
397
  "X-Fern-Language": "JavaScript",
398
398
  "X-Fern-SDK-Name": "candidhealth",
399
- "X-Fern-SDK-Version": "0.24.7",
399
+ "X-Fern-SDK-Version": "0.25.0",
400
400
  "X-Fern-Runtime": core.RUNTIME.type,
401
401
  "X-Fern-Runtime-Version": core.RUNTIME.version,
402
402
  },
@@ -460,7 +460,7 @@ class V1 {
460
460
  Authorization: yield this._getAuthorizationHeader(),
461
461
  "X-Fern-Language": "JavaScript",
462
462
  "X-Fern-SDK-Name": "candidhealth",
463
- "X-Fern-SDK-Version": "0.24.7",
463
+ "X-Fern-SDK-Version": "0.25.0",
464
464
  "X-Fern-Runtime": core.RUNTIME.type,
465
465
  "X-Fern-Runtime-Version": core.RUNTIME.version,
466
466
  },
@@ -513,7 +513,7 @@ class V1 {
513
513
  Authorization: yield this._getAuthorizationHeader(),
514
514
  "X-Fern-Language": "JavaScript",
515
515
  "X-Fern-SDK-Name": "candidhealth",
516
- "X-Fern-SDK-Version": "0.24.7",
516
+ "X-Fern-SDK-Version": "0.25.0",
517
517
  "X-Fern-Runtime": core.RUNTIME.type,
518
518
  "X-Fern-Runtime-Version": core.RUNTIME.version,
519
519
  },
@@ -78,7 +78,7 @@ class ServiceFacility {
78
78
  Authorization: yield this._getAuthorizationHeader(),
79
79
  "X-Fern-Language": "JavaScript",
80
80
  "X-Fern-SDK-Name": "candidhealth",
81
- "X-Fern-SDK-Version": "0.24.7",
81
+ "X-Fern-SDK-Version": "0.25.0",
82
82
  "X-Fern-Runtime": core.RUNTIME.type,
83
83
  "X-Fern-Runtime-Version": core.RUNTIME.version,
84
84
  },
@@ -0,0 +1,26 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../environments";
5
+ import * as core from "../../../../core";
6
+ import { V2 } from "../resources/v2/client/Client";
7
+ export declare namespace ServiceLines {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
10
+ token?: core.Supplier<core.BearerToken | undefined>;
11
+ }
12
+ interface RequestOptions {
13
+ /** The maximum time to wait for a response in seconds. */
14
+ timeoutInSeconds?: number;
15
+ /** The number of times to retry the request. Defaults to 2. */
16
+ maxRetries?: number;
17
+ /** A hook to abort the request. */
18
+ abortSignal?: AbortSignal;
19
+ }
20
+ }
21
+ export declare class ServiceLines {
22
+ protected readonly _options: ServiceLines.Options;
23
+ constructor(_options?: ServiceLines.Options);
24
+ protected _v2: V2 | undefined;
25
+ get v2(): V2;
26
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ServiceLines = void 0;
7
+ const Client_1 = require("../resources/v2/client/Client");
8
+ class ServiceLines {
9
+ constructor(_options = {}) {
10
+ this._options = _options;
11
+ }
12
+ get v2() {
13
+ var _a;
14
+ return ((_a = this._v2) !== null && _a !== void 0 ? _a : (this._v2 = new Client_1.V2(this._options)));
15
+ }
16
+ }
17
+ exports.ServiceLines = ServiceLines;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
1
  export * from "./resources";
2
+ export * from "./client";
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./resources"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,92 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../environments";
5
+ import * as core from "../../../../../../core";
6
+ import * as CandidApi from "../../../../../index";
7
+ export declare namespace V2 {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
10
+ token?: core.Supplier<core.BearerToken | undefined>;
11
+ }
12
+ interface RequestOptions {
13
+ /** The maximum time to wait for a response in seconds. */
14
+ timeoutInSeconds?: number;
15
+ /** The number of times to retry the request. Defaults to 2. */
16
+ maxRetries?: number;
17
+ /** A hook to abort the request. */
18
+ abortSignal?: AbortSignal;
19
+ }
20
+ }
21
+ export declare class V2 {
22
+ protected readonly _options: V2.Options;
23
+ constructor(_options?: V2.Options);
24
+ /**
25
+ * @param {CandidApi.serviceLines.v2.ServiceLineCreateStandalone} request
26
+ * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
27
+ *
28
+ * @example
29
+ * await client.serviceLines.v2.create({
30
+ * modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
31
+ * chargeAmountCents: 1,
32
+ * allowedAmountCents: 1,
33
+ * insuranceBalanceCents: 1,
34
+ * patientBalanceCents: 1,
35
+ * primaryPaidAmountCents: 1,
36
+ * secondaryPaidAmountCents: 1,
37
+ * tertiaryPaidAmountCents: 1,
38
+ * patientResponsibilityCents: 1,
39
+ * diagnosisIdZero: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
40
+ * diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
41
+ * diagnosisIdTwo: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
42
+ * diagnosisIdThree: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
43
+ * serviceLineManualAdjustments: [{}],
44
+ * denialReason: {},
45
+ * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
46
+ * placeOfServiceCodeAsSubmitted: CandidApi.FacilityTypeCode.Pharmacy,
47
+ * procedureCode: "string",
48
+ * quantity: CandidApi.Decimal("string"),
49
+ * units: CandidApi.ServiceLineUnits.Mj,
50
+ * claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
51
+ * description: "string",
52
+ * dateOfService: "2023-01-15",
53
+ * endDateOfService: "2023-01-15"
54
+ * })
55
+ */
56
+ create(request: CandidApi.serviceLines.v2.ServiceLineCreateStandalone, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.serviceLines.v2.ServiceLine, CandidApi.serviceLines.v2.create.Error>>;
57
+ /**
58
+ * @param {CandidApi.ServiceLineId} serviceLineId
59
+ * @param {CandidApi.serviceLines.v2.ServiceLineUpdate} request
60
+ * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
61
+ *
62
+ * @example
63
+ * await client.serviceLines.v2.update(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
64
+ * editReason: "string",
65
+ * modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
66
+ * chargeAmountCents: 1,
67
+ * allowedAmountCents: 1,
68
+ * insuranceBalanceCents: 1,
69
+ * patientBalanceCents: 1,
70
+ * primaryPaidAmountCents: 1,
71
+ * secondaryPaidAmountCents: 1,
72
+ * tertiaryPaidAmountCents: 1,
73
+ * patientResponsibilityCents: 1,
74
+ * diagnosisIdZero: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
75
+ * diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
76
+ * diagnosisIdTwo: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
77
+ * diagnosisIdThree: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
78
+ * serviceLineManualAdjustments: [{}],
79
+ * denialReason: {},
80
+ * placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
81
+ * placeOfServiceCodeAsSubmitted: CandidApi.FacilityTypeCode.Pharmacy,
82
+ * units: CandidApi.ServiceLineUnits.Mj,
83
+ * procedureCode: "string",
84
+ * quantity: CandidApi.Decimal("string"),
85
+ * description: "string",
86
+ * dateOfService: "2023-01-15",
87
+ * endDateOfService: "2023-01-15"
88
+ * })
89
+ */
90
+ update(serviceLineId: CandidApi.ServiceLineId, request: CandidApi.serviceLines.v2.ServiceLineUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.serviceLines.v2.ServiceLine, CandidApi.serviceLines.v2.update.Error>>;
91
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
92
+ }