candidhealth 0.14.0 → 0.14.2

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 (177) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  3. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  4. package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  5. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  6. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
  7. package/api/resources/eraCommons/index.d.ts +1 -0
  8. package/api/resources/eraCommons/index.js +17 -0
  9. package/api/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +18 -0
  10. package/api/resources/eraCommons/types/ClaimStatusCodeCreate.js +17 -0
  11. package/api/resources/eraCommons/types/index.d.ts +1 -0
  12. package/api/resources/eraCommons/types/index.js +17 -0
  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/financials/types/index.d.ts +0 -1
  17. package/api/resources/financials/types/index.js +0 -1
  18. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  19. package/api/resources/index.d.ts +2 -0
  20. package/api/resources/index.js +3 -1
  21. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  22. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  23. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +1 -1
  24. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +6 -6
  25. package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -3
  26. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  27. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  28. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  29. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +0 -1
  30. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  31. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +0 -1
  32. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  33. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  34. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  35. package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +3 -1
  36. package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +1 -1
  37. package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +21 -0
  38. package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +23 -0
  39. package/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +3 -1
  40. package/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +1 -1
  41. package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +15 -0
  42. package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +17 -0
  43. package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +1 -2
  44. package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +0 -1
  45. package/api/resources/writeOffs/resources/v1/types/index.d.ts +2 -1
  46. package/api/resources/writeOffs/resources/v1/types/index.js +2 -1
  47. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  48. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  49. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  50. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  51. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  52. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
  53. package/dist/api/resources/eraCommons/index.d.ts +1 -0
  54. package/dist/api/resources/eraCommons/index.js +17 -0
  55. package/dist/api/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +18 -0
  56. package/dist/api/resources/eraCommons/types/ClaimStatusCodeCreate.js +17 -0
  57. package/dist/api/resources/eraCommons/types/index.d.ts +1 -0
  58. package/dist/api/resources/eraCommons/types/index.js +17 -0
  59. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  60. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  61. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  62. package/dist/api/resources/financials/types/index.d.ts +0 -1
  63. package/dist/api/resources/financials/types/index.js +0 -1
  64. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  65. package/dist/api/resources/index.d.ts +2 -0
  66. package/dist/api/resources/index.js +3 -1
  67. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  68. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  69. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +1 -1
  70. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +6 -6
  71. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -3
  72. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  73. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  74. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  75. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +0 -1
  76. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  77. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +0 -1
  78. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  79. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  80. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  81. package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +3 -1
  82. package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +1 -1
  83. package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +21 -0
  84. package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +23 -0
  85. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +3 -1
  86. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +1 -1
  87. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +15 -0
  88. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +17 -0
  89. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +1 -2
  90. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +0 -1
  91. package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +2 -1
  92. package/dist/api/resources/writeOffs/resources/v1/types/index.js +2 -1
  93. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  94. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  95. package/dist/serialization/resources/eraCommons/index.d.ts +1 -0
  96. package/dist/serialization/resources/eraCommons/index.js +17 -0
  97. package/dist/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +10 -0
  98. package/dist/serialization/resources/{writeOffs/resources/v1/types/WriteOffReason.js → eraCommons/types/ClaimStatusCodeCreate.js} +3 -3
  99. package/dist/serialization/resources/eraCommons/types/index.d.ts +1 -0
  100. package/dist/serialization/resources/eraCommons/types/index.js +17 -0
  101. package/dist/serialization/resources/financials/types/index.d.ts +0 -1
  102. package/dist/serialization/resources/financials/types/index.js +0 -1
  103. package/dist/serialization/resources/index.d.ts +2 -0
  104. package/dist/serialization/resources/index.js +3 -1
  105. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  106. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -0
  107. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -3
  108. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +1 -5
  109. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +0 -1
  110. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +0 -3
  111. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +0 -1
  112. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +0 -3
  113. package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +3 -1
  114. package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +3 -1
  115. package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +1 -1
  116. package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +1 -1
  117. package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +10 -0
  118. package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +47 -0
  119. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +3 -1
  120. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +3 -1
  121. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +1 -1
  122. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +1 -1
  123. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +10 -0
  124. package/dist/serialization/resources/{financials/types/AllocationAmountUpdate.js → writeOffs/resources/v1/types/PatientWriteOffReason.js} +13 -6
  125. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +1 -1
  126. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js +1 -1
  127. package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +2 -1
  128. package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +2 -1
  129. package/package.json +1 -1
  130. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  131. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  132. package/serialization/resources/eraCommons/index.d.ts +1 -0
  133. package/serialization/resources/eraCommons/index.js +17 -0
  134. package/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +10 -0
  135. package/serialization/resources/{writeOffs/resources/v1/types/WriteOffReason.js → eraCommons/types/ClaimStatusCodeCreate.js} +3 -3
  136. package/serialization/resources/eraCommons/types/index.d.ts +1 -0
  137. package/serialization/resources/eraCommons/types/index.js +17 -0
  138. package/serialization/resources/financials/types/index.d.ts +0 -1
  139. package/serialization/resources/financials/types/index.js +0 -1
  140. package/serialization/resources/index.d.ts +2 -0
  141. package/serialization/resources/index.js +3 -1
  142. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  143. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -0
  144. package/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -3
  145. package/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +1 -5
  146. package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +0 -1
  147. package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +0 -3
  148. package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +0 -1
  149. package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +0 -3
  150. package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.d.ts +3 -1
  151. package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOff.js +3 -1
  152. package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.d.ts +1 -1
  153. package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffCreate.js +1 -1
  154. package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +10 -0
  155. package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +47 -0
  156. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.d.ts +3 -1
  157. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOff.js +3 -1
  158. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.d.ts +1 -1
  159. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffCreate.js +1 -1
  160. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +10 -0
  161. package/serialization/resources/{financials/types/AllocationAmountUpdate.js → writeOffs/resources/v1/types/PatientWriteOffReason.js} +13 -6
  162. package/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +1 -1
  163. package/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js +1 -1
  164. package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +2 -1
  165. package/serialization/resources/writeOffs/resources/v1/types/index.js +2 -1
  166. package/api/resources/financials/types/AllocationAmountUpdate.d.ts +0 -8
  167. package/api/resources/financials/types/AllocationAmountUpdate.js +0 -5
  168. package/api/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +0 -10
  169. package/api/resources/writeOffs/resources/v1/types/WriteOffReason.js +0 -12
  170. package/dist/api/resources/financials/types/AllocationAmountUpdate.d.ts +0 -8
  171. package/dist/api/resources/financials/types/AllocationAmountUpdate.js +0 -5
  172. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +0 -10
  173. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffReason.js +0 -12
  174. package/dist/serialization/resources/financials/types/AllocationAmountUpdate.d.ts +0 -13
  175. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +0 -10
  176. package/serialization/resources/financials/types/AllocationAmountUpdate.d.ts +0 -13
  177. package/serialization/resources/writeOffs/resources/v1/types/WriteOffReason.d.ts +0 -10
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../..";
5
5
  export interface ClaimAdjudicationCreate {
6
+ claimStatusCode: CandidApi.ClaimStatusCodeCreate;
6
7
  insurancePaidAmountCents?: number;
7
8
  chargeAmountCents?: number;
8
9
  serviceLines: Record<CandidApi.ServiceLineId, CandidApi.insuranceAdjudications.v1.ServiceLineAdjudicationCreate[]>;
@@ -37,7 +37,7 @@ export declare class V1 {
37
37
  * then the allocations must be appropriately updated as well.
38
38
  *
39
39
  */
40
- update(insuranceRefundId: CandidApi.insuranceRefunds.v1.InsuranceRefundId, request: CandidApi.insuranceRefunds.v1.InsuranceRefundUpdate): Promise<core.APIResponse<CandidApi.insuranceRefunds.v1.InsuranceRefund, CandidApi.insuranceRefunds.v1.update.Error>>;
40
+ update(insuranceRefundId: CandidApi.insuranceRefunds.v1.InsuranceRefundId, request?: CandidApi.insuranceRefunds.v1.InsuranceRefundUpdate): Promise<core.APIResponse<CandidApi.insuranceRefunds.v1.InsuranceRefund, CandidApi.insuranceRefunds.v1.update.Error>>;
41
41
  /**
42
42
  * Deletes the insurance refund record matching the provided `insurance_refund_id`.
43
43
  * If the matching record's organization_id does not match the authenticated user's
@@ -80,7 +80,7 @@ class V1 {
80
80
  Authorization: await this._getAuthorizationHeader(),
81
81
  "X-Fern-Language": "JavaScript",
82
82
  "X-Fern-SDK-Name": "candidhealth",
83
- "X-Fern-SDK-Version": "0.14.0",
83
+ "X-Fern-SDK-Version": "0.14.2",
84
84
  },
85
85
  contentType: "application/json",
86
86
  queryParameters: _queryParams,
@@ -115,7 +115,7 @@ class V1 {
115
115
  Authorization: await this._getAuthorizationHeader(),
116
116
  "X-Fern-Language": "JavaScript",
117
117
  "X-Fern-SDK-Name": "candidhealth",
118
- "X-Fern-SDK-Version": "0.14.0",
118
+ "X-Fern-SDK-Version": "0.14.2",
119
119
  },
120
120
  contentType: "application/json",
121
121
  timeoutMs: 60000,
@@ -150,7 +150,7 @@ class V1 {
150
150
  Authorization: await this._getAuthorizationHeader(),
151
151
  "X-Fern-Language": "JavaScript",
152
152
  "X-Fern-SDK-Name": "candidhealth",
153
- "X-Fern-SDK-Version": "0.14.0",
153
+ "X-Fern-SDK-Version": "0.14.2",
154
154
  },
155
155
  contentType: "application/json",
156
156
  body: await serializers.insuranceRefunds.v1.InsuranceRefundCreate.jsonOrThrow(request, {
@@ -179,7 +179,7 @@ class V1 {
179
179
  * then the allocations must be appropriately updated as well.
180
180
  *
181
181
  */
182
- async update(insuranceRefundId, request) {
182
+ async update(insuranceRefundId, request = {}) {
183
183
  const _response = await core.fetcher({
184
184
  url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, `/api/insurance-refunds/v1/${await serializers.insuranceRefunds.v1.InsuranceRefundId.jsonOrThrow(insuranceRefundId)}`),
185
185
  method: "PATCH",
@@ -187,7 +187,7 @@ class V1 {
187
187
  Authorization: await this._getAuthorizationHeader(),
188
188
  "X-Fern-Language": "JavaScript",
189
189
  "X-Fern-SDK-Name": "candidhealth",
190
- "X-Fern-SDK-Version": "0.14.0",
190
+ "X-Fern-SDK-Version": "0.14.2",
191
191
  },
192
192
  contentType: "application/json",
193
193
  body: await serializers.insuranceRefunds.v1.InsuranceRefundUpdate.jsonOrThrow(request, {
@@ -225,7 +225,7 @@ class V1 {
225
225
  Authorization: await this._getAuthorizationHeader(),
226
226
  "X-Fern-Language": "JavaScript",
227
227
  "X-Fern-SDK-Name": "candidhealth",
228
- "X-Fern-SDK-Version": "0.14.0",
228
+ "X-Fern-SDK-Version": "0.14.2",
229
229
  },
230
230
  contentType: "application/json",
231
231
  timeoutMs: 60000,
@@ -5,8 +5,6 @@ import * as CandidApi from "../../../../../..";
5
5
  export interface InsuranceRefundUpdate {
6
6
  refundTimestamp?: Date;
7
7
  refundNote?: CandidApi.NoteUpdate;
8
- payerIdentifier: CandidApi.payers.v3.PayerIdentifier;
9
- allocations?: CandidApi.AllocationAmountUpdate;
10
- invoice?: CandidApi.InvoiceUpdate;
8
+ payerIdentifier?: CandidApi.payers.v3.PayerIdentifier;
11
9
  refundReason?: CandidApi.RefundReasonUpdate;
12
10
  }
@@ -49,7 +49,7 @@ class V3 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.14.0",
52
+ "X-Fern-SDK-Version": "0.14.2",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -115,7 +115,7 @@ class V3 {
115
115
  Authorization: await this._getAuthorizationHeader(),
116
116
  "X-Fern-Language": "JavaScript",
117
117
  "X-Fern-SDK-Name": "candidhealth",
118
- "X-Fern-SDK-Version": "0.14.0",
118
+ "X-Fern-SDK-Version": "0.14.2",
119
119
  },
120
120
  contentType: "application/json",
121
121
  queryParameters: _queryParams,
@@ -145,7 +145,7 @@ class V3 {
145
145
  Authorization: await this._getAuthorizationHeader(),
146
146
  "X-Fern-Language": "JavaScript",
147
147
  "X-Fern-SDK-Name": "candidhealth",
148
- "X-Fern-SDK-Version": "0.14.0",
148
+ "X-Fern-SDK-Version": "0.14.2",
149
149
  },
150
150
  contentType: "application/json",
151
151
  body: await serializers.organizationProviders.v3.OrganizationProviderCreateV2.jsonOrThrow(request, {
@@ -192,7 +192,7 @@ class V3 {
192
192
  Authorization: await this._getAuthorizationHeader(),
193
193
  "X-Fern-Language": "JavaScript",
194
194
  "X-Fern-SDK-Name": "candidhealth",
195
- "X-Fern-SDK-Version": "0.14.0",
195
+ "X-Fern-SDK-Version": "0.14.2",
196
196
  },
197
197
  contentType: "application/json",
198
198
  body: await serializers.organizationProviders.v3.OrganizationProviderUpdateV2.jsonOrThrow(request, {
@@ -49,7 +49,7 @@ class V2 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.14.0",
52
+ "X-Fern-SDK-Version": "0.14.2",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -103,7 +103,7 @@ class V2 {
103
103
  Authorization: await this._getAuthorizationHeader(),
104
104
  "X-Fern-Language": "JavaScript",
105
105
  "X-Fern-SDK-Name": "candidhealth",
106
- "X-Fern-SDK-Version": "0.14.0",
106
+ "X-Fern-SDK-Version": "0.14.2",
107
107
  },
108
108
  contentType: "application/json",
109
109
  queryParameters: _queryParams,
@@ -133,7 +133,7 @@ class V2 {
133
133
  Authorization: await this._getAuthorizationHeader(),
134
134
  "X-Fern-Language": "JavaScript",
135
135
  "X-Fern-SDK-Name": "candidhealth",
136
- "X-Fern-SDK-Version": "0.14.0",
136
+ "X-Fern-SDK-Version": "0.14.2",
137
137
  },
138
138
  contentType: "application/json",
139
139
  body: await serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -177,7 +177,7 @@ class V2 {
177
177
  Authorization: await this._getAuthorizationHeader(),
178
178
  "X-Fern-Language": "JavaScript",
179
179
  "X-Fern-SDK-Name": "candidhealth",
180
- "X-Fern-SDK-Version": "0.14.0",
180
+ "X-Fern-SDK-Version": "0.14.2",
181
181
  },
182
182
  contentType: "application/json",
183
183
  body: await serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -222,7 +222,7 @@ class V2 {
222
222
  Authorization: await this._getAuthorizationHeader(),
223
223
  "X-Fern-Language": "JavaScript",
224
224
  "X-Fern-SDK-Name": "candidhealth",
225
- "X-Fern-SDK-Version": "0.14.0",
225
+ "X-Fern-SDK-Version": "0.14.2",
226
226
  },
227
227
  contentType: "application/json",
228
228
  timeoutMs: 60000,
@@ -93,7 +93,7 @@ class V4 {
93
93
  Authorization: await this._getAuthorizationHeader(),
94
94
  "X-Fern-Language": "JavaScript",
95
95
  "X-Fern-SDK-Name": "candidhealth",
96
- "X-Fern-SDK-Version": "0.14.0",
96
+ "X-Fern-SDK-Version": "0.14.2",
97
97
  },
98
98
  contentType: "application/json",
99
99
  queryParameters: _queryParams,
@@ -127,7 +127,7 @@ class V4 {
127
127
  Authorization: await this._getAuthorizationHeader(),
128
128
  "X-Fern-Language": "JavaScript",
129
129
  "X-Fern-SDK-Name": "candidhealth",
130
- "X-Fern-SDK-Version": "0.14.0",
130
+ "X-Fern-SDK-Version": "0.14.2",
131
131
  },
132
132
  contentType: "application/json",
133
133
  timeoutMs: 60000,
@@ -162,7 +162,7 @@ class V4 {
162
162
  Authorization: await this._getAuthorizationHeader(),
163
163
  "X-Fern-Language": "JavaScript",
164
164
  "X-Fern-SDK-Name": "candidhealth",
165
- "X-Fern-SDK-Version": "0.14.0",
165
+ "X-Fern-SDK-Version": "0.14.2",
166
166
  },
167
167
  contentType: "application/json",
168
168
  body: await serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
@@ -198,7 +198,7 @@ class V4 {
198
198
  Authorization: await this._getAuthorizationHeader(),
199
199
  "X-Fern-Language": "JavaScript",
200
200
  "X-Fern-SDK-Name": "candidhealth",
201
- "X-Fern-SDK-Version": "0.14.0",
201
+ "X-Fern-SDK-Version": "0.14.2",
202
202
  },
203
203
  contentType: "application/json",
204
204
  body: await serializers.patientPayments.v4.PatientPaymentUpdate.jsonOrThrow(request, {
@@ -234,7 +234,7 @@ class V4 {
234
234
  Authorization: await this._getAuthorizationHeader(),
235
235
  "X-Fern-Language": "JavaScript",
236
236
  "X-Fern-SDK-Name": "candidhealth",
237
- "X-Fern-SDK-Version": "0.14.0",
237
+ "X-Fern-SDK-Version": "0.14.2",
238
238
  },
239
239
  contentType: "application/json",
240
240
  timeoutMs: 60000,
@@ -6,6 +6,5 @@ export interface PatientPaymentUpdate {
6
6
  paymentTimestamp?: Date;
7
7
  paymentNote?: CandidApi.NoteUpdate;
8
8
  patientExternalId?: CandidApi.PatientExternalId;
9
- allocations?: CandidApi.AllocationAmountUpdate;
10
9
  invoice?: CandidApi.InvoiceUpdate;
11
10
  }
@@ -93,7 +93,7 @@ class V1 {
93
93
  Authorization: await this._getAuthorizationHeader(),
94
94
  "X-Fern-Language": "JavaScript",
95
95
  "X-Fern-SDK-Name": "candidhealth",
96
- "X-Fern-SDK-Version": "0.14.0",
96
+ "X-Fern-SDK-Version": "0.14.2",
97
97
  },
98
98
  contentType: "application/json",
99
99
  queryParameters: _queryParams,
@@ -127,7 +127,7 @@ class V1 {
127
127
  Authorization: await this._getAuthorizationHeader(),
128
128
  "X-Fern-Language": "JavaScript",
129
129
  "X-Fern-SDK-Name": "candidhealth",
130
- "X-Fern-SDK-Version": "0.14.0",
130
+ "X-Fern-SDK-Version": "0.14.2",
131
131
  },
132
132
  contentType: "application/json",
133
133
  timeoutMs: 60000,
@@ -162,7 +162,7 @@ class V1 {
162
162
  Authorization: await this._getAuthorizationHeader(),
163
163
  "X-Fern-Language": "JavaScript",
164
164
  "X-Fern-SDK-Name": "candidhealth",
165
- "X-Fern-SDK-Version": "0.14.0",
165
+ "X-Fern-SDK-Version": "0.14.2",
166
166
  },
167
167
  contentType: "application/json",
168
168
  body: await serializers.patientRefunds.v1.PatientRefundCreate.jsonOrThrow(request, {
@@ -198,7 +198,7 @@ class V1 {
198
198
  Authorization: await this._getAuthorizationHeader(),
199
199
  "X-Fern-Language": "JavaScript",
200
200
  "X-Fern-SDK-Name": "candidhealth",
201
- "X-Fern-SDK-Version": "0.14.0",
201
+ "X-Fern-SDK-Version": "0.14.2",
202
202
  },
203
203
  contentType: "application/json",
204
204
  body: await serializers.patientRefunds.v1.PatientRefundUpdate.jsonOrThrow(request, {
@@ -234,7 +234,7 @@ class V1 {
234
234
  Authorization: await this._getAuthorizationHeader(),
235
235
  "X-Fern-Language": "JavaScript",
236
236
  "X-Fern-SDK-Name": "candidhealth",
237
- "X-Fern-SDK-Version": "0.14.0",
237
+ "X-Fern-SDK-Version": "0.14.2",
238
238
  },
239
239
  contentType: "application/json",
240
240
  timeoutMs: 60000,
@@ -6,7 +6,6 @@ export interface PatientRefundUpdate {
6
6
  refundTimestamp?: Date;
7
7
  refundNote?: CandidApi.NoteUpdate;
8
8
  patientExternalId?: CandidApi.PatientExternalId;
9
- allocations?: CandidApi.AllocationAmountUpdate;
10
9
  invoice?: CandidApi.InvoiceUpdate;
11
10
  refundReason?: CandidApi.RefundReasonUpdate;
12
11
  }
@@ -49,7 +49,7 @@ class V3 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.14.0",
52
+ "X-Fern-SDK-Version": "0.14.2",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -89,7 +89,7 @@ class V3 {
89
89
  Authorization: await this._getAuthorizationHeader(),
90
90
  "X-Fern-Language": "JavaScript",
91
91
  "X-Fern-SDK-Name": "candidhealth",
92
- "X-Fern-SDK-Version": "0.14.0",
92
+ "X-Fern-SDK-Version": "0.14.2",
93
93
  },
94
94
  contentType: "application/json",
95
95
  queryParameters: _queryParams,
@@ -49,7 +49,7 @@ class V3 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.14.0",
52
+ "X-Fern-SDK-Version": "0.14.2",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -119,7 +119,7 @@ class V3 {
119
119
  Authorization: await this._getAuthorizationHeader(),
120
120
  "X-Fern-Language": "JavaScript",
121
121
  "X-Fern-SDK-Name": "candidhealth",
122
- "X-Fern-SDK-Version": "0.14.0",
122
+ "X-Fern-SDK-Version": "0.14.2",
123
123
  },
124
124
  contentType: "application/json",
125
125
  queryParameters: _queryParams,
@@ -163,7 +163,7 @@ class V3 {
163
163
  Authorization: await this._getAuthorizationHeader(),
164
164
  "X-Fern-Language": "JavaScript",
165
165
  "X-Fern-SDK-Name": "candidhealth",
166
- "X-Fern-SDK-Version": "0.14.0",
166
+ "X-Fern-SDK-Version": "0.14.2",
167
167
  },
168
168
  contentType: "application/json",
169
169
  timeoutMs: 60000,
@@ -207,7 +207,7 @@ class V3 {
207
207
  Authorization: await this._getAuthorizationHeader(),
208
208
  "X-Fern-Language": "JavaScript",
209
209
  "X-Fern-SDK-Name": "candidhealth",
210
- "X-Fern-SDK-Version": "0.14.0",
210
+ "X-Fern-SDK-Version": "0.14.2",
211
211
  },
212
212
  contentType: "application/json",
213
213
  body: await serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -237,7 +237,7 @@ class V3 {
237
237
  Authorization: await this._getAuthorizationHeader(),
238
238
  "X-Fern-Language": "JavaScript",
239
239
  "X-Fern-SDK-Name": "candidhealth",
240
- "X-Fern-SDK-Version": "0.14.0",
240
+ "X-Fern-SDK-Version": "0.14.2",
241
241
  },
242
242
  contentType: "application/json",
243
243
  body: await serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -92,7 +92,7 @@ class V1 {
92
92
  Authorization: await this._getAuthorizationHeader(),
93
93
  "X-Fern-Language": "JavaScript",
94
94
  "X-Fern-SDK-Name": "candidhealth",
95
- "X-Fern-SDK-Version": "0.14.0",
95
+ "X-Fern-SDK-Version": "0.14.2",
96
96
  },
97
97
  contentType: "application/json",
98
98
  queryParameters: _queryParams,
@@ -126,7 +126,7 @@ class V1 {
126
126
  Authorization: await this._getAuthorizationHeader(),
127
127
  "X-Fern-Language": "JavaScript",
128
128
  "X-Fern-SDK-Name": "candidhealth",
129
- "X-Fern-SDK-Version": "0.14.0",
129
+ "X-Fern-SDK-Version": "0.14.2",
130
130
  },
131
131
  contentType: "application/json",
132
132
  timeoutMs: 60000,
@@ -161,7 +161,7 @@ class V1 {
161
161
  Authorization: await this._getAuthorizationHeader(),
162
162
  "X-Fern-Language": "JavaScript",
163
163
  "X-Fern-SDK-Name": "candidhealth",
164
- "X-Fern-SDK-Version": "0.14.0",
164
+ "X-Fern-SDK-Version": "0.14.2",
165
165
  },
166
166
  contentType: "application/json",
167
167
  body: await serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
@@ -197,7 +197,7 @@ class V1 {
197
197
  Authorization: await this._getAuthorizationHeader(),
198
198
  "X-Fern-Language": "JavaScript",
199
199
  "X-Fern-SDK-Name": "candidhealth",
200
- "X-Fern-SDK-Version": "0.14.0",
200
+ "X-Fern-SDK-Version": "0.14.2",
201
201
  },
202
202
  contentType: "application/json",
203
203
  timeoutMs: 60000,
@@ -8,6 +8,8 @@ export interface InsuranceWriteOff {
8
8
  writeOffTarget: CandidApi.writeOffs.v1.InsuranceWriteOffTarget;
9
9
  writeOffTimestamp: Date;
10
10
  writeOffNote?: string;
11
- writeOffReason: CandidApi.writeOffs.v1.WriteOffReason;
11
+ writeOffReason: CandidApi.writeOffs.v1.InsuranceWriteOffReason;
12
+ revertsWriteOffId?: CandidApi.writeOffs.v1.WriteOffId;
13
+ revertedByWriteOffId?: CandidApi.writeOffs.v1.WriteOffId;
12
14
  amountCents: number;
13
15
  }
@@ -7,6 +7,6 @@ export interface InsuranceWriteOffCreate {
7
7
  writeOffTarget: CandidApi.writeOffs.v1.InsuranceWriteOffTarget;
8
8
  writeOffTimestamp: Date;
9
9
  writeOffNote?: string;
10
- writeOffReason: CandidApi.writeOffs.v1.WriteOffReason;
10
+ writeOffReason: CandidApi.writeOffs.v1.InsuranceWriteOffReason;
11
11
  amountCents: number;
12
12
  }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type InsuranceWriteOffReason = "SMALL_BALANCE" | "NO_AUTHORIZATION_REFERRAL" | "TIMELY_FILING" | "STALE_DATE" | "TIMELY_FILING_LATE_ENCOUNTER" | "CREDENTIALING_OR_CONTRACTING" | "NON_COVERED_MAX_BENEFIT" | "NOT_MEDICALLY_NECESSARY" | "BUNDLED_OR_INCLUSIVE" | "UNCOLLECTIBLE_OR_NON_BILLABLE" | "EFFORTS_EXHAUSTED" | "ADMINISTRATIVE_WRITE_OFF" | "CASE_RATE_OR_CAPITATED" | "OTHER" | "UNKNOWN";
5
+ export declare const InsuranceWriteOffReason: {
6
+ readonly SmallBalance: "SMALL_BALANCE";
7
+ readonly NoAuthorizationReferral: "NO_AUTHORIZATION_REFERRAL";
8
+ readonly TimelyFiling: "TIMELY_FILING";
9
+ readonly StaleDate: "STALE_DATE";
10
+ readonly TimelyFilingLateEncounter: "TIMELY_FILING_LATE_ENCOUNTER";
11
+ readonly CredentialingOrContracting: "CREDENTIALING_OR_CONTRACTING";
12
+ readonly NonCoveredMaxBenefit: "NON_COVERED_MAX_BENEFIT";
13
+ readonly NotMedicallyNecessary: "NOT_MEDICALLY_NECESSARY";
14
+ readonly BundledOrInclusive: "BUNDLED_OR_INCLUSIVE";
15
+ readonly UncollectibleOrNonBillable: "UNCOLLECTIBLE_OR_NON_BILLABLE";
16
+ readonly EffortsExhausted: "EFFORTS_EXHAUSTED";
17
+ readonly AdministrativeWriteOff: "ADMINISTRATIVE_WRITE_OFF";
18
+ readonly CaseRateOrCapitated: "CASE_RATE_OR_CAPITATED";
19
+ readonly Other: "OTHER";
20
+ readonly Unknown: "UNKNOWN";
21
+ };
@@ -0,0 +1,23 @@
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.InsuranceWriteOffReason = void 0;
7
+ exports.InsuranceWriteOffReason = {
8
+ SmallBalance: "SMALL_BALANCE",
9
+ NoAuthorizationReferral: "NO_AUTHORIZATION_REFERRAL",
10
+ TimelyFiling: "TIMELY_FILING",
11
+ StaleDate: "STALE_DATE",
12
+ TimelyFilingLateEncounter: "TIMELY_FILING_LATE_ENCOUNTER",
13
+ CredentialingOrContracting: "CREDENTIALING_OR_CONTRACTING",
14
+ NonCoveredMaxBenefit: "NON_COVERED_MAX_BENEFIT",
15
+ NotMedicallyNecessary: "NOT_MEDICALLY_NECESSARY",
16
+ BundledOrInclusive: "BUNDLED_OR_INCLUSIVE",
17
+ UncollectibleOrNonBillable: "UNCOLLECTIBLE_OR_NON_BILLABLE",
18
+ EffortsExhausted: "EFFORTS_EXHAUSTED",
19
+ AdministrativeWriteOff: "ADMINISTRATIVE_WRITE_OFF",
20
+ CaseRateOrCapitated: "CASE_RATE_OR_CAPITATED",
21
+ Other: "OTHER",
22
+ Unknown: "UNKNOWN",
23
+ };
@@ -6,7 +6,9 @@ export interface PatientWriteOff {
6
6
  writeOffId: CandidApi.writeOffs.v1.WriteOffId;
7
7
  writeOffTimestamp: Date;
8
8
  writeOffNote?: string;
9
- writeOffReason: CandidApi.writeOffs.v1.WriteOffReason;
9
+ writeOffReason: CandidApi.writeOffs.v1.PatientWriteOffReason;
10
10
  serviceLineId: CandidApi.ServiceLineId;
11
+ revertsWriteOffId?: CandidApi.writeOffs.v1.WriteOffId;
12
+ revertedByWriteOffId?: CandidApi.writeOffs.v1.WriteOffId;
11
13
  amountCents: number;
12
14
  }
@@ -5,7 +5,7 @@ import * as CandidApi from "../../../../..";
5
5
  export interface PatientWriteOffCreate {
6
6
  writeOffTimestamp: Date;
7
7
  writeOffNote?: string;
8
- writeOffReason: CandidApi.writeOffs.v1.WriteOffReason;
8
+ writeOffReason: CandidApi.writeOffs.v1.PatientWriteOffReason;
9
9
  serviceLineId: CandidApi.ServiceLineId;
10
10
  amountCents: number;
11
11
  }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type PatientWriteOffReason = "SMALL_BALANCE" | "CHARITY_OR_FINANCIAL_ASSISTANCE" | "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY" | "OON_COURTESY_ADJUSTMENT" | "PROMPT_PAY_DISCOUNT" | "BAD_DEBT" | "COLLECTION_AGENCY" | "OTHER" | "UNKNOWN";
5
+ export declare const PatientWriteOffReason: {
6
+ readonly SmallBalance: "SMALL_BALANCE";
7
+ readonly CharityOrFinancialAssistance: "CHARITY_OR_FINANCIAL_ASSISTANCE";
8
+ readonly PatientExperienceOrServiceRecovery: "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY";
9
+ readonly OonCourtesyAdjustment: "OON_COURTESY_ADJUSTMENT";
10
+ readonly PromptPayDiscount: "PROMPT_PAY_DISCOUNT";
11
+ readonly BadDebt: "BAD_DEBT";
12
+ readonly CollectionAgency: "COLLECTION_AGENCY";
13
+ readonly Other: "OTHER";
14
+ readonly Unknown: "UNKNOWN";
15
+ };
@@ -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.PatientWriteOffReason = void 0;
7
+ exports.PatientWriteOffReason = {
8
+ SmallBalance: "SMALL_BALANCE",
9
+ CharityOrFinancialAssistance: "CHARITY_OR_FINANCIAL_ASSISTANCE",
10
+ PatientExperienceOrServiceRecovery: "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY",
11
+ OonCourtesyAdjustment: "OON_COURTESY_ADJUSTMENT",
12
+ PromptPayDiscount: "PROMPT_PAY_DISCOUNT",
13
+ BadDebt: "BAD_DEBT",
14
+ CollectionAgency: "COLLECTION_AGENCY",
15
+ Other: "OTHER",
16
+ Unknown: "UNKNOWN",
17
+ };
@@ -1,10 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type WriteOffSortField = "amount_cents" | "write_off_timestamp" | "write_off_note" | "write_off_reason";
4
+ export declare type WriteOffSortField = "amount_cents" | "write_off_timestamp" | "write_off_note";
5
5
  export declare const WriteOffSortField: {
6
6
  readonly AmountCents: "amount_cents";
7
7
  readonly WriteOffTimestamp: "write_off_timestamp";
8
8
  readonly WriteOffNote: "write_off_note";
9
- readonly WriteOffReason: "write_off_reason";
10
9
  };
@@ -8,5 +8,4 @@ exports.WriteOffSortField = {
8
8
  AmountCents: "amount_cents",
9
9
  WriteOffTimestamp: "write_off_timestamp",
10
10
  WriteOffNote: "write_off_note",
11
- WriteOffReason: "write_off_reason",
12
11
  };
@@ -1,12 +1,13 @@
1
1
  export * from "./WriteOffId";
2
2
  export * from "./WriteOff";
3
3
  export * from "./WriteOffCreate";
4
+ export * from "./PatientWriteOffReason";
4
5
  export * from "./PatientWriteOff";
5
6
  export * from "./PatientWriteOffCreate";
6
7
  export * from "./InsuranceWriteOff";
7
8
  export * from "./InsuranceWriteOffCreate";
8
9
  export * from "./InsuranceWriteOffTarget";
9
- export * from "./WriteOffReason";
10
+ export * from "./InsuranceWriteOffReason";
10
11
  export * from "./CreateWriteOffsResponse";
11
12
  export * from "./WriteOffsPage";
12
13
  export * from "./WriteOffSortField";
@@ -17,12 +17,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./WriteOffId"), exports);
18
18
  __exportStar(require("./WriteOff"), exports);
19
19
  __exportStar(require("./WriteOffCreate"), exports);
20
+ __exportStar(require("./PatientWriteOffReason"), exports);
20
21
  __exportStar(require("./PatientWriteOff"), exports);
21
22
  __exportStar(require("./PatientWriteOffCreate"), exports);
22
23
  __exportStar(require("./InsuranceWriteOff"), exports);
23
24
  __exportStar(require("./InsuranceWriteOffCreate"), exports);
24
25
  __exportStar(require("./InsuranceWriteOffTarget"), exports);
25
- __exportStar(require("./WriteOffReason"), exports);
26
+ __exportStar(require("./InsuranceWriteOffReason"), exports);
26
27
  __exportStar(require("./CreateWriteOffsResponse"), exports);
27
28
  __exportStar(require("./WriteOffsPage"), exports);
28
29
  __exportStar(require("./WriteOffSortField"), exports);
@@ -22,6 +22,7 @@ export declare namespace EncounterUpdate {
22
22
  place_of_service_code?: serializers.FacilityTypeCode.Raw | null;
23
23
  appointment_type?: string | null;
24
24
  end_date_of_service?: serializers.Date_.Raw | null;
25
+ subscriber_primary?: serializers.SubscriberCreate.Raw | null;
25
26
  subscriber_secondary?: serializers.SubscriberCreate.Raw | null;
26
27
  additional_information?: string | null;
27
28
  service_authorization_exception_code?: serializers.encounters.v4.ServiceAuthorizationExceptionCode.Raw | null;
@@ -58,6 +58,7 @@ exports.EncounterUpdate = core.serialization.object({
58
58
  placeOfServiceCode: core.serialization.property("place_of_service_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).FacilityTypeCode).optional()),
59
59
  appointmentType: core.serialization.property("appointment_type", core.serialization.string().optional()),
60
60
  endDateOfService: core.serialization.property("end_date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
61
+ subscriberPrimary: core.serialization.property("subscriber_primary", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).SubscriberCreate).optional()),
61
62
  subscriberSecondary: core.serialization.property("subscriber_secondary", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).SubscriberCreate).optional()),
62
63
  additionalInformation: core.serialization.property("additional_information", core.serialization.string().optional()),
63
64
  serviceAuthorizationExceptionCode: core.serialization.property("service_authorization_exception_code", core.serialization
@@ -0,0 +1 @@
1
+ export * from "./types";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
@@ -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 ClaimStatusCodeCreate: core.serialization.Schema<serializers.ClaimStatusCodeCreate.Raw, CandidApi.ClaimStatusCodeCreate>;
8
+ export declare namespace ClaimStatusCodeCreate {
9
+ type Raw = "1" | "2" | "3" | "4" | "19" | "20" | "21" | "22" | "23";
10
+ }
@@ -26,6 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.WriteOffReason = void 0;
30
- const core = __importStar(require("../../../../../../core"));
31
- exports.WriteOffReason = core.serialization.enum_(["SMALL_BALANCE", "NO_AUTH", "CODING", "CREDENTIALING"]);
29
+ exports.ClaimStatusCodeCreate = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.ClaimStatusCodeCreate = core.serialization.enum_(["1", "2", "3", "4", "19", "20", "21", "22", "23"]);
@@ -0,0 +1 @@
1
+ export * from "./ClaimStatusCodeCreate";