@s-corp-biz/biz-entity-api 1.6.0-development.3

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 (179) hide show
  1. package/lib/api/auth-api.d.ts +135 -0
  2. package/lib/api/auth-api.js +386 -0
  3. package/lib/api/class2553-irs-form-editor-api.d.ts +70 -0
  4. package/lib/api/class2553-irs-form-editor-api.js +211 -0
  5. package/lib/api/company-api.d.ts +262 -0
  6. package/lib/api/company-api.js +753 -0
  7. package/lib/api/depreciation-api.d.ts +196 -0
  8. package/lib/api/depreciation-api.js +564 -0
  9. package/lib/api/family-api.d.ts +247 -0
  10. package/lib/api/family-api.js +713 -0
  11. package/lib/api/people-api.d.ts +430 -0
  12. package/lib/api/people-api.js +1184 -0
  13. package/lib/api/personal-tax-report-adjustments-to-income-api.d.ts +290 -0
  14. package/lib/api/personal-tax-report-adjustments-to-income-api.js +824 -0
  15. package/lib/api/personal-tax-report-api.d.ts +298 -0
  16. package/lib/api/personal-tax-report-api.js +834 -0
  17. package/lib/api/personal-tax-report-capital-gain-api.d.ts +290 -0
  18. package/lib/api/personal-tax-report-capital-gain-api.js +824 -0
  19. package/lib/api/personal-tax-report-federal-tax-section-api.d.ts +228 -0
  20. package/lib/api/personal-tax-report-federal-tax-section-api.js +650 -0
  21. package/lib/api/personal-tax-report-minimum-amount-api.d.ts +104 -0
  22. package/lib/api/personal-tax-report-minimum-amount-api.js +302 -0
  23. package/lib/api/personal-tax-report-other-income-api.d.ts +290 -0
  24. package/lib/api/personal-tax-report-other-income-api.js +824 -0
  25. package/lib/api/personal-tax-report-personal-itemized-deductions-api.d.ts +290 -0
  26. package/lib/api/personal-tax-report-personal-itemized-deductions-api.js +824 -0
  27. package/lib/api/personal-tax-report-w2-wages-api.d.ts +204 -0
  28. package/lib/api/personal-tax-report-w2-wages-api.js +574 -0
  29. package/lib/api/quick-books-auth-api.d.ts +106 -0
  30. package/lib/api/quick-books-auth-api.js +310 -0
  31. package/lib/api/stripe-api.d.ts +70 -0
  32. package/lib/api/stripe-api.js +211 -0
  33. package/lib/api/tax-category-api.d.ts +66 -0
  34. package/lib/api/tax-category-api.js +205 -0
  35. package/lib/api/tax-category-map-api.d.ts +171 -0
  36. package/lib/api/tax-category-map-api.js +484 -0
  37. package/lib/api/tax-line-items-api.d.ts +133 -0
  38. package/lib/api/tax-line-items-api.js +386 -0
  39. package/lib/api.d.ts +30 -0
  40. package/lib/api.js +48 -0
  41. package/lib/base.d.ts +66 -0
  42. package/lib/base.js +86 -0
  43. package/lib/common.d.ts +65 -0
  44. package/lib/common.js +253 -0
  45. package/lib/configuration.d.ts +91 -0
  46. package/lib/configuration.js +57 -0
  47. package/lib/index.d.ts +14 -0
  48. package/lib/index.js +32 -0
  49. package/lib/models/accept-invitation-request.d.ts +31 -0
  50. package/lib/models/accept-invitation-request.js +15 -0
  51. package/lib/models/account-name-response.d.ts +42 -0
  52. package/lib/models/account-name-response.js +15 -0
  53. package/lib/models/account-type.d.ts +25 -0
  54. package/lib/models/account-type.js +29 -0
  55. package/lib/models/add-existing-member-request.d.ts +24 -0
  56. package/lib/models/add-existing-member-request.js +15 -0
  57. package/lib/models/add-family-member-request.d.ts +31 -0
  58. package/lib/models/add-family-member-request.js +15 -0
  59. package/lib/models/add-person-request.d.ts +91 -0
  60. package/lib/models/add-person-request.js +15 -0
  61. package/lib/models/authenticated-user-in-ui.d.ts +42 -0
  62. package/lib/models/authenticated-user-in-ui.js +15 -0
  63. package/lib/models/company-ownership-transfer-request.d.ts +24 -0
  64. package/lib/models/company-ownership-transfer-request.js +15 -0
  65. package/lib/models/company-response.d.ts +115 -0
  66. package/lib/models/company-response.js +15 -0
  67. package/lib/models/company-update-request.d.ts +66 -0
  68. package/lib/models/company-update-request.js +15 -0
  69. package/lib/models/company-user-response.d.ts +96 -0
  70. package/lib/models/company-user-response.js +15 -0
  71. package/lib/models/create-depreciation-request.d.ts +54 -0
  72. package/lib/models/create-depreciation-request.js +15 -0
  73. package/lib/models/create-payment-intent-request.d.ts +30 -0
  74. package/lib/models/create-payment-intent-request.js +15 -0
  75. package/lib/models/create-tax-line-item-request.d.ts +48 -0
  76. package/lib/models/create-tax-line-item-request.js +15 -0
  77. package/lib/models/create-w2-wages-request.d.ts +48 -0
  78. package/lib/models/create-w2-wages-request.js +15 -0
  79. package/lib/models/depreciation-response.d.ts +74 -0
  80. package/lib/models/depreciation-response.js +15 -0
  81. package/lib/models/family-member-info.d.ts +42 -0
  82. package/lib/models/family-member-info.js +15 -0
  83. package/lib/models/family-member-permission-request.d.ts +31 -0
  84. package/lib/models/family-member-permission-request.js +15 -0
  85. package/lib/models/family-member-response.d.ts +42 -0
  86. package/lib/models/family-member-response.js +15 -0
  87. package/lib/models/federal-tax-estimate-response.d.ts +30 -0
  88. package/lib/models/federal-tax-estimate-response.js +15 -0
  89. package/lib/models/filing-status-enum.d.ts +24 -0
  90. package/lib/models/filing-status-enum.js +28 -0
  91. package/lib/models/fill2553-irs-form-request.d.ts +54 -0
  92. package/lib/models/fill2553-irs-form-request.js +15 -0
  93. package/lib/models/head-personal-tax-report-summary-response.d.ts +39 -0
  94. package/lib/models/head-personal-tax-report-summary-response.js +15 -0
  95. package/lib/models/http-status-code.d.ts +80 -0
  96. package/lib/models/http-status-code.js +84 -0
  97. package/lib/models/index.d.ts +64 -0
  98. package/lib/models/index.js +80 -0
  99. package/lib/models/invitation-metadata-response.d.ts +67 -0
  100. package/lib/models/invitation-metadata-response.js +15 -0
  101. package/lib/models/join-family-by-company-request.d.ts +31 -0
  102. package/lib/models/join-family-by-company-request.js +15 -0
  103. package/lib/models/long-term-capital-gains-tax-response.d.ts +30 -0
  104. package/lib/models/long-term-capital-gains-tax-response.js +15 -0
  105. package/lib/models/monthly-data.d.ts +30 -0
  106. package/lib/models/monthly-data.js +15 -0
  107. package/lib/models/open-id-claim-response.d.ts +31 -0
  108. package/lib/models/open-id-claim-response.js +15 -0
  109. package/lib/models/open-id-options-result.d.ts +24 -0
  110. package/lib/models/open-id-options-result.js +15 -0
  111. package/lib/models/people-response.d.ts +108 -0
  112. package/lib/models/people-response.js +15 -0
  113. package/lib/models/permissions-enum.d.ts +24 -0
  114. package/lib/models/permissions-enum.js +28 -0
  115. package/lib/models/personal-tax-report-response.d.ts +55 -0
  116. package/lib/models/personal-tax-report-response.js +15 -0
  117. package/lib/models/problem-details.d.ts +49 -0
  118. package/lib/models/problem-details.js +15 -0
  119. package/lib/models/qbaccount-name-info.d.ts +30 -0
  120. package/lib/models/qbaccount-name-info.js +15 -0
  121. package/lib/models/qbaccounts.d.ts +54 -0
  122. package/lib/models/qbaccounts.js +15 -0
  123. package/lib/models/quick-books-account-mapping.d.ts +36 -0
  124. package/lib/models/quick-books-account-mapping.js +15 -0
  125. package/lib/models/resend-invitation-request.d.ts +30 -0
  126. package/lib/models/resend-invitation-request.js +15 -0
  127. package/lib/models/send-invitation-request.d.ts +42 -0
  128. package/lib/models/send-invitation-request.js +15 -0
  129. package/lib/models/shared-family-info-response.d.ts +44 -0
  130. package/lib/models/shared-family-info-response.js +15 -0
  131. package/lib/models/sign-in-with-open-id-req.d.ts +30 -0
  132. package/lib/models/sign-in-with-open-id-req.js +15 -0
  133. package/lib/models/tax-calculation-step.d.ts +45 -0
  134. package/lib/models/tax-calculation-step.js +15 -0
  135. package/lib/models/tax-categories.d.ts +43 -0
  136. package/lib/models/tax-categories.js +15 -0
  137. package/lib/models/tax-category-balance.d.ts +49 -0
  138. package/lib/models/tax-category-balance.js +15 -0
  139. package/lib/models/tax-category-balances.d.ts +79 -0
  140. package/lib/models/tax-category-balances.js +15 -0
  141. package/lib/models/tax-category-enum.d.ts +35 -0
  142. package/lib/models/tax-category-enum.js +39 -0
  143. package/lib/models/tax-category-info.d.ts +31 -0
  144. package/lib/models/tax-category-info.js +15 -0
  145. package/lib/models/tax-category-response.d.ts +37 -0
  146. package/lib/models/tax-category-response.js +15 -0
  147. package/lib/models/tax-category-to-qbaccount-mappings.d.ts +87 -0
  148. package/lib/models/tax-category-to-qbaccount-mappings.js +15 -0
  149. package/lib/models/tax-dashboard-calculations.d.ts +67 -0
  150. package/lib/models/tax-dashboard-calculations.js +15 -0
  151. package/lib/models/tax-dashboard-value.d.ts +31 -0
  152. package/lib/models/tax-dashboard-value.js +15 -0
  153. package/lib/models/tax-item-definition-response.d.ts +31 -0
  154. package/lib/models/tax-item-definition-response.js +15 -0
  155. package/lib/models/tax-item-type-enum.d.ts +40 -0
  156. package/lib/models/tax-item-type-enum.js +44 -0
  157. package/lib/models/tax-line-item-response.d.ts +85 -0
  158. package/lib/models/tax-line-item-response.js +15 -0
  159. package/lib/models/tax-report-response.d.ts +57 -0
  160. package/lib/models/tax-report-response.js +15 -0
  161. package/lib/models/test-email-request.d.ts +24 -0
  162. package/lib/models/test-email-request.js +15 -0
  163. package/lib/models/unmapped-qbaccount.d.ts +36 -0
  164. package/lib/models/unmapped-qbaccount.js +15 -0
  165. package/lib/models/update-depreciation-request.d.ts +48 -0
  166. package/lib/models/update-depreciation-request.js +15 -0
  167. package/lib/models/update-person-request.d.ts +97 -0
  168. package/lib/models/update-person-request.js +15 -0
  169. package/lib/models/update-personal-tax-report-request.d.ts +25 -0
  170. package/lib/models/update-personal-tax-report-request.js +15 -0
  171. package/lib/models/update-tax-line-item-request.d.ts +48 -0
  172. package/lib/models/update-tax-line-item-request.js +15 -0
  173. package/lib/models/update-w2-wages-request.d.ts +48 -0
  174. package/lib/models/update-w2-wages-request.js +15 -0
  175. package/lib/models/user-summary-response.d.ts +36 -0
  176. package/lib/models/user-summary-response.js +15 -0
  177. package/lib/models/w2-wages-response.d.ts +78 -0
  178. package/lib/models/w2-wages-response.js +15 -0
  179. package/package.json +118 -0
