candidhealth 0.41.3 → 0.41.5

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 (130) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  3. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +1 -3
  4. package/api/resources/chargeCapture/resources/v1/client/Client.js +7 -9
  5. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -8
  6. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +0 -7
  7. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +0 -5
  8. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +1 -3
  9. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +0 -2
  10. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
  11. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -2
  12. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +0 -1
  13. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  14. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  15. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  16. package/api/resources/diagnoses/client/Client.js +3 -3
  17. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  18. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  19. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  20. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  21. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  22. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  23. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  24. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  25. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  26. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  27. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  28. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  29. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  30. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  31. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  32. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  33. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  34. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  35. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  36. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  37. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  38. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  39. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  40. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  41. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  42. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  43. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  44. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  45. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  46. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  47. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  48. package/api/resources/serviceFacility/client/Client.js +1 -1
  49. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  50. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  51. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  52. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  53. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  54. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  55. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +1 -3
  56. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +7 -9
  57. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -8
  58. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +0 -7
  59. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +0 -5
  60. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +1 -3
  61. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +0 -2
  62. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
  63. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -2
  64. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +0 -1
  65. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  66. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  67. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  68. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  69. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  70. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  71. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  72. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  73. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  74. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  75. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  76. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  77. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  78. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  79. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  80. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  81. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  82. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  83. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  84. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  85. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  86. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  87. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  88. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  89. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  90. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  91. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  92. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  93. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  94. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  95. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  96. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  97. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  98. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  99. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  100. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  101. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  102. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  103. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  104. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  105. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +0 -1
  106. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +0 -1
  107. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +0 -1
  108. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +0 -1
  109. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +0 -1
  110. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +0 -1
  111. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +1 -1
  112. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +1 -9
  113. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -1
  114. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -9
  115. package/dist/version.d.ts +1 -1
  116. package/dist/version.js +1 -1
  117. package/package.json +1 -1
  118. package/reference.md +0 -2
  119. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +0 -1
  120. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +0 -1
  121. package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +0 -1
  122. package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +0 -1
  123. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +0 -1
  124. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +0 -1
  125. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.d.ts +1 -1
  126. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureStatus.js +1 -9
  127. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -1
  128. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -9
  129. package/version.d.ts +1 -1
  130. package/version.js +1 -1
@@ -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.41.3", "User-Agent": "candidhealth/0.41.3", "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.41.5", "User-Agent": "candidhealth/0.41.5", "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.41.3", "User-Agent": "candidhealth/0.41.3", "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.41.5", "User-Agent": "candidhealth/0.41.5", "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.41.3", "User-Agent": "candidhealth/0.41.3", "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.41.5", "User-Agent": "candidhealth/0.41.5", "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.41.3", "User-Agent": "candidhealth/0.41.3", "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.41.5", "User-Agent": "candidhealth/0.41.5", "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,
@@ -297,7 +297,7 @@ class V1 {
297
297
  const _response = yield core.fetcher({
298
298
  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.AdjustmentId.jsonOrThrow(adjustmentId))}/revert`),
299
299
  method: "POST",
300
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.3", "User-Agent": "candidhealth/0.41.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
300
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.5", "User-Agent": "candidhealth/0.41.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
301
301
  contentType: "application/json",
302
302
  requestType: "json",
303
303
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -336,7 +336,7 @@ class V1 {
336
336
  const _response = yield core.fetcher({
337
337
  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.AdjustmentId.jsonOrThrow(adjustmentId))}/revert-era-originated`),
338
338
  method: "POST",
339
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.3", "User-Agent": "candidhealth/0.41.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
339
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.5", "User-Agent": "candidhealth/0.41.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
340
340
  contentType: "application/json",
341
341
  requestType: "json",
342
342
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -14,6 +14,5 @@ export declare namespace ChargeCaptureUpdate {
14
14
  ehr_source_url?: string | null;
15
15
  patient_external_id?: string | null;
16
16
  status?: ChargeCaptureStatus.Raw | null;
17
- date_of_service?: string | null;
18
17
  }
19
18
  }
@@ -46,5 +46,4 @@ exports.ChargeCaptureUpdate = core.serialization.object({
46
46
  ehrSourceUrl: core.serialization.property("ehr_source_url", core.serialization.string().optional()),
47
47
  patientExternalId: core.serialization.property("patient_external_id", core.serialization.string().optional()),
48
48
  status: ChargeCaptureStatus_1.ChargeCaptureStatus.optional(),
49
- dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
50
49
  });
@@ -12,7 +12,6 @@ export declare namespace CreateChargeCaptureRequest {
12
12
  data: ChargeCaptureData.Raw;
13
13
  charge_external_id: string;
14
14
  ehr_source_url?: string | null;
15
- date_of_service?: string | null;
16
15
  patient_external_id: string;
17
16
  status: ChargeCaptureStatus.Raw;
18
17
  }
