candidhealth 0.43.0 → 0.43.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) 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 +5 -239
  4. package/api/resources/chargeCapture/resources/v1/client/Client.js +16 -249
  5. package/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
  6. package/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
  7. package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  8. package/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
  9. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
  10. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -118
  11. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -118
  12. package/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -6
  13. package/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +3 -3
  14. package/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +6 -0
  15. package/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +5 -0
  16. package/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  17. package/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
  18. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  19. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  20. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  21. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  22. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  23. package/api/resources/diagnoses/client/Client.js +3 -3
  24. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  25. package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +1 -1
  26. package/api/resources/encounterAttachments/resources/v1/client/Client.js +4 -4
  27. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +3 -1
  28. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +2 -0
  29. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
  30. package/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
  31. package/api/resources/encounters/resources/v4/client/Client.d.ts +100 -110
  32. package/api/resources/encounters/resources/v4/client/Client.js +105 -115
  33. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +83 -9
  34. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -97
  35. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  36. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  37. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  38. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  39. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  40. package/api/resources/guarantor/resources/v1/client/Client.d.ts +21 -1
  41. package/api/resources/guarantor/resources/v1/client/Client.js +24 -4
  42. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  43. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  44. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  45. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  46. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  47. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  48. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  49. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  50. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  51. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  52. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  53. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  54. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  55. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  56. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  57. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  58. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  59. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  60. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  61. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  62. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  63. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  64. package/api/resources/serviceFacility/client/Client.js +1 -1
  65. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -1
  66. package/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
  67. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  68. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  69. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  70. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  71. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  72. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -239
  73. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +16 -249
  74. package/dist/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
  75. package/dist/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
  76. package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  77. package/dist/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
  78. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
  79. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -118
  80. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -118
  81. package/dist/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -6
  82. package/dist/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +3 -3
  83. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +6 -0
  84. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +5 -0
  85. package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  86. package/dist/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
  87. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  88. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  89. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  90. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  91. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  92. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  93. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  94. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +1 -1
  95. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +4 -4
  96. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +3 -1
  97. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +2 -0
  98. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
  99. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
  100. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +100 -110
  101. package/dist/api/resources/encounters/resources/v4/client/Client.js +105 -115
  102. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +83 -9
  103. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -97
  104. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  105. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  106. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  107. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  108. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  109. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +21 -1
  110. package/dist/api/resources/guarantor/resources/v1/client/Client.js +24 -4
  111. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  112. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  113. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  114. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  115. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  116. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  117. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  118. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  119. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  120. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  121. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  122. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  123. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  124. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  125. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  126. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  127. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  128. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  129. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  130. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  131. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  132. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  133. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  134. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -1
  135. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
  136. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  137. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  138. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  139. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
  140. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
  141. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  142. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
  143. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
  144. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
  145. package/dist/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -1
  146. package/dist/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +5 -3
  147. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
  148. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
  149. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  150. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
  151. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  152. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +3 -1
  153. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +1 -1
  154. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +1 -1
  155. package/dist/version.d.ts +1 -1
  156. package/dist/version.js +1 -1
  157. package/package.json +1 -1
  158. package/reference.md +181 -358
  159. package/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
  160. package/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
  161. package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  162. package/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
  163. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
  164. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
  165. package/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -1
  166. package/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +5 -3
  167. package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
  168. package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
  169. package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  170. package/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
  171. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  172. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +3 -1
  173. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +1 -1
  174. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +1 -1
  175. package/version.d.ts +1 -1
  176. package/version.js +1 -1
@@ -9,9 +9,10 @@ import { UnauthorizedErrorMessage } from "../../../../commons/types/Unauthorized
9
9
  import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
10
10
  import { SchemaInstanceValidationFailure } from "../../../../encounters/resources/v4/types/SchemaInstanceValidationFailure";
11
11
  import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
12
+ import { ChargeExternalIdConflictErrorMessage } from "../types/ChargeExternalIdConflictErrorMessage";
12
13
  export declare const Error: core.serialization.Schema<serializers.chargeCapture.v1.create.Error.Raw, CandidApi.chargeCapture.v1.create.Error>;
