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
@@ -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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
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.1",
200
+ "X-Fern-SDK-Version": "0.14.2",
201
201
  },
202
202
  contentType: "application/json",
203
203
  timeoutMs: 60000,
@@ -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
  };
@@ -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,9 +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.AllocationAmountUpdate = void 0;
29
+ exports.ClaimStatusCodeCreate = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
- exports.AllocationAmountUpdate = core.serialization.object({
32
- amountCents: core.serialization.property("amount_cents", core.serialization.number().optional()),
33
- allocations: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).AllocationCreate)),
34
- });
31
+ exports.ClaimStatusCodeCreate = core.serialization.enum_(["1", "2", "3", "4", "19", "20", "21", "22", "23"]);
@@ -0,0 +1 @@
1
+ export * from "./ClaimStatusCodeCreate";
@@ -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("./ClaimStatusCodeCreate"), exports);
@@ -5,7 +5,6 @@ export * from "./AllocationTarget";
5
5
  export * from "./AllocationCreate";
6
6
  export * from "./AllocationTargetCreate";
7
7
  export * from "./AccountType";
8
- export * from "./AllocationAmountUpdate";
9
8
  export * from "./NoteUpdate";
10
9
  export * from "./InvoiceUpdate";
11
10
  export * from "./RefundReasonUpdate";
@@ -21,7 +21,6 @@ __exportStar(require("./AllocationTarget"), exports);
21
21
  __exportStar(require("./AllocationCreate"), exports);
22
22
  __exportStar(require("./AllocationTargetCreate"), exports);
23
23
  __exportStar(require("./AccountType"), exports);
24
- __exportStar(require("./AllocationAmountUpdate"), exports);
25
24
  __exportStar(require("./NoteUpdate"), exports);
26
25
  __exportStar(require("./InvoiceUpdate"), exports);
27
26
  __exportStar(require("./RefundReasonUpdate"), exports);
@@ -26,6 +26,8 @@ export * as commons from "./commons";
26
26
  export * from "./commons/types";
27
27
  export * as diagnoses from "./diagnoses";
28
28
  export * from "./diagnoses/types";
29
+ export * as eraCommons from "./eraCommons";
30
+ export * from "./eraCommons/types";
29
31
  export * as era from "./era";
30
32
  export * from "./era/types";
31
33
  export * as financials from "./financials";
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.eligibility = exports.tags = exports.serviceFacility = exports.invoices = exports.individual = exports.identifiers = exports.financials = exports.era = exports.diagnoses = exports.commons = exports.claims = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.insuranceRefunds = exports.insuranceCards = exports.insuranceAdjudications = exports.guarantor = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.contracts = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
29
+ exports.eligibility = exports.tags = exports.serviceFacility = exports.invoices = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.commons = exports.claims = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.insuranceRefunds = exports.insuranceCards = exports.insuranceAdjudications = exports.guarantor = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.contracts = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
30
30
  exports.auth = __importStar(require("./auth"));
31
31
  exports.billingNotes = __importStar(require("./billingNotes"));
32
32
  exports.claimSubmission = __importStar(require("./claimSubmission"));
@@ -55,6 +55,8 @@ exports.commons = __importStar(require("./commons"));
55
55
  __exportStar(require("./commons/types"), exports);
56
56
  exports.diagnoses = __importStar(require("./diagnoses"));
57
57
  __exportStar(require("./diagnoses/types"), exports);
58
+ exports.eraCommons = __importStar(require("./eraCommons"));
59
+ __exportStar(require("./eraCommons/types"), exports);
58
60
  exports.era = __importStar(require("./era"));
59
61
  __exportStar(require("./era/types"), exports);
60
62
  exports.financials = __importStar(require("./financials"));
@@ -7,6 +7,7 @@ import * as core from "../../../../../../core";
7
7
  export declare const ClaimAdjudicationCreate: core.serialization.ObjectSchema<serializers.insuranceAdjudications.v1.ClaimAdjudicationCreate.Raw, CandidApi.insuranceAdjudications.v1.ClaimAdjudicationCreate>;
