candidhealth 0.41.2 → 0.41.3

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 (210) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +15 -10
  3. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  4. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  5. package/api/resources/chargeCapture/resources/v1/client/Client.js +6 -6
  6. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
  7. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +5 -0
  8. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +5 -1
  9. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -0
  10. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  11. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  12. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  13. package/api/resources/diagnoses/client/Client.js +3 -3
  14. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  15. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  16. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  17. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  18. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  19. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  20. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  21. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  22. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  23. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  24. package/api/resources/index.d.ts +1 -0
  25. package/api/resources/index.js +3 -2
  26. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  27. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  28. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  29. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  30. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  31. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  32. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  33. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  34. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  35. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  36. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  37. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  38. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  39. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  40. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  41. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  42. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  43. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  44. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  45. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  46. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  47. package/api/resources/serviceFacility/client/Client.js +1 -1
  48. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  49. package/api/resources/superbills/client/Client.d.ts +30 -0
  50. package/api/resources/superbills/client/Client.js +17 -0
  51. package/api/resources/superbills/client/index.d.ts +1 -0
  52. package/api/resources/superbills/client/index.js +2 -0
  53. package/api/resources/superbills/index.d.ts +2 -0
  54. package/api/resources/superbills/index.js +18 -0
  55. package/api/resources/superbills/resources/index.d.ts +1 -0
  56. package/api/resources/superbills/resources/index.js +37 -0
  57. package/api/resources/superbills/resources/v1/client/Client.d.ts +49 -0
  58. package/api/resources/superbills/resources/v1/client/Client.js +137 -0
  59. package/api/resources/superbills/resources/v1/client/createSuperbill.d.ts +28 -0
  60. package/api/resources/superbills/resources/v1/client/createSuperbill.js +68 -0
  61. package/api/resources/superbills/resources/v1/client/index.d.ts +2 -0
  62. package/api/resources/superbills/resources/v1/client/index.js +41 -0
  63. package/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +33 -0
  64. package/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.js +5 -0
  65. package/api/resources/superbills/resources/v1/client/requests/index.d.ts +1 -0
  66. package/api/resources/superbills/resources/v1/client/requests/index.js +2 -0
  67. package/api/resources/superbills/resources/v1/index.d.ts +2 -0
  68. package/api/resources/superbills/resources/v1/index.js +18 -0
  69. package/api/resources/superbills/resources/v1/types/Superbill.d.ts +18 -0
  70. package/api/resources/superbills/resources/v1/types/Superbill.js +5 -0
  71. package/api/resources/superbills/resources/v1/types/SuperbillResponse.d.ts +8 -0
  72. package/api/resources/superbills/resources/v1/types/SuperbillResponse.js +5 -0
  73. package/api/resources/superbills/resources/v1/types/index.d.ts +2 -0
  74. package/api/resources/superbills/resources/v1/types/index.js +18 -0
  75. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  76. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  77. package/dist/Client.d.ts +3 -0
  78. package/dist/Client.js +15 -10
  79. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  80. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  81. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +6 -6
  82. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
  83. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +5 -0
  84. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +5 -1
  85. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +1 -0
  86. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  87. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  88. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  89. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  90. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  91. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  92. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  93. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  94. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  95. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  96. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  97. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  98. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  99. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  100. package/dist/api/resources/index.d.ts +1 -0
  101. package/dist/api/resources/index.js +3 -2
  102. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  103. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  104. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  105. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  106. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  107. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  108. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  109. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  110. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  111. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  112. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  113. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  114. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  115. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  116. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  117. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  118. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  119. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  120. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  121. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  122. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  123. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  124. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  125. package/dist/api/resources/superbills/client/Client.d.ts +30 -0
  126. package/dist/api/resources/superbills/client/Client.js +17 -0
  127. package/dist/api/resources/superbills/client/index.d.ts +1 -0
  128. package/dist/api/resources/superbills/client/index.js +2 -0
  129. package/dist/api/resources/superbills/index.d.ts +2 -0
  130. package/dist/api/resources/superbills/index.js +18 -0
  131. package/dist/api/resources/superbills/resources/index.d.ts +1 -0
  132. package/dist/api/resources/superbills/resources/index.js +37 -0
  133. package/dist/api/resources/superbills/resources/v1/client/Client.d.ts +49 -0
  134. package/dist/api/resources/superbills/resources/v1/client/Client.js +137 -0
  135. package/dist/api/resources/superbills/resources/v1/client/createSuperbill.d.ts +28 -0
  136. package/dist/api/resources/superbills/resources/v1/client/createSuperbill.js +68 -0
  137. package/dist/api/resources/superbills/resources/v1/client/index.d.ts +2 -0
  138. package/dist/api/resources/superbills/resources/v1/client/index.js +41 -0
  139. package/dist/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +33 -0
  140. package/dist/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.js +5 -0
  141. package/dist/api/resources/superbills/resources/v1/client/requests/index.d.ts +1 -0
  142. package/dist/api/resources/superbills/resources/v1/client/requests/index.js +2 -0
  143. package/dist/api/resources/superbills/resources/v1/index.d.ts +2 -0
  144. package/dist/api/resources/superbills/resources/v1/index.js +18 -0
  145. package/dist/api/resources/superbills/resources/v1/types/Superbill.d.ts +18 -0
  146. package/dist/api/resources/superbills/resources/v1/types/Superbill.js +5 -0
  147. package/dist/api/resources/superbills/resources/v1/types/SuperbillResponse.d.ts +8 -0
  148. package/dist/api/resources/superbills/resources/v1/types/SuperbillResponse.js +5 -0
  149. package/dist/api/resources/superbills/resources/v1/types/index.d.ts +2 -0
  150. package/dist/api/resources/superbills/resources/v1/types/index.js +18 -0
  151. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  152. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  153. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +1 -0
  154. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js +1 -0
  155. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -1
  156. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +9 -1
  157. package/dist/serialization/resources/index.d.ts +1 -0
  158. package/dist/serialization/resources/index.js +3 -2
  159. package/dist/serialization/resources/superbills/index.d.ts +1 -0
  160. package/dist/serialization/resources/superbills/index.js +17 -0
  161. package/dist/serialization/resources/superbills/resources/index.d.ts +1 -0
  162. package/dist/serialization/resources/superbills/resources/index.js +37 -0
  163. package/dist/serialization/resources/superbills/resources/v1/client/createSuperbill.d.ts +15 -0
  164. package/dist/serialization/resources/superbills/resources/v1/client/createSuperbill.js +71 -0
  165. package/dist/serialization/resources/superbills/resources/v1/client/index.d.ts +2 -0
  166. package/dist/serialization/resources/superbills/resources/v1/client/index.js +41 -0
  167. package/dist/serialization/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +17 -0
  168. package/dist/serialization/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.js +48 -0
  169. package/dist/serialization/resources/superbills/resources/v1/client/requests/index.d.ts +1 -0
  170. package/dist/serialization/resources/superbills/resources/v1/client/requests/index.js +5 -0
  171. package/dist/serialization/resources/superbills/resources/v1/index.d.ts +2 -0
  172. package/dist/serialization/resources/superbills/resources/v1/index.js +18 -0
  173. package/dist/serialization/resources/superbills/resources/v1/types/Superbill.d.ts +18 -0
  174. package/dist/serialization/resources/superbills/resources/v1/types/Superbill.js +49 -0
  175. package/dist/serialization/resources/superbills/resources/v1/types/SuperbillResponse.d.ts +13 -0
  176. package/dist/serialization/resources/superbills/resources/v1/types/SuperbillResponse.js +44 -0
  177. package/dist/serialization/resources/superbills/resources/v1/types/index.d.ts +2 -0
  178. package/dist/serialization/resources/superbills/resources/v1/types/index.js +18 -0
  179. package/dist/version.d.ts +1 -1
  180. package/dist/version.js +1 -1
  181. package/package.json +1 -1
  182. package/reference.md +62 -0
  183. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +1 -0
  184. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js +1 -0
  185. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.d.ts +1 -1
  186. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleStatus.js +9 -1
  187. package/serialization/resources/index.d.ts +1 -0
  188. package/serialization/resources/index.js +3 -2
  189. package/serialization/resources/superbills/index.d.ts +1 -0
  190. package/serialization/resources/superbills/index.js +17 -0
  191. package/serialization/resources/superbills/resources/index.d.ts +1 -0
  192. package/serialization/resources/superbills/resources/index.js +37 -0
  193. package/serialization/resources/superbills/resources/v1/client/createSuperbill.d.ts +15 -0
  194. package/serialization/resources/superbills/resources/v1/client/createSuperbill.js +71 -0
  195. package/serialization/resources/superbills/resources/v1/client/index.d.ts +2 -0
  196. package/serialization/resources/superbills/resources/v1/client/index.js +41 -0
  197. package/serialization/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +17 -0
  198. package/serialization/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.js +48 -0
  199. package/serialization/resources/superbills/resources/v1/client/requests/index.d.ts +1 -0
  200. package/serialization/resources/superbills/resources/v1/client/requests/index.js +5 -0
  201. package/serialization/resources/superbills/resources/v1/index.d.ts +2 -0
  202. package/serialization/resources/superbills/resources/v1/index.js +18 -0
  203. package/serialization/resources/superbills/resources/v1/types/Superbill.d.ts +18 -0
  204. package/serialization/resources/superbills/resources/v1/types/Superbill.js +49 -0
  205. package/serialization/resources/superbills/resources/v1/types/SuperbillResponse.d.ts +13 -0
  206. package/serialization/resources/superbills/resources/v1/types/SuperbillResponse.js +44 -0
  207. package/serialization/resources/superbills/resources/v1/types/index.d.ts +2 -0
  208. package/serialization/resources/superbills/resources/v1/types/index.js +18 -0
  209. package/version.d.ts +1 -1
  210. package/version.js +1 -1
