candidhealth 0.39.9 → 0.39.10

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 (112) hide show
  1. package/README.md +28 -8
  2. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  3. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  4. package/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
  5. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  6. package/api/resources/claims/types/Claim.d.ts +1 -0
  7. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  8. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  9. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  10. package/api/resources/diagnoses/client/Client.js +3 -3
  11. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  12. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  13. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  14. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  15. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +1 -0
  16. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  17. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  18. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  19. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  20. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  21. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  22. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  23. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  24. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  25. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  26. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  27. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  28. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  29. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  30. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  31. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  32. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  33. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  34. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  35. package/api/resources/payers/resources/v3/types/Payer.d.ts +1 -0
  36. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  37. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  38. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  39. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  40. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  41. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +10 -10
  42. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  43. package/api/resources/serviceFacility/client/Client.js +1 -1
  44. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  45. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -0
  46. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -1
  47. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
  48. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +6 -0
  49. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  50. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  51. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  52. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  53. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
  54. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  55. package/dist/api/resources/claims/types/Claim.d.ts +1 -0
  56. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  57. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  58. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  59. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  60. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  61. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  62. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  63. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  64. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +1 -0
  65. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  66. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  67. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  68. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  69. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  70. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  71. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  72. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  73. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  74. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  75. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  76. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  77. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  78. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  79. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  80. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  81. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  82. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  83. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  84. package/dist/api/resources/payers/resources/v3/types/Payer.d.ts +1 -0
  85. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  86. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  87. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  88. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  89. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  90. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +10 -10
  91. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  92. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  93. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  94. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -0
  95. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -1
  96. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +5 -0
  97. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +6 -0
  98. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  99. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  100. package/dist/serialization/resources/payers/resources/v3/types/Payer.d.ts +2 -0
  101. package/dist/serialization/resources/payers/resources/v3/types/Payer.js +2 -0
  102. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +4 -0
  103. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +4 -0
  104. package/dist/version.d.ts +1 -1
  105. package/dist/version.js +1 -1
  106. package/package.json +1 -1
  107. package/serialization/resources/payers/resources/v3/types/Payer.d.ts +2 -0
  108. package/serialization/resources/payers/resources/v3/types/Payer.js +2 -0
  109. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +4 -0
  110. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +4 -0
  111. package/version.d.ts +1 -1
  112. package/version.js +1 -1
@@ -73,7 +73,7 @@ class V1 {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.jsonOrThrow(id))}`),
75
75
  method: "GET",
76
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -123,7 +123,7 @@ class V1 {
123
123
  const _response = yield core.fetcher({
124
124
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/tags/v1"),
125
125
  method: "GET",
126
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
126
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
127
127
  contentType: "application/json",
128
128
  queryParameters: _queryParams,
129
129
  requestType: "json",
@@ -165,7 +165,7 @@ class V1 {
165
165
  const _response = yield core.fetcher({
166
166
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/tags/v1"),
167
167
  method: "POST",
168
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
168
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
169
169
  contentType: "application/json",
170
170
  requestType: "json",
171
171
  body: serializers.preEncounter.tags.v1.MutableTag.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -209,7 +209,7 @@ class V1 {
209
209
  const _response = yield core.fetcher({
210
210
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
211
211
  method: "PUT",
212
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
212
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
213
213
  contentType: "application/json",
214
214
  requestType: "json",
215
215
  body: serializers.preEncounter.tags.v1.MutableTag.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -250,7 +250,7 @@ class V1 {
250
250
  const _response = yield core.fetcher({
251
251
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
252
252
  method: "DELETE",
253
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
253
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
254
254
  contentType: "application/json",
255
255
  requestType: "json",
256
256
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -82,7 +82,7 @@ class ServiceFacility {
82
82
  const _response = yield core.fetcher({
83
83
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/service_facility/v2/${encodeURIComponent(serializers.ServiceFacilityId.jsonOrThrow(serviceFacilityId))}`),
84
84
  method: "PATCH",
85
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
86
  contentType: "application/json",
87
87
  requestType: "json",
