candidhealth 0.4.0 → 0.4.1

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.
@@ -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.0",
51
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
51
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
103
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
133
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
162
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
209
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
255
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
284
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
316
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
345
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
51
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
51
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
97
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
126
+ "X-Fern-SDK-Version": "0.4.1",
127
127
  },
128
128
  contentType: "application/json",
129
129
  body: await serializers.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, {
@@ -6,6 +6,6 @@ export interface GuarantorBase {
6
6
  firstName: string;
7
7
  lastName: string;
8
8
  externalId: string;
9
- dateOfBirth: string;
10
- address: CandidApi.StreetAddressShortZip;
9
+ dateOfBirth?: string;
10
+ address?: CandidApi.StreetAddressShortZip;
11
11
  }
@@ -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.0",
52
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
92
+ "X-Fern-SDK-Version": "0.4.1",
93
93
  },
94
94
  contentType: "application/json",
95
95
  queryParameters: _queryParams,
@@ -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.0",
51
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
51
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
51
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
103
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
133
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
162
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
209
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
255
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
284
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
316
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
345
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
51
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
51
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
97
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
126
+ "X-Fern-SDK-Version": "0.4.1",
127
127
  },
128
128
  contentType: "application/json",
129
129
  body: await serializers.guarantor.v1.GuarantorUpdate.jsonOrThrow(request, {
@@ -6,6 +6,6 @@ export interface GuarantorBase {
6
6
  firstName: string;
7
7
  lastName: string;
8
8
  externalId: string;
9
- dateOfBirth: string;
10
- address: CandidApi.StreetAddressShortZip;
9
+ dateOfBirth?: string;
10
+ address?: CandidApi.StreetAddressShortZip;
11
11
  }
@@ -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.0",
52
+ "X-Fern-SDK-Version": "0.4.1",
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.0",
92
+ "X-Fern-SDK-Version": "0.4.1",
93
93
  },
94
94
  contentType: "application/json",
95
95
  queryParameters: _queryParams,
@@ -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.0",
51
+ "X-Fern-SDK-Version": "0.4.1",
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: string;
14
- address: serializers.StreetAddressShortZip.Raw;
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.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).StreetAddressShortZip),
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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "candidhealth",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "private": false,
5
5
  "repository": "https://github.com/candidhealth/candid-node",
6
6
  "main": "./index.js",
@@ -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: string;
14
- address: serializers.StreetAddressShortZip.Raw;
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.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).StreetAddressShortZip),
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
  });