candidhealth 0.14.1 → 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 (121) 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.js +5 -5
  24. package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +0 -1
  25. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  26. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  27. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  28. package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +0 -1
  29. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  30. package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +0 -1
  31. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  32. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  33. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  34. package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +1 -2
  35. package/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +0 -1
  36. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  37. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  38. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  39. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  40. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  41. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
  42. package/dist/api/resources/eraCommons/index.d.ts +1 -0
  43. package/dist/api/resources/eraCommons/index.js +17 -0
  44. package/dist/api/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +18 -0
  45. package/dist/api/resources/eraCommons/types/ClaimStatusCodeCreate.js +17 -0
  46. package/dist/api/resources/eraCommons/types/index.d.ts +1 -0
  47. package/dist/api/resources/eraCommons/types/index.js +17 -0
  48. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  49. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  50. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  51. package/dist/api/resources/financials/types/index.d.ts +0 -1
  52. package/dist/api/resources/financials/types/index.js +0 -1
  53. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  54. package/dist/api/resources/index.d.ts +2 -0
  55. package/dist/api/resources/index.js +3 -1
  56. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  57. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  58. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  59. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +0 -1
  60. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  61. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  62. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  63. package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +0 -1
  64. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  65. package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +0 -1
  66. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  67. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  68. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  69. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +1 -2
  70. package/dist/api/resources/writeOffs/resources/v1/types/WriteOffSortField.js +0 -1
  71. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  72. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  73. package/dist/serialization/resources/eraCommons/index.d.ts +1 -0
  74. package/dist/serialization/resources/eraCommons/index.js +17 -0
  75. package/dist/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +10 -0
  76. package/dist/serialization/resources/{financials/types/AllocationAmountUpdate.js → eraCommons/types/ClaimStatusCodeCreate.js} +2 -5
  77. package/dist/serialization/resources/eraCommons/types/index.d.ts +1 -0
  78. package/dist/serialization/resources/eraCommons/types/index.js +17 -0
  79. package/dist/serialization/resources/financials/types/index.d.ts +0 -1
  80. package/dist/serialization/resources/financials/types/index.js +0 -1
  81. package/dist/serialization/resources/index.d.ts +2 -0
  82. package/dist/serialization/resources/index.js +3 -1
  83. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  84. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -0
  85. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +0 -1
  86. package/dist/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +0 -3
  87. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +0 -1
  88. package/dist/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +0 -3
  89. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +0 -1
  90. package/dist/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +0 -3
  91. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +1 -1
  92. package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js +1 -1
  93. package/package.json +1 -1
  94. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
  95. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
  96. package/serialization/resources/eraCommons/index.d.ts +1 -0
  97. package/serialization/resources/eraCommons/index.js +17 -0
  98. package/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +10 -0
  99. package/serialization/resources/{financials/types/AllocationAmountUpdate.js → eraCommons/types/ClaimStatusCodeCreate.js} +2 -5
  100. package/serialization/resources/eraCommons/types/index.d.ts +1 -0
  101. package/serialization/resources/eraCommons/types/index.js +17 -0
  102. package/serialization/resources/financials/types/index.d.ts +0 -1
  103. package/serialization/resources/financials/types/index.js +0 -1
  104. package/serialization/resources/index.d.ts +2 -0
  105. package/serialization/resources/index.js +3 -1
  106. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +1 -0
  107. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +1 -0
  108. package/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +0 -1
  109. package/serialization/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.js +0 -3
  110. package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +0 -1
  111. package/serialization/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.js +0 -3
  112. package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +0 -1
  113. package/serialization/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.js +0 -3
  114. package/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.d.ts +1 -1
  115. package/serialization/resources/writeOffs/resources/v1/types/WriteOffSortField.js +1 -1
  116. package/api/resources/financials/types/AllocationAmountUpdate.d.ts +0 -8
  117. package/api/resources/financials/types/AllocationAmountUpdate.js +0 -5
  118. package/dist/api/resources/financials/types/AllocationAmountUpdate.d.ts +0 -8
  119. package/dist/api/resources/financials/types/AllocationAmountUpdate.js +0 -5
  120. package/dist/serialization/resources/financials/types/AllocationAmountUpdate.d.ts +0 -13
  121. package/serialization/resources/financials/types/AllocationAmountUpdate.d.ts +0 -13
