candidhealth 0.43.0 → 0.43.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  3. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -239
  4. package/api/resources/chargeCapture/resources/v1/client/Client.js +16 -249
  5. package/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
  6. package/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
  7. package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  8. package/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
  9. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
  10. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -118
  11. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -118
  12. package/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -6
  13. package/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +3 -3
  14. package/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +6 -0
  15. package/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +5 -0
  16. package/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  17. package/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
  18. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  19. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  20. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  21. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  22. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  23. package/api/resources/diagnoses/client/Client.js +3 -3
  24. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  25. package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +1 -1
  26. package/api/resources/encounterAttachments/resources/v1/client/Client.js +4 -4
  27. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +3 -1
  28. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +2 -0
  29. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
  30. package/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
  31. package/api/resources/encounters/resources/v4/client/Client.d.ts +100 -110
  32. package/api/resources/encounters/resources/v4/client/Client.js +105 -115
  33. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +83 -9
  34. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -97
  35. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  36. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  37. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  38. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  39. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  40. package/api/resources/guarantor/resources/v1/client/Client.d.ts +21 -1
  41. package/api/resources/guarantor/resources/v1/client/Client.js +24 -4
  42. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  43. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  44. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  45. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  46. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  47. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  48. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  49. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  50. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  51. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  52. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  53. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  54. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  55. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  56. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  57. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  58. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  59. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  60. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  61. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  62. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  63. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  64. package/api/resources/serviceFacility/client/Client.js +1 -1
  65. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -1
  66. package/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
  67. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  68. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  69. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  70. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  71. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  72. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -239
  73. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +16 -249
  74. package/dist/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
  75. package/dist/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
  76. package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  77. package/dist/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
  78. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
  79. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -118
  80. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -118
  81. package/dist/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -6
  82. package/dist/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +3 -3
  83. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +6 -0
  84. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +5 -0
  85. package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  86. package/dist/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
  87. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  88. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  89. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  90. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  91. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  92. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  93. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  94. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +1 -1
  95. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +4 -4
  96. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +3 -1
  97. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +2 -0
  98. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
  99. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
  100. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +100 -110
  101. package/dist/api/resources/encounters/resources/v4/client/Client.js +105 -115
  102. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +83 -9
  103. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -97
  104. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  105. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  106. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  107. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  108. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  109. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +21 -1
  110. package/dist/api/resources/guarantor/resources/v1/client/Client.js +24 -4
  111. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  112. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  113. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  114. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  115. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  116. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  117. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  118. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  119. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  120. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  121. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  122. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  123. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  124. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  125. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  126. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  127. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  128. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  129. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  130. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  131. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  132. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  133. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  134. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -1
  135. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
  136. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  137. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  138. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  139. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
  140. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
  141. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  142. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
  143. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
  144. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
  145. package/dist/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -1
  146. package/dist/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +5 -3
  147. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
  148. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
  149. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  150. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
  151. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  152. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +3 -1
  153. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +1 -1
  154. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +1 -1
  155. package/dist/version.d.ts +1 -1
  156. package/dist/version.js +1 -1
  157. package/package.json +1 -1
  158. package/reference.md +181 -358
  159. package/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
  160. package/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
  161. package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  162. package/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
  163. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
  164. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
  165. package/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -1
  166. package/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +5 -3
  167. package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
  168. package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
  169. package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  170. package/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
  171. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  172. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +3 -1
  173. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +1 -1
  174. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +1 -1
  175. package/version.d.ts +1 -1
  176. package/version.js +1 -1
@@ -31,7 +31,21 @@ export declare class V2 {
31
31
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
32
32
  *
33
33
  * @example
34
- * await client.encounterProviders.v2.updateReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
34
+ * await client.encounterProviders.v2.updateReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
35
+ * npi: "string",
36
+ * taxonomyCode: "string",
37
+ * address: {
38
+ * address1: "123 Main St",
39
+ * address2: "Apt 1",
40
+ * city: "New York",
41
+ * state: "NY",
42
+ * zipCode: "10001",
43
+ * zipPlusFourCode: "1234"
44
+ * },
45
+ * firstName: "string",
46
+ * lastName: "string",
47
+ * organizationName: "string"
48
+ * })
35
49
  */
36
50
  updateReferringProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.ReferringProviderUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.updateReferringProvider.Error>>;