8
8
  export declare namespace ClaimAdjudicationCreate {
9
9
  interface Raw {
10
+ claim_status_code: serializers.ClaimStatusCodeCreate.Raw;
10
11
  insurance_paid_amount_cents?: number | null;
11
12
  charge_amount_cents?: number | null;
12
13
  service_lines: Record<serializers.ServiceLineId.Raw, serializers.insuranceAdjudications.v1.ServiceLineAdjudicationCreate.Raw[]>;
@@ -29,6 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ClaimAdjudicationCreate = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
31
  exports.ClaimAdjudicationCreate = core.serialization.object({
32
+ claimStatusCode: core.serialization.property("claim_status_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ClaimStatusCodeCreate)),
32
33
  insurancePaidAmountCents: core.serialization.property("insurance_paid_amount_cents", core.serialization.number().optional()),
33
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.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ServiceLineAdjudicationCreate)))),
@@ -10,7 +10,6 @@ export declare namespace InsuranceRefundUpdate {
10
10
  refund_timestamp?: string | null;
11
11
  refund_note?: serializers.NoteUpdate.Raw | null;
12
12
  payer_identifier?: serializers.payers.v3.PayerIdentifier.Raw | null;
13
- allocations?: serializers.AllocationAmountUpdate.Raw | null;
14
13
  refund_reason?: serializers.RefundReasonUpdate.Raw | null;
15
14
  }
16
15
  }
@@ -32,8 +32,5 @@ exports.InsuranceRefundUpdate = 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
  payerIdentifier: core.serialization.property("payer_identifier", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).payers.v3.PayerIdentifier).optional()),
35
- allocations: core.serialization
36
- .lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).AllocationAmountUpdate)
37
- .optional(),
38
35
  refundReason: core.serialization.property("refund_reason", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).RefundReasonUpdate).optional()),
39
36
  });
@@ -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"]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "candidhealth",
3
- "version": "0.14.1",
3
+ "version": "0.14.2",
4
4
  "private": false,
5
5
  "repository": "https://github.com/candidhealth/candid-node",
6
6
  "main": "./index.js",
@@ -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,9 +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.AllocationAmountUpdate = void 0;
29
+ exports.ClaimStatusCodeCreate = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
- exports.AllocationAmountUpdate = core.serialization.object({
32
- amountCents: core.serialization.property("amount_cents", core.serialization.number().optional()),
33
- allocations: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).AllocationCreate)),
34
- });
31
+ exports.ClaimStatusCodeCreate = core.serialization.enum_(["1", "2", "3", "4", "19", "20", "21", "22", "23"]);
@@ -0,0 +1 @@
1
+ export * from "./ClaimStatusCodeCreate";
@@ -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("./ClaimStatusCodeCreate"), exports);
@@ -5,7 +5,6 @@ export * from "./AllocationTarget";
5
5
  export * from "./AllocationCreate";
6
6
  export * from "./AllocationTargetCreate";
7
7
  export * from "./AccountType";
8
- export * from "./AllocationAmountUpdate";
9
8
  export * from "./NoteUpdate";
10
9
  export * from "./InvoiceUpdate";
11
10
  export * from "./RefundReasonUpdate";
@@ -21,7 +21,6 @@ __exportStar(require("./AllocationTarget"), exports);
21
21
  __exportStar(require("./AllocationCreate"), exports);
22
22
  __exportStar(require("./AllocationTargetCreate"), exports);
23
23
  __exportStar(require("./AccountType"), exports);
24
- __exportStar(require("./AllocationAmountUpdate"), exports);
25
24
  __exportStar(require("./NoteUpdate"), exports);
26
25
  __exportStar(require("./InvoiceUpdate"), exports);
27
26
  __exportStar(require("./RefundReasonUpdate"), exports);
@@ -26,6 +26,8 @@ export * as commons from "./commons";
26
26
  export * from "./commons/types";
27
27
  export * as diagnoses from "./diagnoses";