@@ -0,0 +1,834 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * biz-entity-api
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v2
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
50
+ var __generator = (this && this.__generator) || function (thisArg, body) {
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ Object.defineProperty(exports, "__esModule", { value: true });
78
+ exports.PersonalTaxReportApi = exports.PersonalTaxReportApiFactory = exports.PersonalTaxReportApiFp = exports.PersonalTaxReportApiAxiosParamCreator = void 0;
79
+ var axios_1 = require("axios");
80
+ // Some imports not used depending on template conditions
81
+ // @ts-ignore
82
+ var common_1 = require("../common");
83
+ // @ts-ignore
84
+ var base_1 = require("../base");
85
+ /**
86
+ * PersonalTaxReportApi - axios parameter creator
87
+ * @export
88
+ */
89
+ var PersonalTaxReportApiAxiosParamCreator = function (configuration) {
90
+ var _this = this;
91
+ return {
92
+ /**
93
+ *
94
+ * @param {*} [options] Override http request option.
95
+ * @throws {RequiredError}
96
+ */
97
+ apiPersonalTaxReportDefinitionsGet: function (options) {
98
+ if (options === void 0) { options = {}; }
99
+ return __awaiter(_this, void 0, void 0, function () {
100
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
101
+ return __generator(this, function (_a) {
102
+ switch (_a.label) {
103
+ case 0:
104
+ localVarPath = "/api/personal-tax-report/definitions";
105
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
106
+ if (configuration) {
107
+ baseOptions = configuration.baseOptions;
108
+ }
109
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
110
+ localVarHeaderParameter = {};
111
+ localVarQueryParameter = {};
112
+ // authentication Bearer required
113
+ // http bearer authentication required
114
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
115
+ case 1:
116
+ // authentication Bearer required
117
+ // http bearer authentication required
118
+ _a.sent();
119
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
120
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
121
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
122
+ return [2 /*return*/, {
123
+ url: (0, common_1.toPathString)(localVarUrlObj),
124
+ options: localVarRequestOptions,
125
+ }];
126
+ }
127
+ });
128
+ });
129
+ },
130
+ /**
131
+ *
132
+ * @param {string} reportId
133
+ * @param {*} [options] Override http request option.
134
+ * @throws {RequiredError}
135
+ */
136
+ apiPersonalTaxReportIdReportIdGet: function (reportId, options) {
137
+ if (options === void 0) { options = {}; }
138
+ return __awaiter(_this, void 0, void 0, function () {
139
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
140
+ return __generator(this, function (_a) {
141
+ switch (_a.label) {
142
+ case 0:
143
+ // verify required parameter 'reportId' is not null or undefined
144
+ (0, common_1.assertParamExists)('apiPersonalTaxReportIdReportIdGet', 'reportId', reportId);
145
+ localVarPath = "/api/personal-tax-report/id/{reportId}"
146
+ .replace("{".concat("reportId", "}"), encodeURIComponent(String(reportId)));
147
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
148
+ if (configuration) {
149
+ baseOptions = configuration.baseOptions;
150
+ }
151
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
152
+ localVarHeaderParameter = {};
153
+ localVarQueryParameter = {};
154
+ // authentication Bearer required
155
+ // http bearer authentication required
156
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
157
+ case 1:
158
+ // authentication Bearer required
159
+ // http bearer authentication required
160
+ _a.sent();
161
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
162
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
163
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
164
+ return [2 /*return*/, {
165
+ url: (0, common_1.toPathString)(localVarUrlObj),
166
+ options: localVarRequestOptions,
167
+ }];
168
+ }
169
+ });
170
+ });
171
+ },
172
+ /**
173
+ *
174
+ * @param {number} taxYear
175
+ * @param {*} [options] Override http request option.
176
+ * @throws {RequiredError}
177
+ */
178
+ apiPersonalTaxReportTaxYearDelete: function (taxYear, options) {
179
+ if (options === void 0) { options = {}; }
180
+ return __awaiter(_this, void 0, void 0, function () {
181
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
182
+ return __generator(this, function (_a) {
183
+ switch (_a.label) {
184
+ case 0:
185
+ // verify required parameter 'taxYear' is not null or undefined
186
+ (0, common_1.assertParamExists)('apiPersonalTaxReportTaxYearDelete', 'taxYear', taxYear);
187
+ localVarPath = "/api/personal-tax-report/{taxYear}"
188
+ .replace("{".concat("taxYear", "}"), encodeURIComponent(String(taxYear)));
189
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
190
+ if (configuration) {
191
+ baseOptions = configuration.baseOptions;
192
+ }
193
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
194
+ localVarHeaderParameter = {};
195
+ localVarQueryParameter = {};
196
+ // authentication Bearer required
197
+ // http bearer authentication required
198
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
199
+ case 1:
200
+ // authentication Bearer required
201
+ // http bearer authentication required
202
+ _a.sent();
203
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
204
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
205
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
206
+ return [2 /*return*/, {
207
+ url: (0, common_1.toPathString)(localVarUrlObj),
208
+ options: localVarRequestOptions,
209
+ }];
210
+ }
211
+ });
212
+ });
213
+ },
214
+ /**
215
+ *
216
+ * @param {number} taxYear
217
+ * @param {FilingStatusEnum} filingStatus
218
+ * @param {*} [options] Override http request option.
219
+ * @throws {RequiredError}
220
+ */
221
+ apiPersonalTaxReportTaxYearFilingStatusStandardDeductionGet: function (taxYear, filingStatus, options) {
222
+ if (options === void 0) { options = {}; }
223
+ return __awaiter(_this, void 0, void 0, function () {
224
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
225
+ return __generator(this, function (_a) {
226
+ switch (_a.label) {
227
+ case 0:
228
+ // verify required parameter 'taxYear' is not null or undefined
229
+ (0, common_1.assertParamExists)('apiPersonalTaxReportTaxYearFilingStatusStandardDeductionGet', 'taxYear', taxYear);
230
+ // verify required parameter 'filingStatus' is not null or undefined
231
+ (0, common_1.assertParamExists)('apiPersonalTaxReportTaxYearFilingStatusStandardDeductionGet', 'filingStatus', filingStatus);
232
+ localVarPath = "/api/personal-tax-report/{taxYear}/{filingStatus}/standard-deduction"
233
+ .replace("{".concat("taxYear", "}"), encodeURIComponent(String(taxYear)))
234
+ .replace("{".concat("filingStatus", "}"), encodeURIComponent(String(filingStatus)));
235
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
236
+ if (configuration) {
237
+ baseOptions = configuration.baseOptions;
238
+ }
239
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
240
+ localVarHeaderParameter = {};
241
+ localVarQueryParameter = {};
242
+ // authentication Bearer required
243
+ // http bearer authentication required
244
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
245
+ case 1:
246
+ // authentication Bearer required
247
+ // http bearer authentication required
248
+ _a.sent();
249
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
250
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
251
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
252
+ return [2 /*return*/, {
253
+ url: (0, common_1.toPathString)(localVarUrlObj),
254
+ options: localVarRequestOptions,
255
+ }];
256
+ }
257
+ });
258
+ });
259
+ },
260
+ /**
261
+ *
262
+ * @param {number} taxYear
263
+ * @param {FilingStatusEnum} filingStatus
264
+ * @param {number} taxableIncome
265
+ * @param {*} [options] Override http request option.
266
+ * @throws {RequiredError}
267
+ */
268
+ apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeCapitalGainsTaxRateGet: function (taxYear, filingStatus, taxableIncome, options) {
269
+ if (options === void 0) { options = {}; }
270
+ return __awaiter(_this, void 0, void 0, function () {
271
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
272
+ return __generator(this, function (_a) {
273
+ switch (_a.label) {
274
+ case 0:
275
+ // verify required parameter 'taxYear' is not null or undefined
276
+ (0, common_1.assertParamExists)('apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeCapitalGainsTaxRateGet', 'taxYear', taxYear);
277
+ // verify required parameter 'filingStatus' is not null or undefined
278
+ (0, common_1.assertParamExists)('apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeCapitalGainsTaxRateGet', 'filingStatus', filingStatus);
279
+ // verify required parameter 'taxableIncome' is not null or undefined
280
+ (0, common_1.assertParamExists)('apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeCapitalGainsTaxRateGet', 'taxableIncome', taxableIncome);
281
+ localVarPath = "/api/personal-tax-report/{taxYear}/{filingStatus}/{taxableIncome}/capital-gains-tax-rate"
282
+ .replace("{".concat("taxYear", "}"), encodeURIComponent(String(taxYear)))
283
+ .replace("{".concat("filingStatus", "}"), encodeURIComponent(String(filingStatus)))
284
+ .replace("{".concat("taxableIncome", "}"), encodeURIComponent(String(taxableIncome)));
285
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
286
+ if (configuration) {
287
+ baseOptions = configuration.baseOptions;
288
+ }
289
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
290
+ localVarHeaderParameter = {};
291
+ localVarQueryParameter = {};
292
+ // authentication Bearer required
293
+ // http bearer authentication required
294
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
295
+ case 1:
296
+ // authentication Bearer required
297
+ // http bearer authentication required
298
+ _a.sent();
299
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
300
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
301
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
302
+ return [2 /*return*/, {
303
+ url: (0, common_1.toPathString)(localVarUrlObj),
304
+ options: localVarRequestOptions,
305
+ }];
306
+ }
307
+ });
308
+ });
309
+ },
310
+ /**
311
+ *
312
+ * @param {number} taxYear
313
+ * @param {FilingStatusEnum} filingStatus
314
+ * @param {number} taxableIncome
315
+ * @param {*} [options] Override http request option.
316
+ * @throws {RequiredError}
317
+ */
318
+ apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeTaxRateGet: function (taxYear, filingStatus, taxableIncome, options) {
319
+ if (options === void 0) { options = {}; }
320
+ return __awaiter(_this, void 0, void 0, function () {
321
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
322
+ return __generator(this, function (_a) {
323
+ switch (_a.label) {
324
+ case 0:
325
+ // verify required parameter 'taxYear' is not null or undefined
326
+ (0, common_1.assertParamExists)('apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeTaxRateGet', 'taxYear', taxYear);
327
+ // verify required parameter 'filingStatus' is not null or undefined
328
+ (0, common_1.assertParamExists)('apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeTaxRateGet', 'filingStatus', filingStatus);
329
+ // verify required parameter 'taxableIncome' is not null or undefined
330
+ (0, common_1.assertParamExists)('apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeTaxRateGet', 'taxableIncome', taxableIncome);
331
+ localVarPath = "/api/personal-tax-report/{taxYear}/{filingStatus}/{taxableIncome}/tax-rate"
332
+ .replace("{".concat("taxYear", "}"), encodeURIComponent(String(taxYear)))
333
+ .replace("{".concat("filingStatus", "}"), encodeURIComponent(String(filingStatus)))
334
+ .replace("{".concat("taxableIncome", "}"), encodeURIComponent(String(taxableIncome)));
335
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
336
+ if (configuration) {
337
+ baseOptions = configuration.baseOptions;
338
+ }
339
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
340
+ localVarHeaderParameter = {};
341
+ localVarQueryParameter = {};
342
+ // authentication Bearer required
343
+ // http bearer authentication required
344
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
345
+ case 1:
346
+ // authentication Bearer required
347
+ // http bearer authentication required
348
+ _a.sent();
349
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
350
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
351
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
352
+ return [2 /*return*/, {
353
+ url: (0, common_1.toPathString)(localVarUrlObj),
354
+ options: localVarRequestOptions,
355
+ }];
356
+ }
357
+ });
358
+ });
359
+ },
360
+ /**
361
+ *
362
+ * @param {number} taxYear
363
+ * @param {*} [options] Override http request option.
364
+ * @throws {RequiredError}
365
+ */
366
+ apiPersonalTaxReportTaxYearGet: function (taxYear, options) {
367
+ if (options === void 0) { options = {}; }
368
+ return __awaiter(_this, void 0, void 0, function () {
369
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
370
+ return __generator(this, function (_a) {
371
+ switch (_a.label) {
372
+ case 0:
373
+ // verify required parameter 'taxYear' is not null or undefined
374
+ (0, common_1.assertParamExists)('apiPersonalTaxReportTaxYearGet', 'taxYear', taxYear);
375
+ localVarPath = "/api/personal-tax-report/{taxYear}"
376
+ .replace("{".concat("taxYear", "}"), encodeURIComponent(String(taxYear)));
377
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
378
+ if (configuration) {
379
+ baseOptions = configuration.baseOptions;
380
+ }
381
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
382
+ localVarHeaderParameter = {};
383
+ localVarQueryParameter = {};
384
+ // authentication Bearer required
385
+ // http bearer authentication required
386
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
387
+ case 1:
388
+ // authentication Bearer required
389
+ // http bearer authentication required
390
+ _a.sent();
391
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
392
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
393
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
394
+ return [2 /*return*/, {
395
+ url: (0, common_1.toPathString)(localVarUrlObj),
396
+ options: localVarRequestOptions,
397
+ }];
398
+ }
399
+ });
400
+ });
401
+ },
402
+ /**
403
+ *
404
+ * @param {number} taxYear
405
+ * @param {UpdatePersonalTaxReportRequest} [updatePersonalTaxReportRequest]
406
+ * @param {*} [options] Override http request option.
407
+ * @throws {RequiredError}
408
+ */
409
+ apiPersonalTaxReportTaxYearPut: function (taxYear, updatePersonalTaxReportRequest, options) {
410
+ if (options === void 0) { options = {}; }
411
+ return __awaiter(_this, void 0, void 0, function () {
412
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
413
+ return __generator(this, function (_a) {
414
+ switch (_a.label) {
415
+ case 0:
416
+ // verify required parameter 'taxYear' is not null or undefined
417
+ (0, common_1.assertParamExists)('apiPersonalTaxReportTaxYearPut', 'taxYear', taxYear);
418
+ localVarPath = "/api/personal-tax-report/{taxYear}"
419
+ .replace("{".concat("taxYear", "}"), encodeURIComponent(String(taxYear)));
420
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
421
+ if (configuration) {
422
+ baseOptions = configuration.baseOptions;
423
+ }
424
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
425
+ localVarHeaderParameter = {};
426
+ localVarQueryParameter = {};
427
+ // authentication Bearer required
428
+ // http bearer authentication required
429
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
430
+ case 1:
431
+ // authentication Bearer required
432
+ // http bearer authentication required
433
+ _a.sent();
434
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
435
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
436
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
437
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
438
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updatePersonalTaxReportRequest, localVarRequestOptions, configuration);
439
+ return [2 /*return*/, {
440
+ url: (0, common_1.toPathString)(localVarUrlObj),
441
+ options: localVarRequestOptions,
442
+ }];
443
+ }
444
+ });
445
+ });
446
+ },
447
+ };
448
+ };
449
+ exports.PersonalTaxReportApiAxiosParamCreator = PersonalTaxReportApiAxiosParamCreator;
450
+ /**
451
+ * PersonalTaxReportApi - functional programming interface
452
+ * @export
453
+ */
454
+ var PersonalTaxReportApiFp = function (configuration) {
455
+ var localVarAxiosParamCreator = (0, exports.PersonalTaxReportApiAxiosParamCreator)(configuration);
456
+ return {
457
+ /**
458
+ *
459
+ * @param {*} [options] Override http request option.
460
+ * @throws {RequiredError}
461
+ */
462
+ apiPersonalTaxReportDefinitionsGet: function (options) {
463
+ var _a, _b, _c;
464
+ return __awaiter(this, void 0, void 0, function () {
465
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
466
+ return __generator(this, function (_d) {
467
+ switch (_d.label) {
468
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPersonalTaxReportDefinitionsGet(options)];
469
+ case 1:
470
+ localVarAxiosArgs = _d.sent();
471
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
472
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PersonalTaxReportApi.apiPersonalTaxReportDefinitionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
473
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
474
+ }
475
+ });
476
+ });
477
+ },
478
+ /**
479
+ *
480
+ * @param {string} reportId
481
+ * @param {*} [options] Override http request option.
482
+ * @throws {RequiredError}
483
+ */
484
+ apiPersonalTaxReportIdReportIdGet: function (reportId, options) {
485
+ var _a, _b, _c;
486
+ return __awaiter(this, void 0, void 0, function () {
487
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
488
+ return __generator(this, function (_d) {
489
+ switch (_d.label) {
490
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPersonalTaxReportIdReportIdGet(reportId, options)];
491
+ case 1:
492
+ localVarAxiosArgs = _d.sent();
493
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
494
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PersonalTaxReportApi.apiPersonalTaxReportIdReportIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
495
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
496
+ }
497
+ });
498
+ });
499
+ },
500
+ /**
501
+ *
502
+ * @param {number} taxYear
503
+ * @param {*} [options] Override http request option.
504
+ * @throws {RequiredError}
505
+ */
506
+ apiPersonalTaxReportTaxYearDelete: function (taxYear, options) {
507
+ var _a, _b, _c;
508
+ return __awaiter(this, void 0, void 0, function () {
509
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
510
+ return __generator(this, function (_d) {
511
+ switch (_d.label) {
512
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPersonalTaxReportTaxYearDelete(taxYear, options)];
513
+ case 1:
514
+ localVarAxiosArgs = _d.sent();
515
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
516
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PersonalTaxReportApi.apiPersonalTaxReportTaxYearDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
517
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
518
+ }
519
+ });
520
+ });
521
+ },
522
+ /**
523
+ *
524
+ * @param {number} taxYear
525
+ * @param {FilingStatusEnum} filingStatus
526
+ * @param {*} [options] Override http request option.
527
+ * @throws {RequiredError}
528
+ */
529
+ apiPersonalTaxReportTaxYearFilingStatusStandardDeductionGet: function (taxYear, filingStatus, options) {
530
+ var _a, _b, _c;
531
+ return __awaiter(this, void 0, void 0, function () {
532
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
533
+ return __generator(this, function (_d) {
534
+ switch (_d.label) {
535
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPersonalTaxReportTaxYearFilingStatusStandardDeductionGet(taxYear, filingStatus, options)];
536
+ case 1:
537
+ localVarAxiosArgs = _d.sent();
538
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
539
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PersonalTaxReportApi.apiPersonalTaxReportTaxYearFilingStatusStandardDeductionGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
540
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
541
+ }
542
+ });
543
+ });
544
+ },
545
+ /**
546
+ *
547
+ * @param {number} taxYear
548
+ * @param {FilingStatusEnum} filingStatus
549
+ * @param {number} taxableIncome
550
+ * @param {*} [options] Override http request option.
551
+ * @throws {RequiredError}
552
+ */
553
+ apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeCapitalGainsTaxRateGet: function (taxYear, filingStatus, taxableIncome, options) {
554
+ var _a, _b, _c;
555
+ return __awaiter(this, void 0, void 0, function () {
556
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
557
+ return __generator(this, function (_d) {
558
+ switch (_d.label) {
559
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeCapitalGainsTaxRateGet(taxYear, filingStatus, taxableIncome, options)];
560
+ case 1:
561
+ localVarAxiosArgs = _d.sent();
562
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
563
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PersonalTaxReportApi.apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeCapitalGainsTaxRateGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
564
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
565
+ }
566
+ });
567
+ });
568
+ },
569
+ /**
570
+ *
571
+ * @param {number} taxYear
572
+ * @param {FilingStatusEnum} filingStatus
573
+ * @param {number} taxableIncome
574
+ * @param {*} [options] Override http request option.
575
+ * @throws {RequiredError}
576
+ */
577
+ apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeTaxRateGet: function (taxYear, filingStatus, taxableIncome, options) {
578
+ var _a, _b, _c;
579
+ return __awaiter(this, void 0, void 0, function () {
580
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
581
+ return __generator(this, function (_d) {
582
+ switch (_d.label) {
583
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeTaxRateGet(taxYear, filingStatus, taxableIncome, options)];
584
+ case 1:
585
+ localVarAxiosArgs = _d.sent();
586
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
587
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PersonalTaxReportApi.apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeTaxRateGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
588
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
589
+ }
590
+ });
591
+ });
592
+ },
593
+ /**
594
+ *
595
+ * @param {number} taxYear
596
+ * @param {*} [options] Override http request option.
597
+ * @throws {RequiredError}
598
+ */
599
+ apiPersonalTaxReportTaxYearGet: function (taxYear, options) {
600
+ var _a, _b, _c;
601
+ return __awaiter(this, void 0, void 0, function () {
602
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
603
+ return __generator(this, function (_d) {
604
+ switch (_d.label) {
605
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPersonalTaxReportTaxYearGet(taxYear, options)];
606
+ case 1:
607
+ localVarAxiosArgs = _d.sent();
608
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
609
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PersonalTaxReportApi.apiPersonalTaxReportTaxYearGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
610
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
611
+ }
612
+ });
613
+ });
614
+ },
615
+ /**
616
+ *
617
+ * @param {number} taxYear
618
+ * @param {UpdatePersonalTaxReportRequest} [updatePersonalTaxReportRequest]
619
+ * @param {*} [options] Override http request option.
620
+ * @throws {RequiredError}
621
+ */
622
+ apiPersonalTaxReportTaxYearPut: function (taxYear, updatePersonalTaxReportRequest, options) {
623
+ var _a, _b, _c;
624
+ return __awaiter(this, void 0, void 0, function () {
625
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
626
+ return __generator(this, function (_d) {
627
+ switch (_d.label) {
628
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPersonalTaxReportTaxYearPut(taxYear, updatePersonalTaxReportRequest, options)];
629
+ case 1:
630
+ localVarAxiosArgs = _d.sent();
631
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
632
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PersonalTaxReportApi.apiPersonalTaxReportTaxYearPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
633
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
634
+ }
635
+ });
636
+ });
637
+ },
638
+ };
639
+ };
640
+ exports.PersonalTaxReportApiFp = PersonalTaxReportApiFp;
641
+ /**
642
+ * PersonalTaxReportApi - factory interface
643
+ * @export
644
+ */
645
+ var PersonalTaxReportApiFactory = function (configuration, basePath, axios) {
646
+ var localVarFp = (0, exports.PersonalTaxReportApiFp)(configuration);
647
+ return {
648
+ /**
649
+ *
650
+ * @param {*} [options] Override http request option.
651
+ * @throws {RequiredError}
652
+ */
653
+ apiPersonalTaxReportDefinitionsGet: function (options) {
654
+ return localVarFp.apiPersonalTaxReportDefinitionsGet(options).then(function (request) { return request(axios, basePath); });
655
+ },
656
+ /**
657
+ *
658
+ * @param {string} reportId
659
+ * @param {*} [options] Override http request option.
660
+ * @throws {RequiredError}
661
+ */
662
+ apiPersonalTaxReportIdReportIdGet: function (reportId, options) {
663
+ return localVarFp.apiPersonalTaxReportIdReportIdGet(reportId, options).then(function (request) { return request(axios, basePath); });
664
+ },
665
+ /**
666
+ *
667
+ * @param {number} taxYear
668
+ * @param {*} [options] Override http request option.
669
+ * @throws {RequiredError}
670
+ */
671
+ apiPersonalTaxReportTaxYearDelete: function (taxYear, options) {
672
+ return localVarFp.apiPersonalTaxReportTaxYearDelete(taxYear, options).then(function (request) { return request(axios, basePath); });
673
+ },
674
+ /**
675
+ *
676
+ * @param {number} taxYear
677
+ * @param {FilingStatusEnum} filingStatus
678
+ * @param {*} [options] Override http request option.
679
+ * @throws {RequiredError}
680
+ */
681
+ apiPersonalTaxReportTaxYearFilingStatusStandardDeductionGet: function (taxYear, filingStatus, options) {
682
+ return localVarFp.apiPersonalTaxReportTaxYearFilingStatusStandardDeductionGet(taxYear, filingStatus, options).then(function (request) { return request(axios, basePath); });
683
+ },
684
+ /**
685
+ *
686
+ * @param {number} taxYear
687
+ * @param {FilingStatusEnum} filingStatus
688
+ * @param {number} taxableIncome
689
+ * @param {*} [options] Override http request option.
690
+ * @throws {RequiredError}
691
+ */
692
+ apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeCapitalGainsTaxRateGet: function (taxYear, filingStatus, taxableIncome, options) {
693
+ return localVarFp.apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeCapitalGainsTaxRateGet(taxYear, filingStatus, taxableIncome, options).then(function (request) { return request(axios, basePath); });
694
+ },
695
+ /**
696
+ *
697
+ * @param {number} taxYear
698
+ * @param {FilingStatusEnum} filingStatus
699
+ * @param {number} taxableIncome
700
+ * @param {*} [options] Override http request option.
701
+ * @throws {RequiredError}
702
+ */
703
+ apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeTaxRateGet: function (taxYear, filingStatus, taxableIncome, options) {
704
+ return localVarFp.apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeTaxRateGet(taxYear, filingStatus, taxableIncome, options).then(function (request) { return request(axios, basePath); });
705
+ },
706
+ /**
707
+ *
708
+ * @param {number} taxYear
709
+ * @param {*} [options] Override http request option.
710
+ * @throws {RequiredError}
711
+ */
712
+ apiPersonalTaxReportTaxYearGet: function (taxYear, options) {
713
+ return localVarFp.apiPersonalTaxReportTaxYearGet(taxYear, options).then(function (request) { return request(axios, basePath); });
714
+ },
715
+ /**
716
+ *
717
+ * @param {number} taxYear
718
+ * @param {UpdatePersonalTaxReportRequest} [updatePersonalTaxReportRequest]
719
+ * @param {*} [options] Override http request option.
720
+ * @throws {RequiredError}
721
+ */
722
+ apiPersonalTaxReportTaxYearPut: function (taxYear, updatePersonalTaxReportRequest, options) {
723
+ return localVarFp.apiPersonalTaxReportTaxYearPut(taxYear, updatePersonalTaxReportRequest, options).then(function (request) { return request(axios, basePath); });
724
+ },
725
+ };
726
+ };
727
+ exports.PersonalTaxReportApiFactory = PersonalTaxReportApiFactory;
728
+ /**
729
+ * PersonalTaxReportApi - object-oriented interface
730
+ * @export
731
+ * @class PersonalTaxReportApi
732
+ * @extends {BaseAPI}
733
+ */
734
+ var PersonalTaxReportApi = /** @class */ (function (_super) {
735
+ __extends(PersonalTaxReportApi, _super);
736
+ function PersonalTaxReportApi() {
737
+ return _super !== null && _super.apply(this, arguments) || this;
738
+ }
739
+ /**
740
+ *
741
+ * @param {*} [options] Override http request option.
742
+ * @throws {RequiredError}
743
+ * @memberof PersonalTaxReportApi
744
+ */
745
+ PersonalTaxReportApi.prototype.apiPersonalTaxReportDefinitionsGet = function (options) {
746
+ var _this = this;
747
+ return (0, exports.PersonalTaxReportApiFp)(this.configuration).apiPersonalTaxReportDefinitionsGet(options).then(function (request) { return request(_this.axios, _this.basePath); });
748
+ };
749
+ /**
750
+ *
751
+ * @param {string} reportId
752
+ * @param {*} [options] Override http request option.
753
+ * @throws {RequiredError}
754
+ * @memberof PersonalTaxReportApi
755
+ */
756
+ PersonalTaxReportApi.prototype.apiPersonalTaxReportIdReportIdGet = function (reportId, options) {
757
+ var _this = this;
758
+ return (0, exports.PersonalTaxReportApiFp)(this.configuration).apiPersonalTaxReportIdReportIdGet(reportId, options).then(function (request) { return request(_this.axios, _this.basePath); });
759
+ };
760
+ /**
761
+ *
762
+ * @param {number} taxYear
763
+ * @param {*} [options] Override http request option.
764
+ * @throws {RequiredError}
765
+ * @memberof PersonalTaxReportApi
766
+ */
767
+ PersonalTaxReportApi.prototype.apiPersonalTaxReportTaxYearDelete = function (taxYear, options) {
768
+ var _this = this;
769
+ return (0, exports.PersonalTaxReportApiFp)(this.configuration).apiPersonalTaxReportTaxYearDelete(taxYear, options).then(function (request) { return request(_this.axios, _this.basePath); });
770
+ };
771
+ /**
772
+ *
773
+ * @param {number} taxYear
774
+ * @param {FilingStatusEnum} filingStatus
775
+ * @param {*} [options] Override http request option.
776
+ * @throws {RequiredError}
777
+ * @memberof PersonalTaxReportApi
778
+ */
779
+ PersonalTaxReportApi.prototype.apiPersonalTaxReportTaxYearFilingStatusStandardDeductionGet = function (taxYear, filingStatus, options) {
780
+ var _this = this;
781
+ return (0, exports.PersonalTaxReportApiFp)(this.configuration).apiPersonalTaxReportTaxYearFilingStatusStandardDeductionGet(taxYear, filingStatus, options).then(function (request) { return request(_this.axios, _this.basePath); });
782
+ };
783
+ /**
784
+ *
785
+ * @param {number} taxYear
786
+ * @param {FilingStatusEnum} filingStatus
787
+ * @param {number} taxableIncome
788
+ * @param {*} [options] Override http request option.
789
+ * @throws {RequiredError}
790
+ * @memberof PersonalTaxReportApi
791
+ */
792
+ PersonalTaxReportApi.prototype.apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeCapitalGainsTaxRateGet = function (taxYear, filingStatus, taxableIncome, options) {
793
+ var _this = this;
794
+ return (0, exports.PersonalTaxReportApiFp)(this.configuration).apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeCapitalGainsTaxRateGet(taxYear, filingStatus, taxableIncome, options).then(function (request) { return request(_this.axios, _this.basePath); });
795
+ };
796
+ /**
797
+ *
798
+ * @param {number} taxYear
799
+ * @param {FilingStatusEnum} filingStatus
800
+ * @param {number} taxableIncome
801
+ * @param {*} [options] Override http request option.
802
+ * @throws {RequiredError}
803
+ * @memberof PersonalTaxReportApi
804
+ */
805
+ PersonalTaxReportApi.prototype.apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeTaxRateGet = function (taxYear, filingStatus, taxableIncome, options) {
806
+ var _this = this;
807
+ return (0, exports.PersonalTaxReportApiFp)(this.configuration).apiPersonalTaxReportTaxYearFilingStatusTaxableIncomeTaxRateGet(taxYear, filingStatus, taxableIncome, options).then(function (request) { return request(_this.axios, _this.basePath); });
808
+ };
809
+ /**
810
+ *
811
+ * @param {number} taxYear
812
+ * @param {*} [options] Override http request option.
813
+ * @throws {RequiredError}
814
+ * @memberof PersonalTaxReportApi
815
+ */
816
+ PersonalTaxReportApi.prototype.apiPersonalTaxReportTaxYearGet = function (taxYear, options) {
817
+ var _this = this;
818
+ return (0, exports.PersonalTaxReportApiFp)(this.configuration).apiPersonalTaxReportTaxYearGet(taxYear, options).then(function (request) { return request(_this.axios, _this.basePath); });
819
+ };
820
+ /**
821
+ *
822
+ * @param {number} taxYear
823
+ * @param {UpdatePersonalTaxReportRequest} [updatePersonalTaxReportRequest]
824
+ * @param {*} [options] Override http request option.
825
+ * @throws {RequiredError}
826
+ * @memberof PersonalTaxReportApi
827
+ */
828
+ PersonalTaxReportApi.prototype.apiPersonalTaxReportTaxYearPut = function (taxYear, updatePersonalTaxReportRequest, options) {
829
+ var _this = this;
830
+ return (0, exports.PersonalTaxReportApiFp)(this.configuration).apiPersonalTaxReportTaxYearPut(taxYear, updatePersonalTaxReportRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
831
+ };
832
+ return PersonalTaxReportApi;
833
+ }(base_1.BaseAPI));
834
+ exports.PersonalTaxReportApi = PersonalTaxReportApi;