candidhealth 0.24.4 → 0.24.7

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 (174) 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/{patients/resources/v1 → common}/types/ExternalProvider.d.ts +3 -2
  33. package/api/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +8 -0
  34. package/api/resources/preEncounter/resources/common/types/ExternalProviderType.js +10 -0
  35. package/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  36. package/api/resources/preEncounter/resources/common/types/index.js +2 -0
  37. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +6 -4
  38. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +12 -10
  39. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -1
  40. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +289 -0
  41. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +78 -0
  42. package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +21 -1
  43. package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
  44. package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  45. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
  46. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
  47. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +2 -16
  48. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -23
  49. package/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -1
  50. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -4
  51. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
  52. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
  53. package/api/resources/serviceFacility/client/Client.js +1 -1
  54. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
  55. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  56. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  57. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  58. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  59. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +4 -0
  60. package/dist/api/resources/commons/types/ProcedureModifier.js +1 -0
  61. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  62. package/dist/api/resources/customSchemas/resources/v1/client/Client.d.ts +19 -10
  63. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +23 -14
  64. package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +12 -3
  65. package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +4 -4
  66. package/dist/api/resources/customSchemas/resources/v1/types/Schema.d.ts +44 -0
  67. package/dist/api/resources/customSchemas/resources/v1/types/SchemaField.d.ts +31 -0
  68. package/dist/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +23 -0
  69. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  70. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  71. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  72. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  73. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  74. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  75. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  76. package/dist/api/resources/financials/types/AccountType.d.ts +2 -1
  77. package/dist/api/resources/financials/types/AccountType.js +1 -0
  78. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  79. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  80. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  81. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  82. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  83. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  84. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  85. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  86. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  87. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  88. package/dist/api/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.d.ts +3 -2
  89. package/dist/api/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +8 -0
  90. package/dist/api/resources/preEncounter/resources/common/types/ExternalProviderType.js +10 -0
  91. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  92. package/dist/api/resources/preEncounter/resources/common/types/index.js +2 -0
  93. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +6 -4
  94. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +12 -10
  95. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -1
  96. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +289 -0
  97. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +78 -0
  98. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +21 -1
  99. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
  100. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  101. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
  102. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
  103. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +2 -16
  104. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -23
  105. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -1
  106. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -4
  107. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
  108. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
  109. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  110. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
  111. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  112. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  113. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  114. package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  115. package/dist/serialization/resources/financials/types/AccountType.d.ts +1 -1
  116. package/dist/serialization/resources/financials/types/AccountType.js +1 -1
  117. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +22 -0
  118. package/dist/serialization/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.js +8 -6
  119. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +10 -0
  120. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js +31 -0
  121. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  122. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  123. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +3 -1
  124. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +3 -1
  125. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +10 -0
  126. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +102 -0
  127. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +1 -1
  128. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
  129. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -2
  130. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -2
  131. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
  132. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
  133. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -2
  134. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +0 -2
  135. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  136. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -3
  137. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
  138. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
  139. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
  140. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +3 -0
  141. package/package.json +1 -1
  142. package/reference.md +30 -34
  143. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  144. package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  145. package/serialization/resources/financials/types/AccountType.d.ts +1 -1
  146. package/serialization/resources/financials/types/AccountType.js +1 -1
  147. package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +22 -0
  148. package/serialization/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.js +8 -6
  149. package/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +10 -0
  150. package/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js +31 -0
  151. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  152. package/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  153. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +3 -1
  154. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +3 -1
  155. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +10 -0
  156. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +102 -0
  157. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +1 -1
  158. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
  159. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -2
  160. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -2
  161. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
  162. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
  163. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -2
  164. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +0 -2
  165. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  166. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -3
  167. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
  168. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
  169. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
  170. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +3 -0
  171. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +0 -20
  172. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +0 -20
  173. /package/api/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.js +0 -0
  174. /package/dist/api/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.js +0 -0
