candidhealth 0.11.0 → 0.12.0

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 (173) 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/eligibility/resources/v2/client/Client.js +1 -1
  4. package/api/resources/encounters/resources/v4/client/Client.js +5 -4
  5. package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  6. package/api/resources/encounters/resources/v4/client/create.js +11 -0
  7. package/api/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.d.ts +6 -0
  8. package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  9. package/api/resources/encounters/resources/v4/types/index.js +1 -0
  10. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  11. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  12. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  13. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  14. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  15. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +3 -1
  16. package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +2 -1
  17. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
  18. package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  19. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +2 -2
  20. package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
  21. package/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -2
  22. package/api/resources/insuranceAdjudications/resources/v1/types/index.js +0 -2
  23. package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +6 -0
  24. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +66 -4
  25. package/api/resources/insuranceRefunds/resources/v1/client/getMulti.d.ts +22 -0
  26. package/api/resources/insuranceRefunds/resources/v1/client/getMulti.js +47 -0
  27. package/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +2 -0
  28. package/api/resources/insuranceRefunds/resources/v1/client/index.js +6 -1
  29. package/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +23 -0
  30. package/api/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
  31. package/api/resources/insuranceRefunds/resources/v1/client/requests/index.js +2 -0
  32. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.d.ts +10 -0
  33. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.js +12 -0
  34. package/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.d.ts +7 -0
  35. package/api/resources/insuranceRefunds/resources/v1/types/index.d.ts +2 -0
  36. package/api/resources/insuranceRefunds/resources/v1/types/index.js +2 -0
  37. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  38. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  39. package/api/resources/patientPayments/resources/v4/client/Client.js +8 -5
  40. package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -0
  41. package/api/resources/patientRefunds/resources/v1/client/Client.js +8 -5
  42. package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -0
  43. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  44. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  45. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  46. package/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +5 -0
  47. package/api/resources/x12/resources/v1/types/index.d.ts +2 -0
  48. package/api/resources/x12/resources/v1/types/index.js +2 -0
  49. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  50. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  51. package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
  52. package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -4
  53. package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
  54. package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
  55. package/dist/api/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.d.ts +6 -0
  56. package/dist/api/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.js +5 -0
  57. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  58. package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
  59. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  60. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  61. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  62. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  63. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  64. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +3 -1
  65. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +2 -1
  66. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
  67. package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  68. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +2 -2
  69. package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
  70. package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -2
  71. package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.js +0 -2
  72. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +6 -0
  73. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +66 -4
  74. package/dist/api/resources/insuranceRefunds/resources/v1/client/getMulti.d.ts +22 -0
  75. package/dist/api/resources/insuranceRefunds/resources/v1/client/getMulti.js +47 -0
  76. package/dist/api/resources/insuranceRefunds/resources/v1/client/index.d.ts +2 -0
  77. package/dist/api/resources/insuranceRefunds/resources/v1/client/index.js +6 -1
  78. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +23 -0
  79. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.js +5 -0
  80. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/index.d.ts +1 -0
  81. package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/index.js +2 -0
  82. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.d.ts +10 -0
  83. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.js +12 -0
  84. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.d.ts +7 -0
  85. package/dist/api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.js +5 -0
  86. package/dist/api/resources/insuranceRefunds/resources/v1/types/index.d.ts +2 -0
  87. package/dist/api/resources/insuranceRefunds/resources/v1/types/index.js +2 -0
  88. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  89. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  90. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +8 -5
  91. package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -0
  92. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +8 -5
  93. package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -0
  94. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  95. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  96. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  97. package/dist/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +5 -0
  98. package/dist/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.js +5 -0
  99. package/dist/api/resources/x12/resources/v1/types/index.d.ts +2 -0
  100. package/dist/api/resources/x12/resources/v1/types/index.js +2 -0
  101. package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +5 -1
  102. package/dist/serialization/resources/encounters/resources/v4/client/create.js +5 -0
  103. package/dist/serialization/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.d.ts +12 -0
  104. package/dist/serialization/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.js +33 -0
  105. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  106. package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  107. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +3 -1
  108. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +3 -1
  109. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +2 -1
  110. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +2 -1
  111. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
  112. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +1 -1
  113. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  114. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +1 -1
  115. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +2 -2
  116. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +2 -2
  117. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
  118. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +2 -2
  119. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -2
  120. package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +0 -2
  121. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.d.ts +10 -0
  122. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.js +31 -0
  123. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.d.ts +12 -0
  124. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.js +35 -0
  125. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/index.d.ts +2 -0
  126. package/dist/serialization/resources/insuranceRefunds/resources/v1/types/index.js +2 -0
  127. package/{serialization/resources/insuranceAdjudications → dist/serialization/resources/x12}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +1 -1
  128. package/{serialization/resources/insuranceAdjudications → dist/serialization/resources/x12}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +1 -1
  129. package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
  130. package/dist/serialization/resources/x12/resources/v1/types/index.js +2 -0
  131. package/package.json +1 -1
  132. package/serialization/resources/encounters/resources/v4/client/create.d.ts +5 -1
  133. package/serialization/resources/encounters/resources/v4/client/create.js +5 -0
  134. package/serialization/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.d.ts +12 -0
  135. package/serialization/resources/encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.js +33 -0
  136. package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  137. package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  138. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +3 -1
  139. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +3 -1
  140. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +2 -1
  141. package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +2 -1
  142. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +1 -1
  143. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +1 -1
  144. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -1
  145. package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +1 -1
  146. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +2 -2
  147. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +2 -2
  148. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +2 -2
  149. package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +2 -2
  150. package/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -2
  151. package/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +0 -2
  152. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.d.ts +10 -0
  153. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundSortField.js +31 -0
  154. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.d.ts +12 -0
  155. package/serialization/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.js +35 -0
  156. package/serialization/resources/insuranceRefunds/resources/v1/types/index.d.ts +2 -0
  157. package/serialization/resources/insuranceRefunds/resources/v1/types/index.js +2 -0
  158. package/{dist/serialization/resources/insuranceAdjudications → serialization/resources/x12}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +1 -1
  159. package/{dist/serialization/resources/insuranceAdjudications → serialization/resources/x12}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +1 -1
  160. package/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
  161. package/serialization/resources/x12/resources/v1/types/index.js +2 -0
  162. /package/api/resources/{insuranceAdjudications/resources/v1/types/ClaimAdjustmentReasonCode.js → encounters/resources/v4/types/EncounterPatientControlNumberUniquenessErrorType.js} +0 -0
  163. /package/api/resources/{insuranceAdjudications/resources/v1/types/RemittanceAdviceRemarkCode.js → insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.js} +0 -0
  164. /package/{dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjustmentReasonCode.js → api/resources/insuranceRefunds/resources/v1/types/InsuranceRefundsPage.js} +0 -0
  165. /package/api/resources/{insuranceAdjudications → x12}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -0
  166. /package/{dist/api/resources/insuranceAdjudications/resources/v1/types/RemittanceAdviceRemarkCode.js → api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js} +0 -0
  167. /package/api/resources/{insuranceAdjudications → x12}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -0
  168. /package/dist/api/resources/{insuranceAdjudications → x12}/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -0
  169. /package/dist/api/resources/{insuranceAdjudications → x12}/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -0
  170. /package/dist/serialization/resources/{insuranceAdjudications → x12}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
  171. /package/dist/serialization/resources/{insuranceAdjudications → x12}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
  172. /package/serialization/resources/{insuranceAdjudications → x12}/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -0
  173. /package/serialization/resources/{insuranceAdjudications → x12}/resources/v1/types/RemittanceAdviceRemarkCode.js +0 -0