@@ -44,7 +44,6 @@ exports.CreateChargeCaptureRequest = core.serialization.object({
44
44
  data: ChargeCaptureData_1.ChargeCaptureData,
45
45
  chargeExternalId: core.serialization.property("charge_external_id", core.serialization.string()),
46
46
  ehrSourceUrl: core.serialization.property("ehr_source_url", core.serialization.string().optional()),
47
- dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
48
47
  patientExternalId: core.serialization.property("patient_external_id", core.serialization.string()),
49
48
  status: ChargeCaptureStatus_1.ChargeCaptureStatus,
50
49
  });
@@ -20,7 +20,6 @@ export declare namespace ChargeCapture {
20
20
  patient_external_id: PatientExternalId.Raw;
21
21
  charge_external_id: string;
22
22
  ehr_source_url?: string | null;
23
- date_of_service?: string | null;
24
23
  error?: ChargeCaptureError.Raw | null;
25
24
  updates: ChargeCapturePostBilledChange.Raw[];
26
25
  bundle_id?: ChargeCaptureBundleId.Raw | null;
@@ -52,7 +52,6 @@ exports.ChargeCapture = core.serialization.object({
52
52
  patientExternalId: core.serialization.property("patient_external_id", PatientExternalId_1.PatientExternalId),
53
53
  chargeExternalId: core.serialization.property("charge_external_id", core.serialization.string()),
54
54
  ehrSourceUrl: core.serialization.property("ehr_source_url", core.serialization.string().optional()),
55
- dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
56
55
  error: ChargeCaptureError_1.ChargeCaptureError.optional(),
57
56
  updates: core.serialization.list(ChargeCapturePostBilledChange_1.ChargeCapturePostBilledChange),
58
57
  bundleId: core.serialization.property("bundle_id", ChargeCaptureBundleId_1.ChargeCaptureBundleId.optional()),
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const ChargeCaptureStatus: core.serialization.Schema<serializers.chargeCapture.v1.ChargeCaptureStatus.Raw, CandidApi.chargeCapture.v1.ChargeCaptureStatus>;
8
8
  export declare namespace ChargeCaptureStatus {
9
- type Raw = "planned" | "not-billable" | "billable" | "aborted" | "billed" | "entered-in-error" | "unknown";
9
+ type Raw = "planned" | "not-billable" | "billable" | "aborted" | "entered-in-error";
10
10
  }
@@ -38,12 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ChargeCaptureStatus = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
- exports.ChargeCaptureStatus = core.serialization.enum_([
42
- "planned",
43
- "not-billable",
44
- "billable",
45
- "aborted",
46
- "billed",
47
- "entered-in-error",
48
- "unknown",
49
- ]);
41
+ exports.ChargeCaptureStatus = core.serialization.enum_(["planned", "not-billable", "billable", "aborted", "entered-in-error"]);
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const ChargeCaptureBundleStatus: core.serialization.Schema<serializers.chargeCaptureBundles.v1.ChargeCaptureBundleStatus.Raw, CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundleStatus>;
8
8
  export declare namespace ChargeCaptureBundleStatus {
9
- type Raw = "not-started" | "in-progress" | "in-error" | "successful" | "successful-dry-run" | "aborted" | "held";
9
+ type Raw = "not-started" | "in-error" | "successful" | "successful-dry-run" | "aborted" | "held";
10
10
  }
@@ -38,12 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ChargeCaptureBundleStatus = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
- exports.ChargeCaptureBundleStatus = core.serialization.enum_([
42
- "not-started",
43
- "in-progress",
44
- "in-error",
45
- "successful",
46
- "successful-dry-run",
47
- "aborted",
48
- "held",
49
- ]);
41
+ exports.ChargeCaptureBundleStatus = core.serialization.enum_(["not-started", "in-error", "successful", "successful-dry-run", "aborted", "held"]);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.41.3";
1
+ export declare const SDK_VERSION = "0.41.5";
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.41.3";
4
+ exports.SDK_VERSION = "0.41.5";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "candidhealth",
3
- "version": "0.41.3",
3
+ "version": "0.41.5",
4
4
  "private": false,
5
5
  "repository": "https://github.com/candidhealth/candid-node",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -458,7 +458,6 @@ await client.chargeCapture.v1.create({
458
458
  data: {},
459
459
  chargeExternalId: "string",
460
460
  ehrSourceUrl: "string",
461
- dateOfService: "2023-01-15",
462
461
  patientExternalId: "string",
463
462
  status: "planned",
464
463
  });
@@ -563,7 +562,6 @@ await client.chargeCapture.v1.update(CandidApi.ChargeCaptureId("d5e9c84f-c2b2-4b
563
562
  ehrSourceUrl: "string",
564
563
  patientExternalId: "string",
565
564
  status: "planned",
566
- dateOfService: "2023-01-15",
567
565
  });
568
566
  ```
569
567
 
@@ -14,6 +14,5 @@ export declare namespace ChargeCaptureUpdate {
14
14
  ehr_source_url?: string | null;
15
15
  patient_external_id?: string | null;
16
16
  status?: ChargeCaptureStatus.Raw | null;
17
- date_of_service?: string | null;
18
17
  }
19
18
  }
@@ -46,5 +46,4 @@ exports.ChargeCaptureUpdate = core.serialization.object({
46
46
  ehrSourceUrl: core.serialization.property("ehr_source_url", core.serialization.string().optional()),
47
47
  patientExternalId: core.serialization.property("patient_external_id", core.serialization.string().optional()),
48
48
  status: ChargeCaptureStatus_1.ChargeCaptureStatus.optional(),
49
- dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
50
49
  });
@@ -12,7 +12,6 @@ export declare namespace CreateChargeCaptureRequest {
12
12
  data: ChargeCaptureData.Raw;
13
13
  charge_external_id: string;
14
14
  ehr_source_url?: string | null;
15
- date_of_service?: string | null;
16
15
  patient_external_id: string;
17
16
  status: ChargeCaptureStatus.Raw;
18
17
  }
@@ -44,7 +44,6 @@ exports.CreateChargeCaptureRequest = core.serialization.object({
44
44
  data: ChargeCaptureData_1.ChargeCaptureData,
45
45
  chargeExternalId: core.serialization.property("charge_external_id", core.serialization.string()),
46
46
  ehrSourceUrl: core.serialization.property("ehr_source_url", core.serialization.string().optional()),
47
- dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
48
47
  patientExternalId: core.serialization.property("patient_external_id", core.serialization.string()),
49
48
  status: ChargeCaptureStatus_1.ChargeCaptureStatus,
50
49
  });
@@ -20,7 +20,6 @@ export declare namespace ChargeCapture {
20
20
  patient_external_id: PatientExternalId.Raw;
21
21
  charge_external_id: string;
22
22
  ehr_source_url?: string | null;
23
- date_of_service?: string | null;
24
23
  error?: ChargeCaptureError.Raw | null;
25
24
  updates: ChargeCapturePostBilledChange.Raw[];
26
25
  bundle_id?: ChargeCaptureBundleId.Raw | null;
@@ -52,7 +52,6 @@ exports.ChargeCapture = core.serialization.object({
52
52
  patientExternalId: core.serialization.property("patient_external_id", PatientExternalId_1.PatientExternalId),
53
53
  chargeExternalId: core.serialization.property("charge_external_id", core.serialization.string()),
54
54
  ehrSourceUrl: core.serialization.property("ehr_source_url", core.serialization.string().optional()),
55
- dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
56
55
  error: ChargeCaptureError_1.ChargeCaptureError.optional(),
57
56
  updates: core.serialization.list(ChargeCapturePostBilledChange_1.ChargeCapturePostBilledChange),
58
57
  bundleId: core.serialization.property("bundle_id", ChargeCaptureBundleId_1.ChargeCaptureBundleId.optional()),
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const ChargeCaptureStatus: core.serialization.Schema<serializers.chargeCapture.v1.ChargeCaptureStatus.Raw, CandidApi.chargeCapture.v1.ChargeCaptureStatus>;
8
8
  export declare namespace ChargeCaptureStatus {
9
- type Raw = "planned" | "not-billable" | "billable" | "aborted" | "billed" | "entered-in-error" | "unknown";
9
+ type Raw = "planned" | "not-billable" | "billable" | "aborted" | "entered-in-error";
10
10
  }
@@ -38,12 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ChargeCaptureStatus = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
- exports.ChargeCaptureStatus = core.serialization.enum_([
42
- "planned",
43
- "not-billable",
44
- "billable",
45
- "aborted",
46
- "billed",
47
- "entered-in-error",
48
- "unknown",
49
- ]);
41
+ exports.ChargeCaptureStatus = core.serialization.enum_(["planned", "not-billable", "billable", "aborted", "entered-in-error"]);
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const ChargeCaptureBundleStatus: core.serialization.Schema<serializers.chargeCaptureBundles.v1.ChargeCaptureBundleStatus.Raw, CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundleStatus>;
8
8
  export declare namespace ChargeCaptureBundleStatus {
9
- type Raw = "not-started" | "in-progress" | "in-error" | "successful" | "successful-dry-run" | "aborted" | "held";
9
+ type Raw = "not-started" | "in-error" | "successful" | "successful-dry-run" | "aborted" | "held";
10
10
  }
@@ -38,12 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ChargeCaptureBundleStatus = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
- exports.ChargeCaptureBundleStatus = core.serialization.enum_([
42
- "not-started",
43
- "in-progress",
44
- "in-error",
45
- "successful",
46
- "successful-dry-run",
47
- "aborted",
48
- "held",
49
- ]);
41
+ exports.ChargeCaptureBundleStatus = core.serialization.enum_(["not-started", "in-error", "successful", "successful-dry-run", "aborted", "held"]);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.41.3";
1
+ export declare const SDK_VERSION = "0.41.5";
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.41.3";
4
+ exports.SDK_VERSION = "0.41.5";