candidhealth 0.11.0 → 0.12.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 (173) 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/eligibility/resources/v2/client/Client.js +1 -1
  4. package/api/resources/encounters/resources/v4/client/Client.js +5 -4
  5. package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  6. package/api/resources/encounters/resources/v4/client/create.js +11 -0
  7. package/api/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.d.ts +6 -0
  8. package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  9. package/api/resources/encounters/resources/v4/types/index.js +1 -0
  10. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  11. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  12. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  13. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  14. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  15. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +3 -1
  16. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +2 -1
  17. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
  18. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  19. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +2 -2
  20. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
  21. package/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -2
  22. package/api/resources/insuranceAdjudications/resources/v1/types/index.js +0 -2
  23. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +6 -0
  24. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +66 -4
  25. package/api/resources/insuranceRefunds/resources/v1/client/getMulti.d.ts +22 -0
  26. package/api/resources/insuranceRefunds/resources/v1/client/getMulti.js +47 -0
  27. package/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +2 -0
  28. package/api/resources/insuranceRefunds/resources/v1/client/index.js +6 -1
  29. package/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +23 -0
  30. package/api/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
  31. package/api/resources/insuranceRefunds/resources/v1/client/requests/index.js +2 -0
  32. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.d.ts +10 -0
  33. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.js +12 -0
  34. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.d.ts +7 -0
  35. package/api/resources/insuranceRefunds/resources/v1/types/index.d.ts +2 -0
  36. package/api/resources/insuranceRefunds/resources/v1/types/index.js +2 -0
  37. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  38. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  39. package/api/resources/patientPayments/resources/v4/client/Client.js +8 -5
  40. package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -0
  41. package/api/resources/patientRefunds/resources/v1/client/Client.js +8 -5
  42. package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -0
  43. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  44. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  45. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  46. package/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +5 -0
  47. package/api/resources/x12/resources/v1/types/index.d.ts +2 -0
  48. package/api/resources/x12/resources/v1/types/index.js +2 -0
  49. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  50. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  51. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  52. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -4
  53. package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  54. package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
  55. package/dist/api/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.d.ts +6 -0
  56. package/dist/api/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.js +5 -0
  57. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  58. package/dist/api/resources/encounters/resources/v4/types/index.js +1 -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/guarantor/resources/v1/client/Client.js +3 -3
  63. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  64. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +3 -1
  65. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +2 -1
  66. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
  67. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  68. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +2 -2
  69. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
  70. package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -2
  71. package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.js +0 -2
  72. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +6 -0
  73. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +66 -4
  74. package/dist/api/resources/insuranceRefunds/resources/v1/client/getMulti.d.ts +22 -0
  75. package/dist/api/resources/insuranceRefunds/resources/v1/client/getMulti.js +47 -0
  76. package/dist/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +2 -0
  77. package/dist/api/resources/insuranceRefunds/resources/v1/client/index.js +6 -1
  78. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +23 -0
  79. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.js +5 -0
  80. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
  81. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/index.js +2 -0
  82. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.d.ts +10 -0
  83. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.js +12 -0
  84. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.d.ts +7 -0
  85. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.js +5 -0
  86. package/dist/api/resources/insuranceRefunds/resources/v1/types/index.d.ts +2 -0
  87. package/dist/api/resources/insuranceRefunds/resources/v1/types/index.js +2 -0
  88. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  89. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  90. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +8 -5
  91. package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -0
  92. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +8 -5
  93. package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -0
  94. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  95. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  96. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  97. package/dist/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +5 -0
  98. package/dist/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +5 -0
  99. package/dist/api/resources/x12/resources/v1/types/index.d.ts +2 -0
  100. package/dist/api/resources/x12/resources/v1/types/index.js +2 -0
  101. package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +5 -1
  102. package/dist/serialization/resources/encounters/resources/v4/client/create.js +5 -0
  103. package/dist/serialization/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.d.ts +12 -0
  104. package/dist/serialization/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.js +33 -0
  105. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  106. package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  107. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +3 -1
  108. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +3 -1
  109. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +2 -1
  110. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +2 -1
  111. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
  112. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +1 -1
  113. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  114. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +1 -1
  115. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +2 -2
  116. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +2 -2
  117. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
  118. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +2 -2
  119. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -2
  120. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +0 -2
  121. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.d.ts +10 -0
  122. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.js +31 -0
  123. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.d.ts +12 -0
  124. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.js +35 -0
  125. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/index.d.ts +2 -0
  126. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/index.js +2 -0
  127. package/{serialization/resources/insuranceAdjudications → dist/serialization/resources/x12}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +1 -1
  128. package/{serialization/resources/insuranceAdjudications → dist/serialization/resources/x12}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +1 -1
  129. package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
  130. package/dist/serialization/resources/x12/resources/v1/types/index.js +2 -0
  131. package/package.json +1 -1
  132. package/serialization/resources/encounters/resources/v4/client/create.d.ts +5 -1
  133. package/serialization/resources/encounters/resources/v4/client/create.js +5 -0
  134. package/serialization/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.d.ts +12 -0
  135. package/serialization/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.js +33 -0
  136. package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  137. package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  138. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +3 -1
  139. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +3 -1
  140. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +2 -1
  141. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +2 -1
  142. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
  143. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +1 -1
  144. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  145. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +1 -1
  146. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +2 -2
  147. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +2 -2
  148. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
  149. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +2 -2
  150. package/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -2
  151. package/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +0 -2
  152. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.d.ts +10 -0
  153. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.js +31 -0
  154. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.d.ts +12 -0
  155. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.js +35 -0
  156. package/serialization/resources/insuranceRefunds/resources/v1/types/index.d.ts +2 -0
  157. package/serialization/resources/insuranceRefunds/resources/v1/types/index.js +2 -0
  158. package/{dist/serialization/resources/insuranceAdjudications → serialization/resources/x12}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +1 -1
  159. package/{dist/serialization/resources/insuranceAdjudications → serialization/resources/x12}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +1 -1
  160. package/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
  161. package/serialization/resources/x12/resources/v1/types/index.js +2 -0
  162. /package/api/resources/{insuranceAdjudications/resources/v1/types/ClaimAdjustmentReasonCode.js → encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.js} +0 -0
  163. /package/api/resources/{insuranceAdjudications/resources/v1/types/RemittanceAdviceRemarkCode.js → insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.js} +0 -0
  164. /package/{dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjustmentReasonCode.js → api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.js} +0 -0
  165. /package/api/resources/{insuranceAdjudications → x12}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -0
  166. /package/{dist/api/resources/insuranceAdjudications/resources/v1/types/RemittanceAdviceRemarkCode.js → api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js} +0 -0
  167. /package/api/resources/{insuranceAdjudications → x12}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -0
  168. /package/dist/api/resources/{insuranceAdjudications → x12}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -0
  169. /package/dist/api/resources/{insuranceAdjudications → x12}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -0
  170. /package/dist/serialization/resources/{insuranceAdjudications → x12}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
  171. /package/dist/serialization/resources/{insuranceAdjudications → x12}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
  172. /package/serialization/resources/{insuranceAdjudications → x12}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
  173. /package/serialization/resources/{insuranceAdjudications → x12}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
