candidhealth 0.34.2 → 0.34.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/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/claims/types/Claim.d.ts +5 -1
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.d.ts +9 -1
- package/api/resources/encounters/resources/v4/client/Client.js +14 -6
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +4 -0
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +6 -2
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +5 -1
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +5 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +12 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +58 -5
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +6 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentScanRequest.d.ts +12 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentScanRequest.js +5 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.js +2 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/scan.d.ts +22 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/scan.js +47 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +5 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +8 -4
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -1
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +15 -0
- package/api/resources/serviceLines/resources/v2/types/TestResult.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/claims/types/Claim.d.ts +5 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +9 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +14 -6
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +4 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +6 -2
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +5 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +5 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +58 -5
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +6 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentScanRequest.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentScanRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/scan.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/scan.js +47 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +5 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +8 -4
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -1
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +15 -0
- package/dist/api/resources/serviceLines/resources/v2/types/TestResult.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -1
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/scan.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/scan.js +32 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +18 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.js +43 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/package.json +1 -1
- package/reference.md +78 -1
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -1
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.js +1 -1
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/scan.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/scan.js +32 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +18 -0
- package/serialization/resources/serviceLines/resources/v2/types/TestResult.js +43 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
|
@@ -104,7 +104,7 @@ class V1 {
|
|
|
104
104
|
Authorization: yield this._getAuthorizationHeader(),
|
|
105
105
|
"X-Fern-Language": "JavaScript",
|
|
106
106
|
"X-Fern-SDK-Name": "candidhealth",
|
|
107
|
-
"X-Fern-SDK-Version": "0.34.
|
|
107
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
108
108
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
109
109
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
110
110
|
},
|
|
@@ -166,7 +166,7 @@ class V1 {
|
|
|
166
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "candidhealth",
|
|
169
|
-
"X-Fern-SDK-Version": "0.34.
|
|
169
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
170
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
172
|
},
|
|
@@ -239,7 +239,7 @@ class V1 {
|
|
|
239
239
|
Authorization: yield this._getAuthorizationHeader(),
|
|
240
240
|
"X-Fern-Language": "JavaScript",
|
|
241
241
|
"X-Fern-SDK-Name": "candidhealth",
|
|
242
|
-
"X-Fern-SDK-Version": "0.34.
|
|
242
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
243
243
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
244
244
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
245
245
|
},
|
|
@@ -313,7 +313,7 @@ class V1 {
|
|
|
313
313
|
Authorization: yield this._getAuthorizationHeader(),
|
|
314
314
|
"X-Fern-Language": "JavaScript",
|
|
315
315
|
"X-Fern-SDK-Name": "candidhealth",
|
|
316
|
-
"X-Fern-SDK-Version": "0.34.
|
|
316
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
317
317
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
318
318
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
319
319
|
},
|
|
@@ -378,7 +378,7 @@ class V1 {
|
|
|
378
378
|
Authorization: yield this._getAuthorizationHeader(),
|
|
379
379
|
"X-Fern-Language": "JavaScript",
|
|
380
380
|
"X-Fern-SDK-Name": "candidhealth",
|
|
381
|
-
"X-Fern-SDK-Version": "0.34.
|
|
381
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
382
382
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
383
383
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
384
384
|
},
|
|
@@ -104,7 +104,7 @@ class V1 {
|
|
|
104
104
|
Authorization: yield this._getAuthorizationHeader(),
|
|
105
105
|
"X-Fern-Language": "JavaScript",
|
|
106
106
|
"X-Fern-SDK-Name": "candidhealth",
|
|
107
|
-
"X-Fern-SDK-Version": "0.34.
|
|
107
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
108
108
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
109
109
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
110
110
|
},
|
|
@@ -166,7 +166,7 @@ class V1 {
|
|
|
166
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "candidhealth",
|
|
169
|
-
"X-Fern-SDK-Version": "0.34.
|
|
169
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
170
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
172
|
},
|
|
@@ -243,7 +243,7 @@ class V1 {
|
|
|
243
243
|
Authorization: yield this._getAuthorizationHeader(),
|
|
244
244
|
"X-Fern-Language": "JavaScript",
|
|
245
245
|
"X-Fern-SDK-Name": "candidhealth",
|
|
246
|
-
"X-Fern-SDK-Version": "0.34.
|
|
246
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
247
247
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
248
248
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
249
249
|
},
|
|
@@ -324,7 +324,7 @@ class V1 {
|
|
|
324
324
|
Authorization: yield this._getAuthorizationHeader(),
|
|
325
325
|
"X-Fern-Language": "JavaScript",
|
|
326
326
|
"X-Fern-SDK-Name": "candidhealth",
|
|
327
|
-
"X-Fern-SDK-Version": "0.34.
|
|
327
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
328
328
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
329
329
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
330
330
|
},
|
|
@@ -389,7 +389,7 @@ class V1 {
|
|
|
389
389
|
Authorization: yield this._getAuthorizationHeader(),
|
|
390
390
|
"X-Fern-Language": "JavaScript",
|
|
391
391
|
"X-Fern-SDK-Name": "candidhealth",
|
|
392
|
-
"X-Fern-SDK-Version": "0.34.
|
|
392
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
393
393
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
394
394
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
395
395
|
},
|
|
@@ -70,7 +70,7 @@ class V1 {
|
|
|
70
70
|
Authorization: yield this._getAuthorizationHeader(),
|
|
71
71
|
"X-Fern-Language": "JavaScript",
|
|
72
72
|
"X-Fern-SDK-Name": "candidhealth",
|
|
73
|
-
"X-Fern-SDK-Version": "0.34.
|
|
73
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
74
74
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
75
75
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
76
76
|
},
|
|
@@ -136,7 +136,7 @@ class V1 {
|
|
|
136
136
|
Authorization: yield this._getAuthorizationHeader(),
|
|
137
137
|
"X-Fern-Language": "JavaScript",
|
|
138
138
|
"X-Fern-SDK-Name": "candidhealth",
|
|
139
|
-
"X-Fern-SDK-Version": "0.34.
|
|
139
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
140
140
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
141
141
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
142
142
|
},
|
|
@@ -229,7 +229,7 @@ class V1 {
|
|
|
229
229
|
Authorization: yield this._getAuthorizationHeader(),
|
|
230
230
|
"X-Fern-Language": "JavaScript",
|
|
231
231
|
"X-Fern-SDK-Name": "candidhealth",
|
|
232
|
-
"X-Fern-SDK-Version": "0.34.
|
|
232
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
233
233
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
234
234
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
235
235
|
},
|
|
@@ -289,7 +289,7 @@ class V1 {
|
|
|
289
289
|
Authorization: yield this._getAuthorizationHeader(),
|
|
290
290
|
"X-Fern-Language": "JavaScript",
|
|
291
291
|
"X-Fern-SDK-Name": "candidhealth",
|
|
292
|
-
"X-Fern-SDK-Version": "0.34.
|
|
292
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
293
293
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
294
294
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
295
295
|
},
|
|
@@ -357,7 +357,7 @@ class V1 {
|
|
|
357
357
|
Authorization: yield this._getAuthorizationHeader(),
|
|
358
358
|
"X-Fern-Language": "JavaScript",
|
|
359
359
|
"X-Fern-SDK-Name": "candidhealth",
|
|
360
|
-
"X-Fern-SDK-Version": "0.34.
|
|
360
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
361
361
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
362
362
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
363
363
|
},
|
|
@@ -420,7 +420,7 @@ class V1 {
|
|
|
420
420
|
Authorization: yield this._getAuthorizationHeader(),
|
|
421
421
|
"X-Fern-Language": "JavaScript",
|
|
422
422
|
"X-Fern-SDK-Name": "candidhealth",
|
|
423
|
-
"X-Fern-SDK-Version": "0.34.
|
|
423
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
424
424
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
425
425
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
426
426
|
},
|
|
@@ -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.4",
|
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
72
72
|
},
|
|
@@ -156,7 +156,7 @@ class V3 {
|
|
|
156
156
|
Authorization: yield this._getAuthorizationHeader(),
|
|
157
157
|
"X-Fern-Language": "JavaScript",
|
|
158
158
|
"X-Fern-SDK-Name": "candidhealth",
|
|
159
|
-
"X-Fern-SDK-Version": "0.34.
|
|
159
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
160
160
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
161
161
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
162
162
|
},
|
|
@@ -238,7 +238,7 @@ class V3 {
|
|
|
238
238
|
Authorization: yield this._getAuthorizationHeader(),
|
|
239
239
|
"X-Fern-Language": "JavaScript",
|
|
240
240
|
"X-Fern-SDK-Name": "candidhealth",
|
|
241
|
-
"X-Fern-SDK-Version": "0.34.
|
|
241
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
242
242
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
243
243
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
244
244
|
},
|
|
@@ -339,7 +339,7 @@ class V3 {
|
|
|
339
339
|
Authorization: yield this._getAuthorizationHeader(),
|
|
340
340
|
"X-Fern-Language": "JavaScript",
|
|
341
341
|
"X-Fern-SDK-Name": "candidhealth",
|
|
342
|
-
"X-Fern-SDK-Version": "0.34.
|
|
342
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
343
343
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
344
344
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
345
345
|
},
|
|
@@ -66,7 +66,7 @@ class V2 {
|
|
|
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.4",
|
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
72
72
|
},
|
|
@@ -140,7 +140,7 @@ class V2 {
|
|
|
140
140
|
Authorization: yield this._getAuthorizationHeader(),
|
|
141
141
|
"X-Fern-Language": "JavaScript",
|
|
142
142
|
"X-Fern-SDK-Name": "candidhealth",
|
|
143
|
-
"X-Fern-SDK-Version": "0.34.
|
|
143
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
144
144
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
145
145
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
146
146
|
},
|
|
@@ -204,7 +204,7 @@ class V2 {
|
|
|
204
204
|
Authorization: yield this._getAuthorizationHeader(),
|
|
205
205
|
"X-Fern-Language": "JavaScript",
|
|
206
206
|
"X-Fern-SDK-Name": "candidhealth",
|
|
207
|
-
"X-Fern-SDK-Version": "0.34.
|
|
207
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
208
208
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
209
209
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
210
210
|
},
|
|
@@ -285,7 +285,7 @@ class V2 {
|
|
|
285
285
|
Authorization: yield this._getAuthorizationHeader(),
|
|
286
286
|
"X-Fern-Language": "JavaScript",
|
|
287
287
|
"X-Fern-SDK-Name": "candidhealth",
|
|
288
|
-
"X-Fern-SDK-Version": "0.34.
|
|
288
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
289
289
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
290
290
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
291
291
|
},
|
|
@@ -348,7 +348,7 @@ class V2 {
|
|
|
348
348
|
Authorization: yield this._getAuthorizationHeader(),
|
|
349
349
|
"X-Fern-Language": "JavaScript",
|
|
350
350
|
"X-Fern-SDK-Name": "candidhealth",
|
|
351
|
-
"X-Fern-SDK-Version": "0.34.
|
|
351
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
352
352
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
353
353
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
354
354
|
},
|
|
@@ -121,7 +121,7 @@ class V4 {
|
|
|
121
121
|
Authorization: yield this._getAuthorizationHeader(),
|
|
122
122
|
"X-Fern-Language": "JavaScript",
|
|
123
123
|
"X-Fern-SDK-Name": "candidhealth",
|
|
124
|
-
"X-Fern-SDK-Version": "0.34.
|
|
124
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
125
125
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
126
126
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
127
127
|
},
|
|
@@ -184,7 +184,7 @@ class V4 {
|
|
|
184
184
|
Authorization: yield this._getAuthorizationHeader(),
|
|
185
185
|
"X-Fern-Language": "JavaScript",
|
|
186
186
|
"X-Fern-SDK-Name": "candidhealth",
|
|
187
|
-
"X-Fern-SDK-Version": "0.34.
|
|
187
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
188
188
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
189
189
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
190
190
|
},
|
|
@@ -261,7 +261,7 @@ class V4 {
|
|
|
261
261
|
Authorization: yield this._getAuthorizationHeader(),
|
|
262
262
|
"X-Fern-Language": "JavaScript",
|
|
263
263
|
"X-Fern-SDK-Name": "candidhealth",
|
|
264
|
-
"X-Fern-SDK-Version": "0.34.
|
|
264
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
265
265
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
266
266
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
267
267
|
},
|
|
@@ -338,7 +338,7 @@ class V4 {
|
|
|
338
338
|
Authorization: yield this._getAuthorizationHeader(),
|
|
339
339
|
"X-Fern-Language": "JavaScript",
|
|
340
340
|
"X-Fern-SDK-Name": "candidhealth",
|
|
341
|
-
"X-Fern-SDK-Version": "0.34.
|
|
341
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
342
342
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
343
343
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
344
344
|
},
|
|
@@ -404,7 +404,7 @@ class V4 {
|
|
|
404
404
|
Authorization: yield this._getAuthorizationHeader(),
|
|
405
405
|
"X-Fern-Language": "JavaScript",
|
|
406
406
|
"X-Fern-SDK-Name": "candidhealth",
|
|
407
|
-
"X-Fern-SDK-Version": "0.34.
|
|
407
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
408
408
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
409
409
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
410
410
|
},
|
|
@@ -121,7 +121,7 @@ class V1 {
|
|
|
121
121
|
Authorization: yield this._getAuthorizationHeader(),
|
|
122
122
|
"X-Fern-Language": "JavaScript",
|
|
123
123
|
"X-Fern-SDK-Name": "candidhealth",
|
|
124
|
-
"X-Fern-SDK-Version": "0.34.
|
|
124
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
125
125
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
126
126
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
127
127
|
},
|
|
@@ -184,7 +184,7 @@ class V1 {
|
|
|
184
184
|
Authorization: yield this._getAuthorizationHeader(),
|
|
185
185
|
"X-Fern-Language": "JavaScript",
|
|
186
186
|
"X-Fern-SDK-Name": "candidhealth",
|
|
187
|
-
"X-Fern-SDK-Version": "0.34.
|
|
187
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
188
188
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
189
189
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
190
190
|
},
|
|
@@ -262,7 +262,7 @@ class V1 {
|
|
|
262
262
|
Authorization: yield this._getAuthorizationHeader(),
|
|
263
263
|
"X-Fern-Language": "JavaScript",
|
|
264
264
|
"X-Fern-SDK-Name": "candidhealth",
|
|
265
|
-
"X-Fern-SDK-Version": "0.34.
|
|
265
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
266
266
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
267
267
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
268
268
|
},
|
|
@@ -343,7 +343,7 @@ class V1 {
|
|
|
343
343
|
Authorization: yield this._getAuthorizationHeader(),
|
|
344
344
|
"X-Fern-Language": "JavaScript",
|
|
345
345
|
"X-Fern-SDK-Name": "candidhealth",
|
|
346
|
-
"X-Fern-SDK-Version": "0.34.
|
|
346
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
347
347
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
348
348
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
349
349
|
},
|
|
@@ -409,7 +409,7 @@ class V1 {
|
|
|
409
409
|
Authorization: yield this._getAuthorizationHeader(),
|
|
410
410
|
"X-Fern-Language": "JavaScript",
|
|
411
411
|
"X-Fern-SDK-Name": "candidhealth",
|
|
412
|
-
"X-Fern-SDK-Version": "0.34.
|
|
412
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
413
413
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
414
414
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
415
415
|
},
|
|
@@ -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.4",
|
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
72
72
|
},
|
|
@@ -126,7 +126,7 @@ class V3 {
|
|
|
126
126
|
Authorization: yield this._getAuthorizationHeader(),
|
|
127
127
|
"X-Fern-Language": "JavaScript",
|
|
128
128
|
"X-Fern-SDK-Name": "candidhealth",
|
|
129
|
-
"X-Fern-SDK-Version": "0.34.
|
|
129
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
130
130
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
131
131
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
132
132
|
},
|
package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts
CHANGED
|
@@ -171,6 +171,18 @@ export declare class V1 {
|
|
|
171
171
|
* })
|
|
172
172
|
*/
|
|
173
173
|
update(id: CandidApi.preEncounter.AppointmentId, version: string, request: CandidApi.preEncounter.appointments.v1.MutableAppointment, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.Appointment, CandidApi.preEncounter.appointments.v1.update.Error>>;
|
|
174
|
+
/**
|
|
175
|
+
* Scans up to 100 appointment updates. The since query parameter is inclusive, and the result list is ordered by updatedAt ascending.
|
|
176
|
+
*
|
|
177
|
+
* @param {CandidApi.preEncounter.appointments.v1.AppointmentScanRequest} request
|
|
178
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
179
|
+
*
|
|
180
|
+
* @example
|
|
181
|
+
* await client.preEncounter.appointments.v1.scan({
|
|
182
|
+
* since: new Date("2024-01-15T09:30:00.000Z")
|
|
183
|
+
* })
|
|
184
|
+
*/
|
|
185
|
+
scan(request: CandidApi.preEncounter.appointments.v1.AppointmentScanRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.appointments.v1.Appointment[], CandidApi.preEncounter.appointments.v1.scan.Error>>;
|
|
174
186
|
/**
|
|
175
187
|
* Sets an appointment as deactivated. The path must contain the most recent version to prevent race conditions. Deactivating historic versions is not supported. Subsequent updates via PUT to the appointment will "reactivate" the appointment and set the deactivated flag to false.
|
|
176
188
|
*
|
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.4",
|
|
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.4",
|
|
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.4",
|
|
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.4",
|
|
369
369
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
370
370
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
371
371
|
},
|
|
@@ -410,6 +410,59 @@ class V1 {
|
|
|
410
410
|
};
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
|
+
/**
|
|
414
|
+
* Scans up to 100 appointment updates. The since query parameter is inclusive, and the result list is ordered by updatedAt ascending.
|
|
415
|
+
*
|
|
416
|
+
* @param {CandidApi.preEncounter.appointments.v1.AppointmentScanRequest} request
|
|
417
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
418
|
+
*
|
|
419
|
+
* @example
|
|
420
|
+
* await client.preEncounter.appointments.v1.scan({
|
|
421
|
+
* since: new Date("2024-01-15T09:30:00.000Z")
|
|
422
|
+
* })
|
|
423
|
+
*/
|
|
424
|
+
scan(request, requestOptions) {
|
|
425
|
+
var _a;
|
|
426
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
427
|
+
const { since } = request;
|
|
428
|
+
const _queryParams = {};
|
|
429
|
+
_queryParams["since"] = since.toISOString();
|
|
430
|
+
const _response = yield core.fetcher({
|
|
431
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
432
|
+
.preEncounter, "/appointments/v1/updates/scan"),
|
|
433
|
+
method: "GET",
|
|
434
|
+
headers: {
|
|
435
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
436
|
+
"X-Fern-Language": "JavaScript",
|
|
437
|
+
"X-Fern-SDK-Name": "candidhealth",
|
|
438
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
439
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
440
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
441
|
+
},
|
|
442
|
+
contentType: "application/json",
|
|
443
|
+
queryParameters: _queryParams,
|
|
444
|
+
requestType: "json",
|
|
445
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
446
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
447
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
448
|
+
});
|
|
449
|
+
if (_response.ok) {
|
|
450
|
+
return {
|
|
451
|
+
ok: true,
|
|
452
|
+
body: serializers.preEncounter.appointments.v1.scan.Response.parseOrThrow(_response.body, {
|
|
453
|
+
unrecognizedObjectKeys: "passthrough",
|
|
454
|
+
allowUnrecognizedUnionMembers: true,
|
|
455
|
+
allowUnrecognizedEnumValues: true,
|
|
456
|
+
breadcrumbsPrefix: ["response"],
|
|
457
|
+
}),
|
|
458
|
+
};
|
|
459
|
+
}
|
|
460
|
+
return {
|
|
461
|
+
ok: false,
|
|
462
|
+
error: CandidApi.preEncounter.appointments.v1.scan.Error._unknown(_response.error),
|
|
463
|
+
};
|
|
464
|
+
});
|
|
465
|
+
}
|
|
413
466
|
/**
|
|
414
467
|
* Sets an appointment as deactivated. The path must contain the most recent version to prevent race conditions. Deactivating historic versions is not supported. Subsequent updates via PUT to the appointment will "reactivate" the appointment and set the deactivated flag to false.
|
|
415
468
|
*
|
|
@@ -431,7 +484,7 @@ class V1 {
|
|
|
431
484
|
Authorization: yield this._getAuthorizationHeader(),
|
|
432
485
|
"X-Fern-Language": "JavaScript",
|
|
433
486
|
"X-Fern-SDK-Name": "candidhealth",
|
|
434
|
-
"X-Fern-SDK-Version": "0.34.
|
|
487
|
+
"X-Fern-SDK-Version": "0.34.4",
|
|
435
488
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
436
489
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
437
490
|
},
|
|
@@ -15,6 +15,9 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
18
21
|
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
22
|
if (mod && mod.__esModule) return mod;
|
|
20
23
|
var result = {};
|
|
@@ -23,9 +26,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
26
|
return result;
|
|
24
27
|
};
|
|
25
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.deactivate = exports.update = exports.getHistory = exports.get = exports.create = void 0;
|
|
29
|
+
exports.deactivate = exports.scan = exports.update = exports.getHistory = exports.get = exports.create = void 0;
|
|
30
|
+
__exportStar(require("./requests"), exports);
|
|
27
31
|
exports.create = __importStar(require("./create"));
|
|
28
32
|
exports.get = __importStar(require("./get"));
|
|
29
33
|
exports.getHistory = __importStar(require("./getHistory"));
|
|
30
34
|
exports.update = __importStar(require("./update"));
|
|
35
|
+
exports.scan = __importStar(require("./scan"));
|
|
31
36
|
exports.deactivate = __importStar(require("./deactivate"));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type AppointmentScanRequest } from "./AppointmentScanRequest";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.preEncounter.appointments.v1.scan.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.appointments.v1.scan.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.appointments.v1.scan.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.appointments.v1.scan.Error, visitor: CandidApi.preEncounter.appointments.v1.scan.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
_unknown: (fetcherError) => {
|
|
33
|
+
return {
|
|
34
|
+
errorName: undefined,
|
|
35
|
+
content: fetcherError,
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.preEncounter.appointments.v1.scan.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_visit: (value, visitor) => {
|
|
42
|
+
switch (value.errorName) {
|
|
43
|
+
default:
|
|
44
|
+
return visitor._other(value);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
};
|