@s-corp-biz/biz-entity-api 1.19.1 → 1.19.2-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-api.d.ts +31 -0
- package/lib/api/company-api.js +83 -0
- package/lib/models/bulk-tax-report-item.d.ts +43 -0
- package/lib/models/bulk-tax-report-item.js +15 -0
- package/lib/models/bulk-tax-report-request.d.ts +42 -0
- package/lib/models/bulk-tax-report-request.js +15 -0
- package/lib/models/bulk-tax-report-response.d.ts +25 -0
- package/lib/models/bulk-tax-report-response.js +15 -0
- package/lib/models/index.d.ts +3 -0
- package/lib/models/index.js +3 -0
- package/package.json +1 -1
package/lib/api/company-api.d.ts
CHANGED
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { BulkTaxReportRequest } from '../models';
|
|
16
|
+
import type { BulkTaxReportResponse } from '../models';
|
|
15
17
|
import type { CompanyResponse } from '../models';
|
|
16
18
|
import type { CompanySummaryResponse } from '../models';
|
|
17
19
|
import type { CompanyUpdateRequest } from '../models';
|
|
@@ -80,6 +82,13 @@ export declare const CompanyApiAxiosParamCreator: (configuration?: Configuration
|
|
|
80
82
|
* @throws {RequiredError}
|
|
81
83
|
*/
|
|
82
84
|
apiCompanyTaxreportGet: (companyId: string, startDate: string, endDate: string, isAnnual?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @param {BulkTaxReportRequest} [bulkTaxReportRequest]
|
|
88
|
+
* @param {*} [options] Override http request option.
|
|
89
|
+
* @throws {RequiredError}
|
|
90
|
+
*/
|
|
91
|
+
apiCompanyTaxreportsBulkPost: (bulkTaxReportRequest?: BulkTaxReportRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
83
92
|
};
|
|
84
93
|
/**
|
|
85
94
|
* CompanyApi - functional programming interface
|
|
@@ -145,6 +154,13 @@ export declare const CompanyApiFp: (configuration?: Configuration) => {
|
|
|
145
154
|
* @throws {RequiredError}
|
|
146
155
|
*/
|
|
147
156
|
apiCompanyTaxreportGet(companyId: string, startDate: string, endDate: string, isAnnual?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaxReportResponse>>;
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @param {BulkTaxReportRequest} [bulkTaxReportRequest]
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
apiCompanyTaxreportsBulkPost(bulkTaxReportRequest?: BulkTaxReportRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkTaxReportResponse>>;
|
|
148
164
|
};
|
|
149
165
|
/**
|
|
150
166
|
* CompanyApi - factory interface
|
|
@@ -210,6 +226,13 @@ export declare const CompanyApiFactory: (configuration?: Configuration, basePath
|
|
|
210
226
|
* @throws {RequiredError}
|
|
211
227
|
*/
|
|
212
228
|
apiCompanyTaxreportGet(companyId: string, startDate: string, endDate: string, isAnnual?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<TaxReportResponse>;
|
|
229
|
+
/**
|
|
230
|
+
*
|
|
231
|
+
* @param {BulkTaxReportRequest} [bulkTaxReportRequest]
|
|
232
|
+
* @param {*} [options] Override http request option.
|
|
233
|
+
* @throws {RequiredError}
|
|
234
|
+
*/
|
|
235
|
+
apiCompanyTaxreportsBulkPost(bulkTaxReportRequest?: BulkTaxReportRequest, options?: RawAxiosRequestConfig): AxiosPromise<BulkTaxReportResponse>;
|
|
213
236
|
};
|
|
214
237
|
/**
|
|
215
238
|
* CompanyApi - object-oriented interface
|
|
@@ -285,4 +308,12 @@ export declare class CompanyApi extends BaseAPI {
|
|
|
285
308
|
* @memberof CompanyApi
|
|
286
309
|
*/
|
|
287
310
|
apiCompanyTaxreportGet(companyId: string, startDate: string, endDate: string, isAnnual?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaxReportResponse, any, {}>>;
|
|
311
|
+
/**
|
|
312
|
+
*
|
|
313
|
+
* @param {BulkTaxReportRequest} [bulkTaxReportRequest]
|
|
314
|
+
* @param {*} [options] Override http request option.
|
|
315
|
+
* @throws {RequiredError}
|
|
316
|
+
* @memberof CompanyApi
|
|
317
|
+
*/
|
|
318
|
+
apiCompanyTaxreportsBulkPost(bulkTaxReportRequest?: BulkTaxReportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BulkTaxReportResponse, any, {}>>;
|
|
288
319
|
}
|
package/lib/api/company-api.js
CHANGED
|
@@ -446,6 +446,47 @@ var CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
446
446
|
});
|
|
447
447
|
});
|
|
448
448
|
},
|
|
449
|
+
/**
|
|
450
|
+
*
|
|
451
|
+
* @param {BulkTaxReportRequest} [bulkTaxReportRequest]
|
|
452
|
+
* @param {*} [options] Override http request option.
|
|
453
|
+
* @throws {RequiredError}
|
|
454
|
+
*/
|
|
455
|
+
apiCompanyTaxreportsBulkPost: function (bulkTaxReportRequest, options) {
|
|
456
|
+
if (options === void 0) { options = {}; }
|
|
457
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
458
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
459
|
+
return __generator(this, function (_a) {
|
|
460
|
+
switch (_a.label) {
|
|
461
|
+
case 0:
|
|
462
|
+
localVarPath = "/api/Company/taxreports/bulk";
|
|
463
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
464
|
+
if (configuration) {
|
|
465
|
+
baseOptions = configuration.baseOptions;
|
|
466
|
+
}
|
|
467
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
468
|
+
localVarHeaderParameter = {};
|
|
469
|
+
localVarQueryParameter = {};
|
|
470
|
+
// authentication Bearer required
|
|
471
|
+
// http bearer authentication required
|
|
472
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
473
|
+
case 1:
|
|
474
|
+
// authentication Bearer required
|
|
475
|
+
// http bearer authentication required
|
|
476
|
+
_a.sent();
|
|
477
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
478
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
479
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
480
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
481
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(bulkTaxReportRequest, localVarRequestOptions, configuration);
|
|
482
|
+
return [2 /*return*/, {
|
|
483
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
484
|
+
options: localVarRequestOptions,
|
|
485
|
+
}];
|
|
486
|
+
}
|
|
487
|
+
});
|
|
488
|
+
});
|
|
489
|
+
},
|
|
449
490
|
};
|
|
450
491
|
};
|
|
451
492
|
exports.CompanyApiAxiosParamCreator = CompanyApiAxiosParamCreator;
|
|
@@ -635,6 +676,28 @@ var CompanyApiFp = function (configuration) {
|
|
|
635
676
|
});
|
|
636
677
|
});
|
|
637
678
|
},
|
|
679
|
+
/**
|
|
680
|
+
*
|
|
681
|
+
* @param {BulkTaxReportRequest} [bulkTaxReportRequest]
|
|
682
|
+
* @param {*} [options] Override http request option.
|
|
683
|
+
* @throws {RequiredError}
|
|
684
|
+
*/
|
|
685
|
+
apiCompanyTaxreportsBulkPost: function (bulkTaxReportRequest, options) {
|
|
686
|
+
var _a, _b, _c;
|
|
687
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
688
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
689
|
+
return __generator(this, function (_d) {
|
|
690
|
+
switch (_d.label) {
|
|
691
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiCompanyTaxreportsBulkPost(bulkTaxReportRequest, options)];
|
|
692
|
+
case 1:
|
|
693
|
+
localVarAxiosArgs = _d.sent();
|
|
694
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
695
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CompanyApi.apiCompanyTaxreportsBulkPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
696
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
697
|
+
}
|
|
698
|
+
});
|
|
699
|
+
});
|
|
700
|
+
},
|
|
638
701
|
};
|
|
639
702
|
};
|
|
640
703
|
exports.CompanyApiFp = CompanyApiFp;
|
|
@@ -720,6 +783,15 @@ var CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
720
783
|
apiCompanyTaxreportGet: function (companyId, startDate, endDate, isAnnual, options) {
|
|
721
784
|
return localVarFp.apiCompanyTaxreportGet(companyId, startDate, endDate, isAnnual, options).then(function (request) { return request(axios, basePath); });
|
|
722
785
|
},
|
|
786
|
+
/**
|
|
787
|
+
*
|
|
788
|
+
* @param {BulkTaxReportRequest} [bulkTaxReportRequest]
|
|
789
|
+
* @param {*} [options] Override http request option.
|
|
790
|
+
* @throws {RequiredError}
|
|
791
|
+
*/
|
|
792
|
+
apiCompanyTaxreportsBulkPost: function (bulkTaxReportRequest, options) {
|
|
793
|
+
return localVarFp.apiCompanyTaxreportsBulkPost(bulkTaxReportRequest, options).then(function (request) { return request(axios, basePath); });
|
|
794
|
+
},
|
|
723
795
|
};
|
|
724
796
|
};
|
|
725
797
|
exports.CompanyApiFactory = CompanyApiFactory;
|
|
@@ -825,6 +897,17 @@ var CompanyApi = /** @class */ (function (_super) {
|
|
|
825
897
|
var _this = this;
|
|
826
898
|
return (0, exports.CompanyApiFp)(this.configuration).apiCompanyTaxreportGet(companyId, startDate, endDate, isAnnual, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
827
899
|
};
|
|
900
|
+
/**
|
|
901
|
+
*
|
|
902
|
+
* @param {BulkTaxReportRequest} [bulkTaxReportRequest]
|
|
903
|
+
* @param {*} [options] Override http request option.
|
|
904
|
+
* @throws {RequiredError}
|
|
905
|
+
* @memberof CompanyApi
|
|
906
|
+
*/
|
|
907
|
+
CompanyApi.prototype.apiCompanyTaxreportsBulkPost = function (bulkTaxReportRequest, options) {
|
|
908
|
+
var _this = this;
|
|
909
|
+
return (0, exports.CompanyApiFp)(this.configuration).apiCompanyTaxreportsBulkPost(bulkTaxReportRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
910
|
+
};
|
|
828
911
|
return CompanyApi;
|
|
829
912
|
}(base_1.BaseAPI));
|
|
830
913
|
exports.CompanyApi = CompanyApi;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { TaxReportResponse } from './tax-report-response';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BulkTaxReportItem
|
|
17
|
+
*/
|
|
18
|
+
export interface BulkTaxReportItem {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof BulkTaxReportItem
|
|
23
|
+
*/
|
|
24
|
+
'companyId'?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {TaxReportResponse}
|
|
28
|
+
* @memberof BulkTaxReportItem
|
|
29
|
+
*/
|
|
30
|
+
'report'?: TaxReportResponse;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof BulkTaxReportItem
|
|
35
|
+
*/
|
|
36
|
+
'error'?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof BulkTaxReportItem
|
|
41
|
+
*/
|
|
42
|
+
'errorStatusCode'?: number | null;
|
|
43
|
+
}
|
|
@@ -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,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 BulkTaxReportRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface BulkTaxReportRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof BulkTaxReportRequest
|
|
22
|
+
*/
|
|
23
|
+
'companyIds': Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BulkTaxReportRequest
|
|
28
|
+
*/
|
|
29
|
+
'startDate': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BulkTaxReportRequest
|
|
34
|
+
*/
|
|
35
|
+
'endDate': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof BulkTaxReportRequest
|
|
40
|
+
*/
|
|
41
|
+
'isAnnual'?: boolean;
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* biz-entity-api
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { BulkTaxReportItem } from './bulk-tax-report-item';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BulkTaxReportResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface BulkTaxReportResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<BulkTaxReportItem>}
|
|
22
|
+
* @memberof BulkTaxReportResponse
|
|
23
|
+
*/
|
|
24
|
+
'reports'?: Array<BulkTaxReportItem> | null;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* biz-entity-api
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/lib/models/index.d.ts
CHANGED
|
@@ -7,6 +7,9 @@ export * from './add-family-members-batch-request';
|
|
|
7
7
|
export * from './add-person-request';
|
|
8
8
|
export * from './authenticated-user-in-ui';
|
|
9
9
|
export * from './billing-provider';
|
|
10
|
+
export * from './bulk-tax-report-item';
|
|
11
|
+
export * from './bulk-tax-report-request';
|
|
12
|
+
export * from './bulk-tax-report-response';
|
|
10
13
|
export * from './capital-loss-limit-response';
|
|
11
14
|
export * from './company-delivery-details';
|
|
12
15
|
export * from './company-ownership-transfer-request';
|
package/lib/models/index.js
CHANGED
|
@@ -23,6 +23,9 @@ __exportStar(require("./add-family-members-batch-request"), exports);
|
|
|
23
23
|
__exportStar(require("./add-person-request"), exports);
|
|
24
24
|
__exportStar(require("./authenticated-user-in-ui"), exports);
|
|
25
25
|
__exportStar(require("./billing-provider"), exports);
|
|
26
|
+
__exportStar(require("./bulk-tax-report-item"), exports);
|
|
27
|
+
__exportStar(require("./bulk-tax-report-request"), exports);
|
|
28
|
+
__exportStar(require("./bulk-tax-report-response"), exports);
|
|
26
29
|
__exportStar(require("./capital-loss-limit-response"), exports);
|
|
27
30
|
__exportStar(require("./company-delivery-details"), exports);
|
|
28
31
|
__exportStar(require("./company-ownership-transfer-request"), exports);
|