candidhealth 0.34.4 → 0.34.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 (158) 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/contracts/resources/v2/client/Client.js +5 -5
  4. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  5. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  6. package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -19
  7. package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +7 -2
  8. package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +11 -0
  9. package/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +6 -9
  10. package/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +4 -4
  11. package/api/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +6 -9
  12. package/api/resources/encounterProviders/resources/v2/client/createReferringProvider.js +4 -4
  13. package/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +6 -9
  14. package/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +4 -4
  15. package/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +6 -9
  16. package/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +4 -4
  17. package/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +6 -9
  18. package/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +4 -4
  19. package/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +6 -9
  20. package/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +4 -4
  21. package/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +6 -9
  22. package/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +4 -4
  23. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +21 -0
  24. package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +5 -0
  25. package/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  26. package/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
  27. package/api/resources/encounters/resources/v4/client/Client.d.ts +16 -0
  28. package/api/resources/encounters/resources/v4/client/Client.js +21 -5
  29. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +21 -0
  30. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  31. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  32. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  33. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  34. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  35. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  36. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  37. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  38. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  39. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  40. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  41. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  42. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  43. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  44. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  45. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  46. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  47. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  48. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  49. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  50. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  51. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  52. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
  53. package/api/resources/serviceFacility/client/Client.js +1 -1
  54. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  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/contracts/resources/v2/client/Client.js +5 -5
  60. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  61. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  62. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -19
  63. package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +7 -2
  64. package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +11 -0
  65. package/dist/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +6 -9
  66. package/dist/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +4 -4
  67. package/dist/api/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +6 -9
  68. package/dist/api/resources/encounterProviders/resources/v2/client/createReferringProvider.js +4 -4
  69. package/dist/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +6 -9
  70. package/dist/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +4 -4
  71. package/dist/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +6 -9
  72. package/dist/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +4 -4
  73. package/dist/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +6 -9
  74. package/dist/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +4 -4
  75. package/dist/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +6 -9
  76. package/dist/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +4 -4
  77. package/dist/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +6 -9
  78. package/dist/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +4 -4
  79. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +21 -0
  80. package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +5 -0
  81. package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  82. package/dist/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
  83. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +16 -0
  84. package/dist/api/resources/encounters/resources/v4/client/Client.js +21 -5
  85. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +21 -0
  86. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  87. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  88. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  89. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  90. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  91. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  92. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  93. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  94. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  95. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  96. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  97. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  98. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  99. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  100. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  101. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  102. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  103. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  104. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  105. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
  106. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  107. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  108. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
  109. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  110. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  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/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +6 -1
  114. package/dist/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +6 -0
  115. package/dist/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +5 -5
  116. package/dist/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +5 -5
  117. package/dist/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +5 -5
  118. package/dist/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.js +5 -5
  119. package/dist/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +5 -5
  120. package/dist/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +5 -5
  121. package/dist/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +5 -5
  122. package/dist/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +5 -5
  123. package/dist/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +5 -5
  124. package/dist/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +5 -5
  125. package/dist/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +5 -5
  126. package/dist/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +5 -5
  127. package/dist/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +5 -5
  128. package/dist/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +5 -5
  129. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +17 -0
  130. package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +40 -0
  131. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  132. package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
  133. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
  134. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
  135. package/package.json +1 -1
  136. package/reference.md +16 -0
  137. package/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +6 -1
  138. package/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +6 -0
  139. package/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +5 -5
  140. package/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +5 -5
  141. package/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +5 -5
  142. package/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.js +5 -5
  143. package/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +5 -5
  144. package/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +5 -5
  145. package/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +5 -5
  146. package/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +5 -5
  147. package/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +5 -5
  148. package/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +5 -5
  149. package/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +5 -5
  150. package/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +5 -5
  151. package/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +5 -5
  152. package/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +5 -5
  153. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +17 -0
  154. package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +40 -0
  155. package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
  156. package/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
  157. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
  158. package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
@@ -6,10 +6,7 @@ import * as core from "../../../../../../core";
6
6
  export declare type Error =
