candidhealth 0.40.3 → 0.40.4
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/Client.d.ts +3 -0
- package/Client.js +19 -14
- 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.js +5 -5
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
- 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 +5 -5
- 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/index.d.ts +1 -0
- package/api/resources/index.js +3 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payerPlanGroups/client/Client.d.ts +30 -0
- package/api/resources/payerPlanGroups/client/Client.js +17 -0
- package/api/resources/payerPlanGroups/client/index.d.ts +1 -0
- package/api/resources/payerPlanGroups/client/index.js +2 -0
- package/api/resources/payerPlanGroups/index.d.ts +2 -0
- package/api/resources/payerPlanGroups/index.js +18 -0
- package/api/resources/payerPlanGroups/resources/index.d.ts +1 -0
- package/api/resources/payerPlanGroups/resources/index.js +37 -0
- package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +100 -0
- package/api/resources/payerPlanGroups/resources/v1/client/Client.js +435 -0
- package/api/resources/payerPlanGroups/resources/v1/client/create.d.ts +34 -0
- package/api/resources/payerPlanGroups/resources/v1/client/create.js +79 -0
- package/api/resources/payerPlanGroups/resources/v1/client/deactivate.d.ts +34 -0
- package/api/resources/payerPlanGroups/resources/v1/client/deactivate.js +79 -0
- package/api/resources/payerPlanGroups/resources/v1/client/get.d.ts +34 -0
- package/api/resources/payerPlanGroups/resources/v1/client/get.js +79 -0
- package/api/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +28 -0
- package/api/resources/payerPlanGroups/resources/v1/client/getMulti.js +68 -0
- package/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +6 -0
- package/api/resources/payerPlanGroups/resources/v1/client/index.js +45 -0
- package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +47 -0
- package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.js +5 -0
- package/api/resources/payerPlanGroups/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/payerPlanGroups/resources/v1/client/requests/index.js +2 -0
- package/api/resources/payerPlanGroups/resources/v1/client/update.d.ts +40 -0
- package/api/resources/payerPlanGroups/resources/v1/client/update.js +90 -0
- package/api/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
- package/api/resources/payerPlanGroups/resources/v1/index.js +18 -0
- package/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +9 -0
- package/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js +5 -0
- package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +9 -0
- package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +5 -0
- package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +8 -0
- package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js +5 -0
- package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +7 -0
- package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +5 -0
- package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +9 -0
- package/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +11 -0
- package/api/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
- package/api/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- 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 +11 -11
- 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 +6 -6
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +19 -14
- 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.js +5 -5
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
- 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 +5 -5
- 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/index.d.ts +1 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payerPlanGroups/client/Client.d.ts +30 -0
- package/dist/api/resources/payerPlanGroups/client/Client.js +17 -0
- package/dist/api/resources/payerPlanGroups/client/index.d.ts +1 -0
- package/dist/api/resources/payerPlanGroups/client/index.js +2 -0
- package/dist/api/resources/payerPlanGroups/index.d.ts +2 -0
- package/dist/api/resources/payerPlanGroups/index.js +18 -0
- package/dist/api/resources/payerPlanGroups/resources/index.d.ts +1 -0
- package/dist/api/resources/payerPlanGroups/resources/index.js +37 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +100 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +435 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/create.d.ts +34 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/create.js +79 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/deactivate.d.ts +34 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/deactivate.js +79 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/get.d.ts +34 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/get.js +79 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +28 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/getMulti.js +68 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/index.d.ts +6 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/index.js +45 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +47 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.js +5 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/update.d.ts +40 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/client/update.js +90 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/index.js +18 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +9 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js +5 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +9 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +5 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +8 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js +5 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +7 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +5 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +9 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +11 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
- package/dist/api/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- 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 +11 -11
- 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 +6 -6
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/payerPlanGroups/index.d.ts +1 -0
- package/dist/serialization/resources/payerPlanGroups/index.js +17 -0
- package/dist/serialization/resources/payerPlanGroups/resources/index.d.ts +1 -0
- package/dist/serialization/resources/payerPlanGroups/resources/index.js +37 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/client/create.d.ts +20 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/client/create.js +77 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/client/deactivate.d.ts +20 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/client/deactivate.js +77 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/client/get.d.ts +20 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/client/get.js +77 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +15 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.js +71 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/client/index.d.ts +5 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/client/index.js +41 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/client/update.d.ts +25 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/client/update.js +83 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/index.js +18 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +16 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js +47 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +17 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +50 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +14 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js +45 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +14 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +47 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +10 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +41 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
- package/dist/serialization/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +345 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/payerPlanGroups/index.d.ts +1 -0
- package/serialization/resources/payerPlanGroups/index.js +17 -0
- package/serialization/resources/payerPlanGroups/resources/index.d.ts +1 -0
- package/serialization/resources/payerPlanGroups/resources/index.js +37 -0
- package/serialization/resources/payerPlanGroups/resources/v1/client/create.d.ts +20 -0
- package/serialization/resources/payerPlanGroups/resources/v1/client/create.js +77 -0
- package/serialization/resources/payerPlanGroups/resources/v1/client/deactivate.d.ts +20 -0
- package/serialization/resources/payerPlanGroups/resources/v1/client/deactivate.js +77 -0
- package/serialization/resources/payerPlanGroups/resources/v1/client/get.d.ts +20 -0
- package/serialization/resources/payerPlanGroups/resources/v1/client/get.js +77 -0
- package/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.d.ts +15 -0
- package/serialization/resources/payerPlanGroups/resources/v1/client/getMulti.js +71 -0
- package/serialization/resources/payerPlanGroups/resources/v1/client/index.d.ts +5 -0
- package/serialization/resources/payerPlanGroups/resources/v1/client/index.js +41 -0
- package/serialization/resources/payerPlanGroups/resources/v1/client/update.d.ts +25 -0
- package/serialization/resources/payerPlanGroups/resources/v1/client/update.js +83 -0
- package/serialization/resources/payerPlanGroups/resources/v1/index.d.ts +2 -0
- package/serialization/resources/payerPlanGroups/resources/v1/index.js +18 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.d.ts +16 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/MutablePayerPlanGroup.js +47 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.d.ts +17 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroup.js +50 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.d.ts +14 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupAlreadyExistsError.js +45 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.d.ts +14 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupPage.js +47 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.d.ts +10 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/PayerPlanGroupSortField.js +41 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/index.d.ts +5 -0
- package/serialization/resources/payerPlanGroups/resources/v1/types/index.js +21 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/reference.md
CHANGED
|
@@ -8417,6 +8417,351 @@ await client.patientRefunds.v1.delete(CandidApi.PatientRefundId("d5e9c84f-c2b2-4
|
|
|
8417
8417
|
</dl>
|
|
8418
8418
|
</details>
|
|
8419
8419
|
|
|
8420
|
+
## PayerPlanGroups V1
|
|
8421
|
+
|
|
8422
|
+
<details><summary><code>client.payerPlanGroups.v1.<a href="/src/api/resources/payerPlanGroups/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse<CandidApi.PayerPlanGroupPage, CandidApi.payerPlanGroups.v1.getMulti.Error></code></summary>
|
|
8423
|
+
<dl>
|
|
8424
|
+
<dd>
|
|
8425
|
+
|
|
8426
|
+
#### 📝 Description
|
|
8427
|
+
|
|
8428
|
+
<dl>
|
|
8429
|
+
<dd>
|
|
8430
|
+
|
|
8431
|
+
<dl>
|
|
8432
|
+
<dd>
|
|
8433
|
+
|
|
8434
|
+
Returns all payer plan groups matching filter criteria.
|
|
8435
|
+
|
|
8436
|
+
</dd>
|
|
8437
|
+
</dl>
|
|
8438
|
+
</dd>
|
|
8439
|
+
</dl>
|
|
8440
|
+
|
|
8441
|
+
#### 🔌 Usage
|
|
8442
|
+
|
|
8443
|
+
<dl>
|
|
8444
|
+
<dd>
|
|
8445
|
+
|
|
8446
|
+
<dl>
|
|
8447
|
+
<dd>
|
|
8448
|
+
|
|
8449
|
+
```typescript
|
|
8450
|
+
await client.payerPlanGroups.v1.getMulti({
|
|
8451
|
+
planGroupName: "string",
|
|
8452
|
+
payerUuid: CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
8453
|
+
payerId: CandidApi.PayerId("string"),
|
|
8454
|
+
planType: "09",
|
|
8455
|
+
isActive: true,
|
|
8456
|
+
payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
8457
|
+
limit: 1,
|
|
8458
|
+
sortBySimilarity: "string",
|
|
8459
|
+
sort: "plan_group_name",
|
|
8460
|
+
sortDirection: "asc",
|
|
8461
|
+
pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
|
|
8462
|
+
});
|
|
8463
|
+
```
|
|
8464
|
+
|
|
8465
|
+
</dd>
|
|
8466
|
+
</dl>
|
|
8467
|
+
</dd>
|
|
8468
|
+
</dl>
|
|
8469
|
+
|
|
8470
|
+
#### ⚙️ Parameters
|
|
8471
|
+
|
|
8472
|
+
<dl>
|
|
8473
|
+
<dd>
|
|
8474
|
+
|
|
8475
|
+
<dl>
|
|
8476
|
+
<dd>
|
|
8477
|
+
|
|
8478
|
+
**request:** `CandidApi.payerPlanGroups.v1.PayerPlanGroupGetMultiRequest`
|
|
8479
|
+
|
|
8480
|
+
</dd>
|
|
8481
|
+
</dl>
|
|
8482
|
+
|
|
8483
|
+
<dl>
|
|
8484
|
+
<dd>
|
|
8485
|
+
|
|
8486
|
+
**requestOptions:** `V1.RequestOptions`
|
|
8487
|
+
|
|
8488
|
+
</dd>
|
|
8489
|
+
</dl>
|
|
8490
|
+
</dd>
|
|
8491
|
+
</dl>
|
|
8492
|
+
|
|
8493
|
+
</dd>
|
|
8494
|
+
</dl>
|
|
8495
|
+
</details>
|
|
8496
|
+
|
|
8497
|
+
<details><summary><code>client.payerPlanGroups.v1.<a href="/src/api/resources/payerPlanGroups/resources/v1/client/Client.ts">get</a>(payerPlanGroupId) -> core.APIResponse<CandidApi.PayerPlanGroup, CandidApi.payerPlanGroups.v1.get.Error></code></summary>
|
|
8498
|
+
<dl>
|
|
8499
|
+
<dd>
|
|
8500
|
+
|
|
8501
|
+
#### 📝 Description
|
|
8502
|
+
|
|
8503
|
+
<dl>
|
|
8504
|
+
<dd>
|
|
8505
|
+
|
|
8506
|
+
<dl>
|
|
8507
|
+
<dd>
|
|
8508
|
+
|
|
8509
|
+
Return a plan group with a given ID.
|
|
8510
|
+
|
|
8511
|
+
</dd>
|
|
8512
|
+
</dl>
|
|
8513
|
+
</dd>
|
|
8514
|
+
</dl>
|
|
8515
|
+
|
|
8516
|
+
#### 🔌 Usage
|
|
8517
|
+
|
|
8518
|
+
<dl>
|
|
8519
|
+
<dd>
|
|
8520
|
+
|
|
8521
|
+
<dl>
|
|
8522
|
+
<dd>
|
|
8523
|
+
|
|
8524
|
+
```typescript
|
|
8525
|
+
await client.payerPlanGroups.v1.get(CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
|
|
8526
|
+
```
|
|
8527
|
+
|
|
8528
|
+
</dd>
|
|
8529
|
+
</dl>
|
|
8530
|
+
</dd>
|
|
8531
|
+
</dl>
|
|
8532
|
+
|
|
8533
|
+
#### ⚙️ Parameters
|
|
8534
|
+
|
|
8535
|
+
<dl>
|
|
8536
|
+
<dd>
|
|
8537
|
+
|
|
8538
|
+
<dl>
|
|
8539
|
+
<dd>
|
|
8540
|
+
|
|
8541
|
+
**payerPlanGroupId:** `CandidApi.PayerPlanGroupId`
|
|
8542
|
+
|
|
8543
|
+
</dd>
|
|
8544
|
+
</dl>
|
|
8545
|
+
|
|
8546
|
+
<dl>
|
|
8547
|
+
<dd>
|
|
8548
|
+
|
|
8549
|
+
**requestOptions:** `V1.RequestOptions`
|
|
8550
|
+
|
|
8551
|
+
</dd>
|
|
8552
|
+
</dl>
|
|
8553
|
+
</dd>
|
|
8554
|
+
</dl>
|
|
8555
|
+
|
|
8556
|
+
</dd>
|
|
8557
|
+
</dl>
|
|
8558
|
+
</details>
|
|
8559
|
+
|
|
8560
|
+
<details><summary><code>client.payerPlanGroups.v1.<a href="/src/api/resources/payerPlanGroups/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.PayerPlanGroup, CandidApi.payerPlanGroups.v1.create.Error></code></summary>
|
|
8561
|
+
<dl>
|
|
8562
|
+
<dd>
|
|
8563
|
+
|
|
8564
|
+
#### 📝 Description
|
|
8565
|
+
|
|
8566
|
+
<dl>
|
|
8567
|
+
<dd>
|
|
8568
|
+
|
|
8569
|
+
<dl>
|
|
8570
|
+
<dd>
|
|
8571
|
+
|
|
8572
|
+
Create a payer plan group
|
|
8573
|
+
|
|
8574
|
+
</dd>
|
|
8575
|
+
</dl>
|
|
8576
|
+
</dd>
|
|
8577
|
+
</dl>
|
|
8578
|
+
|
|
8579
|
+
#### 🔌 Usage
|
|
8580
|
+
|
|
8581
|
+
<dl>
|
|
8582
|
+
<dd>
|
|
8583
|
+
|
|
8584
|
+
<dl>
|
|
8585
|
+
<dd>
|
|
8586
|
+
|
|
8587
|
+
```typescript
|
|
8588
|
+
await client.payerPlanGroups.v1.create({
|
|
8589
|
+
planGroupName: "string",
|
|
8590
|
+
payerUuid: CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
8591
|
+
planType: "09",
|
|
8592
|
+
});
|
|
8593
|
+
```
|
|
8594
|
+
|
|
8595
|
+
</dd>
|
|
8596
|
+
</dl>
|
|
8597
|
+
</dd>
|
|
8598
|
+
</dl>
|
|
8599
|
+
|
|
8600
|
+
#### ⚙️ Parameters
|
|
8601
|
+
|
|
8602
|
+
<dl>
|
|
8603
|
+
<dd>
|
|
8604
|
+
|
|
8605
|
+
<dl>
|
|
8606
|
+
<dd>
|
|
8607
|
+
|
|
8608
|
+
**request:** `CandidApi.MutablePayerPlanGroup`
|
|
8609
|
+
|
|
8610
|
+
</dd>
|
|
8611
|
+
</dl>
|
|
8612
|
+
|
|
8613
|
+
<dl>
|
|
8614
|
+
<dd>
|
|
8615
|
+
|
|
8616
|
+
**requestOptions:** `V1.RequestOptions`
|
|
8617
|
+
|
|
8618
|
+
</dd>
|
|
8619
|
+
</dl>
|
|
8620
|
+
</dd>
|
|
8621
|
+
</dl>
|
|
8622
|
+
|
|
8623
|
+
</dd>
|
|
8624
|
+
</dl>
|
|
8625
|
+
</details>
|
|
8626
|
+
|
|
8627
|
+
<details><summary><code>client.payerPlanGroups.v1.<a href="/src/api/resources/payerPlanGroups/resources/v1/client/Client.ts">update</a>(payerPlanGroupId, { ...params }) -> core.APIResponse<CandidApi.PayerPlanGroup, CandidApi.payerPlanGroups.v1.update.Error></code></summary>
|
|
8628
|
+
<dl>
|
|
8629
|
+
<dd>
|
|
8630
|
+
|
|
8631
|
+
#### 📝 Description
|
|
8632
|
+
|
|
8633
|
+
<dl>
|
|
8634
|
+
<dd>
|
|
8635
|
+
|
|
8636
|
+
<dl>
|
|
8637
|
+
<dd>
|
|
8638
|
+
|
|
8639
|
+
Update any of the fields on a payer plan group
|
|
8640
|
+
|
|
8641
|
+
</dd>
|
|
8642
|
+
</dl>
|
|
8643
|
+
</dd>
|
|
8644
|
+
</dl>
|
|
8645
|
+
|
|
8646
|
+
#### 🔌 Usage
|
|
8647
|
+
|
|
8648
|
+
<dl>
|
|
8649
|
+
<dd>
|
|
8650
|
+
|
|
8651
|
+
<dl>
|
|
8652
|
+
<dd>
|
|
8653
|
+
|
|
8654
|
+
```typescript
|
|
8655
|
+
await client.payerPlanGroups.v1.update(CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
8656
|
+
planGroupName: "string",
|
|
8657
|
+
payerUuid: CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
8658
|
+
planType: "09",
|
|
8659
|
+
});
|
|
8660
|
+
```
|
|
8661
|
+
|
|
8662
|
+
</dd>
|
|
8663
|
+
</dl>
|
|
8664
|
+
</dd>
|
|
8665
|
+
</dl>
|
|
8666
|
+
|
|
8667
|
+
#### ⚙️ Parameters
|
|
8668
|
+
|
|
8669
|
+
<dl>
|
|
8670
|
+
<dd>
|
|
8671
|
+
|
|
8672
|
+
<dl>
|
|
8673
|
+
<dd>
|
|
8674
|
+
|
|
8675
|
+
**payerPlanGroupId:** `CandidApi.PayerPlanGroupId`
|
|
8676
|
+
|
|
8677
|
+
</dd>
|
|
8678
|
+
</dl>
|
|
8679
|
+
|
|
8680
|
+
<dl>
|
|
8681
|
+
<dd>
|
|
8682
|
+
|
|
8683
|
+
**request:** `CandidApi.MutablePayerPlanGroup`
|
|
8684
|
+
|
|
8685
|
+
</dd>
|
|
8686
|
+
</dl>
|
|
8687
|
+
|
|
8688
|
+
<dl>
|
|
8689
|
+
<dd>
|
|
8690
|
+
|
|
8691
|
+
**requestOptions:** `V1.RequestOptions`
|
|
8692
|
+
|
|
8693
|
+
</dd>
|
|
8694
|
+
</dl>
|
|
8695
|
+
</dd>
|
|
8696
|
+
</dl>
|
|
8697
|
+
|
|
8698
|
+
</dd>
|
|
8699
|
+
</dl>
|
|
8700
|
+
</details>
|
|
8701
|
+
|
|
8702
|
+
<details><summary><code>client.payerPlanGroups.v1.<a href="/src/api/resources/payerPlanGroups/resources/v1/client/Client.ts">deactivate</a>(payerPlanGroupId) -> core.APIResponse<CandidApi.PayerPlanGroup, CandidApi.payerPlanGroups.v1.deactivate.Error></code></summary>
|
|
8703
|
+
<dl>
|
|
8704
|
+
<dd>
|
|
8705
|
+
|
|
8706
|
+
#### 📝 Description
|
|
8707
|
+
|
|
8708
|
+
<dl>
|
|
8709
|
+
<dd>
|
|
8710
|
+
|
|
8711
|
+
<dl>
|
|
8712
|
+
<dd>
|
|
8713
|
+
|
|
8714
|
+
Marks the payer plan group as deactivated
|
|
8715
|
+
|
|
8716
|
+
</dd>
|
|
8717
|
+
</dl>
|
|
8718
|
+
</dd>
|
|
8719
|
+
</dl>
|
|
8720
|
+
|
|
8721
|
+
#### 🔌 Usage
|
|
8722
|
+
|
|
8723
|
+
<dl>
|
|
8724
|
+
<dd>
|
|
8725
|
+
|
|
8726
|
+
<dl>
|
|
8727
|
+
<dd>
|
|
8728
|
+
|
|
8729
|
+
```typescript
|
|
8730
|
+
await client.payerPlanGroups.v1.deactivate(CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
|
|
8731
|
+
```
|
|
8732
|
+
|
|
8733
|
+
</dd>
|
|
8734
|
+
</dl>
|
|
8735
|
+
</dd>
|
|
8736
|
+
</dl>
|
|
8737
|
+
|
|
8738
|
+
#### ⚙️ Parameters
|
|
8739
|
+
|
|
8740
|
+
<dl>
|
|
8741
|
+
<dd>
|
|
8742
|
+
|
|
8743
|
+
<dl>
|
|
8744
|
+
<dd>
|
|
8745
|
+
|
|
8746
|
+
**payerPlanGroupId:** `CandidApi.PayerPlanGroupId`
|
|
8747
|
+
|
|
8748
|
+
</dd>
|
|
8749
|
+
</dl>
|
|
8750
|
+
|
|
8751
|
+
<dl>
|
|
8752
|
+
<dd>
|
|
8753
|
+
|
|
8754
|
+
**requestOptions:** `V1.RequestOptions`
|
|
8755
|
+
|
|
8756
|
+
</dd>
|
|
8757
|
+
</dl>
|
|
8758
|
+
</dd>
|
|
8759
|
+
</dl>
|
|
8760
|
+
|
|
8761
|
+
</dd>
|
|
8762
|
+
</dl>
|
|
8763
|
+
</details>
|
|
8764
|
+
|
|
8420
8765
|
## Payers V3
|
|
8421
8766
|
|
|
8422
8767
|
<details><summary><code>client.payers.v3.<a href="/src/api/resources/payers/resources/v3/client/Client.ts">get</a>(payerUuid) -> core.APIResponse<CandidApi.Payer, CandidApi.payers.v3.get.Error></code></summary>
|
|
@@ -30,6 +30,7 @@ export * as organizationServiceFacilities from "./organizationServiceFacilities"
|
|
|
30
30
|
export * as organizationProviders from "./organizationProviders";
|
|
31
31
|
export * as patientPayments from "./patientPayments";
|
|
32
32
|
export * as patientRefunds from "./patientRefunds";
|
|
33
|
+
export * as payerPlanGroups from "./payerPlanGroups";
|
|
33
34
|
export * as payers from "./payers";
|
|
34
35
|
export * as remitDrafts from "./remitDrafts";
|
|
35
36
|
export * as remits from "./remits";
|
|
@@ -36,7 +36,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.tags = exports.serviceFacility = exports.paymentAccountConfigs = exports.individual = exports.identifiers = exports.financials = exports.era = exports.eraCommons = exports.diagnoses = exports.claims = exports.preEncounter = exports.x12 = exports.writeOffs = exports.tasks = exports.serviceLines = exports.remits = exports.remitDrafts = exports.payers = exports.payerPlanGroups = exports.patientRefunds = exports.patientPayments = exports.organizationProviders = exports.organizationServiceFacilities = exports.nonInsurancePayers = exports.nonInsurancePayerRefunds = exports.nonInsurancePayerPayments = exports.medicationDispense = exports.invoices = exports.insuranceRefunds = exports.insurancePayments = exports.insuranceCards = exports.insuranceAdjudications = exports.importInvoice = exports.guarantor = exports.externalPaymentAccountConfig = exports.exports = exports.expectedNetworkStatus = exports.encounters = exports.encounterProviders = exports.customSchemas = exports.credentialing = exports.contracts = exports.clinicalTrials = exports.claimSubmission = exports.chargeCapture = exports.chargeCaptureBundles = exports.billingNotes = exports.auth = exports.commons = exports.feeSchedules = void 0;
|
|
40
|
+
exports.eligibility = void 0;
|
|
40
41
|
exports.feeSchedules = __importStar(require("./feeSchedules"));
|
|
41
42
|
exports.commons = __importStar(require("./commons"));
|
|
42
43
|
__exportStar(require("./commons/errors"), exports);
|
|
@@ -69,6 +70,7 @@ exports.organizationServiceFacilities = __importStar(require("./organizationServ
|
|
|
69
70
|
exports.organizationProviders = __importStar(require("./organizationProviders"));
|
|
70
71
|
exports.patientPayments = __importStar(require("./patientPayments"));
|
|
71
72
|
exports.patientRefunds = __importStar(require("./patientRefunds"));
|
|
73
|
+
exports.payerPlanGroups = __importStar(require("./payerPlanGroups"));
|
|
72
74
|
exports.payers = __importStar(require("./payers"));
|
|
73
75
|
exports.remitDrafts = __importStar(require("./remitDrafts"));
|
|
74
76
|
exports.remits = __importStar(require("./remits"));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./resources";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v1 from "./v1";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
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 () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.v1 = void 0;
|
|
37
|
+
exports.v1 = __importStar(require("./v1"));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
8
|
+
import { PayerPlanGroupAlreadyExistsError } from "../types/PayerPlanGroupAlreadyExistsError";
|
|
9
|
+
export declare const Error: core.serialization.Schema<serializers.payerPlanGroups.v1.create.Error.Raw, CandidApi.payerPlanGroups.v1.create.Error>;
|
|
10
|
+
export declare namespace Error {
|
|
11
|
+
type Raw = Error.EntityNotFoundError | Error.PayerPlanGroupAlreadyExistsHttpError;
|
|
12
|
+
interface EntityNotFoundError {
|
|
13
|
+
errorName: "EntityNotFoundError";
|
|
14
|
+
content: EntityNotFoundErrorMessage.Raw;
|
|
15
|
+
}
|
|
16
|
+
interface PayerPlanGroupAlreadyExistsHttpError {
|
|
17
|
+
errorName: "PayerPlanGroupAlreadyExistsHttpError";
|
|
18
|
+
content: PayerPlanGroupAlreadyExistsError.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
39
|
+
var t = {};
|
|
40
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
41
|
+
t[p] = s[p];
|
|
42
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
43
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
45
|
+
t[p[i]] = s[p[i]];
|
|
46
|
+
}
|
|
47
|
+
return t;
|
|
48
|
+
};
|
|
49
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
+
exports.Error = void 0;
|
|
51
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
52
|
+
const core = __importStar(require("../../../../../../core"));
|
|
53
|
+
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
54
|
+
const PayerPlanGroupAlreadyExistsError_1 = require("../types/PayerPlanGroupAlreadyExistsError");
|
|
55
|
+
exports.Error = core.serialization
|
|
56
|
+
.union("errorName", {
|
|
57
|
+
EntityNotFoundError: core.serialization.object({
|
|
58
|
+
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
59
|
+
}),
|
|
60
|
+
PayerPlanGroupAlreadyExistsHttpError: core.serialization.object({
|
|
61
|
+
content: PayerPlanGroupAlreadyExistsError_1.PayerPlanGroupAlreadyExistsError,
|
|
62
|
+
}),
|
|
63
|
+
})
|
|
64
|
+
.transform({
|
|
65
|
+
transform: (value) => {
|
|
66
|
+
switch (value.errorName) {
|
|
67
|
+
case "EntityNotFoundError":
|
|
68
|
+
return CandidApi.payerPlanGroups.v1.create.Error.entityNotFoundError(value.content);
|
|
69
|
+
case "PayerPlanGroupAlreadyExistsHttpError":
|
|
70
|
+
return CandidApi.payerPlanGroups.v1.create.Error.payerPlanGroupAlreadyExistsHttpError(value.content);
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
untransform: (_a) => {
|
|
74
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
75
|
+
return value;
|
|
76
|
+
},
|
|
77
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
8
|
+
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
9
|
+
export declare const Error: core.serialization.Schema<serializers.payerPlanGroups.v1.deactivate.Error.Raw, CandidApi.payerPlanGroups.v1.deactivate.Error>;
|
|
10
|
+
export declare namespace Error {
|
|
11
|
+
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
|
|
12
|
+
interface EntityNotFoundError {
|
|
13
|
+
errorName: "EntityNotFoundError";
|
|
14
|
+
content: EntityNotFoundErrorMessage.Raw;
|
|
15
|
+
}
|
|
16
|
+
interface UnauthorizedError {
|
|
17
|
+
errorName: "UnauthorizedError";
|
|
18
|
+
content: UnauthorizedErrorMessage.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
39
|
+
var t = {};
|
|
40
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
41
|
+
t[p] = s[p];
|
|
42
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
43
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
45
|
+
t[p[i]] = s[p[i]];
|
|
46
|
+
}
|
|
47
|
+
return t;
|
|
48
|
+
};
|
|
49
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
+
exports.Error = void 0;
|
|
51
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
52
|
+
const core = __importStar(require("../../../../../../core"));
|
|
53
|
+
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
54
|
+
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
55
|
+
exports.Error = core.serialization
|
|
56
|
+
.union("errorName", {
|
|
57
|
+
EntityNotFoundError: core.serialization.object({
|
|
58
|
+
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
59
|
+
}),
|
|
60
|
+
UnauthorizedError: core.serialization.object({
|
|
61
|
+
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
62
|
+
}),
|
|
63
|
+
})
|
|
64
|
+
.transform({
|
|
65
|
+
transform: (value) => {
|
|
66
|
+
switch (value.errorName) {
|
|
67
|
+
case "EntityNotFoundError":
|
|
68
|
+
return CandidApi.payerPlanGroups.v1.deactivate.Error.entityNotFoundError(value.content);
|
|
69
|
+
case "UnauthorizedError":
|
|
70
|
+
return CandidApi.payerPlanGroups.v1.deactivate.Error.unauthorizedError(value.content);
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
untransform: (_a) => {
|
|
74
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
75
|
+
return value;
|
|
76
|
+
},
|
|
77
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
8
|
+
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
9
|
+
export declare const Error: core.serialization.Schema<serializers.payerPlanGroups.v1.get.Error.Raw, CandidApi.payerPlanGroups.v1.get.Error>;
|
|
10
|
+
export declare namespace Error {
|
|
11
|
+
type Raw = Error.EntityNotFoundError | Error.UnauthorizedError;
|
|
12
|
+
interface EntityNotFoundError {
|
|
13
|
+
errorName: "EntityNotFoundError";
|
|
14
|
+
content: EntityNotFoundErrorMessage.Raw;
|
|
15
|
+
}
|
|
16
|
+
interface UnauthorizedError {
|
|
17
|
+
errorName: "UnauthorizedError";
|
|
18
|
+
content: UnauthorizedErrorMessage.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|