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
@@ -237,7 +237,7 @@ class V1 {
237
237
  Authorization: yield this._getAuthorizationHeader(),
238
238
  "X-Fern-Language": "JavaScript",
239
239
  "X-Fern-SDK-Name": "candidhealth",
240
- "X-Fern-SDK-Version": "0.39.0",
240
+ "X-Fern-SDK-Version": "0.39.2",
241
241
  "X-Fern-Runtime": core.RUNTIME.type,
242
242
  "X-Fern-Runtime-Version": core.RUNTIME.version,
243
243
  },
@@ -472,7 +472,7 @@ class V1 {
472
472
  Authorization: yield this._getAuthorizationHeader(),
473
473
  "X-Fern-Language": "JavaScript",
474
474
  "X-Fern-SDK-Name": "candidhealth",
475
- "X-Fern-SDK-Version": "0.39.0",
475
+ "X-Fern-SDK-Version": "0.39.2",
476
476
  "X-Fern-Runtime": core.RUNTIME.type,
477
477
  "X-Fern-Runtime-Version": core.RUNTIME.version,
478
478
  },
@@ -561,7 +561,7 @@ class V1 {
561
561
  Authorization: yield this._getAuthorizationHeader(),
562
562
  "X-Fern-Language": "JavaScript",
563
563
  "X-Fern-SDK-Name": "candidhealth",
564
- "X-Fern-SDK-Version": "0.39.0",
564
+ "X-Fern-SDK-Version": "0.39.2",
565
565
  "X-Fern-Runtime": core.RUNTIME.type,
566
566
  "X-Fern-Runtime-Version": core.RUNTIME.version,
567
567
  },
@@ -609,7 +609,7 @@ class V1 {
609
609
  Authorization: yield this._getAuthorizationHeader(),
610
610
  "X-Fern-Language": "JavaScript",
611
611
  "X-Fern-SDK-Name": "candidhealth",
612
- "X-Fern-SDK-Version": "0.39.0",
612
+ "X-Fern-SDK-Version": "0.39.2",
613
613
  "X-Fern-Runtime": core.RUNTIME.type,
614
614
  "X-Fern-Runtime-Version": core.RUNTIME.version,
615
615
  },
@@ -670,7 +670,7 @@ class V1 {
670
670
  Authorization: yield this._getAuthorizationHeader(),
671
671
  "X-Fern-Language": "JavaScript",
672
672
  "X-Fern-SDK-Name": "candidhealth",
673
- "X-Fern-SDK-Version": "0.39.0",
673
+ "X-Fern-SDK-Version": "0.39.2",
674
674
  "X-Fern-Runtime": core.RUNTIME.type,
675
675
  "X-Fern-Runtime-Version": core.RUNTIME.version,
676
676
  },
@@ -894,7 +894,7 @@ class V1 {
894
894
  Authorization: yield this._getAuthorizationHeader(),
895
895
  "X-Fern-Language": "JavaScript",
896
896
  "X-Fern-SDK-Name": "candidhealth",
897
- "X-Fern-SDK-Version": "0.39.0",
897
+ "X-Fern-SDK-Version": "0.39.2",
898
898
  "X-Fern-Runtime": core.RUNTIME.type,
899
899
  "X-Fern-Runtime-Version": core.RUNTIME.version,
900
900
  },
@@ -960,7 +960,7 @@ class V1 {
960
960
  Authorization: yield this._getAuthorizationHeader(),
961
961
  "X-Fern-Language": "JavaScript",
962
962
  "X-Fern-SDK-Name": "candidhealth",
963
- "X-Fern-SDK-Version": "0.39.0",
963
+ "X-Fern-SDK-Version": "0.39.2",
964
964
  "X-Fern-Runtime": core.RUNTIME.type,
965
965
  "X-Fern-Runtime-Version": core.RUNTIME.version,
966
966
  },
@@ -1028,7 +1028,7 @@ class V1 {
1028
1028
  Authorization: yield this._getAuthorizationHeader(),
1029
1029
  "X-Fern-Language": "JavaScript",
1030
1030
  "X-Fern-SDK-Name": "candidhealth",
1031
- "X-Fern-SDK-Version": "0.39.0",
1031
+ "X-Fern-SDK-Version": "0.39.2",
1032
1032
  "X-Fern-Runtime": core.RUNTIME.type,
1033
1033
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1034
1034
  },