7
7
  /**
8
8
  * The encounter already has a referring provider. */
9
- CandidApi.encounterProviders.v2.createReferringProvider.Error.EntityConflictError
10
- /**
11
- * Cannot set first/last name without also unsetting organization_name. */
12
- | CandidApi.encounterProviders.v2.createReferringProvider.Error.UnprocessableEntityError
9
+ CandidApi.encounterProviders.v2.createReferringProvider.Error.EntityConflictError | CandidApi.encounterProviders.v2.createReferringProvider.Error.HttpRequestValidationsError
13
10
  /**
14
11
  * The encounter could not be found. */
15
12
  | CandidApi.encounterProviders.v2.createReferringProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.createReferringProvider.Error._Unknown;
@@ -18,9 +15,9 @@ export declare namespace Error {
18
15
  errorName: "EntityConflictError";
19
16
  content: CandidApi.EntityConflictErrorMessage;
20
17
  }
21
- interface UnprocessableEntityError extends _Utils {
22
- errorName: "UnprocessableEntityError";
23
- content: CandidApi.UnprocessableEntityErrorMessage;
18
+ interface HttpRequestValidationsError extends _Utils {
19
+ errorName: "HttpRequestValidationsError";
20
+ content: CandidApi.RequestValidationError[];
24
21
  }
25
22
  interface EntityNotFoundError extends _Utils {
26
23
  errorName: "EntityNotFoundError";
@@ -35,14 +32,14 @@ export declare namespace Error {
35
32
  }
36
33
  interface _Visitor<_Result> {
37
34
  entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => _Result;
38
- unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
35
+ httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
39
36
  entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
40
37
  _other: (value: core.Fetcher.Error) => _Result;
41
38
  }
42
39
  }
43
40
  export declare const Error: {
44
41
  readonly entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => CandidApi.encounterProviders.v2.createReferringProvider.Error.EntityConflictError;
45
- readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounterProviders.v2.createReferringProvider.Error.UnprocessableEntityError;
42
+ readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.createReferringProvider.Error.HttpRequestValidationsError;
46
43
  readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.createReferringProvider.Error.EntityNotFoundError;
47
44
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.createReferringProvider.Error._Unknown;
48
45
  readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.createReferringProvider.Error, visitor: CandidApi.encounterProviders.v2.createReferringProvider.Error._Visitor<_Result>) => _Result;
@@ -38,10 +38,10 @@ exports.Error = {
38
38
  },
39
39
  };
40
40
  },
