@s-corp-biz/biz-entity-api 1.23.0 → 1.24.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.
@@ -43,6 +43,13 @@ export declare const PeopleApiAxiosParamCreator: (configuration?: Configuration)
43
43
  * @throws {RequiredError}
44
44
  */
45
45
  apiPeopleCompanyCompanyIdAddExistingMembersPost: (companyId: string, addExistingMemberRequest?: AddExistingMemberRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
46
+ /**
47
+ *
48
+ * @param {string} companyId
49
+ * @param {*} [options] Override http request option.
50
+ * @throws {RequiredError}
51
+ */
52
+ apiPeopleCompanyCompanyIdConsentPost: (companyId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
46
53
  /**
47
54
  *
48
55
  * @param {string} companyId
@@ -157,6 +164,13 @@ export declare const PeopleApiFp: (configuration?: Configuration) => {
157
164
  * @throws {RequiredError}
158
165
  */
159
166
  apiPeopleCompanyCompanyIdAddExistingMembersPost(companyId: string, addExistingMemberRequest?: AddExistingMemberRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
167
+ /**
168
+ *
169
+ * @param {string} companyId
170
+ * @param {*} [options] Override http request option.
171
+ * @throws {RequiredError}
172
+ */
173
+ apiPeopleCompanyCompanyIdConsentPost(companyId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
160
174
  /**
161
175
  *
162
176
  * @param {string} companyId
@@ -271,6 +285,13 @@ export declare const PeopleApiFactory: (configuration?: Configuration, basePath?
271
285
  * @throws {RequiredError}
272
286
  */
273
287
  apiPeopleCompanyCompanyIdAddExistingMembersPost(companyId: string, addExistingMemberRequest?: AddExistingMemberRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
288
+ /**
289
+ *
290
+ * @param {string} companyId
291
+ * @param {*} [options] Override http request option.
292
+ * @throws {RequiredError}
293
+ */
294
+ apiPeopleCompanyCompanyIdConsentPost(companyId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
274
295
  /**
275
296
  *
276
297
  * @param {string} companyId
@@ -389,6 +410,14 @@ export declare class PeopleApi extends BaseAPI {
389
410
  * @memberof PeopleApi
390
411
  */
391
412
  apiPeopleCompanyCompanyIdAddExistingMembersPost(companyId: string, addExistingMemberRequest?: AddExistingMemberRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
413
+ /**
414
+ *
415
+ * @param {string} companyId
416
+ * @param {*} [options] Override http request option.
417
+ * @throws {RequiredError}
418
+ * @memberof PeopleApi
419
+ */
420
+ apiPeopleCompanyCompanyIdConsentPost(companyId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
392
421
  /**
393
422
  *
394
423
  * @param {string} companyId
@@ -175,6 +175,48 @@ var PeopleApiAxiosParamCreator = function (configuration) {
175
175
  });
176
176
  });
177
177
  },
178
+ /**
179
+ *
180
+ * @param {string} companyId
181
+ * @param {*} [options] Override http request option.
182
+ * @throws {RequiredError}
183
+ */
184
+ apiPeopleCompanyCompanyIdConsentPost: function (companyId, options) {
185
+ if (options === void 0) { options = {}; }
186
+ return __awaiter(_this, void 0, void 0, function () {
187
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
188
+ return __generator(this, function (_a) {
189
+ switch (_a.label) {
190
+ case 0:
191
+ // verify required parameter 'companyId' is not null or undefined
192
+ (0, common_1.assertParamExists)('apiPeopleCompanyCompanyIdConsentPost', 'companyId', companyId);
193
+ localVarPath = "/api/People/company/{companyId}/consent"
194
+ .replace("{".concat("companyId", "}"), encodeURIComponent(String(companyId)));
195
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
196
+ if (configuration) {
197
+ baseOptions = configuration.baseOptions;
198
+ }
199
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
200
+ localVarHeaderParameter = {};
201
+ localVarQueryParameter = {};
202
+ // authentication Bearer required
203
+ // http bearer authentication required
204
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
205
+ case 1:
206
+ // authentication Bearer required
207
+ // http bearer authentication required
208
+ _a.sent();
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
+ return [2 /*return*/, {
213
+ url: (0, common_1.toPathString)(localVarUrlObj),
214
+ options: localVarRequestOptions,
215
+ }];
216
+ }
217
+ });
218
+ });
219
+ },
178
220
  /**
179
221
  *
180
222
  * @param {string} companyId
@@ -763,6 +805,28 @@ var PeopleApiFp = function (configuration) {
763
805
  });
764
806
  });
765
807
  },
808
+ /**
809
+ *
810
+ * @param {string} companyId
811
+ * @param {*} [options] Override http request option.
812
+ * @throws {RequiredError}
813
+ */
814
+ apiPeopleCompanyCompanyIdConsentPost: function (companyId, options) {
815
+ var _a, _b, _c;
816
+ return __awaiter(this, void 0, void 0, function () {
817
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
818
+ return __generator(this, function (_d) {
819
+ switch (_d.label) {
820
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiPeopleCompanyCompanyIdConsentPost(companyId, options)];
821
+ case 1:
822
+ localVarAxiosArgs = _d.sent();
823
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
824
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PeopleApi.apiPeopleCompanyCompanyIdConsentPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
825
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
826
+ }
827
+ });
828
+ });
829
+ },
766
830
  /**
767
831
  *
768
832
  * @param {string} companyId
@@ -1065,6 +1129,15 @@ var PeopleApiFactory = function (configuration, basePath, axios) {
1065
1129
  apiPeopleCompanyCompanyIdAddExistingMembersPost: function (companyId, addExistingMemberRequest, options) {
1066
1130
  return localVarFp.apiPeopleCompanyCompanyIdAddExistingMembersPost(companyId, addExistingMemberRequest, options).then(function (request) { return request(axios, basePath); });
1067
1131
  },
1132
+ /**
1133
+ *
1134
+ * @param {string} companyId
1135
+ * @param {*} [options] Override http request option.
1136
+ * @throws {RequiredError}
1137
+ */
1138
+ apiPeopleCompanyCompanyIdConsentPost: function (companyId, options) {
1139
+ return localVarFp.apiPeopleCompanyCompanyIdConsentPost(companyId, options).then(function (request) { return request(axios, basePath); });
1140
+ },
1068
1141
  /**
1069
1142
  *
1070
1143
  * @param {string} companyId
@@ -1219,6 +1292,17 @@ var PeopleApi = /** @class */ (function (_super) {
1219
1292
  var _this = this;
1220
1293
  return (0, exports.PeopleApiFp)(this.configuration).apiPeopleCompanyCompanyIdAddExistingMembersPost(companyId, addExistingMemberRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
1221
1294
  };
1295
+ /**
1296
+ *
1297
+ * @param {string} companyId
1298
+ * @param {*} [options] Override http request option.
1299
+ * @throws {RequiredError}
1300
+ * @memberof PeopleApi
1301
+ */
1302
+ PeopleApi.prototype.apiPeopleCompanyCompanyIdConsentPost = function (companyId, options) {
1303
+ var _this = this;
1304
+ return (0, exports.PeopleApiFp)(this.configuration).apiPeopleCompanyCompanyIdConsentPost(companyId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1305
+ };
1222
1306
  /**
1223
1307
  *
1224
1308
  * @param {string} companyId
@@ -0,0 +1,74 @@
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 { MappingSuggestionsResponseDto } from '../models';
16
+ /**
17
+ * TaxCategoryMapSuggestionsApi - axios parameter creator
18
+ * @export
19
+ */
20
+ export declare const TaxCategoryMapSuggestionsApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ *
23
+ * @param {string} companyId
24
+ * @param {number} [taxYear]
25
+ * @param {*} [options] Override http request option.
26
+ * @throws {RequiredError}
27
+ */
28
+ apiTaxCategoryMapCompanyIdSuggestionsPost: (companyId: string, taxYear?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29
+ };
30
+ /**
31
+ * TaxCategoryMapSuggestionsApi - functional programming interface
32
+ * @export
33
+ */
34
+ export declare const TaxCategoryMapSuggestionsApiFp: (configuration?: Configuration) => {
35
+ /**
36
+ *
37
+ * @param {string} companyId
38
+ * @param {number} [taxYear]
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ apiTaxCategoryMapCompanyIdSuggestionsPost(companyId: string, taxYear?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MappingSuggestionsResponseDto>>;
43
+ };
44
+ /**
45
+ * TaxCategoryMapSuggestionsApi - factory interface
46
+ * @export
47
+ */
48
+ export declare const TaxCategoryMapSuggestionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
49
+ /**
50
+ *
51
+ * @param {string} companyId
52
+ * @param {number} [taxYear]
53
+ * @param {*} [options] Override http request option.
54
+ * @throws {RequiredError}
55
+ */
56
+ apiTaxCategoryMapCompanyIdSuggestionsPost(companyId: string, taxYear?: number, options?: RawAxiosRequestConfig): AxiosPromise<MappingSuggestionsResponseDto>;
57
+ };
58
+ /**
59
+ * TaxCategoryMapSuggestionsApi - object-oriented interface
60
+ * @export
61
+ * @class TaxCategoryMapSuggestionsApi
62
+ * @extends {BaseAPI}
63
+ */
64
+ export declare class TaxCategoryMapSuggestionsApi extends BaseAPI {
65
+ /**
66
+ *
67
+ * @param {string} companyId
68
+ * @param {number} [taxYear]
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ * @memberof TaxCategoryMapSuggestionsApi
72
+ */
73
+ apiTaxCategoryMapCompanyIdSuggestionsPost(companyId: string, taxYear?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MappingSuggestionsResponseDto, any, {}>>;
74
+ }
@@ -0,0 +1,219 @@
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.TaxCategoryMapSuggestionsApi = exports.TaxCategoryMapSuggestionsApiFactory = exports.TaxCategoryMapSuggestionsApiFp = exports.TaxCategoryMapSuggestionsApiAxiosParamCreator = 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
+ * TaxCategoryMapSuggestionsApi - axios parameter creator
87
+ * @export
88
+ */
89
+ var TaxCategoryMapSuggestionsApiAxiosParamCreator = function (configuration) {
90
+ var _this = this;
91
+ return {
92
+ /**
93
+ *
94
+ * @param {string} companyId
95
+ * @param {number} [taxYear]
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ apiTaxCategoryMapCompanyIdSuggestionsPost: function (companyId, 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 'companyId' is not null or undefined
107
+ (0, common_1.assertParamExists)('apiTaxCategoryMapCompanyIdSuggestionsPost', 'companyId', companyId);
108
+ localVarPath = "/api/TaxCategoryMap/{companyId}/suggestions"
109
+ .replace("{".concat("companyId", "}"), encodeURIComponent(String(companyId)));
110
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
111
+ if (configuration) {
112
+ baseOptions = configuration.baseOptions;
113
+ }
114
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
115
+ localVarHeaderParameter = {};
116
+ localVarQueryParameter = {};
117
+ // authentication Bearer required
118
+ // http bearer authentication required
119
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
120
+ case 1:
121
+ // authentication Bearer required
122
+ // http bearer authentication required
123
+ _a.sent();
124
+ if (taxYear !== undefined) {
125
+ localVarQueryParameter['taxYear'] = taxYear;
126
+ }
127
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
128
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
129
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
130
+ return [2 /*return*/, {
131
+ url: (0, common_1.toPathString)(localVarUrlObj),
132
+ options: localVarRequestOptions,
133
+ }];
134
+ }
135
+ });
136
+ });
137
+ },
138
+ };
139
+ };
140
+ exports.TaxCategoryMapSuggestionsApiAxiosParamCreator = TaxCategoryMapSuggestionsApiAxiosParamCreator;
141
+ /**
142
+ * TaxCategoryMapSuggestionsApi - functional programming interface
143
+ * @export
144
+ */
145
+ var TaxCategoryMapSuggestionsApiFp = function (configuration) {
146
+ var localVarAxiosParamCreator = (0, exports.TaxCategoryMapSuggestionsApiAxiosParamCreator)(configuration);
147
+ return {
148
+ /**
149
+ *
150
+ * @param {string} companyId
151
+ * @param {number} [taxYear]
152
+ * @param {*} [options] Override http request option.
153
+ * @throws {RequiredError}
154
+ */
155
+ apiTaxCategoryMapCompanyIdSuggestionsPost: function (companyId, taxYear, options) {
156
+ var _a, _b, _c;
157
+ return __awaiter(this, void 0, void 0, function () {
158
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
159
+ return __generator(this, function (_d) {
160
+ switch (_d.label) {
161
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiTaxCategoryMapCompanyIdSuggestionsPost(companyId, taxYear, options)];
162
+ case 1:
163
+ localVarAxiosArgs = _d.sent();
164
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
165
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaxCategoryMapSuggestionsApi.apiTaxCategoryMapCompanyIdSuggestionsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
166
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
167
+ }
168
+ });
169
+ });
170
+ },
171
+ };
172
+ };
173
+ exports.TaxCategoryMapSuggestionsApiFp = TaxCategoryMapSuggestionsApiFp;
174
+ /**
175
+ * TaxCategoryMapSuggestionsApi - factory interface
176
+ * @export
177
+ */
178
+ var TaxCategoryMapSuggestionsApiFactory = function (configuration, basePath, axios) {
179
+ var localVarFp = (0, exports.TaxCategoryMapSuggestionsApiFp)(configuration);
180
+ return {
181
+ /**
182
+ *
183
+ * @param {string} companyId
184
+ * @param {number} [taxYear]
185
+ * @param {*} [options] Override http request option.
186
+ * @throws {RequiredError}
187
+ */
188
+ apiTaxCategoryMapCompanyIdSuggestionsPost: function (companyId, taxYear, options) {
189
+ return localVarFp.apiTaxCategoryMapCompanyIdSuggestionsPost(companyId, taxYear, options).then(function (request) { return request(axios, basePath); });
190
+ },
191
+ };
192
+ };
193
+ exports.TaxCategoryMapSuggestionsApiFactory = TaxCategoryMapSuggestionsApiFactory;
194
+ /**
195
+ * TaxCategoryMapSuggestionsApi - object-oriented interface
196
+ * @export
197
+ * @class TaxCategoryMapSuggestionsApi
198
+ * @extends {BaseAPI}
199
+ */
200
+ var TaxCategoryMapSuggestionsApi = /** @class */ (function (_super) {
201
+ __extends(TaxCategoryMapSuggestionsApi, _super);
202
+ function TaxCategoryMapSuggestionsApi() {
203
+ return _super !== null && _super.apply(this, arguments) || this;
204
+ }
205
+ /**
206
+ *
207
+ * @param {string} companyId
208
+ * @param {number} [taxYear]
209
+ * @param {*} [options] Override http request option.
210
+ * @throws {RequiredError}
211
+ * @memberof TaxCategoryMapSuggestionsApi
212
+ */
213
+ TaxCategoryMapSuggestionsApi.prototype.apiTaxCategoryMapCompanyIdSuggestionsPost = function (companyId, taxYear, options) {
214
+ var _this = this;
215
+ return (0, exports.TaxCategoryMapSuggestionsApiFp)(this.configuration).apiTaxCategoryMapCompanyIdSuggestionsPost(companyId, taxYear, options).then(function (request) { return request(_this.axios, _this.basePath); });
216
+ };
217
+ return TaxCategoryMapSuggestionsApi;
218
+ }(base_1.BaseAPI));
219
+ exports.TaxCategoryMapSuggestionsApi = TaxCategoryMapSuggestionsApi;
package/lib/api.d.ts CHANGED
@@ -38,6 +38,7 @@ export * from './api/states-api';
38
38
  export * from './api/stripe-api';
39
39
  export * from './api/tax-category-api';
40
40
  export * from './api/tax-category-map-api';
41
+ export * from './api/tax-category-map-suggestions-api';
41
42
  export * from './api/tax-data-api';
42
43
  export * from './api/tax-line-item-self-employment-flags-api';
43
44
  export * from './api/tax-line-items-api';
package/lib/api.js CHANGED
@@ -56,6 +56,7 @@ __exportStar(require("./api/states-api"), exports);
56
56
  __exportStar(require("./api/stripe-api"), exports);
57
57
  __exportStar(require("./api/tax-category-api"), exports);
58
58
  __exportStar(require("./api/tax-category-map-api"), exports);
59
+ __exportStar(require("./api/tax-category-map-suggestions-api"), exports);
59
60
  __exportStar(require("./api/tax-data-api"), exports);
60
61
  __exportStar(require("./api/tax-line-item-self-employment-flags-api"), exports);
61
62
  __exportStar(require("./api/tax-line-items-api"), exports);
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { ConsentStatus } from './consent-status';
12
13
  import type { InvitationStatus } from './invitation-status';
13
14
  /**
14
15
  *
@@ -88,6 +89,12 @@ export interface CompanyUserResponse {
88
89
  * @memberof CompanyUserResponse
89
90
  */
90
91
  'invitationStatus'?: InvitationStatus;
92
+ /**
93
+ *
94
+ * @type {ConsentStatus}
95
+ * @memberof CompanyUserResponse
96
+ */
97
+ 'consentStatus'?: ConsentStatus;
91
98
  /**
92
99
  *
93
100
  * @type {boolean}
@@ -0,0 +1,22 @@
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
+ * @enum {string}
16
+ */
17
+ export declare const ConsentStatus: {
18
+ readonly None: "None";
19
+ readonly Requested: "Requested";
20
+ readonly Granted: "Granted";
21
+ };
22
+ export type ConsentStatus = typeof ConsentStatus[keyof typeof ConsentStatus];
@@ -0,0 +1,26 @@
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 });
16
+ exports.ConsentStatus = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.ConsentStatus = {
23
+ None: 'None',
24
+ Requested: 'Requested',
25
+ Granted: 'Granted'
26
+ };
@@ -27,6 +27,7 @@ export * from './company-user-request';
27
27
  export * from './company-user-response';
28
28
  export * from './company-user-summary';
29
29
  export * from './confirm-payment-request';
30
+ export * from './consent-status';
30
31
  export * from './create-depreciation-request';
31
32
  export * from './create-election-payment-request';
32
33
  export * from './create-election-payment-response';
@@ -60,6 +61,10 @@ export * from './link-billing-request';
60
61
  export * from './login-request';
61
62
  export * from './long-term-capital-gains-tax-response';
62
63
  export * from './manual-override-request';
64
+ export * from './mapping-candidate-dto';
65
+ export * from './mapping-flag-dto';
66
+ export * from './mapping-suggestion-dto';
67
+ export * from './mapping-suggestions-response-dto';
63
68
  export * from './monthly-data';
64
69
  export * from './onboarding-progress-response';
65
70
  export * from './onboarding-progress-update-request';
@@ -43,6 +43,7 @@ __exportStar(require("./company-user-request"), exports);
43
43
  __exportStar(require("./company-user-response"), exports);
44
44
  __exportStar(require("./company-user-summary"), exports);
45
45
  __exportStar(require("./confirm-payment-request"), exports);
46
+ __exportStar(require("./consent-status"), exports);
46
47
  __exportStar(require("./create-depreciation-request"), exports);
47
48
  __exportStar(require("./create-election-payment-request"), exports);
48
49
  __exportStar(require("./create-election-payment-response"), exports);
@@ -76,6 +77,10 @@ __exportStar(require("./link-billing-request"), exports);
76
77
  __exportStar(require("./login-request"), exports);
77
78
  __exportStar(require("./long-term-capital-gains-tax-response"), exports);
78
79
  __exportStar(require("./manual-override-request"), exports);
80
+ __exportStar(require("./mapping-candidate-dto"), exports);
81
+ __exportStar(require("./mapping-flag-dto"), exports);
82
+ __exportStar(require("./mapping-suggestion-dto"), exports);
83
+ __exportStar(require("./mapping-suggestions-response-dto"), exports);
79
84
  __exportStar(require("./monthly-data"), exports);
80
85
  __exportStar(require("./onboarding-progress-response"), exports);
81
86
  __exportStar(require("./onboarding-progress-update-request"), exports);
@@ -0,0 +1,42 @@
1
+ /**
2
+ * biz-entity-api
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v2
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface MappingCandidateDto
16
+ */
17
+ export interface MappingCandidateDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof MappingCandidateDto
22
+ */
23
+ 'taxCategoryId'?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof MappingCandidateDto
28
+ */
29
+ 'taxCategory'?: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof MappingCandidateDto
34
+ */
35
+ 'label'?: string | null;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof MappingCandidateDto
40
+ */
41
+ 'pct'?: number;
42
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * biz-entity-api
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v2
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,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 MappingFlagDto
16
+ */
17
+ export interface MappingFlagDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof MappingFlagDto
22
+ */
23
+ 'code'?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof MappingFlagDto
28
+ */
29
+ 'message'?: string | null;
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 });
@@ -0,0 +1,110 @@
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 { MappingCandidateDto } from './mapping-candidate-dto';
13
+ import type { MappingFlagDto } from './mapping-flag-dto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface MappingSuggestionDto
18
+ */
19
+ export interface MappingSuggestionDto {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof MappingSuggestionDto
24
+ */
25
+ 'mappingId'?: string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof MappingSuggestionDto
30
+ */
31
+ 'qbAccountsId'?: string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof MappingSuggestionDto
36
+ */
37
+ 'qbAccountName'?: string | null;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof MappingSuggestionDto
42
+ */
43
+ 'accountType'?: string | null;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof MappingSuggestionDto
48
+ */
49
+ 'classification'?: string | null;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof MappingSuggestionDto
54
+ */
55
+ 'suggestedTaxCategoryId'?: string;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof MappingSuggestionDto
60
+ */
61
+ 'suggestedTaxCategory'?: string | null;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof MappingSuggestionDto
66
+ */
67
+ 'suggestedTaxCategoryLabel'?: string | null;
68
+ /**
69
+ *
70
+ * @type {number}
71
+ * @memberof MappingSuggestionDto
72
+ */
73
+ 'confidencePct'?: number;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof MappingSuggestionDto
78
+ */
79
+ 'tier'?: string | null;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof MappingSuggestionDto
84
+ */
85
+ 'source'?: string | null;
86
+ /**
87
+ *
88
+ * @type {Array<MappingCandidateDto>}
89
+ * @memberof MappingSuggestionDto
90
+ */
91
+ 'candidates'?: Array<MappingCandidateDto> | null;
92
+ /**
93
+ *
94
+ * @type {Array<MappingFlagDto>}
95
+ * @memberof MappingSuggestionDto
96
+ */
97
+ 'flags'?: Array<MappingFlagDto> | null;
98
+ /**
99
+ *
100
+ * @type {string}
101
+ * @memberof MappingSuggestionDto
102
+ */
103
+ 'reason'?: string | null;
104
+ /**
105
+ *
106
+ * @type {string}
107
+ * @memberof MappingSuggestionDto
108
+ */
109
+ 'question'?: string | null;
110
+ }
@@ -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,61 @@
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 { MappingSuggestionDto } from './mapping-suggestion-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface MappingSuggestionsResponseDto
17
+ */
18
+ export interface MappingSuggestionsResponseDto {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof MappingSuggestionsResponseDto
23
+ */
24
+ 'companyId'?: string;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof MappingSuggestionsResponseDto
29
+ */
30
+ 'taxYear'?: number;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof MappingSuggestionsResponseDto
35
+ */
36
+ 'provider'?: string | null;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof MappingSuggestionsResponseDto
41
+ */
42
+ 'model'?: string | null;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof MappingSuggestionsResponseDto
47
+ */
48
+ 'promptVersion'?: string | null;
49
+ /**
50
+ *
51
+ * @type {number}
52
+ * @memberof MappingSuggestionsResponseDto
53
+ */
54
+ 'unmappedAccountCount'?: number;
55
+ /**
56
+ *
57
+ * @type {Array<MappingSuggestionDto>}
58
+ * @memberof MappingSuggestionsResponseDto
59
+ */
60
+ 'suggestions'?: Array<MappingSuggestionDto> | null;
61
+ }
@@ -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 });
@@ -87,6 +87,12 @@ export interface PeopleResponse {
87
87
  * @memberof PeopleResponse
88
88
  */
89
89
  'invitationStatus'?: string | null;
90
+ /**
91
+ *
92
+ * @type {string}
93
+ * @memberof PeopleResponse
94
+ */
95
+ 'consentStatus'?: string | null;
90
96
  /**
91
97
  *
92
98
  * @type {boolean}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@s-corp-biz/biz-entity-api",
3
- "version": "1.23.0",
3
+ "version": "1.24.0-staging.2",
4
4
  "description": "TypeScript API client for S-Corp Biz Entity API",
5
5
  "keywords": [
6
6
  "typescript",