@s-corp-biz/biz-entity-api 1.9.0-staging.1 → 1.9.0-staging.2
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-line-item-self-employment-flags-api.d.ts +192 -0
- package/lib/api/tax-line-item-self-employment-flags-api.js +553 -0
- package/lib/api.d.ts +1 -0
- package/lib/api.js +1 -0
- package/lib/models/create-tax-line-item-self-employment-flag-request.d.ts +30 -0
- package/lib/models/create-tax-line-item-self-employment-flag-request.js +15 -0
- package/lib/models/index.d.ts +3 -0
- package/lib/models/index.js +3 -0
- package/lib/models/tax-line-item-self-employment-flag-response.d.ts +48 -0
- package/lib/models/tax-line-item-self-employment-flag-response.js +15 -0
- package/lib/models/update-tax-line-item-self-employment-flag-request.d.ts +24 -0
- package/lib/models/update-tax-line-item-self-employment-flag-request.js +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,192 @@
|
|
|
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 { CreateTaxLineItemSelfEmploymentFlagRequest } from '../models';
|
|
16
|
+
import type { TaxLineItemSelfEmploymentFlagResponse } from '../models';
|
|
17
|
+
import type { UpdateTaxLineItemSelfEmploymentFlagRequest } from '../models';
|
|
18
|
+
/**
|
|
19
|
+
* TaxLineItemSelfEmploymentFlagsApi - axios parameter creator
|
|
20
|
+
* @export
|
|
21
|
+
*/
|
|
22
|
+
export declare const TaxLineItemSelfEmploymentFlagsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @param {string} id
|
|
26
|
+
* @param {*} [options] Override http request option.
|
|
27
|
+
* @throws {RequiredError}
|
|
28
|
+
*/
|
|
29
|
+
apiTaxLineItemSelfEmploymentFlagsIdDelete: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @param {string} id
|
|
33
|
+
* @param {*} [options] Override http request option.
|
|
34
|
+
* @throws {RequiredError}
|
|
35
|
+
*/
|
|
36
|
+
apiTaxLineItemSelfEmploymentFlagsIdGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @param {string} id
|
|
40
|
+
* @param {UpdateTaxLineItemSelfEmploymentFlagRequest} [updateTaxLineItemSelfEmploymentFlagRequest]
|
|
41
|
+
* @param {*} [options] Override http request option.
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
*/
|
|
44
|
+
apiTaxLineItemSelfEmploymentFlagsIdPut: (id: string, updateTaxLineItemSelfEmploymentFlagRequest?: UpdateTaxLineItemSelfEmploymentFlagRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @param {CreateTaxLineItemSelfEmploymentFlagRequest} [createTaxLineItemSelfEmploymentFlagRequest]
|
|
48
|
+
* @param {*} [options] Override http request option.
|
|
49
|
+
* @throws {RequiredError}
|
|
50
|
+
*/
|
|
51
|
+
apiTaxLineItemSelfEmploymentFlagsPost: (createTaxLineItemSelfEmploymentFlagRequest?: CreateTaxLineItemSelfEmploymentFlagRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @param {string} reportId
|
|
55
|
+
* @param {*} [options] Override http request option.
|
|
56
|
+
* @throws {RequiredError}
|
|
57
|
+
*/
|
|
58
|
+
apiTaxLineItemSelfEmploymentFlagsReportReportIdGet: (reportId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* TaxLineItemSelfEmploymentFlagsApi - functional programming interface
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const TaxLineItemSelfEmploymentFlagsApiFp: (configuration?: Configuration) => {
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @param {string} id
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
apiTaxLineItemSelfEmploymentFlagsIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @param {string} id
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
apiTaxLineItemSelfEmploymentFlagsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaxLineItemSelfEmploymentFlagResponse>>;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @param {string} id
|
|
82
|
+
* @param {UpdateTaxLineItemSelfEmploymentFlagRequest} [updateTaxLineItemSelfEmploymentFlagRequest]
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
*/
|
|
86
|
+
apiTaxLineItemSelfEmploymentFlagsIdPut(id: string, updateTaxLineItemSelfEmploymentFlagRequest?: UpdateTaxLineItemSelfEmploymentFlagRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaxLineItemSelfEmploymentFlagResponse>>;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @param {CreateTaxLineItemSelfEmploymentFlagRequest} [createTaxLineItemSelfEmploymentFlagRequest]
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
apiTaxLineItemSelfEmploymentFlagsPost(createTaxLineItemSelfEmploymentFlagRequest?: CreateTaxLineItemSelfEmploymentFlagRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaxLineItemSelfEmploymentFlagResponse>>;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @param {string} reportId
|
|
97
|
+
* @param {*} [options] Override http request option.
|
|
98
|
+
* @throws {RequiredError}
|
|
99
|
+
*/
|
|
100
|
+
apiTaxLineItemSelfEmploymentFlagsReportReportIdGet(reportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TaxLineItemSelfEmploymentFlagResponse>>>;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* TaxLineItemSelfEmploymentFlagsApi - factory interface
|
|
104
|
+
* @export
|
|
105
|
+
*/
|
|
106
|
+
export declare const TaxLineItemSelfEmploymentFlagsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @param {string} id
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
apiTaxLineItemSelfEmploymentFlagsIdDelete(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @param {string} id
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
apiTaxLineItemSelfEmploymentFlagsIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<TaxLineItemSelfEmploymentFlagResponse>;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @param {string} id
|
|
124
|
+
* @param {UpdateTaxLineItemSelfEmploymentFlagRequest} [updateTaxLineItemSelfEmploymentFlagRequest]
|
|
125
|
+
* @param {*} [options] Override http request option.
|
|
126
|
+
* @throws {RequiredError}
|
|
127
|
+
*/
|
|
128
|
+
apiTaxLineItemSelfEmploymentFlagsIdPut(id: string, updateTaxLineItemSelfEmploymentFlagRequest?: UpdateTaxLineItemSelfEmploymentFlagRequest, options?: RawAxiosRequestConfig): AxiosPromise<TaxLineItemSelfEmploymentFlagResponse>;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @param {CreateTaxLineItemSelfEmploymentFlagRequest} [createTaxLineItemSelfEmploymentFlagRequest]
|
|
132
|
+
* @param {*} [options] Override http request option.
|
|
133
|
+
* @throws {RequiredError}
|
|
134
|
+
*/
|
|
135
|
+
apiTaxLineItemSelfEmploymentFlagsPost(createTaxLineItemSelfEmploymentFlagRequest?: CreateTaxLineItemSelfEmploymentFlagRequest, options?: RawAxiosRequestConfig): AxiosPromise<TaxLineItemSelfEmploymentFlagResponse>;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @param {string} reportId
|
|
139
|
+
* @param {*} [options] Override http request option.
|
|
140
|
+
* @throws {RequiredError}
|
|
141
|
+
*/
|
|
142
|
+
apiTaxLineItemSelfEmploymentFlagsReportReportIdGet(reportId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<TaxLineItemSelfEmploymentFlagResponse>>;
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* TaxLineItemSelfEmploymentFlagsApi - object-oriented interface
|
|
146
|
+
* @export
|
|
147
|
+
* @class TaxLineItemSelfEmploymentFlagsApi
|
|
148
|
+
* @extends {BaseAPI}
|
|
149
|
+
*/
|
|
150
|
+
export declare class TaxLineItemSelfEmploymentFlagsApi extends BaseAPI {
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @param {string} id
|
|
154
|
+
* @param {*} [options] Override http request option.
|
|
155
|
+
* @throws {RequiredError}
|
|
156
|
+
* @memberof TaxLineItemSelfEmploymentFlagsApi
|
|
157
|
+
*/
|
|
158
|
+
apiTaxLineItemSelfEmploymentFlagsIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* @param {string} id
|
|
162
|
+
* @param {*} [options] Override http request option.
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
* @memberof TaxLineItemSelfEmploymentFlagsApi
|
|
165
|
+
*/
|
|
166
|
+
apiTaxLineItemSelfEmploymentFlagsIdGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaxLineItemSelfEmploymentFlagResponse, any, {}>>;
|
|
167
|
+
/**
|
|
168
|
+
*
|
|
169
|
+
* @param {string} id
|
|
170
|
+
* @param {UpdateTaxLineItemSelfEmploymentFlagRequest} [updateTaxLineItemSelfEmploymentFlagRequest]
|
|
171
|
+
* @param {*} [options] Override http request option.
|
|
172
|
+
* @throws {RequiredError}
|
|
173
|
+
* @memberof TaxLineItemSelfEmploymentFlagsApi
|
|
174
|
+
*/
|
|
175
|
+
apiTaxLineItemSelfEmploymentFlagsIdPut(id: string, updateTaxLineItemSelfEmploymentFlagRequest?: UpdateTaxLineItemSelfEmploymentFlagRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaxLineItemSelfEmploymentFlagResponse, any, {}>>;
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @param {CreateTaxLineItemSelfEmploymentFlagRequest} [createTaxLineItemSelfEmploymentFlagRequest]
|
|
179
|
+
* @param {*} [options] Override http request option.
|
|
180
|
+
* @throws {RequiredError}
|
|
181
|
+
* @memberof TaxLineItemSelfEmploymentFlagsApi
|
|
182
|
+
*/
|
|
183
|
+
apiTaxLineItemSelfEmploymentFlagsPost(createTaxLineItemSelfEmploymentFlagRequest?: CreateTaxLineItemSelfEmploymentFlagRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaxLineItemSelfEmploymentFlagResponse, any, {}>>;
|
|
184
|
+
/**
|
|
185
|
+
*
|
|
186
|
+
* @param {string} reportId
|
|
187
|
+
* @param {*} [options] Override http request option.
|
|
188
|
+
* @throws {RequiredError}
|
|
189
|
+
* @memberof TaxLineItemSelfEmploymentFlagsApi
|
|
190
|
+
*/
|
|
191
|
+
apiTaxLineItemSelfEmploymentFlagsReportReportIdGet(reportId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaxLineItemSelfEmploymentFlagResponse[], any, {}>>;
|
|
192
|
+
}
|
|
@@ -0,0 +1,553 @@
|
|
|
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.TaxLineItemSelfEmploymentFlagsApi = exports.TaxLineItemSelfEmploymentFlagsApiFactory = exports.TaxLineItemSelfEmploymentFlagsApiFp = exports.TaxLineItemSelfEmploymentFlagsApiAxiosParamCreator = 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
|
+
* TaxLineItemSelfEmploymentFlagsApi - axios parameter creator
|
|
87
|
+
* @export
|
|
88
|
+
*/
|
|
89
|
+
var TaxLineItemSelfEmploymentFlagsApiAxiosParamCreator = function (configuration) {
|
|
90
|
+
var _this = this;
|
|
91
|
+
return {
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @param {string} id
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
apiTaxLineItemSelfEmploymentFlagsIdDelete: function (id, options) {
|
|
99
|
+
if (options === void 0) { options = {}; }
|
|
100
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
101
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
102
|
+
return __generator(this, function (_a) {
|
|
103
|
+
switch (_a.label) {
|
|
104
|
+
case 0:
|
|
105
|
+
// verify required parameter 'id' is not null or undefined
|
|
106
|
+
(0, common_1.assertParamExists)('apiTaxLineItemSelfEmploymentFlagsIdDelete', 'id', id);
|
|
107
|
+
localVarPath = "/api/TaxLineItemSelfEmploymentFlags/{id}"
|
|
108
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
109
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
110
|
+
if (configuration) {
|
|
111
|
+
baseOptions = configuration.baseOptions;
|
|
112
|
+
}
|
|
113
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
114
|
+
localVarHeaderParameter = {};
|
|
115
|
+
localVarQueryParameter = {};
|
|
116
|
+
// authentication Bearer required
|
|
117
|
+
// http bearer authentication required
|
|
118
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
119
|
+
case 1:
|
|
120
|
+
// authentication Bearer required
|
|
121
|
+
// http bearer authentication required
|
|
122
|
+
_a.sent();
|
|
123
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
124
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
125
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
126
|
+
return [2 /*return*/, {
|
|
127
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
128
|
+
options: localVarRequestOptions,
|
|
129
|
+
}];
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
});
|
|
133
|
+
},
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @param {string} id
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
*/
|
|
140
|
+
apiTaxLineItemSelfEmploymentFlagsIdGet: function (id, options) {
|
|
141
|
+
if (options === void 0) { options = {}; }
|
|
142
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
143
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
144
|
+
return __generator(this, function (_a) {
|
|
145
|
+
switch (_a.label) {
|
|
146
|
+
case 0:
|
|
147
|
+
// verify required parameter 'id' is not null or undefined
|
|
148
|
+
(0, common_1.assertParamExists)('apiTaxLineItemSelfEmploymentFlagsIdGet', 'id', id);
|
|
149
|
+
localVarPath = "/api/TaxLineItemSelfEmploymentFlags/{id}"
|
|
150
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
151
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
152
|
+
if (configuration) {
|
|
153
|
+
baseOptions = configuration.baseOptions;
|
|
154
|
+
}
|
|
155
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
156
|
+
localVarHeaderParameter = {};
|
|
157
|
+
localVarQueryParameter = {};
|
|
158
|
+
// authentication Bearer required
|
|
159
|
+
// http bearer authentication required
|
|
160
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
161
|
+
case 1:
|
|
162
|
+
// authentication Bearer required
|
|
163
|
+
// http bearer authentication required
|
|
164
|
+
_a.sent();
|
|
165
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
166
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
167
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
168
|
+
return [2 /*return*/, {
|
|
169
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
170
|
+
options: localVarRequestOptions,
|
|
171
|
+
}];
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
});
|
|
175
|
+
},
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @param {string} id
|
|
179
|
+
* @param {UpdateTaxLineItemSelfEmploymentFlagRequest} [updateTaxLineItemSelfEmploymentFlagRequest]
|
|
180
|
+
* @param {*} [options] Override http request option.
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
*/
|
|
183
|
+
apiTaxLineItemSelfEmploymentFlagsIdPut: function (id, updateTaxLineItemSelfEmploymentFlagRequest, options) {
|
|
184
|
+
if (options === void 0) { options = {}; }
|
|
185
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
186
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
187
|
+
return __generator(this, function (_a) {
|
|
188
|
+
switch (_a.label) {
|
|
189
|
+
case 0:
|
|
190
|
+
// verify required parameter 'id' is not null or undefined
|
|
191
|
+
(0, common_1.assertParamExists)('apiTaxLineItemSelfEmploymentFlagsIdPut', 'id', id);
|
|
192
|
+
localVarPath = "/api/TaxLineItemSelfEmploymentFlags/{id}"
|
|
193
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
194
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
195
|
+
if (configuration) {
|
|
196
|
+
baseOptions = configuration.baseOptions;
|
|
197
|
+
}
|
|
198
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
199
|
+
localVarHeaderParameter = {};
|
|
200
|
+
localVarQueryParameter = {};
|
|
201
|
+
// authentication Bearer required
|
|
202
|
+
// http bearer authentication required
|
|
203
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
204
|
+
case 1:
|
|
205
|
+
// authentication Bearer required
|
|
206
|
+
// http bearer authentication required
|
|
207
|
+
_a.sent();
|
|
208
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
209
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
210
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
211
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
212
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateTaxLineItemSelfEmploymentFlagRequest, localVarRequestOptions, configuration);
|
|
213
|
+
return [2 /*return*/, {
|
|
214
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
215
|
+
options: localVarRequestOptions,
|
|
216
|
+
}];
|
|
217
|
+
}
|
|
218
|
+
});
|
|
219
|
+
});
|
|
220
|
+
},
|
|
221
|
+
/**
|
|
222
|
+
*
|
|
223
|
+
* @param {CreateTaxLineItemSelfEmploymentFlagRequest} [createTaxLineItemSelfEmploymentFlagRequest]
|
|
224
|
+
* @param {*} [options] Override http request option.
|
|
225
|
+
* @throws {RequiredError}
|
|
226
|
+
*/
|
|
227
|
+
apiTaxLineItemSelfEmploymentFlagsPost: function (createTaxLineItemSelfEmploymentFlagRequest, options) {
|
|
228
|
+
if (options === void 0) { options = {}; }
|
|
229
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
230
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
231
|
+
return __generator(this, function (_a) {
|
|
232
|
+
switch (_a.label) {
|
|
233
|
+
case 0:
|
|
234
|
+
localVarPath = "/api/TaxLineItemSelfEmploymentFlags";
|
|
235
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
236
|
+
if (configuration) {
|
|
237
|
+
baseOptions = configuration.baseOptions;
|
|
238
|
+
}
|
|
239
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, 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
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
250
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
251
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
252
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
253
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createTaxLineItemSelfEmploymentFlagRequest, localVarRequestOptions, configuration);
|
|
254
|
+
return [2 /*return*/, {
|
|
255
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
256
|
+
options: localVarRequestOptions,
|
|
257
|
+
}];
|
|
258
|
+
}
|
|
259
|
+
});
|
|
260
|
+
});
|
|
261
|
+
},
|
|
262
|
+
/**
|
|
263
|
+
*
|
|
264
|
+
* @param {string} reportId
|
|
265
|
+
* @param {*} [options] Override http request option.
|
|
266
|
+
* @throws {RequiredError}
|
|
267
|
+
*/
|
|
268
|
+
apiTaxLineItemSelfEmploymentFlagsReportReportIdGet: function (reportId, 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 'reportId' is not null or undefined
|
|
276
|
+
(0, common_1.assertParamExists)('apiTaxLineItemSelfEmploymentFlagsReportReportIdGet', 'reportId', reportId);
|
|
277
|
+
localVarPath = "/api/TaxLineItemSelfEmploymentFlags/report/{reportId}"
|
|
278
|
+
.replace("{".concat("reportId", "}"), encodeURIComponent(String(reportId)));
|
|
279
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
280
|
+
if (configuration) {
|
|
281
|
+
baseOptions = configuration.baseOptions;
|
|
282
|
+
}
|
|
283
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
284
|
+
localVarHeaderParameter = {};
|
|
285
|
+
localVarQueryParameter = {};
|
|
286
|
+
// authentication Bearer required
|
|
287
|
+
// http bearer authentication required
|
|
288
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
289
|
+
case 1:
|
|
290
|
+
// authentication Bearer required
|
|
291
|
+
// http bearer authentication required
|
|
292
|
+
_a.sent();
|
|
293
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
294
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
295
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
296
|
+
return [2 /*return*/, {
|
|
297
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
298
|
+
options: localVarRequestOptions,
|
|
299
|
+
}];
|
|
300
|
+
}
|
|
301
|
+
});
|
|
302
|
+
});
|
|
303
|
+
},
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
exports.TaxLineItemSelfEmploymentFlagsApiAxiosParamCreator = TaxLineItemSelfEmploymentFlagsApiAxiosParamCreator;
|
|
307
|
+
/**
|
|
308
|
+
* TaxLineItemSelfEmploymentFlagsApi - functional programming interface
|
|
309
|
+
* @export
|
|
310
|
+
*/
|
|
311
|
+
var TaxLineItemSelfEmploymentFlagsApiFp = function (configuration) {
|
|
312
|
+
var localVarAxiosParamCreator = (0, exports.TaxLineItemSelfEmploymentFlagsApiAxiosParamCreator)(configuration);
|
|
313
|
+
return {
|
|
314
|
+
/**
|
|
315
|
+
*
|
|
316
|
+
* @param {string} id
|
|
317
|
+
* @param {*} [options] Override http request option.
|
|
318
|
+
* @throws {RequiredError}
|
|
319
|
+
*/
|
|
320
|
+
apiTaxLineItemSelfEmploymentFlagsIdDelete: function (id, options) {
|
|
321
|
+
var _a, _b, _c;
|
|
322
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
323
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
324
|
+
return __generator(this, function (_d) {
|
|
325
|
+
switch (_d.label) {
|
|
326
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiTaxLineItemSelfEmploymentFlagsIdDelete(id, options)];
|
|
327
|
+
case 1:
|
|
328
|
+
localVarAxiosArgs = _d.sent();
|
|
329
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
330
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaxLineItemSelfEmploymentFlagsApi.apiTaxLineItemSelfEmploymentFlagsIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
331
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
332
|
+
}
|
|
333
|
+
});
|
|
334
|
+
});
|
|
335
|
+
},
|
|
336
|
+
/**
|
|
337
|
+
*
|
|
338
|
+
* @param {string} id
|
|
339
|
+
* @param {*} [options] Override http request option.
|
|
340
|
+
* @throws {RequiredError}
|
|
341
|
+
*/
|
|
342
|
+
apiTaxLineItemSelfEmploymentFlagsIdGet: function (id, options) {
|
|
343
|
+
var _a, _b, _c;
|
|
344
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
345
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
346
|
+
return __generator(this, function (_d) {
|
|
347
|
+
switch (_d.label) {
|
|
348
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiTaxLineItemSelfEmploymentFlagsIdGet(id, options)];
|
|
349
|
+
case 1:
|
|
350
|
+
localVarAxiosArgs = _d.sent();
|
|
351
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
352
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaxLineItemSelfEmploymentFlagsApi.apiTaxLineItemSelfEmploymentFlagsIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
353
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
354
|
+
}
|
|
355
|
+
});
|
|
356
|
+
});
|
|
357
|
+
},
|
|
358
|
+
/**
|
|
359
|
+
*
|
|
360
|
+
* @param {string} id
|
|
361
|
+
* @param {UpdateTaxLineItemSelfEmploymentFlagRequest} [updateTaxLineItemSelfEmploymentFlagRequest]
|
|
362
|
+
* @param {*} [options] Override http request option.
|
|
363
|
+
* @throws {RequiredError}
|
|
364
|
+
*/
|
|
365
|
+
apiTaxLineItemSelfEmploymentFlagsIdPut: function (id, updateTaxLineItemSelfEmploymentFlagRequest, options) {
|
|
366
|
+
var _a, _b, _c;
|
|
367
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
368
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
369
|
+
return __generator(this, function (_d) {
|
|
370
|
+
switch (_d.label) {
|
|
371
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiTaxLineItemSelfEmploymentFlagsIdPut(id, updateTaxLineItemSelfEmploymentFlagRequest, options)];
|
|
372
|
+
case 1:
|
|
373
|
+
localVarAxiosArgs = _d.sent();
|
|
374
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
375
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaxLineItemSelfEmploymentFlagsApi.apiTaxLineItemSelfEmploymentFlagsIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
376
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
377
|
+
}
|
|
378
|
+
});
|
|
379
|
+
});
|
|
380
|
+
},
|
|
381
|
+
/**
|
|
382
|
+
*
|
|
383
|
+
* @param {CreateTaxLineItemSelfEmploymentFlagRequest} [createTaxLineItemSelfEmploymentFlagRequest]
|
|
384
|
+
* @param {*} [options] Override http request option.
|
|
385
|
+
* @throws {RequiredError}
|
|
386
|
+
*/
|
|
387
|
+
apiTaxLineItemSelfEmploymentFlagsPost: function (createTaxLineItemSelfEmploymentFlagRequest, options) {
|
|
388
|
+
var _a, _b, _c;
|
|
389
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
390
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
391
|
+
return __generator(this, function (_d) {
|
|
392
|
+
switch (_d.label) {
|
|
393
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiTaxLineItemSelfEmploymentFlagsPost(createTaxLineItemSelfEmploymentFlagRequest, options)];
|
|
394
|
+
case 1:
|
|
395
|
+
localVarAxiosArgs = _d.sent();
|
|
396
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
397
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaxLineItemSelfEmploymentFlagsApi.apiTaxLineItemSelfEmploymentFlagsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
398
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
399
|
+
}
|
|
400
|
+
});
|
|
401
|
+
});
|
|
402
|
+
},
|
|
403
|
+
/**
|
|
404
|
+
*
|
|
405
|
+
* @param {string} reportId
|
|
406
|
+
* @param {*} [options] Override http request option.
|
|
407
|
+
* @throws {RequiredError}
|
|
408
|
+
*/
|
|
409
|
+
apiTaxLineItemSelfEmploymentFlagsReportReportIdGet: function (reportId, options) {
|
|
410
|
+
var _a, _b, _c;
|
|
411
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
412
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
413
|
+
return __generator(this, function (_d) {
|
|
414
|
+
switch (_d.label) {
|
|
415
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiTaxLineItemSelfEmploymentFlagsReportReportIdGet(reportId, options)];
|
|
416
|
+
case 1:
|
|
417
|
+
localVarAxiosArgs = _d.sent();
|
|
418
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
419
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaxLineItemSelfEmploymentFlagsApi.apiTaxLineItemSelfEmploymentFlagsReportReportIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
420
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
421
|
+
}
|
|
422
|
+
});
|
|
423
|
+
});
|
|
424
|
+
},
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
exports.TaxLineItemSelfEmploymentFlagsApiFp = TaxLineItemSelfEmploymentFlagsApiFp;
|
|
428
|
+
/**
|
|
429
|
+
* TaxLineItemSelfEmploymentFlagsApi - factory interface
|
|
430
|
+
* @export
|
|
431
|
+
*/
|
|
432
|
+
var TaxLineItemSelfEmploymentFlagsApiFactory = function (configuration, basePath, axios) {
|
|
433
|
+
var localVarFp = (0, exports.TaxLineItemSelfEmploymentFlagsApiFp)(configuration);
|
|
434
|
+
return {
|
|
435
|
+
/**
|
|
436
|
+
*
|
|
437
|
+
* @param {string} id
|
|
438
|
+
* @param {*} [options] Override http request option.
|
|
439
|
+
* @throws {RequiredError}
|
|
440
|
+
*/
|
|
441
|
+
apiTaxLineItemSelfEmploymentFlagsIdDelete: function (id, options) {
|
|
442
|
+
return localVarFp.apiTaxLineItemSelfEmploymentFlagsIdDelete(id, options).then(function (request) { return request(axios, basePath); });
|
|
443
|
+
},
|
|
444
|
+
/**
|
|
445
|
+
*
|
|
446
|
+
* @param {string} id
|
|
447
|
+
* @param {*} [options] Override http request option.
|
|
448
|
+
* @throws {RequiredError}
|
|
449
|
+
*/
|
|
450
|
+
apiTaxLineItemSelfEmploymentFlagsIdGet: function (id, options) {
|
|
451
|
+
return localVarFp.apiTaxLineItemSelfEmploymentFlagsIdGet(id, options).then(function (request) { return request(axios, basePath); });
|
|
452
|
+
},
|
|
453
|
+
/**
|
|
454
|
+
*
|
|
455
|
+
* @param {string} id
|
|
456
|
+
* @param {UpdateTaxLineItemSelfEmploymentFlagRequest} [updateTaxLineItemSelfEmploymentFlagRequest]
|
|
457
|
+
* @param {*} [options] Override http request option.
|
|
458
|
+
* @throws {RequiredError}
|
|
459
|
+
*/
|
|
460
|
+
apiTaxLineItemSelfEmploymentFlagsIdPut: function (id, updateTaxLineItemSelfEmploymentFlagRequest, options) {
|
|
461
|
+
return localVarFp.apiTaxLineItemSelfEmploymentFlagsIdPut(id, updateTaxLineItemSelfEmploymentFlagRequest, options).then(function (request) { return request(axios, basePath); });
|
|
462
|
+
},
|
|
463
|
+
/**
|
|
464
|
+
*
|
|
465
|
+
* @param {CreateTaxLineItemSelfEmploymentFlagRequest} [createTaxLineItemSelfEmploymentFlagRequest]
|
|
466
|
+
* @param {*} [options] Override http request option.
|
|
467
|
+
* @throws {RequiredError}
|
|
468
|
+
*/
|
|
469
|
+
apiTaxLineItemSelfEmploymentFlagsPost: function (createTaxLineItemSelfEmploymentFlagRequest, options) {
|
|
470
|
+
return localVarFp.apiTaxLineItemSelfEmploymentFlagsPost(createTaxLineItemSelfEmploymentFlagRequest, options).then(function (request) { return request(axios, basePath); });
|
|
471
|
+
},
|
|
472
|
+
/**
|
|
473
|
+
*
|
|
474
|
+
* @param {string} reportId
|
|
475
|
+
* @param {*} [options] Override http request option.
|
|
476
|
+
* @throws {RequiredError}
|
|
477
|
+
*/
|
|
478
|
+
apiTaxLineItemSelfEmploymentFlagsReportReportIdGet: function (reportId, options) {
|
|
479
|
+
return localVarFp.apiTaxLineItemSelfEmploymentFlagsReportReportIdGet(reportId, options).then(function (request) { return request(axios, basePath); });
|
|
480
|
+
},
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
exports.TaxLineItemSelfEmploymentFlagsApiFactory = TaxLineItemSelfEmploymentFlagsApiFactory;
|
|
484
|
+
/**
|
|
485
|
+
* TaxLineItemSelfEmploymentFlagsApi - object-oriented interface
|
|
486
|
+
* @export
|
|
487
|
+
* @class TaxLineItemSelfEmploymentFlagsApi
|
|
488
|
+
* @extends {BaseAPI}
|
|
489
|
+
*/
|
|
490
|
+
var TaxLineItemSelfEmploymentFlagsApi = /** @class */ (function (_super) {
|
|
491
|
+
__extends(TaxLineItemSelfEmploymentFlagsApi, _super);
|
|
492
|
+
function TaxLineItemSelfEmploymentFlagsApi() {
|
|
493
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
*
|
|
497
|
+
* @param {string} id
|
|
498
|
+
* @param {*} [options] Override http request option.
|
|
499
|
+
* @throws {RequiredError}
|
|
500
|
+
* @memberof TaxLineItemSelfEmploymentFlagsApi
|
|
501
|
+
*/
|
|
502
|
+
TaxLineItemSelfEmploymentFlagsApi.prototype.apiTaxLineItemSelfEmploymentFlagsIdDelete = function (id, options) {
|
|
503
|
+
var _this = this;
|
|
504
|
+
return (0, exports.TaxLineItemSelfEmploymentFlagsApiFp)(this.configuration).apiTaxLineItemSelfEmploymentFlagsIdDelete(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
505
|
+
};
|
|
506
|
+
/**
|
|
507
|
+
*
|
|
508
|
+
* @param {string} id
|
|
509
|
+
* @param {*} [options] Override http request option.
|
|
510
|
+
* @throws {RequiredError}
|
|
511
|
+
* @memberof TaxLineItemSelfEmploymentFlagsApi
|
|
512
|
+
*/
|
|
513
|
+
TaxLineItemSelfEmploymentFlagsApi.prototype.apiTaxLineItemSelfEmploymentFlagsIdGet = function (id, options) {
|
|
514
|
+
var _this = this;
|
|
515
|
+
return (0, exports.TaxLineItemSelfEmploymentFlagsApiFp)(this.configuration).apiTaxLineItemSelfEmploymentFlagsIdGet(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
516
|
+
};
|
|
517
|
+
/**
|
|
518
|
+
*
|
|
519
|
+
* @param {string} id
|
|
520
|
+
* @param {UpdateTaxLineItemSelfEmploymentFlagRequest} [updateTaxLineItemSelfEmploymentFlagRequest]
|
|
521
|
+
* @param {*} [options] Override http request option.
|
|
522
|
+
* @throws {RequiredError}
|
|
523
|
+
* @memberof TaxLineItemSelfEmploymentFlagsApi
|
|
524
|
+
*/
|
|
525
|
+
TaxLineItemSelfEmploymentFlagsApi.prototype.apiTaxLineItemSelfEmploymentFlagsIdPut = function (id, updateTaxLineItemSelfEmploymentFlagRequest, options) {
|
|
526
|
+
var _this = this;
|
|
527
|
+
return (0, exports.TaxLineItemSelfEmploymentFlagsApiFp)(this.configuration).apiTaxLineItemSelfEmploymentFlagsIdPut(id, updateTaxLineItemSelfEmploymentFlagRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
528
|
+
};
|
|
529
|
+
/**
|
|
530
|
+
*
|
|
531
|
+
* @param {CreateTaxLineItemSelfEmploymentFlagRequest} [createTaxLineItemSelfEmploymentFlagRequest]
|
|
532
|
+
* @param {*} [options] Override http request option.
|
|
533
|
+
* @throws {RequiredError}
|
|
534
|
+
* @memberof TaxLineItemSelfEmploymentFlagsApi
|
|
535
|
+
*/
|
|
536
|
+
TaxLineItemSelfEmploymentFlagsApi.prototype.apiTaxLineItemSelfEmploymentFlagsPost = function (createTaxLineItemSelfEmploymentFlagRequest, options) {
|
|
537
|
+
var _this = this;
|
|
538
|
+
return (0, exports.TaxLineItemSelfEmploymentFlagsApiFp)(this.configuration).apiTaxLineItemSelfEmploymentFlagsPost(createTaxLineItemSelfEmploymentFlagRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
539
|
+
};
|
|
540
|
+
/**
|
|
541
|
+
*
|
|
542
|
+
* @param {string} reportId
|
|
543
|
+
* @param {*} [options] Override http request option.
|
|
544
|
+
* @throws {RequiredError}
|
|
545
|
+
* @memberof TaxLineItemSelfEmploymentFlagsApi
|
|
546
|
+
*/
|
|
547
|
+
TaxLineItemSelfEmploymentFlagsApi.prototype.apiTaxLineItemSelfEmploymentFlagsReportReportIdGet = function (reportId, options) {
|
|
548
|
+
var _this = this;
|
|
549
|
+
return (0, exports.TaxLineItemSelfEmploymentFlagsApiFp)(this.configuration).apiTaxLineItemSelfEmploymentFlagsReportReportIdGet(reportId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
550
|
+
};
|
|
551
|
+
return TaxLineItemSelfEmploymentFlagsApi;
|
|
552
|
+
}(base_1.BaseAPI));
|
|
553
|
+
exports.TaxLineItemSelfEmploymentFlagsApi = TaxLineItemSelfEmploymentFlagsApi;
|
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-line-item-self-employment-flags-api';
|
|
31
32
|
export * from './api/tax-line-items-api';
|
|
32
33
|
export * from './api/test-api';
|
|
33
34
|
export * from './api/user-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-line-item-self-employment-flags-api"), exports);
|
|
49
50
|
__exportStar(require("./api/tax-line-items-api"), exports);
|
|
50
51
|
__exportStar(require("./api/test-api"), exports);
|
|
51
52
|
__exportStar(require("./api/user-api"), exports);
|
|
@@ -0,0 +1,30 @@
|
|
|
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 CreateTaxLineItemSelfEmploymentFlagRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateTaxLineItemSelfEmploymentFlagRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateTaxLineItemSelfEmploymentFlagRequest
|
|
22
|
+
*/
|
|
23
|
+
'taxLineItemId': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof CreateTaxLineItemSelfEmploymentFlagRequest
|
|
28
|
+
*/
|
|
29
|
+
'isSubjectToSelfEmploymentTax': boolean;
|
|
30
|
+
}
|
|
@@ -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
|
@@ -16,6 +16,7 @@ export * from './create-payment-intent-request';
|
|
|
16
16
|
export * from './create-personal-tax-report-for-user-request';
|
|
17
17
|
export * from './create-personal-tax-report-request';
|
|
18
18
|
export * from './create-tax-line-item-request';
|
|
19
|
+
export * from './create-tax-line-item-self-employment-flag-request';
|
|
19
20
|
export * from './create-w2-wages-request';
|
|
20
21
|
export * from './database-inspection-response';
|
|
21
22
|
export * from './depreciation-response';
|
|
@@ -68,6 +69,7 @@ export * from './tax-dashboard-value';
|
|
|
68
69
|
export * from './tax-item-definition-response';
|
|
69
70
|
export * from './tax-item-type-enum';
|
|
70
71
|
export * from './tax-line-item-response';
|
|
72
|
+
export * from './tax-line-item-self-employment-flag-response';
|
|
71
73
|
export * from './tax-report-response';
|
|
72
74
|
export * from './test-add-to-company-request';
|
|
73
75
|
export * from './test-add-to-company-response';
|
|
@@ -80,6 +82,7 @@ export * from './update-person-request';
|
|
|
80
82
|
export * from './update-personal-tax-report-for-user-request';
|
|
81
83
|
export * from './update-personal-tax-report-request';
|
|
82
84
|
export * from './update-tax-line-item-request';
|
|
85
|
+
export * from './update-tax-line-item-self-employment-flag-request';
|
|
83
86
|
export * from './update-w2-wages-request';
|
|
84
87
|
export * from './user-response';
|
|
85
88
|
export * from './user-summary-response';
|
package/lib/models/index.js
CHANGED
|
@@ -32,6 +32,7 @@ __exportStar(require("./create-payment-intent-request"), exports);
|
|
|
32
32
|
__exportStar(require("./create-personal-tax-report-for-user-request"), exports);
|
|
33
33
|
__exportStar(require("./create-personal-tax-report-request"), exports);
|
|
34
34
|
__exportStar(require("./create-tax-line-item-request"), exports);
|
|
35
|
+
__exportStar(require("./create-tax-line-item-self-employment-flag-request"), exports);
|
|
35
36
|
__exportStar(require("./create-w2-wages-request"), exports);
|
|
36
37
|
__exportStar(require("./database-inspection-response"), exports);
|
|
37
38
|
__exportStar(require("./depreciation-response"), exports);
|
|
@@ -84,6 +85,7 @@ __exportStar(require("./tax-dashboard-value"), exports);
|
|
|
84
85
|
__exportStar(require("./tax-item-definition-response"), exports);
|
|
85
86
|
__exportStar(require("./tax-item-type-enum"), exports);
|
|
86
87
|
__exportStar(require("./tax-line-item-response"), exports);
|
|
88
|
+
__exportStar(require("./tax-line-item-self-employment-flag-response"), exports);
|
|
87
89
|
__exportStar(require("./tax-report-response"), exports);
|
|
88
90
|
__exportStar(require("./test-add-to-company-request"), exports);
|
|
89
91
|
__exportStar(require("./test-add-to-company-response"), exports);
|
|
@@ -96,6 +98,7 @@ __exportStar(require("./update-person-request"), exports);
|
|
|
96
98
|
__exportStar(require("./update-personal-tax-report-for-user-request"), exports);
|
|
97
99
|
__exportStar(require("./update-personal-tax-report-request"), exports);
|
|
98
100
|
__exportStar(require("./update-tax-line-item-request"), exports);
|
|
101
|
+
__exportStar(require("./update-tax-line-item-self-employment-flag-request"), exports);
|
|
99
102
|
__exportStar(require("./update-w2-wages-request"), exports);
|
|
100
103
|
__exportStar(require("./user-response"), exports);
|
|
101
104
|
__exportStar(require("./user-summary-response"), exports);
|
|
@@ -0,0 +1,48 @@
|
|
|
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 TaxLineItemSelfEmploymentFlagResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface TaxLineItemSelfEmploymentFlagResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TaxLineItemSelfEmploymentFlagResponse
|
|
22
|
+
*/
|
|
23
|
+
'id'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof TaxLineItemSelfEmploymentFlagResponse
|
|
28
|
+
*/
|
|
29
|
+
'taxLineItemId'?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof TaxLineItemSelfEmploymentFlagResponse
|
|
34
|
+
*/
|
|
35
|
+
'isSubjectToSelfEmploymentTax'?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof TaxLineItemSelfEmploymentFlagResponse
|
|
40
|
+
*/
|
|
41
|
+
'createdAt'?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof TaxLineItemSelfEmploymentFlagResponse
|
|
46
|
+
*/
|
|
47
|
+
'updatedAt'?: string | null;
|
|
48
|
+
}
|
|
@@ -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,24 @@
|
|
|
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 UpdateTaxLineItemSelfEmploymentFlagRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateTaxLineItemSelfEmploymentFlagRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof UpdateTaxLineItemSelfEmploymentFlagRequest
|
|
22
|
+
*/
|
|
23
|
+
'isSubjectToSelfEmploymentTax': boolean;
|
|
24
|
+
}
|
|
@@ -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 });
|