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