candidhealth 0.39.0 → 0.39.2

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.
Files changed (97) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  3. package/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
  4. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  5. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  6. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  7. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  8. package/api/resources/diagnoses/client/Client.js +3 -3
  9. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  10. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  11. package/api/resources/encounters/resources/v4/client/Client.js +7 -5
  12. package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  13. package/api/resources/encounters/resources/v4/client/create.js +11 -0
  14. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +7 -1
  15. package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +11 -0
  16. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  17. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  18. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  19. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  20. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  21. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  22. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  23. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  24. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  25. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  26. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  27. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  28. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  29. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  30. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  31. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  32. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  33. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  34. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  35. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  36. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  37. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  38. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  39. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
  40. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  41. package/api/resources/serviceFacility/client/Client.js +1 -1
  42. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  43. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  44. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  45. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  46. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  47. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
  48. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  49. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  50. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  51. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  52. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  53. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  54. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  55. package/dist/api/resources/encounters/resources/v4/client/Client.js +7 -5
  56. package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  57. package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
  58. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +7 -1
  59. package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +11 -0
  60. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  61. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  62. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  63. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  64. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  65. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  66. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  67. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  68. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  69. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  70. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  71. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  72. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  73. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  74. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  75. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  76. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  77. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  78. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  79. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  80. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  81. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  82. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  83. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -9
  84. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  85. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  86. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  87. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  88. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  89. package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +5 -1
  90. package/dist/serialization/resources/encounters/resources/v4/client/create.js +5 -0
  91. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +5 -1
  92. package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +5 -0
  93. package/package.json +1 -1
  94. package/serialization/resources/encounters/resources/v4/client/create.d.ts +5 -1
  95. package/serialization/resources/encounters/resources/v4/client/create.js +5 -0
  96. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +5 -1
  97. package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +5 -0
@@ -87,7 +87,7 @@ class V2 {
87
87
  Authorization: yield this._getAuthorizationHeader(),
88
88
  "X-Fern-Language": "JavaScript",
89
89
  "X-Fern-SDK-Name": "candidhealth",
90
- "X-Fern-SDK-Version": "0.39.0",
90
+ "X-Fern-SDK-Version": "0.39.2",
91
91
  "X-Fern-Runtime": core.RUNTIME.type,
92
92
  "X-Fern-Runtime-Version": core.RUNTIME.version,
93
93
  },
@@ -69,7 +69,7 @@ class V2 {
69
69
  Authorization: yield this._getAuthorizationHeader(),
70
70
  "X-Fern-Language": "JavaScript",
71
71
  "X-Fern-SDK-Name": "candidhealth",
72
- "X-Fern-SDK-Version": "0.39.0",
72
+ "X-Fern-SDK-Version": "0.39.2",
73
73
  "X-Fern-Runtime": core.RUNTIME.type,
74
74
  "X-Fern-Runtime-Version": core.RUNTIME.version,
75
75
  },
@@ -117,7 +117,7 @@ class V2 {
117
117
  Authorization: yield this._getAuthorizationHeader(),
118
118
  "X-Fern-Language": "JavaScript",
119
119
  "X-Fern-SDK-Name": "candidhealth",
120
- "X-Fern-SDK-Version": "0.39.0",
120
+ "X-Fern-SDK-Version": "0.39.2",
121
121
  "X-Fern-Runtime": core.RUNTIME.type,
122
122
  "X-Fern-Runtime-Version": core.RUNTIME.version,
123
123
  },
@@ -176,7 +176,7 @@ class V2 {
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.39.0",
179
+ "X-Fern-SDK-Version": "0.39.2",
180
180
  "X-Fern-Runtime": core.RUNTIME.type,
181
181
  "X-Fern-Runtime-Version": core.RUNTIME.version,
182
182
  },
@@ -73,7 +73,7 @@ class V1 {
73
73
  Authorization: yield this._getAuthorizationHeader(),
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "candidhealth",
76
- "X-Fern-SDK-Version": "0.39.0",
76
+ "X-Fern-SDK-Version": "0.39.2",
77
77
  "X-Fern-Runtime": core.RUNTIME.type,
78
78
  "X-Fern-Runtime-Version": core.RUNTIME.version,
79
79
  },
@@ -139,7 +139,7 @@ class V1 {
139
139
  Authorization: yield this._getAuthorizationHeader(),
140
140
  "X-Fern-Language": "JavaScript",
141
141
  "X-Fern-SDK-Name": "candidhealth",
142
- "X-Fern-SDK-Version": "0.39.0",
142
+ "X-Fern-SDK-Version": "0.39.2",
143
143
  "X-Fern-Runtime": core.RUNTIME.type,
144
144
  "X-Fern-Runtime-Version": core.RUNTIME.version,
145
145
  },
