@s-corp-biz/biz-entity-api 1.9.0-staging.21 → 1.9.0-staging.22
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.
- package/lib/api/election-api.d.ts +34 -0
- package/lib/api/election-api.js +90 -0
- package/lib/api/tax-data-api.d.ts +63 -0
- package/lib/api/tax-data-api.js +175 -0
- package/lib/models/company-delivery-details.d.ts +36 -0
- package/lib/models/company-delivery-details.js +15 -0
- package/lib/models/index.d.ts +3 -0
- package/lib/models/index.js +3 -0
- package/lib/models/qbi-threshold-response.d.ts +42 -0
- package/lib/models/qbi-threshold-response.js +15 -0
- package/lib/models/submit2553-irs-form-request.d.ts +32 -0
- package/lib/models/submit2553-irs-form-request.js +15 -0
- package/package.json +1 -1
|
@@ -18,6 +18,7 @@ import type { ScorpElectionCreateRequest } from '../models';
|
|
|
18
18
|
import type { ScorpElectionFinalizeRequest } from '../models';
|
|
19
19
|
import type { ScorpElectionResponse } from '../models';
|
|
20
20
|
import type { ScorpElectionUpdateRequest } from '../models';
|
|
21
|
+
import type { Submit2553IrsFormRequest } from '../models';
|
|
21
22
|
/**
|
|
22
23
|
* ElectionApi - axios parameter creator
|
|
23
24
|
* @export
|
|
@@ -80,6 +81,14 @@ export declare const ElectionApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
80
81
|
* @throws {RequiredError}
|
|
81
82
|
*/
|
|
82
83
|
apiElectionIdPut: (id: string, scorpElectionUpdateRequest?: ScorpElectionUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @param {string} id
|
|
87
|
+
* @param {Submit2553IrsFormRequest} [submit2553IrsFormRequest]
|
|
88
|
+
* @param {*} [options] Override http request option.
|
|
89
|
+
* @throws {RequiredError}
|
|
90
|
+
*/
|
|
91
|
+
apiElectionIdSubmitAndDeliverPost: (id: string, submit2553IrsFormRequest?: Submit2553IrsFormRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
83
92
|
/**
|
|
84
93
|
*
|
|
85
94
|
* @param {string} id
|
|
@@ -158,6 +167,14 @@ export declare const ElectionApiFp: (configuration?: Configuration) => {
|
|
|
158
167
|
* @throws {RequiredError}
|
|
159
168
|
*/
|
|
160
169
|
apiElectionIdPut(id: string, scorpElectionUpdateRequest?: ScorpElectionUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScorpElectionResponse>>;
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @param {string} id
|
|
173
|
+
* @param {Submit2553IrsFormRequest} [submit2553IrsFormRequest]
|
|
174
|
+
* @param {*} [options] Override http request option.
|
|
175
|
+
* @throws {RequiredError}
|
|
176
|
+
*/
|
|
177
|
+
apiElectionIdSubmitAndDeliverPost(id: string, submit2553IrsFormRequest?: Submit2553IrsFormRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
161
178
|
/**
|
|
162
179
|
*
|
|
163
180
|
* @param {string} id
|
|
@@ -236,6 +253,14 @@ export declare const ElectionApiFactory: (configuration?: Configuration, basePat
|
|
|
236
253
|
* @throws {RequiredError}
|
|
237
254
|
*/
|
|
238
255
|
apiElectionIdPut(id: string, scorpElectionUpdateRequest?: ScorpElectionUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScorpElectionResponse>;
|
|
256
|
+
/**
|
|
257
|
+
*
|
|
258
|
+
* @param {string} id
|
|
259
|
+
* @param {Submit2553IrsFormRequest} [submit2553IrsFormRequest]
|
|
260
|
+
* @param {*} [options] Override http request option.
|
|
261
|
+
* @throws {RequiredError}
|
|
262
|
+
*/
|
|
263
|
+
apiElectionIdSubmitAndDeliverPost(id: string, submit2553IrsFormRequest?: Submit2553IrsFormRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
239
264
|
/**
|
|
240
265
|
*
|
|
241
266
|
* @param {string} id
|
|
@@ -324,6 +349,15 @@ export declare class ElectionApi extends BaseAPI {
|
|
|
324
349
|
* @memberof ElectionApi
|
|
325
350
|
*/
|
|
326
351
|
apiElectionIdPut(id: string, scorpElectionUpdateRequest?: ScorpElectionUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScorpElectionResponse, any, {}>>;
|
|
352
|
+
/**
|
|
353
|
+
*
|
|
354
|
+
* @param {string} id
|
|
355
|
+
* @param {Submit2553IrsFormRequest} [submit2553IrsFormRequest]
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
* @memberof ElectionApi
|
|
359
|
+
*/
|
|
360
|
+
apiElectionIdSubmitAndDeliverPost(id: string, submit2553IrsFormRequest?: Submit2553IrsFormRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
327
361
|
/**
|
|
328
362
|
*
|
|
329
363
|
* @param {string} id
|
package/lib/api/election-api.js
CHANGED
|
@@ -426,6 +426,51 @@ var ElectionApiAxiosParamCreator = function (configuration) {
|
|
|
426
426
|
});
|
|
427
427
|
});
|
|
428
428
|
},
|
|
429
|
+
/**
|
|
430
|
+
*
|
|
431
|
+
* @param {string} id
|
|
432
|
+
* @param {Submit2553IrsFormRequest} [submit2553IrsFormRequest]
|
|
433
|
+
* @param {*} [options] Override http request option.
|
|
434
|
+
* @throws {RequiredError}
|
|
435
|
+
*/
|
|
436
|
+
apiElectionIdSubmitAndDeliverPost: function (id, submit2553IrsFormRequest, options) {
|
|
437
|
+
if (options === void 0) { options = {}; }
|
|
438
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
439
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
440
|
+
return __generator(this, function (_a) {
|
|
441
|
+
switch (_a.label) {
|
|
442
|
+
case 0:
|
|
443
|
+
// verify required parameter 'id' is not null or undefined
|
|
444
|
+
(0, common_1.assertParamExists)('apiElectionIdSubmitAndDeliverPost', 'id', id);
|
|
445
|
+
localVarPath = "/api/Election/{id}/submit-and-deliver"
|
|
446
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
447
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
448
|
+
if (configuration) {
|
|
449
|
+
baseOptions = configuration.baseOptions;
|
|
450
|
+
}
|
|
451
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
452
|
+
localVarHeaderParameter = {};
|
|
453
|
+
localVarQueryParameter = {};
|
|
454
|
+
// authentication Bearer required
|
|
455
|
+
// http bearer authentication required
|
|
456
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
457
|
+
case 1:
|
|
458
|
+
// authentication Bearer required
|
|
459
|
+
// http bearer authentication required
|
|
460
|
+
_a.sent();
|
|
461
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
462
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
463
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
464
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
465
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(submit2553IrsFormRequest, localVarRequestOptions, configuration);
|
|
466
|
+
return [2 /*return*/, {
|
|
467
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
468
|
+
options: localVarRequestOptions,
|
|
469
|
+
}];
|
|
470
|
+
}
|
|
471
|
+
});
|
|
472
|
+
});
|
|
473
|
+
},
|
|
429
474
|
/**
|
|
430
475
|
*
|
|
431
476
|
* @param {string} id
|
|
@@ -703,6 +748,29 @@ var ElectionApiFp = function (configuration) {
|
|
|
703
748
|
});
|
|
704
749
|
});
|
|
705
750
|
},
|
|
751
|
+
/**
|
|
752
|
+
*
|
|
753
|
+
* @param {string} id
|
|
754
|
+
* @param {Submit2553IrsFormRequest} [submit2553IrsFormRequest]
|
|
755
|
+
* @param {*} [options] Override http request option.
|
|
756
|
+
* @throws {RequiredError}
|
|
757
|
+
*/
|
|
758
|
+
apiElectionIdSubmitAndDeliverPost: function (id, submit2553IrsFormRequest, options) {
|
|
759
|
+
var _a, _b, _c;
|
|
760
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
761
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
762
|
+
return __generator(this, function (_d) {
|
|
763
|
+
switch (_d.label) {
|
|
764
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiElectionIdSubmitAndDeliverPost(id, submit2553IrsFormRequest, options)];
|
|
765
|
+
case 1:
|
|
766
|
+
localVarAxiosArgs = _d.sent();
|
|
767
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
768
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ElectionApi.apiElectionIdSubmitAndDeliverPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
769
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
770
|
+
}
|
|
771
|
+
});
|
|
772
|
+
});
|
|
773
|
+
},
|
|
706
774
|
/**
|
|
707
775
|
*
|
|
708
776
|
* @param {string} id
|
|
@@ -831,6 +899,16 @@ var ElectionApiFactory = function (configuration, basePath, axios) {
|
|
|
831
899
|
apiElectionIdPut: function (id, scorpElectionUpdateRequest, options) {
|
|
832
900
|
return localVarFp.apiElectionIdPut(id, scorpElectionUpdateRequest, options).then(function (request) { return request(axios, basePath); });
|
|
833
901
|
},
|
|
902
|
+
/**
|
|
903
|
+
*
|
|
904
|
+
* @param {string} id
|
|
905
|
+
* @param {Submit2553IrsFormRequest} [submit2553IrsFormRequest]
|
|
906
|
+
* @param {*} [options] Override http request option.
|
|
907
|
+
* @throws {RequiredError}
|
|
908
|
+
*/
|
|
909
|
+
apiElectionIdSubmitAndDeliverPost: function (id, submit2553IrsFormRequest, options) {
|
|
910
|
+
return localVarFp.apiElectionIdSubmitAndDeliverPost(id, submit2553IrsFormRequest, options).then(function (request) { return request(axios, basePath); });
|
|
911
|
+
},
|
|
834
912
|
/**
|
|
835
913
|
*
|
|
836
914
|
* @param {string} id
|
|
@@ -953,6 +1031,18 @@ var ElectionApi = /** @class */ (function (_super) {
|
|
|
953
1031
|
var _this = this;
|
|
954
1032
|
return (0, exports.ElectionApiFp)(this.configuration).apiElectionIdPut(id, scorpElectionUpdateRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
955
1033
|
};
|
|
1034
|
+
/**
|
|
1035
|
+
*
|
|
1036
|
+
* @param {string} id
|
|
1037
|
+
* @param {Submit2553IrsFormRequest} [submit2553IrsFormRequest]
|
|
1038
|
+
* @param {*} [options] Override http request option.
|
|
1039
|
+
* @throws {RequiredError}
|
|
1040
|
+
* @memberof ElectionApi
|
|
1041
|
+
*/
|
|
1042
|
+
ElectionApi.prototype.apiElectionIdSubmitAndDeliverPost = function (id, submit2553IrsFormRequest, options) {
|
|
1043
|
+
var _this = this;
|
|
1044
|
+
return (0, exports.ElectionApiFp)(this.configuration).apiElectionIdSubmitAndDeliverPost(id, submit2553IrsFormRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1045
|
+
};
|
|
956
1046
|
/**
|
|
957
1047
|
*
|
|
958
1048
|
* @param {string} id
|
|
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { CapitalLossLimitResponse } from '../models';
|
|
16
|
+
import type { QbiThresholdResponse } from '../models';
|
|
16
17
|
import type { TaxCalculationParameterResponse } from '../models';
|
|
17
18
|
/**
|
|
18
19
|
* TaxDataApi - axios parameter creator
|
|
@@ -49,6 +50,21 @@ export declare const TaxDataApiAxiosParamCreator: (configuration?: Configuration
|
|
|
49
50
|
* @throws {RequiredError}
|
|
50
51
|
*/
|
|
51
52
|
apiTaxDataParametersYearParameterNameGet: (year: number, parameterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @param {number} year
|
|
56
|
+
* @param {string} filingStatus
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
apiTaxDataQbiThresholdsYearFilingStatusGet: (year: number, filingStatus: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @param {number} year
|
|
64
|
+
* @param {*} [options] Override http request option.
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
*/
|
|
67
|
+
apiTaxDataQbiThresholdsYearGet: (year: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
68
|
};
|
|
53
69
|
/**
|
|
54
70
|
* TaxDataApi - functional programming interface
|
|
@@ -85,6 +101,21 @@ export declare const TaxDataApiFp: (configuration?: Configuration) => {
|
|
|
85
101
|
* @throws {RequiredError}
|
|
86
102
|
*/
|
|
87
103
|
apiTaxDataParametersYearParameterNameGet(year: number, parameterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaxCalculationParameterResponse>>;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @param {number} year
|
|
107
|
+
* @param {string} filingStatus
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
apiTaxDataQbiThresholdsYearFilingStatusGet(year: number, filingStatus: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QbiThresholdResponse>>;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @param {number} year
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
apiTaxDataQbiThresholdsYearGet(year: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<QbiThresholdResponse>>>;
|
|
88
119
|
};
|
|
89
120
|
/**
|
|
90
121
|
* TaxDataApi - factory interface
|
|
@@ -121,6 +152,21 @@ export declare const TaxDataApiFactory: (configuration?: Configuration, basePath
|
|
|
121
152
|
* @throws {RequiredError}
|
|
122
153
|
*/
|
|
123
154
|
apiTaxDataParametersYearParameterNameGet(year: number, parameterName: string, options?: RawAxiosRequestConfig): AxiosPromise<TaxCalculationParameterResponse>;
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* @param {number} year
|
|
158
|
+
* @param {string} filingStatus
|
|
159
|
+
* @param {*} [options] Override http request option.
|
|
160
|
+
* @throws {RequiredError}
|
|
161
|
+
*/
|
|
162
|
+
apiTaxDataQbiThresholdsYearFilingStatusGet(year: number, filingStatus: string, options?: RawAxiosRequestConfig): AxiosPromise<QbiThresholdResponse>;
|
|
163
|
+
/**
|
|
164
|
+
*
|
|
165
|
+
* @param {number} year
|
|
166
|
+
* @param {*} [options] Override http request option.
|
|
167
|
+
* @throws {RequiredError}
|
|
168
|
+
*/
|
|
169
|
+
apiTaxDataQbiThresholdsYearGet(year: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<QbiThresholdResponse>>;
|
|
124
170
|
};
|
|
125
171
|
/**
|
|
126
172
|
* TaxDataApi - object-oriented interface
|
|
@@ -163,4 +209,21 @@ export declare class TaxDataApi extends BaseAPI {
|
|
|
163
209
|
* @memberof TaxDataApi
|
|
164
210
|
*/
|
|
165
211
|
apiTaxDataParametersYearParameterNameGet(year: number, parameterName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaxCalculationParameterResponse, any, {}>>;
|
|
212
|
+
/**
|
|
213
|
+
*
|
|
214
|
+
* @param {number} year
|
|
215
|
+
* @param {string} filingStatus
|
|
216
|
+
* @param {*} [options] Override http request option.
|
|
217
|
+
* @throws {RequiredError}
|
|
218
|
+
* @memberof TaxDataApi
|
|
219
|
+
*/
|
|
220
|
+
apiTaxDataQbiThresholdsYearFilingStatusGet(year: number, filingStatus: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QbiThresholdResponse, any, {}>>;
|
|
221
|
+
/**
|
|
222
|
+
*
|
|
223
|
+
* @param {number} year
|
|
224
|
+
* @param {*} [options] Override http request option.
|
|
225
|
+
* @throws {RequiredError}
|
|
226
|
+
* @memberof TaxDataApi
|
|
227
|
+
*/
|
|
228
|
+
apiTaxDataQbiThresholdsYearGet(year: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QbiThresholdResponse[], any, {}>>;
|
|
166
229
|
}
|
package/lib/api/tax-data-api.js
CHANGED
|
@@ -265,6 +265,94 @@ var TaxDataApiAxiosParamCreator = function (configuration) {
|
|
|
265
265
|
});
|
|
266
266
|
});
|
|
267
267
|
},
|
|
268
|
+
/**
|
|
269
|
+
*
|
|
270
|
+
* @param {number} year
|
|
271
|
+
* @param {string} filingStatus
|
|
272
|
+
* @param {*} [options] Override http request option.
|
|
273
|
+
* @throws {RequiredError}
|
|
274
|
+
*/
|
|
275
|
+
apiTaxDataQbiThresholdsYearFilingStatusGet: function (year, filingStatus, options) {
|
|
276
|
+
if (options === void 0) { options = {}; }
|
|
277
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
278
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
279
|
+
return __generator(this, function (_a) {
|
|
280
|
+
switch (_a.label) {
|
|
281
|
+
case 0:
|
|
282
|
+
// verify required parameter 'year' is not null or undefined
|
|
283
|
+
(0, common_1.assertParamExists)('apiTaxDataQbiThresholdsYearFilingStatusGet', 'year', year);
|
|
284
|
+
// verify required parameter 'filingStatus' is not null or undefined
|
|
285
|
+
(0, common_1.assertParamExists)('apiTaxDataQbiThresholdsYearFilingStatusGet', 'filingStatus', filingStatus);
|
|
286
|
+
localVarPath = "/api/tax-data/qbi-thresholds/{year}/{filingStatus}"
|
|
287
|
+
.replace("{".concat("year", "}"), encodeURIComponent(String(year)))
|
|
288
|
+
.replace("{".concat("filingStatus", "}"), encodeURIComponent(String(filingStatus)));
|
|
289
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
290
|
+
if (configuration) {
|
|
291
|
+
baseOptions = configuration.baseOptions;
|
|
292
|
+
}
|
|
293
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
294
|
+
localVarHeaderParameter = {};
|
|
295
|
+
localVarQueryParameter = {};
|
|
296
|
+
// authentication Bearer required
|
|
297
|
+
// http bearer authentication required
|
|
298
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
299
|
+
case 1:
|
|
300
|
+
// authentication Bearer required
|
|
301
|
+
// http bearer authentication required
|
|
302
|
+
_a.sent();
|
|
303
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
304
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
305
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
306
|
+
return [2 /*return*/, {
|
|
307
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
308
|
+
options: localVarRequestOptions,
|
|
309
|
+
}];
|
|
310
|
+
}
|
|
311
|
+
});
|
|
312
|
+
});
|
|
313
|
+
},
|
|
314
|
+
/**
|
|
315
|
+
*
|
|
316
|
+
* @param {number} year
|
|
317
|
+
* @param {*} [options] Override http request option.
|
|
318
|
+
* @throws {RequiredError}
|
|
319
|
+
*/
|
|
320
|
+
apiTaxDataQbiThresholdsYearGet: function (year, options) {
|
|
321
|
+
if (options === void 0) { options = {}; }
|
|
322
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
323
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
324
|
+
return __generator(this, function (_a) {
|
|
325
|
+
switch (_a.label) {
|
|
326
|
+
case 0:
|
|
327
|
+
// verify required parameter 'year' is not null or undefined
|
|
328
|
+
(0, common_1.assertParamExists)('apiTaxDataQbiThresholdsYearGet', 'year', year);
|
|
329
|
+
localVarPath = "/api/tax-data/qbi-thresholds/{year}"
|
|
330
|
+
.replace("{".concat("year", "}"), encodeURIComponent(String(year)));
|
|
331
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
332
|
+
if (configuration) {
|
|
333
|
+
baseOptions = configuration.baseOptions;
|
|
334
|
+
}
|
|
335
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
336
|
+
localVarHeaderParameter = {};
|
|
337
|
+
localVarQueryParameter = {};
|
|
338
|
+
// authentication Bearer required
|
|
339
|
+
// http bearer authentication required
|
|
340
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
341
|
+
case 1:
|
|
342
|
+
// authentication Bearer required
|
|
343
|
+
// http bearer authentication required
|
|
344
|
+
_a.sent();
|
|
345
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
346
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
347
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
348
|
+
return [2 /*return*/, {
|
|
349
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
350
|
+
options: localVarRequestOptions,
|
|
351
|
+
}];
|
|
352
|
+
}
|
|
353
|
+
});
|
|
354
|
+
});
|
|
355
|
+
},
|
|
268
356
|
};
|
|
269
357
|
};
|
|
270
358
|
exports.TaxDataApiAxiosParamCreator = TaxDataApiAxiosParamCreator;
|
|
@@ -365,6 +453,51 @@ var TaxDataApiFp = function (configuration) {
|
|
|
365
453
|
});
|
|
366
454
|
});
|
|
367
455
|
},
|
|
456
|
+
/**
|
|
457
|
+
*
|
|
458
|
+
* @param {number} year
|
|
459
|
+
* @param {string} filingStatus
|
|
460
|
+
* @param {*} [options] Override http request option.
|
|
461
|
+
* @throws {RequiredError}
|
|
462
|
+
*/
|
|
463
|
+
apiTaxDataQbiThresholdsYearFilingStatusGet: function (year, filingStatus, options) {
|
|
464
|
+
var _a, _b, _c;
|
|
465
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
466
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
467
|
+
return __generator(this, function (_d) {
|
|
468
|
+
switch (_d.label) {
|
|
469
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiTaxDataQbiThresholdsYearFilingStatusGet(year, filingStatus, options)];
|
|
470
|
+
case 1:
|
|
471
|
+
localVarAxiosArgs = _d.sent();
|
|
472
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
473
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaxDataApi.apiTaxDataQbiThresholdsYearFilingStatusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
474
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
475
|
+
}
|
|
476
|
+
});
|
|
477
|
+
});
|
|
478
|
+
},
|
|
479
|
+
/**
|
|
480
|
+
*
|
|
481
|
+
* @param {number} year
|
|
482
|
+
* @param {*} [options] Override http request option.
|
|
483
|
+
* @throws {RequiredError}
|
|
484
|
+
*/
|
|
485
|
+
apiTaxDataQbiThresholdsYearGet: function (year, options) {
|
|
486
|
+
var _a, _b, _c;
|
|
487
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
488
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
489
|
+
return __generator(this, function (_d) {
|
|
490
|
+
switch (_d.label) {
|
|
491
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiTaxDataQbiThresholdsYearGet(year, options)];
|
|
492
|
+
case 1:
|
|
493
|
+
localVarAxiosArgs = _d.sent();
|
|
494
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
495
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaxDataApi.apiTaxDataQbiThresholdsYearGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
496
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
497
|
+
}
|
|
498
|
+
});
|
|
499
|
+
});
|
|
500
|
+
},
|
|
368
501
|
};
|
|
369
502
|
};
|
|
370
503
|
exports.TaxDataApiFp = TaxDataApiFp;
|
|
@@ -413,6 +546,25 @@ var TaxDataApiFactory = function (configuration, basePath, axios) {
|
|
|
413
546
|
apiTaxDataParametersYearParameterNameGet: function (year, parameterName, options) {
|
|
414
547
|
return localVarFp.apiTaxDataParametersYearParameterNameGet(year, parameterName, options).then(function (request) { return request(axios, basePath); });
|
|
415
548
|
},
|
|
549
|
+
/**
|
|
550
|
+
*
|
|
551
|
+
* @param {number} year
|
|
552
|
+
* @param {string} filingStatus
|
|
553
|
+
* @param {*} [options] Override http request option.
|
|
554
|
+
* @throws {RequiredError}
|
|
555
|
+
*/
|
|
556
|
+
apiTaxDataQbiThresholdsYearFilingStatusGet: function (year, filingStatus, options) {
|
|
557
|
+
return localVarFp.apiTaxDataQbiThresholdsYearFilingStatusGet(year, filingStatus, options).then(function (request) { return request(axios, basePath); });
|
|
558
|
+
},
|
|
559
|
+
/**
|
|
560
|
+
*
|
|
561
|
+
* @param {number} year
|
|
562
|
+
* @param {*} [options] Override http request option.
|
|
563
|
+
* @throws {RequiredError}
|
|
564
|
+
*/
|
|
565
|
+
apiTaxDataQbiThresholdsYearGet: function (year, options) {
|
|
566
|
+
return localVarFp.apiTaxDataQbiThresholdsYearGet(year, options).then(function (request) { return request(axios, basePath); });
|
|
567
|
+
},
|
|
416
568
|
};
|
|
417
569
|
};
|
|
418
570
|
exports.TaxDataApiFactory = TaxDataApiFactory;
|
|
@@ -473,6 +625,29 @@ var TaxDataApi = /** @class */ (function (_super) {
|
|
|
473
625
|
var _this = this;
|
|
474
626
|
return (0, exports.TaxDataApiFp)(this.configuration).apiTaxDataParametersYearParameterNameGet(year, parameterName, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
475
627
|
};
|
|
628
|
+
/**
|
|
629
|
+
*
|
|
630
|
+
* @param {number} year
|
|
631
|
+
* @param {string} filingStatus
|
|
632
|
+
* @param {*} [options] Override http request option.
|
|
633
|
+
* @throws {RequiredError}
|
|
634
|
+
* @memberof TaxDataApi
|
|
635
|
+
*/
|
|
636
|
+
TaxDataApi.prototype.apiTaxDataQbiThresholdsYearFilingStatusGet = function (year, filingStatus, options) {
|
|
637
|
+
var _this = this;
|
|
638
|
+
return (0, exports.TaxDataApiFp)(this.configuration).apiTaxDataQbiThresholdsYearFilingStatusGet(year, filingStatus, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
639
|
+
};
|
|
640
|
+
/**
|
|
641
|
+
*
|
|
642
|
+
* @param {number} year
|
|
643
|
+
* @param {*} [options] Override http request option.
|
|
644
|
+
* @throws {RequiredError}
|
|
645
|
+
* @memberof TaxDataApi
|
|
646
|
+
*/
|
|
647
|
+
TaxDataApi.prototype.apiTaxDataQbiThresholdsYearGet = function (year, options) {
|
|
648
|
+
var _this = this;
|
|
649
|
+
return (0, exports.TaxDataApiFp)(this.configuration).apiTaxDataQbiThresholdsYearGet(year, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
650
|
+
};
|
|
476
651
|
return TaxDataApi;
|
|
477
652
|
}(base_1.BaseAPI));
|
|
478
653
|
exports.TaxDataApi = TaxDataApi;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* biz-entity-api
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CompanyDeliveryDetails
|
|
16
|
+
*/
|
|
17
|
+
export interface CompanyDeliveryDetails {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CompanyDeliveryDetails
|
|
22
|
+
*/
|
|
23
|
+
'companyName'?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CompanyDeliveryDetails
|
|
28
|
+
*/
|
|
29
|
+
'submittedByUserName'?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CompanyDeliveryDetails
|
|
34
|
+
*/
|
|
35
|
+
'submittedByUserId'?: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/lib/models/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from './add-family-members-batch-request';
|
|
|
7
7
|
export * from './add-person-request';
|
|
8
8
|
export * from './authenticated-user-in-ui';
|
|
9
9
|
export * from './capital-loss-limit-response';
|
|
10
|
+
export * from './company-delivery-details';
|
|
10
11
|
export * from './company-ownership-transfer-request';
|
|
11
12
|
export * from './company-response';
|
|
12
13
|
export * from './company-update-request';
|
|
@@ -50,6 +51,7 @@ export * from './personal-tax-report-response';
|
|
|
50
51
|
export * from './problem-details';
|
|
51
52
|
export * from './qbaccount-name-info';
|
|
52
53
|
export * from './qbaccounts';
|
|
54
|
+
export * from './qbi-threshold-response';
|
|
53
55
|
export * from './quick-books-account-mapping';
|
|
54
56
|
export * from './resend-invitation-request';
|
|
55
57
|
export * from './scorp-election-create-request';
|
|
@@ -64,6 +66,7 @@ export * from './sign-up-request';
|
|
|
64
66
|
export * from './single-entity-response';
|
|
65
67
|
export * from './state-enum';
|
|
66
68
|
export * from './state-response';
|
|
69
|
+
export * from './submit2553-irs-form-request';
|
|
67
70
|
export * from './subscription-tier-enum';
|
|
68
71
|
export * from './suggested-family-member-dto';
|
|
69
72
|
export * from './tax-calculation-parameter-response';
|
package/lib/models/index.js
CHANGED
|
@@ -23,6 +23,7 @@ __exportStar(require("./add-family-members-batch-request"), exports);
|
|
|
23
23
|
__exportStar(require("./add-person-request"), exports);
|
|
24
24
|
__exportStar(require("./authenticated-user-in-ui"), exports);
|
|
25
25
|
__exportStar(require("./capital-loss-limit-response"), exports);
|
|
26
|
+
__exportStar(require("./company-delivery-details"), exports);
|
|
26
27
|
__exportStar(require("./company-ownership-transfer-request"), exports);
|
|
27
28
|
__exportStar(require("./company-response"), exports);
|
|
28
29
|
__exportStar(require("./company-update-request"), exports);
|
|
@@ -66,6 +67,7 @@ __exportStar(require("./personal-tax-report-response"), exports);
|
|
|
66
67
|
__exportStar(require("./problem-details"), exports);
|
|
67
68
|
__exportStar(require("./qbaccount-name-info"), exports);
|
|
68
69
|
__exportStar(require("./qbaccounts"), exports);
|
|
70
|
+
__exportStar(require("./qbi-threshold-response"), exports);
|
|
69
71
|
__exportStar(require("./quick-books-account-mapping"), exports);
|
|
70
72
|
__exportStar(require("./resend-invitation-request"), exports);
|
|
71
73
|
__exportStar(require("./scorp-election-create-request"), exports);
|
|
@@ -80,6 +82,7 @@ __exportStar(require("./sign-up-request"), exports);
|
|
|
80
82
|
__exportStar(require("./single-entity-response"), exports);
|
|
81
83
|
__exportStar(require("./state-enum"), exports);
|
|
82
84
|
__exportStar(require("./state-response"), exports);
|
|
85
|
+
__exportStar(require("./submit2553-irs-form-request"), exports);
|
|
83
86
|
__exportStar(require("./subscription-tier-enum"), exports);
|
|
84
87
|
__exportStar(require("./suggested-family-member-dto"), exports);
|
|
85
88
|
__exportStar(require("./tax-calculation-parameter-response"), exports);
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* biz-entity-api
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface QbiThresholdResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface QbiThresholdResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof QbiThresholdResponse
|
|
22
|
+
*/
|
|
23
|
+
'taxYear'?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof QbiThresholdResponse
|
|
28
|
+
*/
|
|
29
|
+
'filingStatus'?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof QbiThresholdResponse
|
|
34
|
+
*/
|
|
35
|
+
'thresholdAmount'?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof QbiThresholdResponse
|
|
40
|
+
*/
|
|
41
|
+
'phaseOutRange'?: number;
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* biz-entity-api
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v2
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { CompanyDeliveryDetails } from './company-delivery-details';
|
|
13
|
+
import type { Fill2553IrsFormRequest } from './fill2553-irs-form-request';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface Submit2553IrsFormRequest
|
|
18
|
+
*/
|
|
19
|
+
export interface Submit2553IrsFormRequest {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {CompanyDeliveryDetails}
|
|
23
|
+
* @memberof Submit2553IrsFormRequest
|
|
24
|
+
*/
|
|
25
|
+
'companyDetails'?: CompanyDeliveryDetails;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Fill2553IrsFormRequest}
|
|
29
|
+
* @memberof Submit2553IrsFormRequest
|
|
30
|
+
*/
|
|
31
|
+
'formDetails'?: Fill2553IrsFormRequest;
|
|
32
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|