@@ -11,6 +11,6 @@ export interface ServiceLineAdjudication {
11
11
  deductibleAmountCents?: number;
12
12
  coinsuranceAmountCents?: number;
13
13
  copayAmountCents?: number;
14
- carcs: CandidApi.insuranceAdjudications.v1.ClaimAdjustmentReasonCode[];
15
- rarcs: CandidApi.insuranceAdjudications.v1.RemittanceAdviceRemarkCode[];
14
+ carcs: CandidApi.x12.v1.ClaimAdjustmentReasonCode[];
15
+ rarcs: CandidApi.x12.v1.RemittanceAdviceRemarkCode[];
16
16
  }
@@ -10,6 +10,6 @@ export interface ServiceLineAdjudicationCreate {
10
10
  deductibleAmountCents?: number;
11
11
  coinsuranceAmountCents?: number;
12
12
  copayAmountCents?: number;
13
- carcs: CandidApi.insuranceAdjudications.v1.ClaimAdjustmentReasonCode[];
14
- rarcs: CandidApi.insuranceAdjudications.v1.RemittanceAdviceRemarkCode[];
13
+ carcs: CandidApi.x12.v1.ClaimAdjustmentReasonCode[];
14
+ rarcs: CandidApi.x12.v1.RemittanceAdviceRemarkCode[];
15
15
  }