@@ -36,8 +36,8 @@ 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.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.remitDrafts = exports.payers = exports.payerPlanGroups = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.credentialing = exports.contracts = exports.clinicalTrials = exports.claimSubmission = exports.chargeCapture = exports.chargeCaptureBundles = exports.billingNotes = exports.auth = exports.commons = exports.feeSchedules = void 0;
40
- exports.eligibility = void 0;
39
+ exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.superbills = exports.serviceLines = exports.remits = exports.remitDrafts = exports.payers = exports.payerPlanGroups = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.credentialing = exports.contracts = exports.clinicalTrials = exports.claimSubmission = exports.chargeCapture = exports.chargeCaptureBundles = exports.billingNotes = exports.auth = exports.commons = exports.feeSchedules = void 0;
40
+ exports.eligibility = exports.tags = void 0;
41
41
  exports.feeSchedules = __importStar(require("./feeSchedules"));
42
42
  exports.commons = __importStar(require("./commons"));
43
43
  __exportStar(require("./commons/errors"), exports);
@@ -75,6 +75,7 @@ exports.payers = __importStar(require("./payers"));
75
75
  exports.remitDrafts = __importStar(require("./remitDrafts"));
76
76
  exports.remits = __importStar(require("./remits"));
77
77
  exports.serviceLines = __importStar(require("./serviceLines"));