@@ -1081,7 +1081,7 @@ class V1 {
1081
1081
  Authorization: yield this._getAuthorizationHeader(),
1082
1082
  "X-Fern-Language": "JavaScript",
1083
1083
  "X-Fern-SDK-Name": "candidhealth",
1084
- "X-Fern-SDK-Version": "0.39.0",
1084
+ "X-Fern-SDK-Version": "0.39.2",
1085
1085
  "X-Fern-Runtime": core.RUNTIME.type,
1086
1086
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1087
1087
  },
@@ -68,7 +68,7 @@ class V1 {
68
68
  Authorization: yield this._getAuthorizationHeader(),
69
69
  "X-Fern-Language": "JavaScript",
70
70
  "X-Fern-SDK-Name": "candidhealth",
71
- "X-Fern-SDK-Version": "0.39.0",
71
+ "X-Fern-SDK-Version": "0.39.2",
72
72
  "X-Fern-Runtime": core.RUNTIME.type,
73
73
  "X-Fern-Runtime-Version": core.RUNTIME.version,
74
74
  },
@@ -126,7 +126,7 @@ class V1 {
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
  },
@@ -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.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
  },
@@ -228,7 +228,7 @@ class V1 {
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
  },
@@ -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
  },
@@ -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.39.0",
80
+ "X-Fern-SDK-Version": "0.39.2",
81
81
  "X-Fern-Runtime": core.RUNTIME.type,
82
82
  "X-Fern-Runtime-Version": core.RUNTIME.version,
83
83
  },
@@ -113,7 +113,7 @@ class V2 {
113
113
  Authorization: yield this._getAuthorizationHeader(),
114
114
  "X-Fern-Language": "JavaScript",
115
115
  "X-Fern-SDK-Name": "candidhealth",
116
- "X-Fern-SDK-Version": "0.39.0",
116
+ "X-Fern-SDK-Version": "0.39.2",
117
117
  "X-Fern-Runtime": core.RUNTIME.type,
118
118
  "X-Fern-Runtime-Version": core.RUNTIME.version,
119
119
  },
@@ -208,7 +208,7 @@ class V2 {
208
208
  Authorization: yield this._getAuthorizationHeader(),
209
209
  "X-Fern-Language": "JavaScript",
210
210
  "X-Fern-SDK-Name": "candidhealth",
211
- "X-Fern-SDK-Version": "0.39.0",
211
+ "X-Fern-SDK-Version": "0.39.2",
212
212
  "X-Fern-Runtime": core.RUNTIME.type,
213
213
  "X-Fern-Runtime-Version": core.RUNTIME.version,
214
214
  },
@@ -272,7 +272,7 @@ class V2 {
272
272
  Authorization: yield this._getAuthorizationHeader(),
273
273
  "X-Fern-Language": "JavaScript",
274
274
  "X-Fern-SDK-Name": "candidhealth",
275
- "X-Fern-SDK-Version": "0.39.0",
275
+ "X-Fern-SDK-Version": "0.39.2",
276
276
  "X-Fern-Runtime": core.RUNTIME.type,
277
277
  "X-Fern-Runtime-Version": core.RUNTIME.version,
278
278
  },
@@ -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.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
  },
@@ -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.39.0",
169
+ "X-Fern-SDK-Version": "0.39.2",
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.39.0",
229
+ "X-Fern-SDK-Version": "0.39.2",
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.39.0",
297
+ "X-Fern-SDK-Version": "0.39.2",
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.39.0",
348
+ "X-Fern-SDK-Version": "0.39.2",
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.39.0",
119
+ "X-Fern-SDK-Version": "0.39.2",
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.39.0",
167
+ "X-Fern-SDK-Version": "0.39.2",
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.39.0",
224
+ "X-Fern-SDK-Version": "0.39.2",
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.39.0",
274
+ "X-Fern-SDK-Version": "0.39.2",
275
275
  "X-Fern-Runtime": core.RUNTIME.type,
276
276
  "X-Fern-Runtime-Version": core.RUNTIME.version,
277
277
  },
@@ -14,7 +14,7 @@ import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidati
14
14
  import { InvalidTagNamesErrorType } from "../types/InvalidTagNamesErrorType";
15
15
  export declare const Error: core.serialization.Schema<serializers.encounters.v4.create.Error.Raw, CandidApi.encounters.v4.create.Error>;