@@ -29,9 +29,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ClaimAdjudication = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
31
  exports.ClaimAdjudication = core.serialization.object({
32
+ claimId: core.serialization.property("claim_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ClaimId)),
32
33
  insuranceAllowedAmountCents: core.serialization.property("insurance_allowed_amount_cents", core.serialization.number().optional()),
33
34
  insurancePaidAmountCents: core.serialization.property("insurance_paid_amount_cents", core.serialization.number().optional()),
35
+ chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
34
36
  serviceLines: core.serialization.property("service_lines", core.serialization.record(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineId), core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ServiceLineAdjudication))),
35
37
  payerClaimNumber: core.serialization.property("payer_claim_number", core.serialization.string().optional()),
36
- carcs: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ClaimAdjustmentReasonCode)),
38
+ carcs: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).x12.v1.ClaimAdjustmentReasonCode)),
37
39
  });
@@ -9,8 +9,9 @@ export declare namespace ClaimAdjudicationCreate {
9
9
  interface Raw {
10
10
  insurance_allowed_amount_cents?: number | null;
11
11
  insurance_paid_amount_cents?: number | null;
12
+ charge_amount_cents?: number | null;
12
13
  service_lines: Record<serializers.ServiceLineId.Raw, serializers.insuranceAdjudications.v1.ServiceLineAdjudicationCreate.Raw>;
13
14
  payer_claim_number?: string | null;
14
- carcs: serializers.insuranceAdjudications.v1.ClaimAdjustmentReasonCode.Raw[];
15
+ carcs: serializers.x12.v1.ClaimAdjustmentReasonCode.Raw[];
15
16
  }
16
17
  }