78
+ exports.superbills = __importStar(require("./superbills"));
78
79
  exports.tasks = __importStar(require("./tasks"));
79
80
  exports.writeOffs = __importStar(require("./writeOffs"));
80
81
  exports.x12 = __importStar(require("./x12"));
@@ -0,0 +1 @@
1
+ export * from "./resources";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./resources"), exports);
@@ -0,0 +1 @@
1
+ export * as v1 from "./v1";
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.v1 = void 0;
37
+ exports.v1 = __importStar(require("./v1"));
@@ -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 { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
8
+ export declare const Error: core.serialization.Schema<serializers.superbills.v1.createSuperbill.Error.Raw, CandidApi.superbills.v1.createSuperbill.Error>;
9
+ export declare namespace Error {
10
+ type Raw = Error.UnprocessableEntityError;
11
+ interface UnprocessableEntityError {
12
+ errorName: "UnprocessableEntityError";
13
+ content: UnprocessableEntityErrorMessage.Raw;
14
+ }
15
+ }
@@ -0,0 +1,71 @@
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
+ var __rest = (this && this.__rest) || function (s, e) {
39
+ var t = {};
40
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
41
+ t[p] = s[p];
42
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
43
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
44
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
45
+ t[p[i]] = s[p[i]];
46
+ }
47
+ return t;
48
+ };
49
+ Object.defineProperty(exports, "__esModule", { value: true });
50
+ exports.Error = void 0;
51
+ const CandidApi = __importStar(require("../../../../../../api/index"));
52
+ const core = __importStar(require("../../../../../../core"));
53
+ const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
54
+ exports.Error = core.serialization
55
+ .union("errorName", {
56
+ UnprocessableEntityError: core.serialization.object({
57
+ content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
58
+ }),
59
+ })
60
+ .transform({
61
+ transform: (value) => {
62
+ switch (value.errorName) {
63
+ case "UnprocessableEntityError":
64
+ return CandidApi.superbills.v1.createSuperbill.Error.unprocessableEntityError(value.content);
65
+ }
66
+ },
67
+ untransform: (_a) => {
68
+ var { _visit } = _a, value = __rest(_a, ["_visit"]);
69
+ return value;
70
+ },
71
+ });
@@ -0,0 +1,2 @@
1
+ export * as createSuperbill from "./createSuperbill";
2
+ export * from "./requests";
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.createSuperbill = void 0;
40
+ exports.createSuperbill = __importStar(require("./createSuperbill"));
41
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,17 @@
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 { PatientExternalId } from "../../../../../commons/types/PatientExternalId";
8
+ import { StreetAddressShortZip } from "../../../../../commons/types/StreetAddressShortZip";
9
+ export declare const CreateSuperbillRequest: core.serialization.Schema<serializers.superbills.v1.CreateSuperbillRequest.Raw, CandidApi.superbills.v1.CreateSuperbillRequest>;
10
+ export declare namespace CreateSuperbillRequest {
11
+ interface Raw {
12
+ patient_external_id: PatientExternalId.Raw;
13
+ date_range_min: string;
14
+ date_range_max: string;
15
+ pay_to_address?: StreetAddressShortZip.Raw | null;
16
+ }
17
+ }
@@ -0,0 +1,48 @@
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.CreateSuperbillRequest = void 0;
40
+ const core = __importStar(require("../../../../../../../core"));
41
+ const PatientExternalId_1 = require("../../../../../commons/types/PatientExternalId");
42
+ const StreetAddressShortZip_1 = require("../../../../../commons/types/StreetAddressShortZip");
43
+ exports.CreateSuperbillRequest = core.serialization.object({
44
+ patientExternalId: core.serialization.property("patient_external_id", PatientExternalId_1.PatientExternalId),
45
+ dateRangeMin: core.serialization.property("date_range_min", core.serialization.string()),
46
+ dateRangeMax: core.serialization.property("date_range_max", core.serialization.string()),
47
+ payToAddress: core.serialization.property("pay_to_address", StreetAddressShortZip_1.StreetAddressShortZip.optional()),
48
+ });
@@ -0,0 +1 @@
1
+ export { CreateSuperbillRequest } from "./CreateSuperbillRequest";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateSuperbillRequest = void 0;
4
+ var CreateSuperbillRequest_1 = require("./CreateSuperbillRequest");
5
+ Object.defineProperty(exports, "CreateSuperbillRequest", { enumerable: true, get: function () { return CreateSuperbillRequest_1.CreateSuperbillRequest; } });
@@ -0,0 +1,2 @@
1
+ export * from "./types";
2
+ export * from "./client";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -0,0 +1,18 @@
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 { PatientExternalId } from "../../../../commons/types/PatientExternalId";
8
+ export declare const Superbill: core.serialization.ObjectSchema<serializers.superbills.v1.Superbill.Raw, CandidApi.superbills.v1.Superbill>;
9
+ export declare namespace Superbill {
10
+ interface Raw {
11
+ superbill_id: string;
12
+ patient_external_id: PatientExternalId.Raw;
13
+ authed_url: string;
14
+ date_range_min: string;
15
+ date_range_max: string;
16
+ file_name: string;
17
+ }
18
+ }
@@ -0,0 +1,49 @@
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.Superbill = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const PatientExternalId_1 = require("../../../../commons/types/PatientExternalId");
42
+ exports.Superbill = core.serialization.object({
43
+ superbillId: core.serialization.property("superbill_id", core.serialization.string()),
44
+ patientExternalId: core.serialization.property("patient_external_id", PatientExternalId_1.PatientExternalId),
45
+ authedUrl: core.serialization.property("authed_url", core.serialization.string()),
46
+ dateRangeMin: core.serialization.property("date_range_min", core.serialization.string()),
47
+ dateRangeMax: core.serialization.property("date_range_max", core.serialization.string()),
48
+ fileName: core.serialization.property("file_name", core.serialization.string()),
49
+ });
@@ -0,0 +1,13 @@
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 { Superbill } from "./Superbill";
8
+ export declare const SuperbillResponse: core.serialization.ObjectSchema<serializers.superbills.v1.SuperbillResponse.Raw, CandidApi.superbills.v1.SuperbillResponse>;
9
+ export declare namespace SuperbillResponse {
10
+ interface Raw {
11
+ superbills: Superbill.Raw[];
12
+ }
13
+ }
@@ -0,0 +1,44 @@
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.SuperbillResponse = void 0;
40
+ const core = __importStar(require("../../../../../../core"));
41
+ const Superbill_1 = require("./Superbill");
42
+ exports.SuperbillResponse = core.serialization.object({
43
+ superbills: core.serialization.list(Superbill_1.Superbill),
44
+ });
@@ -0,0 +1,2 @@
1
+ export * from "./Superbill";
2
+ export * from "./SuperbillResponse";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./Superbill"), exports);
18
+ __exportStar(require("./SuperbillResponse"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.41.2";
1
+ export declare const SDK_VERSION = "0.41.3";
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.2";
4
+ exports.SDK_VERSION = "0.41.3";