28
28
  export * from "./diagnoses/types";
29
+ export * as eraCommons from "./eraCommons";
30
+ export * from "./eraCommons/types";
29
31
  export * as era from "./era";
30
32
  export * from "./era/types";
31
33
  export * as financials from "./financials";
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.eligibility = exports.tags = exports.serviceFacility = exports.invoices = exports.individual = exports.identifiers = exports.financials = exports.era = exports.diagnoses = exports.commons = exports.claims = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.insuranceRefunds = exports.insuranceCards = exports.insuranceAdjudications = exports.guarantor = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.contracts = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
29
+ exports.eligibility = exports.tags = exports.serviceFacility = exports.invoices = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.commons = exports.claims = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.payers = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.insuranceRefunds = exports.insuranceCards = exports.insuranceAdjudications = exports.guarantor = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.contracts = exports.claimSubmission = exports.billingNotes = exports.auth = void 0;
30
30
  exports.auth = __importStar(require("./auth"));
31
31
  exports.billingNotes = __importStar(require("./billingNotes"));
32
32
  exports.claimSubmission = __importStar(require("./claimSubmission"));
@@ -55,6 +55,8 @@ exports.commons = __importStar(require("./commons"));
55
55
  __exportStar(require("./commons/types"), exports);
56
56
  exports.diagnoses = __importStar(require("./diagnoses"));
57
57
  __exportStar(require("./diagnoses/types"), exports);
58
+ exports.eraCommons = __importStar(require("./eraCommons"));
59
+ __exportStar(require("./eraCommons/types"), exports);
58
60
  exports.era = __importStar(require("./era"));
59
61
  __exportStar(require("./era/types"), exports);
60
62
  exports.financials = __importStar(require("./financials"));
@@ -7,6 +7,7 @@ import * as core from "../../../../../../core";
7
7
  export declare const ClaimAdjudicationCreate: core.serialization.ObjectSchema<serializers.insuranceAdjudications.v1.ClaimAdjudicationCreate.Raw, CandidApi.insuranceAdjudications.v1.ClaimAdjudicationCreate>;
8
8
  export declare namespace ClaimAdjudicationCreate {
9
9
  interface Raw {
10
+ claim_status_code: serializers.ClaimStatusCodeCreate.Raw;
10
11
  insurance_paid_amount_cents?: number | null;
11
12
  charge_amount_cents?: number | null;
12
13
  service_lines: Record<serializers.ServiceLineId.Raw, serializers.insuranceAdjudications.v1.ServiceLineAdjudicationCreate.Raw[]>;
@@ -29,6 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ClaimAdjudicationCreate = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
31
  exports.ClaimAdjudicationCreate = core.serialization.object({
32
+ claimStatusCode: core.serialization.property("claim_status_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ClaimStatusCodeCreate)),
32
33
  insurancePaidAmountCents: core.serialization.property("insurance_paid_amount_cents", core.serialization.number().optional()),
33
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.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).insuranceAdjudications.v1.ServiceLineAdjudicationCreate)))),
@@ -10,7 +10,6 @@ export declare namespace InsuranceRefundUpdate {
10
10
  refund_timestamp?: string | null;
11
11
  refund_note?: serializers.NoteUpdate.Raw | null;
12
12
  payer_identifier?: serializers.payers.v3.PayerIdentifier.Raw | null;
13
- allocations?: serializers.AllocationAmountUpdate.Raw | null;
14
13
  refund_reason?: serializers.RefundReasonUpdate.Raw | null;
15
14
  }
16
15
  }
@@ -32,8 +32,5 @@ exports.InsuranceRefundUpdate = 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
  payerIdentifier: core.serialization.property("payer_identifier", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).payers.v3.PayerIdentifier).optional()),
35
- allocations: core.serialization
36
- .lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).AllocationAmountUpdate)
37
- .optional(),
38
35
  refundReason: core.serialization.property("refund_reason", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).RefundReasonUpdate).optional()),
39
36
  });