@@ -31,7 +31,8 @@ const core = __importStar(require("../../../../../../core"));
31
31
  exports.ClaimAdjudicationCreate = core.serialization.object({
32
32
  insuranceAllowedAmountCents: core.serialization.property("insurance_allowed_amount_cents", core.serialization.number().optional()),
33
33
  insurancePaidAmountCents: core.serialization.property("insurance_paid_amount_cents", core.serialization.number().optional()),
34
+ chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
34
35
  serviceLines: core.serialization.property("service_lines", core.serialization.record(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineId), core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ServiceLineAdjudicationCreate))),
35
36
  payerClaimNumber: core.serialization.property("payer_claim_number", core.serialization.string().optional()),
36
- carcs: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ClaimAdjustmentReasonCode)),
37
+ carcs: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).x12.v1.ClaimAdjustmentReasonCode)),
37
38
  });
@@ -13,6 +13,6 @@ export declare namespace InsuranceAdjudication {
13
13
  check_number?: string | null;
14
14
  check_date: string;
15
15
  note?: string | null;
16
- claims: Record<serializers.ServiceLineId.Raw, serializers.insuranceAdjudications.v1.ClaimAdjudication.Raw>;
16
+ claims: Record<serializers.ClaimId.Raw, serializers.insuranceAdjudications.v1.ClaimAdjudication.Raw>;
17
17
  }
18
18
  }
@@ -35,5 +35,5 @@ exports.InsuranceAdjudication = core.serialization.object({
35
35
  checkNumber: core.serialization.property("check_number", core.serialization.string().optional()),
36
36
  checkDate: core.serialization.property("check_date", core.serialization.string()),
37
37
  note: core.serialization.string().optional(),
38
- claims: core.serialization.record(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineId), core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ClaimAdjudication)),
38
+ claims: core.serialization.record(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ClaimId), core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ClaimAdjudication)),
39
39
  });
@@ -13,6 +13,6 @@ export declare namespace InsuranceAdjudicationCreate {
13
13
  check_number?: string | null;
14
14
  check_date: string;
15
15
  note?: string | null;
16
- claims: Record<serializers.ServiceLineId.Raw, serializers.insuranceAdjudications.v1.ClaimAdjudicationCreate.Raw>;
16
+ claims: Record<serializers.ClaimId.Raw, serializers.insuranceAdjudications.v1.ClaimAdjudicationCreate.Raw>;
17
17
  }
18
18
  }
@@ -35,5 +35,5 @@ exports.InsuranceAdjudicationCreate = core.serialization.object({
35
35
  checkNumber: core.serialization.property("check_number", core.serialization.string().optional()),
36
36
  checkDate: core.serialization.property("check_date", core.serialization.string()),
37
37
  note: core.serialization.string().optional(),
38
- claims: core.serialization.record(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineId), core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ClaimAdjudicationCreate)),
38
+ claims: core.serialization.record(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ClaimId), core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ClaimAdjudicationCreate)),
39
39
  });
