candidhealth 0.34.4 → 0.34.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -19
- package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +7 -2
- package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +11 -0
- package/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/createReferringProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +21 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/api/resources/encounters/resources/v4/client/Client.d.ts +16 -0
- package/api/resources/encounters/resources/v4/client/Client.js +21 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +21 -0
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/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/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -19
- package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +7 -2
- package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +11 -0
- package/dist/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/createReferringProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +21 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +16 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.js +21 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +21 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +6 -1
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +6 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +17 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +40 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
- package/package.json +1 -1
- package/reference.md +16 -0
- package/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +6 -1
- package/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +6 -0
- package/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +17 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +40 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js
CHANGED
|
@@ -122,7 +122,7 @@ class V1 {
|
|
|
122
122
|
Authorization: yield this._getAuthorizationHeader(),
|
|
123
123
|
"X-Fern-Language": "JavaScript",
|
|
124
124
|
"X-Fern-SDK-Name": "candidhealth",
|
|
125
|
-
"X-Fern-SDK-Version": "0.34.
|
|
125
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
126
126
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
127
127
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
128
128
|
},
|
|
@@ -187,7 +187,7 @@ class V1 {
|
|
|
187
187
|
Authorization: yield this._getAuthorizationHeader(),
|
|
188
188
|
"X-Fern-Language": "JavaScript",
|
|
189
189
|
"X-Fern-SDK-Name": "candidhealth",
|
|
190
|
-
"X-Fern-SDK-Version": "0.34.
|
|
190
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
191
191
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
192
192
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
193
193
|
},
|
|
@@ -248,7 +248,7 @@ class V1 {
|
|
|
248
248
|
Authorization: yield this._getAuthorizationHeader(),
|
|
249
249
|
"X-Fern-Language": "JavaScript",
|
|
250
250
|
"X-Fern-SDK-Name": "candidhealth",
|
|
251
|
-
"X-Fern-SDK-Version": "0.34.
|
|
251
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
252
252
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
253
253
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
254
254
|
},
|
|
@@ -365,7 +365,7 @@ class V1 {
|
|
|
365
365
|
Authorization: yield this._getAuthorizationHeader(),
|
|
366
366
|
"X-Fern-Language": "JavaScript",
|
|
367
367
|
"X-Fern-SDK-Name": "candidhealth",
|
|
368
|
-
"X-Fern-SDK-Version": "0.34.
|
|
368
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
369
369
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
370
370
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
371
371
|
},
|
|
@@ -435,7 +435,7 @@ class V1 {
|
|
|
435
435
|
Authorization: yield this._getAuthorizationHeader(),
|
|
436
436
|
"X-Fern-Language": "JavaScript",
|
|
437
437
|
"X-Fern-SDK-Name": "candidhealth",
|
|
438
|
-
"X-Fern-SDK-Version": "0.34.
|
|
438
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
439
439
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
440
440
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
441
441
|
},
|
|
@@ -484,7 +484,7 @@ class V1 {
|
|
|
484
484
|
Authorization: yield this._getAuthorizationHeader(),
|
|
485
485
|
"X-Fern-Language": "JavaScript",
|
|
486
486
|
"X-Fern-SDK-Name": "candidhealth",
|
|
487
|
-
"X-Fern-SDK-Version": "0.34.
|
|
487
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
488
488
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
489
489
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
490
490
|
},
|
|
@@ -134,7 +134,7 @@ class V1 {
|
|
|
134
134
|
Authorization: yield this._getAuthorizationHeader(),
|
|
135
135
|
"X-Fern-Language": "JavaScript",
|
|
136
136
|
"X-Fern-SDK-Name": "candidhealth",
|
|
137
|
-
"X-Fern-SDK-Version": "0.34.
|
|
137
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
138
138
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
139
139
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
140
140
|
},
|
|
@@ -252,7 +252,7 @@ class V1 {
|
|
|
252
252
|
Authorization: yield this._getAuthorizationHeader(),
|
|
253
253
|
"X-Fern-Language": "JavaScript",
|
|
254
254
|
"X-Fern-SDK-Name": "candidhealth",
|
|
255
|
-
"X-Fern-SDK-Version": "0.34.
|
|
255
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
256
256
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
257
257
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
258
258
|
},
|
|
@@ -317,7 +317,7 @@ class V1 {
|
|
|
317
317
|
Authorization: yield this._getAuthorizationHeader(),
|
|
318
318
|
"X-Fern-Language": "JavaScript",
|
|
319
319
|
"X-Fern-SDK-Name": "candidhealth",
|
|
320
|
-
"X-Fern-SDK-Version": "0.34.
|
|
320
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
321
321
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
322
322
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
323
323
|
},
|
|
@@ -364,7 +364,7 @@ class V1 {
|
|
|
364
364
|
Authorization: yield this._getAuthorizationHeader(),
|
|
365
365
|
"X-Fern-Language": "JavaScript",
|
|
366
366
|
"X-Fern-SDK-Name": "candidhealth",
|
|
367
|
-
"X-Fern-SDK-Version": "0.34.
|
|
367
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
368
368
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
369
369
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
370
370
|
},
|
|
@@ -432,7 +432,7 @@ class V1 {
|
|
|
432
432
|
Authorization: yield this._getAuthorizationHeader(),
|
|
433
433
|
"X-Fern-Language": "JavaScript",
|
|
434
434
|
"X-Fern-SDK-Name": "candidhealth",
|
|
435
|
-
"X-Fern-SDK-Version": "0.34.
|
|
435
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
436
436
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
437
437
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
438
438
|
},
|
|
@@ -485,7 +485,7 @@ class V1 {
|
|
|
485
485
|
Authorization: yield this._getAuthorizationHeader(),
|
|
486
486
|
"X-Fern-Language": "JavaScript",
|
|
487
487
|
"X-Fern-SDK-Name": "candidhealth",
|
|
488
|
-
"X-Fern-SDK-Version": "0.34.
|
|
488
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
489
489
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
490
490
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
491
491
|
},
|
|
@@ -538,7 +538,7 @@ class V1 {
|
|
|
538
538
|
Authorization: yield this._getAuthorizationHeader(),
|
|
539
539
|
"X-Fern-Language": "JavaScript",
|
|
540
540
|
"X-Fern-SDK-Name": "candidhealth",
|
|
541
|
-
"X-Fern-SDK-Version": "0.34.
|
|
541
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
542
542
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
543
543
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
544
544
|
},
|
|
@@ -589,7 +589,7 @@ class V1 {
|
|
|
589
589
|
Authorization: yield this._getAuthorizationHeader(),
|
|
590
590
|
"X-Fern-Language": "JavaScript",
|
|
591
591
|
"X-Fern-SDK-Name": "candidhealth",
|
|
592
|
-
"X-Fern-SDK-Version": "0.34.
|
|
592
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
593
593
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
594
594
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
595
595
|
},
|
|
@@ -91,7 +91,7 @@ class V1 {
|
|
|
91
91
|
Authorization: yield this._getAuthorizationHeader(),
|
|
92
92
|
"X-Fern-Language": "JavaScript",
|
|
93
93
|
"X-Fern-SDK-Name": "candidhealth",
|
|
94
|
-
"X-Fern-SDK-Version": "0.34.
|
|
94
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
95
95
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
96
96
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
97
97
|
},
|
|
@@ -176,7 +176,7 @@ class V1 {
|
|
|
176
176
|
Authorization: yield this._getAuthorizationHeader(),
|
|
177
177
|
"X-Fern-Language": "JavaScript",
|
|
178
178
|
"X-Fern-SDK-Name": "candidhealth",
|
|
179
|
-
"X-Fern-SDK-Version": "0.34.
|
|
179
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
180
180
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
181
181
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
182
182
|
},
|
|
@@ -361,7 +361,7 @@ class V1 {
|
|
|
361
361
|
Authorization: yield this._getAuthorizationHeader(),
|
|
362
362
|
"X-Fern-Language": "JavaScript",
|
|
363
363
|
"X-Fern-SDK-Name": "candidhealth",
|
|
364
|
-
"X-Fern-SDK-Version": "0.34.
|
|
364
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
365
365
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
366
366
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
367
367
|
},
|
|
@@ -450,7 +450,7 @@ class V1 {
|
|
|
450
450
|
Authorization: yield this._getAuthorizationHeader(),
|
|
451
451
|
"X-Fern-Language": "JavaScript",
|
|
452
452
|
"X-Fern-SDK-Name": "candidhealth",
|
|
453
|
-
"X-Fern-SDK-Version": "0.34.
|
|
453
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
454
454
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
455
455
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
456
456
|
},
|
|
@@ -498,7 +498,7 @@ class V1 {
|
|
|
498
498
|
Authorization: yield this._getAuthorizationHeader(),
|
|
499
499
|
"X-Fern-Language": "JavaScript",
|
|
500
500
|
"X-Fern-SDK-Name": "candidhealth",
|
|
501
|
-
"X-Fern-SDK-Version": "0.34.
|
|
501
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
502
502
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
503
503
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
504
504
|
},
|
|
@@ -559,7 +559,7 @@ class V1 {
|
|
|
559
559
|
Authorization: yield this._getAuthorizationHeader(),
|
|
560
560
|
"X-Fern-Language": "JavaScript",
|
|
561
561
|
"X-Fern-SDK-Name": "candidhealth",
|
|
562
|
-
"X-Fern-SDK-Version": "0.34.
|
|
562
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
563
563
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
564
564
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
565
565
|
},
|
|
@@ -907,7 +907,7 @@ class V1 {
|
|
|
907
907
|
Authorization: yield this._getAuthorizationHeader(),
|
|
908
908
|
"X-Fern-Language": "JavaScript",
|
|
909
909
|
"X-Fern-SDK-Name": "candidhealth",
|
|
910
|
-
"X-Fern-SDK-Version": "0.34.
|
|
910
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
911
911
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
912
912
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
913
913
|
},
|
|
@@ -973,7 +973,7 @@ class V1 {
|
|
|
973
973
|
Authorization: yield this._getAuthorizationHeader(),
|
|
974
974
|
"X-Fern-Language": "JavaScript",
|
|
975
975
|
"X-Fern-SDK-Name": "candidhealth",
|
|
976
|
-
"X-Fern-SDK-Version": "0.34.
|
|
976
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
977
977
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
978
978
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
979
979
|
},
|
|
@@ -1041,7 +1041,7 @@ class V1 {
|
|
|
1041
1041
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1042
1042
|
"X-Fern-Language": "JavaScript",
|
|
1043
1043
|
"X-Fern-SDK-Name": "candidhealth",
|
|
1044
|
-
"X-Fern-SDK-Version": "0.34.
|
|
1044
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
1045
1045
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1046
1046
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1047
1047
|
},
|
|
@@ -1094,7 +1094,7 @@ class V1 {
|
|
|
1094
1094
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1095
1095
|
"X-Fern-Language": "JavaScript",
|
|
1096
1096
|
"X-Fern-SDK-Name": "candidhealth",
|
|
1097
|
-
"X-Fern-SDK-Version": "0.34.
|
|
1097
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
1098
1098
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1099
1099
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1100
1100
|
},
|
|
@@ -77,7 +77,7 @@ class ServiceFacility {
|
|
|
77
77
|
Authorization: yield this._getAuthorizationHeader(),
|
|
78
78
|
"X-Fern-Language": "JavaScript",
|
|
79
79
|
"X-Fern-SDK-Name": "candidhealth",
|
|
80
|
-
"X-Fern-SDK-Version": "0.34.
|
|
80
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
81
81
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
82
82
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
83
83
|
},
|
|
@@ -84,7 +84,7 @@ class V2 {
|
|
|
84
84
|
Authorization: yield this._getAuthorizationHeader(),
|
|
85
85
|
"X-Fern-Language": "JavaScript",
|
|
86
86
|
"X-Fern-SDK-Name": "candidhealth",
|
|
87
|
-
"X-Fern-SDK-Version": "0.34.
|
|
87
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
88
88
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
89
89
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
90
90
|
},
|
|
@@ -178,7 +178,7 @@ class V2 {
|
|
|
178
178
|
Authorization: yield this._getAuthorizationHeader(),
|
|
179
179
|
"X-Fern-Language": "JavaScript",
|
|
180
180
|
"X-Fern-SDK-Name": "candidhealth",
|
|
181
|
-
"X-Fern-SDK-Version": "0.34.
|
|
181
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
182
182
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
183
183
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
184
184
|
},
|
|
@@ -242,7 +242,7 @@ class V2 {
|
|
|
242
242
|
Authorization: yield this._getAuthorizationHeader(),
|
|
243
243
|
"X-Fern-Language": "JavaScript",
|
|
244
244
|
"X-Fern-SDK-Name": "candidhealth",
|
|
245
|
-
"X-Fern-SDK-Version": "0.34.
|
|
245
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
246
246
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
247
247
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
248
248
|
},
|
|
@@ -66,7 +66,7 @@ class V3 {
|
|
|
66
66
|
Authorization: yield this._getAuthorizationHeader(),
|
|
67
67
|
"X-Fern-Language": "JavaScript",
|
|
68
68
|
"X-Fern-SDK-Name": "candidhealth",
|
|
69
|
-
"X-Fern-SDK-Version": "0.34.
|
|
69
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
72
72
|
},
|
|
@@ -166,7 +166,7 @@ class V3 {
|
|
|
166
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "candidhealth",
|
|
169
|
-
"X-Fern-SDK-Version": "0.34.
|
|
169
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
170
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
172
|
},
|
|
@@ -226,7 +226,7 @@ class V3 {
|
|
|
226
226
|
Authorization: yield this._getAuthorizationHeader(),
|
|
227
227
|
"X-Fern-Language": "JavaScript",
|
|
228
228
|
"X-Fern-SDK-Name": "candidhealth",
|
|
229
|
-
"X-Fern-SDK-Version": "0.34.
|
|
229
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
230
230
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
231
231
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
232
232
|
},
|
|
@@ -294,7 +294,7 @@ class V3 {
|
|
|
294
294
|
Authorization: yield this._getAuthorizationHeader(),
|
|
295
295
|
"X-Fern-Language": "JavaScript",
|
|
296
296
|
"X-Fern-SDK-Name": "candidhealth",
|
|
297
|
-
"X-Fern-SDK-Version": "0.34.
|
|
297
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
298
298
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
299
299
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
300
300
|
},
|
|
@@ -345,7 +345,7 @@ class V3 {
|
|
|
345
345
|
Authorization: yield this._getAuthorizationHeader(),
|
|
346
346
|
"X-Fern-Language": "JavaScript",
|
|
347
347
|
"X-Fern-SDK-Name": "candidhealth",
|
|
348
|
-
"X-Fern-SDK-Version": "0.34.
|
|
348
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
349
349
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
350
350
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
351
351
|
},
|
|
@@ -116,7 +116,7 @@ class V1 {
|
|
|
116
116
|
Authorization: yield this._getAuthorizationHeader(),
|
|
117
117
|
"X-Fern-Language": "JavaScript",
|
|
118
118
|
"X-Fern-SDK-Name": "candidhealth",
|
|
119
|
-
"X-Fern-SDK-Version": "0.34.
|
|
119
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
120
120
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
121
121
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
122
122
|
},
|
|
@@ -164,7 +164,7 @@ class V1 {
|
|
|
164
164
|
Authorization: yield this._getAuthorizationHeader(),
|
|
165
165
|
"X-Fern-Language": "JavaScript",
|
|
166
166
|
"X-Fern-SDK-Name": "candidhealth",
|
|
167
|
-
"X-Fern-SDK-Version": "0.34.
|
|
167
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
168
168
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
169
169
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
170
170
|
},
|
|
@@ -221,7 +221,7 @@ class V1 {
|
|
|
221
221
|
Authorization: yield this._getAuthorizationHeader(),
|
|
222
222
|
"X-Fern-Language": "JavaScript",
|
|
223
223
|
"X-Fern-SDK-Name": "candidhealth",
|
|
224
|
-
"X-Fern-SDK-Version": "0.34.
|
|
224
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
225
225
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
226
226
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
227
227
|
},
|
|
@@ -271,7 +271,7 @@ class V1 {
|
|
|
271
271
|
Authorization: yield this._getAuthorizationHeader(),
|
|
272
272
|
"X-Fern-Language": "JavaScript",
|
|
273
273
|
"X-Fern-SDK-Name": "candidhealth",
|
|
274
|
-
"X-Fern-SDK-Version": "0.34.
|
|
274
|
+
"X-Fern-SDK-Version": "0.34.5",
|
|
275
275
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
276
276
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
277
277
|
},
|
|
@@ -6,10 +6,11 @@ import * as CandidApi from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { EntityConflictErrorMessage } from "../../../../commons/types/EntityConflictErrorMessage";
|
|
8
8
|
import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
|
|
9
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
9
10
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
10
11
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.createInitialReferringProvider.Error.Raw, CandidApi.encounterProviders.v2.createInitialReferringProvider.Error>;
|
|
11
12
|
export declare namespace Error {
|
|
12
|
-
type Raw = Error.EntityConflictError | Error.UnprocessableEntityError | Error.EntityNotFoundError;
|
|
13
|
+
type Raw = Error.EntityConflictError | Error.UnprocessableEntityError | Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
13
14
|
interface EntityConflictError {
|
|
14
15
|
errorName: "EntityConflictError";
|
|
15
16
|
content: EntityConflictErrorMessage.Raw;
|
|
@@ -18,6 +19,10 @@ export declare namespace Error {
|
|
|
18
19
|
errorName: "UnprocessableEntityError";
|
|
19
20
|
content: UnprocessableEntityErrorMessage.Raw;
|
|
20
21
|
}
|
|
22
|
+
interface HttpRequestValidationsError {
|
|
23
|
+
errorName: "HttpRequestValidationsError";
|
|
24
|
+
content: RequestValidationError.Raw[];
|
|
25
|
+
}
|
|
21
26
|
interface EntityNotFoundError {
|
|
22
27
|
errorName: "EntityNotFoundError";
|
|
23
28
|
content: EntityNotFoundErrorMessage.Raw;
|
|
@@ -42,6 +42,7 @@ const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
43
|
const EntityConflictErrorMessage_1 = require("../../../../commons/types/EntityConflictErrorMessage");
|
|
44
44
|
const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
45
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
45
46
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
46
47
|
exports.Error = core.serialization
|
|
47
48
|
.union("errorName", {
|
|
@@ -51,6 +52,9 @@ exports.Error = core.serialization
|
|
|
51
52
|
UnprocessableEntityError: core.serialization.object({
|
|
52
53
|
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
53
54
|
}),
|
|
55
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
56
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
57
|
+
}),
|
|
54
58
|
EntityNotFoundError: core.serialization.object({
|
|
55
59
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
56
60
|
}),
|
|
@@ -62,6 +66,8 @@ exports.Error = core.serialization
|
|
|
62
66
|
return CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.entityConflictError(value.content);
|
|
63
67
|
case "UnprocessableEntityError":
|
|
64
68
|
return CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.unprocessableEntityError(value.content);
|
|
69
|
+
case "HttpRequestValidationsError":
|
|
70
|
+
return CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.httpRequestValidationsError(value.content);
|
|
65
71
|
case "EntityNotFoundError":
|
|
66
72
|
return CandidApi.encounterProviders.v2.createInitialReferringProvider.Error.entityNotFoundError(value.content);
|
|
67
73
|
}
|
|
@@ -5,18 +5,18 @@ import * as serializers from "../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { EntityConflictErrorMessage } from "../../../../commons/types/EntityConflictErrorMessage";
|
|
8
|
-
import {
|
|
8
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
9
9
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
10
10
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.createOrderingProvider.Error.Raw, CandidApi.encounterProviders.v2.createOrderingProvider.Error>;
|
|
11
11
|
export declare namespace Error {
|
|
12
|
-
type Raw = Error.EntityConflictError | Error.
|
|
12
|
+
type Raw = Error.EntityConflictError | Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
13
13
|
interface EntityConflictError {
|
|
14
14
|
errorName: "EntityConflictError";
|
|
15
15
|
content: EntityConflictErrorMessage.Raw;
|
|
16
16
|
}
|
|
17
|
-
interface
|
|
18
|
-
errorName: "
|
|
19
|
-
content:
|
|
17
|
+
interface HttpRequestValidationsError {
|
|
18
|
+
errorName: "HttpRequestValidationsError";
|
|
19
|
+
content: RequestValidationError.Raw[];
|
|
20
20
|
}
|
|
21
21
|
interface EntityNotFoundError {
|
|
22
22
|
errorName: "EntityNotFoundError";
|
|
@@ -41,15 +41,15 @@ exports.Error = void 0;
|
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
43
|
const EntityConflictErrorMessage_1 = require("../../../../commons/types/EntityConflictErrorMessage");
|
|
44
|
-
const
|
|
44
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
45
45
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
46
46
|
exports.Error = core.serialization
|
|
47
47
|
.union("errorName", {
|
|
48
48
|
EntityConflictError: core.serialization.object({
|
|
49
49
|
content: EntityConflictErrorMessage_1.EntityConflictErrorMessage,
|
|
50
50
|
}),
|
|
51
|
-
|
|
52
|
-
content:
|
|
51
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
52
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
53
53
|
}),
|
|
54
54
|
EntityNotFoundError: core.serialization.object({
|
|
55
55
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
@@ -60,8 +60,8 @@ exports.Error = core.serialization
|
|
|
60
60
|
switch (value.errorName) {
|
|
61
61
|
case "EntityConflictError":
|
|
62
62
|
return CandidApi.encounterProviders.v2.createOrderingProvider.Error.entityConflictError(value.content);
|
|
63
|
-
case "
|
|
64
|
-
return CandidApi.encounterProviders.v2.createOrderingProvider.Error.
|
|
63
|
+
case "HttpRequestValidationsError":
|
|
64
|
+
return CandidApi.encounterProviders.v2.createOrderingProvider.Error.httpRequestValidationsError(value.content);
|
|
65
65
|
case "EntityNotFoundError":
|
|
66
66
|
return CandidApi.encounterProviders.v2.createOrderingProvider.Error.entityNotFoundError(value.content);
|
|
67
67
|
}
|
|
@@ -5,18 +5,18 @@ import * as serializers from "../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { EntityConflictErrorMessage } from "../../../../commons/types/EntityConflictErrorMessage";
|
|
8
|
-
import {
|
|
8
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
9
9
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
10
10
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.createReferringProvider.Error.Raw, CandidApi.encounterProviders.v2.createReferringProvider.Error>;
|
|
11
11
|
export declare namespace Error {
|
|
12
|
-
type Raw = Error.EntityConflictError | Error.
|
|
12
|
+
type Raw = Error.EntityConflictError | Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
13
13
|
interface EntityConflictError {
|
|
14
14
|
errorName: "EntityConflictError";
|
|
15
15
|
content: EntityConflictErrorMessage.Raw;
|
|
16
16
|
}
|
|
17
|
-
interface
|
|
18
|
-
errorName: "
|
|
19
|
-
content:
|
|
17
|
+
interface HttpRequestValidationsError {
|
|
18
|
+
errorName: "HttpRequestValidationsError";
|
|
19
|
+
content: RequestValidationError.Raw[];
|
|
20
20
|
}
|
|
21
21
|
interface EntityNotFoundError {
|
|
22
22
|
errorName: "EntityNotFoundError";
|
|
@@ -41,15 +41,15 @@ exports.Error = void 0;
|
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
43
|
const EntityConflictErrorMessage_1 = require("../../../../commons/types/EntityConflictErrorMessage");
|
|
44
|
-
const
|
|
44
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
45
45
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
46
46
|
exports.Error = core.serialization
|
|
47
47
|
.union("errorName", {
|
|
48
48
|
EntityConflictError: core.serialization.object({
|
|
49
49
|
content: EntityConflictErrorMessage_1.EntityConflictErrorMessage,
|
|
50
50
|
}),
|
|
51
|
-
|
|
52
|
-
content:
|
|
51
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
52
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
53
53
|
}),
|
|
54
54
|
EntityNotFoundError: core.serialization.object({
|
|
55
55
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
@@ -60,8 +60,8 @@ exports.Error = core.serialization
|
|
|
60
60
|
switch (value.errorName) {
|
|
61
61
|
case "EntityConflictError":
|
|
62
62
|
return CandidApi.encounterProviders.v2.createReferringProvider.Error.entityConflictError(value.content);
|
|
63
|
-
case "
|
|
64
|
-
return CandidApi.encounterProviders.v2.createReferringProvider.Error.
|
|
63
|
+
case "HttpRequestValidationsError":
|
|
64
|
+
return CandidApi.encounterProviders.v2.createReferringProvider.Error.httpRequestValidationsError(value.content);
|
|
65
65
|
case "EntityNotFoundError":
|
|
66
66
|
return CandidApi.encounterProviders.v2.createReferringProvider.Error.entityNotFoundError(value.content);
|
|
67
67
|
}
|
|
@@ -5,18 +5,18 @@ import * as serializers from "../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { EntityConflictErrorMessage } from "../../../../commons/types/EntityConflictErrorMessage";
|
|
8
|
-
import {
|
|
8
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
9
9
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
10
10
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.createSupervisingProvider.Error.Raw, CandidApi.encounterProviders.v2.createSupervisingProvider.Error>;
|
|
11
11
|
export declare namespace Error {
|
|
12
|
-
type Raw = Error.EntityConflictError | Error.
|
|
12
|
+
type Raw = Error.EntityConflictError | Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
13
13
|
interface EntityConflictError {
|
|
14
14
|
errorName: "EntityConflictError";
|
|
15
15
|
content: EntityConflictErrorMessage.Raw;
|
|
16
16
|
}
|
|
17
|
-
interface
|
|
18
|
-
errorName: "
|
|
19
|
-
content:
|
|
17
|
+
interface HttpRequestValidationsError {
|
|
18
|
+
errorName: "HttpRequestValidationsError";
|
|
19
|
+
content: RequestValidationError.Raw[];
|
|
20
20
|
}
|
|
21
21
|
interface EntityNotFoundError {
|
|
22
22
|
errorName: "EntityNotFoundError";
|
|
@@ -41,15 +41,15 @@ exports.Error = void 0;
|
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
43
|
const EntityConflictErrorMessage_1 = require("../../../../commons/types/EntityConflictErrorMessage");
|
|
44
|
-
const
|
|
44
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
45
45
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
46
46
|
exports.Error = core.serialization
|
|
47
47
|
.union("errorName", {
|
|
48
48
|
EntityConflictError: core.serialization.object({
|
|
49
49
|
content: EntityConflictErrorMessage_1.EntityConflictErrorMessage,
|
|
50
50
|
}),
|
|
51
|
-
|
|
52
|
-
content:
|
|
51
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
52
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
53
53
|
}),
|
|
54
54
|
EntityNotFoundError: core.serialization.object({
|
|
55
55
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
@@ -60,8 +60,8 @@ exports.Error = core.serialization
|
|
|
60
60
|
switch (value.errorName) {
|
|
61
61
|
case "EntityConflictError":
|
|
62
62
|
return CandidApi.encounterProviders.v2.createSupervisingProvider.Error.entityConflictError(value.content);
|
|
63
|
-
case "
|
|
64
|
-
return CandidApi.encounterProviders.v2.createSupervisingProvider.Error.
|
|
63
|
+
case "HttpRequestValidationsError":
|
|
64
|
+
return CandidApi.encounterProviders.v2.createSupervisingProvider.Error.httpRequestValidationsError(value.content);
|
|
65
65
|
case "EntityNotFoundError":
|
|
66
66
|
return CandidApi.encounterProviders.v2.createSupervisingProvider.Error.entityNotFoundError(value.content);
|
|
67
67
|
}
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
8
8
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
9
9
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.updateInitialReferringProvider.Error.Raw, CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error>;
|
|
10
10
|
export declare namespace Error {
|
|
11
|
-
type Raw = Error.
|
|
12
|
-
interface
|
|
13
|
-
errorName: "
|
|
14
|
-
content:
|
|
11
|
+
type Raw = Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
12
|
+
interface HttpRequestValidationsError {
|
|
13
|
+
errorName: "HttpRequestValidationsError";
|
|
14
|
+
content: RequestValidationError.Raw[];
|
|
15
15
|
}
|
|
16
16
|
interface EntityNotFoundError {
|
|
17
17
|
errorName: "EntityNotFoundError";
|
|
@@ -40,12 +40,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
exports.Error = void 0;
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
|
-
const
|
|
43
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
44
44
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
45
45
|
exports.Error = core.serialization
|
|
46
46
|
.union("errorName", {
|
|
47
|
-
|
|
48
|
-
content:
|
|
47
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
48
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
49
49
|
}),
|
|
50
50
|
EntityNotFoundError: core.serialization.object({
|
|
51
51
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
@@ -54,8 +54,8 @@ exports.Error = core.serialization
|
|
|
54
54
|
.transform({
|
|
55
55
|
transform: (value) => {
|
|
56
56
|
switch (value.errorName) {
|
|
57
|
-
case "
|
|
58
|
-
return CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.
|
|
57
|
+
case "HttpRequestValidationsError":
|
|
58
|
+
return CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.httpRequestValidationsError(value.content);
|
|
59
59
|
case "EntityNotFoundError":
|
|
60
60
|
return CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.entityNotFoundError(value.content);
|
|
61
61
|
}
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
8
8
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
9
9
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.updateOrderingProvider.Error.Raw, CandidApi.encounterProviders.v2.updateOrderingProvider.Error>;
|
|
10
10
|
export declare namespace Error {
|
|
11
|
-
type Raw = Error.
|
|
12
|
-
interface
|
|
13
|
-
errorName: "
|
|
14
|
-
content:
|
|
11
|
+
type Raw = Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
12
|
+
interface HttpRequestValidationsError {
|
|
13
|
+
errorName: "HttpRequestValidationsError";
|
|
14
|
+
content: RequestValidationError.Raw[];
|
|
15
15
|
}
|
|
16
16
|
interface EntityNotFoundError {
|
|
17
17
|
errorName: "EntityNotFoundError";
|