candidhealth 0.38.0 → 0.38.1
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 +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +7 -4
- package/api/resources/chargeCapture/resources/v1/client/Client.js +18 -12
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +10 -3
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +9 -2
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +8 -2
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +6 -1
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.js +7 -5
- package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/create.js +11 -0
- package/api/resources/encounters/resources/v4/client/update.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/update.js +11 -0
- package/api/resources/encounters/resources/v4/types/InvalidTagNamesErrorType.d.ts +6 -0
- package/api/resources/encounters/resources/v4/types/InvalidTagNamesErrorType.js +5 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/api/resources/encounters/resources/v4/types/index.js +1 -0
- 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 +2 -1
- package/api/resources/medicationDispense/resources/v1/client/create.d.ts +7 -1
- package/api/resources/medicationDispense/resources/v1/client/create.js +11 -0
- 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/common/types/ResourcePage.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +3 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +2 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +2 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/api/resources/x12/resources/v1/types/Rarc.d.ts +4 -1
- package/api/resources/x12/resources/v1/types/Rarc.js +3 -0
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +7 -4
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +18 -12
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +10 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +9 -2
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +8 -2
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +6 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.js +7 -5
- package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
- package/dist/api/resources/encounters/resources/v4/client/update.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/update.js +11 -0
- package/dist/api/resources/encounters/resources/v4/types/InvalidTagNamesErrorType.d.ts +6 -0
- package/dist/api/resources/encounters/resources/v4/types/InvalidTagNamesErrorType.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
- 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 +2 -1
- package/dist/api/resources/medicationDispense/resources/v1/client/create.d.ts +7 -1
- package/dist/api/resources/medicationDispense/resources/v1/client/create.js +11 -0
- 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/common/types/ResourcePage.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +3 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +2 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- 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/api/resources/x12/resources/v1/types/Rarc.d.ts +4 -1
- package/dist/api/resources/x12/resources/v1/types/Rarc.js +3 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
- package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/create.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/client/update.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/update.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/types/InvalidTagNamesErrorType.d.ts +12 -0
- package/dist/serialization/resources/encounters/resources/v4/types/InvalidTagNamesErrorType.js +33 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/client/create.d.ts +6 -1
- package/dist/serialization/resources/medicationDispense/resources/v1/client/create.js +6 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ResourcePage.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ResourcePage.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +2 -0
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +3 -0
- package/package.json +1 -1
- package/reference.md +6 -3
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +2 -2
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +2 -2
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +2 -2
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +2 -2
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -2
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -2
- package/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/create.js +6 -0
- package/serialization/resources/encounters/resources/v4/client/update.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/update.js +6 -0
- package/serialization/resources/encounters/resources/v4/types/InvalidTagNamesErrorType.d.ts +12 -0
- package/serialization/resources/encounters/resources/v4/types/InvalidTagNamesErrorType.js +33 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/serialization/resources/medicationDispense/resources/v1/client/create.d.ts +6 -1
- package/serialization/resources/medicationDispense/resources/v1/client/create.js +6 -0
- package/serialization/resources/preEncounter/resources/common/types/ResourcePage.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/common/types/ResourcePage.js +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/BenefitType.js +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageLevel.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/CoverageValue.js +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/PlanCoverageDetails.js +2 -0
- package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/serialization/resources/x12/resources/v1/types/Rarc.js +3 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.encounters.v4.create.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.create.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.create.Error.EntityNotFoundError | CandidApi.encounters.v4.create.Error.EncounterGuarantorMissingContactInfoError | CandidApi.encounters.v4.create.Error.HttpRequestValidationsError | CandidApi.encounters.v4.create.Error.CashPayPayerError | CandidApi.encounters.v4.create.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.create.Error._Unknown;
|
|
6
|
+
export declare type Error = CandidApi.encounters.v4.create.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.create.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.create.Error.EntityNotFoundError | CandidApi.encounters.v4.create.Error.EncounterGuarantorMissingContactInfoError | CandidApi.encounters.v4.create.Error.HttpRequestValidationsError | CandidApi.encounters.v4.create.Error.CashPayPayerError | CandidApi.encounters.v4.create.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.create.Error.InvalidTagNamesError | CandidApi.encounters.v4.create.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface EncounterExternalIdUniquenessError extends _Utils {
|
|
9
9
|
errorName: "EncounterExternalIdUniquenessError";
|
|
@@ -33,6 +33,10 @@ export declare namespace Error {
|
|
|
33
33
|
errorName: "SchemaInstanceValidationHttpFailure";
|
|
34
34
|
content: CandidApi.encounters.v4.SchemaInstanceValidationFailure;
|
|
35
35
|
}
|
|
36
|
+
interface InvalidTagNamesError extends _Utils {
|
|
37
|
+
errorName: "InvalidTagNamesError";
|
|
38
|
+
content: CandidApi.encounters.v4.InvalidTagNamesErrorType;
|
|
39
|
+
}
|
|
36
40
|
interface _Unknown extends _Utils {
|
|
37
41
|
errorName: void;
|
|
38
42
|
content: core.Fetcher.Error;
|
|
@@ -48,6 +52,7 @@ export declare namespace Error {
|
|
|
48
52
|
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
49
53
|
cashPayPayerError: (value: CandidApi.encounters.v4.CashPayPayerErrorMessage) => _Result;
|
|
50
54
|
schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
|
|
55
|
+
invalidTagNamesError: (value: CandidApi.encounters.v4.InvalidTagNamesErrorType) => _Result;
|
|
51
56
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
52
57
|
}
|
|
53
58
|
}
|
|
@@ -59,6 +64,7 @@ export declare const Error: {
|
|
|
59
64
|
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounters.v4.create.Error.HttpRequestValidationsError;
|
|
60
65
|
readonly cashPayPayerError: (value: CandidApi.encounters.v4.CashPayPayerErrorMessage) => CandidApi.encounters.v4.create.Error.CashPayPayerError;
|
|
61
66
|
readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.encounters.v4.create.Error.SchemaInstanceValidationHttpFailure;
|
|
67
|
+
readonly invalidTagNamesError: (value: CandidApi.encounters.v4.InvalidTagNamesErrorType) => CandidApi.encounters.v4.create.Error.InvalidTagNamesError;
|
|
62
68
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounters.v4.create.Error._Unknown;
|
|
63
69
|
readonly _visit: <_Result>(value: CandidApi.encounters.v4.create.Error, visitor: CandidApi.encounters.v4.create.Error._Visitor<_Result>) => _Result;
|
|
64
70
|
};
|
|
@@ -92,6 +92,15 @@ exports.Error = {
|
|
|
92
92
|
},
|
|
93
93
|
};
|
|
94
94
|
},
|
|
95
|
+
invalidTagNamesError: (value) => {
|
|
96
|
+
return {
|
|
97
|
+
content: value,
|
|
98
|
+
errorName: "InvalidTagNamesError",
|
|
99
|
+
_visit: function (visitor) {
|
|
100
|
+
return CandidApi.encounters.v4.create.Error._visit(this, visitor);
|
|
101
|
+
},
|
|
102
|
+
};
|
|
103
|
+
},
|
|
95
104
|
_unknown: (fetcherError) => {
|
|
96
105
|
return {
|
|
97
106
|
errorName: undefined,
|
|
@@ -117,6 +126,8 @@ exports.Error = {
|
|
|
117
126
|
return visitor.cashPayPayerError(value.content);
|
|
118
127
|
case "SchemaInstanceValidationHttpFailure":
|
|
119
128
|
return visitor.schemaInstanceValidationHttpFailure(value.content);
|
|
129
|
+
case "InvalidTagNamesError":
|
|
130
|
+
return visitor.invalidTagNamesError(value.content);
|
|
120
131
|
default:
|
|
121
132
|
return visitor._other(value);
|
|
122
133
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.encounters.v4.update.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.update.Error.EntityNotFoundError | CandidApi.encounters.v4.update.Error.UnauthorizedError | CandidApi.encounters.v4.update.Error.HttpRequestValidationsError | CandidApi.encounters.v4.update.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.update.Error.UnprocessableEntityError | CandidApi.encounters.v4.update.Error._Unknown;
|
|
6
|
+
export declare type Error = CandidApi.encounters.v4.update.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.update.Error.EntityNotFoundError | CandidApi.encounters.v4.update.Error.UnauthorizedError | CandidApi.encounters.v4.update.Error.HttpRequestValidationsError | CandidApi.encounters.v4.update.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.update.Error.UnprocessableEntityError | CandidApi.encounters.v4.update.Error.InvalidTagNamesError | CandidApi.encounters.v4.update.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface EncounterExternalIdUniquenessError extends _Utils {
|
|
9
9
|
errorName: "EncounterExternalIdUniquenessError";
|
|
@@ -29,6 +29,10 @@ export declare namespace Error {
|
|
|
29
29
|
errorName: "UnprocessableEntityError";
|
|
30
30
|
content: CandidApi.UnprocessableEntityErrorMessage;
|
|
31
31
|
}
|
|
32
|
+
interface InvalidTagNamesError extends _Utils {
|
|
33
|
+
errorName: "InvalidTagNamesError";
|
|
34
|
+
content: CandidApi.encounters.v4.InvalidTagNamesErrorType;
|
|
35
|
+
}
|
|
32
36
|
interface _Unknown extends _Utils {
|
|
33
37
|
errorName: void;
|
|
34
38
|
content: core.Fetcher.Error;
|
|
@@ -43,6 +47,7 @@ export declare namespace Error {
|
|
|
43
47
|
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
44
48
|
schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
|
|
45
49
|
unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
|
|
50
|
+
invalidTagNamesError: (value: CandidApi.encounters.v4.InvalidTagNamesErrorType) => _Result;
|
|
46
51
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
47
52
|
}
|
|
48
53
|
}
|
|
@@ -53,6 +58,7 @@ export declare const Error: {
|
|
|
53
58
|
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounters.v4.update.Error.HttpRequestValidationsError;
|
|
54
59
|
readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.encounters.v4.update.Error.SchemaInstanceValidationHttpFailure;
|
|
55
60
|
readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounters.v4.update.Error.UnprocessableEntityError;
|
|
61
|
+
readonly invalidTagNamesError: (value: CandidApi.encounters.v4.InvalidTagNamesErrorType) => CandidApi.encounters.v4.update.Error.InvalidTagNamesError;
|
|
56
62
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounters.v4.update.Error._Unknown;
|
|
57
63
|
readonly _visit: <_Result>(value: CandidApi.encounters.v4.update.Error, visitor: CandidApi.encounters.v4.update.Error._Visitor<_Result>) => _Result;
|
|
58
64
|
};
|
|
@@ -83,6 +83,15 @@ exports.Error = {
|
|
|
83
83
|
},
|
|
84
84
|
};
|
|
85
85
|
},
|
|
86
|
+
invalidTagNamesError: (value) => {
|
|
87
|
+
return {
|
|
88
|
+
content: value,
|
|
89
|
+
errorName: "InvalidTagNamesError",
|
|
90
|
+
_visit: function (visitor) {
|
|
91
|
+
return CandidApi.encounters.v4.update.Error._visit(this, visitor);
|
|
92
|
+
},
|
|
93
|
+
};
|
|
94
|
+
},
|
|
86
95
|
_unknown: (fetcherError) => {
|
|
87
96
|
return {
|
|
88
97
|
errorName: undefined,
|
|
@@ -106,6 +115,8 @@ exports.Error = {
|
|
|
106
115
|
return visitor.schemaInstanceValidationHttpFailure(value.content);
|
|
107
116
|
case "UnprocessableEntityError":
|
|
108
117
|
return visitor.unprocessableEntityError(value.content);
|
|
118
|
+
case "InvalidTagNamesError":
|
|
119
|
+
return visitor.invalidTagNamesError(value.content);
|
|
109
120
|
default:
|
|
110
121
|
return visitor._other(value);
|
|
111
122
|
}
|
|
@@ -33,6 +33,7 @@ export * from "./EncounterExternalIdUniquenessErrorType";
|
|
|
33
33
|
export * from "./EncounterPatientControlNumberUniquenessErrorType";
|
|
34
34
|
export * from "./EncounterGuarantorMissingContactInfoErrorType";
|
|
35
35
|
export * from "./CashPayPayerErrorMessage";
|
|
36
|
+
export * from "./InvalidTagNamesErrorType";
|
|
36
37
|
export * from "./ServiceAuthorizationExceptionCode";
|
|
37
38
|
export * from "./SchemaInstanceValidationFailure";
|
|
38
39
|
export * from "./KeyDoesNotExistError";
|
|
@@ -49,6 +49,7 @@ __exportStar(require("./EncounterExternalIdUniquenessErrorType"), exports);
|
|
|
49
49
|
__exportStar(require("./EncounterPatientControlNumberUniquenessErrorType"), exports);
|
|
50
50
|
__exportStar(require("./EncounterGuarantorMissingContactInfoErrorType"), exports);
|
|
51
51
|
__exportStar(require("./CashPayPayerErrorMessage"), exports);
|
|
52
|
+
__exportStar(require("./InvalidTagNamesErrorType"), exports);
|
|
52
53
|
__exportStar(require("./ServiceAuthorizationExceptionCode"), exports);
|
|
53
54
|
__exportStar(require("./SchemaInstanceValidationFailure"), exports);
|
|
54
55
|
__exportStar(require("./KeyDoesNotExistError"), exports);
|
|
@@ -79,7 +79,7 @@ class V1 {
|
|
|
79
79
|
Authorization: yield this._getAuthorizationHeader(),
|
|
80
80
|
"X-Fern-Language": "JavaScript",
|
|
81
81
|
"X-Fern-SDK-Name": "candidhealth",
|
|
82
|
-
"X-Fern-SDK-Version": "0.38.
|
|
82
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
83
83
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
84
84
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
85
85
|
},
|
|
@@ -96,7 +96,7 @@ class V2 {
|
|
|
96
96
|
Authorization: yield this._getAuthorizationHeader(),
|
|
97
97
|
"X-Fern-Language": "JavaScript",
|
|
98
98
|
"X-Fern-SDK-Name": "candidhealth",
|
|
99
|
-
"X-Fern-SDK-Version": "0.38.
|
|
99
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
100
100
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
101
101
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
102
102
|
},
|
|
@@ -189,7 +189,7 @@ class V2 {
|
|
|
189
189
|
Authorization: yield this._getAuthorizationHeader(),
|
|
190
190
|
"X-Fern-Language": "JavaScript",
|
|
191
191
|
"X-Fern-SDK-Name": "candidhealth",
|
|
192
|
-
"X-Fern-SDK-Version": "0.38.
|
|
192
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
193
193
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
194
194
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
195
195
|
},
|
|
@@ -87,7 +87,7 @@ class V3 {
|
|
|
87
87
|
Authorization: yield this._getAuthorizationHeader(),
|
|
88
88
|
"X-Fern-Language": "JavaScript",
|
|
89
89
|
"X-Fern-SDK-Name": "candidhealth",
|
|
90
|
-
"X-Fern-SDK-Version": "0.38.
|
|
90
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
91
91
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
92
92
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
93
93
|
},
|
|
@@ -82,7 +82,7 @@ class V1 {
|
|
|
82
82
|
Authorization: yield this._getAuthorizationHeader(),
|
|
83
83
|
"X-Fern-Language": "JavaScript",
|
|
84
84
|
"X-Fern-SDK-Name": "candidhealth",
|
|
85
|
-
"X-Fern-SDK-Version": "0.38.
|
|
85
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
86
86
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
87
87
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
88
88
|
},
|
|
@@ -68,7 +68,7 @@ class V3 {
|
|
|
68
68
|
Authorization: yield this._getAuthorizationHeader(),
|
|
69
69
|
"X-Fern-Language": "JavaScript",
|
|
70
70
|
"X-Fern-SDK-Name": "candidhealth",
|
|
71
|
-
"X-Fern-SDK-Version": "0.38.
|
|
71
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
72
72
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
73
73
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
74
74
|
},
|
|
@@ -131,7 +131,7 @@ class V3 {
|
|
|
131
131
|
Authorization: yield this._getAuthorizationHeader(),
|
|
132
132
|
"X-Fern-Language": "JavaScript",
|
|
133
133
|
"X-Fern-SDK-Name": "candidhealth",
|
|
134
|
-
"X-Fern-SDK-Version": "0.38.
|
|
134
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
135
135
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
136
136
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
137
137
|
},
|
|
@@ -274,7 +274,7 @@ class V3 {
|
|
|
274
274
|
Authorization: yield this._getAuthorizationHeader(),
|
|
275
275
|
"X-Fern-Language": "JavaScript",
|
|
276
276
|
"X-Fern-SDK-Name": "candidhealth",
|
|
277
|
-
"X-Fern-SDK-Version": "0.38.
|
|
277
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
278
278
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
279
279
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
280
280
|
},
|
|
@@ -401,7 +401,7 @@ class V3 {
|
|
|
401
401
|
Authorization: yield this._getAuthorizationHeader(),
|
|
402
402
|
"X-Fern-Language": "JavaScript",
|
|
403
403
|
"X-Fern-SDK-Name": "candidhealth",
|
|
404
|
-
"X-Fern-SDK-Version": "0.38.
|
|
404
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
405
405
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
406
406
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
407
407
|
},
|
|
@@ -449,7 +449,7 @@ class V3 {
|
|
|
449
449
|
Authorization: yield this._getAuthorizationHeader(),
|
|
450
450
|
"X-Fern-Language": "JavaScript",
|
|
451
451
|
"X-Fern-SDK-Name": "candidhealth",
|
|
452
|
-
"X-Fern-SDK-Version": "0.38.
|
|
452
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
453
453
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
454
454
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
455
455
|
},
|
|
@@ -531,7 +531,7 @@ class V3 {
|
|
|
531
531
|
Authorization: yield this._getAuthorizationHeader(),
|
|
532
532
|
"X-Fern-Language": "JavaScript",
|
|
533
533
|
"X-Fern-SDK-Name": "candidhealth",
|
|
534
|
-
"X-Fern-SDK-Version": "0.38.
|
|
534
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
535
535
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
536
536
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
537
537
|
},
|
|
@@ -596,7 +596,7 @@ class V3 {
|
|
|
596
596
|
Authorization: yield this._getAuthorizationHeader(),
|
|
597
597
|
"X-Fern-Language": "JavaScript",
|
|
598
598
|
"X-Fern-SDK-Name": "candidhealth",
|
|
599
|
-
"X-Fern-SDK-Version": "0.38.
|
|
599
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
600
600
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
601
601
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
602
602
|
},
|
|
@@ -652,7 +652,7 @@ class V3 {
|
|
|
652
652
|
Authorization: yield this._getAuthorizationHeader(),
|
|
653
653
|
"X-Fern-Language": "JavaScript",
|
|
654
654
|
"X-Fern-SDK-Name": "candidhealth",
|
|
655
|
-
"X-Fern-SDK-Version": "0.38.
|
|
655
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
656
656
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
657
657
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
658
658
|
},
|
|
@@ -709,7 +709,7 @@ class V3 {
|
|
|
709
709
|
Authorization: yield this._getAuthorizationHeader(),
|
|
710
710
|
"X-Fern-Language": "JavaScript",
|
|
711
711
|
"X-Fern-SDK-Name": "candidhealth",
|
|
712
|
-
"X-Fern-SDK-Version": "0.38.
|
|
712
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
713
713
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
714
714
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
715
715
|
},
|
|
@@ -762,7 +762,7 @@ class V3 {
|
|
|
762
762
|
Authorization: yield this._getAuthorizationHeader(),
|
|
763
763
|
"X-Fern-Language": "JavaScript",
|
|
764
764
|
"X-Fern-SDK-Name": "candidhealth",
|
|
765
|
-
"X-Fern-SDK-Version": "0.38.
|
|
765
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
766
766
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
767
767
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
768
768
|
},
|
|
@@ -89,7 +89,7 @@ class V1 {
|
|
|
89
89
|
Authorization: yield this._getAuthorizationHeader(),
|
|
90
90
|
"X-Fern-Language": "JavaScript",
|
|
91
91
|
"X-Fern-SDK-Name": "candidhealth",
|
|
92
|
-
"X-Fern-SDK-Version": "0.38.
|
|
92
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
93
93
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
94
94
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
95
95
|
},
|
|
@@ -152,7 +152,7 @@ class V1 {
|
|
|
152
152
|
Authorization: yield this._getAuthorizationHeader(),
|
|
153
153
|
"X-Fern-Language": "JavaScript",
|
|
154
154
|
"X-Fern-SDK-Name": "candidhealth",
|
|
155
|
-
"X-Fern-SDK-Version": "0.38.
|
|
155
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
156
156
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
157
157
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
158
158
|
},
|
|
@@ -200,7 +200,7 @@ class V1 {
|
|
|
200
200
|
Authorization: yield this._getAuthorizationHeader(),
|
|
201
201
|
"X-Fern-Language": "JavaScript",
|
|
202
202
|
"X-Fern-SDK-Name": "candidhealth",
|
|
203
|
-
"X-Fern-SDK-Version": "0.38.
|
|
203
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
204
204
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
205
205
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
206
206
|
},
|
|
@@ -84,7 +84,7 @@ class V1 {
|
|
|
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.38.
|
|
87
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
88
88
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
89
89
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
90
90
|
},
|
|
@@ -197,7 +197,7 @@ class V1 {
|
|
|
197
197
|
Authorization: yield this._getAuthorizationHeader(),
|
|
198
198
|
"X-Fern-Language": "JavaScript",
|
|
199
199
|
"X-Fern-SDK-Name": "candidhealth",
|
|
200
|
-
"X-Fern-SDK-Version": "0.38.
|
|
200
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
201
201
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
202
202
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
203
203
|
},
|
|
@@ -245,7 +245,7 @@ class V1 {
|
|
|
245
245
|
Authorization: yield this._getAuthorizationHeader(),
|
|
246
246
|
"X-Fern-Language": "JavaScript",
|
|
247
247
|
"X-Fern-SDK-Name": "candidhealth",
|
|
248
|
-
"X-Fern-SDK-Version": "0.38.
|
|
248
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
249
249
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
250
250
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
251
251
|
},
|
|
@@ -322,7 +322,7 @@ class V1 {
|
|
|
322
322
|
Authorization: yield this._getAuthorizationHeader(),
|
|
323
323
|
"X-Fern-Language": "JavaScript",
|
|
324
324
|
"X-Fern-SDK-Name": "candidhealth",
|
|
325
|
-
"X-Fern-SDK-Version": "0.38.
|
|
325
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
326
326
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
327
327
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
328
328
|
},
|
|
@@ -68,7 +68,7 @@ class V1 {
|
|
|
68
68
|
Authorization: yield this._getAuthorizationHeader(),
|
|
69
69
|
"X-Fern-Language": "JavaScript",
|
|
70
70
|
"X-Fern-SDK-Name": "candidhealth",
|
|
71
|
-
"X-Fern-SDK-Version": "0.38.
|
|
71
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
72
72
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
73
73
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
74
74
|
},
|
|
@@ -138,7 +138,7 @@ class V1 {
|
|
|
138
138
|
Authorization: yield this._getAuthorizationHeader(),
|
|
139
139
|
"X-Fern-Language": "JavaScript",
|
|
140
140
|
"X-Fern-SDK-Name": "candidhealth",
|
|
141
|
-
"X-Fern-SDK-Version": "0.38.
|
|
141
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
142
142
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
143
143
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
144
144
|
},
|
|
@@ -202,7 +202,7 @@ class V1 {
|
|
|
202
202
|
Authorization: yield this._getAuthorizationHeader(),
|
|
203
203
|
"X-Fern-Language": "JavaScript",
|
|
204
204
|
"X-Fern-SDK-Name": "candidhealth",
|
|
205
|
-
"X-Fern-SDK-Version": "0.38.
|
|
205
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
206
206
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
207
207
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
208
208
|
},
|
|
@@ -103,7 +103,7 @@ class V1 {
|
|
|
103
103
|
Authorization: yield this._getAuthorizationHeader(),
|
|
104
104
|
"X-Fern-Language": "JavaScript",
|
|
105
105
|
"X-Fern-SDK-Name": "candidhealth",
|
|
106
|
-
"X-Fern-SDK-Version": "0.38.
|
|
106
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
107
107
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
108
108
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
109
109
|
},
|
|
@@ -167,7 +167,7 @@ class V1 {
|
|
|
167
167
|
Authorization: yield this._getAuthorizationHeader(),
|
|
168
168
|
"X-Fern-Language": "JavaScript",
|
|
169
169
|
"X-Fern-SDK-Name": "candidhealth",
|
|
170
|
-
"X-Fern-SDK-Version": "0.38.
|
|
170
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
171
171
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
172
172
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
173
173
|
},
|
|
@@ -245,7 +245,7 @@ class V1 {
|
|
|
245
245
|
Authorization: yield this._getAuthorizationHeader(),
|
|
246
246
|
"X-Fern-Language": "JavaScript",
|
|
247
247
|
"X-Fern-SDK-Name": "candidhealth",
|
|
248
|
-
"X-Fern-SDK-Version": "0.38.
|
|
248
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
249
249
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
250
250
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
251
251
|
},
|
|
@@ -319,7 +319,7 @@ class V1 {
|
|
|
319
319
|
Authorization: yield this._getAuthorizationHeader(),
|
|
320
320
|
"X-Fern-Language": "JavaScript",
|
|
321
321
|
"X-Fern-SDK-Name": "candidhealth",
|
|
322
|
-
"X-Fern-SDK-Version": "0.38.
|
|
322
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
323
323
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
324
324
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
325
325
|
},
|
|
@@ -387,7 +387,7 @@ class V1 {
|
|
|
387
387
|
Authorization: yield this._getAuthorizationHeader(),
|
|
388
388
|
"X-Fern-Language": "JavaScript",
|
|
389
389
|
"X-Fern-SDK-Name": "candidhealth",
|
|
390
|
-
"X-Fern-SDK-Version": "0.38.
|
|
390
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
391
391
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
392
392
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
393
393
|
},
|
|
@@ -104,7 +104,7 @@ class V1 {
|
|
|
104
104
|
Authorization: yield this._getAuthorizationHeader(),
|
|
105
105
|
"X-Fern-Language": "JavaScript",
|
|
106
106
|
"X-Fern-SDK-Name": "candidhealth",
|
|
107
|
-
"X-Fern-SDK-Version": "0.38.
|
|
107
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
108
108
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
109
109
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
110
110
|
},
|
|
@@ -168,7 +168,7 @@ class V1 {
|
|
|
168
168
|
Authorization: yield this._getAuthorizationHeader(),
|
|
169
169
|
"X-Fern-Language": "JavaScript",
|
|
170
170
|
"X-Fern-SDK-Name": "candidhealth",
|
|
171
|
-
"X-Fern-SDK-Version": "0.38.
|
|
171
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
172
172
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
173
173
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
174
174
|
},
|
|
@@ -247,7 +247,7 @@ class V1 {
|
|
|
247
247
|
Authorization: yield this._getAuthorizationHeader(),
|
|
248
248
|
"X-Fern-Language": "JavaScript",
|
|
249
249
|
"X-Fern-SDK-Name": "candidhealth",
|
|
250
|
-
"X-Fern-SDK-Version": "0.38.
|
|
250
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
251
251
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
252
252
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
253
253
|
},
|
|
@@ -325,7 +325,7 @@ class V1 {
|
|
|
325
325
|
Authorization: yield this._getAuthorizationHeader(),
|
|
326
326
|
"X-Fern-Language": "JavaScript",
|
|
327
327
|
"X-Fern-SDK-Name": "candidhealth",
|
|
328
|
-
"X-Fern-SDK-Version": "0.38.
|
|
328
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
329
329
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
330
330
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
331
331
|
},
|
|
@@ -393,7 +393,7 @@ class V1 {
|
|
|
393
393
|
Authorization: yield this._getAuthorizationHeader(),
|
|
394
394
|
"X-Fern-Language": "JavaScript",
|
|
395
395
|
"X-Fern-SDK-Name": "candidhealth",
|
|
396
|
-
"X-Fern-SDK-Version": "0.38.
|
|
396
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
397
397
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
398
398
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
399
399
|
},
|
|
@@ -85,7 +85,7 @@ class V1 {
|
|
|
85
85
|
Authorization: yield this._getAuthorizationHeader(),
|
|
86
86
|
"X-Fern-Language": "JavaScript",
|
|
87
87
|
"X-Fern-SDK-Name": "candidhealth",
|
|
88
|
-
"X-Fern-SDK-Version": "0.38.
|
|
88
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
89
89
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
90
90
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
91
91
|
},
|
|
@@ -116,6 +116,7 @@ class V1 {
|
|
|
116
116
|
case "EncounterPatientControlNumberUniquenessError":
|
|
117
117
|
case "EntityNotFoundError":
|
|
118
118
|
case "SchemaInstanceValidationHttpFailure":
|
|
119
|
+
case "InvalidTagNamesError":
|
|
119
120
|
return {
|
|
120
121
|
ok: false,
|
|
121
122
|
error: serializers.medicationDispense.v1.create.Error.parseOrThrow(_response.error.body, {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.medicationDispense.v1.create.Error.HttpRequestValidationError | CandidApi.medicationDispense.v1.create.Error.EncounterExternalIdUniquenessError | CandidApi.medicationDispense.v1.create.Error.EncounterPatientControlNumberUniquenessError | CandidApi.medicationDispense.v1.create.Error.EntityNotFoundError | CandidApi.medicationDispense.v1.create.Error.SchemaInstanceValidationHttpFailure | CandidApi.medicationDispense.v1.create.Error._Unknown;
|
|
6
|
+
export declare type Error = CandidApi.medicationDispense.v1.create.Error.HttpRequestValidationError | CandidApi.medicationDispense.v1.create.Error.EncounterExternalIdUniquenessError | CandidApi.medicationDispense.v1.create.Error.EncounterPatientControlNumberUniquenessError | CandidApi.medicationDispense.v1.create.Error.EntityNotFoundError | CandidApi.medicationDispense.v1.create.Error.SchemaInstanceValidationHttpFailure | CandidApi.medicationDispense.v1.create.Error.InvalidTagNamesError | CandidApi.medicationDispense.v1.create.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface HttpRequestValidationError extends _Utils {
|
|
9
9
|
errorName: "HttpRequestValidationError";
|
|
@@ -25,6 +25,10 @@ export declare namespace Error {
|
|
|
25
25
|
errorName: "SchemaInstanceValidationHttpFailure";
|
|
26
26
|
content: CandidApi.encounters.v4.SchemaInstanceValidationFailure;
|
|
27
27
|
}
|
|
28
|
+
interface InvalidTagNamesError extends _Utils {
|
|
29
|
+
errorName: "InvalidTagNamesError";
|
|
30
|
+
content: CandidApi.encounters.v4.InvalidTagNamesErrorType;
|
|
31
|
+
}
|
|
28
32
|
interface _Unknown extends _Utils {
|
|
29
33
|
errorName: void;
|
|
30
34
|
content: core.Fetcher.Error;
|
|
@@ -38,6 +42,7 @@ export declare namespace Error {
|
|
|
38
42
|
encounterPatientControlNumberUniquenessError: (value: CandidApi.encounters.v4.EncounterPatientControlNumberUniquenessErrorType) => _Result;
|
|
39
43
|
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
40
44
|
schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
|
|
45
|
+
invalidTagNamesError: (value: CandidApi.encounters.v4.InvalidTagNamesErrorType) => _Result;
|
|
41
46
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
42
47
|
}
|
|
43
48
|
}
|
|
@@ -47,6 +52,7 @@ export declare const Error: {
|
|
|
47
52
|
readonly encounterPatientControlNumberUniquenessError: (value: CandidApi.encounters.v4.EncounterPatientControlNumberUniquenessErrorType) => CandidApi.medicationDispense.v1.create.Error.EncounterPatientControlNumberUniquenessError;
|
|
48
53
|
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.medicationDispense.v1.create.Error.EntityNotFoundError;
|
|
49
54
|
readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.medicationDispense.v1.create.Error.SchemaInstanceValidationHttpFailure;
|
|
55
|
+
readonly invalidTagNamesError: (value: CandidApi.encounters.v4.InvalidTagNamesErrorType) => CandidApi.medicationDispense.v1.create.Error.InvalidTagNamesError;
|
|
50
56
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.medicationDispense.v1.create.Error._Unknown;
|
|
51
57
|
readonly _visit: <_Result>(value: CandidApi.medicationDispense.v1.create.Error, visitor: CandidApi.medicationDispense.v1.create.Error._Visitor<_Result>) => _Result;
|
|
52
58
|
};
|
|
@@ -74,6 +74,15 @@ exports.Error = {
|
|
|
74
74
|
},
|
|
75
75
|
};
|
|
76
76
|
},
|
|
77
|
+
invalidTagNamesError: (value) => {
|
|
78
|
+
return {
|
|
79
|
+
content: value,
|
|
80
|
+
errorName: "InvalidTagNamesError",
|
|
81
|
+
_visit: function (visitor) {
|
|
82
|
+
return CandidApi.medicationDispense.v1.create.Error._visit(this, visitor);
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
},
|
|
77
86
|
_unknown: (fetcherError) => {
|
|
78
87
|
return {
|
|
79
88
|
errorName: undefined,
|
|
@@ -95,6 +104,8 @@ exports.Error = {
|
|
|
95
104
|
return visitor.entityNotFoundError(value.content);
|
|
96
105
|
case "SchemaInstanceValidationHttpFailure":
|
|
97
106
|
return visitor.schemaInstanceValidationHttpFailure(value.content);
|
|
107
|
+
case "InvalidTagNamesError":
|
|
108
|
+
return visitor.invalidTagNamesError(value.content);
|
|
98
109
|
default:
|
|
99
110
|
return visitor._other(value);
|
|
100
111
|
}
|
|
@@ -104,7 +104,7 @@ class V1 {
|
|
|
104
104
|
Authorization: yield this._getAuthorizationHeader(),
|
|
105
105
|
"X-Fern-Language": "JavaScript",
|
|
106
106
|
"X-Fern-SDK-Name": "candidhealth",
|
|
107
|
-
"X-Fern-SDK-Version": "0.38.
|
|
107
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
108
108
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
109
109
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
110
110
|
},
|
|
@@ -166,7 +166,7 @@ class V1 {
|
|
|
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.38.
|
|
169
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
170
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
172
|
},
|
|
@@ -239,7 +239,7 @@ class V1 {
|
|
|
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.38.
|
|
242
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
243
243
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
244
244
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
245
245
|
},
|
|
@@ -313,7 +313,7 @@ class V1 {
|
|
|
313
313
|
Authorization: yield this._getAuthorizationHeader(),
|
|
314
314
|
"X-Fern-Language": "JavaScript",
|
|
315
315
|
"X-Fern-SDK-Name": "candidhealth",
|
|
316
|
-
"X-Fern-SDK-Version": "0.38.
|
|
316
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
317
317
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
318
318
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
319
319
|
},
|
|
@@ -378,7 +378,7 @@ class V1 {
|
|
|
378
378
|
Authorization: yield this._getAuthorizationHeader(),
|
|
379
379
|
"X-Fern-Language": "JavaScript",
|
|
380
380
|
"X-Fern-SDK-Name": "candidhealth",
|
|
381
|
-
"X-Fern-SDK-Version": "0.38.
|
|
381
|
+
"X-Fern-SDK-Version": "0.38.1",
|
|
382
382
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
383
383
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
384
384
|
},
|