@@ -14,7 +14,7 @@ export declare namespace ServiceLineAdjudication {
14
14
  deductible_amount_cents?: number | null;
15
15
  coinsurance_amount_cents?: number | null;
16
16
  copay_amount_cents?: number | null;
17
- carcs: serializers.insuranceAdjudications.v1.ClaimAdjustmentReasonCode.Raw[];
18
- rarcs: serializers.insuranceAdjudications.v1.RemittanceAdviceRemarkCode.Raw[];
17
+ carcs: serializers.x12.v1.ClaimAdjustmentReasonCode.Raw[];
18
+ rarcs: serializers.x12.v1.RemittanceAdviceRemarkCode.Raw[];
19
19
  }
20
20
  }
@@ -38,6 +38,6 @@ exports.ServiceLineAdjudication = core.serialization.object({
38
38
  deductibleAmountCents: core.serialization.property("deductible_amount_cents", core.serialization.number().optional()),
39
39
  coinsuranceAmountCents: core.serialization.property("coinsurance_amount_cents", core.serialization.number().optional()),
40
40
  copayAmountCents: core.serialization.property("copay_amount_cents", core.serialization.number().optional()),
41
- carcs: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ClaimAdjustmentReasonCode)),
42
- rarcs: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.RemittanceAdviceRemarkCode)),
41
+ carcs: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).x12.v1.ClaimAdjustmentReasonCode)),
42
+ rarcs: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).x12.v1.RemittanceAdviceRemarkCode)),
43
43
  });
@@ -13,7 +13,7 @@ export declare namespace ServiceLineAdjudicationCreate {
13
13
  deductible_amount_cents?: number | null;
14
14
  coinsurance_amount_cents?: number | null;
15
15
  copay_amount_cents?: number | null;
16
- carcs: serializers.insuranceAdjudications.v1.ClaimAdjustmentReasonCode.Raw[];
17
- rarcs: serializers.insuranceAdjudications.v1.RemittanceAdviceRemarkCode.Raw[];
16
+ carcs: serializers.x12.v1.ClaimAdjustmentReasonCode.Raw[];
17
+ rarcs: serializers.x12.v1.RemittanceAdviceRemarkCode.Raw[];
18
18
  }
19
19
  }
@@ -37,6 +37,6 @@ exports.ServiceLineAdjudicationCreate = core.serialization.object({
37
37
  deductibleAmountCents: core.serialization.property("deductible_amount_cents", core.serialization.number().optional()),
38
38
  coinsuranceAmountCents: core.serialization.property("coinsurance_amount_cents", core.serialization.number().optional()),
39
39
  copayAmountCents: core.serialization.property("copay_amount_cents", core.serialization.number().optional()),
40
- carcs: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ClaimAdjustmentReasonCode)),
41
- rarcs: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.RemittanceAdviceRemarkCode)),
40
+ carcs: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).x12.v1.ClaimAdjustmentReasonCode)),
41
+ rarcs: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).x12.v1.RemittanceAdviceRemarkCode)),
42
42
  });
@@ -6,5 +6,3 @@ export * from "./ClaimAdjudicationCreate";
6
6
  export * from "./ClaimAdjudication";
7
7
  export * from "./ServiceLineAdjudicationCreate";
8
8
  export * from "./ServiceLineAdjudication";
9
- export * from "./ClaimAdjustmentReasonCode";
10
- export * from "./RemittanceAdviceRemarkCode";
@@ -22,5 +22,3 @@ __exportStar(require("./ClaimAdjudicationCreate"), exports);
22
22
  __exportStar(require("./ClaimAdjudication"), exports);
23
23
  __exportStar(require("./ServiceLineAdjudicationCreate"), exports);
24
24
  __exportStar(require("./ServiceLineAdjudication"), exports);
