candidhealth 0.17.4 → 0.17.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  3. package/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +1 -2
  4. package/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +0 -1
  5. package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +1 -1
  6. package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +1 -1
  7. package/api/resources/claims/types/Claim.d.ts +3 -1
  8. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  9. package/api/resources/eligibility/resources/v2/client/Client.js +2 -2
  10. package/api/resources/encounters/resources/v4/client/Client.js +8 -5
  11. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +19 -0
  12. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
  13. package/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +4 -0
  14. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +18 -1
  15. package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -14
  16. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +3 -1
  17. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  18. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  19. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  20. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  21. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  22. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  23. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  24. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  25. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  26. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  27. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  28. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  29. package/api/resources/serviceFacility/client/Client.js +1 -1
  30. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -1
  31. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
  32. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  33. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  34. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  35. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  36. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +1 -2
  37. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +0 -1
  38. package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreate.d.ts +1 -1
  39. package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreate.d.ts +1 -1
  40. package/dist/api/resources/claims/types/Claim.d.ts +3 -1
  41. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  42. package/dist/api/resources/eligibility/resources/v2/client/Client.js +2 -2
  43. package/dist/api/resources/encounters/resources/v4/client/Client.js +8 -5
  44. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +19 -0
  45. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
  46. package/dist/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +4 -0
  47. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +18 -1
  48. package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -14
  49. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +3 -1
  50. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  51. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  52. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  53. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  54. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  55. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  56. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  57. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  58. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  59. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  60. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  61. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  62. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  63. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -1
  64. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
  65. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  66. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  67. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +1 -1
  68. package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +1 -1
  69. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
  70. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
  71. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  72. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  73. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
  74. package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -2
  75. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  76. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
  77. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
  78. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +2 -0
  79. package/package.json +1 -1
  80. package/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.d.ts +1 -1
  81. package/serialization/resources/claimSubmission/resources/v1/types/ClaimFrequencyTypeCode.js +1 -1
  82. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
  83. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
  84. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  85. package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  86. package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +0 -2
  87. package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +0 -2
  88. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  89. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
  90. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
  91. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +2 -0
@@ -79,7 +79,7 @@ class V1 {
79
79
  Authorization: await this._getAuthorizationHeader(),
80
80
  "X-Fern-Language": "JavaScript",
81
81
  "X-Fern-SDK-Name": "candidhealth",
82
- "X-Fern-SDK-Version": "0.17.4",
82
+ "X-Fern-SDK-Version": "0.17.5",
83
83
  },
84
84
  contentType: "application/json",
85
85
  queryParameters: _queryParams,
@@ -128,7 +128,7 @@ class V1 {
128
128
  Authorization: await this._getAuthorizationHeader(),
129
129
  "X-Fern-Language": "JavaScript",
130
130
  "X-Fern-SDK-Name": "candidhealth",
131
- "X-Fern-SDK-Version": "0.17.4",
131
+ "X-Fern-SDK-Version": "0.17.5",
132
132
  },
133
133
  contentType: "application/json",
134
134
  timeoutMs: 60000,
@@ -177,7 +177,7 @@ class V1 {
177
177
  Authorization: await this._getAuthorizationHeader(),
178
178
  "X-Fern-Language": "JavaScript",
179
179
  "X-Fern-SDK-Name": "candidhealth",
180
- "X-Fern-SDK-Version": "0.17.4",
180
+ "X-Fern-SDK-Version": "0.17.5",
181
181
  },
182
182
  contentType: "application/json",
