candidhealth 0.34.3 → 0.34.5
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.
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/claims/types/Claim.d.ts +5 -1
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -19
- package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +7 -2
- package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +11 -0
- package/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/createReferringProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +21 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/api/resources/encounters/resources/v4/client/Client.d.ts +24 -0
- package/api/resources/encounters/resources/v4/client/Client.js +29 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +4 -0
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +4 -0
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +21 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +5 -1
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +5 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +5 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +8 -4
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -1
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +15 -0
- package/api/resources/serviceLines/resources/v2/types/TestResult.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/claims/types/Claim.d.ts +5 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -19
- package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +7 -2
- package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +11 -0
- package/dist/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/createReferringProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +21 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +24 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.js +29 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +4 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +4 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +21 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +5 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +5 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +5 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +8 -4
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -1
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +15 -0
- package/dist/api/resources/serviceLines/resources/v2/types/TestResult.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +6 -1
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +6 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +17 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +40 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +18 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.js +43 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/package.json +1 -1
- package/reference.md +28 -0
- package/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +6 -1
- package/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +6 -0
- package/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +17 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +40 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +18 -0
- package/serialization/resources/serviceLines/resources/v2/types/TestResult.js +43 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
|
@@ -81,7 +81,7 @@ class V2 {
|
|
|
81
81
|
Authorization: yield this._getAuthorizationHeader(),
|
|
82
82
|
"X-Fern-Language": "JavaScript",
|
|
83
83
|
"X-Fern-SDK-Name": "candidhealth",
|
|
84
|
-
"X-Fern-SDK-Version": "0.34.
|
|
84
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
85
85
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
86
86
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
87
87
|
},
|
|
@@ -107,7 +107,7 @@ class V2 {
|
|
|
107
107
|
}
|
|
108
108
|
if (_response.error.reason === "status-code") {
|
|
109
109
|
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
110
|
-
case "
|
|
110
|
+
case "HttpRequestValidationsError":
|
|
111
111
|
case "EntityNotFoundError":
|
|
112
112
|
return {
|
|
113
113
|
ok: false,
|
|
@@ -160,7 +160,7 @@ class V2 {
|
|
|
160
160
|
Authorization: yield this._getAuthorizationHeader(),
|
|
161
161
|
"X-Fern-Language": "JavaScript",
|
|
162
162
|
"X-Fern-SDK-Name": "candidhealth",
|
|
163
|
-
"X-Fern-SDK-Version": "0.34.
|
|
163
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
164
164
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
165
165
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
166
166
|
},
|
|
@@ -186,7 +186,7 @@ class V2 {
|
|
|
186
186
|
}
|
|
187
187
|
if (_response.error.reason === "status-code") {
|
|
188
188
|
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
189
|
-
case "
|
|
189
|
+
case "HttpRequestValidationsError":
|
|
190
190
|
case "EntityNotFoundError":
|
|
191
191
|
return {
|
|
192
192
|
ok: false,
|
|
@@ -239,7 +239,7 @@ class V2 {
|
|
|
239
239
|
Authorization: yield this._getAuthorizationHeader(),
|
|
240
240
|
"X-Fern-Language": "JavaScript",
|
|
241
241
|
"X-Fern-SDK-Name": "candidhealth",
|
|
242
|
-
"X-Fern-SDK-Version": "0.34.
|
|
242
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
243
243
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
244
244
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
245
245
|
},
|
|
@@ -265,7 +265,7 @@ class V2 {
|
|
|
265
265
|
}
|
|
266
266
|
if (_response.error.reason === "status-code") {
|
|
267
267
|
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
268
|
-
case "
|
|
268
|
+
case "HttpRequestValidationsError":
|
|
269
269
|
case "EntityNotFoundError":
|
|
270
270
|
return {
|
|
271
271
|
ok: false,
|
|
@@ -318,7 +318,7 @@ class V2 {
|
|
|
318
318
|
Authorization: yield this._getAuthorizationHeader(),
|
|
319
319
|
"X-Fern-Language": "JavaScript",
|
|
320
320
|
"X-Fern-SDK-Name": "candidhealth",
|
|
321
|
-
"X-Fern-SDK-Version": "0.34.
|
|
321
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
322
322
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
323
323
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
324
324
|
},
|
|
@@ -344,7 +344,7 @@ class V2 {
|
|
|
344
344
|
}
|
|
345
345
|
if (_response.error.reason === "status-code") {
|
|
346
346
|
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
347
|
-
case "
|
|
347
|
+
case "HttpRequestValidationsError":
|
|
348
348
|
case "EntityNotFoundError":
|
|
349
349
|
return {
|
|
350
350
|
ok: false,
|
|
@@ -396,7 +396,7 @@ class V2 {
|
|
|
396
396
|
Authorization: yield this._getAuthorizationHeader(),
|
|
397
397
|
"X-Fern-Language": "JavaScript",
|
|
398
398
|
"X-Fern-SDK-Name": "candidhealth",
|
|
399
|
-
"X-Fern-SDK-Version": "0.34.
|
|
399
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
400
400
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
401
401
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
402
402
|
},
|
|
@@ -423,7 +423,7 @@ class V2 {
|
|
|
423
423
|
if (_response.error.reason === "status-code") {
|
|
424
424
|
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
425
425
|
case "EntityConflictError":
|
|
426
|
-
case "
|
|
426
|
+
case "HttpRequestValidationsError":
|
|
427
427
|
case "EntityNotFoundError":
|
|
428
428
|
return {
|
|
429
429
|
ok: false,
|
|
@@ -476,7 +476,7 @@ class V2 {
|
|
|
476
476
|
Authorization: yield this._getAuthorizationHeader(),
|
|
477
477
|
"X-Fern-Language": "JavaScript",
|
|
478
478
|
"X-Fern-SDK-Name": "candidhealth",
|
|
479
|
-
"X-Fern-SDK-Version": "0.34.
|
|
479
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
480
480
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
481
481
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
482
482
|
},
|
|
@@ -504,6 +504,7 @@ class V2 {
|
|
|
504
504
|
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
505
505
|
case "EntityConflictError":
|
|
506
506
|
case "UnprocessableEntityError":
|
|
507
|
+
case "HttpRequestValidationsError":
|
|
507
508
|
case "EntityNotFoundError":
|
|
508
509
|
return {
|
|
509
510
|
ok: false,
|
|
@@ -556,7 +557,7 @@ class V2 {
|
|
|
556
557
|
Authorization: yield this._getAuthorizationHeader(),
|
|
557
558
|
"X-Fern-Language": "JavaScript",
|
|
558
559
|
"X-Fern-SDK-Name": "candidhealth",
|
|
559
|
-
"X-Fern-SDK-Version": "0.34.
|
|
560
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
560
561
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
561
562
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
562
563
|
},
|
|
@@ -583,7 +584,7 @@ class V2 {
|
|
|
583
584
|
if (_response.error.reason === "status-code") {
|
|
584
585
|
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
585
586
|
case "EntityConflictError":
|
|
586
|
-
case "
|
|
587
|
+
case "HttpRequestValidationsError":
|
|
587
588
|
case "EntityNotFoundError":
|
|
588
589
|
return {
|
|
589
590
|
ok: false,
|
|
@@ -636,7 +637,7 @@ class V2 {
|
|
|
636
637
|
Authorization: yield this._getAuthorizationHeader(),
|
|
637
638
|
"X-Fern-Language": "JavaScript",
|
|
638
639
|
"X-Fern-SDK-Name": "candidhealth",
|
|
639
|
-
"X-Fern-SDK-Version": "0.34.
|
|
640
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
640
641
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
641
642
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
642
643
|
},
|
|
@@ -663,7 +664,7 @@ class V2 {
|
|
|
663
664
|
if (_response.error.reason === "status-code") {
|
|
664
665
|
switch ((_b = _response.error.body) === null || _b === void 0 ? void 0 : _b.errorName) {
|
|
665
666
|
case "EntityConflictError":
|
|
666
|
-
case "
|
|
667
|
+
case "HttpRequestValidationsError":
|
|
667
668
|
case "EntityNotFoundError":
|
|
668
669
|
return {
|
|
669
670
|
ok: false,
|
|
@@ -700,7 +701,7 @@ class V2 {
|
|
|
700
701
|
Authorization: yield this._getAuthorizationHeader(),
|
|
701
702
|
"X-Fern-Language": "JavaScript",
|
|
702
703
|
"X-Fern-SDK-Name": "candidhealth",
|
|
703
|
-
"X-Fern-SDK-Version": "0.34.
|
|
704
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
704
705
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
705
706
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
706
707
|
},
|
|
@@ -755,7 +756,7 @@ class V2 {
|
|
|
755
756
|
Authorization: yield this._getAuthorizationHeader(),
|
|
756
757
|
"X-Fern-Language": "JavaScript",
|
|
757
758
|
"X-Fern-SDK-Name": "candidhealth",
|
|
758
|
-
"X-Fern-SDK-Version": "0.34.
|
|
759
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
759
760
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
760
761
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
761
762
|
},
|
|
@@ -810,7 +811,7 @@ class V2 {
|
|
|
810
811
|
Authorization: yield this._getAuthorizationHeader(),
|
|
811
812
|
"X-Fern-Language": "JavaScript",
|
|
812
813
|
"X-Fern-SDK-Name": "candidhealth",
|
|
813
|
-
"X-Fern-SDK-Version": "0.34.
|
|
814
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
814
815
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
815
816
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
816
817
|
},
|
|
@@ -865,7 +866,7 @@ class V2 {
|
|
|
865
866
|
Authorization: yield this._getAuthorizationHeader(),
|
|
866
867
|
"X-Fern-Language": "JavaScript",
|
|
867
868
|
"X-Fern-SDK-Name": "candidhealth",
|
|
868
|
-
"X-Fern-SDK-Version": "0.34.
|
|
869
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
869
870
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
870
871
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
871
872
|
},
|
|
@@ -8,10 +8,9 @@ export declare type Error =
|
|
|
8
8
|
* The encounter already has an initial referring provider. */
|
|
9
9
|
CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.EntityConflictError
|
|
10
10
|
/**
|
|
11
|
-
* Cannot set first/last name without also unsetting organization_name.
|
|
12
11
|
* Cannot set Initial Referring Provider without an existing Referring Provider.
|
|
13
12
|
* */
|
|
14
|
-
| CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.UnprocessableEntityError
|
|
13
|
+
| CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.UnprocessableEntityError | CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.HttpRequestValidationsError
|
|
15
14
|
/**
|
|
16
15
|
* The encounter could not be found. */
|
|
17
16
|
| CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.createInitialReferringProvider.Error._Unknown;
|
|
@@ -24,6 +23,10 @@ export declare namespace Error {
|
|
|
24
23
|
errorName: "UnprocessableEntityError";
|
|
25
24
|
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
26
25
|
}
|
|
26
|
+
interface HttpRequestValidationsError extends _Utils {
|
|
27
|
+
errorName: "HttpRequestValidationsError";
|
|
28
|
+
content: CandidApi.RequestValidationError[];
|
|
29
|
+
}
|
|
27
30
|
interface EntityNotFoundError extends _Utils {
|
|
28
31
|
errorName: "EntityNotFoundError";
|
|
29
32
|
content: CandidApi.EntityNotFoundErrorMessage;
|
|
@@ -38,6 +41,7 @@ export declare namespace Error {
|
|
|
38
41
|
interface _Visitor<_Result> {
|
|
39
42
|
entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => _Result;
|
|
40
43
|
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
44
|
+
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
41
45
|
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
42
46
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
43
47
|
}
|
|
@@ -45,6 +49,7 @@ export declare namespace Error {
|
|
|
45
49
|
export declare const Error: {
|
|
46
50
|
readonly entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.EntityConflictError;
|
|
47
51
|
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.UnprocessableEntityError;
|
|
52
|
+
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.HttpRequestValidationsError;
|
|
48
53
|
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.EntityNotFoundError;
|
|
49
54
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.createInitialReferringProvider.Error._Unknown;
|
|
50
55
|
readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.createInitialReferringProvider.Error, visitor: CandidApi.encounterProviders.v2.createInitialReferringProvider.Error._Visitor<_Result>) => _Result;
|
package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js
CHANGED
|
@@ -47,6 +47,15 @@ exports.Error = {
|
|
|
47
47
|
},
|
|
48
48
|
};
|
|
49
49
|
},
|
|
50
|
+
httpRequestValidationsError: (value) => {
|
|
51
|
+
return {
|
|
52
|
+
content: value,
|
|
53
|
+
errorName: "HttpRequestValidationsError",
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.encounterProviders.v2.createInitialReferringProvider.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
50
59
|
entityNotFoundError: (value) => {
|
|
51
60
|
return {
|
|
52
61
|
content: value,
|
|
@@ -71,6 +80,8 @@ exports.Error = {
|
|
|
71
80
|
return visitor.entityConflictError(value.content);
|
|
72
81
|
case "UnprocessableEntityError":
|
|
73
82
|
return visitor.unprocessableEntityError(value.content);
|
|
83
|
+
case "HttpRequestValidationsError":
|
|
84
|
+
return visitor.httpRequestValidationsError(value.content);
|
|
74
85
|
case "EntityNotFoundError":
|
|
75
86
|
return visitor.entityNotFoundError(value.content);
|
|
76
87
|
default:
|
package/dist/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts
CHANGED
|
@@ -6,10 +6,7 @@ import * as core from "../../../../../../core";
|
|
|
6
6
|
export declare type Error =
|
|
7
7
|
/**
|
|
8
8
|
* The service line already has an ordering provider. */
|
|
9
|
-
CandidApi.encounterProviders.v2.createOrderingProvider.Error.EntityConflictError
|
|
10
|
-
/**
|
|
11
|
-
* Cannot set first/last name without also unsetting organization_name. */
|
|
12
|
-
| CandidApi.encounterProviders.v2.createOrderingProvider.Error.UnprocessableEntityError
|
|
9
|
+
CandidApi.encounterProviders.v2.createOrderingProvider.Error.EntityConflictError | CandidApi.encounterProviders.v2.createOrderingProvider.Error.HttpRequestValidationsError
|
|
13
10
|
/**
|
|
14
11
|
* The service line could not be found. */
|
|
15
12
|
| CandidApi.encounterProviders.v2.createOrderingProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.createOrderingProvider.Error._Unknown;
|
|
@@ -18,9 +15,9 @@ export declare namespace Error {
|
|
|
18
15
|
errorName: "EntityConflictError";
|
|
19
16
|
content: CandidApi.EntityConflictErrorMessage;
|
|
20
17
|
}
|
|
21
|
-
interface
|
|
22
|
-
errorName: "
|
|
23
|
-
content: CandidApi.
|
|
18
|
+
interface HttpRequestValidationsError extends _Utils {
|
|
19
|
+
errorName: "HttpRequestValidationsError";
|
|
20
|
+
content: CandidApi.RequestValidationError[];
|
|
24
21
|
}
|
|
25
22
|
interface EntityNotFoundError extends _Utils {
|
|
26
23
|
errorName: "EntityNotFoundError";
|
|
@@ -35,14 +32,14 @@ export declare namespace Error {
|
|
|
35
32
|
}
|
|
36
33
|
interface _Visitor<_Result> {
|
|
37
34
|
entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => _Result;
|
|
38
|
-
|
|
35
|
+
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
39
36
|
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
40
37
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
41
38
|
}
|
|
42
39
|
}
|
|
43
40
|
export declare const Error: {
|
|
44
41
|
readonly entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => CandidApi.encounterProviders.v2.createOrderingProvider.Error.EntityConflictError;
|
|
45
|
-
readonly
|
|
42
|
+
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.createOrderingProvider.Error.HttpRequestValidationsError;
|
|
46
43
|
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.createOrderingProvider.Error.EntityNotFoundError;
|
|
47
44
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.createOrderingProvider.Error._Unknown;
|
|
48
45
|
readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.createOrderingProvider.Error, visitor: CandidApi.encounterProviders.v2.createOrderingProvider.Error._Visitor<_Result>) => _Result;
|
|
@@ -38,10 +38,10 @@ exports.Error = {
|
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
},
|
|
41
|
-
|
|
41
|
+
httpRequestValidationsError: (value) => {
|
|
42
42
|
return {
|
|
43
43
|
content: value,
|
|
44
|
-
errorName: "
|
|
44
|
+
errorName: "HttpRequestValidationsError",
|
|
45
45
|
_visit: function (visitor) {
|
|
46
46
|
return CandidApi.encounterProviders.v2.createOrderingProvider.Error._visit(this, visitor);
|
|
47
47
|
},
|
|
@@ -69,8 +69,8 @@ exports.Error = {
|
|
|
69
69
|
switch (value.errorName) {
|
|
70
70
|
case "EntityConflictError":
|
|
71
71
|
return visitor.entityConflictError(value.content);
|
|
72
|
-
case "
|
|
73
|
-
return visitor.
|
|
72
|
+
case "HttpRequestValidationsError":
|
|
73
|
+
return visitor.httpRequestValidationsError(value.content);
|
|
74
74
|
case "EntityNotFoundError":
|
|
75
75
|
return visitor.entityNotFoundError(value.content);
|
|
76
76
|
default:
|
package/dist/api/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts
CHANGED
|
@@ -6,10 +6,7 @@ import * as core from "../../../../../../core";
|
|
|
6
6
|
export declare type Error =
|
|
7
7
|
/**
|
|
8
8
|
* The encounter already has a referring provider. */
|
|
9
|
-
CandidApi.encounterProviders.v2.createReferringProvider.Error.EntityConflictError
|
|
10
|
-
/**
|
|
11
|
-
* Cannot set first/last name without also unsetting organization_name. */
|
|
12
|
-
| CandidApi.encounterProviders.v2.createReferringProvider.Error.UnprocessableEntityError
|
|
9
|
+
CandidApi.encounterProviders.v2.createReferringProvider.Error.EntityConflictError | CandidApi.encounterProviders.v2.createReferringProvider.Error.HttpRequestValidationsError
|
|
13
10
|
/**
|
|
14
11
|
* The encounter could not be found. */
|
|
15
12
|
| CandidApi.encounterProviders.v2.createReferringProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.createReferringProvider.Error._Unknown;
|
|
@@ -18,9 +15,9 @@ export declare namespace Error {
|
|
|
18
15
|
errorName: "EntityConflictError";
|
|
19
16
|
content: CandidApi.EntityConflictErrorMessage;
|
|
20
17
|
}
|
|
21
|
-
interface
|
|
22
|
-
errorName: "
|
|
23
|
-
content: CandidApi.
|
|
18
|
+
interface HttpRequestValidationsError extends _Utils {
|
|
19
|
+
errorName: "HttpRequestValidationsError";
|
|
20
|
+
content: CandidApi.RequestValidationError[];
|
|
24
21
|
}
|
|
25
22
|
interface EntityNotFoundError extends _Utils {
|
|
26
23
|
errorName: "EntityNotFoundError";
|
|
@@ -35,14 +32,14 @@ export declare namespace Error {
|
|
|
35
32
|
}
|
|
36
33
|
interface _Visitor<_Result> {
|
|
37
34
|
entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => _Result;
|
|
38
|
-
|
|
35
|
+
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
39
36
|
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
40
37
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
41
38
|
}
|
|
42
39
|
}
|
|
43
40
|
export declare const Error: {
|
|
44
41
|
readonly entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => CandidApi.encounterProviders.v2.createReferringProvider.Error.EntityConflictError;
|
|
45
|
-
readonly
|
|
42
|
+
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.createReferringProvider.Error.HttpRequestValidationsError;
|
|
46
43
|
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.createReferringProvider.Error.EntityNotFoundError;
|
|
47
44
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.createReferringProvider.Error._Unknown;
|
|
48
45
|
readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.createReferringProvider.Error, visitor: CandidApi.encounterProviders.v2.createReferringProvider.Error._Visitor<_Result>) => _Result;
|
package/dist/api/resources/encounterProviders/resources/v2/client/createReferringProvider.js
CHANGED
|
@@ -38,10 +38,10 @@ exports.Error = {
|
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
},
|
|
41
|
-
|
|
41
|
+
httpRequestValidationsError: (value) => {
|
|
42
42
|
return {
|
|
43
43
|
content: value,
|
|
44
|
-
errorName: "
|
|
44
|
+
errorName: "HttpRequestValidationsError",
|
|
45
45
|
_visit: function (visitor) {
|
|
46
46
|
return CandidApi.encounterProviders.v2.createReferringProvider.Error._visit(this, visitor);
|
|
47
47
|
},
|
|
@@ -69,8 +69,8 @@ exports.Error = {
|
|
|
69
69
|
switch (value.errorName) {
|
|
70
70
|
case "EntityConflictError":
|
|
71
71
|
return visitor.entityConflictError(value.content);
|
|
72
|
-
case "
|
|
73
|
-
return visitor.
|
|
72
|
+
case "HttpRequestValidationsError":
|
|
73
|
+
return visitor.httpRequestValidationsError(value.content);
|
|
74
74
|
case "EntityNotFoundError":
|
|
75
75
|
return visitor.entityNotFoundError(value.content);
|
|
76
76
|
default:
|
package/dist/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts
CHANGED
|
@@ -6,10 +6,7 @@ import * as core from "../../../../../../core";
|
|
|
6
6
|
export declare type Error =
|
|
7
7
|
/**
|
|
8
8
|
* The encounter already has a supervising provider. */
|
|
9
|
-
CandidApi.encounterProviders.v2.createSupervisingProvider.Error.EntityConflictError
|
|
10
|
-
/**
|
|
11
|
-
* Cannot set first/last name without also unsetting organization_name. */
|
|
12
|
-
| CandidApi.encounterProviders.v2.createSupervisingProvider.Error.UnprocessableEntityError
|
|
9
|
+
CandidApi.encounterProviders.v2.createSupervisingProvider.Error.EntityConflictError | CandidApi.encounterProviders.v2.createSupervisingProvider.Error.HttpRequestValidationsError
|
|
13
10
|
/**
|
|
14
11
|
* The encounter could not be found. */
|
|
15
12
|
| CandidApi.encounterProviders.v2.createSupervisingProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.createSupervisingProvider.Error._Unknown;
|
|
@@ -18,9 +15,9 @@ export declare namespace Error {
|
|
|
18
15
|
errorName: "EntityConflictError";
|
|
19
16
|
content: CandidApi.EntityConflictErrorMessage;
|
|
20
17
|
}
|
|
21
|
-
interface
|
|
22
|
-
errorName: "
|
|
23
|
-
content: CandidApi.
|
|
18
|
+
interface HttpRequestValidationsError extends _Utils {
|
|
19
|
+
errorName: "HttpRequestValidationsError";
|
|
20
|
+
content: CandidApi.RequestValidationError[];
|
|
24
21
|
}
|
|
25
22
|
interface EntityNotFoundError extends _Utils {
|
|
26
23
|
errorName: "EntityNotFoundError";
|
|
@@ -35,14 +32,14 @@ export declare namespace Error {
|
|
|
35
32
|
}
|
|
36
33
|
interface _Visitor<_Result> {
|
|
37
34
|
entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => _Result;
|
|
38
|
-
|
|
35
|
+
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
39
36
|
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
40
37
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
41
38
|
}
|
|
42
39
|
}
|
|
43
40
|
export declare const Error: {
|
|
44
41
|
readonly entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => CandidApi.encounterProviders.v2.createSupervisingProvider.Error.EntityConflictError;
|
|
45
|
-
readonly
|
|
42
|
+
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.createSupervisingProvider.Error.HttpRequestValidationsError;
|
|
46
43
|
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.createSupervisingProvider.Error.EntityNotFoundError;
|
|
47
44
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.createSupervisingProvider.Error._Unknown;
|
|
48
45
|
readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.createSupervisingProvider.Error, visitor: CandidApi.encounterProviders.v2.createSupervisingProvider.Error._Visitor<_Result>) => _Result;
|
package/dist/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js
CHANGED
|
@@ -38,10 +38,10 @@ exports.Error = {
|
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
},
|
|
41
|
-
|
|
41
|
+
httpRequestValidationsError: (value) => {
|
|
42
42
|
return {
|
|
43
43
|
content: value,
|
|
44
|
-
errorName: "
|
|
44
|
+
errorName: "HttpRequestValidationsError",
|
|
45
45
|
_visit: function (visitor) {
|
|
46
46
|
return CandidApi.encounterProviders.v2.createSupervisingProvider.Error._visit(this, visitor);
|
|
47
47
|
},
|
|
@@ -69,8 +69,8 @@ exports.Error = {
|
|
|
69
69
|
switch (value.errorName) {
|
|
70
70
|
case "EntityConflictError":
|
|
71
71
|
return visitor.entityConflictError(value.content);
|
|
72
|
-
case "
|
|
73
|
-
return visitor.
|
|
72
|
+
case "HttpRequestValidationsError":
|
|
73
|
+
return visitor.httpRequestValidationsError(value.content);
|
|
74
74
|
case "EntityNotFoundError":
|
|
75
75
|
return visitor.entityNotFoundError(value.content);
|
|
76
76
|
default:
|
|
@@ -3,17 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error =
|
|
7
|
-
/**
|
|
8
|
-
* Cannot set first/last name without also unsetting organization_name. */
|
|
9
|
-
CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.UnprocessableEntityError
|
|
6
|
+
export declare type Error = CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.HttpRequestValidationsError
|
|
10
7
|
/**
|
|
11
8
|
* The encounter could not be found or has no initial referring provider. */
|
|
12
9
|
| CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error._Unknown;
|
|
13
10
|
export declare namespace Error {
|
|
14
|
-
interface
|
|
15
|
-
errorName: "
|
|
16
|
-
content: CandidApi.
|
|
11
|
+
interface HttpRequestValidationsError extends _Utils {
|
|
12
|
+
errorName: "HttpRequestValidationsError";
|
|
13
|
+
content: CandidApi.RequestValidationError[];
|
|
17
14
|
}
|
|
18
15
|
interface EntityNotFoundError extends _Utils {
|
|
19
16
|
errorName: "EntityNotFoundError";
|
|
@@ -27,13 +24,13 @@ export declare namespace Error {
|
|
|
27
24
|
_visit: <_Result>(visitor: CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error._Visitor<_Result>) => _Result;
|
|
28
25
|
}
|
|
29
26
|
interface _Visitor<_Result> {
|
|
30
|
-
|
|
27
|
+
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
31
28
|
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
32
29
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
33
30
|
}
|
|
34
31
|
}
|
|
35
32
|
export declare const Error: {
|
|
36
|
-
readonly
|
|
33
|
+
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.HttpRequestValidationsError;
|
|
37
34
|
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.EntityNotFoundError;
|
|
38
35
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error._Unknown;
|
|
39
36
|
readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error, visitor: CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error._Visitor<_Result>) => _Result;
|
package/dist/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js
CHANGED
|
@@ -29,10 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Error = void 0;
|
|
30
30
|
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
31
|
exports.Error = {
|
|
32
|
-
|
|
32
|
+
httpRequestValidationsError: (value) => {
|
|
33
33
|
return {
|
|
34
34
|
content: value,
|
|
35
|
-
errorName: "
|
|
35
|
+
errorName: "HttpRequestValidationsError",
|
|
36
36
|
_visit: function (visitor) {
|
|
37
37
|
return CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error._visit(this, visitor);
|
|
38
38
|
},
|
|
@@ -58,8 +58,8 @@ exports.Error = {
|
|
|
58
58
|
},
|
|
59
59
|
_visit: (value, visitor) => {
|
|
60
60
|
switch (value.errorName) {
|
|
61
|
-
case "
|
|
62
|
-
return visitor.
|
|
61
|
+
case "HttpRequestValidationsError":
|
|
62
|
+
return visitor.httpRequestValidationsError(value.content);
|
|
63
63
|
case "EntityNotFoundError":
|
|
64
64
|
return visitor.entityNotFoundError(value.content);
|
|
65
65
|
default:
|
package/dist/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts
CHANGED
|
@@ -3,17 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error =
|
|
7
|
-
/**
|
|
8
|
-
* Cannot set first/last name without also unsetting organization_name. */
|
|
9
|
-
CandidApi.encounterProviders.v2.updateOrderingProvider.Error.UnprocessableEntityError
|
|
6
|
+
export declare type Error = CandidApi.encounterProviders.v2.updateOrderingProvider.Error.HttpRequestValidationsError
|
|
10
7
|
/**
|
|
11
8
|
* The encounter could not be found or has no ordering provider. */
|
|
12
9
|
| CandidApi.encounterProviders.v2.updateOrderingProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.updateOrderingProvider.Error._Unknown;
|
|
13
10
|
export declare namespace Error {
|
|
14
|
-
interface
|
|
15
|
-
errorName: "
|
|
16
|
-
content: CandidApi.
|
|
11
|
+
interface HttpRequestValidationsError extends _Utils {
|
|
12
|
+
errorName: "HttpRequestValidationsError";
|
|
13
|
+
content: CandidApi.RequestValidationError[];
|
|
17
14
|
}
|
|
18
15
|
interface EntityNotFoundError extends _Utils {
|
|
19
16
|
errorName: "EntityNotFoundError";
|
|
@@ -27,13 +24,13 @@ export declare namespace Error {
|
|
|
27
24
|
_visit: <_Result>(visitor: CandidApi.encounterProviders.v2.updateOrderingProvider.Error._Visitor<_Result>) => _Result;
|
|
28
25
|
}
|
|
29
26
|
interface _Visitor<_Result> {
|
|
30
|
-
|
|
27
|
+
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
31
28
|
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
32
29
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
33
30
|
}
|
|
34
31
|
}
|
|
35
32
|
export declare const Error: {
|
|
36
|
-
readonly
|
|
33
|
+
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.updateOrderingProvider.Error.HttpRequestValidationsError;
|
|
37
34
|
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.updateOrderingProvider.Error.EntityNotFoundError;
|
|
38
35
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.updateOrderingProvider.Error._Unknown;
|
|
39
36
|
readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.updateOrderingProvider.Error, visitor: CandidApi.encounterProviders.v2.updateOrderingProvider.Error._Visitor<_Result>) => _Result;
|
|
@@ -29,10 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Error = void 0;
|
|
30
30
|
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
31
|
exports.Error = {
|
|
32
|
-
|
|
32
|
+
httpRequestValidationsError: (value) => {
|
|
33
33
|
return {
|
|
34
34
|
content: value,
|
|
35
|
-
errorName: "
|
|
35
|
+
errorName: "HttpRequestValidationsError",
|
|
36
36
|
_visit: function (visitor) {
|
|
37
37
|
return CandidApi.encounterProviders.v2.updateOrderingProvider.Error._visit(this, visitor);
|
|
38
38
|
},
|
|
@@ -58,8 +58,8 @@ exports.Error = {
|
|
|
58
58
|
},
|
|
59
59
|
_visit: (value, visitor) => {
|
|
60
60
|
switch (value.errorName) {
|
|
61
|
-
case "
|
|
62
|
-
return visitor.
|
|
61
|
+
case "HttpRequestValidationsError":
|
|
62
|
+
return visitor.httpRequestValidationsError(value.content);
|
|
63
63
|
case "EntityNotFoundError":
|
|
64
64
|
return visitor.entityNotFoundError(value.content);
|
|
65
65
|
default:
|
package/dist/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts
CHANGED
|
@@ -3,17 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error =
|
|
7
|
-
/**
|
|
8
|
-
* Cannot set first/last name without also unsetting organization_name. */
|
|
9
|
-
CandidApi.encounterProviders.v2.updateReferringProvider.Error.UnprocessableEntityError
|
|
6
|
+
export declare type Error = CandidApi.encounterProviders.v2.updateReferringProvider.Error.HttpRequestValidationsError
|
|
10
7
|
/**
|
|
11
8
|
* The encounter could not be found or has no referring provider. */
|
|
12
9
|
| CandidApi.encounterProviders.v2.updateReferringProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.updateReferringProvider.Error._Unknown;
|
|
13
10
|
export declare namespace Error {
|
|
14
|
-
interface
|
|
15
|
-
errorName: "
|
|
16
|
-
content: CandidApi.
|
|
11
|
+
interface HttpRequestValidationsError extends _Utils {
|
|
12
|
+
errorName: "HttpRequestValidationsError";
|
|
13
|
+
content: CandidApi.RequestValidationError[];
|
|
17
14
|
}
|
|
18
15
|
interface EntityNotFoundError extends _Utils {
|
|
19
16
|
errorName: "EntityNotFoundError";
|
|
@@ -27,13 +24,13 @@ export declare namespace Error {
|
|
|
27
24
|
_visit: <_Result>(visitor: CandidApi.encounterProviders.v2.updateReferringProvider.Error._Visitor<_Result>) => _Result;
|
|
28
25
|
}
|
|
29
26
|
interface _Visitor<_Result> {
|
|
30
|
-
|
|
27
|
+
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
31
28
|
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
32
29
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
33
30
|
}
|
|
34
31
|
}
|
|
35
32
|
export declare const Error: {
|
|
36
|
-
readonly
|
|
33
|
+
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.updateReferringProvider.Error.HttpRequestValidationsError;
|
|
37
34
|
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.updateReferringProvider.Error.EntityNotFoundError;
|
|
38
35
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.updateReferringProvider.Error._Unknown;
|
|
39
36
|
readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.updateReferringProvider.Error, visitor: CandidApi.encounterProviders.v2.updateReferringProvider.Error._Visitor<_Result>) => _Result;
|
package/dist/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.js
CHANGED
|
@@ -29,10 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Error = void 0;
|
|
30
30
|
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
31
|
exports.Error = {
|
|
32
|
-
|
|
32
|
+
httpRequestValidationsError: (value) => {
|
|
33
33
|
return {
|
|
34
34
|
content: value,
|
|
35
|
-
errorName: "
|
|
35
|
+
errorName: "HttpRequestValidationsError",
|
|
36
36
|
_visit: function (visitor) {
|
|
37
37
|
return CandidApi.encounterProviders.v2.updateReferringProvider.Error._visit(this, visitor);
|
|
38
38
|
},
|
|
@@ -58,8 +58,8 @@ exports.Error = {
|
|
|
58
58
|
},
|
|
59
59
|
_visit: (value, visitor) => {
|
|
60
60
|
switch (value.errorName) {
|
|
61
|
-
case "
|
|
62
|
-
return visitor.
|
|
61
|
+
case "HttpRequestValidationsError":
|
|
62
|
+
return visitor.httpRequestValidationsError(value.content);
|
|
63
63
|
case "EntityNotFoundError":
|
|
64
64
|
return visitor.entityNotFoundError(value.content);
|
|
65
65
|
default:
|