25
- __exportStar(require("./ClaimAdjustmentReasonCode"), exports);
26
- __exportStar(require("./RemittanceAdviceRemarkCode"), 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 InsuranceRefundSortField: core.serialization.Schema<serializers.insuranceRefunds.v1.InsuranceRefundSortField.Raw, CandidApi.insuranceRefunds.v1.InsuranceRefundSortField>;
8
+ export declare namespace InsuranceRefundSortField {
9
+ type Raw = "amount_cents" | "refund_timestamp" | "refund_note" | "refund_reason";
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.InsuranceRefundSortField = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.InsuranceRefundSortField = core.serialization.enum_(["amount_cents", "refund_timestamp", "refund_note", "refund_reason"]);
@@ -0,0 +1,12 @@
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 InsuranceRefundsPage: core.serialization.ObjectSchema<serializers.insuranceRefunds.v1.InsuranceRefundsPage.Raw, CandidApi.insuranceRefunds.v1.InsuranceRefundsPage>;
8
+ export declare namespace InsuranceRefundsPage {
9
+ interface Raw extends serializers.ResourcePage.Raw {
10
+ items: serializers.insuranceRefunds.v1.InsuranceRefund.Raw[];
11
+ }
12
+ }
@@ -0,0 +1,35 @@
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.InsuranceRefundsPage = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.InsuranceRefundsPage = core.serialization
32
+ .object({
33
+ items: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceRefunds.v1.InsuranceRefund)),
34
+ })
35
+ .extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ResourcePage));
@@ -1,3 +1,5 @@
1
1
  export * from "./InsuranceRefundId";
2
2
  export * from "./InsuranceRefund";
3
3
  export * from "./InsuranceRefundCreate";
4
+ export * from "./InsuranceRefundsPage";
5
+ export * from "./InsuranceRefundSortField";
@@ -17,3 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./InsuranceRefundId"), exports);
18
18
  __exportStar(require("./InsuranceRefund"), exports);
19
19
  __exportStar(require("./InsuranceRefundCreate"), exports);
20
+ __exportStar(require("./InsuranceRefundsPage"), exports);
21
+ __exportStar(require("./InsuranceRefundSortField"), exports);
@@ -4,7 +4,7 @@
4
4
  import * as serializers from "../../../../..";
5
5
  import * as CandidApi from "../../../../../../api";
6
6
  import * as core from "../../../../../../core";
7
- export declare const ClaimAdjustmentReasonCode: core.serialization.ObjectSchema<serializers.insuranceAdjudications.v1.ClaimAdjustmentReasonCode.Raw, CandidApi.insuranceAdjudications.v1.ClaimAdjustmentReasonCode>;
7
+ export declare const ClaimAdjustmentReasonCode: core.serialization.ObjectSchema<serializers.x12.v1.ClaimAdjustmentReasonCode.Raw, CandidApi.x12.v1.ClaimAdjustmentReasonCode>;
8
8
  export declare namespace ClaimAdjustmentReasonCode {
9
9
  interface Raw {
10
10
  group_code: serializers.ClaimAdjustmentGroupCodes.Raw;
@@ -4,7 +4,7 @@
4
4
  import * as serializers from "../../../../..";
5
5
  import * as CandidApi from "../../../../../../api";
6
6
  import * as core from "../../../../../../core";
7
- export declare const RemittanceAdviceRemarkCode: core.serialization.ObjectSchema<serializers.insuranceAdjudications.v1.RemittanceAdviceRemarkCode.Raw, CandidApi.insuranceAdjudications.v1.RemittanceAdviceRemarkCode>;
7
+ export declare const RemittanceAdviceRemarkCode: core.serialization.ObjectSchema<serializers.x12.v1.RemittanceAdviceRemarkCode.Raw, CandidApi.x12.v1.RemittanceAdviceRemarkCode>;
8
8
  export declare namespace RemittanceAdviceRemarkCode {
9
9
  interface Raw {
10
10
  reason_code: serializers.x12.v1.Rarc.Raw;
@@ -1,2 +1,4 @@
1
+ export * from "./ClaimAdjustmentReasonCode";
2
+ export * from "./RemittanceAdviceRemarkCode";
1
3
  export * from "./Carc";
2
4
  export * from "./Rarc";
@@ -14,5 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ClaimAdjustmentReasonCode"), exports);
18
+ __exportStar(require("./RemittanceAdviceRemarkCode"), exports);
17
19
  __exportStar(require("./Carc"), exports);
18
20
  __exportStar(require("./Rarc"), exports);