37
51
  /**
@@ -40,7 +54,22 @@ export declare class V2 {
40
54
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
41
55
  *
42
56
  * @example
43
- * await client.encounterProviders.v2.updateInitialReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
57
+ * await client.encounterProviders.v2.updateInitialReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
58
+ * npi: "string",
59
+ * taxonomyCode: "string",
60
+ * address: {
61
+ * address1: "123 Main St",
62
+ * address2: "Apt 1",
63
+ * city: "New York",
64
+ * state: "NY",
65
+ * zipCode: "10001",
66
+ * zipPlusFourCode: "1234"
67
+ * },
68
+ * qualifier: "DQ",
69
+ * firstName: "string",
70
+ * lastName: "string",
71
+ * organizationName: "string"
72
+ * })
44
73
  */
45
74
  updateInitialReferringProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.InitialReferringProviderUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error>>;
46
75
  /**
@@ -49,7 +78,21 @@ export declare class V2 {
49
78
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
50
79
  *
51
80
  * @example
52
- * await client.encounterProviders.v2.updateSupervisingProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
81
+ * await client.encounterProviders.v2.updateSupervisingProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
82
+ * npi: "string",
83
+ * taxonomyCode: "string",
84
+ * address: {
85
+ * address1: "123 Main St",
86
+ * address2: "Apt 1",
87
+ * city: "New York",
88
+ * state: "NY",
89
+ * zipCode: "10001",
90
+ * zipPlusFourCode: "1234"
91
+ * },
92
+ * firstName: "string",
93
+ * lastName: "string",
94
+ * organizationName: "string"
95
+ * })
53
96
  */
54
97
  updateSupervisingProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.SupervisingProviderUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.updateSupervisingProvider.Error>>;
55
98
  /**
@@ -68,7 +111,10 @@ export declare class V2 {
68
111
  * state: "NY",
69
112
  * zipCode: "10001",
70
113
  * zipPlusFourCode: "1234"
71
- * }
114
+ * },
115
+ * firstName: "string",
116
+ * lastName: "string",
117
+ * organizationName: "string"
72
118
  * })
73
119
  */
74
120
  updateOrderingProvider(serviceLineId: CandidApi.ServiceLineId, request: CandidApi.encounterProviders.v2.OrderingProviderUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.updateOrderingProvider.Error>>;
@@ -88,7 +134,10 @@ export declare class V2 {
88
134
  * state: "NY",
89
135
  * zipCode: "10001",
90
136
  * zipPlusFourCode: "1234"
91
- * }
137
+ * },
138
+ * firstName: "string",
139
+ * lastName: "string",
140
+ * organizationName: "string"
92
141
  * })
93
142
  */
94
143
  createReferringProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.ReferringProvider, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.createReferringProvider.Error>>;
@@ -109,7 +158,10 @@ export declare class V2 {
109
158
  * zipCode: "10001",
110
159
  * zipPlusFourCode: "1234"
111
160
  * },
112
- * qualifier: "DQ"
161
+ * qualifier: "DQ",
162
+ * firstName: "string",
163
+ * lastName: "string",
164
+ * organizationName: "string"
113
165
  * })
114
166
  */
115
167
  createInitialReferringProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.InitialReferringProvider, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.createInitialReferringProvider.Error>>;
@@ -129,7 +181,10 @@ export declare class V2 {
129
181
  * state: "NY",
130
182
  * zipCode: "10001",
131
183
  * zipPlusFourCode: "1234"
132
- * }
184
+ * },
185
+ * firstName: "string",
186
+ * lastName: "string",
187
+ * organizationName: "string"
133
188
  * })
134
189
  */
135
190
  createSupervisingProvider(encounterId: CandidApi.EncounterId, request: CandidApi.encounterProviders.v2.SupervisingProvider, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.createSupervisingProvider.Error>>;
@@ -149,7 +204,10 @@ export declare class V2 {
149
204
  * state: "NY",
150
205
  * zipCode: "10001",
151
206
  * zipPlusFourCode: "1234"
152
- * }
207
+ * },
208
+ * firstName: "string",
209
+ * lastName: "string",
210
+ * organizationName: "string"
153
211
  * })
154
212
  */
