@s-corp-biz/biz-entity-api 1.9.0-staging.8 → 1.9.0-staging.9
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/tax-data-api.d.ts +103 -0
- package/lib/api/tax-data-api.js +303 -0
- package/lib/api.d.ts +1 -0
- package/lib/api.js +1 -0
- package/lib/models/index.d.ts +1 -0
- package/lib/models/index.js +1 -0
- package/lib/models/qbi-threshold-response.d.ts +42 -0
- package/lib/models/qbi-threshold-response.js +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,103 @@
|
|
|
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 { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { QbiThresholdResponse } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* TaxDataApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const TaxDataApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @param {number} year
|
|
24
|
+
* @param {string} filingStatus
|
|
25
|
+
* @param {*} [options] Override http request option.
|
|
26
|
+
* @throws {RequiredError}
|
|
27
|
+
*/
|
|
28
|
+
apiTaxDataQbiThresholdsYearFilingStatusGet: (year: number, filingStatus: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @param {number} year
|
|
32
|
+
* @param {*} [options] Override http request option.
|
|
33
|
+
* @throws {RequiredError}
|
|
34
|
+
*/
|
|
35
|
+
apiTaxDataQbiThresholdsYearGet: (year: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* TaxDataApi - functional programming interface
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
export declare const TaxDataApiFp: (configuration?: Configuration) => {
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @param {number} year
|
|
45
|
+
* @param {string} filingStatus
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
apiTaxDataQbiThresholdsYearFilingStatusGet(year: number, filingStatus: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QbiThresholdResponse>>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @param {number} year
|
|
53
|
+
* @param {*} [options] Override http request option.
|
|
54
|
+
* @throws {RequiredError}
|
|
55
|
+
*/
|
|
56
|
+
apiTaxDataQbiThresholdsYearGet(year: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<QbiThresholdResponse>>>;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* TaxDataApi - factory interface
|
|
60
|
+
* @export
|
|
61
|
+
*/
|
|
62
|
+
export declare const TaxDataApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @param {number} year
|
|
66
|
+
* @param {string} filingStatus
|
|
67
|
+
* @param {*} [options] Override http request option.
|
|
68
|
+
* @throws {RequiredError}
|
|
69
|
+
*/
|
|
70
|
+
apiTaxDataQbiThresholdsYearFilingStatusGet(year: number, filingStatus: string, options?: RawAxiosRequestConfig): AxiosPromise<QbiThresholdResponse>;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @param {number} year
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
apiTaxDataQbiThresholdsYearGet(year: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<QbiThresholdResponse>>;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* TaxDataApi - object-oriented interface
|
|
81
|
+
* @export
|
|
82
|
+
* @class TaxDataApi
|
|
83
|
+
* @extends {BaseAPI}
|
|
84
|
+
*/
|
|
85
|
+
export declare class TaxDataApi extends BaseAPI {
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @param {number} year
|
|
89
|
+
* @param {string} filingStatus
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
* @memberof TaxDataApi
|
|
93
|
+
*/
|
|
94
|
+
apiTaxDataQbiThresholdsYearFilingStatusGet(year: number, filingStatus: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QbiThresholdResponse, any, {}>>;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @param {number} year
|
|
98
|
+
* @param {*} [options] Override http request option.
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
* @memberof TaxDataApi
|
|
101
|
+
*/
|
|
102
|
+
apiTaxDataQbiThresholdsYearGet(year: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QbiThresholdResponse[], any, {}>>;
|
|
103
|
+
}
|
|
@@ -0,0 +1,303 @@
|
|
|
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.TaxDataApi = exports.TaxDataApiFactory = exports.TaxDataApiFp = exports.TaxDataApiAxiosParamCreator = 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
|
+
* TaxDataApi - axios parameter creator
|
|
87
|
+
* @export
|
|
88
|
+
*/
|
|
89
|
+
var TaxDataApiAxiosParamCreator = function (configuration) {
|
|
90
|
+
var _this = this;
|
|
91
|
+
return {
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @param {number} year
|
|
95
|
+
* @param {string} filingStatus
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
apiTaxDataQbiThresholdsYearFilingStatusGet: function (year, filingStatus, options) {
|
|
100
|
+
if (options === void 0) { options = {}; }
|
|
101
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
102
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
103
|
+
return __generator(this, function (_a) {
|
|
104
|
+
switch (_a.label) {
|
|
105
|
+
case 0:
|
|
106
|
+
// verify required parameter 'year' is not null or undefined
|
|
107
|
+
(0, common_1.assertParamExists)('apiTaxDataQbiThresholdsYearFilingStatusGet', 'year', year);
|
|
108
|
+
// verify required parameter 'filingStatus' is not null or undefined
|
|
109
|
+
(0, common_1.assertParamExists)('apiTaxDataQbiThresholdsYearFilingStatusGet', 'filingStatus', filingStatus);
|
|
110
|
+
localVarPath = "/api/tax-data/qbi-thresholds/{year}/{filingStatus}"
|
|
111
|
+
.replace("{".concat("year", "}"), encodeURIComponent(String(year)))
|
|
112
|
+
.replace("{".concat("filingStatus", "}"), encodeURIComponent(String(filingStatus)));
|
|
113
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
|
+
if (configuration) {
|
|
115
|
+
baseOptions = configuration.baseOptions;
|
|
116
|
+
}
|
|
117
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
118
|
+
localVarHeaderParameter = {};
|
|
119
|
+
localVarQueryParameter = {};
|
|
120
|
+
// authentication Bearer required
|
|
121
|
+
// http bearer authentication required
|
|
122
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
123
|
+
case 1:
|
|
124
|
+
// authentication Bearer required
|
|
125
|
+
// http bearer authentication required
|
|
126
|
+
_a.sent();
|
|
127
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
128
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
129
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
130
|
+
return [2 /*return*/, {
|
|
131
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
132
|
+
options: localVarRequestOptions,
|
|
133
|
+
}];
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
});
|
|
137
|
+
},
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @param {number} year
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
*/
|
|
144
|
+
apiTaxDataQbiThresholdsYearGet: function (year, options) {
|
|
145
|
+
if (options === void 0) { options = {}; }
|
|
146
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
147
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
148
|
+
return __generator(this, function (_a) {
|
|
149
|
+
switch (_a.label) {
|
|
150
|
+
case 0:
|
|
151
|
+
// verify required parameter 'year' is not null or undefined
|
|
152
|
+
(0, common_1.assertParamExists)('apiTaxDataQbiThresholdsYearGet', 'year', year);
|
|
153
|
+
localVarPath = "/api/tax-data/qbi-thresholds/{year}"
|
|
154
|
+
.replace("{".concat("year", "}"), encodeURIComponent(String(year)));
|
|
155
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
156
|
+
if (configuration) {
|
|
157
|
+
baseOptions = configuration.baseOptions;
|
|
158
|
+
}
|
|
159
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
160
|
+
localVarHeaderParameter = {};
|
|
161
|
+
localVarQueryParameter = {};
|
|
162
|
+
// authentication Bearer required
|
|
163
|
+
// http bearer authentication required
|
|
164
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
165
|
+
case 1:
|
|
166
|
+
// authentication Bearer required
|
|
167
|
+
// http bearer authentication required
|
|
168
|
+
_a.sent();
|
|
169
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
170
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
171
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
172
|
+
return [2 /*return*/, {
|
|
173
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
174
|
+
options: localVarRequestOptions,
|
|
175
|
+
}];
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
});
|
|
179
|
+
},
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
exports.TaxDataApiAxiosParamCreator = TaxDataApiAxiosParamCreator;
|
|
183
|
+
/**
|
|
184
|
+
* TaxDataApi - functional programming interface
|
|
185
|
+
* @export
|
|
186
|
+
*/
|
|
187
|
+
var TaxDataApiFp = function (configuration) {
|
|
188
|
+
var localVarAxiosParamCreator = (0, exports.TaxDataApiAxiosParamCreator)(configuration);
|
|
189
|
+
return {
|
|
190
|
+
/**
|
|
191
|
+
*
|
|
192
|
+
* @param {number} year
|
|
193
|
+
* @param {string} filingStatus
|
|
194
|
+
* @param {*} [options] Override http request option.
|
|
195
|
+
* @throws {RequiredError}
|
|
196
|
+
*/
|
|
197
|
+
apiTaxDataQbiThresholdsYearFilingStatusGet: function (year, filingStatus, options) {
|
|
198
|
+
var _a, _b, _c;
|
|
199
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
200
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
201
|
+
return __generator(this, function (_d) {
|
|
202
|
+
switch (_d.label) {
|
|
203
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiTaxDataQbiThresholdsYearFilingStatusGet(year, filingStatus, options)];
|
|
204
|
+
case 1:
|
|
205
|
+
localVarAxiosArgs = _d.sent();
|
|
206
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
207
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaxDataApi.apiTaxDataQbiThresholdsYearFilingStatusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
208
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
});
|
|
212
|
+
},
|
|
213
|
+
/**
|
|
214
|
+
*
|
|
215
|
+
* @param {number} year
|
|
216
|
+
* @param {*} [options] Override http request option.
|
|
217
|
+
* @throws {RequiredError}
|
|
218
|
+
*/
|
|
219
|
+
apiTaxDataQbiThresholdsYearGet: function (year, options) {
|
|
220
|
+
var _a, _b, _c;
|
|
221
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
222
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
223
|
+
return __generator(this, function (_d) {
|
|
224
|
+
switch (_d.label) {
|
|
225
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiTaxDataQbiThresholdsYearGet(year, options)];
|
|
226
|
+
case 1:
|
|
227
|
+
localVarAxiosArgs = _d.sent();
|
|
228
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
229
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaxDataApi.apiTaxDataQbiThresholdsYearGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
230
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
231
|
+
}
|
|
232
|
+
});
|
|
233
|
+
});
|
|
234
|
+
},
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
exports.TaxDataApiFp = TaxDataApiFp;
|
|
238
|
+
/**
|
|
239
|
+
* TaxDataApi - factory interface
|
|
240
|
+
* @export
|
|
241
|
+
*/
|
|
242
|
+
var TaxDataApiFactory = function (configuration, basePath, axios) {
|
|
243
|
+
var localVarFp = (0, exports.TaxDataApiFp)(configuration);
|
|
244
|
+
return {
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @param {number} year
|
|
248
|
+
* @param {string} filingStatus
|
|
249
|
+
* @param {*} [options] Override http request option.
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
*/
|
|
252
|
+
apiTaxDataQbiThresholdsYearFilingStatusGet: function (year, filingStatus, options) {
|
|
253
|
+
return localVarFp.apiTaxDataQbiThresholdsYearFilingStatusGet(year, filingStatus, options).then(function (request) { return request(axios, basePath); });
|
|
254
|
+
},
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
* @param {number} year
|
|
258
|
+
* @param {*} [options] Override http request option.
|
|
259
|
+
* @throws {RequiredError}
|
|
260
|
+
*/
|
|
261
|
+
apiTaxDataQbiThresholdsYearGet: function (year, options) {
|
|
262
|
+
return localVarFp.apiTaxDataQbiThresholdsYearGet(year, options).then(function (request) { return request(axios, basePath); });
|
|
263
|
+
},
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
exports.TaxDataApiFactory = TaxDataApiFactory;
|
|
267
|
+
/**
|
|
268
|
+
* TaxDataApi - object-oriented interface
|
|
269
|
+
* @export
|
|
270
|
+
* @class TaxDataApi
|
|
271
|
+
* @extends {BaseAPI}
|
|
272
|
+
*/
|
|
273
|
+
var TaxDataApi = /** @class */ (function (_super) {
|
|
274
|
+
__extends(TaxDataApi, _super);
|
|
275
|
+
function TaxDataApi() {
|
|
276
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
*
|
|
280
|
+
* @param {number} year
|
|
281
|
+
* @param {string} filingStatus
|
|
282
|
+
* @param {*} [options] Override http request option.
|
|
283
|
+
* @throws {RequiredError}
|
|
284
|
+
* @memberof TaxDataApi
|
|
285
|
+
*/
|
|
286
|
+
TaxDataApi.prototype.apiTaxDataQbiThresholdsYearFilingStatusGet = function (year, filingStatus, options) {
|
|
287
|
+
var _this = this;
|
|
288
|
+
return (0, exports.TaxDataApiFp)(this.configuration).apiTaxDataQbiThresholdsYearFilingStatusGet(year, filingStatus, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
289
|
+
};
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
* @param {number} year
|
|
293
|
+
* @param {*} [options] Override http request option.
|
|
294
|
+
* @throws {RequiredError}
|
|
295
|
+
* @memberof TaxDataApi
|
|
296
|
+
*/
|
|
297
|
+
TaxDataApi.prototype.apiTaxDataQbiThresholdsYearGet = function (year, options) {
|
|
298
|
+
var _this = this;
|
|
299
|
+
return (0, exports.TaxDataApiFp)(this.configuration).apiTaxDataQbiThresholdsYearGet(year, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
300
|
+
};
|
|
301
|
+
return TaxDataApi;
|
|
302
|
+
}(base_1.BaseAPI));
|
|
303
|
+
exports.TaxDataApi = TaxDataApi;
|
package/lib/api.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export * from './api/states-api';
|
|
|
28
28
|
export * from './api/stripe-api';
|
|
29
29
|
export * from './api/tax-category-api';
|
|
30
30
|
export * from './api/tax-category-map-api';
|
|
31
|
+
export * from './api/tax-data-api';
|
|
31
32
|
export * from './api/tax-line-item-self-employment-flags-api';
|
|
32
33
|
export * from './api/tax-line-items-api';
|
|
33
34
|
export * from './api/test-api';
|
package/lib/api.js
CHANGED
|
@@ -46,6 +46,7 @@ __exportStar(require("./api/states-api"), exports);
|
|
|
46
46
|
__exportStar(require("./api/stripe-api"), exports);
|
|
47
47
|
__exportStar(require("./api/tax-category-api"), exports);
|
|
48
48
|
__exportStar(require("./api/tax-category-map-api"), exports);
|
|
49
|
+
__exportStar(require("./api/tax-data-api"), exports);
|
|
49
50
|
__exportStar(require("./api/tax-line-item-self-employment-flags-api"), exports);
|
|
50
51
|
__exportStar(require("./api/tax-line-items-api"), exports);
|
|
51
52
|
__exportStar(require("./api/test-api"), exports);
|
package/lib/models/index.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ export * from './personal-tax-report-response';
|
|
|
42
42
|
export * from './problem-details';
|
|
43
43
|
export * from './qbaccount-name-info';
|
|
44
44
|
export * from './qbaccounts';
|
|
45
|
+
export * from './qbi-threshold-response';
|
|
45
46
|
export * from './quick-books-account-mapping';
|
|
46
47
|
export * from './resend-invitation-request';
|
|
47
48
|
export * from './scorp-election-create-request';
|
package/lib/models/index.js
CHANGED
|
@@ -58,6 +58,7 @@ __exportStar(require("./personal-tax-report-response"), exports);
|
|
|
58
58
|
__exportStar(require("./problem-details"), exports);
|
|
59
59
|
__exportStar(require("./qbaccount-name-info"), exports);
|
|
60
60
|
__exportStar(require("./qbaccounts"), exports);
|
|
61
|
+
__exportStar(require("./qbi-threshold-response"), exports);
|
|
61
62
|
__exportStar(require("./quick-books-account-mapping"), exports);
|
|
62
63
|
__exportStar(require("./resend-invitation-request"), exports);
|
|
63
64
|
__exportStar(require("./scorp-election-create-request"), 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 });
|