candidhealth 0.40.0 → 0.40.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) 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 +4 -1
  4. package/api/resources/chargeCapture/resources/v1/client/Client.js +23 -7
  5. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +16 -1
  6. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -0
  7. package/api/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.d.ts +12 -0
  8. package/api/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.js +5 -0
  9. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.d.ts +8 -0
  10. package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.js +10 -0
  11. package/api/resources/chargeCapture/resources/v1/types/index.d.ts +2 -0
  12. package/api/resources/chargeCapture/resources/v1/types/index.js +2 -0
  13. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +4 -1
  14. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +21 -5
  15. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +16 -1
  16. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +7 -0
  17. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js +9 -0
  18. package/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
  19. package/api/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
  20. package/api/resources/commons/types/ChargeCapturePostBilledChangeId.d.ts +8 -0
  21. package/api/resources/commons/types/ChargeCapturePostBilledChangeId.js +9 -0
  22. package/api/resources/commons/types/index.d.ts +1 -0
  23. package/api/resources/commons/types/index.js +1 -0
  24. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  25. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  26. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  27. package/api/resources/diagnoses/client/Client.js +3 -3
  28. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  29. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  30. package/api/resources/encounters/resources/v4/client/Client.d.ts +30 -0
  31. package/api/resources/encounters/resources/v4/client/Client.js +35 -5
  32. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -0
  33. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  34. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
  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.js +3 -3
  41. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  42. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  43. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  44. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  45. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  46. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  47. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  48. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  49. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  50. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  51. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  52. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  53. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  54. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  55. package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +1 -0
  56. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  57. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  58. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  59. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  60. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  61. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  62. package/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +2 -1
  63. package/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +1 -0
  64. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  65. package/api/resources/serviceFacility/client/Client.js +1 -1
  66. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  67. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  68. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  69. package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
  70. package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  71. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  72. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  73. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +4 -1
  74. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +23 -7
  75. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +16 -1
  76. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -0
  77. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.d.ts +12 -0
  78. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.js +5 -0
  79. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.d.ts +8 -0
  80. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.js +10 -0
  81. package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +2 -0
  82. package/dist/api/resources/chargeCapture/resources/v1/types/index.js +2 -0
  83. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +4 -1
  84. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +21 -5
  85. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +16 -1
  86. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +7 -0
  87. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js +9 -0
  88. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
  89. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
  90. package/dist/api/resources/commons/types/ChargeCapturePostBilledChangeId.d.ts +8 -0
  91. package/dist/api/resources/commons/types/ChargeCapturePostBilledChangeId.js +9 -0
  92. package/dist/api/resources/commons/types/index.d.ts +1 -0
  93. package/dist/api/resources/commons/types/index.js +1 -0
  94. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  95. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  96. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  97. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  98. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  99. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  100. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +30 -0
  101. package/dist/api/resources/encounters/resources/v4/client/Client.js +35 -5
  102. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -0
  103. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  104. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
  105. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  106. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  107. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  108. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  109. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  110. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  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 +5 -5
  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/payers/resources/v3/client/Client.js +2 -2
  124. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  125. package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +1 -0
  126. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  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/patients/resources/v1/types/AuthorizationUnit.d.ts +2 -1
  133. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +1 -0
  134. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  135. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  136. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  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/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
  140. package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  141. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
  142. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -0
  143. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.d.ts +15 -0
  144. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.js +46 -0
  145. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.d.ts +10 -0
  146. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.js +41 -0
  147. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +2 -0
  148. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +2 -0
  149. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +10 -0
  150. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js +41 -0
  151. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
  152. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
  153. package/dist/serialization/resources/commons/types/ChargeCapturePostBilledChangeId.d.ts +10 -0
  154. package/dist/serialization/resources/commons/types/ChargeCapturePostBilledChangeId.js +45 -0
  155. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  156. package/dist/serialization/resources/commons/types/index.js +1 -0
  157. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  158. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  159. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  160. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  161. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -0
  162. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -0
  163. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  164. package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +2 -0
  165. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +1 -1
  166. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +1 -1
  167. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
  168. package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  169. package/dist/version.d.ts +1 -1
  170. package/dist/version.js +1 -1
  171. package/package.json +1 -1
  172. package/reference.md +36 -0
  173. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
  174. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -0
  175. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.d.ts +15 -0
  176. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePostBilledChange.js +46 -0
  177. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.d.ts +10 -0
  178. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureSortField.js +41 -0
  179. package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +2 -0
  180. package/serialization/resources/chargeCapture/resources/v1/types/index.js +2 -0
  181. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.d.ts +10 -0
  182. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSortField.js +41 -0
  183. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.d.ts +1 -0
  184. package/serialization/resources/chargeCaptureBundles/resources/v1/types/index.js +1 -0
  185. package/serialization/resources/commons/types/ChargeCapturePostBilledChangeId.d.ts +10 -0
  186. package/serialization/resources/commons/types/ChargeCapturePostBilledChangeId.js +45 -0
  187. package/serialization/resources/commons/types/index.d.ts +1 -0
  188. package/serialization/resources/commons/types/index.js +1 -0
  189. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  190. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  191. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  192. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  193. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -0
  194. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -0
  195. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
  196. package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +2 -0
  197. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.d.ts +1 -1
  198. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/AuthorizationUnit.js +1 -1
  199. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
  200. package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
  201. package/version.d.ts +1 -1
  202. package/version.js +1 -1
