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
|
@@ -84,7 +84,7 @@ class V2 {
|
|
|
84
84
|
Authorization: yield this._getAuthorizationHeader(),
|
|
85
85
|
"X-Fern-Language": "JavaScript",
|
|
86
86
|
"X-Fern-SDK-Name": "candidhealth",
|
|
87
|
-
"X-Fern-SDK-Version": "0.34.
|
|
87
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
88
88
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
89
89
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
90
90
|
},
|
|
@@ -160,7 +160,11 @@ class V2 {
|
|
|
160
160
|
* quantity: CandidApi.Decimal("string"),
|
|
161
161
|
* description: "string",
|
|
162
162
|
* dateOfService: "2023-01-15",
|
|
163
|
-
* endDateOfService: "2023-01-15"
|
|
163
|
+
* endDateOfService: "2023-01-15",
|
|
164
|
+
* testResult: {
|
|
165
|
+
* type: "hematocrit",
|
|
166
|
+
* value: 1.1
|
|
167
|
+
* }
|
|
164
168
|
* })
|
|
165
169
|
*/
|
|
166
170
|
update(serviceLineId, request, requestOptions) {
|
|
@@ -174,7 +178,7 @@ class V2 {
|
|
|
174
178
|
Authorization: yield this._getAuthorizationHeader(),
|
|
175
179
|
"X-Fern-Language": "JavaScript",
|
|
176
180
|
"X-Fern-SDK-Name": "candidhealth",
|
|
177
|
-
"X-Fern-SDK-Version": "0.34.
|
|
181
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
178
182
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
179
183
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
180
184
|
},
|
|
@@ -238,7 +242,7 @@ class V2 {
|
|
|
238
242
|
Authorization: yield this._getAuthorizationHeader(),
|
|
239
243
|
"X-Fern-Language": "JavaScript",
|
|
240
244
|
"X-Fern-SDK-Name": "candidhealth",
|
|
241
|
-
"X-Fern-SDK-Version": "0.34.
|
|
245
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
242
246
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
243
247
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
244
248
|
},
|
|
@@ -65,7 +65,11 @@ import * as CandidApi from "../../../../../index";
|
|
|
65
65
|
* endDate: CandidApi.Date_("2023-01-03")
|
|
66
66
|
* },
|
|
67
67
|
* dateOfService: "2023-01-01",
|
|
68
|
-
* endDateOfService: "2023-01-03"
|
|
68
|
+
* endDateOfService: "2023-01-03",
|
|
69
|
+
* testResult: {
|
|
70
|
+
* type: "hemoglobin",
|
|
71
|
+
* value: 2.4
|
|
72
|
+
* }
|
|
69
73
|
* }
|
|
70
74
|
*/
|
|
71
75
|
export interface ServiceLine {
|
|
@@ -111,4 +115,6 @@ export interface ServiceLine {
|
|
|
111
115
|
description?: string;
|
|
112
116
|
dateOfService: string;
|
|
113
117
|
endDateOfService?: string;
|
|
118
|
+
/** Contains a single test result value. Maps to MEA-02 on the 837-P. */
|
|
119
|
+
testResult?: CandidApi.serviceLines.v2.TestResult;
|
|
114
120
|
}
|
|
@@ -31,4 +31,6 @@ export interface ServiceLineCreate {
|
|
|
31
31
|
* If not required by this implementation guide, do not send.
|
|
32
32
|
*/
|
|
33
33
|
orderingProvider?: CandidApi.encounterProviders.v2.OrderingProvider;
|
|
34
|
+
/** Contains a single test result value. Maps to MEA-02 on the 837-P. */
|
|
35
|
+
testResult?: CandidApi.serviceLines.v2.TestResult;
|
|
34
36
|
}
|
|
@@ -26,4 +26,6 @@ export interface ServiceLineUpdate {
|
|
|
26
26
|
/** date_of_service must be defined on either the encounter or the service lines but not both. */
|
|
27
27
|
dateOfService?: string;
|
|
28
28
|
endDateOfService?: string;
|
|
29
|
+
/** Contains a single test result value. Maps to MEA-02 on the 837-P. */
|
|
30
|
+
testResult?: CandidApi.serviceLines.v2.TestResult;
|
|
29
31
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export declare type TestResult = CandidApi.serviceLines.v2.TestResult.Hematocrit | CandidApi.serviceLines.v2.TestResult.Hemoglobin;
|
|
6
|
+
export declare namespace TestResult {
|
|
7
|
+
interface Hematocrit {
|
|
8
|
+
type: "hematocrit";
|
|
9
|
+
value: number;
|
|
10
|
+
}
|
|
11
|
+
interface Hemoglobin {
|
|
12
|
+
type: "hemoglobin";
|
|
13
|
+
value: number;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -7,5 +7,6 @@ export * from "./ServiceLineAdjustment";
|
|
|
7
7
|
export * from "./ServiceLineDenialReason";
|
|
8
8
|
export * from "./DenialReasonContent";
|
|
9
9
|
export * from "./DrugIdentification";
|
|
10
|
+
export * from "./TestResult";
|
|
10
11
|
export * from "./ServiceIdQualifier";
|
|
11
12
|
export * from "./MeasurementUnitCode";
|
|
@@ -23,5 +23,6 @@ __exportStar(require("./ServiceLineAdjustment"), exports);
|
|
|
23
23
|
__exportStar(require("./ServiceLineDenialReason"), exports);
|
|
24
24
|
__exportStar(require("./DenialReasonContent"), exports);
|
|
25
25
|
__exportStar(require("./DrugIdentification"), exports);
|
|
26
|
+
__exportStar(require("./TestResult"), exports);
|
|
26
27
|
__exportStar(require("./ServiceIdQualifier"), exports);
|
|
27
28
|
__exportStar(require("./MeasurementUnitCode"), exports);
|
|
@@ -66,7 +66,7 @@ class V3 {
|
|
|
66
66
|
Authorization: yield this._getAuthorizationHeader(),
|
|
67
67
|
"X-Fern-Language": "JavaScript",
|
|
68
68
|
"X-Fern-SDK-Name": "candidhealth",
|
|
69
|
-
"X-Fern-SDK-Version": "0.34.
|
|
69
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
72
72
|
},
|
|
@@ -166,7 +166,7 @@ class V3 {
|
|
|
166
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "candidhealth",
|
|
169
|
-
"X-Fern-SDK-Version": "0.34.
|
|
169
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
170
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
172
|
},
|
|
@@ -226,7 +226,7 @@ class V3 {
|
|
|
226
226
|
Authorization: yield this._getAuthorizationHeader(),
|
|
227
227
|
"X-Fern-Language": "JavaScript",
|
|
228
228
|
"X-Fern-SDK-Name": "candidhealth",
|
|
229
|
-
"X-Fern-SDK-Version": "0.34.
|
|
229
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
230
230
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
231
231
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
232
232
|
},
|
|
@@ -294,7 +294,7 @@ class V3 {
|
|
|
294
294
|
Authorization: yield this._getAuthorizationHeader(),
|
|
295
295
|
"X-Fern-Language": "JavaScript",
|
|
296
296
|
"X-Fern-SDK-Name": "candidhealth",
|
|
297
|
-
"X-Fern-SDK-Version": "0.34.
|
|
297
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
298
298
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
299
299
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
300
300
|
},
|
|
@@ -345,7 +345,7 @@ class V3 {
|
|
|
345
345
|
Authorization: yield this._getAuthorizationHeader(),
|
|
346
346
|
"X-Fern-Language": "JavaScript",
|
|
347
347
|
"X-Fern-SDK-Name": "candidhealth",
|
|
348
|
-
"X-Fern-SDK-Version": "0.34.
|
|
348
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
349
349
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
350
350
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
351
351
|
},
|
|
@@ -116,7 +116,7 @@ class V1 {
|
|
|
116
116
|
Authorization: yield this._getAuthorizationHeader(),
|
|
117
117
|
"X-Fern-Language": "JavaScript",
|
|
118
118
|
"X-Fern-SDK-Name": "candidhealth",
|
|
119
|
-
"X-Fern-SDK-Version": "0.34.
|
|
119
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
120
120
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
121
121
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
122
122
|
},
|
|
@@ -164,7 +164,7 @@ class V1 {
|
|
|
164
164
|
Authorization: yield this._getAuthorizationHeader(),
|
|
165
165
|
"X-Fern-Language": "JavaScript",
|
|
166
166
|
"X-Fern-SDK-Name": "candidhealth",
|
|
167
|
-
"X-Fern-SDK-Version": "0.34.
|
|
167
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
168
168
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
169
169
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
170
170
|
},
|
|
@@ -221,7 +221,7 @@ class V1 {
|
|
|
221
221
|
Authorization: yield this._getAuthorizationHeader(),
|
|
222
222
|
"X-Fern-Language": "JavaScript",
|
|
223
223
|
"X-Fern-SDK-Name": "candidhealth",
|
|
224
|
-
"X-Fern-SDK-Version": "0.34.
|
|
224
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
225
225
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
226
226
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
227
227
|
},
|
|
@@ -271,7 +271,7 @@ class V1 {
|
|
|
271
271
|
Authorization: yield this._getAuthorizationHeader(),
|
|
272
272
|
"X-Fern-Language": "JavaScript",
|
|
273
273
|
"X-Fern-SDK-Name": "candidhealth",
|
|
274
|
-
"X-Fern-SDK-Version": "0.34.
|
|
274
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
275
275
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
276
276
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
277
277
|
},
|
|
@@ -6,10 +6,11 @@ import * as CandidApi from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { EntityConflictErrorMessage } from "../../../../commons/types/EntityConflictErrorMessage";
|
|
8
8
|
import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
|
|
9
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
9
10
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
10
11
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.createInitialReferringProvider.Error.Raw, CandidApi.encounterProviders.v2.createInitialReferringProvider.Error>;
|
|
11
12
|
export declare namespace Error {
|
|
12
|
-
type Raw = Error.EntityConflictError | Error.UnprocessableEntityError | Error.EntityNotFoundError;
|
|
13
|
+
type Raw = Error.EntityConflictError | Error.UnprocessableEntityError | Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
13
14
|
interface EntityConflictError {
|
|
14
15
|
errorName: "EntityConflictError";
|
|
15
16
|
content: EntityConflictErrorMessage.Raw;
|
|
@@ -18,6 +19,10 @@ export declare namespace Error {
|
|
|
18
19
|
errorName: "UnprocessableEntityError";
|
|
19
20
|
content: UnprocessableEntityErrorMessage.Raw;
|
|
20
21
|
}
|
|
22
|
+
interface HttpRequestValidationsError {
|
|
23
|
+
errorName: "HttpRequestValidationsError";
|
|
24
|
+
content: RequestValidationError.Raw[];
|
|
25
|
+
}
|
|
21
26
|
interface EntityNotFoundError {
|
|
22
27
|
errorName: "EntityNotFoundError";
|
|
23
28
|
content: EntityNotFoundErrorMessage.Raw;
|
|
@@ -42,6 +42,7 @@ const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
43
|
const EntityConflictErrorMessage_1 = require("../../../../commons/types/EntityConflictErrorMessage");
|
|
44
44
|
const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
45
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
45
46
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
46
47
|
exports.Error = core.serialization
|
|
47
48
|
.union("errorName", {
|
|
@@ -51,6 +52,9 @@ exports.Error = core.serialization
|
|
|
51
52
|
UnprocessableEntityError: core.serialization.object({
|
|
52
53
|
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
53
54
|
}),
|
|
55
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
56
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
57
|
+
}),
|
|
54
58
|
EntityNotFoundError: core.serialization.object({
|
|
55
59
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
56
60
|
}),
|
|
@@ -62,6 +66,8 @@ exports.Error = core.serialization
|
|
|
62
66
|
return CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.entityConflictError(value.content);
|
|
63
67
|
case "UnprocessableEntityError":
|
|
64
68
|
return CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.unprocessableEntityError(value.content);
|
|
69
|
+
case "HttpRequestValidationsError":
|
|
70
|
+
return CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.httpRequestValidationsError(value.content);
|
|
65
71
|
case "EntityNotFoundError":
|
|
66
72
|
return CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.entityNotFoundError(value.content);
|
|
67
73
|
}
|
|
@@ -5,18 +5,18 @@ import * as serializers from "../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { EntityConflictErrorMessage } from "../../../../commons/types/EntityConflictErrorMessage";
|
|
8
|
-
import {
|
|
8
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
9
9
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
10
10
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.createOrderingProvider.Error.Raw, CandidApi.encounterProviders.v2.createOrderingProvider.Error>;
|
|
11
11
|
export declare namespace Error {
|
|
12
|
-
type Raw = Error.EntityConflictError | Error.
|
|
12
|
+
type Raw = Error.EntityConflictError | Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
13
13
|
interface EntityConflictError {
|
|
14
14
|
errorName: "EntityConflictError";
|
|
15
15
|
content: EntityConflictErrorMessage.Raw;
|
|
16
16
|
}
|
|
17
|
-
interface
|
|
18
|
-
errorName: "
|
|
19
|
-
content:
|
|
17
|
+
interface HttpRequestValidationsError {
|
|
18
|
+
errorName: "HttpRequestValidationsError";
|
|
19
|
+
content: RequestValidationError.Raw[];
|
|
20
20
|
}
|
|
21
21
|
interface EntityNotFoundError {
|
|
22
22
|
errorName: "EntityNotFoundError";
|
|
@@ -41,15 +41,15 @@ exports.Error = void 0;
|
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
43
|
const EntityConflictErrorMessage_1 = require("../../../../commons/types/EntityConflictErrorMessage");
|
|
44
|
-
const
|
|
44
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
45
45
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
46
46
|
exports.Error = core.serialization
|
|
47
47
|
.union("errorName", {
|
|
48
48
|
EntityConflictError: core.serialization.object({
|
|
49
49
|
content: EntityConflictErrorMessage_1.EntityConflictErrorMessage,
|
|
50
50
|
}),
|
|
51
|
-
|
|
52
|
-
content:
|
|
51
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
52
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
53
53
|
}),
|
|
54
54
|
EntityNotFoundError: core.serialization.object({
|
|
55
55
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
@@ -60,8 +60,8 @@ exports.Error = core.serialization
|
|
|
60
60
|
switch (value.errorName) {
|
|
61
61
|
case "EntityConflictError":
|
|
62
62
|
return CandidApi.encounterProviders.v2.createOrderingProvider.Error.entityConflictError(value.content);
|
|
63
|
-
case "
|
|
64
|
-
return CandidApi.encounterProviders.v2.createOrderingProvider.Error.
|
|
63
|
+
case "HttpRequestValidationsError":
|
|
64
|
+
return CandidApi.encounterProviders.v2.createOrderingProvider.Error.httpRequestValidationsError(value.content);
|
|
65
65
|
case "EntityNotFoundError":
|
|
66
66
|
return CandidApi.encounterProviders.v2.createOrderingProvider.Error.entityNotFoundError(value.content);
|
|
67
67
|
}
|
|
@@ -5,18 +5,18 @@ import * as serializers from "../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { EntityConflictErrorMessage } from "../../../../commons/types/EntityConflictErrorMessage";
|
|
8
|
-
import {
|
|
8
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
9
9
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
10
10
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.createReferringProvider.Error.Raw, CandidApi.encounterProviders.v2.createReferringProvider.Error>;
|
|
11
11
|
export declare namespace Error {
|
|
12
|
-
type Raw = Error.EntityConflictError | Error.
|
|
12
|
+
type Raw = Error.EntityConflictError | Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
13
13
|
interface EntityConflictError {
|
|
14
14
|
errorName: "EntityConflictError";
|
|
15
15
|
content: EntityConflictErrorMessage.Raw;
|
|
16
16
|
}
|
|
17
|
-
interface
|
|
18
|
-
errorName: "
|
|
19
|
-
content:
|
|
17
|
+
interface HttpRequestValidationsError {
|
|
18
|
+
errorName: "HttpRequestValidationsError";
|
|
19
|
+
content: RequestValidationError.Raw[];
|
|
20
20
|
}
|
|
21
21
|
interface EntityNotFoundError {
|
|
22
22
|
errorName: "EntityNotFoundError";
|
|
@@ -41,15 +41,15 @@ exports.Error = void 0;
|
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
43
|
const EntityConflictErrorMessage_1 = require("../../../../commons/types/EntityConflictErrorMessage");
|
|
44
|
-
const
|
|
44
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
45
45
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
46
46
|
exports.Error = core.serialization
|
|
47
47
|
.union("errorName", {
|
|
48
48
|
EntityConflictError: core.serialization.object({
|
|
49
49
|
content: EntityConflictErrorMessage_1.EntityConflictErrorMessage,
|
|
50
50
|
}),
|
|
51
|
-
|
|
52
|
-
content:
|
|
51
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
52
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
53
53
|
}),
|
|
54
54
|
EntityNotFoundError: core.serialization.object({
|
|
55
55
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
@@ -60,8 +60,8 @@ exports.Error = core.serialization
|
|
|
60
60
|
switch (value.errorName) {
|
|
61
61
|
case "EntityConflictError":
|
|
62
62
|
return CandidApi.encounterProviders.v2.createReferringProvider.Error.entityConflictError(value.content);
|
|
63
|
-
case "
|
|
64
|
-
return CandidApi.encounterProviders.v2.createReferringProvider.Error.
|
|
63
|
+
case "HttpRequestValidationsError":
|
|
64
|
+
return CandidApi.encounterProviders.v2.createReferringProvider.Error.httpRequestValidationsError(value.content);
|
|
65
65
|
case "EntityNotFoundError":
|
|
66
66
|
return CandidApi.encounterProviders.v2.createReferringProvider.Error.entityNotFoundError(value.content);
|
|
67
67
|
}
|
|
@@ -5,18 +5,18 @@ import * as serializers from "../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { EntityConflictErrorMessage } from "../../../../commons/types/EntityConflictErrorMessage";
|
|
8
|
-
import {
|
|
8
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
9
9
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
10
10
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.createSupervisingProvider.Error.Raw, CandidApi.encounterProviders.v2.createSupervisingProvider.Error>;
|
|
11
11
|
export declare namespace Error {
|
|
12
|
-
type Raw = Error.EntityConflictError | Error.
|
|
12
|
+
type Raw = Error.EntityConflictError | Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
13
13
|
interface EntityConflictError {
|
|
14
14
|
errorName: "EntityConflictError";
|
|
15
15
|
content: EntityConflictErrorMessage.Raw;
|
|
16
16
|
}
|
|
17
|
-
interface
|
|
18
|
-
errorName: "
|
|
19
|
-
content:
|
|
17
|
+
interface HttpRequestValidationsError {
|
|
18
|
+
errorName: "HttpRequestValidationsError";
|
|
19
|
+
content: RequestValidationError.Raw[];
|
|
20
20
|
}
|
|
21
21
|
interface EntityNotFoundError {
|
|
22
22
|
errorName: "EntityNotFoundError";
|
|
@@ -41,15 +41,15 @@ exports.Error = void 0;
|
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
43
|
const EntityConflictErrorMessage_1 = require("../../../../commons/types/EntityConflictErrorMessage");
|
|
44
|
-
const
|
|
44
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
45
45
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
46
46
|
exports.Error = core.serialization
|
|
47
47
|
.union("errorName", {
|
|
48
48
|
EntityConflictError: core.serialization.object({
|
|
49
49
|
content: EntityConflictErrorMessage_1.EntityConflictErrorMessage,
|
|
50
50
|
}),
|
|
51
|
-
|
|
52
|
-
content:
|
|
51
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
52
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
53
53
|
}),
|
|
54
54
|
EntityNotFoundError: core.serialization.object({
|
|
55
55
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
@@ -60,8 +60,8 @@ exports.Error = core.serialization
|
|
|
60
60
|
switch (value.errorName) {
|
|
61
61
|
case "EntityConflictError":
|
|
62
62
|
return CandidApi.encounterProviders.v2.createSupervisingProvider.Error.entityConflictError(value.content);
|
|
63
|
-
case "
|
|
64
|
-
return CandidApi.encounterProviders.v2.createSupervisingProvider.Error.
|
|
63
|
+
case "HttpRequestValidationsError":
|
|
64
|
+
return CandidApi.encounterProviders.v2.createSupervisingProvider.Error.httpRequestValidationsError(value.content);
|
|
65
65
|
case "EntityNotFoundError":
|
|
66
66
|
return CandidApi.encounterProviders.v2.createSupervisingProvider.Error.entityNotFoundError(value.content);
|
|
67
67
|
}
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
8
8
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
9
9
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.updateInitialReferringProvider.Error.Raw, CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error>;
|
|
10
10
|
export declare namespace Error {
|
|
11
|
-
type Raw = Error.
|
|
12
|
-
interface
|
|
13
|
-
errorName: "
|
|
14
|
-
content:
|
|
11
|
+
type Raw = Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
12
|
+
interface HttpRequestValidationsError {
|
|
13
|
+
errorName: "HttpRequestValidationsError";
|
|
14
|
+
content: RequestValidationError.Raw[];
|
|
15
15
|
}
|
|
16
16
|
interface EntityNotFoundError {
|
|
17
17
|
errorName: "EntityNotFoundError";
|
|
@@ -40,12 +40,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
exports.Error = void 0;
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
|
-
const
|
|
43
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
44
44
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
45
45
|
exports.Error = core.serialization
|
|
46
46
|
.union("errorName", {
|
|
47
|
-
|
|
48
|
-
content:
|
|
47
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
48
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
49
49
|
}),
|
|
50
50
|
EntityNotFoundError: core.serialization.object({
|
|
51
51
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
@@ -54,8 +54,8 @@ exports.Error = core.serialization
|
|
|
54
54
|
.transform({
|
|
55
55
|
transform: (value) => {
|
|
56
56
|
switch (value.errorName) {
|
|
57
|
-
case "
|
|
58
|
-
return CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.
|
|
57
|
+
case "HttpRequestValidationsError":
|
|
58
|
+
return CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.httpRequestValidationsError(value.content);
|
|
59
59
|
case "EntityNotFoundError":
|
|
60
60
|
return CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.entityNotFoundError(value.content);
|
|
61
61
|
}
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
8
8
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
9
9
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.updateOrderingProvider.Error.Raw, CandidApi.encounterProviders.v2.updateOrderingProvider.Error>;
|
|
10
10
|
export declare namespace Error {
|
|
11
|
-
type Raw = Error.
|
|
12
|
-
interface
|
|
13
|
-
errorName: "
|
|
14
|
-
content:
|
|
11
|
+
type Raw = Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
12
|
+
interface HttpRequestValidationsError {
|
|
13
|
+
errorName: "HttpRequestValidationsError";
|
|
14
|
+
content: RequestValidationError.Raw[];
|
|
15
15
|
}
|
|
16
16
|
interface EntityNotFoundError {
|
|
17
17
|
errorName: "EntityNotFoundError";
|
|
@@ -40,12 +40,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
exports.Error = void 0;
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
|
-
const
|
|
43
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
44
44
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
45
45
|
exports.Error = core.serialization
|
|
46
46
|
.union("errorName", {
|
|
47
|
-
|
|
48
|
-
content:
|
|
47
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
48
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
49
49
|
}),
|
|
50
50
|
EntityNotFoundError: core.serialization.object({
|
|
51
51
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
@@ -54,8 +54,8 @@ exports.Error = core.serialization
|
|
|
54
54
|
.transform({
|
|
55
55
|
transform: (value) => {
|
|
56
56
|
switch (value.errorName) {
|
|
57
|
-
case "
|
|
58
|
-
return CandidApi.encounterProviders.v2.updateOrderingProvider.Error.
|
|
57
|
+
case "HttpRequestValidationsError":
|
|
58
|
+
return CandidApi.encounterProviders.v2.updateOrderingProvider.Error.httpRequestValidationsError(value.content);
|
|
59
59
|
case "EntityNotFoundError":
|
|
60
60
|
return CandidApi.encounterProviders.v2.updateOrderingProvider.Error.entityNotFoundError(value.content);
|
|
61
61
|
}
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
8
8
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
9
9
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.updateReferringProvider.Error.Raw, CandidApi.encounterProviders.v2.updateReferringProvider.Error>;
|
|
10
10
|
export declare namespace Error {
|
|
11
|
-
type Raw = Error.
|
|
12
|
-
interface
|
|
13
|
-
errorName: "
|
|
14
|
-
content:
|
|
11
|
+
type Raw = Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
12
|
+
interface HttpRequestValidationsError {
|
|
13
|
+
errorName: "HttpRequestValidationsError";
|
|
14
|
+
content: RequestValidationError.Raw[];
|
|
15
15
|
}
|
|
16
16
|
interface EntityNotFoundError {
|
|
17
17
|
errorName: "EntityNotFoundError";
|
|
@@ -40,12 +40,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
exports.Error = void 0;
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
|
-
const
|
|
43
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
44
44
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
45
45
|
exports.Error = core.serialization
|
|
46
46
|
.union("errorName", {
|
|
47
|
-
|
|
48
|
-
content:
|
|
47
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
48
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
49
49
|
}),
|
|
50
50
|
EntityNotFoundError: core.serialization.object({
|
|
51
51
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
@@ -54,8 +54,8 @@ exports.Error = core.serialization
|
|
|
54
54
|
.transform({
|
|
55
55
|
transform: (value) => {
|
|
56
56
|
switch (value.errorName) {
|
|
57
|
-
case "
|
|
58
|
-
return CandidApi.encounterProviders.v2.updateReferringProvider.Error.
|
|
57
|
+
case "HttpRequestValidationsError":
|
|
58
|
+
return CandidApi.encounterProviders.v2.updateReferringProvider.Error.httpRequestValidationsError(value.content);
|
|
59
59
|
case "EntityNotFoundError":
|
|
60
60
|
return CandidApi.encounterProviders.v2.updateReferringProvider.Error.entityNotFoundError(value.content);
|
|
61
61
|
}
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
8
8
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
9
9
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.updateSupervisingProvider.Error.Raw, CandidApi.encounterProviders.v2.updateSupervisingProvider.Error>;
|
|
10
10
|
export declare namespace Error {
|
|
11
|
-
type Raw = Error.
|
|
12
|
-
interface
|
|
13
|
-
errorName: "
|
|
14
|
-
content:
|
|
11
|
+
type Raw = Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
12
|
+
interface HttpRequestValidationsError {
|
|
13
|
+
errorName: "HttpRequestValidationsError";
|
|
14
|
+
content: RequestValidationError.Raw[];
|
|
15
15
|
}
|
|
16
16
|
interface EntityNotFoundError {
|
|
17
17
|
errorName: "EntityNotFoundError";
|
|
@@ -40,12 +40,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
exports.Error = void 0;
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
|
-
const
|
|
43
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
44
44
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
45
45
|
exports.Error = core.serialization
|
|
46
46
|
.union("errorName", {
|
|
47
|
-
|
|
48
|
-
content:
|
|
47
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
48
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
49
49
|
}),
|
|
50
50
|
EntityNotFoundError: core.serialization.object({
|
|
51
51
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
@@ -54,8 +54,8 @@ exports.Error = core.serialization
|
|
|
54
54
|
.transform({
|
|
55
55
|
transform: (value) => {
|
|
56
56
|
switch (value.errorName) {
|
|
57
|
-
case "
|
|
58
|
-
return CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.
|
|
57
|
+
case "HttpRequestValidationsError":
|
|
58
|
+
return CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.httpRequestValidationsError(value.content);
|
|
59
59
|
case "EntityNotFoundError":
|
|
60
60
|
return CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.entityNotFoundError(value.content);
|
|
61
61
|
}
|