183
183
  body: await serializers.insuranceRefunds.v1.InsuranceRefundCreate.jsonOrThrow(request, {
@@ -229,7 +229,7 @@ class V1 {
229
229
  Authorization: await this._getAuthorizationHeader(),
230
230
  "X-Fern-Language": "JavaScript",
231
231
  "X-Fern-SDK-Name": "candidhealth",
232
- "X-Fern-SDK-Version": "0.17.4",
232
+ "X-Fern-SDK-Version": "0.17.5",
233
233
  },
234
234
  contentType: "application/json",
235
235
  body: await serializers.insuranceRefunds.v1.InsuranceRefundUpdate.jsonOrThrow(request, {
@@ -282,7 +282,7 @@ class V1 {
282
282
  Authorization: await this._getAuthorizationHeader(),
283
283
  "X-Fern-Language": "JavaScript",
284
284
  "X-Fern-SDK-Name": "candidhealth",
285
- "X-Fern-SDK-Version": "0.17.4",
285
+ "X-Fern-SDK-Version": "0.17.5",
286
286
  },
287
287
  contentType: "application/json",
288
288
  timeoutMs: 60000,
@@ -49,7 +49,7 @@ class V3 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.17.4",
52
+ "X-Fern-SDK-Version": "0.17.5",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -115,7 +115,7 @@ class V3 {
115
115
  Authorization: await this._getAuthorizationHeader(),
116
116
  "X-Fern-Language": "JavaScript",
117
117
  "X-Fern-SDK-Name": "candidhealth",
118
- "X-Fern-SDK-Version": "0.17.4",
118
+ "X-Fern-SDK-Version": "0.17.5",
119
119
  },
120
120
  contentType: "application/json",
121
121
  queryParameters: _queryParams,
@@ -145,7 +145,7 @@ class V3 {
145
145
  Authorization: await this._getAuthorizationHeader(),
146
146
  "X-Fern-Language": "JavaScript",
147
147
  "X-Fern-SDK-Name": "candidhealth",
148
- "X-Fern-SDK-Version": "0.17.4",
148
+ "X-Fern-SDK-Version": "0.17.5",
149
149
  },
150
150
  contentType: "application/json",
151
151
  body: await serializers.organizationProviders.v3.OrganizationProviderCreateV2.jsonOrThrow(request, {
@@ -192,7 +192,7 @@ class V3 {
192
192
  Authorization: await this._getAuthorizationHeader(),
193
193
  "X-Fern-Language": "JavaScript",
194
194
  "X-Fern-SDK-Name": "candidhealth",
195
- "X-Fern-SDK-Version": "0.17.4",
195
+ "X-Fern-SDK-Version": "0.17.5",
196
196
  },
197
197
  contentType: "application/json",
198
198
  body: await serializers.organizationProviders.v3.OrganizationProviderUpdateV2.jsonOrThrow(request, {
@@ -49,7 +49,7 @@ class V2 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.17.4",
52
+ "X-Fern-SDK-Version": "0.17.5",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -103,7 +103,7 @@ class V2 {
103
103
  Authorization: await this._getAuthorizationHeader(),
104
104
  "X-Fern-Language": "JavaScript",
105
105
  "X-Fern-SDK-Name": "candidhealth",
106
- "X-Fern-SDK-Version": "0.17.4",
106
+ "X-Fern-SDK-Version": "0.17.5",
107
107
  },
108
108
  contentType: "application/json",
109
109
  queryParameters: _queryParams,
@@ -133,7 +133,7 @@ class V2 {
133
133
  Authorization: await this._getAuthorizationHeader(),
134
134
  "X-Fern-Language": "JavaScript",
135
135
  "X-Fern-SDK-Name": "candidhealth",
136
- "X-Fern-SDK-Version": "0.17.4",
136
+ "X-Fern-SDK-Version": "0.17.5",
137
137
  },
138
138
  contentType: "application/json",
139
139
  body: await serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -177,7 +177,7 @@ class V2 {
177
177
  Authorization: await this._getAuthorizationHeader(),
178
178
  "X-Fern-Language": "JavaScript",
179
179
  "X-Fern-SDK-Name": "candidhealth",
180
- "X-Fern-SDK-Version": "0.17.4",
180
+ "X-Fern-SDK-Version": "0.17.5",
181
181
  },
182
182
  contentType: "application/json",
183
183
  body: await serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -222,7 +222,7 @@ class V2 {
222
222
  Authorization: await this._getAuthorizationHeader(),
223
223
  "X-Fern-Language": "JavaScript",
224
224
  "X-Fern-SDK-Name": "candidhealth",
225
- "X-Fern-SDK-Version": "0.17.4",
225
+ "X-Fern-SDK-Version": "0.17.5",
226
226
  },
227
227
  contentType: "application/json",
228
228
  timeoutMs: 60000,
@@ -95,7 +95,7 @@ class V4 {
95
95
  Authorization: await this._getAuthorizationHeader(),
96
96
  "X-Fern-Language": "JavaScript",
97
97
  "X-Fern-SDK-Name": "candidhealth",
98
- "X-Fern-SDK-Version": "0.17.4",
98
+ "X-Fern-SDK-Version": "0.17.5",
99
99
  },
100
100
  contentType: "application/json",
101
101
  queryParameters: _queryParams,
@@ -143,7 +143,7 @@ class V4 {
143
143
  Authorization: await this._getAuthorizationHeader(),
144
144
  "X-Fern-Language": "JavaScript",
145
145
  "X-Fern-SDK-Name": "candidhealth",
146
- "X-Fern-SDK-Version": "0.17.4",
146
+ "X-Fern-SDK-Version": "0.17.5",
147
147
  },
148
148
  contentType: "application/json",
149
149
  timeoutMs: 60000,
@@ -192,7 +192,7 @@ class V4 {
192
192
  Authorization: await this._getAuthorizationHeader(),
193
193
  "X-Fern-Language": "JavaScript",
194
194
  "X-Fern-SDK-Name": "candidhealth",
195
- "X-Fern-SDK-Version": "0.17.4",
195
+ "X-Fern-SDK-Version": "0.17.5",
196
196
  },
197
197
  contentType: "application/json",
198
198
  body: await serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
@@ -243,7 +243,7 @@ class V4 {
243
243
  Authorization: await this._getAuthorizationHeader(),
244
244
  "X-Fern-Language": "JavaScript",
245
245
  "X-Fern-SDK-Name": "candidhealth",
246
- "X-Fern-SDK-Version": "0.17.4",
246
+ "X-Fern-SDK-Version": "0.17.5",
247
247
  },
248
248
  contentType: "application/json",
249
249
  body: await serializers.patientPayments.v4.PatientPaymentUpdate.jsonOrThrow(request, {
@@ -294,7 +294,7 @@ class V4 {
294
294
  Authorization: await this._getAuthorizationHeader(),
295
295
  "X-Fern-Language": "JavaScript",
296
296
  "X-Fern-SDK-Name": "candidhealth",
297
- "X-Fern-SDK-Version": "0.17.4",
297
+ "X-Fern-SDK-Version": "0.17.5",
298
298
  },
299
299
  contentType: "application/json",
300
300
  timeoutMs: 60000,
@@ -95,7 +95,7 @@ class V1 {
95
95
  Authorization: await this._getAuthorizationHeader(),
96
96
  "X-Fern-Language": "JavaScript",
97
97
  "X-Fern-SDK-Name": "candidhealth",
98
- "X-Fern-SDK-Version": "0.17.4",
98
+ "X-Fern-SDK-Version": "0.17.5",
99
99
  },
100
100
  contentType: "application/json",
101
101
  queryParameters: _queryParams,
@@ -143,7 +143,7 @@ class V1 {
143
143
  Authorization: await this._getAuthorizationHeader(),
144
144
  "X-Fern-Language": "JavaScript",
145
145
  "X-Fern-SDK-Name": "candidhealth",
146
- "X-Fern-SDK-Version": "0.17.4",
146
+ "X-Fern-SDK-Version": "0.17.5",
147
147
  },
148
148
  contentType: "application/json",
149
149
  timeoutMs: 60000,
@@ -192,7 +192,7 @@ class V1 {
192
192
  Authorization: await this._getAuthorizationHeader(),
193
193
  "X-Fern-Language": "JavaScript",
194
194
  "X-Fern-SDK-Name": "candidhealth",
195
- "X-Fern-SDK-Version": "0.17.4",
195
+ "X-Fern-SDK-Version": "0.17.5",
196
196
  },
197
197
  contentType: "application/json",
198
198
  body: await serializers.patientRefunds.v1.PatientRefundCreate.jsonOrThrow(request, {
@@ -243,7 +243,7 @@ class V1 {
243
243
  Authorization: await this._getAuthorizationHeader(),
244
244
  "X-Fern-Language": "JavaScript",
245
245
  "X-Fern-SDK-Name": "candidhealth",
246
- "X-Fern-SDK-Version": "0.17.4",
246
+ "X-Fern-SDK-Version": "0.17.5",
247
247
  },
248
248
  contentType: "application/json",
249
249
  body: await serializers.patientRefunds.v1.PatientRefundUpdate.jsonOrThrow(request, {
@@ -294,7 +294,7 @@ class V1 {
294
294
  Authorization: await this._getAuthorizationHeader(),
295
295
  "X-Fern-Language": "JavaScript",
296
296
  "X-Fern-SDK-Name": "candidhealth",
297
- "X-Fern-SDK-Version": "0.17.4",
297
+ "X-Fern-SDK-Version": "0.17.5",
298
298
  },
299
299
  contentType: "application/json",
300
300
  timeoutMs: 60000,
@@ -49,7 +49,7 @@ class V3 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.17.4",
52
+ "X-Fern-SDK-Version": "0.17.5",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -89,7 +89,7 @@ class V3 {
89
89
  Authorization: await this._getAuthorizationHeader(),
90
90
  "X-Fern-Language": "JavaScript",
91
91
  "X-Fern-SDK-Name": "candidhealth",
92
- "X-Fern-SDK-Version": "0.17.4",
92
+ "X-Fern-SDK-Version": "0.17.5",
93
93
  },
94
94
  contentType: "application/json",
95
95
  queryParameters: _queryParams,
@@ -48,7 +48,7 @@ class ServiceFacility {
48
48
  Authorization: await this._getAuthorizationHeader(),
49
49
  "X-Fern-Language": "JavaScript",
50
50
  "X-Fern-SDK-Name": "candidhealth",
51
- "X-Fern-SDK-Version": "0.17.4",
51
+ "X-Fern-SDK-Version": "0.17.5",
52
52
  },
53
53
  contentType: "application/json",
54
54
  body: await serializers.EncounterServiceFacilityUpdate.jsonOrThrow(request, {
@@ -63,7 +63,9 @@ import * as CandidApi from "../../../../..";
63
63
  * dateOfServiceRange: {
64
64
  * startDate: CandidApi.Date_("2023-01-01"),
65
65
  * endDate: CandidApi.Date_("2023-01-03")
66
- * }
66
+ * },
67
+ * dateOfService: "2023-01-01",
68
+ * endDateOfService: "2023-01-03"
67
69
  * }
68
70
  */
69
71
  export interface ServiceLine {
@@ -100,4 +102,6 @@ export interface ServiceLine {
100
102
  dateOfServiceRange: CandidApi.DateRangeOptionalEnd;
101
103
  /** A free-form description to clarify the related data elements and their content. Maps to SV1-01, C003-07 on the 837-P. */
102
104
  description?: string;
105
+ dateOfService: string;
106
+ endDateOfService?: string;
103
107
  }
@@ -24,4 +24,6 @@ export interface ServiceLineCreate {
24
24
  placeOfServiceCode?: CandidApi.FacilityTypeCode;
25
25
  /** A free-form description to clarify the related data elements and their content. Maps to SV1-01, C003-07 on the 837-P. */
26
26
  description?: string;
27
+ dateOfService?: string;
28
+ endDateOfService?: string;
27
29
  }
@@ -49,7 +49,7 @@ class V3 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.17.4",
52
+ "X-Fern-SDK-Version": "0.17.5",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -119,7 +119,7 @@ class V3 {
119
119
  Authorization: await this._getAuthorizationHeader(),
120
120
  "X-Fern-Language": "JavaScript",
121
121
  "X-Fern-SDK-Name": "candidhealth",
122
- "X-Fern-SDK-Version": "0.17.4",
122
+ "X-Fern-SDK-Version": "0.17.5",
123
123
  },
124
124
  contentType: "application/json",
125
125
  queryParameters: _queryParams,
@@ -163,7 +163,7 @@ class V3 {
163
163
  Authorization: await this._getAuthorizationHeader(),
164
164
  "X-Fern-Language": "JavaScript",
165
165
  "X-Fern-SDK-Name": "candidhealth",
166
- "X-Fern-SDK-Version": "0.17.4",
166
+ "X-Fern-SDK-Version": "0.17.5",
167
167
  },
168
168
  contentType: "application/json",
169
169
  timeoutMs: 60000,
@@ -207,7 +207,7 @@ class V3 {
207
207
  Authorization: await this._getAuthorizationHeader(),
208
208
  "X-Fern-Language": "JavaScript",
209
209
  "X-Fern-SDK-Name": "candidhealth",
210
- "X-Fern-SDK-Version": "0.17.4",
210
+ "X-Fern-SDK-Version": "0.17.5",
211
211
  },
212
212
  contentType: "application/json",
213
213
  body: await serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -237,7 +237,7 @@ class V3 {
237
237
  Authorization: await this._getAuthorizationHeader(),
238
238
  "X-Fern-Language": "JavaScript",
239
239
  "X-Fern-SDK-Name": "candidhealth",
240
- "X-Fern-SDK-Version": "0.17.4",
240
+ "X-Fern-SDK-Version": "0.17.5",
241
241
  },
242
242
  contentType: "application/json",
243
243
  body: await serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -91,7 +91,7 @@ class V1 {
91
91
  Authorization: await this._getAuthorizationHeader(),
92
92
  "X-Fern-Language": "JavaScript",
93
93
  "X-Fern-SDK-Name": "candidhealth",
94
- "X-Fern-SDK-Version": "0.17.4",
94
+ "X-Fern-SDK-Version": "0.17.5",
95
95
  },
96
96
  contentType: "application/json",
97
97
  queryParameters: _queryParams,
@@ -124,7 +124,7 @@ class V1 {
124
124
  Authorization: await this._getAuthorizationHeader(),
125
125
  "X-Fern-Language": "JavaScript",
126
126
  "X-Fern-SDK-Name": "candidhealth",
127
- "X-Fern-SDK-Version": "0.17.4",
127
+ "X-Fern-SDK-Version": "0.17.5",
128
128
  },
129
129
  contentType: "application/json",
130
130
  timeoutMs: 60000,
@@ -158,7 +158,7 @@ class V1 {
158
158
  Authorization: await this._getAuthorizationHeader(),
159
159
  "X-Fern-Language": "JavaScript",
160
160
  "X-Fern-SDK-Name": "candidhealth",
161
- "X-Fern-SDK-Version": "0.17.4",
161
+ "X-Fern-SDK-Version": "0.17.5",
162
162
  },
163
163
  contentType: "application/json",
164
164
  body: await serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
@@ -193,7 +193,7 @@ class V1 {
193
193
  Authorization: await this._getAuthorizationHeader(),
194
194
  "X-Fern-Language": "JavaScript",
195
195
  "X-Fern-SDK-Name": "candidhealth",
196
- "X-Fern-SDK-Version": "0.17.4",
196
+ "X-Fern-SDK-Version": "0.17.5",
197
197
  },
198
198
  contentType: "application/json",
199
199
  timeoutMs: 60000,
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const ClaimFrequencyTypeCode: core.serialization.Schema<serializers.claimSubmission.v1.ClaimFrequencyTypeCode.Raw, CandidApi.claimSubmission.v1.ClaimFrequencyTypeCode>;
8
8
  export declare namespace ClaimFrequencyTypeCode {
9
- type Raw = "1" | "6" | "7" | "8";
9
+ type Raw = "1" | "7" | "8";
10
10
  }
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ClaimFrequencyTypeCode = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
- exports.ClaimFrequencyTypeCode = core.serialization.enum_(["1", "6", "7", "8"]);
31
+ exports.ClaimFrequencyTypeCode = core.serialization.enum_(["1", "7", "8"]);
@@ -7,6 +7,8 @@ import * as core from "../../../../../../../core";
7
7
  export declare const EncounterCreate: core.serialization.Schema<serializers.encounters.v4.EncounterCreate.Raw, CandidApi.encounters.v4.EncounterCreate>;
8
8
  export declare namespace EncounterCreate {
9
9
  interface Raw extends serializers.encounters.v4.EncounterBase.Raw {
10
+ date_of_service?: serializers.Date_.Raw | null;
11
+ end_date_of_service?: serializers.Date_.Raw | null;
10
12
  patient: serializers.PatientCreate.Raw;
11
13
  billing_provider: serializers.encounterProviders.v2.BillingProvider.Raw;
12
14
  rendering_provider: serializers.encounterProviders.v2.RenderingProvider.Raw;
@@ -30,6 +30,8 @@ exports.EncounterCreate = void 0;
30
30
  const core = __importStar(require("../../../../../../../core"));
31
31
  exports.EncounterCreate = core.serialization
32
32
  .object({
33
+ dateOfService: core.serialization.property("date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
34
+ endDateOfService: core.serialization.property("end_date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
33
35
  patient: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).PatientCreate),
34
36
  billingProvider: core.serialization.property("billing_provider", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).encounterProviders.v2.BillingProvider)),
35
37
  renderingProvider: core.serialization.property("rendering_provider", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).encounterProviders.v2.RenderingProvider)),
@@ -7,6 +7,8 @@ import * as core from "../../../../../../core";
7
7
  export declare const Encounter: core.serialization.ObjectSchema<serializers.encounters.v4.Encounter.Raw, CandidApi.encounters.v4.Encounter>;
8
8
  export declare namespace Encounter {
9
9
  interface Raw extends serializers.encounters.v4.EncounterBase.Raw {
10
+ date_of_service: serializers.Date_.Raw;
11
+ end_date_of_service?: serializers.Date_.Raw | null;
10
12
  encounter_id: serializers.EncounterId.Raw;
11
13
  claims: serializers.Claim.Raw[];
12
14
  patient: serializers.Patient.Raw;
@@ -30,6 +30,8 @@ exports.Encounter = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
31
  exports.Encounter = core.serialization
32
32
  .object({
33
+ dateOfService: core.serialization.property("date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_)),
34
+ endDateOfService: core.serialization.property("end_date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
33
35
  encounterId: core.serialization.property("encounter_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EncounterId)),
34
36
  claims: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Claim)),
35
37
  patient: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Patient),
@@ -8,8 +8,6 @@ export declare const EncounterBase: core.serialization.ObjectSchema<serializers.
8
8
  export declare namespace EncounterBase {
9
9
  interface Raw {
10
10
  external_id: serializers.EncounterExternalId.Raw;
11
- date_of_service: serializers.Date_.Raw;
12
- end_date_of_service?: serializers.Date_.Raw | null;
13
11
  prior_authorization_number?: serializers.encounters.v4.PriorAuthorizationNumber.Raw | null;
14
12
  patient_authorized_release: boolean;
15
13
  benefits_assigned_to_provider: boolean;
@@ -30,8 +30,6 @@ exports.EncounterBase = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
31
  exports.EncounterBase = core.serialization.object({
32
32
  externalId: core.serialization.property("external_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EncounterExternalId)),
33
- dateOfService: core.serialization.property("date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_)),
34
- endDateOfService: core.serialization.property("end_date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
35
33
  priorAuthorizationNumber: core.serialization.property("prior_authorization_number", core.serialization
36
34
  .lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.PriorAuthorizationNumber)
37
35
  .optional()),
@@ -30,5 +30,7 @@ export declare namespace ServiceLine {
30
30
  claim_id: serializers.ClaimId.Raw;
31
31
  date_of_service_range: serializers.DateRangeOptionalEnd.Raw;
32
32
  description?: string | null;
33
+ date_of_service: string;
34
+ end_date_of_service?: string | null;
33
35
  }
34
36
  }
@@ -62,4 +62,6 @@ exports.ServiceLine = core.serialization.object({
62
62
  claimId: core.serialization.property("claim_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ClaimId)),
63
63
  dateOfServiceRange: core.serialization.property("date_of_service_range", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).DateRangeOptionalEnd)),
64
64
  description: core.serialization.string().optional(),
65
+ dateOfService: core.serialization.property("date_of_service", core.serialization.string()),
66
+ endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
65
67
  });
@@ -16,5 +16,7 @@ export declare namespace ServiceLineCreate {
16
16
  drug_identification?: serializers.serviceLines.v2.DrugIdentification.Raw | null;
17
17
  place_of_service_code?: serializers.FacilityTypeCode.Raw | null;
18
18
  description?: string | null;
19
+ date_of_service?: string | null;
20
+ end_date_of_service?: string | null;
19
21
  }
20
22
  }
@@ -42,4 +42,6 @@ exports.ServiceLineCreate = core.serialization.object({
42
42
  .optional()),
43
43
  placeOfServiceCode: core.serialization.property("place_of_service_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).FacilityTypeCode).optional()),
44
44
  description: core.serialization.string().optional(),
45
+ dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
46
+ endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
45
47
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "candidhealth",
3
- "version": "0.17.4",
3
+ "version": "0.17.5",
4
4
  "private": false,
5
5
  "repository": "https://github.com/candidhealth/candid-node",
6
6
  "main": "./index.js",
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../api";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const ClaimFrequencyTypeCode: core.serialization.Schema<serializers.claimSubmission.v1.ClaimFrequencyTypeCode.Raw, CandidApi.claimSubmission.v1.ClaimFrequencyTypeCode>;
8
8
  export declare namespace ClaimFrequencyTypeCode {
9
- type Raw = "1" | "6" | "7" | "8";
9
+ type Raw = "1" | "7" | "8";
10
10
  }
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ClaimFrequencyTypeCode = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
- exports.ClaimFrequencyTypeCode = core.serialization.enum_(["1", "6", "7", "8"]);
31
+ exports.ClaimFrequencyTypeCode = core.serialization.enum_(["1", "7", "8"]);
@@ -7,6 +7,8 @@ import * as core from "../../../../../../../core";
7
7
  export declare const EncounterCreate: core.serialization.Schema<serializers.encounters.v4.EncounterCreate.Raw, CandidApi.encounters.v4.EncounterCreate>;
8
8
  export declare namespace EncounterCreate {
9
9
  interface Raw extends serializers.encounters.v4.EncounterBase.Raw {
10
+ date_of_service?: serializers.Date_.Raw | null;
11
+ end_date_of_service?: serializers.Date_.Raw | null;
10
12
  patient: serializers.PatientCreate.Raw;
11
13
  billing_provider: serializers.encounterProviders.v2.BillingProvider.Raw;
12
14
  rendering_provider: serializers.encounterProviders.v2.RenderingProvider.Raw;
@@ -30,6 +30,8 @@ exports.EncounterCreate = void 0;
30
30
  const core = __importStar(require("../../../../../../../core"));
31
31
  exports.EncounterCreate = core.serialization
32
32
  .object({
33
+ dateOfService: core.serialization.property("date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
34
+ endDateOfService: core.serialization.property("end_date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Date_).optional()),
33
35
  patient: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).PatientCreate),
34
36
  billingProvider: core.serialization.property("billing_provider", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).encounterProviders.v2.BillingProvider)),
35
37
  renderingProvider: core.serialization.property("rendering_provider", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).encounterProviders.v2.RenderingProvider)),
@@ -7,6 +7,8 @@ import * as core from "../../../../../../core";
7
7
  export declare const Encounter: core.serialization.ObjectSchema<serializers.encounters.v4.Encounter.Raw, CandidApi.encounters.v4.Encounter>;
8
8
  export declare namespace Encounter {
9
9
  interface Raw extends serializers.encounters.v4.EncounterBase.Raw {
10
+ date_of_service: serializers.Date_.Raw;
11
+ end_date_of_service?: serializers.Date_.Raw | null;
10
12
  encounter_id: serializers.EncounterId.Raw;
11
13
  claims: serializers.Claim.Raw[];
12
14
  patient: serializers.Patient.Raw;
@@ -30,6 +30,8 @@ exports.Encounter = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
31
  exports.Encounter = core.serialization
32
32
  .object({
33
+ dateOfService: core.serialization.property("date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_)),
34
+ endDateOfService: core.serialization.property("end_date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
33
35
  encounterId: core.serialization.property("encounter_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EncounterId)),
34
36
  claims: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Claim)),
35
37
  patient: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Patient),
@@ -8,8 +8,6 @@ export declare const EncounterBase: core.serialization.ObjectSchema<serializers.
8
8
  export declare namespace EncounterBase {
9
9
  interface Raw {
10
10
  external_id: serializers.EncounterExternalId.Raw;
11
- date_of_service: serializers.Date_.Raw;
12
- end_date_of_service?: serializers.Date_.Raw | null;
13
11
  prior_authorization_number?: serializers.encounters.v4.PriorAuthorizationNumber.Raw | null;
14
12
  patient_authorized_release: boolean;
15
13
  benefits_assigned_to_provider: boolean;
@@ -30,8 +30,6 @@ exports.EncounterBase = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
31
  exports.EncounterBase = core.serialization.object({
32
32
  externalId: core.serialization.property("external_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EncounterExternalId)),
33
- dateOfService: core.serialization.property("date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_)),
34
- endDateOfService: core.serialization.property("end_date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
35
33
  priorAuthorizationNumber: core.serialization.property("prior_authorization_number", core.serialization
36
34
  .lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.PriorAuthorizationNumber)
37
35
  .optional()),
@@ -30,5 +30,7 @@ export declare namespace ServiceLine {
30
30
  claim_id: serializers.ClaimId.Raw;
31
31
  date_of_service_range: serializers.DateRangeOptionalEnd.Raw;
32
32
  description?: string | null;
33
+ date_of_service: string;
34
+ end_date_of_service?: string | null;
33
35
  }
34
36
  }
@@ -62,4 +62,6 @@ exports.ServiceLine = core.serialization.object({
62
62
  claimId: core.serialization.property("claim_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ClaimId)),
63
63
  dateOfServiceRange: core.serialization.property("date_of_service_range", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).DateRangeOptionalEnd)),
64
64
  description: core.serialization.string().optional(),
65
+ dateOfService: core.serialization.property("date_of_service", core.serialization.string()),
66
+ endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
65
67
  });
@@ -16,5 +16,7 @@ export declare namespace ServiceLineCreate {
16
16
  drug_identification?: serializers.serviceLines.v2.DrugIdentification.Raw | null;
17
17
  place_of_service_code?: serializers.FacilityTypeCode.Raw | null;
18
18
  description?: string | null;
19
+ date_of_service?: string | null;
20
+ end_date_of_service?: string | null;
19
21
  }
20
22
  }
@@ -42,4 +42,6 @@ exports.ServiceLineCreate = core.serialization.object({
42
42
  .optional()),
43
43
  placeOfServiceCode: core.serialization.property("place_of_service_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).FacilityTypeCode).optional()),
44
44
  description: core.serialization.string().optional(),
45
+ dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
46
+ endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
45
47
  });