@@ -42,6 +42,7 @@ const ChargeCaptureId_1 = require("../../../../commons/types/ChargeCaptureId");
42
42
  const ChargeCaptureStatus_1 = require("./ChargeCaptureStatus");
43
43
  const ChargeCaptureData_1 = require("./ChargeCaptureData");
44
44
  const PatientExternalId_1 = require("../../../../commons/types/PatientExternalId");
45
+ const ChargeCapturePostBilledChange_1 = require("./ChargeCapturePostBilledChange");
45
46
  exports.ChargeCapture = core.serialization.object({
46
47
  id: ChargeCaptureId_1.ChargeCaptureId,
47
48
  status: ChargeCaptureStatus_1.ChargeCaptureStatus,
@@ -50,4 +51,5 @@ exports.ChargeCapture = core.serialization.object({
50
51
  chargeExternalId: core.serialization.property("charge_external_id", core.serialization.string()),
51
52
  ehrSourceUrl: core.serialization.property("ehr_source_url", core.serialization.string().optional()),
52
53
  dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
54
+ updates: core.serialization.list(ChargeCapturePostBilledChange_1.ChargeCapturePostBilledChange),
53
55
  });
@@ -0,0 +1,15 @@
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
+ import { ChargeCapturePostBilledChangeId } from "../../../../commons/types/ChargeCapturePostBilledChangeId";
8
+ export declare const ChargeCapturePostBilledChange: core.serialization.ObjectSchema<serializers.chargeCapture.v1.ChargeCapturePostBilledChange.Raw, CandidApi.chargeCapture.v1.ChargeCapturePostBilledChange>;
9
+ export declare namespace ChargeCapturePostBilledChange {
10
+ interface Raw {
11
+ id: ChargeCapturePostBilledChangeId.Raw;
12
+ message: string;
13
+ resolved: boolean;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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.ChargeCapturePostBilledChange = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const ChargeCapturePostBilledChangeId_1 = require("../../../../commons/types/ChargeCapturePostBilledChangeId");
42
+ exports.ChargeCapturePostBilledChange = core.serialization.object({
43
+ id: ChargeCapturePostBilledChangeId_1.ChargeCapturePostBilledChangeId,
44
+ message: core.serialization.string(),
45
+ resolved: core.serialization.boolean(),
46
+ });
@@ -0,0 +1,10 @@
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 ChargeCaptureSortField: core.serialization.Schema<serializers.chargeCapture.v1.ChargeCaptureSortField.Raw, CandidApi.chargeCapture.v1.ChargeCaptureSortField>;
8
+ export declare namespace ChargeCaptureSortField {
9
+ type Raw = "created_at" | "date_of_service";
10
+ }
@@ -0,0 +1,41 @@
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.ChargeCaptureSortField = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ exports.ChargeCaptureSortField = core.serialization.enum_(["created_at", "date_of_service"]);
@@ -1,4 +1,6 @@
1
1
  export * from "./ChargeCapturePage";
2
2
  export * from "./ChargeCapture";
3
3
  export * from "./ChargeCaptureData";
4
+ export * from "./ChargeCaptureSortField";
4
5
  export * from "./ChargeCaptureStatus";
6
+ export * from "./ChargeCapturePostBilledChange";
@@ -17,4 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ChargeCapturePage"), exports);
18
18
  __exportStar(require("./ChargeCapture"), exports);
19
19
  __exportStar(require("./ChargeCaptureData"), exports);
20
+ __exportStar(require("./ChargeCaptureSortField"), exports);
20
21
  __exportStar(require("./ChargeCaptureStatus"), exports);
22
+ __exportStar(require("./ChargeCapturePostBilledChange"), exports);
@@ -0,0 +1,10 @@
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 ChargeCaptureBundleSortField: core.serialization.Schema<serializers.chargeCaptureBundles.v1.ChargeCaptureBundleSortField.Raw, CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundleSortField>;
8
+ export declare namespace ChargeCaptureBundleSortField {
9
+ type Raw = "created_at";
10
+ }
@@ -0,0 +1,41 @@
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.ChargeCaptureBundleSortField = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ exports.ChargeCaptureBundleSortField = core.serialization.enum_(["created_at"]);
@@ -2,3 +2,4 @@ export * from "./ChargeCaptureBundlePage";
2
2
  export * from "./ChargeCaptureBundle";
3
3
  export * from "./ChargeBundleError";
4
4
  export * from "./ChargeCaptureBundleStatus";
5
+ export * from "./ChargeCaptureBundleSortField";
@@ -18,3 +18,4 @@ __exportStar(require("./ChargeCaptureBundlePage"), exports);
18
18
  __exportStar(require("./ChargeCaptureBundle"), exports);
19
19
  __exportStar(require("./ChargeBundleError"), exports);
20
20
  __exportStar(require("./ChargeCaptureBundleStatus"), exports);
21
+ __exportStar(require("./ChargeCaptureBundleSortField"), exports);
@@ -0,0 +1,10 @@
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 ChargeCapturePostBilledChangeId: core.serialization.Schema<serializers.ChargeCapturePostBilledChangeId.Raw, CandidApi.ChargeCapturePostBilledChangeId>;
8
+ export declare namespace ChargeCapturePostBilledChangeId {
9
+ type Raw = string;
10
+ }
@@ -0,0 +1,45 @@
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.ChargeCapturePostBilledChangeId = void 0;
40
+ const CandidApi = __importStar(require("../../../../api/index"));
41
+ const core = __importStar(require("../../../../core"));
42
+ exports.ChargeCapturePostBilledChangeId = core.serialization.string().transform({
43
+ transform: CandidApi.ChargeCapturePostBilledChangeId,
44
+ untransform: (value) => value,
45
+ });
@@ -1,6 +1,7 @@
1
1
  export * from "./EncounterId";
2
2
  export * from "./ChargeCaptureId";
3
3
  export * from "./ChargeCaptureBundleId";
4
+ export * from "./ChargeCapturePostBilledChangeId";
4
5
  export * from "./OrganizationId";
5
6
  export * from "./ClaimId";
6
7
  export * from "./PreEncounterPatientId";
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./EncounterId"), exports);
18
18
  __exportStar(require("./ChargeCaptureId"), exports);
19
19
  __exportStar(require("./ChargeCaptureBundleId"), exports);
20
+ __exportStar(require("./ChargeCapturePostBilledChangeId"), exports);
20
21
  __exportStar(require("./OrganizationId"), exports);
21
22
  __exportStar(require("./ClaimId"), exports);
22
23
  __exportStar(require("./PreEncounterPatientId"), exports);
@@ -39,6 +39,7 @@ export declare namespace EncounterCreate {
39
39
  service_facility?: EncounterServiceFacilityBase.Raw | null;
40
40
  subscriber_primary?: SubscriberCreate.Raw | null;
41
41
  subscriber_secondary?: SubscriberCreate.Raw | null;
42
+ subscriber_tertiary?: SubscriberCreate.Raw | null;
42
43
  prior_authorization_number?: PriorAuthorizationNumber.Raw | null;
43
44
  responsible_party: ResponsiblePartyType.Raw;
44
45
  diagnoses: DiagnosisCreate.Raw[];
@@ -72,6 +72,7 @@ exports.EncounterCreate = core.serialization
72
72
  serviceFacility: core.serialization.property("service_facility", EncounterServiceFacilityBase_1.EncounterServiceFacilityBase.optional()),
73
73
  subscriberPrimary: core.serialization.property("subscriber_primary", SubscriberCreate_1.SubscriberCreate.optional()),
74
74
  subscriberSecondary: core.serialization.property("subscriber_secondary", SubscriberCreate_1.SubscriberCreate.optional()),
75
+ subscriberTertiary: core.serialization.property("subscriber_tertiary", SubscriberCreate_1.SubscriberCreate.optional()),
75
76
  priorAuthorizationNumber: core.serialization.property("prior_authorization_number", PriorAuthorizationNumber_1.PriorAuthorizationNumber.optional()),
76
77
  responsibleParty: core.serialization.property("responsible_party", ResponsiblePartyType_1.ResponsiblePartyType),
77
78
  diagnoses: core.serialization.list(DiagnosisCreate_1.DiagnosisCreate),
@@ -45,6 +45,7 @@ export declare namespace Encounter {
45
45
  service_facility: EncounterServiceFacility.Raw;
46
46
  subscriber_primary?: Subscriber.Raw | null;
47
47
  subscriber_secondary?: Subscriber.Raw | null;
48
+ subscriber_tertiary?: Subscriber.Raw | null;
48
49
  prior_authorization_number?: PriorAuthorizationNumber.Raw | null;
49
50
  responsible_party: ResponsiblePartyType.Raw;
50
51
  url: LinkUrl.Raw;
@@ -78,6 +78,7 @@ exports.Encounter = core.serialization
78
78
  serviceFacility: core.serialization.property("service_facility", EncounterServiceFacility_1.EncounterServiceFacility),
79
79
  subscriberPrimary: core.serialization.property("subscriber_primary", Subscriber_1.Subscriber.optional()),
80
80
  subscriberSecondary: core.serialization.property("subscriber_secondary", Subscriber_1.Subscriber.optional()),
81
+ subscriberTertiary: core.serialization.property("subscriber_tertiary", Subscriber_1.Subscriber.optional()),
81
82
  priorAuthorizationNumber: core.serialization.property("prior_authorization_number", PriorAuthorizationNumber_1.PriorAuthorizationNumber.optional()),
82
83
  responsibleParty: core.serialization.property("responsible_party", ResponsiblePartyType_1.ResponsiblePartyType),
83
84
  url: LinkUrl_1.LinkUrl,
@@ -48,6 +48,7 @@ export declare namespace EncounterOptional {
48
48
  end_date_of_service?: string | null;
49
49
  subscriber_primary?: SubscriberCreate.Raw | null;
50
50
  subscriber_secondary?: SubscriberCreate.Raw | null;
51
+ subscriber_tertiary?: SubscriberCreate.Raw | null;
51
52
  additional_information?: string | null;
52
53
  service_authorization_exception_code?: ServiceAuthorizationExceptionCode.Raw | null;
53
54
  admission_date?: string | null;
@@ -80,6 +80,7 @@ exports.EncounterOptional = core.serialization.object({
80
80
  endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
81
81
  subscriberPrimary: core.serialization.property("subscriber_primary", SubscriberCreate_1.SubscriberCreate.optional()),
82
82
  subscriberSecondary: core.serialization.property("subscriber_secondary", SubscriberCreate_1.SubscriberCreate.optional()),
83
+ subscriberTertiary: core.serialization.property("subscriber_tertiary", SubscriberCreate_1.SubscriberCreate.optional()),
83
84
  additionalInformation: core.serialization.property("additional_information", core.serialization.string().optional()),
84
85
  serviceAuthorizationExceptionCode: core.serialization.property("service_authorization_exception_code", ServiceAuthorizationExceptionCode_1.ServiceAuthorizationExceptionCode.optional()),
85
86
  admissionDate: core.serialization.property("admission_date", core.serialization.string().optional()),
@@ -5,12 +5,14 @@ import * as serializers from "../../../../../index";
5
5
  import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  import { CanonicalNonInsurancePayerId } from "./CanonicalNonInsurancePayerId";
8
+ import { Period } from "./Period";
8
9
  import { CanonicalClinicalTrialAssociation } from "./CanonicalClinicalTrialAssociation";
9
10
  export declare const CanonicalNonInsurancePayerAssociation: core.serialization.ObjectSchema<serializers.preEncounter.CanonicalNonInsurancePayerAssociation.Raw, CandidApi.preEncounter.CanonicalNonInsurancePayerAssociation>;
10
11
  export declare namespace CanonicalNonInsurancePayerAssociation {
11
12
  interface Raw {
12
13
  id: CanonicalNonInsurancePayerId.Raw;
13
14
  member_id?: string | null;
15
+ period?: Period.Raw | null;
14
16
  clinical_trial_info?: CanonicalClinicalTrialAssociation.Raw[] | null;
15
17
  }
16
18
  }
@@ -39,9 +39,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.CanonicalNonInsurancePayerAssociation = void 0;
40
40
  const core = __importStar(require("../../../../../../core"));
41
41
  const CanonicalNonInsurancePayerId_1 = require("./CanonicalNonInsurancePayerId");
42
+ const Period_1 = require("./Period");
42
43
  const CanonicalClinicalTrialAssociation_1 = require("./CanonicalClinicalTrialAssociation");
43
44
  exports.CanonicalNonInsurancePayerAssociation = core.serialization.object({
44
45
  id: CanonicalNonInsurancePayerId_1.CanonicalNonInsurancePayerId,
45
46
  memberId: core.serialization.property("member_id", core.serialization.string().optional()),
47
+ period: Period_1.Period.optional(),
46
48
  clinicalTrialInfo: core.serialization.property("clinical_trial_info", core.serialization.list(CanonicalClinicalTrialAssociation_1.CanonicalClinicalTrialAssociation).optional()),
47
49
  });
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../core";
7
7
  export declare const AuthorizationUnit: core.serialization.Schema<serializers.preEncounter.patients.v1.AuthorizationUnit.Raw, CandidApi.preEncounter.patients.v1.AuthorizationUnit>;
8
8
  export declare namespace AuthorizationUnit {
9
- type Raw = "VISIT";
9
+ type Raw = "VISIT" | "UNIT";
10
10
  }
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.AuthorizationUnit = void 0;
40
40
  const core = __importStar(require("../../../../../../../../core"));
41
- exports.AuthorizationUnit = core.serialization.enum_(["VISIT"]);
41
+ exports.AuthorizationUnit = core.serialization.enum_(["VISIT", "UNIT"]);
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const PatientWriteOffReason: core.serialization.Schema<serializers.writeOffs.v1.PatientWriteOffReason.Raw, CandidApi.writeOffs.v1.PatientWriteOffReason>;
8
8
  export declare namespace PatientWriteOffReason {
9
- type Raw = "SMALL_BALANCE" | "CHARITY_OR_FINANCIAL_ASSISTANCE" | "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY" | "OON_COURTESY_ADJUSTMENT" | "PROMPT_PAY_DISCOUNT" | "BAD_DEBT" | "COLLECTION_AGENCY" | "OTHER" | "UNKNOWN";
9
+ type Raw = "SMALL_BALANCE" | "CHARITY_OR_FINANCIAL_ASSISTANCE" | "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY" | "OON_COURTESY_ADJUSTMENT" | "PROMPT_PAY_DISCOUNT" | "BAD_DEBT" | "COLLECTION_AGENCY" | "OTHER" | "UNKNOWN" | "UNCOLLECTIBLE_OR_NON_BILLABLE";
10
10
  }
@@ -48,4 +48,5 @@ exports.PatientWriteOffReason = core.serialization.enum_([
48
48
  "COLLECTION_AGENCY",
49
49
  "OTHER",
50
50
  "UNKNOWN",
51
+ "UNCOLLECTIBLE_OR_NON_BILLABLE",
51
52
  ]);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.40.0";
1
+ export declare const SDK_VERSION = "0.40.2";
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.40.0";
4
+ exports.SDK_VERSION = "0.40.2";