candidhealth 0.42.0 → 0.42.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 (132) 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 +26 -2
  4. package/api/resources/chargeCapture/resources/v1/client/Client.js +189 -13
  5. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +131 -6
  6. package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -0
  7. package/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +1 -0
  8. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +11 -1
  9. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +88 -8
  10. package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +53 -2
  11. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +1 -1
  12. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +4 -2
  13. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  14. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  15. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  16. package/api/resources/diagnoses/client/Client.js +3 -3
  17. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  18. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  19. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  20. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  21. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  22. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  23. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  24. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  25. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  26. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  27. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  28. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  29. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  30. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  31. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  32. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  33. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  34. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  35. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  36. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  37. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  38. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  39. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  40. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  41. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  42. package/api/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.d.ts +12 -2
  43. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  44. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  45. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  46. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  47. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  48. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  49. package/api/resources/serviceFacility/client/Client.js +1 -1
  50. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  51. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  52. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  53. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  54. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  55. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  56. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +26 -2
  57. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +189 -13
  58. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +131 -6
  59. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -0
  60. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +1 -0
  61. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +11 -1
  62. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +88 -8
  63. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureBundlesRequest.d.ts +53 -2
  64. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +1 -1
  65. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +4 -2
  66. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  67. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  68. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  69. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  70. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  71. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  72. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  73. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  74. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  75. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  76. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  77. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  78. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  79. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  80. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  81. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  82. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  83. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  84. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  85. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  86. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  87. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  88. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  89. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  90. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  91. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  92. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  93. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  94. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  95. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.d.ts +12 -2
  96. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  97. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  98. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  99. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  100. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  101. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  102. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  103. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  104. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  105. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  106. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  107. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -0
  108. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +1 -0
  109. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +1 -0
  110. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +1 -0
  111. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +1 -1
  112. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js +1 -1
  113. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +2 -1
  114. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js +2 -1
  115. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.d.ts +2 -2
  116. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.js +2 -2
  117. package/dist/version.d.ts +1 -1
  118. package/dist/version.js +1 -1
  119. package/package.json +1 -1
  120. package/reference.md +37 -3
  121. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +1 -0
  122. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +1 -0
  123. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.d.ts +1 -0
  124. package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapturePage.js +1 -0
  125. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.d.ts +1 -1
  126. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundle.js +1 -1
  127. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.d.ts +2 -1
  128. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureBundleSummary.js +2 -1
  129. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.d.ts +2 -2
  130. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/MemberInfo.js +2 -2
  131. package/version.d.ts +1 -1
  132. package/version.js +1 -1