@@ -66,7 +66,7 @@ class V3 {
66
66
  Authorization: yield this._getAuthorizationHeader(),
67
67
  "X-Fern-Language": "JavaScript",
68
68
  "X-Fern-SDK-Name": "candidhealth",
69
- "X-Fern-SDK-Version": "0.24.4",
69
+ "X-Fern-SDK-Version": "0.24.7",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -166,7 +166,7 @@ class V3 {
166
166
  Authorization: yield this._getAuthorizationHeader(),
167
167
  "X-Fern-Language": "JavaScript",
168
168
  "X-Fern-SDK-Name": "candidhealth",
169
- "X-Fern-SDK-Version": "0.24.4",
169
+ "X-Fern-SDK-Version": "0.24.7",
170
170
  "X-Fern-Runtime": core.RUNTIME.type,
171
171
  "X-Fern-Runtime-Version": core.RUNTIME.version,
172
172
  },
@@ -226,7 +226,7 @@ class V3 {
226
226
  Authorization: yield this._getAuthorizationHeader(),
227
227
  "X-Fern-Language": "JavaScript",
228
228
  "X-Fern-SDK-Name": "candidhealth",
229
- "X-Fern-SDK-Version": "0.24.4",
229
+ "X-Fern-SDK-Version": "0.24.7",
230
230
  "X-Fern-Runtime": core.RUNTIME.type,
231
231
  "X-Fern-Runtime-Version": core.RUNTIME.version,
232
232
  },
@@ -294,7 +294,7 @@ class V3 {
294
294
  Authorization: yield this._getAuthorizationHeader(),
295
295
  "X-Fern-Language": "JavaScript",
296
296
  "X-Fern-SDK-Name": "candidhealth",
297
- "X-Fern-SDK-Version": "0.24.4",
297
+ "X-Fern-SDK-Version": "0.24.7",
298
298
  "X-Fern-Runtime": core.RUNTIME.type,
299
299
  "X-Fern-Runtime-Version": core.RUNTIME.version,
300
300
  },
@@ -345,7 +345,7 @@ class V3 {
345
345
  Authorization: yield this._getAuthorizationHeader(),
346
346
  "X-Fern-Language": "JavaScript",
347
347
  "X-Fern-SDK-Name": "candidhealth",
348
- "X-Fern-SDK-Version": "0.24.4",
348
+ "X-Fern-SDK-Version": "0.24.7",
349
349
  "X-Fern-Runtime": core.RUNTIME.type,
350
350
  "X-Fern-Runtime-Version": core.RUNTIME.version,
351
351
  },
@@ -116,7 +116,7 @@ class V1 {
116
116
  Authorization: yield this._getAuthorizationHeader(),
117
117
  "X-Fern-Language": "JavaScript",
118
118
  "X-Fern-SDK-Name": "candidhealth",
119
- "X-Fern-SDK-Version": "0.24.4",
119
+ "X-Fern-SDK-Version": "0.24.7",
120
120
  "X-Fern-Runtime": core.RUNTIME.type,
121
121
  "X-Fern-Runtime-Version": core.RUNTIME.version,
122
122
  },
@@ -164,7 +164,7 @@ class V1 {
164
164
  Authorization: yield this._getAuthorizationHeader(),
165
165
  "X-Fern-Language": "JavaScript",
166
166
  "X-Fern-SDK-Name": "candidhealth",
167
- "X-Fern-SDK-Version": "0.24.4",
167
+ "X-Fern-SDK-Version": "0.24.7",
168
168
  "X-Fern-Runtime": core.RUNTIME.type,
169
169
  "X-Fern-Runtime-Version": core.RUNTIME.version,
170
170
  },
@@ -221,7 +221,7 @@ class V1 {
221
221
  Authorization: yield this._getAuthorizationHeader(),
222
222
  "X-Fern-Language": "JavaScript",
223
223
  "X-Fern-SDK-Name": "candidhealth",
224
- "X-Fern-SDK-Version": "0.24.4",
224
+ "X-Fern-SDK-Version": "0.24.7",
225
225
  "X-Fern-Runtime": core.RUNTIME.type,
226
226
  "X-Fern-Runtime-Version": core.RUNTIME.version,
227
227
  },
@@ -271,7 +271,7 @@ class V1 {
271
271
  Authorization: yield this._getAuthorizationHeader(),
272
272
  "X-Fern-Language": "JavaScript",
273
273
  "X-Fern-SDK-Name": "candidhealth",
274
- "X-Fern-SDK-Version": "0.24.4",
274
+ "X-Fern-SDK-Version": "0.24.7",
275
275
  "X-Fern-Runtime": core.RUNTIME.type,
276
276
  "X-Fern-Runtime-Version": core.RUNTIME.version,
277
277
  },
@@ -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.7",
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.7",
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.7",
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.7",
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.7",
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.7",
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.7",
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.7",
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.7",
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.7",
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.7",
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.7",
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.7",
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.7",
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.7",
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.7",
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.7",
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.7",
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.7",
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.7",
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.7",
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.7",
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.7",
86
86
  "X-Fern-Runtime": core.RUNTIME.type,
87
87
  "X-Fern-Runtime-Version": core.RUNTIME.version,
88
88
  },