@@ -6,5 +6,3 @@ export * from "./ClaimAdjudicationCreate";
6
6
  export * from "./ClaimAdjudication";
7
7
  export * from "./ServiceLineAdjudicationCreate";
8
8
  export * from "./ServiceLineAdjudication";
9
- export * from "./ClaimAdjustmentReasonCode";
10
- export * from "./RemittanceAdviceRemarkCode";
@@ -22,5 +22,3 @@ __exportStar(require("./ClaimAdjudicationCreate"), exports);
22
22
  __exportStar(require("./ClaimAdjudication"), exports);
23
23
  __exportStar(require("./ServiceLineAdjudicationCreate"), exports);
24
24
  __exportStar(require("./ServiceLineAdjudication"), exports);
25
- __exportStar(require("./ClaimAdjustmentReasonCode"), exports);
26
- __exportStar(require("./RemittanceAdviceRemarkCode"), exports);
@@ -13,6 +13,12 @@ export declare namespace V1 {
13
13
  export declare class V1 {
14
14
  protected readonly options: V1.Options;
15
15
  constructor(options: V1.Options);
16
+ /**
17
+ * Returns all insurance refunds satisfying the search criteria AND whose organization_id matches
18
+ * the current organization_id of the authenticated user.
19
+ *
20
+ */
21
+ getMulti(request?: CandidApi.insuranceRefunds.v1.GetMultiInsuranceRefundsRequest): Promise<core.APIResponse<CandidApi.insuranceRefunds.v1.InsuranceRefundsPage, CandidApi.insuranceRefunds.v1.getMulti.Error>>;
16
22
  /**
17
23
  * Retrieves a previously created insurance refund by its `insurance_refund_id`.
18
24
  * If the refund does not exist, a `403` will be thrown.
@@ -33,13 +33,75 @@ exports.V1 = void 0;
33
33
  const environments = __importStar(require("../../../../../../environments"));
34
34
  const core = __importStar(require("../../../../../../core"));
35
35
  const CandidApi = __importStar(require("../../../../.."));
36
- const serializers = __importStar(require("../../../../../../serialization"));
36
+ const url_search_params_1 = __importDefault(require("@ungap/url-search-params"));
37
37
  const url_join_1 = __importDefault(require("url-join"));
38
+ const serializers = __importStar(require("../../../../../../serialization"));
38
39
  class V1 {
39
40
  options;
40
41
  constructor(options) {
41
42
  this.options = options;
42
43
  }
44
+ /**
45
+ * Returns all insurance refunds satisfying the search criteria AND whose organization_id matches
46
+ * the current organization_id of the authenticated user.
47
+ *
48
+ */
49
+ async getMulti(request = {}) {
50
+ const { limit, payerUuid, claimId, serviceLineId, billingProviderId, sort, sortDirection, pageToken } = request;
51
+ const _queryParams = new url_search_params_1.default();
52
+ if (limit != null) {
53
+ _queryParams.append("limit", limit.toString());
54
+ }
55
+ if (payerUuid != null) {
56
+ _queryParams.append("payer_uuid", payerUuid);
57
+ }
58
+ if (claimId != null) {
59
+ _queryParams.append("claim_id", claimId);
60
+ }
61
+ if (serviceLineId != null) {
62
+ _queryParams.append("service_line_id", serviceLineId);
63
+ }
64
+ if (billingProviderId != null) {
65
+ _queryParams.append("billing_provider_id", billingProviderId);
66
+ }
67
+ if (sort != null) {
68
+ _queryParams.append("sort", sort);
69
+ }
70
+ if (sortDirection != null) {
71
+ _queryParams.append("sort_direction", sortDirection);
72
+ }
73
+ if (pageToken != null) {
74
+ _queryParams.append("page_token", pageToken);
75
+ }
76
+ const _response = await core.fetcher({
77
+ url: (0, url_join_1.default)(this.options.environment ?? environments.CandidApiEnvironment.Production, "/api/insurance-refunds/v1"),
78
+ method: "GET",
79
+ headers: {
80
+ Authorization: await this._getAuthorizationHeader(),
81
+ "X-Fern-Language": "JavaScript",
82
+ "X-Fern-SDK-Name": "candidhealth",
83
+ "X-Fern-SDK-Version": "0.12.0",
84
+ },
85
+ contentType: "application/json",
86
+ queryParameters: _queryParams,
87
+ timeoutMs: 60000,
88
+ });
89
+ if (_response.ok) {
90
+ return {
91
+ ok: true,
92
+ body: await serializers.insuranceRefunds.v1.InsuranceRefundsPage.parseOrThrow(_response.body, {
93
+ unrecognizedObjectKeys: "passthrough",
94
+ allowUnrecognizedUnionMembers: true,
95
+ allowUnrecognizedEnumValues: true,
96
+ breadcrumbsPrefix: ["response"],
97
+ }),
98
+ };
99
+ }
100
+ return {
101
+ ok: false,
102
+ error: CandidApi.insuranceRefunds.v1.getMulti.Error._unknown(_response.error),
103
+ };
104
+ }
43
105
  /**
44
106
  * Retrieves a previously created insurance refund by its `insurance_refund_id`.
45
107
  * If the refund does not exist, a `403` will be thrown.
@@ -53,7 +115,7 @@ class V1 {
53
115
  Authorization: await this._getAuthorizationHeader(),
54
116
  "X-Fern-Language": "JavaScript",
55
117
  "X-Fern-SDK-Name": "candidhealth",
56
- "X-Fern-SDK-Version": "0.11.0",
118
+ "X-Fern-SDK-Version": "0.12.0",
57
119
  },
58
120
  contentType: "application/json",
59
121
  timeoutMs: 60000,
@@ -88,7 +150,7 @@ class V1 {
88
150
  Authorization: await this._getAuthorizationHeader(),
89
151
  "X-Fern-Language": "JavaScript",
90
152
  "X-Fern-SDK-Name": "candidhealth",
91
- "X-Fern-SDK-Version": "0.11.0",
153
+ "X-Fern-SDK-Version": "0.12.0",
92
154
  },
93
155
  contentType: "application/json",
94
156
  body: await serializers.insuranceRefunds.v1.InsuranceRefundCreate.jsonOrThrow(request, {
@@ -126,7 +188,7 @@ class V1 {
126
188
  Authorization: await this._getAuthorizationHeader(),
127
189
  "X-Fern-Language": "JavaScript",
128
190
  "X-Fern-SDK-Name": "candidhealth",
129
- "X-Fern-SDK-Version": "0.11.0",
191
+ "X-Fern-SDK-Version": "0.12.0",
130
192
  },
131
193
  contentType: "application/json",
132
194
  timeoutMs: 60000,
@@ -0,0 +1,22 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ import * as core from "../../../../../../core";
6
+ export declare type Error = CandidApi.insuranceRefunds.v1.getMulti.Error._Unknown;
7
+ export declare namespace Error {
8
+ interface _Unknown extends _Utils {
9
+ errorName: void;
10
+ content: core.Fetcher.Error;
11
+ }
12
+ interface _Utils {
13
+ _visit: <_Result>(visitor: CandidApi.insuranceRefunds.v1.getMulti.Error._Visitor<_Result>) => _Result;
14
+ }
15
+ interface _Visitor<_Result> {
16
+ _other: (value: core.Fetcher.Error) => _Result;
17
+ }
18
+ }
19
+ export declare const Error: {
20
+ readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.insuranceRefunds.v1.getMulti.Error._Unknown;
21
+ readonly _visit: <_Result>(value: CandidApi.insuranceRefunds.v1.getMulti.Error, visitor: CandidApi.insuranceRefunds.v1.getMulti.Error._Visitor<_Result>) => _Result;
22
+ };
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Error = void 0;
30
+ const CandidApi = __importStar(require("../../../../.."));
31
+ exports.Error = {
32
+ _unknown: (fetcherError) => {
33
+ return {
34
+ errorName: undefined,
35
+ content: fetcherError,
36
+ _visit: function (visitor) {
37
+ return CandidApi.insuranceRefunds.v1.getMulti.Error._visit(this, visitor);
38
+ },
39
+ };
40
+ },
41
+ _visit: (value, visitor) => {
42
+ switch (value.errorName) {
43
+ default:
44
+ return visitor._other(value);
45
+ }
46
+ },
47
+ };
@@ -1,3 +1,5 @@
1
+ export * from "./requests";
2
+ export * as getMulti from "./getMulti";
1
3
  export * as get from "./get";
2
4
  export * as create from "./create";
3
5
  export * as delete from "./delete";
@@ -15,6 +15,9 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
18
21
  var __importStar = (this && this.__importStar) || function (mod) {
19
22
  if (mod && mod.__esModule) return mod;
20
23
  var result = {};
@@ -23,7 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
26
  return result;
24
27
  };
25
28
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.delete = exports.create = exports.get = void 0;
29
+ exports.delete = exports.create = exports.get = exports.getMulti = void 0;
30
+ __exportStar(require("./requests"), exports);
31
+ exports.getMulti = __importStar(require("./getMulti"));
27
32
  exports.get = __importStar(require("./get"));
28
33
  exports.create = __importStar(require("./create"));
29
34
  exports.delete = __importStar(require("./delete"));
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../..";
5
+ export interface GetMultiInsuranceRefundsRequest {
6
+ /**
7
+ * Defaults to 100. The value must be greater than 0 and less than 1000.
8
+ */
9
+ limit?: number;
10
+ payerUuid?: CandidApi.payers.v3.PayerUuid;
11
+ claimId?: CandidApi.ClaimId;
12
+ serviceLineId?: CandidApi.ServiceLineId;
13
+ billingProviderId?: CandidApi.ProviderId;
14
+ /**
15
+ * Defaults to refund_timestamp
16
+ */
17
+ sort?: CandidApi.insuranceRefunds.v1.InsuranceRefundSortField;
18
+ /**
19
+ * Sort direction. Defaults to descending order if not provided.
20
+ */
21
+ sortDirection?: CandidApi.SortDirection;
22
+ pageToken?: CandidApi.PageToken;
23
+ }
@@ -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 });
@@ -0,0 +1 @@
1
+ export { GetMultiInsuranceRefundsRequest } from "./GetMultiInsuranceRefundsRequest";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type InsuranceRefundSortField = "amount_cents" | "refund_timestamp" | "refund_note" | "refund_reason";
5
+ export declare const InsuranceRefundSortField: {
6
+ readonly AmountCents: "amount_cents";
7
+ readonly RefundTimestamp: "refund_timestamp";
8
+ readonly RefundNote: "refund_note";
9
+ readonly RefundReason: "refund_reason";
10
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.InsuranceRefundSortField = void 0;
7
+ exports.InsuranceRefundSortField = {
8
+ AmountCents: "amount_cents",
9
+ RefundTimestamp: "refund_timestamp",
10
+ RefundNote: "refund_note",
11
+ RefundReason: "refund_reason",
12
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../..";
5
+ export interface InsuranceRefundsPage extends CandidApi.ResourcePage {
6
+ items: CandidApi.insuranceRefunds.v1.InsuranceRefund[];
7
+ }
@@ -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 });
@@ -1,3 +1,5 @@
1
1
  export * from "./InsuranceRefundId";