@@ -92,7 +92,7 @@ class V2 {
92
92
  const _response = yield core.fetcher({
93
93
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/auth/v2/token"),
94
94
  method: "POST",
95
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.0", "User-Agent": "candidhealth/0.42.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
95
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.3", "User-Agent": "candidhealth/0.42.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
96
  contentType: "application/json",
97
97
  requestType: "json",
98
98
  body: serializers.auth.v2.AuthGetTokenRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -74,7 +74,7 @@ class V2 {
74
74
  const _response = yield core.fetcher({
75
75
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/billing_notes/v2"),
76
76
  method: "POST",
77
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.0", "User-Agent": "candidhealth/0.42.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.3", "User-Agent": "candidhealth/0.42.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
78
  contentType: "application/json",
79
79
  requestType: "json",
80
80
  body: serializers.billingNotes.v2.StandaloneBillingNoteCreate.jsonOrThrow(request, {
@@ -114,7 +114,7 @@ class V2 {
114
114
  const _response = yield core.fetcher({
115
115
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/billing_notes/v2/${encodeURIComponent(serializers.billingNotes.v2.BillingNoteId.jsonOrThrow(billingNoteId))}`),
116
116
  method: "DELETE",
117
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.0", "User-Agent": "candidhealth/0.42.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
117
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.3", "User-Agent": "candidhealth/0.42.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
118
118
  contentType: "application/json",
119
119
  requestType: "json",
120
120
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -165,7 +165,7 @@ class V2 {
165
165
  const _response = yield core.fetcher({
166
166
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/billing_notes/v2/${encodeURIComponent(serializers.billingNotes.v2.BillingNoteId.jsonOrThrow(billingNoteId))}`),
167
167
  method: "PATCH",
168
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.0", "User-Agent": "candidhealth/0.42.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
168
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.3", "User-Agent": "candidhealth/0.42.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
169
169
  contentType: "application/json",
170
170
  requestType: "json",
171
171
  body: serializers.billingNotes.v2.BillingNoteUpdate.jsonOrThrow(request, {
@@ -83,9 +83,33 @@ export declare class V1 {
83
83
  * patientExternalId: "string",
84
84
  * status: "planned",
85
85
  * chargeExternalId: "string",
86
- * dateOfService: "2023-01-15",
86
+ * dateOfServiceMin: "2023-01-15",
87
+ * dateOfServiceMax: "2023-01-15",
88
+ * claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
87
89
  * bundleId: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
88
- * excludeBundled: true
90
+ * bundleIds: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
91
+ * billingProviderNpis: "string",
92
+ * serviceFacilityName: "string",
93
+ * primaryPayerIds: "string",
94
+ * renderingProviderNpis: "string",
95
+ * renderingProviderNames: "string",
96
+ * supervisingProviderNpis: "string",
97
+ * supervisingProviderNames: "string",
98
+ * excludeChargesLinkedToClaims: true,
99
+ * patientExternalIdRankedSort: "string",
100
+ * statusRankedSort: "planned",
101
+ * chargeExternalIdRankedSort: "string",
102
+ * dateOfServiceMinRankedSort: "2023-01-15",
103
+ * dateOfServiceMaxRankedSort: "2023-01-15",
104
+ * claimIdsRankedSort: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
105
+ * bundleIdsRankedSort: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
106
+ * billingProviderNpisRankedSort: "string",
107
+ * serviceFacilityNameRankedSort: "string",
108
+ * primaryPayerIdsRankedSort: "string",
109
+ * renderingProviderNpisRankedSort: "string",
110
+ * renderingProviderNamesRankedSort: "string",
111
+ * supervisingProviderNpisRankedSort: "string",
112
+ * supervisingProviderNamesRankedSort: "string"
89
113
  * })
90
114
  */
91
115
  getAll(request?: CandidApi.chargeCapture.v1.GetAllChargeCapturesRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.chargeCapture.v1.ChargeCapturePage, CandidApi.chargeCapture.v1.getAll.Error>>;
@@ -77,7 +77,7 @@ class V1 {
77
77
  const _response = yield core.fetcher({
78
78
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/charge_captures/v1"),
79
79
  method: "POST",
80
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.0", "User-Agent": "candidhealth/0.42.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
80
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.3", "User-Agent": "candidhealth/0.42.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
81
  contentType: "application/json",
82
82
  requestType: "json",
83
83
  body: serializers.chargeCapture.v1.CreateChargeCaptureRequest.jsonOrThrow(request, {
@@ -135,7 +135,7 @@ class V1 {
135
135
  const _response = yield core.fetcher({
136
136
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/charge_captures/v1/${encodeURIComponent(serializers.ChargeCaptureId.jsonOrThrow(chargeCaptureId))}`),
137
137
  method: "DELETE",
138
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.0", "User-Agent": "candidhealth/0.42.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
138
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.3", "User-Agent": "candidhealth/0.42.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
139
139
  contentType: "application/json",
140
140
  requestType: "json",
141
141
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -189,7 +189,7 @@ class V1 {
189
189
  const _response = yield core.fetcher({
190
190
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/charge_captures/v1/${encodeURIComponent(serializers.ChargeCaptureId.jsonOrThrow(chargeCaptureId))}`),
191
191
  method: "PATCH",
192
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.0", "User-Agent": "candidhealth/0.42.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
192
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.3", "User-Agent": "candidhealth/0.42.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
193
193
  contentType: "application/json",
194
194
  requestType: "json",
195
195
  body: serializers.chargeCapture.v1.ChargeCaptureUpdate.jsonOrThrow(request, {
@@ -247,7 +247,7 @@ class V1 {
247
247
  const _response = yield core.fetcher({
248
248
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/charge_captures/v1/${encodeURIComponent(serializers.ChargeCaptureId.jsonOrThrow(chargeCaptureId))}`),
249
249
  method: "GET",
250
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.0", "User-Agent": "candidhealth/0.42.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
250
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.3", "User-Agent": "candidhealth/0.42.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
251
251
  contentType: "application/json",
252
252
  requestType: "json",
253
253
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -284,15 +284,39 @@ class V1 {
284
284
  * patientExternalId: "string",
285
285
  * status: "planned",
286
286
  * chargeExternalId: "string",
287
- * dateOfService: "2023-01-15",
287
+ * dateOfServiceMin: "2023-01-15",
288
+ * dateOfServiceMax: "2023-01-15",
289
+ * claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
288
290
  * bundleId: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
289
- * excludeBundled: true
291
+ * bundleIds: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
292
+ * billingProviderNpis: "string",
293
+ * serviceFacilityName: "string",
294
+ * primaryPayerIds: "string",
295
+ * renderingProviderNpis: "string",
296
+ * renderingProviderNames: "string",
297
+ * supervisingProviderNpis: "string",
298
+ * supervisingProviderNames: "string",
299
+ * excludeChargesLinkedToClaims: true,
300
+ * patientExternalIdRankedSort: "string",
301
+ * statusRankedSort: "planned",
302
+ * chargeExternalIdRankedSort: "string",
303
+ * dateOfServiceMinRankedSort: "2023-01-15",
304
+ * dateOfServiceMaxRankedSort: "2023-01-15",
305
+ * claimIdsRankedSort: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
306
+ * bundleIdsRankedSort: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
307
+ * billingProviderNpisRankedSort: "string",
308
+ * serviceFacilityNameRankedSort: "string",
309
+ * primaryPayerIdsRankedSort: "string",
310
+ * renderingProviderNpisRankedSort: "string",
311
+ * renderingProviderNamesRankedSort: "string",
312
+ * supervisingProviderNpisRankedSort: "string",
313
+ * supervisingProviderNamesRankedSort: "string"
290
314
  * })
291
315
  */
292
316
  getAll() {
293
317
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
294
318
  var _a, _b;
295
- const { limit, sort, sortDirection, pageToken, patientExternalId, status, chargeExternalId, dateOfService, bundleId, excludeBundled, } = request;
319
+ const { limit, sort, sortDirection, pageToken, patientExternalId, status, chargeExternalId, dateOfServiceMin, dateOfServiceMax, claimIds, bundleId, bundleIds, billingProviderNpis, serviceFacilityName, primaryPayerIds, renderingProviderNpis, renderingProviderNames, supervisingProviderNpis, supervisingProviderNames, excludeChargesLinkedToClaims, patientExternalIdRankedSort, statusRankedSort, chargeExternalIdRankedSort, dateOfServiceMinRankedSort, dateOfServiceMaxRankedSort, claimIdsRankedSort, bundleIdsRankedSort, billingProviderNpisRankedSort, serviceFacilityNameRankedSort, primaryPayerIdsRankedSort, renderingProviderNpisRankedSort, renderingProviderNamesRankedSort, supervisingProviderNpisRankedSort, supervisingProviderNamesRankedSort, } = request;
296
320
  const _queryParams = {};
297
321
  if (limit != null) {
298
322
  _queryParams["limit"] = limit.toString();
@@ -321,19 +345,171 @@ class V1 {
321
345
  if (chargeExternalId != null) {
322
346
  _queryParams["charge_external_id"] = chargeExternalId;
323
347
  }
324
- if (dateOfService != null) {
325
- _queryParams["date_of_service"] = dateOfService;
348
+ if (dateOfServiceMin != null) {
349
+ _queryParams["date_of_service_min"] = dateOfServiceMin;
350
+ }
351
+ if (dateOfServiceMax != null) {
352
+ _queryParams["date_of_service_max"] = dateOfServiceMax;
353
+ }
354
+ if (claimIds != null) {
355
+ if (Array.isArray(claimIds)) {
356
+ _queryParams["claim_ids"] = claimIds.map((item) => serializers.EncounterId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" }));
357
+ }
358
+ else {
359
+ _queryParams["claim_ids"] = claimIds;
360
+ }
326
361
  }
327
362
  if (bundleId != null) {
328
363
  _queryParams["bundle_id"] = bundleId;
329
364
  }
330
- if (excludeBundled != null) {
331
- _queryParams["exclude_bundled"] = excludeBundled.toString();
365
+ if (bundleIds != null) {
366
+ if (Array.isArray(bundleIds)) {
367
+ _queryParams["bundle_ids"] = bundleIds.map((item) => serializers.ChargeCaptureBundleId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" }));
368
+ }
369
+ else {
370
+ _queryParams["bundle_ids"] = bundleIds;
371
+ }
372
+ }
373
+ if (billingProviderNpis != null) {
374
+ if (Array.isArray(billingProviderNpis)) {
375
+ _queryParams["billing_provider_npis"] = billingProviderNpis.map((item) => item);
376
+ }
377
+ else {
378
+ _queryParams["billing_provider_npis"] = billingProviderNpis;
379
+ }
380
+ }
381
+ if (serviceFacilityName != null) {
382
+ _queryParams["service_facility_name"] = serviceFacilityName;
383
+ }
384
+ if (primaryPayerIds != null) {
385
+ if (Array.isArray(primaryPayerIds)) {
386
+ _queryParams["primary_payer_ids"] = primaryPayerIds.map((item) => item);
387
+ }
388
+ else {
389
+ _queryParams["primary_payer_ids"] = primaryPayerIds;
390
+ }
391
+ }
392
+ if (renderingProviderNpis != null) {
393
+ if (Array.isArray(renderingProviderNpis)) {
394
+ _queryParams["rendering_provider_npis"] = renderingProviderNpis.map((item) => item);
395
+ }
396
+ else {
397
+ _queryParams["rendering_provider_npis"] = renderingProviderNpis;
398
+ }
399
+ }
400
+ if (renderingProviderNames != null) {
401
+ if (Array.isArray(renderingProviderNames)) {
402
+ _queryParams["rendering_provider_names"] = renderingProviderNames.map((item) => item);
403
+ }
404
+ else {
405
+ _queryParams["rendering_provider_names"] = renderingProviderNames;
406
+ }
407
+ }
408
+ if (supervisingProviderNpis != null) {
409
+ if (Array.isArray(supervisingProviderNpis)) {
410
+ _queryParams["supervising_provider_npis"] = supervisingProviderNpis.map((item) => item);
411
+ }
412
+ else {
413
+ _queryParams["supervising_provider_npis"] = supervisingProviderNpis;
414
+ }
415
+ }
416
+ if (supervisingProviderNames != null) {
417
+ if (Array.isArray(supervisingProviderNames)) {
418
+ _queryParams["supervising_provider_names"] = supervisingProviderNames.map((item) => item);
419
+ }
420
+ else {
421
+ _queryParams["supervising_provider_names"] = supervisingProviderNames;
422
+ }
423
+ }
424
+ if (excludeChargesLinkedToClaims != null) {
425
+ _queryParams["exclude_charges_linked_to_claims"] = excludeChargesLinkedToClaims.toString();
426
+ }
427
+ if (patientExternalIdRankedSort != null) {
428
+ _queryParams["patient_external_id_ranked_sort"] = patientExternalIdRankedSort;
429
+ }
430
+ if (statusRankedSort != null) {
431
+ _queryParams["status_ranked_sort"] = serializers.chargeCapture.v1.ChargeCaptureStatus.jsonOrThrow(statusRankedSort, { unrecognizedObjectKeys: "strip" });
432
+ }
433
+ if (chargeExternalIdRankedSort != null) {
434
+ _queryParams["charge_external_id_ranked_sort"] = chargeExternalIdRankedSort;
435
+ }
436
+ if (dateOfServiceMinRankedSort != null) {
437
+ _queryParams["date_of_service_min_ranked_sort"] = dateOfServiceMinRankedSort;
438
+ }
439
+ if (dateOfServiceMaxRankedSort != null) {
440
+ _queryParams["date_of_service_max_ranked_sort"] = dateOfServiceMaxRankedSort;
441
+ }
442
+ if (claimIdsRankedSort != null) {
443
+ if (Array.isArray(claimIdsRankedSort)) {
444
+ _queryParams["claim_ids_ranked_sort"] = claimIdsRankedSort.map((item) => serializers.EncounterId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" }));
445
+ }
446
+ else {
447
+ _queryParams["claim_ids_ranked_sort"] = claimIdsRankedSort;
448
+ }
449
+ }
450
+ if (bundleIdsRankedSort != null) {
451
+ if (Array.isArray(bundleIdsRankedSort)) {
452
+ _queryParams["bundle_ids_ranked_sort"] = bundleIdsRankedSort.map((item) => serializers.ChargeCaptureBundleId.jsonOrThrow(item, { unrecognizedObjectKeys: "strip" }));
453
+ }
454
+ else {
455
+ _queryParams["bundle_ids_ranked_sort"] = bundleIdsRankedSort;
456
+ }
457
+ }
458
+ if (billingProviderNpisRankedSort != null) {
459
+ if (Array.isArray(billingProviderNpisRankedSort)) {
460
+ _queryParams["billing_provider_npis_ranked_sort"] = billingProviderNpisRankedSort.map((item) => item);
461
+ }
462
+ else {
463
+ _queryParams["billing_provider_npis_ranked_sort"] = billingProviderNpisRankedSort;
464
+ }
465
+ }
466
+ if (serviceFacilityNameRankedSort != null) {
467
+ _queryParams["service_facility_name_ranked_sort"] = serviceFacilityNameRankedSort;
468
+ }
469
+ if (primaryPayerIdsRankedSort != null) {
470
+ if (Array.isArray(primaryPayerIdsRankedSort)) {
471
+ _queryParams["primary_payer_ids_ranked_sort"] = primaryPayerIdsRankedSort.map((item) => item);
472
+ }
473
+ else {
474
+ _queryParams["primary_payer_ids_ranked_sort"] = primaryPayerIdsRankedSort;
475
+ }
476
+ }
477
+ if (renderingProviderNpisRankedSort != null) {
478
+ if (Array.isArray(renderingProviderNpisRankedSort)) {
479
+ _queryParams["rendering_provider_npis_ranked_sort"] = renderingProviderNpisRankedSort.map((item) => item);
480
+ }
481
+ else {
482
+ _queryParams["rendering_provider_npis_ranked_sort"] = renderingProviderNpisRankedSort;
483
+ }
484
+ }
485
+ if (renderingProviderNamesRankedSort != null) {
486
+ if (Array.isArray(renderingProviderNamesRankedSort)) {
487
+ _queryParams["rendering_provider_names_ranked_sort"] = renderingProviderNamesRankedSort.map((item) => item);
488
+ }
489
+ else {
490
+ _queryParams["rendering_provider_names_ranked_sort"] = renderingProviderNamesRankedSort;
491
+ }
492
+ }
493
+ if (supervisingProviderNpisRankedSort != null) {
494
+ if (Array.isArray(supervisingProviderNpisRankedSort)) {
495
+ _queryParams["supervising_provider_npis_ranked_sort"] = supervisingProviderNpisRankedSort.map((item) => item);
496
+ }
497
+ else {
498
+ _queryParams["supervising_provider_npis_ranked_sort"] = supervisingProviderNpisRankedSort;
499
+ }
500
+ }
501
+ if (supervisingProviderNamesRankedSort != null) {
502
+ if (Array.isArray(supervisingProviderNamesRankedSort)) {
503
+ _queryParams["supervising_provider_names_ranked_sort"] = supervisingProviderNamesRankedSort.map((item) => item);
504
+ }
505
+ else {
506
+ _queryParams["supervising_provider_names_ranked_sort"] = supervisingProviderNamesRankedSort;
507
+ }
332
508
  }
333
509
  const _response = yield core.fetcher({
334
510
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/charge_captures/v1"),
335
511
  method: "GET",
336
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.0", "User-Agent": "candidhealth/0.42.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
512
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.3", "User-Agent": "candidhealth/0.42.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
337
513
  contentType: "application/json",
338
514
  queryParameters: _queryParams,
339
515
  requestType: "json",
@@ -374,7 +550,7 @@ class V1 {
374
550
  const _response = yield core.fetcher({
375
551
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/charge_captures/v1/changes/${encodeURIComponent(serializers.ChargeCapturePostBilledChangeId.jsonOrThrow(chargeCaptureChangeId))}`),
376
552
  method: "PATCH",
377
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.0", "User-Agent": "candidhealth/0.42.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
553
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.42.3", "User-Agent": "candidhealth/0.42.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
378
554
  contentType: "application/json",
379
555
  requestType: "json",
380
556
  body: serializers.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate.jsonOrThrow(request, {
@@ -12,9 +12,33 @@ import * as CandidApi from "../../../../../../index";
12
12
  * patientExternalId: "string",
13
13
  * status: "planned",
14
14
  * chargeExternalId: "string",
15
- * dateOfService: "2023-01-15",
15
+ * dateOfServiceMin: "2023-01-15",
16
+ * dateOfServiceMax: "2023-01-15",
17
+ * claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
16
18
  * bundleId: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
17
- * excludeBundled: true
19
+ * bundleIds: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
20
+ * billingProviderNpis: "string",
21
+ * serviceFacilityName: "string",
22
+ * primaryPayerIds: "string",
23
+ * renderingProviderNpis: "string",
24
+ * renderingProviderNames: "string",
25
+ * supervisingProviderNpis: "string",
26
+ * supervisingProviderNames: "string",
27
+ * excludeChargesLinkedToClaims: true,
28
+ * patientExternalIdRankedSort: "string",
29
+ * statusRankedSort: "planned",
30
+ * chargeExternalIdRankedSort: "string",
31
+ * dateOfServiceMinRankedSort: "2023-01-15",
32
+ * dateOfServiceMaxRankedSort: "2023-01-15",
33
+ * claimIdsRankedSort: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
34
+ * bundleIdsRankedSort: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
35
+ * billingProviderNpisRankedSort: "string",
36
+ * serviceFacilityNameRankedSort: "string",
37
+ * primaryPayerIdsRankedSort: "string",
38
+ * renderingProviderNpisRankedSort: "string",
39
+ * renderingProviderNamesRankedSort: "string",
40
+ * supervisingProviderNpisRankedSort: "string",
41
+ * supervisingProviderNamesRankedSort: "string"
18
42
  * }
19
43
  */
20
44
  export interface GetAllChargeCapturesRequest {
@@ -49,13 +73,114 @@ export interface GetAllChargeCapturesRequest {
49
73
  * Date formatted as YYYY-MM-DD; eg: 2019-08-24.
50
74
  * This date must be the local date in the timezone where the service occurred.
51
75
  */
52
- dateOfService?: string;
76
+ dateOfServiceMin?: string;
53
77
  /**
54
- * The ID of the charge capture bundle to which this charge capture belongs.
78
+ * Date formatted as YYYY-MM-DD; eg: 2019-08-24.
79
+ * This date must be the local date in the timezone where the service occurred.
80
+ */
81
+ dateOfServiceMax?: string;
82
+ /**
83
+ * A list of claim IDs to filter by. This will return all charge captures that have a resulting claim with one of the IDs in this list.
84
+ */
85
+ claimIds?: CandidApi.EncounterId | CandidApi.EncounterId[];
86
+ /**
87
+ * A list of bundle IDs to filter by. Use `bundle_ids` instead.
55
88
  */
56
89
  bundleId?: CandidApi.ChargeCaptureBundleId;
57
90
  /**
58
- * Whether to exclude charge captures which are associated with a charge capture bundle.
91
+ * A list of bundle IDs to filter by.
92
+ */
93
+ bundleIds?: CandidApi.ChargeCaptureBundleId | CandidApi.ChargeCaptureBundleId[];
94
+ /**
95
+ * A list of billing provider NPIs to filter by. This will return all charge captures with one of the NPIs in this list.
96
+ */
97
+ billingProviderNpis?: string | string[];
98
+ /**
99
+ * A string to filter by. This will return all charge captures with this service facility name.
100
+ */
101
+ serviceFacilityName?: string;
102
+ /**
103
+ * A list of primary payer IDs to filter by. This will return all charge captures with one of the primary payer IDs in this list.
104
+ */
105
+ primaryPayerIds?: string | string[];
106
+ /**
107
+ * A list of rendering provider NPIs to filter by. This will return all charge captures with one of the NPIs in this list.
108
+ */
109
+ renderingProviderNpis?: string | string[];
110
+ /**
111
+ * A list of rendering provider names to filter by. This will return all charge captures with one of the names in this list.
112
+ */
113
+ renderingProviderNames?: string | string[];
114
+ /**
115
+ * A list of supervising provider NPIs to filter by. This will return all charge captures with one of the NPIs in this list.
116
+ */
117
+ supervisingProviderNpis?: string | string[];
118
+ /**
119
+ * A list of supervising provider names to filter by. This will return all charge captures with one of the names in this list.
120
+ */
121
+ supervisingProviderNames?: string | string[];
122
+ /**
123
+ * Whether to exclude charge captures which are part of a claim creation.
124
+ */
125
+ excludeChargesLinkedToClaims?: boolean;
126
+ /**
127
+ * The patient ID from the external EMR platform for the patient
128
+ */
129
+ patientExternalIdRankedSort?: string;
130
+ /**
131
+ * The charge capture status to show first
132
+ */
133
+ statusRankedSort?: CandidApi.chargeCapture.v1.ChargeCaptureStatus;
134
+ /**
135
+ * A client-specified unique ID to associate with this encounter;
136
+ * for example, your internal encounter ID or a Dr. Chrono encounter ID.
137
+ * This field should not contain PHI.
138
+ */
139
+ chargeExternalIdRankedSort?: string;
140
+ /**
141
+ * Date formatted as YYYY-MM-DD; eg: 2019-08-24.
142
+ * This date must be the local date in the timezone where the service occurred.
143
+ */
144
+ dateOfServiceMinRankedSort?: string;
145
+ /**
146
+ * Date formatted as YYYY-MM-DD; eg: 2019-08-24.
147
+ * This date must be the local date in the timezone where the service occurred.
148
+ */
149
+ dateOfServiceMaxRankedSort?: string;
150
+ /**
151
+ * A list of claim IDs to show first. This will return all charge captures that have a resulting claim with one of the IDs in this list.
152
+ */
153
+ claimIdsRankedSort?: CandidApi.EncounterId | CandidApi.EncounterId[];
154
+ /**
155
+ * A list of bundle IDs to show first.
156
+ */
157
+ bundleIdsRankedSort?: CandidApi.ChargeCaptureBundleId | CandidApi.ChargeCaptureBundleId[];
158
+ /**
159
+ * A list of billing provider NPIs to show first. This will return all charge captures with one of the NPIs in this list.
160
+ */
161
+ billingProviderNpisRankedSort?: string | string[];
162
+ /**
163
+ * A string to show first. This will return all charge captures with this service facility name.
164
+ */
165
+ serviceFacilityNameRankedSort?: string;
166
+ /**
167
+ * A list of primary payer IDs to show first. This will return all charge captures with one of the primary payer IDs in this list.
168
+ */
169
+ primaryPayerIdsRankedSort?: string | string[];
170
+ /**
171
+ * A list of rendering provider NPIs to show first. This will return all charge captures with one of the NPIs in this list.
172
+ */
173
+ renderingProviderNpisRankedSort?: string | string[];
174
+ /**
175
+ * A list of rendering provider names to show first. This will return all charge captures with one of the names in this list.
176
+ */
177
+ renderingProviderNamesRankedSort?: string | string[];
178
+ /**
179
+ * A list of supervising provider NPIs to show first. This will return all charge captures with one of the NPIs in this list.
180
+ */
181
+ supervisingProviderNpisRankedSort?: string | string[];
182
+ /**
183
+ * A list of supervising provider names to show first. This will return all charge captures with one of the names in this list.
59
184
  */
60
- excludeBundled?: boolean;
185
+ supervisingProviderNamesRankedSort?: string | string[];
61
186
  }
@@ -6,6 +6,7 @@ export interface ChargeCapture {
6
6
  id: CandidApi.ChargeCaptureId;
7
7
  status: CandidApi.chargeCapture.v1.ChargeCaptureStatus;
8
8
  chargeCaptureData: CandidApi.chargeCapture.v1.ChargeCaptureData;
9
+ dateOfService?: string;
9
10
  patientExternalId: CandidApi.PatientExternalId;
10
11
  chargeExternalId: string;
11
12
  ehrSourceUrl?: string;
@@ -4,4 +4,5 @@
4
4
  import * as CandidApi from "../../../../../index";
5
5
  export interface ChargeCapturePage extends CandidApi.ResourcePage {
6
6
  items: CandidApi.chargeCapture.v1.ChargeCapture[];
7
+ itemCount: number;
7
8
  }
@@ -62,7 +62,17 @@ export declare class V1 {
62
62
  * bundleStatus: "not-started",
63
63
  * chargeStatus: "planned",
64
64
  * chargeExternalId: "string",
65
- * dateOfService: "2023-01-15",
65
+ * dateOfServiceMin: "2023-01-15",
66
+ * dateOfServiceMax: "2023-01-15",
67
+ * claimIds: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
68
+ * bundleIds: CandidApi.ChargeCaptureBundleId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
69
+ * billingProviderNpis: "string",
70
+ * serviceFacilityName: "string",
71
+ * primaryPayerIds: "string",
72
+ * renderingProviderNpis: "string",
73
+ * renderingProviderNames: "string",
74
+ * supervisingProviderNpis: "string",
75
+ * supervisingProviderNames: "string",
66
76
  * hasChargeCaptureUpdates: true
67
77
  * })
68
78
  */