88
88
  body: serializers.EncounterServiceFacilityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -120,7 +120,7 @@ class V2 {
120
120
  const _response = yield core.fetcher({
121
121
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/service-lines/v2"),
122
122
  method: "POST",
123
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
123
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
124
124
  contentType: "application/json",
125
125
  requestType: "json",
126
126
  body: serializers.serviceLines.v2.ServiceLineCreateStandalone.jsonOrThrow(request, {
@@ -209,7 +209,7 @@ class V2 {
209
209
  const _response = yield core.fetcher({
210
210
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
211
211
  method: "PATCH",
212
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
212
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
213
213
  contentType: "application/json",
214
214
  requestType: "json",
215
215
  body: serializers.serviceLines.v2.ServiceLineUpdate.jsonOrThrow(request, {
@@ -265,7 +265,7 @@ class V2 {
265
265
  const _response = yield core.fetcher({
266
266
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
267
267
  method: "DELETE",
268
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
268
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
269
269
  contentType: "application/json",
270
270
  requestType: "json",
271
271
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -5,6 +5,7 @@ import * as CandidApi from "../../../../../index";
5
5
  /**
6
6
  * @example
7
7
  * {
8
+ * createdAt: "2023-01-01T00:00:00Z",
8
9
  * modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
9
10
  * chargeAmountCents: 10000,
10
11
  * allowedAmountCents: 8000,
@@ -73,6 +74,7 @@ import * as CandidApi from "../../../../../index";
73
74
  * }
74
75
  */
75
76
  export interface ServiceLine {
77
+ createdAt: Date;
76
78
  modifiers?: CandidApi.ProcedureModifier[];
77
79
  chargeAmountCents?: number;
78
80
  allowedAmountCents?: number;
@@ -83,6 +85,9 @@ export interface ServiceLine {
83
85
  secondaryPaidAmountCents?: number;
84
86
  tertiaryPaidAmountCents?: number;
85
87
  patientResponsibilityCents?: number;
88
+ copayCents?: number;
89
+ coinsuranceCents?: number;
90
+ deductibleCents?: number;
86
91
  diagnosisIdZero?: CandidApi.DiagnosisId;
87
92
  diagnosisIdOne?: CandidApi.DiagnosisId;
88
93
  diagnosisIdTwo?: CandidApi.DiagnosisId;
@@ -24,7 +24,7 @@ export interface ServiceLineCreate {
24
24
  units: CandidApi.ServiceLineUnits;
25
25
  /**
26
26
  * The total amount charged for this service line taking quantity into account. For example, if a single unit
27
- * costs 100 cents and 2 units were rendered, the charge_amount_cents should be 200. Should be greater than or
27
+ * costs 100 cents and 2 units were rendered, the `charge_amount_cents` should be 200. Should be greater than or
28
28
  * equal to 0.
29
29
  */
30
30
  chargeAmountCents?: number;
@@ -4,6 +4,11 @@
4
4
  import * as CandidApi from "../../../../../index";
5
5
  export interface ServiceLineCreateStandalone {
6
6
  modifiers?: CandidApi.ProcedureModifier[];
7
+ /**
8
+ * The total amount charged for this service line, factoring in quantity. If left unfilled, the system will attempt to set it based on
9
+ * chargemasters entries and the service line's quantity. For example, if a single unit has an entry of 100 cents and 2 units were rendered,
10
+ * the `charge_amount_cents` will be set to 200, if this field is unfilled.
11
+ */
7
12
  chargeAmountCents?: number;
8
13
  diagnosisIdZero?: CandidApi.DiagnosisId;
9
14
  diagnosisIdOne?: CandidApi.DiagnosisId;
@@ -5,6 +5,11 @@ import * as CandidApi from "../../../../../index";
5
5
  export interface ServiceLineUpdate {
6
6
  editReason?: string;
7
7
  modifiers?: CandidApi.ProcedureModifier[];
8
+ /**
9
+ * The total amount charged for this service line, factoring in quantity. If `procedure_code` is updated and this is not, the system will attempt
10
+ * to set it based on chargemasters entries and the service line's quantity. For example, if a single unit has an entry of 100 cents and 2
11
+ * units were rendered, the `charge_amount_cents` will be set to 200, if this field is unfilled.
12
+ */
8
13
  chargeAmountCents?: number;
9
14
  diagnosisIdZero?: CandidApi.DiagnosisId;
10
15
  diagnosisIdOne?: CandidApi.DiagnosisId;
@@ -15,6 +20,7 @@ export interface ServiceLineUpdate {
15
20
  /** 837p Loop2300, SV105. If your organization does not intend to submit claims with a different place of service at the service line level, this field should not be populated. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
16
21
  placeOfServiceCode?: CandidApi.FacilityTypeCode;
17
22
  units?: CandidApi.ServiceLineUnits;
23
+ /** If `procedure_code` is updated, and `charge_amount_cents` is not, then `charge_amount_cents` will be set by the system. */
18
24
  procedureCode?: string;
19
25
  /**
20
26
  * String representation of a Decimal that can be parsed by most libraries.
@@ -71,7 +71,7 @@ class V3 {
71
71
  const _response = yield core.fetcher({
72
72
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}/actions`),
73
73
  method: "GET",
74
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
74
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -169,7 +169,7 @@ class V3 {
169
169
  const _response = yield core.fetcher({
170
170
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/tasks/v3"),
171
171
  method: "GET",
172
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
172
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
173
173
  contentType: "application/json",
174
174
  queryParameters: _queryParams,
175
175
  requestType: "json",
@@ -221,7 +221,7 @@ class V3 {
221
221
  const _response = yield core.fetcher({
222
222
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}`),
223
223
  method: "GET",
224
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
224
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
225
225
  contentType: "application/json",
226
226
  requestType: "json",
227
227
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -281,7 +281,7 @@ class V3 {
281
281
  const _response = yield core.fetcher({
282
282
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/tasks/v3"),
283
283
  method: "POST",
284
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
284
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
285
285
  contentType: "application/json",
286
286
  requestType: "json",
287
287
  body: serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -324,7 +324,7 @@ class V3 {
324
324
  const _response = yield core.fetcher({
325
325
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}`),
326
326
  method: "PATCH",
327
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
327
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
328
328
  contentType: "application/json",
329
329
  requestType: "json",
330
330
  body: serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -127,7 +127,7 @@ class V1 {
127
127
  const _response = yield core.fetcher({
128
128
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/write-offs/v1"),
129
129
  method: "GET",
130
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
130
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
131
131
  contentType: "application/json",
132
132
  queryParameters: _queryParams,
133
133
  requestType: "json",
@@ -167,7 +167,7 @@ class V1 {
167
167
  const _response = yield core.fetcher({
168
168
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}`),
169
169
  method: "GET",
170
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
170
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
171
171
  contentType: "application/json",
172
172
  requestType: "json",
173
173
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -216,7 +216,7 @@ class V1 {
216
216
  const _response = yield core.fetcher({
217
217
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/write-offs/v1"),
218
218
  method: "POST",
219
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
219
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
220
220
  contentType: "application/json",
221
221
  requestType: "json",
222
222
  body: serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
@@ -258,7 +258,7 @@ class V1 {
258
258
  const _response = yield core.fetcher({
259
259
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}/revert`),
260
260
  method: "POST",
261
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.9", "User-Agent": "candidhealth/0.39.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
261
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.39.10", "User-Agent": "candidhealth/0.39.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
262
262
  contentType: "application/json",
263
263
  requestType: "json",
264
264
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -5,6 +5,7 @@ import * as serializers from "../../../../../index";
5
5
  import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  import { PayerUuid } from "./PayerUuid";
8
+ import { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
8
9
  export declare const Payer: core.serialization.ObjectSchema<serializers.payers.v3.Payer.Raw, CandidApi.payers.v3.Payer>;
9
10
  export declare namespace Payer {
10
11
  interface Raw {
@@ -15,5 +16,6 @@ export declare namespace Payer {
15
16
  availity_claims_payer_id?: string | null;
16
17
  availity_eligibility_id?: string | null;
17
18
  availity_remittance_payer_id?: string | null;
19
+ street_address?: StreetAddressLongZip.Raw | null;
18
20
  }
19
21
  }
@@ -39,6 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.Payer = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
41
  const PayerUuid_1 = require("./PayerUuid");
42
+ const StreetAddressLongZip_1 = require("../../../../commons/types/StreetAddressLongZip");
42
43
  exports.Payer = core.serialization.object({
43
44
  payerUuid: core.serialization.property("payer_uuid", PayerUuid_1.PayerUuid),
44
45
  payerId: core.serialization.property("payer_id", core.serialization.string()),
@@ -47,4 +48,5 @@ exports.Payer = core.serialization.object({
47
48
  availityClaimsPayerId: core.serialization.property("availity_claims_payer_id", core.serialization.string().optional()),
48
49
  availityEligibilityId: core.serialization.property("availity_eligibility_id", core.serialization.string().optional()),
49
50
  availityRemittancePayerId: core.serialization.property("availity_remittance_payer_id", core.serialization.string().optional()),
51
+ streetAddress: core.serialization.property("street_address", StreetAddressLongZip_1.StreetAddressLongZip.optional()),
50
52
  });
@@ -23,6 +23,7 @@ import { TestResult } from "./TestResult";
23
23
  export declare const ServiceLine: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLine.Raw, CandidApi.serviceLines.v2.ServiceLine>;
24
24
  export declare namespace ServiceLine {
25
25
  interface Raw {
26
+ created_at: string;
26
27
  modifiers?: ProcedureModifier.Raw[] | null;
27
28
  charge_amount_cents?: number | null;
28
29
  allowed_amount_cents?: number | null;
@@ -33,6 +34,9 @@ export declare namespace ServiceLine {
33
34
  secondary_paid_amount_cents?: number | null;
34
35
  tertiary_paid_amount_cents?: number | null;
35
36
  patient_responsibility_cents?: number | null;
37
+ copay_cents?: number | null;
38
+ coinsurance_cents?: number | null;
39
+ deductible_cents?: number | null;
36
40
  diagnosis_id_zero?: DiagnosisId.Raw | null;
37
41
  diagnosis_id_one?: DiagnosisId.Raw | null;
38
42
  diagnosis_id_two?: DiagnosisId.Raw | null;
@@ -55,6 +55,7 @@ const ClaimId_1 = require("../../../../commons/types/ClaimId");
55
55
  const DateRangeOptionalEnd_1 = require("../../../../commons/types/DateRangeOptionalEnd");
56
56
  const TestResult_1 = require("./TestResult");
57
57
  exports.ServiceLine = core.serialization.object({
58
+ createdAt: core.serialization.property("created_at", core.serialization.date()),
58
59
  modifiers: core.serialization.list(ProcedureModifier_1.ProcedureModifier).optional(),
59
60
  chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
60
61
  allowedAmountCents: core.serialization.property("allowed_amount_cents", core.serialization.number().optional()),
@@ -65,6 +66,9 @@ exports.ServiceLine = core.serialization.object({
65
66
  secondaryPaidAmountCents: core.serialization.property("secondary_paid_amount_cents", core.serialization.number().optional()),
66
67
  tertiaryPaidAmountCents: core.serialization.property("tertiary_paid_amount_cents", core.serialization.number().optional()),
67
68
  patientResponsibilityCents: core.serialization.property("patient_responsibility_cents", core.serialization.number().optional()),
69
+ copayCents: core.serialization.property("copay_cents", core.serialization.number().optional()),
70
+ coinsuranceCents: core.serialization.property("coinsurance_cents", core.serialization.number().optional()),
71
+ deductibleCents: core.serialization.property("deductible_cents", core.serialization.number().optional()),
68
72
  diagnosisIdZero: core.serialization.property("diagnosis_id_zero", DiagnosisId_1.DiagnosisId.optional()),
69
73
  diagnosisIdOne: core.serialization.property("diagnosis_id_one", DiagnosisId_1.DiagnosisId.optional()),
70
74
  diagnosisIdTwo: core.serialization.property("diagnosis_id_two", DiagnosisId_1.DiagnosisId.optional()),
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.39.9";
1
+ export declare const SDK_VERSION = "0.39.10";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.39.9";
4
+ exports.SDK_VERSION = "0.39.10";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "candidhealth",
3
- "version": "0.39.9",
3
+ "version": "0.39.10",
4
4
  "private": false,
5
5
  "repository": "https://github.com/candidhealth/candid-node",
6
6
  "main": "./index.js",
@@ -5,6 +5,7 @@ import * as serializers from "../../../../../index";
5
5
  import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  import { PayerUuid } from "./PayerUuid";
8
+ import { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
8
9
  export declare const Payer: core.serialization.ObjectSchema<serializers.payers.v3.Payer.Raw, CandidApi.payers.v3.Payer>;
9
10
  export declare namespace Payer {
10
11
  interface Raw {
@@ -15,5 +16,6 @@ export declare namespace Payer {
15
16
  availity_claims_payer_id?: string | null;
16
17
  availity_eligibility_id?: string | null;
17
18
  availity_remittance_payer_id?: string | null;
19
+ street_address?: StreetAddressLongZip.Raw | null;
18
20
  }
19
21
  }
@@ -39,6 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.Payer = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
41
  const PayerUuid_1 = require("./PayerUuid");
42
+ const StreetAddressLongZip_1 = require("../../../../commons/types/StreetAddressLongZip");
42
43
  exports.Payer = core.serialization.object({
43
44
  payerUuid: core.serialization.property("payer_uuid", PayerUuid_1.PayerUuid),
44
45
  payerId: core.serialization.property("payer_id", core.serialization.string()),
@@ -47,4 +48,5 @@ exports.Payer = core.serialization.object({
47
48
  availityClaimsPayerId: core.serialization.property("availity_claims_payer_id", core.serialization.string().optional()),
48
49
  availityEligibilityId: core.serialization.property("availity_eligibility_id", core.serialization.string().optional()),
49
50
  availityRemittancePayerId: core.serialization.property("availity_remittance_payer_id", core.serialization.string().optional()),
51
+ streetAddress: core.serialization.property("street_address", StreetAddressLongZip_1.StreetAddressLongZip.optional()),
50
52
  });
@@ -23,6 +23,7 @@ import { TestResult } from "./TestResult";
23
23
  export declare const ServiceLine: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLine.Raw, CandidApi.serviceLines.v2.ServiceLine>;
24
24
  export declare namespace ServiceLine {
25
25
  interface Raw {
26
+ created_at: string;
26
27
  modifiers?: ProcedureModifier.Raw[] | null;
27
28
  charge_amount_cents?: number | null;
28
29
  allowed_amount_cents?: number | null;
@@ -33,6 +34,9 @@ export declare namespace ServiceLine {
33
34
  secondary_paid_amount_cents?: number | null;
34
35
  tertiary_paid_amount_cents?: number | null;
35
36
  patient_responsibility_cents?: number | null;
37
+ copay_cents?: number | null;
38
+ coinsurance_cents?: number | null;
39
+ deductible_cents?: number | null;
36
40
  diagnosis_id_zero?: DiagnosisId.Raw | null;
37
41
  diagnosis_id_one?: DiagnosisId.Raw | null;
38
42
  diagnosis_id_two?: DiagnosisId.Raw | null;
@@ -55,6 +55,7 @@ const ClaimId_1 = require("../../../../commons/types/ClaimId");
55
55
  const DateRangeOptionalEnd_1 = require("../../../../commons/types/DateRangeOptionalEnd");
56
56
  const TestResult_1 = require("./TestResult");
57
57
  exports.ServiceLine = core.serialization.object({
58
+ createdAt: core.serialization.property("created_at", core.serialization.date()),
58
59
  modifiers: core.serialization.list(ProcedureModifier_1.ProcedureModifier).optional(),
59
60
  chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
60
61
  allowedAmountCents: core.serialization.property("allowed_amount_cents", core.serialization.number().optional()),
@@ -65,6 +66,9 @@ exports.ServiceLine = core.serialization.object({
65
66
  secondaryPaidAmountCents: core.serialization.property("secondary_paid_amount_cents", core.serialization.number().optional()),
66
67
  tertiaryPaidAmountCents: core.serialization.property("tertiary_paid_amount_cents", core.serialization.number().optional()),
67
68
  patientResponsibilityCents: core.serialization.property("patient_responsibility_cents", core.serialization.number().optional()),
69
+ copayCents: core.serialization.property("copay_cents", core.serialization.number().optional()),
70
+ coinsuranceCents: core.serialization.property("coinsurance_cents", core.serialization.number().optional()),
71
+ deductibleCents: core.serialization.property("deductible_cents", core.serialization.number().optional()),
68
72
  diagnosisIdZero: core.serialization.property("diagnosis_id_zero", DiagnosisId_1.DiagnosisId.optional()),
69
73
  diagnosisIdOne: core.serialization.property("diagnosis_id_one", DiagnosisId_1.DiagnosisId.optional()),
70
74
  diagnosisIdTwo: core.serialization.property("diagnosis_id_two", DiagnosisId_1.DiagnosisId.optional()),
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.39.9";
1
+ export declare const SDK_VERSION = "0.39.10";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.39.9";
4
+ exports.SDK_VERSION = "0.39.10";