41
- unprocessableEntityError: (value) => {
41
+ httpRequestValidationsError: (value) => {
42
42
  return {
43
43
  content: value,
44
- errorName: "UnprocessableEntityError",
44
+ errorName: "HttpRequestValidationsError",
45
45
  _visit: function (visitor) {
46
46
  return CandidApi.encounterProviders.v2.createReferringProvider.Error._visit(this, visitor);
47
47
  },
@@ -69,8 +69,8 @@ exports.Error = {
69
69
  switch (value.errorName) {
70
70
  case "EntityConflictError":
71
71
  return visitor.entityConflictError(value.content);
72
- case "UnprocessableEntityError":
73
- return visitor.unprocessableEntityError(value.content);
72
+ case "HttpRequestValidationsError":
73
+ return visitor.httpRequestValidationsError(value.content);
74
74
  case "EntityNotFoundError":
75
75
  return visitor.entityNotFoundError(value.content);
76
76
  default:
@@ -6,10 +6,7 @@ import * as core from "../../../../../../core";
6
6
  export declare type Error =
7
7
  /**
8
8
  * The encounter already has a supervising provider. */
9
- CandidApi.encounterProviders.v2.createSupervisingProvider.Error.EntityConflictError
10
- /**
11
- * Cannot set first/last name without also unsetting organization_name. */
12
- | CandidApi.encounterProviders.v2.createSupervisingProvider.Error.UnprocessableEntityError
9
+ CandidApi.encounterProviders.v2.createSupervisingProvider.Error.EntityConflictError | CandidApi.encounterProviders.v2.createSupervisingProvider.Error.HttpRequestValidationsError
13
10
  /**
14
11
  * The encounter could not be found. */
15
12
  | CandidApi.encounterProviders.v2.createSupervisingProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.createSupervisingProvider.Error._Unknown;
@@ -18,9 +15,9 @@ export declare namespace Error {
18
15
  errorName: "EntityConflictError";
19
16
  content: CandidApi.EntityConflictErrorMessage;
20
17
  }
21
- interface UnprocessableEntityError extends _Utils {
22
- errorName: "UnprocessableEntityError";
23
- content: CandidApi.UnprocessableEntityErrorMessage;
18
+ interface HttpRequestValidationsError extends _Utils {
19
+ errorName: "HttpRequestValidationsError";
20
+ content: CandidApi.RequestValidationError[];
24
21
  }
25
22
  interface EntityNotFoundError extends _Utils {
26
23
  errorName: "EntityNotFoundError";
@@ -35,14 +32,14 @@ export declare namespace Error {
35
32
  }
36
33
  interface _Visitor<_Result> {
37
34
  entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => _Result;
38
- unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
35
+ httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
39
36
  entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
40
37
  _other: (value: core.Fetcher.Error) => _Result;
41
38
  }
42
39
  }
43
40
  export declare const Error: {
44
41
  readonly entityConflictError: (value: CandidApi.EntityConflictErrorMessage) => CandidApi.encounterProviders.v2.createSupervisingProvider.Error.EntityConflictError;
45
- readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounterProviders.v2.createSupervisingProvider.Error.UnprocessableEntityError;
42
+ readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.createSupervisingProvider.Error.HttpRequestValidationsError;
46
43
  readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.createSupervisingProvider.Error.EntityNotFoundError;
47
44
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.createSupervisingProvider.Error._Unknown;
48
45
  readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.createSupervisingProvider.Error, visitor: CandidApi.encounterProviders.v2.createSupervisingProvider.Error._Visitor<_Result>) => _Result;
@@ -38,10 +38,10 @@ exports.Error = {
38
38
  },
39
39
  };
40
40
  },
41
- unprocessableEntityError: (value) => {
41
+ httpRequestValidationsError: (value) => {
42
42
  return {
43
43
  content: value,
44
- errorName: "UnprocessableEntityError",
44
+ errorName: "HttpRequestValidationsError",
45
45
  _visit: function (visitor) {
46
46
  return CandidApi.encounterProviders.v2.createSupervisingProvider.Error._visit(this, visitor);
47
47
  },
@@ -69,8 +69,8 @@ exports.Error = {
69
69
  switch (value.errorName) {
70
70
  case "EntityConflictError":
71
71
  return visitor.entityConflictError(value.content);
72
- case "UnprocessableEntityError":
73
- return visitor.unprocessableEntityError(value.content);
72
+ case "HttpRequestValidationsError":
73
+ return visitor.httpRequestValidationsError(value.content);
74
74
  case "EntityNotFoundError":
75
75
  return visitor.entityNotFoundError(value.content);
76
76
  default:
@@ -3,17 +3,14 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../../index";
5
5
  import * as core from "../../../../../../core";
6
- export declare type Error =
7
- /**
8
- * Cannot set first/last name without also unsetting organization_name. */
9
- CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.UnprocessableEntityError
6
+ export declare type Error = CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.HttpRequestValidationsError
10
7
  /**
11
8
  * The encounter could not be found or has no initial referring provider. */
12
9
  | CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error._Unknown;
13
10
  export declare namespace Error {
14
- interface UnprocessableEntityError extends _Utils {
15
- errorName: "UnprocessableEntityError";
16
- content: CandidApi.UnprocessableEntityErrorMessage;
11
+ interface HttpRequestValidationsError extends _Utils {
12
+ errorName: "HttpRequestValidationsError";
13
+ content: CandidApi.RequestValidationError[];
17
14
  }
18
15
  interface EntityNotFoundError extends _Utils {
19
16
  errorName: "EntityNotFoundError";
@@ -27,13 +24,13 @@ export declare namespace Error {
27
24
  _visit: <_Result>(visitor: CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error._Visitor<_Result>) => _Result;
28
25
  }
29
26
  interface _Visitor<_Result> {
30
- unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
27
+ httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
31
28
  entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
32
29
  _other: (value: core.Fetcher.Error) => _Result;
33
30
  }
34
31
  }
35
32
  export declare const Error: {
36
- readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.UnprocessableEntityError;
33
+ readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.HttpRequestValidationsError;
37
34
  readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error.EntityNotFoundError;
38
35
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error._Unknown;
39
36
  readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error, visitor: CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error._Visitor<_Result>) => _Result;
@@ -29,10 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Error = void 0;
30
30
  const CandidApi = __importStar(require("../../../../../index"));
31
31
  exports.Error = {
32
- unprocessableEntityError: (value) => {
32
+ httpRequestValidationsError: (value) => {
33
33
  return {
34
34
  content: value,
35
- errorName: "UnprocessableEntityError",
35
+ errorName: "HttpRequestValidationsError",
36
36
  _visit: function (visitor) {
37
37
  return CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error._visit(this, visitor);
38
38
  },
@@ -58,8 +58,8 @@ exports.Error = {
58
58
  },
59
59
  _visit: (value, visitor) => {
60
60
  switch (value.errorName) {
61
- case "UnprocessableEntityError":
62
- return visitor.unprocessableEntityError(value.content);
61
+ case "HttpRequestValidationsError":
62
+ return visitor.httpRequestValidationsError(value.content);
63
63
  case "EntityNotFoundError":
64
64
  return visitor.entityNotFoundError(value.content);
65
65
  default:
@@ -3,17 +3,14 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../../index";
5
5
  import * as core from "../../../../../../core";
6
- export declare type Error =
7
- /**
8
- * Cannot set first/last name without also unsetting organization_name. */
9
- CandidApi.encounterProviders.v2.updateOrderingProvider.Error.UnprocessableEntityError
6
+ export declare type Error = CandidApi.encounterProviders.v2.updateOrderingProvider.Error.HttpRequestValidationsError
10
7
  /**
11
8
  * The encounter could not be found or has no ordering provider. */
12
9
  | CandidApi.encounterProviders.v2.updateOrderingProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.updateOrderingProvider.Error._Unknown;
13
10
  export declare namespace Error {
14
- interface UnprocessableEntityError extends _Utils {
15
- errorName: "UnprocessableEntityError";
16
- content: CandidApi.UnprocessableEntityErrorMessage;
11
+ interface HttpRequestValidationsError extends _Utils {
12
+ errorName: "HttpRequestValidationsError";
13
+ content: CandidApi.RequestValidationError[];
17
14
  }
18
15
  interface EntityNotFoundError extends _Utils {
19
16
  errorName: "EntityNotFoundError";
@@ -27,13 +24,13 @@ export declare namespace Error {
27
24
  _visit: <_Result>(visitor: CandidApi.encounterProviders.v2.updateOrderingProvider.Error._Visitor<_Result>) => _Result;
28
25
  }
29
26
  interface _Visitor<_Result> {
30
- unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
27
+ httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
31
28
  entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
32
29
  _other: (value: core.Fetcher.Error) => _Result;
33
30
  }
34
31
  }
35
32
  export declare const Error: {
36
- readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounterProviders.v2.updateOrderingProvider.Error.UnprocessableEntityError;
33
+ readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.updateOrderingProvider.Error.HttpRequestValidationsError;
37
34
  readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.updateOrderingProvider.Error.EntityNotFoundError;
38
35
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.updateOrderingProvider.Error._Unknown;
39
36
  readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.updateOrderingProvider.Error, visitor: CandidApi.encounterProviders.v2.updateOrderingProvider.Error._Visitor<_Result>) => _Result;
@@ -29,10 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Error = void 0;
30
30
  const CandidApi = __importStar(require("../../../../../index"));
31
31
  exports.Error = {
32
- unprocessableEntityError: (value) => {
32
+ httpRequestValidationsError: (value) => {
33
33
  return {
34
34
  content: value,
35
- errorName: "UnprocessableEntityError",
35
+ errorName: "HttpRequestValidationsError",
36
36
  _visit: function (visitor) {
37
37
  return CandidApi.encounterProviders.v2.updateOrderingProvider.Error._visit(this, visitor);
38
38
  },
@@ -58,8 +58,8 @@ exports.Error = {
58
58
  },
59
59
  _visit: (value, visitor) => {
60
60
  switch (value.errorName) {
61
- case "UnprocessableEntityError":
62
- return visitor.unprocessableEntityError(value.content);
61
+ case "HttpRequestValidationsError":
62
+ return visitor.httpRequestValidationsError(value.content);
63
63
  case "EntityNotFoundError":
64
64
  return visitor.entityNotFoundError(value.content);
65
65
  default:
@@ -3,17 +3,14 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../../index";
5
5
  import * as core from "../../../../../../core";
6
- export declare type Error =
7
- /**
8
- * Cannot set first/last name without also unsetting organization_name. */
9
- CandidApi.encounterProviders.v2.updateReferringProvider.Error.UnprocessableEntityError
6
+ export declare type Error = CandidApi.encounterProviders.v2.updateReferringProvider.Error.HttpRequestValidationsError
10
7
  /**
11
8
  * The encounter could not be found or has no referring provider. */
12
9
  | CandidApi.encounterProviders.v2.updateReferringProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.updateReferringProvider.Error._Unknown;
13
10
  export declare namespace Error {
14
- interface UnprocessableEntityError extends _Utils {
15
- errorName: "UnprocessableEntityError";
16
- content: CandidApi.UnprocessableEntityErrorMessage;
11
+ interface HttpRequestValidationsError extends _Utils {
12
+ errorName: "HttpRequestValidationsError";
13
+ content: CandidApi.RequestValidationError[];
17
14
  }
18
15
  interface EntityNotFoundError extends _Utils {
19
16
  errorName: "EntityNotFoundError";
@@ -27,13 +24,13 @@ export declare namespace Error {
27
24
  _visit: <_Result>(visitor: CandidApi.encounterProviders.v2.updateReferringProvider.Error._Visitor<_Result>) => _Result;
28
25
  }
29
26
  interface _Visitor<_Result> {
30
- unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
27
+ httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
31
28
  entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
32
29
  _other: (value: core.Fetcher.Error) => _Result;
33
30
  }
34
31
  }
35
32
  export declare const Error: {
36
- readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounterProviders.v2.updateReferringProvider.Error.UnprocessableEntityError;
33
+ readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.updateReferringProvider.Error.HttpRequestValidationsError;
37
34
  readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.updateReferringProvider.Error.EntityNotFoundError;
38
35
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.updateReferringProvider.Error._Unknown;
39
36
  readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.updateReferringProvider.Error, visitor: CandidApi.encounterProviders.v2.updateReferringProvider.Error._Visitor<_Result>) => _Result;
@@ -29,10 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Error = void 0;
30
30
  const CandidApi = __importStar(require("../../../../../index"));
31
31
  exports.Error = {
32
- unprocessableEntityError: (value) => {
32
+ httpRequestValidationsError: (value) => {
33
33
  return {
34
34
  content: value,
35
- errorName: "UnprocessableEntityError",
35
+ errorName: "HttpRequestValidationsError",
36
36
  _visit: function (visitor) {
37
37
  return CandidApi.encounterProviders.v2.updateReferringProvider.Error._visit(this, visitor);
38
38
  },
@@ -58,8 +58,8 @@ exports.Error = {
58
58
  },
59
59
  _visit: (value, visitor) => {
60
60
  switch (value.errorName) {
61
- case "UnprocessableEntityError":
62
- return visitor.unprocessableEntityError(value.content);
61
+ case "HttpRequestValidationsError":
62
+ return visitor.httpRequestValidationsError(value.content);
63
63
  case "EntityNotFoundError":
64
64
  return visitor.entityNotFoundError(value.content);
65
65
  default:
@@ -3,17 +3,14 @@
3
3
  */
4
4
  import * as CandidApi from "../../../../../index";
5
5
  import * as core from "../../../../../../core";
6
- export declare type Error =
7
- /**
8
- * Cannot set first/last name without also unsetting organization_name. */
9
- CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.UnprocessableEntityError
6
+ export declare type Error = CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.HttpRequestValidationsError
10
7
  /**
11
8
  * The encounter could not be found or has no supervising provider. */
12
9
  | CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.EntityNotFoundError | CandidApi.encounterProviders.v2.updateSupervisingProvider.Error._Unknown;
13
10
  export declare namespace Error {
14
- interface UnprocessableEntityError extends _Utils {
15
- errorName: "UnprocessableEntityError";
16
- content: CandidApi.UnprocessableEntityErrorMessage;
11
+ interface HttpRequestValidationsError extends _Utils {
12
+ errorName: "HttpRequestValidationsError";
13
+ content: CandidApi.RequestValidationError[];
17
14
  }
18
15
  interface EntityNotFoundError extends _Utils {
19
16
  errorName: "EntityNotFoundError";
@@ -27,13 +24,13 @@ export declare namespace Error {
27
24
  _visit: <_Result>(visitor: CandidApi.encounterProviders.v2.updateSupervisingProvider.Error._Visitor<_Result>) => _Result;
28
25
  }
29
26
  interface _Visitor<_Result> {
30
- unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => _Result;
27
+ httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
31
28
  entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
32
29
  _other: (value: core.Fetcher.Error) => _Result;
33
30
  }
34
31
  }
35
32
  export declare const Error: {
36
- readonly unprocessableEntityError: (value: CandidApi.UnprocessableEntityErrorMessage) => CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.UnprocessableEntityError;
33
+ readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.HttpRequestValidationsError;
37
34
  readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.EntityNotFoundError;
38
35
  readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounterProviders.v2.updateSupervisingProvider.Error._Unknown;
39
36
  readonly _visit: <_Result>(value: CandidApi.encounterProviders.v2.updateSupervisingProvider.Error, visitor: CandidApi.encounterProviders.v2.updateSupervisingProvider.Error._Visitor<_Result>) => _Result;
@@ -29,10 +29,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Error = void 0;
30
30
  const CandidApi = __importStar(require("../../../../../index"));
31
31
  exports.Error = {
32
- unprocessableEntityError: (value) => {
32
+ httpRequestValidationsError: (value) => {
33
33
  return {
34
34
  content: value,
35
- errorName: "UnprocessableEntityError",
35
+ errorName: "HttpRequestValidationsError",
36
36
  _visit: function (visitor) {
37
37
  return CandidApi.encounterProviders.v2.updateSupervisingProvider.Error._visit(this, visitor);
38
38
  },
@@ -58,8 +58,8 @@ exports.Error = {
58
58
  },
59
59
  _visit: (value, visitor) => {
60
60
  switch (value.errorName) {
61
- case "UnprocessableEntityError":
62
- return visitor.unprocessableEntityError(value.content);
61
+ case "HttpRequestValidationsError":
62
+ return visitor.httpRequestValidationsError(value.content);
63
63
  case "EntityNotFoundError":
64
64
  return visitor.entityNotFoundError(value.content);
65
65
  default:
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ /**
6
+ * The billing provider is the provider or business entity submitting the claim.
7
+ * Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider.
8
+ * From a payer's perspective, this represents the person or entity being reimbursed.
9
+ * When a contract exists with the target payer, the billing provider should be the entity contracted with the payer.
10
+ * In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the
11
+ * tax ID (TIN) that the provider gave to the payer during contracting.
12
+ * In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID.
13
+ * Box 33 on the CMS-1500 claim form.
14
+ */
15
+ export interface BillingProviderUpdate extends CandidApi.encounterProviders.v2.EncounterProviderBase {
16
+ address?: CandidApi.StreetAddressLongZip;
17
+ /** If the provider has a contract with insurance, this must be the same tax ID given to the payer on an IRS W-9 form completed during contracting. */
18
+ taxId?: string;
19
+ npi?: string;
20
+ taxonomyCode?: string;
21
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -10,5 +10,6 @@ export * from "./SupervisingProviderUpdate";
10
10
  export * from "./OrderingProvider";
11
11
  export * from "./OrderingProviderUpdate";
12
12
  export * from "./BillingProvider";
13
+ export * from "./BillingProviderUpdate";
13
14
  export * from "./ProviderId";
14
15
  export * from "./EncounterProvider";
@@ -26,5 +26,6 @@ __exportStar(require("./SupervisingProviderUpdate"), exports);
26
26
  __exportStar(require("./OrderingProvider"), exports);
27
27
  __exportStar(require("./OrderingProviderUpdate"), exports);
28
28
  __exportStar(require("./BillingProvider"), exports);
29
+ __exportStar(require("./BillingProviderUpdate"), exports);
29
30
  __exportStar(require("./ProviderId"), exports);
30
31
  __exportStar(require("./EncounterProvider"), exports);
@@ -867,6 +867,22 @@ export declare class V4 {
867
867
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
868
868
  * emailConsent: true
869
869
  * },
870
+ * billingProvider: {
871
+ * address: {
872
+ * address1: "123 Main St",
873
+ * address2: "Apt 1",
874
+ * city: "New York",
875
+ * state: CandidApi.State.Ny,
876
+ * zipCode: "10001",
877
+ * zipPlusFourCode: "1234"
878
+ * },
879
+ * taxId: "string",
880
+ * npi: "string",
881
+ * taxonomyCode: "string",
882
+ * firstName: "string",
883
+ * lastName: "string",
884
+ * organizationName: "string"
885
+ * },
870
886
  * supervisingProvider: {
871
887
  * npi: "string",
872
888
  * taxonomyCode: "string",
@@ -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.34.4",
135
+ "X-Fern-SDK-Version": "0.34.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.34.4",
181
+ "X-Fern-SDK-Version": "0.34.5",
182
182
  "X-Fern-Runtime": core.RUNTIME.type,
183
183
  "X-Fern-Runtime-Version": core.RUNTIME.version,
184
184
  },
@@ -574,7 +574,7 @@ class V4 {
574
574
  Authorization: yield this._getAuthorizationHeader(),
575
575
  "X-Fern-Language": "JavaScript",
576
576
  "X-Fern-SDK-Name": "candidhealth",
577
- "X-Fern-SDK-Version": "0.34.4",
577
+ "X-Fern-SDK-Version": "0.34.5",
578
578
  "X-Fern-Runtime": core.RUNTIME.type,
579
579
  "X-Fern-Runtime-Version": core.RUNTIME.version,
580
580
  },
@@ -892,7 +892,7 @@ class V4 {
892
892
  Authorization: yield this._getAuthorizationHeader(),
893
893
  "X-Fern-Language": "JavaScript",
894
894
  "X-Fern-SDK-Name": "candidhealth",
895
- "X-Fern-SDK-Version": "0.34.4",
895
+ "X-Fern-SDK-Version": "0.34.5",
896
896
  "X-Fern-Runtime": core.RUNTIME.type,
897
897
  "X-Fern-Runtime-Version": core.RUNTIME.version,
898
898
  },
@@ -1141,6 +1141,22 @@ class V4 {
1141
1141
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
1142
1142
  * emailConsent: true
1143
1143
  * },
1144
+ * billingProvider: {
1145
+ * address: {
1146
+ * address1: "123 Main St",
1147
+ * address2: "Apt 1",
1148
+ * city: "New York",
1149
+ * state: CandidApi.State.Ny,
1150
+ * zipCode: "10001",
1151
+ * zipPlusFourCode: "1234"
1152
+ * },
1153
+ * taxId: "string",
1154
+ * npi: "string",
1155
+ * taxonomyCode: "string",
1156
+ * firstName: "string",
1157
+ * lastName: "string",
1158
+ * organizationName: "string"
1159
+ * },
1144
1160
  * supervisingProvider: {
1145
1161
  * npi: "string",
1146
1162
  * taxonomyCode: "string",
@@ -1200,7 +1216,7 @@ class V4 {
1200
1216
  Authorization: yield this._getAuthorizationHeader(),
1201
1217
  "X-Fern-Language": "JavaScript",
1202
1218
  "X-Fern-SDK-Name": "candidhealth",
1203
- "X-Fern-SDK-Version": "0.34.4",
1219
+ "X-Fern-SDK-Version": "0.34.5",
1204
1220
  "X-Fern-Runtime": core.RUNTIME.type,
1205
1221
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1206
1222
  },
@@ -198,6 +198,22 @@ import * as CandidApi from "../../../../../../index";
198
198
  * email: CandidApi.Email("johndoe@joincandidhealth.com"),
199
199
  * emailConsent: true
200
200
  * },
201
+ * billingProvider: {
202
+ * address: {
203
+ * address1: "123 Main St",
204
+ * address2: "Apt 1",
205
+ * city: "New York",
206
+ * state: CandidApi.State.Ny,
207
+ * zipCode: "10001",
208
+ * zipPlusFourCode: "1234"
209
+ * },
210
+ * taxId: "string",
211
+ * npi: "string",
212
+ * taxonomyCode: "string",
213
+ * firstName: "string",
214
+ * lastName: "string",
215
+ * organizationName: "string"
216
+ * },
201
217
  * supervisingProvider: {
202
218
  * npi: "string",
203
219
  * taxonomyCode: "string",
@@ -427,6 +443,11 @@ export interface EncounterUpdate {
427
443
  *
428
444
  */
429
445
  guarantor?: CandidApi.guarantor.v1.GuarantorUpdate;
446
+ /**
447
+ * The billing provider is the provider or business entity submitting the claim. Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider. From a payer's perspective, this represents the person or entity being reimbursed. When a contract exists with the target payer, the billing provider should be the entity contracted with the payer. In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the tax ID (TIN) that the provider gave to the payer during contracting. In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID. Box 33 on the CMS-1500 claim form.
448
+ *
449
+ */
450
+ billingProvider?: CandidApi.encounterProviders.v2.BillingProviderUpdate;
430
451
  /**
431
452
  * Required when the rendering provider is supervised by a physician. If not required by this implementation guide, do not send.
432
453
  *
@@ -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.34.4",
82
+ "X-Fern-SDK-Version": "0.34.5",
83
83
  "X-Fern-Runtime": core.RUNTIME.type,
84
84
  "X-Fern-Runtime-Version": core.RUNTIME.version,
85
85
  },
@@ -96,7 +96,7 @@ class V2 {
96
96
  Authorization: yield this._getAuthorizationHeader(),
97
97
  "X-Fern-Language": "JavaScript",
98
98
  "X-Fern-SDK-Name": "candidhealth",
99
- "X-Fern-SDK-Version": "0.34.4",
99
+ "X-Fern-SDK-Version": "0.34.5",
100
100
  "X-Fern-Runtime": core.RUNTIME.type,
101
101
  "X-Fern-Runtime-Version": core.RUNTIME.version,
102
102
  },
@@ -189,7 +189,7 @@ class V2 {
189
189
  Authorization: yield this._getAuthorizationHeader(),
190
190
  "X-Fern-Language": "JavaScript",
191
191
  "X-Fern-SDK-Name": "candidhealth",
192
- "X-Fern-SDK-Version": "0.34.4",
192
+ "X-Fern-SDK-Version": "0.34.5",
193
193
  "X-Fern-Runtime": core.RUNTIME.type,
194
194
  "X-Fern-Runtime-Version": core.RUNTIME.version,
195
195
  },
@@ -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.34.4",
89
+ "X-Fern-SDK-Version": "0.34.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.34.4",
85
+ "X-Fern-SDK-Version": "0.34.5",
86
86
  "X-Fern-Runtime": core.RUNTIME.type,
87
87
  "X-Fern-Runtime-Version": core.RUNTIME.version,
88
88
  },