candidhealth 0.4.0 → 0.4.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.
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/client/Client.js +1 -1
- package/api/resources/encounters/resources/v4/client/Client.js +8 -8
- package/api/resources/expectedNetworkStatus/client/Client.js +1 -1
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +2 -2
- package/api/resources/payers/client/Client.js +2 -2
- package/api/resources/serviceLines/types/ServiceLineCreate.d.ts +1 -0
- package/api/resources/tasks/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/client/Client.js +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +8 -8
- package/dist/api/resources/expectedNetworkStatus/client/Client.js +1 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +2 -2
- package/dist/api/resources/payers/client/Client.js +2 -2
- package/dist/api/resources/serviceLines/types/ServiceLineCreate.d.ts +1 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +1 -1
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +2 -2
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +4 -2
- package/dist/serialization/resources/serviceLines/types/ServiceLineCreate.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/types/ServiceLineCreate.js +1 -0
- package/package.json +1 -1
- package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +2 -2
- package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +4 -2
- package/serialization/resources/serviceLines/types/ServiceLineCreate.d.ts +1 -0
- package/serialization/resources/serviceLines/types/ServiceLineCreate.js +1 -0
|
@@ -48,7 +48,7 @@ class V2 {
|
|
|
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.4.
|
|
51
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.auth.v2.AuthGetTokenRequest.jsonOrThrow(request, {
|
|
@@ -48,7 +48,7 @@ class BillingNotes {
|
|
|
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.4.
|
|
51
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.StandaloneBillingNoteCreate.jsonOrThrow(request, {
|
|
@@ -100,7 +100,7 @@ class V4 {
|
|
|
100
100
|
Authorization: await this._getAuthorizationHeader(),
|
|
101
101
|
"X-Fern-Language": "JavaScript",
|
|
102
102
|
"X-Fern-SDK-Name": "candidhealth",
|
|
103
|
-
"X-Fern-SDK-Version": "0.4.
|
|
103
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
104
104
|
},
|
|
105
105
|
contentType: "application/json",
|
|
106
106
|
queryParameters: _queryParams,
|
|
@@ -130,7 +130,7 @@ class V4 {
|
|
|
130
130
|
Authorization: await this._getAuthorizationHeader(),
|
|
131
131
|
"X-Fern-Language": "JavaScript",
|
|
132
132
|
"X-Fern-SDK-Name": "candidhealth",
|
|
133
|
-
"X-Fern-SDK-Version": "0.4.
|
|
133
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
134
134
|
},
|
|
135
135
|
contentType: "application/json",
|
|
136
136
|
timeoutMs: 60000,
|
|
@@ -159,7 +159,7 @@ class V4 {
|
|
|
159
159
|
Authorization: await this._getAuthorizationHeader(),
|
|
160
160
|
"X-Fern-Language": "JavaScript",
|
|
161
161
|
"X-Fern-SDK-Name": "candidhealth",
|
|
162
|
-
"X-Fern-SDK-Version": "0.4.
|
|
162
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
163
163
|
},
|
|
164
164
|
contentType: "application/json",
|
|
165
165
|
body: await serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, {
|
|
@@ -206,7 +206,7 @@ class V4 {
|
|
|
206
206
|
Authorization: await this._getAuthorizationHeader(),
|
|
207
207
|
"X-Fern-Language": "JavaScript",
|
|
208
208
|
"X-Fern-SDK-Name": "candidhealth",
|
|
209
|
-
"X-Fern-SDK-Version": "0.4.
|
|
209
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
210
210
|
},
|
|
211
211
|
contentType: "application/json",
|
|
212
212
|
body: await serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, {
|
|
@@ -252,7 +252,7 @@ class V4 {
|
|
|
252
252
|
Authorization: await this._getAuthorizationHeader(),
|
|
253
253
|
"X-Fern-Language": "JavaScript",
|
|
254
254
|
"X-Fern-SDK-Name": "candidhealth",
|
|
255
|
-
"X-Fern-SDK-Version": "0.4.
|
|
255
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
256
256
|
},
|
|
257
257
|
contentType: "application/json",
|
|
258
258
|
timeoutMs: 60000,
|
|
@@ -281,7 +281,7 @@ class V4 {
|
|
|
281
281
|
Authorization: await this._getAuthorizationHeader(),
|
|
282
282
|
"X-Fern-Language": "JavaScript",
|
|
283
283
|
"X-Fern-SDK-Name": "candidhealth",
|
|
284
|
-
"X-Fern-SDK-Version": "0.4.
|
|
284
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
285
285
|
},
|
|
286
286
|
contentType: "application/json",
|
|
287
287
|
timeoutMs: 60000,
|
|
@@ -313,7 +313,7 @@ class V4 {
|
|
|
313
313
|
Authorization: await this._getAuthorizationHeader(),
|
|
314
314
|
"X-Fern-Language": "JavaScript",
|
|
315
315
|
"X-Fern-SDK-Name": "candidhealth",
|
|
316
|
-
"X-Fern-SDK-Version": "0.4.
|
|
316
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
317
317
|
},
|
|
318
318
|
contentType: "application/json",
|
|
319
319
|
timeoutMs: 60000,
|
|
@@ -342,7 +342,7 @@ class V4 {
|
|
|
342
342
|
Authorization: await this._getAuthorizationHeader(),
|
|
343
343
|
"X-Fern-Language": "JavaScript",
|
|
344
344
|
"X-Fern-SDK-Name": "candidhealth",
|
|
345
|
-
"X-Fern-SDK-Version": "0.4.
|
|
345
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
346
346
|
},
|
|
347
347
|
contentType: "application/json",
|
|
348
348
|
timeoutMs: 60000,
|
|
@@ -48,7 +48,7 @@ class ExpectedNetworkStatus {
|
|
|
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.4.
|
|
51
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
|
|
@@ -48,7 +48,7 @@ class V1 {
|
|
|
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.4.
|
|
51
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.guarantor.v1.GuarantorCreate.jsonOrThrow(request, {
|
|
@@ -94,7 +94,7 @@ class V1 {
|
|
|
94
94
|
Authorization: await this._getAuthorizationHeader(),
|
|
95
95
|
"X-Fern-Language": "JavaScript",
|
|
96
96
|
"X-Fern-SDK-Name": "candidhealth",
|
|
97
|
-
"X-Fern-SDK-Version": "0.4.
|
|
97
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
98
98
|
},
|
|
99
99
|
contentType: "application/json",
|
|
100
100
|
timeoutMs: 60000,
|
|
@@ -123,7 +123,7 @@ class V1 {
|
|
|
123
123
|
Authorization: await this._getAuthorizationHeader(),
|
|
124
124
|
"X-Fern-Language": "JavaScript",
|
|
125
125
|
"X-Fern-SDK-Name": "candidhealth",
|
|
126
|
-
"X-Fern-SDK-Version": "0.4.
|
|
126
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
127
127
|
},
|
|
128
128
|
contentType: "application/json",
|
|
129
129
|
body: await serializers.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, {
|
|
@@ -49,7 +49,7 @@ class Payers {
|
|
|
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.4.
|
|
52
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -89,7 +89,7 @@ class Payers {
|
|
|
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.4.
|
|
92
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
93
93
|
},
|
|
94
94
|
contentType: "application/json",
|
|
95
95
|
queryParameters: _queryParams,
|
|
@@ -22,4 +22,5 @@ export interface ServiceLineCreate extends CandidApi.ServiceLineBase {
|
|
|
22
22
|
/** Indices (zero-indexed) of all the diagnoses this service line references */
|
|
23
23
|
diagnosisPointers: number[];
|
|
24
24
|
drugIdentification?: CandidApi.DrugIdentification;
|
|
25
|
+
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
25
26
|
}
|
|
@@ -48,7 +48,7 @@ class V3 {
|
|
|
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.4.
|
|
51
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
timeoutMs: 60000,
|
|
@@ -48,7 +48,7 @@ class V2 {
|
|
|
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.4.
|
|
51
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.auth.v2.AuthGetTokenRequest.jsonOrThrow(request, {
|
|
@@ -48,7 +48,7 @@ class BillingNotes {
|
|
|
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.4.
|
|
51
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.StandaloneBillingNoteCreate.jsonOrThrow(request, {
|
|
@@ -100,7 +100,7 @@ class V4 {
|
|
|
100
100
|
Authorization: await this._getAuthorizationHeader(),
|
|
101
101
|
"X-Fern-Language": "JavaScript",
|
|
102
102
|
"X-Fern-SDK-Name": "candidhealth",
|
|
103
|
-
"X-Fern-SDK-Version": "0.4.
|
|
103
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
104
104
|
},
|
|
105
105
|
contentType: "application/json",
|
|
106
106
|
queryParameters: _queryParams,
|
|
@@ -130,7 +130,7 @@ class V4 {
|
|
|
130
130
|
Authorization: await this._getAuthorizationHeader(),
|
|
131
131
|
"X-Fern-Language": "JavaScript",
|
|
132
132
|
"X-Fern-SDK-Name": "candidhealth",
|
|
133
|
-
"X-Fern-SDK-Version": "0.4.
|
|
133
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
134
134
|
},
|
|
135
135
|
contentType: "application/json",
|
|
136
136
|
timeoutMs: 60000,
|
|
@@ -159,7 +159,7 @@ class V4 {
|
|
|
159
159
|
Authorization: await this._getAuthorizationHeader(),
|
|
160
160
|
"X-Fern-Language": "JavaScript",
|
|
161
161
|
"X-Fern-SDK-Name": "candidhealth",
|
|
162
|
-
"X-Fern-SDK-Version": "0.4.
|
|
162
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
163
163
|
},
|
|
164
164
|
contentType: "application/json",
|
|
165
165
|
body: await serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, {
|
|
@@ -206,7 +206,7 @@ class V4 {
|
|
|
206
206
|
Authorization: await this._getAuthorizationHeader(),
|
|
207
207
|
"X-Fern-Language": "JavaScript",
|
|
208
208
|
"X-Fern-SDK-Name": "candidhealth",
|
|
209
|
-
"X-Fern-SDK-Version": "0.4.
|
|
209
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
210
210
|
},
|
|
211
211
|
contentType: "application/json",
|
|
212
212
|
body: await serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, {
|
|
@@ -252,7 +252,7 @@ class V4 {
|
|
|
252
252
|
Authorization: await this._getAuthorizationHeader(),
|
|
253
253
|
"X-Fern-Language": "JavaScript",
|
|
254
254
|
"X-Fern-SDK-Name": "candidhealth",
|
|
255
|
-
"X-Fern-SDK-Version": "0.4.
|
|
255
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
256
256
|
},
|
|
257
257
|
contentType: "application/json",
|
|
258
258
|
timeoutMs: 60000,
|
|
@@ -281,7 +281,7 @@ class V4 {
|
|
|
281
281
|
Authorization: await this._getAuthorizationHeader(),
|
|
282
282
|
"X-Fern-Language": "JavaScript",
|
|
283
283
|
"X-Fern-SDK-Name": "candidhealth",
|
|
284
|
-
"X-Fern-SDK-Version": "0.4.
|
|
284
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
285
285
|
},
|
|
286
286
|
contentType: "application/json",
|
|
287
287
|
timeoutMs: 60000,
|
|
@@ -313,7 +313,7 @@ class V4 {
|
|
|
313
313
|
Authorization: await this._getAuthorizationHeader(),
|
|
314
314
|
"X-Fern-Language": "JavaScript",
|
|
315
315
|
"X-Fern-SDK-Name": "candidhealth",
|
|
316
|
-
"X-Fern-SDK-Version": "0.4.
|
|
316
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
317
317
|
},
|
|
318
318
|
contentType: "application/json",
|
|
319
319
|
timeoutMs: 60000,
|
|
@@ -342,7 +342,7 @@ class V4 {
|
|
|
342
342
|
Authorization: await this._getAuthorizationHeader(),
|
|
343
343
|
"X-Fern-Language": "JavaScript",
|
|
344
344
|
"X-Fern-SDK-Name": "candidhealth",
|
|
345
|
-
"X-Fern-SDK-Version": "0.4.
|
|
345
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
346
346
|
},
|
|
347
347
|
contentType: "application/json",
|
|
348
348
|
timeoutMs: 60000,
|
|
@@ -48,7 +48,7 @@ class ExpectedNetworkStatus {
|
|
|
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.4.
|
|
51
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.ExpectedNetworkStatusRequest.jsonOrThrow(request, {
|
|
@@ -48,7 +48,7 @@ class V1 {
|
|
|
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.4.
|
|
51
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
body: await serializers.guarantor.v1.GuarantorCreate.jsonOrThrow(request, {
|
|
@@ -94,7 +94,7 @@ class V1 {
|
|
|
94
94
|
Authorization: await this._getAuthorizationHeader(),
|
|
95
95
|
"X-Fern-Language": "JavaScript",
|
|
96
96
|
"X-Fern-SDK-Name": "candidhealth",
|
|
97
|
-
"X-Fern-SDK-Version": "0.4.
|
|
97
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
98
98
|
},
|
|
99
99
|
contentType: "application/json",
|
|
100
100
|
timeoutMs: 60000,
|
|
@@ -123,7 +123,7 @@ class V1 {
|
|
|
123
123
|
Authorization: await this._getAuthorizationHeader(),
|
|
124
124
|
"X-Fern-Language": "JavaScript",
|
|
125
125
|
"X-Fern-SDK-Name": "candidhealth",
|
|
126
|
-
"X-Fern-SDK-Version": "0.4.
|
|
126
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
127
127
|
},
|
|
128
128
|
contentType: "application/json",
|
|
129
129
|
body: await serializers.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, {
|
|
@@ -49,7 +49,7 @@ class Payers {
|
|
|
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.4.
|
|
52
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
53
53
|
},
|
|
54
54
|
contentType: "application/json",
|
|
55
55
|
timeoutMs: 60000,
|
|
@@ -89,7 +89,7 @@ class Payers {
|
|
|
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.4.
|
|
92
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
93
93
|
},
|
|
94
94
|
contentType: "application/json",
|
|
95
95
|
queryParameters: _queryParams,
|
|
@@ -22,4 +22,5 @@ export interface ServiceLineCreate extends CandidApi.ServiceLineBase {
|
|
|
22
22
|
/** Indices (zero-indexed) of all the diagnoses this service line references */
|
|
23
23
|
diagnosisPointers: number[];
|
|
24
24
|
drugIdentification?: CandidApi.DrugIdentification;
|
|
25
|
+
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
25
26
|
}
|
|
@@ -48,7 +48,7 @@ class V3 {
|
|
|
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.4.
|
|
51
|
+
"X-Fern-SDK-Version": "0.4.2",
|
|
52
52
|
},
|
|
53
53
|
contentType: "application/json",
|
|
54
54
|
timeoutMs: 60000,
|
|
@@ -10,7 +10,7 @@ export declare namespace GuarantorBase {
|
|
|
10
10
|
first_name: string;
|
|
11
11
|
last_name: string;
|
|
12
12
|
external_id: string;
|
|
13
|
-
date_of_birth
|
|
14
|
-
address
|
|
13
|
+
date_of_birth?: string | null;
|
|
14
|
+
address?: serializers.StreetAddressShortZip.Raw | null;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -32,6 +32,8 @@ exports.GuarantorBase = core.serialization.object({
|
|
|
32
32
|
firstName: core.serialization.property("first_name", core.serialization.string()),
|
|
33
33
|
lastName: core.serialization.property("last_name", core.serialization.string()),
|
|
34
34
|
externalId: core.serialization.property("external_id", core.serialization.string()),
|
|
35
|
-
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string()),
|
|
36
|
-
address: core.serialization
|
|
35
|
+
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string().optional()),
|
|
36
|
+
address: core.serialization
|
|
37
|
+
.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).StreetAddressShortZip)
|
|
38
|
+
.optional(),
|
|
37
39
|
});
|
|
@@ -36,5 +36,6 @@ exports.ServiceLineCreate = core.serialization
|
|
|
36
36
|
chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
|
|
37
37
|
diagnosisPointers: core.serialization.property("diagnosis_pointers", core.serialization.list(core.serialization.number())),
|
|
38
38
|
drugIdentification: core.serialization.property("drug_identification", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).DrugIdentification).optional()),
|
|
39
|
+
placeOfServiceCode: core.serialization.property("place_of_service_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).FacilityTypeCode).optional()),
|
|
39
40
|
})
|
|
40
41
|
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ServiceLineBase));
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@ export declare namespace GuarantorBase {
|
|
|
10
10
|
first_name: string;
|
|
11
11
|
last_name: string;
|
|
12
12
|
external_id: string;
|
|
13
|
-
date_of_birth
|
|
14
|
-
address
|
|
13
|
+
date_of_birth?: string | null;
|
|
14
|
+
address?: serializers.StreetAddressShortZip.Raw | null;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -32,6 +32,8 @@ exports.GuarantorBase = core.serialization.object({
|
|
|
32
32
|
firstName: core.serialization.property("first_name", core.serialization.string()),
|
|
33
33
|
lastName: core.serialization.property("last_name", core.serialization.string()),
|
|
34
34
|
externalId: core.serialization.property("external_id", core.serialization.string()),
|
|
35
|
-
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string()),
|
|
36
|
-
address: core.serialization
|
|
35
|
+
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string().optional()),
|
|
36
|
+
address: core.serialization
|
|
37
|
+
.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).StreetAddressShortZip)
|
|
38
|
+
.optional(),
|
|
37
39
|
});
|
|
@@ -36,5 +36,6 @@ exports.ServiceLineCreate = core.serialization
|
|
|
36
36
|
chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
|
|
37
37
|
diagnosisPointers: core.serialization.property("diagnosis_pointers", core.serialization.list(core.serialization.number())),
|
|
38
38
|
drugIdentification: core.serialization.property("drug_identification", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).DrugIdentification).optional()),
|
|
39
|
+
placeOfServiceCode: core.serialization.property("place_of_service_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).FacilityTypeCode).optional()),
|
|
39
40
|
})
|
|
40
41
|
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ServiceLineBase));
|