@@ -10,7 +10,6 @@ export declare namespace PatientPaymentUpdate {
10
10
  payment_timestamp?: string | null;
11
11
  payment_note?: serializers.NoteUpdate.Raw | null;
12
12
  patient_external_id?: serializers.PatientExternalId.Raw | null;
13
- allocations?: serializers.AllocationAmountUpdate.Raw | null;
14
13
  invoice?: serializers.InvoiceUpdate.Raw | null;
15
14
  }
16
15
  }
@@ -32,8 +32,5 @@ exports.PatientPaymentUpdate = core.serialization.object({
32
32
  paymentTimestamp: core.serialization.property("payment_timestamp", core.serialization.date().optional()),
33
33
  paymentNote: core.serialization.property("payment_note", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).NoteUpdate).optional()),
34
34
  patientExternalId: core.serialization.property("patient_external_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).PatientExternalId).optional()),
35
- allocations: core.serialization
36
- .lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).AllocationAmountUpdate)
37
- .optional(),
38
35
  invoice: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).InvoiceUpdate).optional(),
39
36
  });
@@ -10,7 +10,6 @@ export declare namespace PatientRefundUpdate {
10
10
  refund_timestamp?: string | null;
11
11
  refund_note?: serializers.NoteUpdate.Raw | null;
12
12
  patient_external_id?: serializers.PatientExternalId.Raw | null;
13
- allocations?: serializers.AllocationAmountUpdate.Raw | null;
14
13
  invoice?: serializers.InvoiceUpdate.Raw | null;
15
14
  refund_reason?: serializers.RefundReasonUpdate.Raw | null;
16
15
  }
@@ -32,9 +32,6 @@ exports.PatientRefundUpdate = core.serialization.object({
32
32
  refundTimestamp: core.serialization.property("refund_timestamp", core.serialization.date().optional()),
33
33
  refundNote: core.serialization.property("refund_note", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).NoteUpdate).optional()),
34
34
  patientExternalId: core.serialization.property("patient_external_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).PatientExternalId).optional()),
35
- allocations: core.serialization
36
- .lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).AllocationAmountUpdate)
37
- .optional(),
38
35
  invoice: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).InvoiceUpdate).optional(),
39
36
  refundReason: core.serialization.property("refund_reason", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).RefundReasonUpdate).optional()),
40
37
  });
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const WriteOffSortField: core.serialization.Schema<serializers.writeOffs.v1.WriteOffSortField.Raw, CandidApi.writeOffs.v1.WriteOffSortField>;
8
8
  export declare namespace WriteOffSortField {
9
- type Raw = "amount_cents" | "write_off_timestamp" | "write_off_note" | "write_off_reason";
9
+ type Raw = "amount_cents" | "write_off_timestamp" | "write_off_note";
10
10
  }
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.WriteOffSortField = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
- exports.WriteOffSortField = core.serialization.enum_(["amount_cents", "write_off_timestamp", "write_off_note", "write_off_reason"]);
31
+ exports.WriteOffSortField = core.serialization.enum_(["amount_cents", "write_off_timestamp", "write_off_note"]);
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../..";
5
- export interface AllocationAmountUpdate {
6
- amountCents?: number;
7
- allocations: CandidApi.AllocationCreate[];
8
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../..";
5
- export interface AllocationAmountUpdate {
6
- amountCents?: number;
7
- allocations: CandidApi.AllocationCreate[];
8
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +0,0 @@
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 AllocationAmountUpdate: core.serialization.ObjectSchema<serializers.AllocationAmountUpdate.Raw, CandidApi.AllocationAmountUpdate>;
8
- export declare namespace AllocationAmountUpdate {
9
- interface Raw {
10
- amount_cents?: number | null;
11
- allocations: serializers.AllocationCreate.Raw[];
12
- }
13
- }
@@ -1,13 +0,0 @@
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 AllocationAmountUpdate: core.serialization.ObjectSchema<serializers.AllocationAmountUpdate.Raw, CandidApi.AllocationAmountUpdate>;
8
- export declare namespace AllocationAmountUpdate {
9
- interface Raw {
10
- amount_cents?: number | null;
11
- allocations: serializers.AllocationCreate.Raw[];
12
- }
13
- }