16
16
  export declare namespace Error {
17
- type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.EncounterGuarantorMissingContactInfoError | Error.HttpRequestValidationsError | Error.CashPayPayerError | Error.SchemaInstanceValidationHttpFailure | Error.InvalidTagNamesError;
17
+ type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.EncounterGuarantorMissingContactInfoError | Error.HttpRequestValidationsError | Error.CashPayPayerError | Error.SchemaInstanceValidationHttpFailure | Error.InvalidTagNamesError | Error.HttpRequestValidationError;
18
18
  interface EncounterExternalIdUniquenessError {
19
19
  errorName: "EncounterExternalIdUniquenessError";
20
20
  content: EncounterExternalIdUniquenessErrorType.Raw;
@@ -47,4 +47,8 @@ export declare namespace Error {
47
47
  errorName: "InvalidTagNamesError";
48
48
  content: InvalidTagNamesErrorType.Raw;
49
49
  }
50
+ interface HttpRequestValidationError {
51
+ errorName: "HttpRequestValidationError";
52
+ content: RequestValidationError.Raw;
53
+ }
50
54
  }
@@ -74,6 +74,9 @@ exports.Error = core.serialization
74
74
  InvalidTagNamesError: core.serialization.object({
75
75
  content: InvalidTagNamesErrorType_1.InvalidTagNamesErrorType,
76
76
  }),
77
+ HttpRequestValidationError: core.serialization.object({
78
+ content: RequestValidationError_1.RequestValidationError,
79
+ }),
77
80
  })
