candidhealth 0.24.4 → 0.24.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 (88) 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/commons/types/ProcedureModifier.d.ts +4 -0
  4. package/api/resources/commons/types/ProcedureModifier.js +1 -0
  5. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  6. package/api/resources/customSchemas/resources/v1/client/Client.d.ts +19 -10
  7. package/api/resources/customSchemas/resources/v1/client/Client.js +23 -14
  8. package/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +12 -3
  9. package/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +4 -4
  10. package/api/resources/customSchemas/resources/v1/types/Schema.d.ts +44 -0
  11. package/api/resources/customSchemas/resources/v1/types/SchemaField.d.ts +31 -0
  12. package/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +23 -0
  13. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  14. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  15. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  16. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  17. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  18. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  19. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  20. package/api/resources/financials/types/AccountType.d.ts +2 -1
  21. package/api/resources/financials/types/AccountType.js +1 -0
  22. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  23. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  24. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  25. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  26. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  27. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  28. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  29. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  30. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  31. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  32. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +6 -6
  33. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +7 -7
  34. package/api/resources/serviceFacility/client/Client.js +1 -1
  35. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
  36. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  37. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  38. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  39. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  40. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +4 -0
  41. package/dist/api/resources/commons/types/ProcedureModifier.js +1 -0
  42. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  43. package/dist/api/resources/customSchemas/resources/v1/client/Client.d.ts +19 -10
  44. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +23 -14
  45. package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +12 -3
  46. package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +4 -4
  47. package/dist/api/resources/customSchemas/resources/v1/types/Schema.d.ts +44 -0
  48. package/dist/api/resources/customSchemas/resources/v1/types/SchemaField.d.ts +31 -0
  49. package/dist/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +23 -0
  50. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  51. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  52. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  53. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  54. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  55. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  56. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  57. package/dist/api/resources/financials/types/AccountType.d.ts +2 -1
  58. package/dist/api/resources/financials/types/AccountType.js +1 -0
  59. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  60. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  61. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  62. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  63. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  64. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  65. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  66. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  67. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  68. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  69. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +6 -6
  70. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +7 -7
  71. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  72. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
  73. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  74. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  75. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  76. package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  77. package/dist/serialization/resources/financials/types/AccountType.d.ts +1 -1
  78. package/dist/serialization/resources/financials/types/AccountType.js +1 -1
  79. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
  80. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +3 -0
  81. package/package.json +1 -1
  82. package/reference.md +22 -10
  83. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  84. package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  85. package/serialization/resources/financials/types/AccountType.d.ts +1 -1
  86. package/serialization/resources/financials/types/AccountType.js +1 -1
  87. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
  88. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +3 -0
@@ -87,7 +87,7 @@ class V2 {
87
87
  Authorization: yield this._getAuthorizationHeader(),
88
88
  "X-Fern-Language": "JavaScript",
89
89
  "X-Fern-SDK-Name": "candidhealth",
90
- "X-Fern-SDK-Version": "0.24.4",
90
+ "X-Fern-SDK-Version": "0.24.5",
91
91
  "X-Fern-Runtime": core.RUNTIME.type,
92
92
  "X-Fern-Runtime-Version": core.RUNTIME.version,
93
93
  },
@@ -69,7 +69,7 @@ class V2 {
69
69
  Authorization: yield this._getAuthorizationHeader(),
70
70
  "X-Fern-Language": "JavaScript",
71
71
  "X-Fern-SDK-Name": "candidhealth",
72
- "X-Fern-SDK-Version": "0.24.4",
72
+ "X-Fern-SDK-Version": "0.24.5",
73
73
  "X-Fern-Runtime": core.RUNTIME.type,
74
74
  "X-Fern-Runtime-Version": core.RUNTIME.version,
75
75
  },
@@ -272,6 +272,9 @@ export declare type ProcedureModifier =
272
272
  /**
273
273
  * Outpatient physical therapy services furnished in whole or in part by a physical therapist assistant */
274
274
  | "CQ"