2
2
  export * from "./InsuranceRefund";
3
3
  export * from "./InsuranceRefundCreate";
4
+ export * from "./InsuranceRefundsPage";
5
+ export * from "./InsuranceRefundSortField";
@@ -17,3 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./InsuranceRefundId"), exports);
18
18
  __exportStar(require("./InsuranceRefund"), exports);
19
19
  __exportStar(require("./InsuranceRefundCreate"), exports);
20
+ __exportStar(require("./InsuranceRefundsPage"), exports);
21
+ __exportStar(require("./InsuranceRefundSortField"), exports);
@@ -49,7 +49,7 @@ class V3 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.11.0",
52
+ "X-Fern-SDK-Version": "0.12.0",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -115,7 +115,7 @@ class V3 {
115
115
  Authorization: await this._getAuthorizationHeader(),
116
116
  "X-Fern-Language": "JavaScript",
117
117
  "X-Fern-SDK-Name": "candidhealth",
118
- "X-Fern-SDK-Version": "0.11.0",
118
+ "X-Fern-SDK-Version": "0.12.0",
119
119
  },
120
120
  contentType: "application/json",
121
121
  queryParameters: _queryParams,
@@ -145,7 +145,7 @@ class V3 {
145
145
  Authorization: await this._getAuthorizationHeader(),
146
146
  "X-Fern-Language": "JavaScript",
147
147
  "X-Fern-SDK-Name": "candidhealth",
148
- "X-Fern-SDK-Version": "0.11.0",
148
+ "X-Fern-SDK-Version": "0.12.0",
149
149
  },