@@ -202,7 +202,7 @@ class V1 {
202
202
  Authorization: yield this._getAuthorizationHeader(),
203
203
  "X-Fern-Language": "JavaScript",
204
204
  "X-Fern-SDK-Name": "candidhealth",
205
- "X-Fern-SDK-Version": "0.39.0",
205
+ "X-Fern-SDK-Version": "0.39.2",
206
206
  "X-Fern-Runtime": core.RUNTIME.type,
207
207
  "X-Fern-Runtime-Version": core.RUNTIME.version,
208
208
  },
@@ -268,7 +268,7 @@ class V1 {
268
268
  Authorization: yield this._getAuthorizationHeader(),
269
269
  "X-Fern-Language": "JavaScript",
270
270
  "X-Fern-SDK-Name": "candidhealth",
271
- "X-Fern-SDK-Version": "0.39.0",
271
+ "X-Fern-SDK-Version": "0.39.2",
272
272
  "X-Fern-Runtime": core.RUNTIME.type,
273
273
  "X-Fern-Runtime-Version": core.RUNTIME.version,
274
274
  },
@@ -340,7 +340,7 @@ class V1 {
340
340
  Authorization: yield this._getAuthorizationHeader(),
341
341
  "X-Fern-Language": "JavaScript",
342
342
  "X-Fern-SDK-Name": "candidhealth",
343
- "X-Fern-SDK-Version": "0.39.0",
343
+ "X-Fern-SDK-Version": "0.39.2",
344
344
  "X-Fern-Runtime": core.RUNTIME.type,
345
345
  "X-Fern-Runtime-Version": core.RUNTIME.version,
346
346
  },