13
14
  export declare namespace Error {
14
- type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.UnprocessableEntityError;
15
+ type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.UnprocessableEntityError | Error.ChargeExternalIdConflictError;
15
16
  interface EntityNotFoundError {
16
17
  errorName: "EntityNotFoundError";
17
18
  content: EntityNotFoundErrorMessage.Raw;
@@ -32,4 +33,8 @@ export declare namespace Error {
32
33
  errorName: "UnprocessableEntityError";
33
34
  content: UnprocessableEntityErrorMessage.Raw;
34
35
  }
36
+ interface ChargeExternalIdConflictError {
37
+ errorName: "ChargeExternalIdConflictError";
38
+ content: ChargeExternalIdConflictErrorMessage.Raw;
39
+ }
35
40
  }
@@ -55,6 +55,7 @@ const UnauthorizedErrorMessage_1 = require("../../../../commons/types/Unauthoriz
55
55
  const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
56
56
  const SchemaInstanceValidationFailure_1 = require("../../../../encounters/resources/v4/types/SchemaInstanceValidationFailure");
57
57
  const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
58
+ const ChargeExternalIdConflictErrorMessage_1 = require("../types/ChargeExternalIdConflictErrorMessage");
58
59
  exports.Error = core.serialization
59
60
  .union("errorName", {
60
61
  EntityNotFoundError: core.serialization.object({
@@ -72,6 +73,9 @@ exports.Error = core.serialization
72
73
  UnprocessableEntityError: core.serialization.object({
73
74
  content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
74
75
  }),
76
+ ChargeExternalIdConflictError: core.serialization.object({
77
+ content: ChargeExternalIdConflictErrorMessage_1.ChargeExternalIdConflictErrorMessage,
78
+ }),
75
79
  })
76
80
  .transform({
77
81
  transform: (value) => {
@@ -86,6 +90,8 @@ exports.Error = core.serialization
86
90
  return CandidApi.chargeCapture.v1.create.Error.schemaInstanceValidationHttpFailure(value.content);
87
91
  case "UnprocessableEntityError":
88
92
  return CandidApi.chargeCapture.v1.create.Error.unprocessableEntityError(value.content);
93
+ case "ChargeExternalIdConflictError":
94
+ return CandidApi.chargeCapture.v1.create.Error.chargeExternalIdConflictError(value.content);
89
95
  }
90
96
  },
91
97
  untransform: (_a) => {
@@ -1,5 +1,5 @@
1
1
  export * as create from "./create";
2
2
  export * as delete from "./delete";
3
3
  export * as update from "./update";
4
- export * as updatePostBilledChange from "./updatePostBilledChange";
4
+ export * as updatePostBilledChanges from "./updatePostBilledChanges";
5
5
  export * from "./requests";
@@ -36,9 +36,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.updatePostBilledChange = exports.update = exports.delete = exports.create = void 0;
39
+ exports.updatePostBilledChanges = exports.update = exports.delete = exports.create = void 0;
40
40
  exports.create = __importStar(require("./create"));
41
41
  exports.delete = __importStar(require("./delete"));
42
42
  exports.update = __importStar(require("./update"));
43
- exports.updatePostBilledChange = __importStar(require("./updatePostBilledChange"));
43
+ exports.updatePostBilledChanges = __importStar(require("./updatePostBilledChanges"));
44
44
  __exportStar(require("./requests"), exports);
@@ -4,9 +4,11 @@
4
4
  import * as serializers from "../../../../../../index";
5
5
  import * as CandidApi from "../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../core";
7
+ import { ChargeCapturePostBilledChangeId } from "../../../../../commons/types/ChargeCapturePostBilledChangeId";
7
8
  export declare const ChargeCapturePostBilledChangeUpdate: core.serialization.Schema<serializers.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate.Raw, CandidApi.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate>;
8
9
  export declare namespace ChargeCapturePostBilledChangeUpdate {
9
10
  interface Raw {
11
+ charge_capture_change_ids: ChargeCapturePostBilledChangeId.Raw[];
10
12
  resolved: boolean;
11
13
  }
12
14
  }
@@ -38,6 +38,8 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ChargeCapturePostBilledChangeUpdate = void 0;
40
40
  const core = __importStar(require("../../../../../../../core"));
41
+ const ChargeCapturePostBilledChangeId_1 = require("../../../../../commons/types/ChargeCapturePostBilledChangeId");
41
42
  exports.ChargeCapturePostBilledChangeUpdate = core.serialization.object({
43
+ chargeCaptureChangeIds: core.serialization.property("charge_capture_change_ids", core.serialization.list(ChargeCapturePostBilledChangeId_1.ChargeCapturePostBilledChangeId)),
42
44
  resolved: core.serialization.boolean(),
43
45
  });
@@ -4,9 +4,14 @@
4
4
  import * as serializers from "../../../../../index";
5
5
  import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
+ import { ChargeCapturePostBilledChange } from "../types/ChargeCapturePostBilledChange";
7
8
  import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
8
9
  import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
9
- export declare const Error: core.serialization.Schema<serializers.chargeCapture.v1.updatePostBilledChange.Error.Raw, CandidApi.chargeCapture.v1.updatePostBilledChange.Error>;
10
+ export declare const Response: core.serialization.Schema<serializers.chargeCapture.v1.updatePostBilledChanges.Response.Raw, CandidApi.chargeCapture.v1.ChargeCapturePostBilledChange[]>;
11
+ export declare namespace Response {
12
+ type Raw = ChargeCapturePostBilledChange.Raw[];
13
+ }
14
+ export declare const Error: core.serialization.Schema<serializers.chargeCapture.v1.updatePostBilledChanges.Error.Raw, CandidApi.chargeCapture.v1.updatePostBilledChanges.Error>;
10
15
  export declare namespace Error {
11
16
  type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
12
17
  interface EntityNotFoundError {
@@ -47,11 +47,13 @@ var __rest = (this && this.__rest) || function (s, e) {
47
47
  return t;
48
48
  };
49
49
  Object.defineProperty(exports, "__esModule", { value: true });
50
- exports.Error = void 0;
50
+ exports.Error = exports.Response = void 0;
51
51
  const CandidApi = __importStar(require("../../../../../../api/index"));
52
52
  const core = __importStar(require("../../../../../../core"));
53
+ const ChargeCapturePostBilledChange_1 = require("../types/ChargeCapturePostBilledChange");
53
54
  const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
54
55
  const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
56
+ exports.Response = core.serialization.list(ChargeCapturePostBilledChange_1.ChargeCapturePostBilledChange);
55
57
  exports.Error = core.serialization
56
58
  .union("errorName", {
57
59
  EntityNotFoundError: core.serialization.object({
@@ -65,9 +67,9 @@ exports.Error = core.serialization
65
67
  transform: (value) => {
66
68
  switch (value.errorName) {
67
69
  case "EntityNotFoundError":
68
- return CandidApi.chargeCapture.v1.updatePostBilledChange.Error.entityNotFoundError(value.content);
70
+ return CandidApi.chargeCapture.v1.updatePostBilledChanges.Error.entityNotFoundError(value.content);
69
71
  case "UnauthorizedError":
70
- return CandidApi.chargeCapture.v1.updatePostBilledChange.Error.unauthorizedError(value.content);
72
+ return CandidApi.chargeCapture.v1.updatePostBilledChanges.Error.unauthorizedError(value.content);
71
73
  }
72
74
  },
73
75
  untransform: (_a) => {
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const ChargeExternalIdConflictErrorMessage: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeExternalIdConflictErrorMessage.Raw, CandidApi.chargeCapture.v1.ChargeExternalIdConflictErrorMessage>;
8
+ export declare namespace ChargeExternalIdConflictErrorMessage {
9
+ interface Raw {
10
+ message?: string | null;
11
+ }
12
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.ChargeExternalIdConflictErrorMessage = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ exports.ChargeExternalIdConflictErrorMessage = core.serialization.object({
42
+ message: core.serialization.string().optional(),
43
+ });
@@ -5,3 +5,4 @@ export * from "./ChargeCaptureError";
5
5
  export * from "./ChargeCaptureSortField";
6
6
  export * from "./ChargeCaptureStatus";
7
7
  export * from "./ChargeCapturePostBilledChange";
8
+ export * from "./ChargeExternalIdConflictErrorMessage";
@@ -21,3 +21,4 @@ __exportStar(require("./ChargeCaptureError"), exports);
21
21
  __exportStar(require("./ChargeCaptureSortField"), exports);
22
22
  __exportStar(require("./ChargeCaptureStatus"), exports);
23
23
  __exportStar(require("./ChargeCapturePostBilledChange"), exports);
24
+ __exportStar(require("./ChargeExternalIdConflictErrorMessage"), exports);
@@ -8,13 +8,15 @@ import { ChargeCaptureClaimCreationId } from "../../../../commons/types/ChargeCa
8
8
  import { EncounterId } from "../../../../commons/types/EncounterId";
9
9
  import { ChargeCaptureClaimCreationStatus } from "./ChargeCaptureClaimCreationStatus";
10
10
  import { ChargeCaptureError } from "../../../../chargeCapture/resources/v1/types/ChargeCaptureError";
11
+ import { ChargeCaptureData } from "../../../../chargeCapture/resources/v1/types/ChargeCaptureData";
11
12
  export declare const ChargeCaptureClaimCreation: core.serialization.ObjectSchema<serializers.chargeCaptureBundles.v1.ChargeCaptureClaimCreation.Raw, CandidApi.chargeCaptureBundles.v1.ChargeCaptureClaimCreation>;
12
13
  export declare namespace ChargeCaptureClaimCreation {
13
14
  interface Raw {
14
15
  id: ChargeCaptureClaimCreationId.Raw;
15
16
  created_encounter_id?: EncounterId.Raw | null;
16
17
  status: ChargeCaptureClaimCreationStatus.Raw;
17
- characteristics: Record<string, string | null | undefined>;
18
+ characteristics: Record<string, unknown | null | undefined>;
18
19
  errors: ChargeCaptureError.Raw[];
20
+ encounter_creation_input?: ChargeCaptureData.Raw | null;
19
21
  }
20
22
  }
@@ -42,10 +42,12 @@ const ChargeCaptureClaimCreationId_1 = require("../../../../commons/types/Charge
42
42
  const EncounterId_1 = require("../../../../commons/types/EncounterId");
43
43
  const ChargeCaptureClaimCreationStatus_1 = require("./ChargeCaptureClaimCreationStatus");
44
44
  const ChargeCaptureError_1 = require("../../../../chargeCapture/resources/v1/types/ChargeCaptureError");
45
+ const ChargeCaptureData_1 = require("../../../../chargeCapture/resources/v1/types/ChargeCaptureData");
45
46
  exports.ChargeCaptureClaimCreation = core.serialization.object({
46
47
  id: ChargeCaptureClaimCreationId_1.ChargeCaptureClaimCreationId,
47
48
  createdEncounterId: core.serialization.property("created_encounter_id", EncounterId_1.EncounterId.optional()),
48
49
  status: ChargeCaptureClaimCreationStatus_1.ChargeCaptureClaimCreationStatus,
49
- characteristics: core.serialization.record(core.serialization.string(), core.serialization.string().optional()),
50
+ characteristics: core.serialization.record(core.serialization.string(), core.serialization.unknown().optional()),
50
51
  errors: core.serialization.list(ChargeCaptureError_1.ChargeCaptureError),
52
+ encounterCreationInput: core.serialization.property("encounter_creation_input", ChargeCaptureData_1.ChargeCaptureData.optional()),
51
53
  });
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const EncounterAttachmentType: core.serialization.Schema<serializers.encounterAttachments.v1.EncounterAttachmentType.Raw, CandidApi.encounterAttachments.v1.EncounterAttachmentType>;
8
8
  export declare namespace EncounterAttachmentType {
9
- type Raw = "DOCUMENTATION";
9
+ type Raw = "DOCUMENTATION" | "EOB" | "OTHER";
10
10
  }
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.EncounterAttachmentType = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
- exports.EncounterAttachmentType = core.serialization.enum_(["DOCUMENTATION"]);
41
+ exports.EncounterAttachmentType = core.serialization.enum_(["DOCUMENTATION", "EOB", "OTHER"]);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.43.0";
1
+ export declare const SDK_VERSION = "0.43.1";
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.43.0";
4
+ exports.SDK_VERSION = "0.43.1";