78
81
  .transform({
79
82
  transform: (value) => {
@@ -94,6 +97,8 @@ exports.Error = core.serialization
94
97
  return CandidApi.encounters.v4.create.Error.schemaInstanceValidationHttpFailure(value.content);
95
98
  case "InvalidTagNamesError":
96
99
  return CandidApi.encounters.v4.create.Error.invalidTagNamesError(value.content);
100
+ case "HttpRequestValidationError":
101
+ return CandidApi.encounters.v4.create.Error.httpRequestValidationError(value.content);
97
102
  }
98
103
  },
99
104
  untransform: (_a) => {
@@ -11,7 +11,7 @@ import { RequestValidationError } from "../../../../commons/types/RequestValidat
11
11
  import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidationFailure";
12
12
  export declare const Error: core.serialization.Schema<serializers.encounters.v4.createFromPreEncounterPatient.Error.Raw, CandidApi.encounters.v4.createFromPreEncounterPatient.Error>;
13
13
  export declare namespace Error {
14
- type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure;
14
+ type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.HttpRequestValidationError;
15
15
  interface EncounterExternalIdUniquenessError {
16
16
  errorName: "EncounterExternalIdUniquenessError";
17
17
  content: EncounterExternalIdUniquenessErrorType.Raw;
@@ -32,4 +32,8 @@ export declare namespace Error {
32
32
  errorName: "SchemaInstanceValidationHttpFailure";
33
33
  content: SchemaInstanceValidationFailure.Raw;
34
34
  }
35
+ interface HttpRequestValidationError {
36
+ errorName: "HttpRequestValidationError";
37
+ content: RequestValidationError.Raw;
38
+ }
35
39
  }
@@ -62,6 +62,9 @@ exports.Error = core.serialization
62
62
  SchemaInstanceValidationHttpFailure: core.serialization.object({
63
63
  content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
64
64
  }),
65
+ HttpRequestValidationError: core.serialization.object({
66
+ content: RequestValidationError_1.RequestValidationError,
67
+ }),
65
68
  })
66
69
  .transform({
67
70
  transform: (value) => {
@@ -76,6 +79,8 @@ exports.Error = core.serialization
76
79
  return CandidApi.encounters.v4.createFromPreEncounterPatient.Error.httpRequestValidationsError(value.content);
77
80
  case "SchemaInstanceValidationHttpFailure":
78
81
  return CandidApi.encounters.v4.createFromPreEncounterPatient.Error.schemaInstanceValidationHttpFailure(value.content);
82
+ case "HttpRequestValidationError":
83
+ return CandidApi.encounters.v4.createFromPreEncounterPatient.Error.httpRequestValidationError(value.content);
79
84
  }
80
85
  },
81
86
  untransform: (_a) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "candidhealth",
3
- "version": "0.39.0",
3
+ "version": "0.39.2",
4
4
  "private": false,
5
5
  "repository": "https://github.com/candidhealth/candid-node",
6
6
  "main": "./index.js",
@@ -14,7 +14,7 @@ import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidati
14
14
  import { InvalidTagNamesErrorType } from "../types/InvalidTagNamesErrorType";
15
15
  export declare const Error: core.serialization.Schema<serializers.encounters.v4.create.Error.Raw, CandidApi.encounters.v4.create.Error>;
16
16
  export declare namespace Error {
17
- type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.EncounterGuarantorMissingContactInfoError | Error.HttpRequestValidationsError | Error.CashPayPayerError | Error.SchemaInstanceValidationHttpFailure | Error.InvalidTagNamesError;
17
+ type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.EncounterGuarantorMissingContactInfoError | Error.HttpRequestValidationsError | Error.CashPayPayerError | Error.SchemaInstanceValidationHttpFailure | Error.InvalidTagNamesError | Error.HttpRequestValidationError;
18
18
  interface EncounterExternalIdUniquenessError {
19
19
  errorName: "EncounterExternalIdUniquenessError";
20
20
  content: EncounterExternalIdUniquenessErrorType.Raw;
@@ -47,4 +47,8 @@ export declare namespace Error {
47
47
  errorName: "InvalidTagNamesError";
48
48
  content: InvalidTagNamesErrorType.Raw;
49
49
  }
50
+ interface HttpRequestValidationError {
51
+ errorName: "HttpRequestValidationError";
52
+ content: RequestValidationError.Raw;
53
+ }
50
54
  }
@@ -74,6 +74,9 @@ exports.Error = core.serialization
74
74
  InvalidTagNamesError: core.serialization.object({
75
75
  content: InvalidTagNamesErrorType_1.InvalidTagNamesErrorType,
76
76
  }),
77
+ HttpRequestValidationError: core.serialization.object({
78
+ content: RequestValidationError_1.RequestValidationError,
79
+ }),
77
80
  })
78
81
  .transform({
79
82
  transform: (value) => {
@@ -94,6 +97,8 @@ exports.Error = core.serialization
94
97
  return CandidApi.encounters.v4.create.Error.schemaInstanceValidationHttpFailure(value.content);
95
98
  case "InvalidTagNamesError":
96
99
  return CandidApi.encounters.v4.create.Error.invalidTagNamesError(value.content);
100
+ case "HttpRequestValidationError":
101
+ return CandidApi.encounters.v4.create.Error.httpRequestValidationError(value.content);
97
102
  }
98
103
  },
99
104
  untransform: (_a) => {
@@ -11,7 +11,7 @@ import { RequestValidationError } from "../../../../commons/types/RequestValidat
11
11
  import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidationFailure";
12
12
  export declare const Error: core.serialization.Schema<serializers.encounters.v4.createFromPreEncounterPatient.Error.Raw, CandidApi.encounters.v4.createFromPreEncounterPatient.Error>;
13
13
  export declare namespace Error {
14
- type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure;
14
+ type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.HttpRequestValidationError;
15
15
  interface EncounterExternalIdUniquenessError {
16
16
  errorName: "EncounterExternalIdUniquenessError";
17
17
  content: EncounterExternalIdUniquenessErrorType.Raw;
@@ -32,4 +32,8 @@ export declare namespace Error {
32
32
  errorName: "SchemaInstanceValidationHttpFailure";
33
33
  content: SchemaInstanceValidationFailure.Raw;
34
34
  }
35
+ interface HttpRequestValidationError {
36
+ errorName: "HttpRequestValidationError";
37
+ content: RequestValidationError.Raw;
38
+ }
35
39
  }
@@ -62,6 +62,9 @@ exports.Error = core.serialization
62
62
  SchemaInstanceValidationHttpFailure: core.serialization.object({
63
63
  content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
64
64
  }),
65
+ HttpRequestValidationError: core.serialization.object({
66
+ content: RequestValidationError_1.RequestValidationError,
67
+ }),
65
68
  })
66
69
  .transform({
67
70
  transform: (value) => {
@@ -76,6 +79,8 @@ exports.Error = core.serialization
76
79
  return CandidApi.encounters.v4.createFromPreEncounterPatient.Error.httpRequestValidationsError(value.content);
77
80
  case "SchemaInstanceValidationHttpFailure":
78
81
  return CandidApi.encounters.v4.createFromPreEncounterPatient.Error.schemaInstanceValidationHttpFailure(value.content);
82
+ case "HttpRequestValidationError":
83
+ return CandidApi.encounters.v4.createFromPreEncounterPatient.Error.httpRequestValidationError(value.content);
79
84
  }
80
85
  },
81
86
  untransform: (_a) => {