@@ -66,7 +66,7 @@ class V1 {
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.39.0",
69
+ "X-Fern-SDK-Version": "0.39.2",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -125,7 +125,7 @@ class V1 {
125
125
  Authorization: yield this._getAuthorizationHeader(),
126
126
  "X-Fern-Language": "JavaScript",
127
127
  "X-Fern-SDK-Name": "candidhealth",
128
- "X-Fern-SDK-Version": "0.39.0",
128
+ "X-Fern-SDK-Version": "0.39.2",
129
129
  "X-Fern-Runtime": core.RUNTIME.type,
130
130
  "X-Fern-Runtime-Version": core.RUNTIME.version,
131
131
  },
@@ -215,7 +215,7 @@ class V1 {
215
215
  Authorization: yield this._getAuthorizationHeader(),
216
216
  "X-Fern-Language": "JavaScript",
217
217
  "X-Fern-SDK-Name": "candidhealth",
218
- "X-Fern-SDK-Version": "0.39.0",
218
+ "X-Fern-SDK-Version": "0.39.2",
219
219
  "X-Fern-Runtime": core.RUNTIME.type,
220
220
  "X-Fern-Runtime-Version": core.RUNTIME.version,
221
221
  },
@@ -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.39.0",
69
+ "X-Fern-SDK-Version": "0.39.2",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -171,7 +171,7 @@ class V2 {
171
171
  Authorization: yield this._getAuthorizationHeader(),
172
172
  "X-Fern-Language": "JavaScript",
173
173
  "X-Fern-SDK-Name": "candidhealth",
174
- "X-Fern-SDK-Version": "0.39.0",
174
+ "X-Fern-SDK-Version": "0.39.2",
175
175
  "X-Fern-Runtime": core.RUNTIME.type,
176
176
  "X-Fern-Runtime-Version": core.RUNTIME.version,
177
177
  },
@@ -246,7 +246,7 @@ class V2 {
246
246
  Authorization: yield this._getAuthorizationHeader(),
247
247
  "X-Fern-Language": "JavaScript",
248
248
  "X-Fern-SDK-Name": "candidhealth",
249
- "X-Fern-SDK-Version": "0.39.0",
249
+ "X-Fern-SDK-Version": "0.39.2",
250
250
  "X-Fern-Runtime": core.RUNTIME.type,
251
251
  "X-Fern-Runtime-Version": core.RUNTIME.version,
252
252
  },
@@ -292,7 +292,7 @@ class V2 {
292
292
  Authorization: yield this._getAuthorizationHeader(),
293
293
  "X-Fern-Language": "JavaScript",
294
294
  "X-Fern-SDK-Name": "candidhealth",
295
- "X-Fern-SDK-Version": "0.39.0",
295
+ "X-Fern-SDK-Version": "0.39.2",
296
296
  "X-Fern-Runtime": core.RUNTIME.type,
297
297
  "X-Fern-Runtime-Version": core.RUNTIME.version,
298
298
  },
@@ -380,7 +380,7 @@ class V2 {
380
380
  Authorization: yield this._getAuthorizationHeader(),
381
381
  "X-Fern-Language": "JavaScript",
382
382
  "X-Fern-SDK-Name": "candidhealth",
383
- "X-Fern-SDK-Version": "0.39.0",
383
+ "X-Fern-SDK-Version": "0.39.2",
384
384
  "X-Fern-Runtime": core.RUNTIME.type,
385
385
  "X-Fern-Runtime-Version": core.RUNTIME.version,
386
386
  },
@@ -78,7 +78,7 @@ class V2 {
78
78
  Authorization: yield this._getAuthorizationHeader(),
79
79
  "X-Fern-Language": "JavaScript",
80
80
  "X-Fern-SDK-Name": "candidhealth",
81
- "X-Fern-SDK-Version": "0.39.0",
81
+ "X-Fern-SDK-Version": "0.39.2",
82
82
  "X-Fern-Runtime": core.RUNTIME.type,
83
83
  "X-Fern-Runtime-Version": core.RUNTIME.version,
84
84
  },
@@ -141,7 +141,7 @@ class V2 {
141
141
  Authorization: yield this._getAuthorizationHeader(),
142
142
  "X-Fern-Language": "JavaScript",
143
143
  "X-Fern-SDK-Name": "candidhealth",
144
- "X-Fern-SDK-Version": "0.39.0",
144
+ "X-Fern-SDK-Version": "0.39.2",
145
145
  "X-Fern-Runtime": core.RUNTIME.type,
146
146
  "X-Fern-Runtime-Version": core.RUNTIME.version,
147
147
  },
@@ -228,7 +228,7 @@ class V2 {
228
228
  Authorization: yield this._getAuthorizationHeader(),
229
229
  "X-Fern-Language": "JavaScript",
230
230
  "X-Fern-SDK-Name": "candidhealth",
231
- "X-Fern-SDK-Version": "0.39.0",
231
+ "X-Fern-SDK-Version": "0.39.2",
232
232
  "X-Fern-Runtime": core.RUNTIME.type,
233
233
  "X-Fern-Runtime-Version": core.RUNTIME.version,
234
234
  },
@@ -291,7 +291,7 @@ class V2 {
291
291
  Authorization: yield this._getAuthorizationHeader(),
292
292
  "X-Fern-Language": "JavaScript",
293
293
  "X-Fern-SDK-Name": "candidhealth",
294
- "X-Fern-SDK-Version": "0.39.0",
294
+ "X-Fern-SDK-Version": "0.39.2",
295
295
  "X-Fern-Runtime": core.RUNTIME.type,
296
296
  "X-Fern-Runtime-Version": core.RUNTIME.version,
297
297
  },
@@ -358,7 +358,7 @@ class V2 {
358
358
  Authorization: yield this._getAuthorizationHeader(),
359
359
  "X-Fern-Language": "JavaScript",
360
360
  "X-Fern-SDK-Name": "candidhealth",
361
- "X-Fern-SDK-Version": "0.39.0",
361
+ "X-Fern-SDK-Version": "0.39.2",
362
362
  "X-Fern-Runtime": core.RUNTIME.type,
363
363
  "X-Fern-Runtime-Version": core.RUNTIME.version,
364
364
  },
@@ -67,7 +67,7 @@ class V1 {
67
67
  Authorization: yield this._getAuthorizationHeader(),
68
68
  "X-Fern-Language": "JavaScript",
69
69
  "X-Fern-SDK-Name": "candidhealth",
70
- "X-Fern-SDK-Version": "0.39.0",
70
+ "X-Fern-SDK-Version": "0.39.2",
71
71
  "X-Fern-Runtime": core.RUNTIME.type,
72
72
  "X-Fern-Runtime-Version": core.RUNTIME.version,
73
73
  },
@@ -128,7 +128,7 @@ class V1 {
128
128
  Authorization: yield this._getAuthorizationHeader(),
129
129
  "X-Fern-Language": "JavaScript",
130
130
  "X-Fern-SDK-Name": "candidhealth",
131
- "X-Fern-SDK-Version": "0.39.0",
131
+ "X-Fern-SDK-Version": "0.39.2",
132
132
  "X-Fern-Runtime": core.RUNTIME.type,
133
133
  "X-Fern-Runtime-Version": core.RUNTIME.version,
134
134
  },
@@ -207,7 +207,7 @@ class V1 {
207
207
  Authorization: yield this._getAuthorizationHeader(),
208
208
  "X-Fern-Language": "JavaScript",
209
209
  "X-Fern-SDK-Name": "candidhealth",
210
- "X-Fern-SDK-Version": "0.39.0",
210
+ "X-Fern-SDK-Version": "0.39.2",
211
211
  "X-Fern-Runtime": core.RUNTIME.type,
212
212
  "X-Fern-Runtime-Version": core.RUNTIME.version,
213
213
  },
@@ -277,7 +277,7 @@ class V1 {
277
277
  Authorization: yield this._getAuthorizationHeader(),
278
278
  "X-Fern-Language": "JavaScript",
279
279
  "X-Fern-SDK-Name": "candidhealth",
280
- "X-Fern-SDK-Version": "0.39.0",
280
+ "X-Fern-SDK-Version": "0.39.2",
281
281
  "X-Fern-Runtime": core.RUNTIME.type,
282
282
  "X-Fern-Runtime-Version": core.RUNTIME.version,
283
283
  },
@@ -73,7 +73,7 @@ class Diagnoses {
73
73
  Authorization: yield this._getAuthorizationHeader(),
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "candidhealth",
76
- "X-Fern-SDK-Version": "0.39.0",
76
+ "X-Fern-SDK-Version": "0.39.2",
77
77
  "X-Fern-Runtime": core.RUNTIME.type,
78
78
  "X-Fern-Runtime-Version": core.RUNTIME.version,
79
79
  },
@@ -126,7 +126,7 @@ class Diagnoses {
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.39.0",
129
+ "X-Fern-SDK-Version": "0.39.2",
130
130
  "X-Fern-Runtime": core.RUNTIME.type,
131
131
  "X-Fern-Runtime-Version": core.RUNTIME.version,
132
132
  },
@@ -188,7 +188,7 @@ class Diagnoses {
188
188
  Authorization: yield this._getAuthorizationHeader(),
189
189
  "X-Fern-Language": "JavaScript",
190
190
  "X-Fern-SDK-Name": "candidhealth",
191
- "X-Fern-SDK-Version": "0.39.0",
191
+ "X-Fern-SDK-Version": "0.39.2",
192
192
  "X-Fern-Runtime": core.RUNTIME.type,
193
193
  "X-Fern-Runtime-Version": core.RUNTIME.version,
194
194
  },
@@ -83,7 +83,7 @@ class V2 {
83
83
  Authorization: yield this._getAuthorizationHeader(),
84
84
  "X-Fern-Language": "JavaScript",
85
85
  "X-Fern-SDK-Name": "candidhealth",
86
- "X-Fern-SDK-Version": "0.39.0",
86
+ "X-Fern-SDK-Version": "0.39.2",
87
87
  "X-Fern-Runtime": core.RUNTIME.type,
88
88
  "X-Fern-Runtime-Version": core.RUNTIME.version,
89
89
  },
@@ -156,7 +156,7 @@ class V2 {
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.39.0",
159
+ "X-Fern-SDK-Version": "0.39.2",
160
160
  "X-Fern-Runtime": core.RUNTIME.type,
161
161
  "X-Fern-Runtime-Version": core.RUNTIME.version,
162
162
  },
@@ -227,7 +227,7 @@ class V2 {
227
227
  Authorization: yield this._getAuthorizationHeader(),
228
228
  "X-Fern-Language": "JavaScript",
229
229
  "X-Fern-SDK-Name": "candidhealth",
230
- "X-Fern-SDK-Version": "0.39.0",
230
+ "X-Fern-SDK-Version": "0.39.2",
231
231
  "X-Fern-Runtime": core.RUNTIME.type,
232
232
  "X-Fern-Runtime-Version": core.RUNTIME.version,
233
233
  },
@@ -81,7 +81,7 @@ class V2 {
81
81
  Authorization: yield this._getAuthorizationHeader(),
82
82
  "X-Fern-Language": "JavaScript",
83
83
  "X-Fern-SDK-Name": "candidhealth",
84
- "X-Fern-SDK-Version": "0.39.0",
84
+ "X-Fern-SDK-Version": "0.39.2",
85
85
  "X-Fern-Runtime": core.RUNTIME.type,
86
86
  "X-Fern-Runtime-Version": core.RUNTIME.version,
87
87
  },
@@ -160,7 +160,7 @@ class V2 {
160
160
  Authorization: yield this._getAuthorizationHeader(),
161
161
  "X-Fern-Language": "JavaScript",
162
162
  "X-Fern-SDK-Name": "candidhealth",
163
- "X-Fern-SDK-Version": "0.39.0",
163
+ "X-Fern-SDK-Version": "0.39.2",
164
164
  "X-Fern-Runtime": core.RUNTIME.type,
165
165
  "X-Fern-Runtime-Version": core.RUNTIME.version,
166
166
  },
@@ -239,7 +239,7 @@ class V2 {
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.39.0",
242
+ "X-Fern-SDK-Version": "0.39.2",
243
243
  "X-Fern-Runtime": core.RUNTIME.type,
244
244
  "X-Fern-Runtime-Version": core.RUNTIME.version,
245
245
  },
@@ -318,7 +318,7 @@ class V2 {
318
318
  Authorization: yield this._getAuthorizationHeader(),
319
319
  "X-Fern-Language": "JavaScript",
320
320
  "X-Fern-SDK-Name": "candidhealth",
321
- "X-Fern-SDK-Version": "0.39.0",
321
+ "X-Fern-SDK-Version": "0.39.2",
322
322
  "X-Fern-Runtime": core.RUNTIME.type,
323
323
  "X-Fern-Runtime-Version": core.RUNTIME.version,
324
324
  },
@@ -396,7 +396,7 @@ class V2 {
396
396
  Authorization: yield this._getAuthorizationHeader(),
397
397
  "X-Fern-Language": "JavaScript",
398
398
  "X-Fern-SDK-Name": "candidhealth",
399
- "X-Fern-SDK-Version": "0.39.0",
399
+ "X-Fern-SDK-Version": "0.39.2",
400
400
  "X-Fern-Runtime": core.RUNTIME.type,
401
401
  "X-Fern-Runtime-Version": core.RUNTIME.version,
402
402
  },
@@ -476,7 +476,7 @@ class V2 {
476
476
  Authorization: yield this._getAuthorizationHeader(),
477
477
  "X-Fern-Language": "JavaScript",
478
478
  "X-Fern-SDK-Name": "candidhealth",
479
- "X-Fern-SDK-Version": "0.39.0",
479
+ "X-Fern-SDK-Version": "0.39.2",
480
480
  "X-Fern-Runtime": core.RUNTIME.type,
481
481
  "X-Fern-Runtime-Version": core.RUNTIME.version,
482
482
  },
@@ -557,7 +557,7 @@ class V2 {
557
557
  Authorization: yield this._getAuthorizationHeader(),
558
558
  "X-Fern-Language": "JavaScript",
559
559
  "X-Fern-SDK-Name": "candidhealth",
560
- "X-Fern-SDK-Version": "0.39.0",
560
+ "X-Fern-SDK-Version": "0.39.2",
561
561
  "X-Fern-Runtime": core.RUNTIME.type,
562
562
  "X-Fern-Runtime-Version": core.RUNTIME.version,
563
563
  },
@@ -637,7 +637,7 @@ class V2 {
637
637
  Authorization: yield this._getAuthorizationHeader(),
638
638
  "X-Fern-Language": "JavaScript",
639
639
  "X-Fern-SDK-Name": "candidhealth",
640
- "X-Fern-SDK-Version": "0.39.0",
640
+ "X-Fern-SDK-Version": "0.39.2",
641
641
  "X-Fern-Runtime": core.RUNTIME.type,
642
642
  "X-Fern-Runtime-Version": core.RUNTIME.version,
643
643
  },
@@ -701,7 +701,7 @@ class V2 {
701
701
  Authorization: yield this._getAuthorizationHeader(),
702
702
  "X-Fern-Language": "JavaScript",
703
703
  "X-Fern-SDK-Name": "candidhealth",
704
- "X-Fern-SDK-Version": "0.39.0",
704
+ "X-Fern-SDK-Version": "0.39.2",
705
705
  "X-Fern-Runtime": core.RUNTIME.type,
706
706
  "X-Fern-Runtime-Version": core.RUNTIME.version,
707
707
  },
@@ -756,7 +756,7 @@ class V2 {
756
756
  Authorization: yield this._getAuthorizationHeader(),
757
757
  "X-Fern-Language": "JavaScript",
758
758
  "X-Fern-SDK-Name": "candidhealth",
759
- "X-Fern-SDK-Version": "0.39.0",
759
+ "X-Fern-SDK-Version": "0.39.2",
760
760
  "X-Fern-Runtime": core.RUNTIME.type,
761
761
  "X-Fern-Runtime-Version": core.RUNTIME.version,
762
762
  },
@@ -811,7 +811,7 @@ class V2 {
811
811
  Authorization: yield this._getAuthorizationHeader(),
812
812
  "X-Fern-Language": "JavaScript",
813
813
  "X-Fern-SDK-Name": "candidhealth",
814
- "X-Fern-SDK-Version": "0.39.0",
814
+ "X-Fern-SDK-Version": "0.39.2",
815
815
  "X-Fern-Runtime": core.RUNTIME.type,
816
816
  "X-Fern-Runtime-Version": core.RUNTIME.version,
817
817
  },
@@ -866,7 +866,7 @@ class V2 {
866
866
  Authorization: yield this._getAuthorizationHeader(),
867
867
  "X-Fern-Language": "JavaScript",
868
868
  "X-Fern-SDK-Name": "candidhealth",
869
- "X-Fern-SDK-Version": "0.39.0",
869
+ "X-Fern-SDK-Version": "0.39.2",
870
870
  "X-Fern-Runtime": core.RUNTIME.type,
871
871
  "X-Fern-Runtime-Version": core.RUNTIME.version,
872
872
  },
@@ -132,7 +132,7 @@ class V4 {
132
132
  Authorization: yield this._getAuthorizationHeader(),
133
133
  "X-Fern-Language": "JavaScript",
134
134
  "X-Fern-SDK-Name": "candidhealth",
135
- "X-Fern-SDK-Version": "0.39.0",
135
+ "X-Fern-SDK-Version": "0.39.2",
136
136
  "X-Fern-Runtime": core.RUNTIME.type,
137
137
  "X-Fern-Runtime-Version": core.RUNTIME.version,
138
138
  },
@@ -178,7 +178,7 @@ class V4 {
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.39.0",
181
+ "X-Fern-SDK-Version": "0.39.2",
182
182
  "X-Fern-Runtime": core.RUNTIME.type,
183
183
  "X-Fern-Runtime-Version": core.RUNTIME.version,
184
184
  },
@@ -582,7 +582,7 @@ class V4 {
582
582
  Authorization: yield this._getAuthorizationHeader(),
583
583
  "X-Fern-Language": "JavaScript",
584
584
  "X-Fern-SDK-Name": "candidhealth",
585
- "X-Fern-SDK-Version": "0.39.0",
585
+ "X-Fern-SDK-Version": "0.39.2",
586
586
  "X-Fern-Runtime": core.RUNTIME.type,
587
587
  "X-Fern-Runtime-Version": core.RUNTIME.version,
588
588
  },
@@ -614,6 +614,7 @@ class V4 {
614
614
  case "CashPayPayerError":
615
615
  case "SchemaInstanceValidationHttpFailure":
616
616
  case "InvalidTagNamesError":
617
+ case "HttpRequestValidationError":
617
618
  return {
618
619
  ok: false,
619
620
  error: serializers.encounters.v4.create.Error.parseOrThrow(_response.error.body, {
@@ -904,7 +905,7 @@ class V4 {
904
905
  Authorization: yield this._getAuthorizationHeader(),
905
906
  "X-Fern-Language": "JavaScript",
906
907
  "X-Fern-SDK-Name": "candidhealth",
907
- "X-Fern-SDK-Version": "0.39.0",
908
+ "X-Fern-SDK-Version": "0.39.2",
908
909
  "X-Fern-Runtime": core.RUNTIME.type,
909
910
  "X-Fern-Runtime-Version": core.RUNTIME.version,
910
911
  },
@@ -935,6 +936,7 @@ class V4 {
935
936
  case "EntityNotFoundError":
936
937
  case "HttpRequestValidationsError":
937
938
  case "SchemaInstanceValidationHttpFailure":
939
+ case "HttpRequestValidationError":
938
940
  return {
939
941
  ok: false,
940
942
  error: serializers.encounters.v4.createFromPreEncounterPatient.Error.parseOrThrow(_response.error.body, {
@@ -974,7 +976,7 @@ class V4 {
974
976
  Authorization: yield this._getAuthorizationHeader(),
975
977
  "X-Fern-Language": "JavaScript",
976
978
  "X-Fern-SDK-Name": "candidhealth",
977
- "X-Fern-SDK-Version": "0.39.0",
979
+ "X-Fern-SDK-Version": "0.39.2",
978
980
  "X-Fern-Runtime": core.RUNTIME.type,
979
981
  "X-Fern-Runtime-Version": core.RUNTIME.version,
980
982
  },
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../../index";
5
5
  import * as core from "../../../../../../core";
6
- export declare type Error = CandidApi.encounters.v4.create.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.create.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.create.Error.EntityNotFoundError | CandidApi.encounters.v4.create.Error.EncounterGuarantorMissingContactInfoError | CandidApi.encounters.v4.create.Error.HttpRequestValidationsError | CandidApi.encounters.v4.create.Error.CashPayPayerError | CandidApi.encounters.v4.create.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.create.Error.InvalidTagNamesError | CandidApi.encounters.v4.create.Error._Unknown;
6
+ export declare type Error = CandidApi.encounters.v4.create.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.create.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.create.Error.EntityNotFoundError | CandidApi.encounters.v4.create.Error.EncounterGuarantorMissingContactInfoError | CandidApi.encounters.v4.create.Error.HttpRequestValidationsError | CandidApi.encounters.v4.create.Error.CashPayPayerError | CandidApi.encounters.v4.create.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.create.Error.InvalidTagNamesError | CandidApi.encounters.v4.create.Error.HttpRequestValidationError | CandidApi.encounters.v4.create.Error._Unknown;
7
7
  export declare namespace Error {
8
8
  interface EncounterExternalIdUniquenessError extends _Utils {
9
9
  errorName: "EncounterExternalIdUniquenessError";
@@ -37,6 +37,10 @@ export declare namespace Error {
37
37
  errorName: "InvalidTagNamesError";
38
38
  content: CandidApi.encounters.v4.InvalidTagNamesErrorType;
39
39
  }
40
+ interface HttpRequestValidationError extends _Utils {
41
+ errorName: "HttpRequestValidationError";
42
+ content: CandidApi.RequestValidationError;
43
+ }
40
44
  interface _Unknown extends _Utils {
41
45
  errorName: void;
42
46
  content: core.Fetcher.Error;
@@ -53,6 +57,7 @@ export declare namespace Error {
53
57
  cashPayPayerError: (value: CandidApi.encounters.v4.CashPayPayerErrorMessage) => _Result;
54
58
  schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
55
59
  invalidTagNamesError: (value: CandidApi.encounters.v4.InvalidTagNamesErrorType) => _Result;
60
+ httpRequestValidationError: (value: CandidApi.RequestValidationError) => _Result;
56
61
  _other: (value: core.Fetcher.Error) => _Result;
57
62
  }
58
63
  }
@@ -65,6 +70,7 @@ export declare const Error: {
65
70
  readonly cashPayPayerError: (value: CandidApi.encounters.v4.CashPayPayerErrorMessage) => CandidApi.encounters.v4.create.Error.CashPayPayerError;
66
71
  readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.encounters.v4.create.Error.SchemaInstanceValidationHttpFailure;
67
72
  readonly invalidTagNamesError: (value: CandidApi.encounters.v4.InvalidTagNamesErrorType) => CandidApi.encounters.v4.create.Error.InvalidTagNamesError;
73
+ readonly httpRequestValidationError: (value: CandidApi.RequestValidationError) => CandidApi.encounters.v4.create.Error.HttpRequestValidationError;
68
74
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounters.v4.create.Error._Unknown;
69
75
  readonly _visit: <_Result>(value: CandidApi.encounters.v4.create.Error, visitor: CandidApi.encounters.v4.create.Error._Visitor<_Result>) => _Result;
70
76
  };
@@ -101,6 +101,15 @@ exports.Error = {
101
101
  },
102
102
  };
103
103
  },
104
+ httpRequestValidationError: (value) => {
105
+ return {
106
+ content: value,
107
+ errorName: "HttpRequestValidationError",
108
+ _visit: function (visitor) {
109
+ return CandidApi.encounters.v4.create.Error._visit(this, visitor);
110
+ },
111
+ };
112
+ },
104
113
  _unknown: (fetcherError) => {
105
114
  return {
106
115
  errorName: undefined,
@@ -128,6 +137,8 @@ exports.Error = {
128
137
  return visitor.schemaInstanceValidationHttpFailure(value.content);
129
138
  case "InvalidTagNamesError":
130
139
  return visitor.invalidTagNamesError(value.content);
140
+ case "HttpRequestValidationError":
141
+ return visitor.httpRequestValidationError(value.content);
131
142
  default:
132
143
  return visitor._other(value);
133
144
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../../index";
5
5
  import * as core from "../../../../../../core";
6
- export declare type Error = CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EntityNotFoundError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Unknown;
6
+ export declare type Error = CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EntityNotFoundError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Unknown;
7
7
  export declare namespace Error {
8
8
  interface EncounterExternalIdUniquenessError extends _Utils {
9
9
  errorName: "EncounterExternalIdUniquenessError";
@@ -25,6 +25,10 @@ export declare namespace Error {
25
25
  errorName: "SchemaInstanceValidationHttpFailure";
26
26
  content: CandidApi.encounters.v4.SchemaInstanceValidationFailure;
27
27
  }
28
+ interface HttpRequestValidationError extends _Utils {
29
+ errorName: "HttpRequestValidationError";
30
+ content: CandidApi.RequestValidationError;
31
+ }
28
32
  interface _Unknown extends _Utils {
29
33
  errorName: void;
30
34
  content: core.Fetcher.Error;
@@ -38,6 +42,7 @@ export declare namespace Error {
38
42
  entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
39
43
  httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
40
44
  schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
45
+ httpRequestValidationError: (value: CandidApi.RequestValidationError) => _Result;
41
46
  _other: (value: core.Fetcher.Error) => _Result;
42
47
  }
43
48
  }
@@ -47,6 +52,7 @@ export declare const Error: {
47
52
  readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EntityNotFoundError;
48
53
  readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError;
49
54
  readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure;
55
+ readonly httpRequestValidationError: (value: CandidApi.RequestValidationError) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationError;
50
56
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Unknown;
51
57
  readonly _visit: <_Result>(value: CandidApi.encounters.v4.createFromPreEncounterPatient.Error, visitor: CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Visitor<_Result>) => _Result;
52
58
  };
@@ -74,6 +74,15 @@ exports.Error = {
74
74
  },
75
75
  };
76
76
  },
77
+ httpRequestValidationError: (value) => {
78
+ return {
79
+ content: value,
80
+ errorName: "HttpRequestValidationError",
81
+ _visit: function (visitor) {
82
+ return CandidApi.encounters.v4.createFromPreEncounterPatient.Error._visit(this, visitor);
83
+ },
84
+ };
85
+ },
77
86
  _unknown: (fetcherError) => {
78
87
  return {
79
88
  errorName: undefined,
@@ -95,6 +104,8 @@ exports.Error = {
95
104
  return visitor.httpRequestValidationsError(value.content);
96
105
  case "SchemaInstanceValidationHttpFailure":
97
106
  return visitor.schemaInstanceValidationHttpFailure(value.content);
107
+ case "HttpRequestValidationError":
108
+ return visitor.httpRequestValidationError(value.content);
98
109
  default:
99
110
  return visitor._other(value);
100
111
  }
@@ -79,7 +79,7 @@ class V1 {
79
79
  Authorization: yield this._getAuthorizationHeader(),
80
80
  "X-Fern-Language": "JavaScript",
81
81
  "X-Fern-SDK-Name": "candidhealth",
82
- "X-Fern-SDK-Version": "0.39.0",
82
+ "X-Fern-SDK-Version": "0.39.2",
83
83
  "X-Fern-Runtime": core.RUNTIME.type,
84
84
  "X-Fern-Runtime-Version": core.RUNTIME.version,
85
85
  },
@@ -96,7 +96,7 @@ class V2 {
96
96
  Authorization: yield this._getAuthorizationHeader(),
97
97
  "X-Fern-Language": "JavaScript",
98
98
  "X-Fern-SDK-Name": "candidhealth",
99
- "X-Fern-SDK-Version": "0.39.0",
99
+ "X-Fern-SDK-Version": "0.39.2",
100
100
  "X-Fern-Runtime": core.RUNTIME.type,
101
101
  "X-Fern-Runtime-Version": core.RUNTIME.version,
102
102
  },
@@ -189,7 +189,7 @@ class V2 {
189
189
  Authorization: yield this._getAuthorizationHeader(),
190
190
  "X-Fern-Language": "JavaScript",
191
191
  "X-Fern-SDK-Name": "candidhealth",
192
- "X-Fern-SDK-Version": "0.39.0",
192
+ "X-Fern-SDK-Version": "0.39.2",
193
193
  "X-Fern-Runtime": core.RUNTIME.type,
194
194
  "X-Fern-Runtime-Version": core.RUNTIME.version,
195
195
  },
@@ -87,7 +87,7 @@ class V3 {
87
87
  Authorization: yield this._getAuthorizationHeader(),
88
88
  "X-Fern-Language": "JavaScript",
89
89
  "X-Fern-SDK-Name": "candidhealth",
90
- "X-Fern-SDK-Version": "0.39.0",
90
+ "X-Fern-SDK-Version": "0.39.2",
91
91
  "X-Fern-Runtime": core.RUNTIME.type,
92
92
  "X-Fern-Runtime-Version": core.RUNTIME.version,
93
93
  },
@@ -82,7 +82,7 @@ class V1 {
82
82
  Authorization: yield this._getAuthorizationHeader(),
83
83
  "X-Fern-Language": "JavaScript",
84
84
  "X-Fern-SDK-Name": "candidhealth",
85
- "X-Fern-SDK-Version": "0.39.0",
85
+ "X-Fern-SDK-Version": "0.39.2",
86
86
  "X-Fern-Runtime": core.RUNTIME.type,
87
87
  "X-Fern-Runtime-Version": core.RUNTIME.version,
88
88
  },