275
+ /**
276
+ * Oral health assessment by a licensed health professional other than a dentist */
277
+ | "DA"
275
278
  /**
276
279
  * Upper left, eyelid */
277
280
  | "E1"
@@ -1254,6 +1257,7 @@ export declare const ProcedureModifier: {
1254
1257
  readonly Ct: "CT";
1255
1258
  readonly Co: "CO";
1256
1259
  readonly Cq: "CQ";
1260
+ readonly Da: "DA";
1257
1261
  readonly E1: "E1";
1258
1262
  readonly E2: "E2";
1259
1263
  readonly E3: "E3";
@@ -95,6 +95,7 @@ exports.ProcedureModifier = {
95
95
  Ct: "CT",
96
96
  Co: "CO",
97
97
  Cq: "CQ",
98
+ Da: "DA",
98
99
  E1: "E1",
99
100
  E2: "E2",
100
101
  E3: "E3",
@@ -66,7 +66,7 @@ class V2 {
66
66
  Authorization: yield this._getAuthorizationHeader(),
67
67
  "X-Fern-Language": "JavaScript",
68
68
  "X-Fern-SDK-Name": "candidhealth",
69
- "X-Fern-SDK-Version": "0.24.4",
69
+ "X-Fern-SDK-Version": "0.24.5",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -171,7 +171,7 @@ class V2 {
171
171
  Authorization: yield this._getAuthorizationHeader(),
172
172
  "X-Fern-Language": "JavaScript",
173
173
  "X-Fern-SDK-Name": "candidhealth",
174
- "X-Fern-SDK-Version": "0.24.4",
174
+ "X-Fern-SDK-Version": "0.24.5",
175
175
  "X-Fern-Runtime": core.RUNTIME.type,
176
176
  "X-Fern-Runtime-Version": core.RUNTIME.version,
177
177
  },
@@ -239,7 +239,7 @@ class V2 {
239
239
  Authorization: yield this._getAuthorizationHeader(),
240
240
  "X-Fern-Language": "JavaScript",
241
241
  "X-Fern-SDK-Name": "candidhealth",
242
- "X-Fern-SDK-Version": "0.24.4",
242
+ "X-Fern-SDK-Version": "0.24.5",
243
243
  "X-Fern-Runtime": core.RUNTIME.type,
244
244
  "X-Fern-Runtime-Version": core.RUNTIME.version,
245
245
  },
@@ -285,7 +285,7 @@ class V2 {
285
285
  Authorization: yield this._getAuthorizationHeader(),
286
286
  "X-Fern-Language": "JavaScript",
287
287
  "X-Fern-SDK-Name": "candidhealth",
288
- "X-Fern-SDK-Version": "0.24.4",
288
+ "X-Fern-SDK-Version": "0.24.5",
289
289
  "X-Fern-Runtime": core.RUNTIME.type,
290
290
  "X-Fern-Runtime-Version": core.RUNTIME.version,
291
291
  },
@@ -373,7 +373,7 @@ class V2 {
373
373
  Authorization: yield this._getAuthorizationHeader(),
374
374
  "X-Fern-Language": "JavaScript",
375
375
  "X-Fern-SDK-Name": "candidhealth",
376
- "X-Fern-SDK-Version": "0.24.4",
376
+ "X-Fern-SDK-Version": "0.24.5",
377
377
  "X-Fern-Runtime": core.RUNTIME.type,
378
378
  "X-Fern-Runtime-Version": core.RUNTIME.version,
379
379
  },
@@ -37,11 +37,11 @@ export declare class V1 {
37
37
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
38
38
  *
39
39
  * @example
40
- * await client.customSchemas.v1.get(CandidApi.SchemaId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
40
+ * await client.customSchemas.v1.get(CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"))
41
41
  */
42
42
  get(schemaId: CandidApi.SchemaId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.customSchemas.v1.Schema, CandidApi.customSchemas.v1.get.Error>>;
43
43
  /**
44
- * Create a custom schema. Schema keys can be referenced as inputs in user-configurable rules in the Rules
44
+ * Create custom schema with a set of typed keys. Schema keys can be referenced as inputs in user-configurable rules in the Rules
45
45
  * Engine, and key-value pairs can be attached to claims via the Encounters API.
46
46
  *
47
47
  * @param {CandidApi.customSchemas.v1.SchemaCreate} request
@@ -49,11 +49,20 @@ export declare class V1 {
49
49
  *
50
50
  * @example
51
51
  * await client.customSchemas.v1.create({
52
- * name: "string",
53
- * description: "string",
52
+ * name: "General Medicine",
53
+ * description: "Values associated with a generic visit",
54
54
  * fields: [{
55
- * key: "string",
55
+ * key: "provider_category",
56
+ * type: CandidApi.Primitive.String
57
+ * }, {
58
+ * key: "is_urgent_care",
56
59
  * type: CandidApi.Primitive.Boolean
60
+ * }, {
61
+ * key: "bmi",
62
+ * type: CandidApi.Primitive.Double
63
+ * }, {
64
+ * key: "age",
65
+ * type: CandidApi.Primitive.Integer
57
66
  * }]
58
67
  * })
59
68
  */
@@ -66,12 +75,12 @@ export declare class V1 {
66
75
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
67
76
  *
68
77
  * @example
69
- * await client.customSchemas.v1.update(CandidApi.SchemaId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
70
- * name: "string",
71
- * description: "string",
78
+ * await client.customSchemas.v1.update(CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"), {
79
+ * name: "General Medicine and Health",
80
+ * description: "Values collected during all visits",
72
81
  * fieldsToAdd: [{
73
- * key: "string",
74
- * type: CandidApi.Primitive.Boolean
82
+ * key: "visit_type",
83
+ * type: CandidApi.Primitive.String
75
84
  * }]
76
85
  * })
77
86
  */
@@ -67,7 +67,7 @@ class V1 {
67
67
  Authorization: yield this._getAuthorizationHeader(),
68
68
  "X-Fern-Language": "JavaScript",
69
69
  "X-Fern-SDK-Name": "candidhealth",
70
- "X-Fern-SDK-Version": "0.24.4",
70
+ "X-Fern-SDK-Version": "0.24.5",
71
71
  "X-Fern-Runtime": core.RUNTIME.type,
72
72
  "X-Fern-Runtime-Version": core.RUNTIME.version,
73
73
  },
@@ -115,7 +115,7 @@ class V1 {
115
115
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
116
116
  *
117
117
  * @example
118
- * await client.customSchemas.v1.get(CandidApi.SchemaId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
118
+ * await client.customSchemas.v1.get(CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"))
119
119
  */
120
120
  get(schemaId, requestOptions) {
121
121
  var _a, _b;
@@ -128,7 +128,7 @@ class V1 {
128
128
  Authorization: yield this._getAuthorizationHeader(),
129
129
  "X-Fern-Language": "JavaScript",
130
130
  "X-Fern-SDK-Name": "candidhealth",
131
- "X-Fern-SDK-Version": "0.24.4",
131
+ "X-Fern-SDK-Version": "0.24.5",
132
132
  "X-Fern-Runtime": core.RUNTIME.type,
133
133
  "X-Fern-Runtime-Version": core.RUNTIME.version,
134
134
  },
@@ -171,7 +171,7 @@ class V1 {
171
171
  });
172
172
  }
173
173
  /**
174
- * Create a custom schema. Schema keys can be referenced as inputs in user-configurable rules in the Rules
174
+ * Create custom schema with a set of typed keys. Schema keys can be referenced as inputs in user-configurable rules in the Rules
175
175
  * Engine, and key-value pairs can be attached to claims via the Encounters API.
176
176
  *
177
177
  * @param {CandidApi.customSchemas.v1.SchemaCreate} request
@@ -179,11 +179,20 @@ class V1 {
179
179
  *
180
180
  * @example
181
181
  * await client.customSchemas.v1.create({
182
- * name: "string",
183
- * description: "string",
182
+ * name: "General Medicine",
183
+ * description: "Values associated with a generic visit",
184
184
  * fields: [{
185
- * key: "string",
185
+ * key: "provider_category",
186
+ * type: CandidApi.Primitive.String
187
+ * }, {
188
+ * key: "is_urgent_care",
186
189
  * type: CandidApi.Primitive.Boolean
190
+ * }, {
191
+ * key: "bmi",
192
+ * type: CandidApi.Primitive.Double
193
+ * }, {
194
+ * key: "age",
195
+ * type: CandidApi.Primitive.Integer
187
196
  * }]
188
197
  * })
189
198
  */
@@ -198,7 +207,7 @@ class V1 {
198
207
  Authorization: yield this._getAuthorizationHeader(),
199
208
  "X-Fern-Language": "JavaScript",
200
209
  "X-Fern-SDK-Name": "candidhealth",
201
- "X-Fern-SDK-Version": "0.24.4",
210
+ "X-Fern-SDK-Version": "0.24.5",
202
211
  "X-Fern-Runtime": core.RUNTIME.type,
203
212
  "X-Fern-Runtime-Version": core.RUNTIME.version,
204
213
  },
@@ -248,12 +257,12 @@ class V1 {
248
257
  * @param {V1.RequestOptions} requestOptions - Request-specific configuration.
249
258
  *
250
259
  * @example
251
- * await client.customSchemas.v1.update(CandidApi.SchemaId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
252
- * name: "string",
253
- * description: "string",
260
+ * await client.customSchemas.v1.update(CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"), {
261
+ * name: "General Medicine and Health",
262
+ * description: "Values collected during all visits",
254
263
  * fieldsToAdd: [{
255
- * key: "string",
256
- * type: CandidApi.Primitive.Boolean
264
+ * key: "visit_type",
265
+ * type: CandidApi.Primitive.String
257
266
  * }]
258
267
  * })
259
268
  */
@@ -268,7 +277,7 @@ class V1 {
268
277
  Authorization: yield this._getAuthorizationHeader(),
269
278
  "X-Fern-Language": "JavaScript",
270
279
  "X-Fern-SDK-Name": "candidhealth",
271
- "X-Fern-SDK-Version": "0.24.4",
280
+ "X-Fern-SDK-Version": "0.24.5",
272
281
  "X-Fern-Runtime": core.RUNTIME.type,
273
282
  "X-Fern-Runtime-Version": core.RUNTIME.version,
274
283
  },
@@ -5,11 +5,20 @@ import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
7
  * {
8
- * name: "string",
9
- * description: "string",
8
+ * name: "General Medicine",
9
+ * description: "Values associated with a generic visit",
10
10
  * fields: [{
11
- * key: "string",
11
+ * key: "provider_category",
12
+ * type: CandidApi.Primitive.String
13
+ * }, {
14
+ * key: "is_urgent_care",
12
15
  * type: CandidApi.Primitive.Boolean
16
+ * }, {
17
+ * key: "bmi",
18
+ * type: CandidApi.Primitive.Double
19
+ * }, {
20
+ * key: "age",
21
+ * type: CandidApi.Primitive.Integer
13
22
  * }]
14
23
  * }
15
24
  */
@@ -5,11 +5,11 @@ import * as CandidApi from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
7
  * {
8
- * name: "string",
9
- * description: "string",
8
+ * name: "General Medicine and Health",
9
+ * description: "Values collected during all visits",
10
10
  * fieldsToAdd: [{
11
- * key: "string",
12
- * type: CandidApi.Primitive.Boolean
11
+ * key: "visit_type",
12
+ * type: CandidApi.Primitive.String
13
13
  * }]
14
14
  * }
15
15
  */
@@ -2,6 +2,50 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as CandidApi from "../../../../../index";
5
+ /**
6
+ * @example
7
+ * {
8
+ * id: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
9
+ * name: "General Medicine",
10
+ * description: "Values associated with a generic visit",
11
+ * fields: [{
12
+ * key: "provider_category",
13
+ * type: CandidApi.Primitive.String
14
+ * }, {
15
+ * key: "is_urgent_care",
16
+ * type: CandidApi.Primitive.Boolean
17
+ * }, {
18
+ * key: "bmi",
19
+ * type: CandidApi.Primitive.Double
20
+ * }, {
21
+ * key: "age",
22
+ * type: CandidApi.Primitive.Integer
23
+ * }]
24
+ * }
25
+ *
26
+ * @example
27
+ * {
28
+ * id: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
29
+ * name: "General Medicine and Health",
30
+ * description: "Values collected during all visits",
31
+ * fields: [{
32
+ * key: "provider_category",
33
+ * type: CandidApi.Primitive.String
34
+ * }, {
35
+ * key: "is_urgent_care",
36
+ * type: CandidApi.Primitive.Boolean
37
+ * }, {
38
+ * key: "bmi",
39
+ * type: CandidApi.Primitive.Double
40
+ * }, {
41
+ * key: "age",
42
+ * type: CandidApi.Primitive.Integer
43
+ * }, {
44
+ * key: "visit_type",
45
+ * type: CandidApi.Primitive.String
46
+ * }]
47
+ * }
48
+ */
5
49
  export interface Schema {
6
50
  id: CandidApi.SchemaId;
7
51
  name: string;
@@ -2,6 +2,37 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as CandidApi from "../../../../../index";
5
+ /**
6
+ * @example
7
+ * {
8
+ * key: "provider_category",
9
+ * type: CandidApi.Primitive.String
10
+ * }
11
+ *
12
+ * @example
13
+ * {
14
+ * key: "visit_type",
15
+ * type: CandidApi.Primitive.String
16
+ * }
17
+ *
18
+ * @example
19
+ * {
20
+ * key: "is_urgent_care",
21
+ * type: CandidApi.Primitive.Boolean
22
+ * }
23
+ *
24
+ * @example
25
+ * {
26
+ * key: "bmi",
27
+ * type: CandidApi.Primitive.Double
28
+ * }
29
+ *
30
+ * @example
31
+ * {
32
+ * key: "age",
33
+ * type: CandidApi.Primitive.Integer
34
+ * }
35
+ */
5
36
  export interface SchemaField {
6
37
  key: string;
7
38
  type: CandidApi.Primitive;
@@ -2,6 +2,29 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as CandidApi from "../../../../../index";
5
+ /**
6
+ * @example
7
+ * {
8
+ * schemas: [{
9
+ * id: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
10
+ * name: "General Medicine",
11
+ * description: "Values associated with a generic visit",
12
+ * fields: [{
13
+ * key: "provider_category",
14
+ * type: CandidApi.Primitive.String
15
+ * }, {
16
+ * key: "is_urgent_care",
17
+ * type: CandidApi.Primitive.Boolean
18
+ * }, {
19
+ * key: "bmi",
20
+ * type: CandidApi.Primitive.Double
21
+ * }, {
22
+ * key: "age",
23
+ * type: CandidApi.Primitive.Integer
24
+ * }]
25
+ * }]
26
+ * }
27
+ */
5
28
  export interface SchemaGetMultiResponse {
6
29
  schemas: CandidApi.customSchemas.v1.Schema[];
7
30
  }
@@ -83,7 +83,7 @@ class V2 {
83
83
  Authorization: yield this._getAuthorizationHeader(),
84
84
  "X-Fern-Language": "JavaScript",
85
85
  "X-Fern-SDK-Name": "candidhealth",
86
- "X-Fern-SDK-Version": "0.24.4",
86
+ "X-Fern-SDK-Version": "0.24.5",
87
87
  "X-Fern-Runtime": core.RUNTIME.type,
88
88
  "X-Fern-Runtime-Version": core.RUNTIME.version,
89
89
  },
@@ -156,7 +156,7 @@ class V2 {
156
156
  Authorization: yield this._getAuthorizationHeader(),
157
157
  "X-Fern-Language": "JavaScript",
158
158
  "X-Fern-SDK-Name": "candidhealth",
159
- "X-Fern-SDK-Version": "0.24.4",
159
+ "X-Fern-SDK-Version": "0.24.5",
160
160
  "X-Fern-Runtime": core.RUNTIME.type,
161
161
  "X-Fern-Runtime-Version": core.RUNTIME.version,
162
162
  },
@@ -227,7 +227,7 @@ class V2 {
227
227
  Authorization: yield this._getAuthorizationHeader(),
228
228
  "X-Fern-Language": "JavaScript",
229
229
  "X-Fern-SDK-Name": "candidhealth",
230
- "X-Fern-SDK-Version": "0.24.4",
230
+ "X-Fern-SDK-Version": "0.24.5",
231
231
  "X-Fern-Runtime": core.RUNTIME.type,
232
232
  "X-Fern-Runtime-Version": core.RUNTIME.version,
233
233
  },
@@ -132,7 +132,7 @@ class V4 {
132
132
  Authorization: yield this._getAuthorizationHeader(),
133
133
  "X-Fern-Language": "JavaScript",
134
134
  "X-Fern-SDK-Name": "candidhealth",
135
- "X-Fern-SDK-Version": "0.24.4",
135
+ "X-Fern-SDK-Version": "0.24.5",
136
136
  "X-Fern-Runtime": core.RUNTIME.type,
137
137
  "X-Fern-Runtime-Version": core.RUNTIME.version,
138
138
  },
@@ -178,7 +178,7 @@ class V4 {
178
178
  Authorization: yield this._getAuthorizationHeader(),
179
179
  "X-Fern-Language": "JavaScript",
180
180
  "X-Fern-SDK-Name": "candidhealth",
181
- "X-Fern-SDK-Version": "0.24.4",
181
+ "X-Fern-SDK-Version": "0.24.5",
182
182
  "X-Fern-Runtime": core.RUNTIME.type,
183
183
  "X-Fern-Runtime-Version": core.RUNTIME.version,
184
184
  },
@@ -600,7 +600,7 @@ class V4 {
600
600
  Authorization: yield this._getAuthorizationHeader(),
601
601
  "X-Fern-Language": "JavaScript",
602
602
  "X-Fern-SDK-Name": "candidhealth",
603
- "X-Fern-SDK-Version": "0.24.4",
603
+ "X-Fern-SDK-Version": "0.24.5",
604
604
  "X-Fern-Runtime": core.RUNTIME.type,
605
605
  "X-Fern-Runtime-Version": core.RUNTIME.version,
606
606
  },
@@ -769,7 +769,7 @@ class V4 {
769
769
  Authorization: yield this._getAuthorizationHeader(),
770
770
  "X-Fern-Language": "JavaScript",
771
771
  "X-Fern-SDK-Name": "candidhealth",
772
- "X-Fern-SDK-Version": "0.24.4",
772
+ "X-Fern-SDK-Version": "0.24.5",
773
773
  "X-Fern-Runtime": core.RUNTIME.type,
774
774
  "X-Fern-Runtime-Version": core.RUNTIME.version,
775
775
  },
@@ -79,7 +79,7 @@ class V1 {
79
79
  Authorization: yield this._getAuthorizationHeader(),
80
80
  "X-Fern-Language": "JavaScript",
81
81
  "X-Fern-SDK-Name": "candidhealth",
82
- "X-Fern-SDK-Version": "0.24.4",
82
+ "X-Fern-SDK-Version": "0.24.5",
83
83
  "X-Fern-Runtime": core.RUNTIME.type,
84
84
  "X-Fern-Runtime-Version": core.RUNTIME.version,
85
85
  },
@@ -86,7 +86,7 @@ class V2 {
86
86
  Authorization: yield this._getAuthorizationHeader(),
87
87
  "X-Fern-Language": "JavaScript",
88
88
  "X-Fern-SDK-Name": "candidhealth",
89
- "X-Fern-SDK-Version": "0.24.4",
89
+ "X-Fern-SDK-Version": "0.24.5",
90
90
  "X-Fern-Runtime": core.RUNTIME.type,
91
91
  "X-Fern-Runtime-Version": core.RUNTIME.version,
92
92
  },
@@ -169,7 +169,7 @@ class V2 {
169
169
  Authorization: yield this._getAuthorizationHeader(),
170
170
  "X-Fern-Language": "JavaScript",
171
171
  "X-Fern-SDK-Name": "candidhealth",
172
- "X-Fern-SDK-Version": "0.24.4",
172
+ "X-Fern-SDK-Version": "0.24.5",
173
173
  "X-Fern-Runtime": core.RUNTIME.type,
174
174
  "X-Fern-Runtime-Version": core.RUNTIME.version,
175
175
  },
@@ -86,7 +86,7 @@ class V3 {
86
86
  Authorization: yield this._getAuthorizationHeader(),
87
87
  "X-Fern-Language": "JavaScript",
88
88
  "X-Fern-SDK-Name": "candidhealth",
89
- "X-Fern-SDK-Version": "0.24.4",
89
+ "X-Fern-SDK-Version": "0.24.5",
90
90
  "X-Fern-Runtime": core.RUNTIME.type,
91
91
  "X-Fern-Runtime-Version": core.RUNTIME.version,
92
92
  },
@@ -82,7 +82,7 @@ class V1 {
82
82
  Authorization: yield this._getAuthorizationHeader(),
83
83
  "X-Fern-Language": "JavaScript",
84
84
  "X-Fern-SDK-Name": "candidhealth",
85
- "X-Fern-SDK-Version": "0.24.4",
85
+ "X-Fern-SDK-Version": "0.24.5",
86
86
  "X-Fern-Runtime": core.RUNTIME.type,
87
87
  "X-Fern-Runtime-Version": core.RUNTIME.version,
88
88
  },
@@ -68,7 +68,7 @@ class V3 {
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.24.4",
71
+ "X-Fern-SDK-Version": "0.24.5",
72
72
  "X-Fern-Runtime": core.RUNTIME.type,
73
73
  "X-Fern-Runtime-Version": core.RUNTIME.version,
74
74
  },
@@ -131,7 +131,7 @@ class V3 {
131
131
  Authorization: yield this._getAuthorizationHeader(),
132
132
  "X-Fern-Language": "JavaScript",
133
133
  "X-Fern-SDK-Name": "candidhealth",
134
- "X-Fern-SDK-Version": "0.24.4",
134
+ "X-Fern-SDK-Version": "0.24.5",
135
135
  "X-Fern-Runtime": core.RUNTIME.type,
136
136
  "X-Fern-Runtime-Version": core.RUNTIME.version,
137
137
  },
@@ -274,7 +274,7 @@ class V3 {
274
274
  Authorization: yield this._getAuthorizationHeader(),
275
275
  "X-Fern-Language": "JavaScript",
276
276
  "X-Fern-SDK-Name": "candidhealth",
277
- "X-Fern-SDK-Version": "0.24.4",
277
+ "X-Fern-SDK-Version": "0.24.5",
278
278
  "X-Fern-Runtime": core.RUNTIME.type,
279
279
  "X-Fern-Runtime-Version": core.RUNTIME.version,
280
280
  },
@@ -401,7 +401,7 @@ class V3 {
401
401
  Authorization: yield this._getAuthorizationHeader(),
402
402
  "X-Fern-Language": "JavaScript",
403
403
  "X-Fern-SDK-Name": "candidhealth",
404
- "X-Fern-SDK-Version": "0.24.4",
404
+ "X-Fern-SDK-Version": "0.24.5",
405
405
  "X-Fern-Runtime": core.RUNTIME.type,
406
406
  "X-Fern-Runtime-Version": core.RUNTIME.version,
407
407
  },
@@ -449,7 +449,7 @@ class V3 {
449
449
  Authorization: yield this._getAuthorizationHeader(),
450
450
  "X-Fern-Language": "JavaScript",
451
451
  "X-Fern-SDK-Name": "candidhealth",
452
- "X-Fern-SDK-Version": "0.24.4",
452
+ "X-Fern-SDK-Version": "0.24.5",
453
453
  "X-Fern-Runtime": core.RUNTIME.type,
454
454
  "X-Fern-Runtime-Version": core.RUNTIME.version,
455
455
  },
@@ -531,7 +531,7 @@ class V3 {
531
531
  Authorization: yield this._getAuthorizationHeader(),
532
532
  "X-Fern-Language": "JavaScript",
533
533
  "X-Fern-SDK-Name": "candidhealth",
534
- "X-Fern-SDK-Version": "0.24.4",
534
+ "X-Fern-SDK-Version": "0.24.5",
535
535
  "X-Fern-Runtime": core.RUNTIME.type,
536
536
  "X-Fern-Runtime-Version": core.RUNTIME.version,
537
537
  },
@@ -596,7 +596,7 @@ class V3 {
596
596
  Authorization: yield this._getAuthorizationHeader(),
597
597
  "X-Fern-Language": "JavaScript",
598
598
  "X-Fern-SDK-Name": "candidhealth",
599
- "X-Fern-SDK-Version": "0.24.4",
599
+ "X-Fern-SDK-Version": "0.24.5",
600
600
  "X-Fern-Runtime": core.RUNTIME.type,
601
601
  "X-Fern-Runtime-Version": core.RUNTIME.version,
602
602
  },
@@ -652,7 +652,7 @@ class V3 {
652
652
  Authorization: yield this._getAuthorizationHeader(),
653
653
  "X-Fern-Language": "JavaScript",
654
654
  "X-Fern-SDK-Name": "candidhealth",
655
- "X-Fern-SDK-Version": "0.24.4",
655
+ "X-Fern-SDK-Version": "0.24.5",
656
656
  "X-Fern-Runtime": core.RUNTIME.type,
657
657
  "X-Fern-Runtime-Version": core.RUNTIME.version,
658
658
  },
@@ -709,7 +709,7 @@ class V3 {
709
709
  Authorization: yield this._getAuthorizationHeader(),
710
710
  "X-Fern-Language": "JavaScript",
711
711
  "X-Fern-SDK-Name": "candidhealth",
712
- "X-Fern-SDK-Version": "0.24.4",
712
+ "X-Fern-SDK-Version": "0.24.5",
713
713
  "X-Fern-Runtime": core.RUNTIME.type,
714
714
  "X-Fern-Runtime-Version": core.RUNTIME.version,
715
715
  },
@@ -762,7 +762,7 @@ class V3 {
762
762
  Authorization: yield this._getAuthorizationHeader(),
763
763
  "X-Fern-Language": "JavaScript",
764
764
  "X-Fern-SDK-Name": "candidhealth",
765
- "X-Fern-SDK-Version": "0.24.4",
765
+ "X-Fern-SDK-Version": "0.24.5",
766
766
  "X-Fern-Runtime": core.RUNTIME.type,
767
767
  "X-Fern-Runtime-Version": core.RUNTIME.version,
768
768
  },
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type AccountType = "PATIENT" | "INSURANCE";
4
+ export declare type AccountType = "PATIENT" | "INSURANCE" | "THIRD_PARTY_PAYER";
5
5
  export declare const AccountType: {
6
6
  readonly Patient: "PATIENT";
7
7
  readonly Insurance: "INSURANCE";
8
+ readonly ThirdPartyPayer: "THIRD_PARTY_PAYER";
8
9
  };
@@ -7,4 +7,5 @@ exports.AccountType = void 0;
7
7
  exports.AccountType = {
8
8
  Patient: "PATIENT",
9
9
  Insurance: "INSURANCE",
10
+ ThirdPartyPayer: "THIRD_PARTY_PAYER",
10
11
  };