150
150
  contentType: "application/json",
151
151
  body: await serializers.organizationProviders.v3.OrganizationProviderCreateV2.jsonOrThrow(request, {
@@ -192,7 +192,7 @@ class V3 {
192
192
  Authorization: await this._getAuthorizationHeader(),
193
193
  "X-Fern-Language": "JavaScript",
194
194
  "X-Fern-SDK-Name": "candidhealth",
195
- "X-Fern-SDK-Version": "0.11.0",
195
+ "X-Fern-SDK-Version": "0.12.0",
196
196
  },
197
197
  contentType: "application/json",
198
198
  body: await serializers.organizationProviders.v3.OrganizationProviderUpdateV2.jsonOrThrow(request, {
@@ -49,7 +49,7 @@ class V2 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.11.0",
52
+ "X-Fern-SDK-Version": "0.12.0",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -103,7 +103,7 @@ class V2 {
103
103
  Authorization: await this._getAuthorizationHeader(),
104
104
  "X-Fern-Language": "JavaScript",
105
105
  "X-Fern-SDK-Name": "candidhealth",
106
- "X-Fern-SDK-Version": "0.11.0",
106
+ "X-Fern-SDK-Version": "0.12.0",
107
107
  },
108
108
  contentType: "application/json",
109
109
  queryParameters: _queryParams,
@@ -133,7 +133,7 @@ class V2 {
133
133
  Authorization: await this._getAuthorizationHeader(),
134
134
  "X-Fern-Language": "JavaScript",
135
135
  "X-Fern-SDK-Name": "candidhealth",
136
- "X-Fern-SDK-Version": "0.11.0",
136
+ "X-Fern-SDK-Version": "0.12.0",
137
137
  },
138
138
  contentType: "application/json",
139
139
  body: await serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -177,7 +177,7 @@ class V2 {
177
177
  Authorization: await this._getAuthorizationHeader(),
178
178
  "X-Fern-Language": "JavaScript",
179
179
  "X-Fern-SDK-Name": "candidhealth",
180
- "X-Fern-SDK-Version": "0.11.0",
180
+ "X-Fern-SDK-Version": "0.12.0",
181
181
  },
182
182
  contentType: "application/json",
183
183
  body: await serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -222,7 +222,7 @@ class V2 {
222
222
  Authorization: await this._getAuthorizationHeader(),
223
223
  "X-Fern-Language": "JavaScript",
224
224
  "X-Fern-SDK-Name": "candidhealth",
225
- "X-Fern-SDK-Version": "0.11.0",
225
+ "X-Fern-SDK-Version": "0.12.0",
226
226
  },
227
227
  contentType: "application/json",
228
228
  timeoutMs: 60000,
@@ -47,7 +47,7 @@ class V4 {
47
47
  *
48
48
  */
49
49
  async getMulti(request = {}) {
50
- const { limit, patientExternalId, claimId, serviceLineId, billingProviderId, sources, sort, sortDirection, pageToken, } = request;
50
+ const { limit, patientExternalId, claimId, serviceLineId, billingProviderId, invoiceId, sources, sort, sortDirection, pageToken, } = request;
51
51
  const _queryParams = new url_search_params_1.default();
52
52
  if (limit != null) {
53
53
  _queryParams.append("limit", limit.toString());
@@ -64,6 +64,9 @@ class V4 {
64
64
  if (billingProviderId != null) {
65
65
  _queryParams.append("billing_provider_id", billingProviderId);
66
66
  }
67
+ if (invoiceId != null) {
68
+ _queryParams.append("invoice_id", invoiceId);
69
+ }
67
70
  if (sources != null) {
68
71
  if (Array.isArray(sources)) {
69
72
  for (const _item of sources) {
@@ -90,7 +93,7 @@ class V4 {
90
93
  Authorization: await this._getAuthorizationHeader(),
91
94
  "X-Fern-Language": "JavaScript",
92
95
  "X-Fern-SDK-Name": "candidhealth",
93
- "X-Fern-SDK-Version": "0.11.0",
96
+ "X-Fern-SDK-Version": "0.12.0",
94
97
  },
95
98
  contentType: "application/json",
96
99
  queryParameters: _queryParams,
@@ -124,7 +127,7 @@ class V4 {
124
127
  Authorization: await this._getAuthorizationHeader(),
125
128
  "X-Fern-Language": "JavaScript",
126
129
  "X-Fern-SDK-Name": "candidhealth",
127
- "X-Fern-SDK-Version": "0.11.0",
130
+ "X-Fern-SDK-Version": "0.12.0",
128
131
  },
129
132
  contentType: "application/json",
130
133
  timeoutMs: 60000,
@@ -159,7 +162,7 @@ class V4 {
159
162
  Authorization: await this._getAuthorizationHeader(),
160
163
  "X-Fern-Language": "JavaScript",
161
164
  "X-Fern-SDK-Name": "candidhealth",
162
- "X-Fern-SDK-Version": "0.11.0",
165
+ "X-Fern-SDK-Version": "0.12.0",
163
166
  },
164
167
  contentType: "application/json",
165
168
  body: await serializers.patientPayments.v4.PatientPaymentCreate.jsonOrThrow(request, {
@@ -195,7 +198,7 @@ class V4 {
195
198
  Authorization: await this._getAuthorizationHeader(),
196
199
  "X-Fern-Language": "JavaScript",
197
200
  "X-Fern-SDK-Name": "candidhealth",
198
- "X-Fern-SDK-Version": "0.11.0",
201
+ "X-Fern-SDK-Version": "0.12.0",
199
202
  },
200
203
  contentType: "application/json",
201
204
  timeoutMs: 60000,
@@ -11,6 +11,7 @@ export interface GetMultiPatientPaymentsRequest {
11
11
  claimId?: CandidApi.ClaimId;
12
12
  serviceLineId?: CandidApi.ServiceLineId;
13
13
  billingProviderId?: CandidApi.ProviderId;
14
+ invoiceId?: CandidApi.InvoiceId;
14
15
  sources?: CandidApi.PatientTransactionSource | CandidApi.PatientTransactionSource[];
15
16
  /**
16
17
  * Defaults to payment_timestamp
@@ -47,7 +47,7 @@ class V1 {
47
47
  *
48
48
  */
49
49
  async getMulti(request = {}) {
50
- const { limit, patientExternalId, claimId, serviceLineId, billingProviderId, sources, sort, sortDirection, pageToken, } = request;
50
+ const { limit, patientExternalId, claimId, serviceLineId, billingProviderId, invoiceId, sources, sort, sortDirection, pageToken, } = request;
51
51
  const _queryParams = new url_search_params_1.default();
52
52
  if (limit != null) {
53
53
  _queryParams.append("limit", limit.toString());
@@ -64,6 +64,9 @@ class V1 {
64
64
  if (billingProviderId != null) {
65
65
  _queryParams.append("billing_provider_id", billingProviderId);
66
66
  }
67
+ if (invoiceId != null) {
68
+ _queryParams.append("invoice_id", invoiceId);
69
+ }
67
70
  if (sources != null) {
68
71
  if (Array.isArray(sources)) {
69
72
  for (const _item of sources) {
@@ -90,7 +93,7 @@ class V1 {
90
93
  Authorization: await this._getAuthorizationHeader(),
91
94
  "X-Fern-Language": "JavaScript",
92
95
  "X-Fern-SDK-Name": "candidhealth",
93
- "X-Fern-SDK-Version": "0.11.0",
96
+ "X-Fern-SDK-Version": "0.12.0",
94
97
  },
95
98
  contentType: "application/json",
96
99
  queryParameters: _queryParams,
@@ -124,7 +127,7 @@ class V1 {
124
127
  Authorization: await this._getAuthorizationHeader(),
125
128
  "X-Fern-Language": "JavaScript",
126
129
  "X-Fern-SDK-Name": "candidhealth",
127
- "X-Fern-SDK-Version": "0.11.0",
130
+ "X-Fern-SDK-Version": "0.12.0",
128
131
  },
129
132
  contentType: "application/json",
130
133
  timeoutMs: 60000,
@@ -159,7 +162,7 @@ class V1 {
159
162
  Authorization: await this._getAuthorizationHeader(),
160
163
  "X-Fern-Language": "JavaScript",
161
164
  "X-Fern-SDK-Name": "candidhealth",
162
- "X-Fern-SDK-Version": "0.11.0",
165
+ "X-Fern-SDK-Version": "0.12.0",
163
166
  },
164
167
  contentType: "application/json",
165
168
  body: await serializers.patientRefunds.v1.PatientRefundCreate.jsonOrThrow(request, {
@@ -195,7 +198,7 @@ class V1 {
195
198
  Authorization: await this._getAuthorizationHeader(),
196
199
  "X-Fern-Language": "JavaScript",
197
200
  "X-Fern-SDK-Name": "candidhealth",
198
- "X-Fern-SDK-Version": "0.11.0",
201
+ "X-Fern-SDK-Version": "0.12.0",
199
202
  },
200
203
  contentType: "application/json",
201
204
  timeoutMs: 60000,
@@ -11,6 +11,7 @@ export interface GetMultiPatientRefundsRequest {
11
11
  claimId?: CandidApi.ClaimId;
12
12
  serviceLineId?: CandidApi.ServiceLineId;
13
13
  billingProviderId?: CandidApi.ProviderId;
14
+ invoiceId?: CandidApi.InvoiceId;
14
15
  sources?: CandidApi.PatientTransactionSource | CandidApi.PatientTransactionSource[];
15
16
  /**
16
17
  * Defaults to refund_timestamp
@@ -49,7 +49,7 @@ class V3 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.11.0",
52
+ "X-Fern-SDK-Version": "0.12.0",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -89,7 +89,7 @@ class V3 {
89
89
  Authorization: await this._getAuthorizationHeader(),
90
90
  "X-Fern-Language": "JavaScript",
91
91
  "X-Fern-SDK-Name": "candidhealth",
92
- "X-Fern-SDK-Version": "0.11.0",
92
+ "X-Fern-SDK-Version": "0.12.0",
93
93
  },
94
94
  contentType: "application/json",
95
95
  queryParameters: _queryParams,
@@ -49,7 +49,7 @@ class V3 {
49
49
  Authorization: await this._getAuthorizationHeader(),
50
50
  "X-Fern-Language": "JavaScript",
51
51
  "X-Fern-SDK-Name": "candidhealth",
52
- "X-Fern-SDK-Version": "0.11.0",
52
+ "X-Fern-SDK-Version": "0.12.0",
53
53
  },
54
54
  contentType: "application/json",
55
55
  timeoutMs: 60000,
@@ -119,7 +119,7 @@ class V3 {
119
119
  Authorization: await this._getAuthorizationHeader(),
120
120
  "X-Fern-Language": "JavaScript",
121
121
  "X-Fern-SDK-Name": "candidhealth",
122
- "X-Fern-SDK-Version": "0.11.0",
122
+ "X-Fern-SDK-Version": "0.12.0",
123
123
  },
124
124
  contentType: "application/json",
125
125
  queryParameters: _queryParams,
@@ -163,7 +163,7 @@ class V3 {
163
163
  Authorization: await this._getAuthorizationHeader(),
164
164
  "X-Fern-Language": "JavaScript",
165
165
  "X-Fern-SDK-Name": "candidhealth",
166
- "X-Fern-SDK-Version": "0.11.0",
166
+ "X-Fern-SDK-Version": "0.12.0",
167
167
  },
168
168
  contentType: "application/json",
169
169
  timeoutMs: 60000,
@@ -207,7 +207,7 @@ class V3 {
207
207
  Authorization: await this._getAuthorizationHeader(),
208
208
  "X-Fern-Language": "JavaScript",
209
209
  "X-Fern-SDK-Name": "candidhealth",
210
- "X-Fern-SDK-Version": "0.11.0",
210
+ "X-Fern-SDK-Version": "0.12.0",
211
211
  },
212
212
  contentType: "application/json",
213
213
  body: await serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -237,7 +237,7 @@ class V3 {
237
237
  Authorization: await this._getAuthorizationHeader(),
238
238
  "X-Fern-Language": "JavaScript",
239
239
  "X-Fern-SDK-Name": "candidhealth",
240
- "X-Fern-SDK-Version": "0.11.0",
240
+ "X-Fern-SDK-Version": "0.12.0",
241
241
  },
242
242
  contentType: "application/json",
243
243
  body: await serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),