candidhealth 0.17.3 → 0.17.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/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +1 -2
- package/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +0 -1
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +1 -1
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +1 -1
- package/api/resources/claims/types/Claim.d.ts +3 -1
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/eligibility/resources/v2/client/Client.js +2 -2
- package/api/resources/encounters/resources/v4/client/Client.js +8 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +19 -0
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +4 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +18 -1
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -14
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +3 -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/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +9 -5
- package/api/resources/insurancePayments/resources/v1/client/create.d.ts +13 -1
- package/api/resources/insurancePayments/resources/v1/client/create.js +22 -0
- package/api/resources/insurancePayments/resources/v1/client/delete.d.ts +7 -1
- package/api/resources/insurancePayments/resources/v1/client/delete.js +11 -0
- package/api/resources/insurancePayments/resources/v1/client/update.d.ts +7 -1
- package/api/resources/insurancePayments/resources/v1/client/update.js +11 -0
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +83 -5
- package/api/resources/insuranceRefunds/resources/v1/client/create.d.ts +19 -1
- package/api/resources/insuranceRefunds/resources/v1/client/create.js +33 -0
- package/api/resources/insuranceRefunds/resources/v1/client/delete.d.ts +19 -1
- package/api/resources/insuranceRefunds/resources/v1/client/delete.js +33 -0
- package/api/resources/insuranceRefunds/resources/v1/client/get.d.ts +13 -1
- package/api/resources/insuranceRefunds/resources/v1/client/get.js +22 -0
- package/api/resources/insuranceRefunds/resources/v1/client/getMulti.d.ts +13 -1
- package/api/resources/insuranceRefunds/resources/v1/client/getMulti.js +22 -0
- package/api/resources/insuranceRefunds/resources/v1/client/update.d.ts +19 -1
- package/api/resources/insuranceRefunds/resources/v1/client/update.js +33 -0
- 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 +83 -5
- package/api/resources/patientPayments/resources/v4/client/create.d.ts +19 -1
- package/api/resources/patientPayments/resources/v4/client/create.js +33 -0
- package/api/resources/patientPayments/resources/v4/client/delete.d.ts +19 -1
- package/api/resources/patientPayments/resources/v4/client/delete.js +33 -0
- package/api/resources/patientPayments/resources/v4/client/get.d.ts +13 -1
- package/api/resources/patientPayments/resources/v4/client/get.js +22 -0
- package/api/resources/patientPayments/resources/v4/client/getMulti.d.ts +13 -1
- package/api/resources/patientPayments/resources/v4/client/getMulti.js +22 -0
- package/api/resources/patientPayments/resources/v4/client/update.d.ts +19 -1
- package/api/resources/patientPayments/resources/v4/client/update.js +33 -0
- package/api/resources/patientRefunds/resources/v1/client/Client.js +83 -5
- package/api/resources/patientRefunds/resources/v1/client/create.d.ts +19 -1
- package/api/resources/patientRefunds/resources/v1/client/create.js +33 -0
- package/api/resources/patientRefunds/resources/v1/client/delete.d.ts +19 -1
- package/api/resources/patientRefunds/resources/v1/client/delete.js +33 -0
- package/api/resources/patientRefunds/resources/v1/client/get.d.ts +13 -1
- package/api/resources/patientRefunds/resources/v1/client/get.js +22 -0
- package/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +13 -1
- package/api/resources/patientRefunds/resources/v1/client/getMulti.js +22 -0
- package/api/resources/patientRefunds/resources/v1/client/update.d.ts +19 -1
- package/api/resources/patientRefunds/resources/v1/client/update.js +33 -0
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -1
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -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/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +1 -2
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +0 -1
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +1 -1
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +1 -1
- package/dist/api/resources/claims/types/Claim.d.ts +3 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/encounters/resources/v4/client/Client.js +8 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +19 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +4 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +18 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -14
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +3 -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/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +9 -5
- package/dist/api/resources/insurancePayments/resources/v1/client/create.d.ts +13 -1
- package/dist/api/resources/insurancePayments/resources/v1/client/create.js +22 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/delete.d.ts +7 -1
- package/dist/api/resources/insurancePayments/resources/v1/client/delete.js +11 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/update.d.ts +7 -1
- package/dist/api/resources/insurancePayments/resources/v1/client/update.js +11 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +83 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/create.d.ts +19 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/create.js +33 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/delete.d.ts +19 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/delete.js +33 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/get.d.ts +13 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/get.js +22 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/getMulti.d.ts +13 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/getMulti.js +22 -0
- package/dist/api/resources/insuranceRefunds/resources/v1/client/update.d.ts +19 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/update.js +33 -0
- 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 +83 -5
- package/dist/api/resources/patientPayments/resources/v4/client/create.d.ts +19 -1
- package/dist/api/resources/patientPayments/resources/v4/client/create.js +33 -0
- package/dist/api/resources/patientPayments/resources/v4/client/delete.d.ts +19 -1
- package/dist/api/resources/patientPayments/resources/v4/client/delete.js +33 -0
- package/dist/api/resources/patientPayments/resources/v4/client/get.d.ts +13 -1
- package/dist/api/resources/patientPayments/resources/v4/client/get.js +22 -0
- package/dist/api/resources/patientPayments/resources/v4/client/getMulti.d.ts +13 -1
- package/dist/api/resources/patientPayments/resources/v4/client/getMulti.js +22 -0
- package/dist/api/resources/patientPayments/resources/v4/client/update.d.ts +19 -1
- package/dist/api/resources/patientPayments/resources/v4/client/update.js +33 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +83 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/create.d.ts +19 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/create.js +33 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/delete.d.ts +19 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/delete.js +33 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/get.d.ts +13 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/get.js +22 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/getMulti.d.ts +13 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/getMulti.js +22 -0
- package/dist/api/resources/patientRefunds/resources/v1/client/update.d.ts +19 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/update.js +33 -0
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -1
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -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/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +1 -1
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +1 -1
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -2
- package/dist/serialization/resources/insurancePayments/resources/v1/client/create.d.ts +9 -1
- package/dist/serialization/resources/insurancePayments/resources/v1/client/create.js +10 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +5 -1
- package/dist/serialization/resources/insurancePayments/resources/v1/client/delete.js +5 -0
- package/dist/serialization/resources/insurancePayments/resources/v1/client/update.d.ts +5 -1
- package/dist/serialization/resources/insurancePayments/resources/v1/client/update.js +5 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/create.d.ts +22 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/create.js +56 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/delete.d.ts +22 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/delete.js +56 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/get.d.ts +18 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/get.js +51 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/getMulti.d.ts +18 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/getMulti.js +51 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/index.d.ts +5 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/index.js +18 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/update.d.ts +22 -0
- package/dist/serialization/resources/insuranceRefunds/resources/v1/client/update.js +56 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/create.d.ts +22 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/create.js +56 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/delete.d.ts +22 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/delete.js +56 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/get.d.ts +18 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/get.js +51 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/getMulti.d.ts +18 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/getMulti.js +51 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/index.d.ts +5 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/index.js +18 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/update.d.ts +22 -0
- package/dist/serialization/resources/patientPayments/resources/v4/client/update.js +56 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/create.d.ts +22 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/create.js +56 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/delete.d.ts +22 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/delete.js +56 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/get.d.ts +18 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/get.js +51 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/getMulti.d.ts +18 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/getMulti.js +51 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/index.d.ts +5 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/index.js +18 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/update.d.ts +22 -0
- package/dist/serialization/resources/patientRefunds/resources/v1/client/update.js +56 -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/package.json +1 -1
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +1 -1
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +1 -1
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -2
- package/serialization/resources/insurancePayments/resources/v1/client/create.d.ts +9 -1
- package/serialization/resources/insurancePayments/resources/v1/client/create.js +10 -0
- package/serialization/resources/insurancePayments/resources/v1/client/delete.d.ts +5 -1
- package/serialization/resources/insurancePayments/resources/v1/client/delete.js +5 -0
- package/serialization/resources/insurancePayments/resources/v1/client/update.d.ts +5 -1
- package/serialization/resources/insurancePayments/resources/v1/client/update.js +5 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/create.d.ts +22 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/create.js +56 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/delete.d.ts +22 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/delete.js +56 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/get.d.ts +18 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/get.js +51 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/getMulti.d.ts +18 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/getMulti.js +51 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/index.d.ts +5 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/index.js +18 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/update.d.ts +22 -0
- package/serialization/resources/insuranceRefunds/resources/v1/client/update.js +56 -0
- package/serialization/resources/patientPayments/resources/v4/client/create.d.ts +22 -0
- package/serialization/resources/patientPayments/resources/v4/client/create.js +56 -0
- package/serialization/resources/patientPayments/resources/v4/client/delete.d.ts +22 -0
- package/serialization/resources/patientPayments/resources/v4/client/delete.js +56 -0
- package/serialization/resources/patientPayments/resources/v4/client/get.d.ts +18 -0
- package/serialization/resources/patientPayments/resources/v4/client/get.js +51 -0
- package/serialization/resources/patientPayments/resources/v4/client/getMulti.d.ts +18 -0
- package/serialization/resources/patientPayments/resources/v4/client/getMulti.js +51 -0
- package/serialization/resources/patientPayments/resources/v4/client/index.d.ts +5 -0
- package/serialization/resources/patientPayments/resources/v4/client/index.js +18 -0
- package/serialization/resources/patientPayments/resources/v4/client/update.d.ts +22 -0
- package/serialization/resources/patientPayments/resources/v4/client/update.js +56 -0
- package/serialization/resources/patientRefunds/resources/v1/client/create.d.ts +22 -0
- package/serialization/resources/patientRefunds/resources/v1/client/create.js +56 -0
- package/serialization/resources/patientRefunds/resources/v1/client/delete.d.ts +22 -0
- package/serialization/resources/patientRefunds/resources/v1/client/delete.js +56 -0
- package/serialization/resources/patientRefunds/resources/v1/client/get.d.ts +18 -0
- package/serialization/resources/patientRefunds/resources/v1/client/get.js +51 -0
- package/serialization/resources/patientRefunds/resources/v1/client/getMulti.d.ts +18 -0
- package/serialization/resources/patientRefunds/resources/v1/client/getMulti.js +51 -0
- package/serialization/resources/patientRefunds/resources/v1/client/index.d.ts +5 -0
- package/serialization/resources/patientRefunds/resources/v1/client/index.js +18 -0
- package/serialization/resources/patientRefunds/resources/v1/client/update.d.ts +22 -0
- package/serialization/resources/patientRefunds/resources/v1/client/update.js +56 -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
|
@@ -91,7 +91,7 @@ class V1 {
|
|
|
91
91
|
Authorization: await this._getAuthorizationHeader(),
|
|
92
92
|
"X-Fern-Language": "JavaScript",
|
|
93
93
|
"X-Fern-SDK-Name": "candidhealth",
|
|
94
|
-
"X-Fern-SDK-Version": "0.17.
|
|
94
|
+
"X-Fern-SDK-Version": "0.17.5",
|
|
95
95
|
},
|
|
96
96
|
contentType: "application/json",
|
|
97
97
|
queryParameters: _queryParams,
|
|
@@ -124,7 +124,7 @@ class V1 {
|
|
|
124
124
|
Authorization: await this._getAuthorizationHeader(),
|
|
125
125
|
"X-Fern-Language": "JavaScript",
|
|
126
126
|
"X-Fern-SDK-Name": "candidhealth",
|
|
127
|
-
"X-Fern-SDK-Version": "0.17.
|
|
127
|
+
"X-Fern-SDK-Version": "0.17.5",
|
|
128
128
|
},
|
|
129
129
|
contentType: "application/json",
|
|
130
130
|
timeoutMs: 60000,
|
|
@@ -158,7 +158,7 @@ class V1 {
|
|
|
158
158
|
Authorization: await this._getAuthorizationHeader(),
|
|
159
159
|
"X-Fern-Language": "JavaScript",
|
|
160
160
|
"X-Fern-SDK-Name": "candidhealth",
|
|
161
|
-
"X-Fern-SDK-Version": "0.17.
|
|
161
|
+
"X-Fern-SDK-Version": "0.17.5",
|
|
162
162
|
},
|
|
163
163
|
contentType: "application/json",
|
|
164
164
|
body: await serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
|
|
@@ -193,7 +193,7 @@ class V1 {
|
|
|
193
193
|
Authorization: await this._getAuthorizationHeader(),
|
|
194
194
|
"X-Fern-Language": "JavaScript",
|
|
195
195
|
"X-Fern-SDK-Name": "candidhealth",
|
|
196
|
-
"X-Fern-SDK-Version": "0.17.
|
|
196
|
+
"X-Fern-SDK-Version": "0.17.5",
|
|
197
197
|
},
|
|
198
198
|
contentType: "application/json",
|
|
199
199
|
timeoutMs: 60000,
|
package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const ClaimFrequencyTypeCode: core.serialization.Schema<serializers.claimSubmission.v1.ClaimFrequencyTypeCode.Raw, CandidApi.claimSubmission.v1.ClaimFrequencyTypeCode>;
|
|
8
8
|
export declare namespace ClaimFrequencyTypeCode {
|
|
9
|
-
type Raw = "1" | "
|
|
9
|
+
type Raw = "1" | "7" | "8";
|
|
10
10
|
}
|
package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js
CHANGED
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ClaimFrequencyTypeCode = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
exports.ClaimFrequencyTypeCode = core.serialization.enum_(["1", "
|
|
31
|
+
exports.ClaimFrequencyTypeCode = core.serialization.enum_(["1", "7", "8"]);
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ import * as core from "../../../../../../../core";
|
|
|
7
7
|
export declare const EncounterCreate: core.serialization.Schema<serializers.encounters.v4.EncounterCreate.Raw, CandidApi.encounters.v4.EncounterCreate>;
|
|
8
8
|
export declare namespace EncounterCreate {
|
|
9
9
|
interface Raw extends serializers.encounters.v4.EncounterBase.Raw {
|
|
10
|
+
date_of_service?: serializers.Date_.Raw | null;
|
|
11
|
+
end_date_of_service?: serializers.Date_.Raw | null;
|
|
10
12
|
patient: serializers.PatientCreate.Raw;
|
|
11
13
|
billing_provider: serializers.encounterProviders.v2.BillingProvider.Raw;
|
|
12
14
|
rendering_provider: serializers.encounterProviders.v2.RenderingProvider.Raw;
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js
CHANGED
|
@@ -30,6 +30,8 @@ exports.EncounterCreate = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../../../../core"));
|
|
31
31
|
exports.EncounterCreate = core.serialization
|
|
32
32
|
.object({
|
|
33
|
+
dateOfService: core.serialization.property("date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
|
|
34
|
+
endDateOfService: core.serialization.property("end_date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
|
|
33
35
|
patient: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).PatientCreate),
|
|
34
36
|
billingProvider: core.serialization.property("billing_provider", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).encounterProviders.v2.BillingProvider)),
|
|
35
37
|
renderingProvider: core.serialization.property("rendering_provider", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).encounterProviders.v2.RenderingProvider)),
|
|
@@ -7,6 +7,8 @@ import * as core from "../../../../../../core";
|
|
|
7
7
|
export declare const Encounter: core.serialization.ObjectSchema<serializers.encounters.v4.Encounter.Raw, CandidApi.encounters.v4.Encounter>;
|
|
8
8
|
export declare namespace Encounter {
|
|
9
9
|
interface Raw extends serializers.encounters.v4.EncounterBase.Raw {
|
|
10
|
+
date_of_service: serializers.Date_.Raw;
|
|
11
|
+
end_date_of_service?: serializers.Date_.Raw | null;
|
|
10
12
|
encounter_id: serializers.EncounterId.Raw;
|
|
11
13
|
claims: serializers.Claim.Raw[];
|
|
12
14
|
patient: serializers.Patient.Raw;
|
|
@@ -30,6 +30,8 @@ exports.Encounter = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.Encounter = core.serialization
|
|
32
32
|
.object({
|
|
33
|
+
dateOfService: core.serialization.property("date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_)),
|
|
34
|
+
endDateOfService: core.serialization.property("end_date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
|
|
33
35
|
encounterId: core.serialization.property("encounter_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EncounterId)),
|
|
34
36
|
claims: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Claim)),
|
|
35
37
|
patient: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Patient),
|
|
@@ -8,8 +8,6 @@ export declare const EncounterBase: core.serialization.ObjectSchema<serializers.
|
|
|
8
8
|
export declare namespace EncounterBase {
|
|
9
9
|
interface Raw {
|
|
10
10
|
external_id: serializers.EncounterExternalId.Raw;
|
|
11
|
-
date_of_service: serializers.Date_.Raw;
|
|
12
|
-
end_date_of_service?: serializers.Date_.Raw | null;
|
|
13
11
|
prior_authorization_number?: serializers.encounters.v4.PriorAuthorizationNumber.Raw | null;
|
|
14
12
|
patient_authorized_release: boolean;
|
|
15
13
|
benefits_assigned_to_provider: boolean;
|
|
@@ -30,8 +30,6 @@ exports.EncounterBase = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.EncounterBase = core.serialization.object({
|
|
32
32
|
externalId: core.serialization.property("external_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EncounterExternalId)),
|
|
33
|
-
dateOfService: core.serialization.property("date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_)),
|
|
34
|
-
endDateOfService: core.serialization.property("end_date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
|
|
35
33
|
priorAuthorizationNumber: core.serialization.property("prior_authorization_number", core.serialization
|
|
36
34
|
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.PriorAuthorizationNumber)
|
|
37
35
|
.optional()),
|
|
@@ -6,9 +6,17 @@ import * as CandidApi from "../../../../../../api";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const Error: core.serialization.Schema<serializers.insurancePayments.v1.create.Error.Raw, CandidApi.insurancePayments.v1.create.Error>;
|
|
8
8
|
export declare namespace Error {
|
|
9
|
-
type Raw = Error.UnauthorizedError;
|
|
9
|
+
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.UnprocessableEntityError;
|
|
10
|
+
interface EntityNotFoundError {
|
|
11
|
+
errorName: "EntityNotFoundError";
|
|
12
|
+
content: serializers.EntityNotFoundErrorMessage.Raw;
|
|
13
|
+
}
|
|
10
14
|
interface UnauthorizedError {
|
|
11
15
|
errorName: "UnauthorizedError";
|
|
12
16
|
content: serializers.UnauthorizedErrorMessage.Raw;
|
|
13
17
|
}
|
|
18
|
+
interface UnprocessableEntityError {
|
|
19
|
+
errorName: "UnprocessableEntityError";
|
|
20
|
+
content: serializers.UnprocessableEntityErrorMessage.Raw;
|
|
21
|
+
}
|
|
14
22
|
}
|
|
@@ -31,15 +31,25 @@ const CandidApi = __importStar(require("../../../../../../api"));
|
|
|
31
31
|
const core = __importStar(require("../../../../../../core"));
|
|
32
32
|
exports.Error = core.serialization
|
|
33
33
|
.union("errorName", {
|
|
34
|
+
EntityNotFoundError: core.serialization.object({
|
|
35
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
|
|
36
|
+
}),
|
|
34
37
|
UnauthorizedError: core.serialization.object({
|
|
35
38
|
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnauthorizedErrorMessage),
|
|
36
39
|
}),
|
|
40
|
+
UnprocessableEntityError: core.serialization.object({
|
|
41
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnprocessableEntityErrorMessage),
|
|
42
|
+
}),
|
|
37
43
|
})
|
|
38
44
|
.transform({
|
|
39
45
|
transform: (value) => {
|
|
40
46
|
switch (value.errorName) {
|
|
47
|
+
case "EntityNotFoundError":
|
|
48
|
+
return CandidApi.insurancePayments.v1.create.Error.entityNotFoundError(value.content);
|
|
41
49
|
case "UnauthorizedError":
|
|
42
50
|
return CandidApi.insurancePayments.v1.create.Error.unauthorizedError(value.content);
|
|
51
|
+
case "UnprocessableEntityError":
|
|
52
|
+
return CandidApi.insurancePayments.v1.create.Error.unprocessableEntityError(value.content);
|
|
43
53
|
}
|
|
44
54
|
},
|
|
45
55
|
untransform: ({ _visit, ...value }) => value,
|
|
@@ -6,7 +6,7 @@ import * as CandidApi from "../../../../../../api";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const Error: core.serialization.Schema<serializers.insurancePayments.v1.delete.Error.Raw, CandidApi.insurancePayments.v1.delete.Error>;
|
|
8
8
|
export declare namespace Error {
|
|
9
|
-
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
|
|
9
|
+
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.UnprocessableEntityError;
|
|
10
10
|
interface EntityNotFoundError {
|
|
11
11
|
errorName: "EntityNotFoundError";
|
|
12
12
|
content: serializers.EntityNotFoundErrorMessage.Raw;
|
|
@@ -15,4 +15,8 @@ export declare namespace Error {
|
|
|
15
15
|
errorName: "UnauthorizedError";
|
|
16
16
|
content: serializers.UnauthorizedErrorMessage.Raw;
|
|
17
17
|
}
|
|
18
|
+
interface UnprocessableEntityError {
|
|
19
|
+
errorName: "UnprocessableEntityError";
|
|
20
|
+
content: serializers.UnprocessableEntityErrorMessage.Raw;
|
|
21
|
+
}
|
|
18
22
|
}
|
|
@@ -37,6 +37,9 @@ exports.Error = core.serialization
|
|
|
37
37
|
UnauthorizedError: core.serialization.object({
|
|
38
38
|
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnauthorizedErrorMessage),
|
|
39
39
|
}),
|
|
40
|
+
UnprocessableEntityError: core.serialization.object({
|
|
41
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnprocessableEntityErrorMessage),
|
|
42
|
+
}),
|
|
40
43
|
})
|
|
41
44
|
.transform({
|
|
42
45
|
transform: (value) => {
|
|
@@ -45,6 +48,8 @@ exports.Error = core.serialization
|
|
|
45
48
|
return CandidApi.insurancePayments.v1.delete.Error.entityNotFoundError(value.content);
|
|
46
49
|
case "UnauthorizedError":
|
|
47
50
|
return CandidApi.insurancePayments.v1.delete.Error.unauthorizedError(value.content);
|
|
51
|
+
case "UnprocessableEntityError":
|
|
52
|
+
return CandidApi.insurancePayments.v1.delete.Error.unprocessableEntityError(value.content);
|
|
48
53
|
}
|
|
49
54
|
},
|
|
50
55
|
untransform: ({ _visit, ...value }) => value,
|
|
@@ -6,7 +6,7 @@ import * as CandidApi from "../../../../../../api";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const Error: core.serialization.Schema<serializers.insurancePayments.v1.update.Error.Raw, CandidApi.insurancePayments.v1.update.Error>;
|
|
8
8
|
export declare namespace Error {
|
|
9
|
-
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
|
|
9
|
+
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.UnprocessableEntityError;
|
|
10
10
|
interface EntityNotFoundError {
|
|
11
11
|
errorName: "EntityNotFoundError";
|
|
12
12
|
content: serializers.EntityNotFoundErrorMessage.Raw;
|
|
@@ -15,4 +15,8 @@ export declare namespace Error {
|
|
|
15
15
|
errorName: "UnauthorizedError";
|
|
16
16
|
content: serializers.UnauthorizedErrorMessage.Raw;
|
|
17
17
|
}
|
|
18
|
+
interface UnprocessableEntityError {
|
|
19
|
+
errorName: "UnprocessableEntityError";
|
|
20
|
+
content: serializers.UnprocessableEntityErrorMessage.Raw;
|
|
21
|
+
}
|
|
18
22
|
}
|
|
@@ -37,6 +37,9 @@ exports.Error = core.serialization
|
|
|
37
37
|
UnauthorizedError: core.serialization.object({
|
|
38
38
|
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnauthorizedErrorMessage),
|
|
39
39
|
}),
|
|
40
|
+
UnprocessableEntityError: core.serialization.object({
|
|
41
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnprocessableEntityErrorMessage),
|
|
42
|
+
}),
|
|
40
43
|
})
|
|
41
44
|
.transform({
|
|
42
45
|
transform: (value) => {
|
|
@@ -45,6 +48,8 @@ exports.Error = core.serialization
|
|
|
45
48
|
return CandidApi.insurancePayments.v1.update.Error.entityNotFoundError(value.content);
|
|
46
49
|
case "UnauthorizedError":
|
|
47
50
|
return CandidApi.insurancePayments.v1.update.Error.unauthorizedError(value.content);
|
|
51
|
+
case "UnprocessableEntityError":
|
|
52
|
+
return CandidApi.insurancePayments.v1.update.Error.unprocessableEntityError(value.content);
|
|
48
53
|
}
|
|
49
54
|
},
|
|
50
55
|
untransform: ({ _visit, ...value }) => value,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const Error: core.serialization.Schema<serializers.insuranceRefunds.v1.create.Error.Raw, CandidApi.insuranceRefunds.v1.create.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.UnprocessableEntityError;
|
|
10
|
+
interface EntityNotFoundError {
|
|
11
|
+
errorName: "EntityNotFoundError";
|
|
12
|
+
content: serializers.EntityNotFoundErrorMessage.Raw;
|
|
13
|
+
}
|
|
14
|
+
interface UnauthorizedError {
|
|
15
|
+
errorName: "UnauthorizedError";
|
|
16
|
+
content: serializers.UnauthorizedErrorMessage.Raw;
|
|
17
|
+
}
|
|
18
|
+
interface UnprocessableEntityError {
|
|
19
|
+
errorName: "UnprocessableEntityError";
|
|
20
|
+
content: serializers.UnprocessableEntityErrorMessage.Raw;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.Error = core.serialization
|
|
33
|
+
.union("errorName", {
|
|
34
|
+
EntityNotFoundError: core.serialization.object({
|
|
35
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
|
|
36
|
+
}),
|
|
37
|
+
UnauthorizedError: core.serialization.object({
|
|
38
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnauthorizedErrorMessage),
|
|
39
|
+
}),
|
|
40
|
+
UnprocessableEntityError: core.serialization.object({
|
|
41
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnprocessableEntityErrorMessage),
|
|
42
|
+
}),
|
|
43
|
+
})
|
|
44
|
+
.transform({
|
|
45
|
+
transform: (value) => {
|
|
46
|
+
switch (value.errorName) {
|
|
47
|
+
case "EntityNotFoundError":
|
|
48
|
+
return CandidApi.insuranceRefunds.v1.create.Error.entityNotFoundError(value.content);
|
|
49
|
+
case "UnauthorizedError":
|
|
50
|
+
return CandidApi.insuranceRefunds.v1.create.Error.unauthorizedError(value.content);
|
|
51
|
+
case "UnprocessableEntityError":
|
|
52
|
+
return CandidApi.insuranceRefunds.v1.create.Error.unprocessableEntityError(value.content);
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
untransform: ({ _visit, ...value }) => value,
|
|
56
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const Error: core.serialization.Schema<serializers.insuranceRefunds.v1.delete.Error.Raw, CandidApi.insuranceRefunds.v1.delete.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.UnprocessableEntityError;
|
|
10
|
+
interface EntityNotFoundError {
|
|
11
|
+
errorName: "EntityNotFoundError";
|
|
12
|
+
content: serializers.EntityNotFoundErrorMessage.Raw;
|
|
13
|
+
}
|
|
14
|
+
interface UnauthorizedError {
|
|
15
|
+
errorName: "UnauthorizedError";
|
|
16
|
+
content: serializers.UnauthorizedErrorMessage.Raw;
|
|
17
|
+
}
|
|
18
|
+
interface UnprocessableEntityError {
|
|
19
|
+
errorName: "UnprocessableEntityError";
|
|
20
|
+
content: serializers.UnprocessableEntityErrorMessage.Raw;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.Error = core.serialization
|
|
33
|
+
.union("errorName", {
|
|
34
|
+
EntityNotFoundError: core.serialization.object({
|
|
35
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
|
|
36
|
+
}),
|
|
37
|
+
UnauthorizedError: core.serialization.object({
|
|
38
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnauthorizedErrorMessage),
|
|
39
|
+
}),
|
|
40
|
+
UnprocessableEntityError: core.serialization.object({
|
|
41
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnprocessableEntityErrorMessage),
|
|
42
|
+
}),
|
|
43
|
+
})
|
|
44
|
+
.transform({
|
|
45
|
+
transform: (value) => {
|
|
46
|
+
switch (value.errorName) {
|
|
47
|
+
case "EntityNotFoundError":
|
|
48
|
+
return CandidApi.insuranceRefunds.v1.delete.Error.entityNotFoundError(value.content);
|
|
49
|
+
case "UnauthorizedError":
|
|
50
|
+
return CandidApi.insuranceRefunds.v1.delete.Error.unauthorizedError(value.content);
|
|
51
|
+
case "UnprocessableEntityError":
|
|
52
|
+
return CandidApi.insuranceRefunds.v1.delete.Error.unprocessableEntityError(value.content);
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
untransform: ({ _visit, ...value }) => value,
|
|
56
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const Error: core.serialization.Schema<serializers.insuranceRefunds.v1.get.Error.Raw, CandidApi.insuranceRefunds.v1.get.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
|
|
10
|
+
interface EntityNotFoundError {
|
|
11
|
+
errorName: "EntityNotFoundError";
|
|
12
|
+
content: serializers.EntityNotFoundErrorMessage.Raw;
|
|
13
|
+
}
|
|
14
|
+
interface UnauthorizedError {
|
|
15
|
+
errorName: "UnauthorizedError";
|
|
16
|
+
content: serializers.UnauthorizedErrorMessage.Raw;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.Error = core.serialization
|
|
33
|
+
.union("errorName", {
|
|
34
|
+
EntityNotFoundError: core.serialization.object({
|
|
35
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EntityNotFoundErrorMessage),
|
|
36
|
+
}),
|
|
37
|
+
UnauthorizedError: core.serialization.object({
|
|
38
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnauthorizedErrorMessage),
|
|
39
|
+
}),
|
|
40
|
+
})
|
|
41
|
+
.transform({
|
|
42
|
+
transform: (value) => {
|
|
43
|
+
switch (value.errorName) {
|
|
44
|
+
case "EntityNotFoundError":
|
|
45
|
+
return CandidApi.insuranceRefunds.v1.get.Error.entityNotFoundError(value.content);
|
|
46
|
+
case "UnauthorizedError":
|
|
47
|
+
return CandidApi.insuranceRefunds.v1.get.Error.unauthorizedError(value.content);
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
untransform: ({ _visit, ...value }) => value,
|
|
51
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const Error: core.serialization.Schema<serializers.insuranceRefunds.v1.getMulti.Error.Raw, CandidApi.insuranceRefunds.v1.getMulti.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.UnauthorizedError | Error.UnprocessableEntityError;
|
|
10
|
+
interface UnauthorizedError {
|
|
11
|
+
errorName: "UnauthorizedError";
|
|
12
|
+
content: serializers.UnauthorizedErrorMessage.Raw;
|
|
13
|
+
}
|
|
14
|
+
interface UnprocessableEntityError {
|
|
15
|
+
errorName: "UnprocessableEntityError";
|
|
16
|
+
content: serializers.UnprocessableEntityErrorMessage.Raw;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api"));
|
|
31
|
+
const core = __importStar(require("../../../../../../core"));
|
|
32
|
+
exports.Error = core.serialization
|
|
33
|
+
.union("errorName", {
|
|
34
|
+
UnauthorizedError: core.serialization.object({
|
|
35
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnauthorizedErrorMessage),
|
|
36
|
+
}),
|
|
37
|
+
UnprocessableEntityError: core.serialization.object({
|
|
38
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).UnprocessableEntityErrorMessage),
|
|
39
|
+
}),
|
|
40
|
+
})
|
|
41
|
+
.transform({
|
|
42
|
+
transform: (value) => {
|
|
43
|
+
switch (value.errorName) {
|
|
44
|
+
case "UnauthorizedError":
|
|
45
|
+
return CandidApi.insuranceRefunds.v1.getMulti.Error.unauthorizedError(value.content);
|
|
46
|
+
case "UnprocessableEntityError":
|
|
47
|
+
return CandidApi.insuranceRefunds.v1.getMulti.Error.unprocessableEntityError(value.content);
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
untransform: ({ _visit, ...value }) => value,
|
|
51
|
+
});
|
|
@@ -10,8 +10,26 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
11
11
|
o[k2] = m[k];
|
|
12
12
|
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
13
25
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
27
|
};
|
|
16
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.delete = exports.update = exports.create = exports.get = exports.getMulti = void 0;
|
|
30
|
+
exports.getMulti = __importStar(require("./getMulti"));
|
|
31
|
+
exports.get = __importStar(require("./get"));
|
|
32
|
+
exports.create = __importStar(require("./create"));
|
|
33
|
+
exports.update = __importStar(require("./update"));
|
|
34
|
+
exports.delete = __importStar(require("./delete"));
|
|
17
35
|
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const Error: core.serialization.Schema<serializers.insuranceRefunds.v1.update.Error.Raw, CandidApi.insuranceRefunds.v1.update.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError | Error.UnprocessableEntityError;
|
|
10
|
+
interface EntityNotFoundError {
|
|
11
|
+
errorName: "EntityNotFoundError";
|
|
12
|
+
content: serializers.EntityNotFoundErrorMessage.Raw;
|
|
13
|
+
}
|
|
14
|
+
interface UnauthorizedError {
|
|
15
|
+
errorName: "UnauthorizedError";
|
|
16
|
+
content: serializers.UnauthorizedErrorMessage.Raw;
|
|
17
|
+
}
|
|
18
|
+
interface UnprocessableEntityError {
|
|
19
|
+
errorName: "UnprocessableEntityError";
|
|
20
|
+
content: serializers.UnprocessableEntityErrorMessage.Raw;
|
|
21
|
+
}
|
|
22
|
+
}
|