155
213
  createOrderingProvider(serviceLineId: CandidApi.ServiceLineId, request: CandidApi.encounterProviders.v2.OrderingProvider, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.encounterProviders.v2.EncounterProvider, CandidApi.encounterProviders.v2.createOrderingProvider.Error>>;
@@ -64,7 +64,21 @@ class V2 {
64
64
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
65
65
  *
66
66
  * @example
67
- * await client.encounterProviders.v2.updateReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
67
+ * await client.encounterProviders.v2.updateReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
68
+ * npi: "string",
69
+ * taxonomyCode: "string",
70
+ * address: {
71
+ * address1: "123 Main St",
72
+ * address2: "Apt 1",
73
+ * city: "New York",
74
+ * state: "NY",
75
+ * zipCode: "10001",
76
+ * zipPlusFourCode: "1234"
77
+ * },
78
+ * firstName: "string",
79
+ * lastName: "string",
80
+ * organizationName: "string"
81
+ * })
68
82
  */
69
83
  updateReferringProvider(encounterId, request, requestOptions) {
70
84
  return __awaiter(this, void 0, void 0, function* () {
@@ -72,7 +86,7 @@ class V2 {
72
86
  const _response = yield core.fetcher({
73
87
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
74
88
  method: "PATCH",
75
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
89
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
90
  contentType: "application/json",
77
91
  requestType: "json",
78
92
  body: serializers.encounterProviders.v2.ReferringProviderUpdate.jsonOrThrow(request, {
@@ -120,7 +134,22 @@ class V2 {
120
134
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
121
135
  *
122
136
  * @example
123
- * await client.encounterProviders.v2.updateInitialReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
137
+ * await client.encounterProviders.v2.updateInitialReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
138
+ * npi: "string",
139
+ * taxonomyCode: "string",
140
+ * address: {
141
+ * address1: "123 Main St",
142
+ * address2: "Apt 1",
143
+ * city: "New York",
144
+ * state: "NY",
145
+ * zipCode: "10001",
146
+ * zipPlusFourCode: "1234"
147
+ * },
148
+ * qualifier: "DQ",
149
+ * firstName: "string",
150
+ * lastName: "string",
151
+ * organizationName: "string"
152
+ * })
124
153
  */
125
154
  updateInitialReferringProvider(encounterId, request, requestOptions) {
126
155
  return __awaiter(this, void 0, void 0, function* () {
@@ -128,7 +157,7 @@ class V2 {
128
157
  const _response = yield core.fetcher({
129
158
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/initial-referring-provider`),
130
159
  method: "PATCH",
131
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
160
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
132
161
  contentType: "application/json",
133
162
  requestType: "json",
134
163
  body: serializers.encounterProviders.v2.InitialReferringProviderUpdate.jsonOrThrow(request, {
@@ -177,7 +206,21 @@ class V2 {
177
206
  * @param {V2.RequestOptions} requestOptions - Request-specific configuration.
178
207
  *
179
208
  * @example
180
- * await client.encounterProviders.v2.updateSupervisingProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {})
209
+ * await client.encounterProviders.v2.updateSupervisingProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
210
+ * npi: "string",
211
+ * taxonomyCode: "string",
212
+ * address: {
213
+ * address1: "123 Main St",
214
+ * address2: "Apt 1",
215
+ * city: "New York",
216
+ * state: "NY",
217
+ * zipCode: "10001",
218
+ * zipPlusFourCode: "1234"
219
+ * },
220
+ * firstName: "string",
221
+ * lastName: "string",
222
+ * organizationName: "string"
223
+ * })
181
224
  */
182
225
  updateSupervisingProvider(encounterId, request, requestOptions) {
183
226
  return __awaiter(this, void 0, void 0, function* () {
@@ -185,7 +228,7 @@ class V2 {
185
228
  const _response = yield core.fetcher({
186
229
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/supervising-provider`),
187
230
  method: "PATCH",
188
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
231
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
189
232
  contentType: "application/json",
190
233
  requestType: "json",
191
234
  body: serializers.encounterProviders.v2.SupervisingProviderUpdate.jsonOrThrow(request, {
@@ -244,7 +287,10 @@ class V2 {
244
287
  * state: "NY",
245
288
  * zipCode: "10001",
246
289
  * zipPlusFourCode: "1234"
247
- * }
290
+ * },
291
+ * firstName: "string",
292
+ * lastName: "string",
293
+ * organizationName: "string"
248
294
  * })
249
295
  */
250
296
  updateOrderingProvider(serviceLineId, request, requestOptions) {
@@ -253,7 +299,7 @@ class V2 {
253
299
  const _response = yield core.fetcher({
254
300
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/ordering-provider`),
255
301
  method: "PATCH",
256
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
302
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
257
303
  contentType: "application/json",
258
304
  requestType: "json",
259
305
  body: serializers.encounterProviders.v2.OrderingProviderUpdate.jsonOrThrow(request, {
@@ -311,7 +357,10 @@ class V2 {
311
357
  * state: "NY",
312
358
  * zipCode: "10001",
313
359
  * zipPlusFourCode: "1234"
314
- * }
360
+ * },
361
+ * firstName: "string",
362
+ * lastName: "string",
363
+ * organizationName: "string"
315
364
  * })
316
365
  */
317
366
  createReferringProvider(encounterId, request, requestOptions) {
@@ -320,7 +369,7 @@ class V2 {
320
369
  const _response = yield core.fetcher({
321
370
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/create-referring-provider`),
322
371
  method: "POST",
323
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
372
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
324
373
  contentType: "application/json",
325
374
  requestType: "json",
326
375
  body: serializers.encounterProviders.v2.ReferringProvider.jsonOrThrow(request, {
@@ -380,7 +429,10 @@ class V2 {
380
429
  * zipCode: "10001",
381
430
  * zipPlusFourCode: "1234"
382
431
  * },
383
- * qualifier: "DQ"
432
+ * qualifier: "DQ",
433
+ * firstName: "string",
434
+ * lastName: "string",
435
+ * organizationName: "string"
384
436
  * })
385
437
  */
386
438
  createInitialReferringProvider(encounterId, request, requestOptions) {
@@ -389,7 +441,7 @@ class V2 {
389
441
  const _response = yield core.fetcher({
390
442
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/create-initial-referring-provider`),
391
443
  method: "POST",
392
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
444
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
393
445
  contentType: "application/json",
394
446
  requestType: "json",
395
447
  body: serializers.encounterProviders.v2.InitialReferringProvider.jsonOrThrow(request, {
@@ -450,7 +502,10 @@ class V2 {
450
502
  * state: "NY",
451
503
  * zipCode: "10001",
452
504
  * zipPlusFourCode: "1234"
453
- * }
505
+ * },
506
+ * firstName: "string",
507
+ * lastName: "string",
508
+ * organizationName: "string"
454
509
  * })
455
510
  */
456
511
  createSupervisingProvider(encounterId, request, requestOptions) {
@@ -459,7 +514,7 @@ class V2 {
459
514
  const _response = yield core.fetcher({
460
515
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/create-supervising-provider`),
461
516
  method: "POST",
462
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
517
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
463
518
  contentType: "application/json",
464
519
  requestType: "json",
465
520
  body: serializers.encounterProviders.v2.SupervisingProvider.jsonOrThrow(request, {
@@ -519,7 +574,10 @@ class V2 {
519
574
  * state: "NY",
520
575
  * zipCode: "10001",
521
576
  * zipPlusFourCode: "1234"
522
- * }
577
+ * },
578
+ * firstName: "string",
579
+ * lastName: "string",
580
+ * organizationName: "string"
523
581
  * })
524
582
  */
525
583
  createOrderingProvider(serviceLineId, request, requestOptions) {
@@ -528,7 +586,7 @@ class V2 {
528
586
  const _response = yield core.fetcher({
529
587
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/create-ordering-provider`),
530
588
  method: "POST",
531
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
589
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
532
590
  contentType: "application/json",
533
591
  requestType: "json",
534
592
  body: serializers.encounterProviders.v2.OrderingProvider.jsonOrThrow(request, {
@@ -584,7 +642,7 @@ class V2 {
584
642
  const _response = yield core.fetcher({
585
643
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/referring-provider`),
586
644
  method: "DELETE",
587
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
645
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
588
646
  contentType: "application/json",
589
647
  requestType: "json",
590
648
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -631,7 +689,7 @@ class V2 {
631
689
  const _response = yield core.fetcher({
632
690
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/initial-referring-provider`),
633
691
  method: "DELETE",
634
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
692
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
635
693
  contentType: "application/json",
636
694
  requestType: "json",
637
695
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -678,7 +736,7 @@ class V2 {
678
736
  const _response = yield core.fetcher({
679
737
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/supervising-provider`),
680
738
  method: "DELETE",
681
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
739
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
682
740
  contentType: "application/json",
683
741
  requestType: "json",
684
742
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -725,7 +783,7 @@ class V2 {
725
783
  const _response = yield core.fetcher({
726
784
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/ordering-provider`),
727
785
  method: "DELETE",
728
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.0", "User-Agent": "candidhealth/0.43.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
786
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.43.1", "User-Agent": "candidhealth/0.43.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
729
787
  contentType: "application/json",
730
788
  requestType: "json",
731
789
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,