candidhealth 0.41.5 → 0.42.0

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 (93) 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.js +6 -6
  4. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
  5. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  6. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  7. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  8. package/api/resources/diagnoses/client/Client.js +3 -3
  9. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  10. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  11. package/api/resources/encounters/resources/v4/client/Client.js +5 -5
  12. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  13. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  14. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  15. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  16. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  17. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  18. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  19. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  20. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  21. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  22. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  23. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  24. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  25. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  26. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  27. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  28. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  29. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  30. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  31. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  32. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  33. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  34. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  35. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  36. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  37. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  38. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  39. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  40. package/api/resources/serviceFacility/client/Client.js +1 -1
  41. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  42. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  43. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  44. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  45. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  46. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  47. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +6 -6
  48. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
  49. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  50. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  51. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  52. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  53. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  54. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  55. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
  56. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  57. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  58. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  59. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  60. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  61. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  62. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  63. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  64. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  65. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  66. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  67. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  68. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  69. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  70. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  71. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  72. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  73. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  74. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  75. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  76. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  77. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  78. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  79. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  80. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  81. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  82. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  83. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  84. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  85. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  86. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  87. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  88. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  89. package/dist/version.d.ts +1 -1
  90. package/dist/version.js +1 -1
  91. package/package.json +1 -1
  92. package/version.d.ts +1 -1
  93. package/version.js +1 -1
@@ -120,7 +120,7 @@ class V2 {
120
120
  const _response = yield core.fetcher({
121
121
  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/service-lines/v2"),
122
122
  method: "POST",
123
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.5", "User-Agent": "candidhealth/0.41.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
123
+ 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),
124
124
  contentType: "application/json",
125
125
  requestType: "json",
126
126
  body: serializers.serviceLines.v2.ServiceLineCreateStandalone.jsonOrThrow(request, {
@@ -209,7 +209,7 @@ class V2 {
209
209
  const _response = yield core.fetcher({
210
210
  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/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
211
211
  method: "PATCH",
212
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.5", "User-Agent": "candidhealth/0.41.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
212
+ 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),
213
213
  contentType: "application/json",
214
214
  requestType: "json",
215
215
  body: serializers.serviceLines.v2.ServiceLineUpdate.jsonOrThrow(request, {
@@ -265,7 +265,7 @@ class V2 {
265
265
  const _response = yield core.fetcher({
266
266
  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/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
267
267
  method: "DELETE",
268
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.5", "User-Agent": "candidhealth/0.41.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
268
+ 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),
269
269
  contentType: "application/json",
270
270
  requestType: "json",
271
271
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -83,7 +83,7 @@ class V1 {
83
83
  const _response = yield core.fetcher({
84
84
  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/superbill/v1"),
85
85
  method: "POST",
86
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.5", "User-Agent": "candidhealth/0.41.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
+ 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),
87
87
  contentType: "application/json",
88
88
  requestType: "json",
89
89
  body: serializers.superbills.v1.CreateSuperbillRequest.jsonOrThrow(request, {
@@ -71,7 +71,7 @@ class V3 {
71
71
  const _response = yield core.fetcher({
72
72
  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/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}/actions`),
73
73
  method: "GET",
74
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.5", "User-Agent": "candidhealth/0.41.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
74
+ 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),
75
75
  contentType: "application/json",
76
76
  requestType: "json",
77
77
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -169,7 +169,7 @@ class V3 {
169
169
  const _response = yield core.fetcher({
170
170
  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/tasks/v3"),
171
171
  method: "GET",
172
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.5", "User-Agent": "candidhealth/0.41.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
172
+ 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),
173
173
  contentType: "application/json",
174
174
  queryParameters: _queryParams,
175
175
  requestType: "json",
@@ -221,7 +221,7 @@ class V3 {
221
221
  const _response = yield core.fetcher({
222
222
  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/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}`),
223
223
  method: "GET",
224
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.5", "User-Agent": "candidhealth/0.41.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
224
+ 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),
225
225
  contentType: "application/json",
226
226
  requestType: "json",
227
227
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -281,7 +281,7 @@ class V3 {
281
281
  const _response = yield core.fetcher({
282
282
  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/tasks/v3"),
283
283
  method: "POST",
284
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.5", "User-Agent": "candidhealth/0.41.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
284
+ 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),
285
285
  contentType: "application/json",
286
286
  requestType: "json",
287
287
  body: serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -324,7 +324,7 @@ class V3 {
324
324
  const _response = yield core.fetcher({
325
325
  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/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}`),
326
326
  method: "PATCH",
327
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.5", "User-Agent": "candidhealth/0.41.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
327
+ 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),
328
328
  contentType: "application/json",
329
329
  requestType: "json",
330
330
  body: serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -127,7 +127,7 @@ class V1 {
127
127
  const _response = yield core.fetcher({
128
128
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/write-offs/v1"),
129
129
  method: "GET",
130
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.5", "User-Agent": "candidhealth/0.41.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
130
+ 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),
131
131
  contentType: "application/json",
132
132
  queryParameters: _queryParams,
133
133
  requestType: "json",
@@ -167,7 +167,7 @@ class V1 {
167
167
  const _response = yield core.fetcher({
168
168
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}`),
169
169
  method: "GET",
170
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.5", "User-Agent": "candidhealth/0.41.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
170
+ 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),
171
171
  contentType: "application/json",
172
172
  requestType: "json",
173
173
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -216,7 +216,7 @@ class V1 {
216
216
  const _response = yield core.fetcher({
217
217
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/write-offs/v1"),
218
218
  method: "POST",
219
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.5", "User-Agent": "candidhealth/0.41.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
219
+ 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),
220
220
  contentType: "application/json",
221
221
  requestType: "json",
222
222
  body: serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
@@ -258,7 +258,7 @@ class V1 {
258
258
  const _response = yield core.fetcher({
259
259
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}/revert`),
260
260
  method: "POST",
261
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.5", "User-Agent": "candidhealth/0.41.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
261
+ 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),
262
262
  contentType: "application/json",
263
263
  requestType: "json",
264
264
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -297,7 +297,7 @@ class V1 {
297
297
  const _response = yield core.fetcher({
298
298
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.AdjustmentId.jsonOrThrow(adjustmentId))}/revert`),
299
299
  method: "POST",
300
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.5", "User-Agent": "candidhealth/0.41.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
300
+ 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),
301
301
  contentType: "application/json",
302
302
  requestType: "json",
303
303
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -336,7 +336,7 @@ class V1 {
336
336
  const _response = yield core.fetcher({
337
337
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.AdjustmentId.jsonOrThrow(adjustmentId))}/revert-era-originated`),
338
338
  method: "POST",
339
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.41.5", "User-Agent": "candidhealth/0.41.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
339
+ 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),
340
340
  contentType: "application/json",
341
341
  requestType: "json",
342
342
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.41.5";
1
+ export declare const SDK_VERSION = "0.42.0";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.41.5";
4
+ exports.SDK_VERSION = "0.42.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "candidhealth",
3
- "version": "0.41.5",
3
+ "version": "0.42.0",
4
4
  "private": false,
5
5
  "repository": "https://github.com/candidhealth/candid-node",
6
6
  "main": "./index.js",
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.41.5";
1
+ export declare const SDK_VERSION = "0.42.0";
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.5";
4
+ exports.SDK_VERSION = "0.42.0";