@s-corp-biz/biz-entity-api 1.6.0-development.3
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/auth-api.d.ts +135 -0
- package/lib/api/auth-api.js +386 -0
- package/lib/api/class2553-irs-form-editor-api.d.ts +70 -0
- package/lib/api/class2553-irs-form-editor-api.js +211 -0
- package/lib/api/company-api.d.ts +262 -0
- package/lib/api/company-api.js +753 -0
- package/lib/api/depreciation-api.d.ts +196 -0
- package/lib/api/depreciation-api.js +564 -0
- package/lib/api/family-api.d.ts +247 -0
- package/lib/api/family-api.js +713 -0
- package/lib/api/people-api.d.ts +430 -0
- package/lib/api/people-api.js +1184 -0
- package/lib/api/personal-tax-report-adjustments-to-income-api.d.ts +290 -0
- package/lib/api/personal-tax-report-adjustments-to-income-api.js +824 -0
- package/lib/api/personal-tax-report-api.d.ts +298 -0
- package/lib/api/personal-tax-report-api.js +834 -0
- package/lib/api/personal-tax-report-capital-gain-api.d.ts +290 -0
- package/lib/api/personal-tax-report-capital-gain-api.js +824 -0
- package/lib/api/personal-tax-report-federal-tax-section-api.d.ts +228 -0
- package/lib/api/personal-tax-report-federal-tax-section-api.js +650 -0
- package/lib/api/personal-tax-report-minimum-amount-api.d.ts +104 -0
- package/lib/api/personal-tax-report-minimum-amount-api.js +302 -0
- package/lib/api/personal-tax-report-other-income-api.d.ts +290 -0
- package/lib/api/personal-tax-report-other-income-api.js +824 -0
- package/lib/api/personal-tax-report-personal-itemized-deductions-api.d.ts +290 -0
- package/lib/api/personal-tax-report-personal-itemized-deductions-api.js +824 -0
- package/lib/api/personal-tax-report-w2-wages-api.d.ts +204 -0
- package/lib/api/personal-tax-report-w2-wages-api.js +574 -0
- package/lib/api/quick-books-auth-api.d.ts +106 -0
- package/lib/api/quick-books-auth-api.js +310 -0
- package/lib/api/stripe-api.d.ts +70 -0
- package/lib/api/stripe-api.js +211 -0
- package/lib/api/tax-category-api.d.ts +66 -0
- package/lib/api/tax-category-api.js +205 -0
- package/lib/api/tax-category-map-api.d.ts +171 -0
- package/lib/api/tax-category-map-api.js +484 -0
- package/lib/api/tax-line-items-api.d.ts +133 -0
- package/lib/api/tax-line-items-api.js +386 -0
- package/lib/api.d.ts +30 -0
- package/lib/api.js +48 -0
- package/lib/base.d.ts +66 -0
- package/lib/base.js +86 -0
- package/lib/common.d.ts +65 -0
- package/lib/common.js +253 -0
- package/lib/configuration.d.ts +91 -0
- package/lib/configuration.js +57 -0
- package/lib/index.d.ts +14 -0
- package/lib/index.js +32 -0
- package/lib/models/accept-invitation-request.d.ts +31 -0
- package/lib/models/accept-invitation-request.js +15 -0
- package/lib/models/account-name-response.d.ts +42 -0
- package/lib/models/account-name-response.js +15 -0
- package/lib/models/account-type.d.ts +25 -0
- package/lib/models/account-type.js +29 -0
- package/lib/models/add-existing-member-request.d.ts +24 -0
- package/lib/models/add-existing-member-request.js +15 -0
- package/lib/models/add-family-member-request.d.ts +31 -0
- package/lib/models/add-family-member-request.js +15 -0
- package/lib/models/add-person-request.d.ts +91 -0
- package/lib/models/add-person-request.js +15 -0
- package/lib/models/authenticated-user-in-ui.d.ts +42 -0
- package/lib/models/authenticated-user-in-ui.js +15 -0
- package/lib/models/company-ownership-transfer-request.d.ts +24 -0
- package/lib/models/company-ownership-transfer-request.js +15 -0
- package/lib/models/company-response.d.ts +115 -0
- package/lib/models/company-response.js +15 -0
- package/lib/models/company-update-request.d.ts +66 -0
- package/lib/models/company-update-request.js +15 -0
- package/lib/models/company-user-response.d.ts +96 -0
- package/lib/models/company-user-response.js +15 -0
- package/lib/models/create-depreciation-request.d.ts +54 -0
- package/lib/models/create-depreciation-request.js +15 -0
- package/lib/models/create-payment-intent-request.d.ts +30 -0
- package/lib/models/create-payment-intent-request.js +15 -0
- package/lib/models/create-tax-line-item-request.d.ts +48 -0
- package/lib/models/create-tax-line-item-request.js +15 -0
- package/lib/models/create-w2-wages-request.d.ts +48 -0
- package/lib/models/create-w2-wages-request.js +15 -0
- package/lib/models/depreciation-response.d.ts +74 -0
- package/lib/models/depreciation-response.js +15 -0
- package/lib/models/family-member-info.d.ts +42 -0
- package/lib/models/family-member-info.js +15 -0
- package/lib/models/family-member-permission-request.d.ts +31 -0
- package/lib/models/family-member-permission-request.js +15 -0
- package/lib/models/family-member-response.d.ts +42 -0
- package/lib/models/family-member-response.js +15 -0
- package/lib/models/federal-tax-estimate-response.d.ts +30 -0
- package/lib/models/federal-tax-estimate-response.js +15 -0
- package/lib/models/filing-status-enum.d.ts +24 -0
- package/lib/models/filing-status-enum.js +28 -0
- package/lib/models/fill2553-irs-form-request.d.ts +54 -0
- package/lib/models/fill2553-irs-form-request.js +15 -0
- package/lib/models/head-personal-tax-report-summary-response.d.ts +39 -0
- package/lib/models/head-personal-tax-report-summary-response.js +15 -0
- package/lib/models/http-status-code.d.ts +80 -0
- package/lib/models/http-status-code.js +84 -0
- package/lib/models/index.d.ts +64 -0
- package/lib/models/index.js +80 -0
- package/lib/models/invitation-metadata-response.d.ts +67 -0
- package/lib/models/invitation-metadata-response.js +15 -0
- package/lib/models/join-family-by-company-request.d.ts +31 -0
- package/lib/models/join-family-by-company-request.js +15 -0
- package/lib/models/long-term-capital-gains-tax-response.d.ts +30 -0
- package/lib/models/long-term-capital-gains-tax-response.js +15 -0
- package/lib/models/monthly-data.d.ts +30 -0
- package/lib/models/monthly-data.js +15 -0
- package/lib/models/open-id-claim-response.d.ts +31 -0
- package/lib/models/open-id-claim-response.js +15 -0
- package/lib/models/open-id-options-result.d.ts +24 -0
- package/lib/models/open-id-options-result.js +15 -0
- package/lib/models/people-response.d.ts +108 -0
- package/lib/models/people-response.js +15 -0
- package/lib/models/permissions-enum.d.ts +24 -0
- package/lib/models/permissions-enum.js +28 -0
- package/lib/models/personal-tax-report-response.d.ts +55 -0
- package/lib/models/personal-tax-report-response.js +15 -0
- package/lib/models/problem-details.d.ts +49 -0
- package/lib/models/problem-details.js +15 -0
- package/lib/models/qbaccount-name-info.d.ts +30 -0
- package/lib/models/qbaccount-name-info.js +15 -0
- package/lib/models/qbaccounts.d.ts +54 -0
- package/lib/models/qbaccounts.js +15 -0
- package/lib/models/quick-books-account-mapping.d.ts +36 -0
- package/lib/models/quick-books-account-mapping.js +15 -0
- package/lib/models/resend-invitation-request.d.ts +30 -0
- package/lib/models/resend-invitation-request.js +15 -0
- package/lib/models/send-invitation-request.d.ts +42 -0
- package/lib/models/send-invitation-request.js +15 -0
- package/lib/models/shared-family-info-response.d.ts +44 -0
- package/lib/models/shared-family-info-response.js +15 -0
- package/lib/models/sign-in-with-open-id-req.d.ts +30 -0
- package/lib/models/sign-in-with-open-id-req.js +15 -0
- package/lib/models/tax-calculation-step.d.ts +45 -0
- package/lib/models/tax-calculation-step.js +15 -0
- package/lib/models/tax-categories.d.ts +43 -0
- package/lib/models/tax-categories.js +15 -0
- package/lib/models/tax-category-balance.d.ts +49 -0
- package/lib/models/tax-category-balance.js +15 -0
- package/lib/models/tax-category-balances.d.ts +79 -0
- package/lib/models/tax-category-balances.js +15 -0
- package/lib/models/tax-category-enum.d.ts +35 -0
- package/lib/models/tax-category-enum.js +39 -0
- package/lib/models/tax-category-info.d.ts +31 -0
- package/lib/models/tax-category-info.js +15 -0
- package/lib/models/tax-category-response.d.ts +37 -0
- package/lib/models/tax-category-response.js +15 -0
- package/lib/models/tax-category-to-qbaccount-mappings.d.ts +87 -0
- package/lib/models/tax-category-to-qbaccount-mappings.js +15 -0
- package/lib/models/tax-dashboard-calculations.d.ts +67 -0
- package/lib/models/tax-dashboard-calculations.js +15 -0
- package/lib/models/tax-dashboard-value.d.ts +31 -0
- package/lib/models/tax-dashboard-value.js +15 -0
- package/lib/models/tax-item-definition-response.d.ts +31 -0
- package/lib/models/tax-item-definition-response.js +15 -0
- package/lib/models/tax-item-type-enum.d.ts +40 -0
- package/lib/models/tax-item-type-enum.js +44 -0
- package/lib/models/tax-line-item-response.d.ts +85 -0
- package/lib/models/tax-line-item-response.js +15 -0
- package/lib/models/tax-report-response.d.ts +57 -0
- package/lib/models/tax-report-response.js +15 -0
- package/lib/models/test-email-request.d.ts +24 -0
- package/lib/models/test-email-request.js +15 -0
- package/lib/models/unmapped-qbaccount.d.ts +36 -0
- package/lib/models/unmapped-qbaccount.js +15 -0
- package/lib/models/update-depreciation-request.d.ts +48 -0
- package/lib/models/update-depreciation-request.js +15 -0
- package/lib/models/update-person-request.d.ts +97 -0
- package/lib/models/update-person-request.js +15 -0
- package/lib/models/update-personal-tax-report-request.d.ts +25 -0
- package/lib/models/update-personal-tax-report-request.js +15 -0
- package/lib/models/update-tax-line-item-request.d.ts +48 -0
- package/lib/models/update-tax-line-item-request.js +15 -0
- package/lib/models/update-w2-wages-request.d.ts +48 -0
- package/lib/models/update-w2-wages-request.js +15 -0
- package/lib/models/user-summary-response.d.ts +36 -0
- package/lib/models/user-summary-response.js +15 -0
- package/lib/models/w2-wages-response.d.ts +78 -0
- package/lib/models/w2-wages-response.js +15 -0
- package/package.json +118 -0
|
@@ -0,0 +1,211 @@
|
|
|
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.StripeApi = exports.StripeApiFactory = exports.StripeApiFp = exports.StripeApiAxiosParamCreator = 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
|
+
* StripeApi - axios parameter creator
|
|
87
|
+
* @export
|
|
88
|
+
*/
|
|
89
|
+
var StripeApiAxiosParamCreator = function (configuration) {
|
|
90
|
+
var _this = this;
|
|
91
|
+
return {
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @param {CreatePaymentIntentRequest} [createPaymentIntentRequest]
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
apiStripeCreatePaymentIntentPost: function (createPaymentIntentRequest, 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
|
+
localVarPath = "/api/Stripe/create-payment-intent";
|
|
106
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
107
|
+
if (configuration) {
|
|
108
|
+
baseOptions = configuration.baseOptions;
|
|
109
|
+
}
|
|
110
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
111
|
+
localVarHeaderParameter = {};
|
|
112
|
+
localVarQueryParameter = {};
|
|
113
|
+
// authentication Bearer required
|
|
114
|
+
// http bearer authentication required
|
|
115
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
116
|
+
case 1:
|
|
117
|
+
// authentication Bearer required
|
|
118
|
+
// http bearer authentication required
|
|
119
|
+
_a.sent();
|
|
120
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
121
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
122
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
123
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
124
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPaymentIntentRequest, localVarRequestOptions, configuration);
|
|
125
|
+
return [2 /*return*/, {
|
|
126
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
127
|
+
options: localVarRequestOptions,
|
|
128
|
+
}];
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
});
|
|
132
|
+
},
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
exports.StripeApiAxiosParamCreator = StripeApiAxiosParamCreator;
|
|
136
|
+
/**
|
|
137
|
+
* StripeApi - functional programming interface
|
|
138
|
+
* @export
|
|
139
|
+
*/
|
|
140
|
+
var StripeApiFp = function (configuration) {
|
|
141
|
+
var localVarAxiosParamCreator = (0, exports.StripeApiAxiosParamCreator)(configuration);
|
|
142
|
+
return {
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @param {CreatePaymentIntentRequest} [createPaymentIntentRequest]
|
|
146
|
+
* @param {*} [options] Override http request option.
|
|
147
|
+
* @throws {RequiredError}
|
|
148
|
+
*/
|
|
149
|
+
apiStripeCreatePaymentIntentPost: function (createPaymentIntentRequest, options) {
|
|
150
|
+
var _a, _b, _c;
|
|
151
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
152
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
153
|
+
return __generator(this, function (_d) {
|
|
154
|
+
switch (_d.label) {
|
|
155
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiStripeCreatePaymentIntentPost(createPaymentIntentRequest, options)];
|
|
156
|
+
case 1:
|
|
157
|
+
localVarAxiosArgs = _d.sent();
|
|
158
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
159
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StripeApi.apiStripeCreatePaymentIntentPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
160
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
});
|
|
164
|
+
},
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
exports.StripeApiFp = StripeApiFp;
|
|
168
|
+
/**
|
|
169
|
+
* StripeApi - factory interface
|
|
170
|
+
* @export
|
|
171
|
+
*/
|
|
172
|
+
var StripeApiFactory = function (configuration, basePath, axios) {
|
|
173
|
+
var localVarFp = (0, exports.StripeApiFp)(configuration);
|
|
174
|
+
return {
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @param {CreatePaymentIntentRequest} [createPaymentIntentRequest]
|
|
178
|
+
* @param {*} [options] Override http request option.
|
|
179
|
+
* @throws {RequiredError}
|
|
180
|
+
*/
|
|
181
|
+
apiStripeCreatePaymentIntentPost: function (createPaymentIntentRequest, options) {
|
|
182
|
+
return localVarFp.apiStripeCreatePaymentIntentPost(createPaymentIntentRequest, options).then(function (request) { return request(axios, basePath); });
|
|
183
|
+
},
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
exports.StripeApiFactory = StripeApiFactory;
|
|
187
|
+
/**
|
|
188
|
+
* StripeApi - object-oriented interface
|
|
189
|
+
* @export
|
|
190
|
+
* @class StripeApi
|
|
191
|
+
* @extends {BaseAPI}
|
|
192
|
+
*/
|
|
193
|
+
var StripeApi = /** @class */ (function (_super) {
|
|
194
|
+
__extends(StripeApi, _super);
|
|
195
|
+
function StripeApi() {
|
|
196
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
*
|
|
200
|
+
* @param {CreatePaymentIntentRequest} [createPaymentIntentRequest]
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
* @memberof StripeApi
|
|
204
|
+
*/
|
|
205
|
+
StripeApi.prototype.apiStripeCreatePaymentIntentPost = function (createPaymentIntentRequest, options) {
|
|
206
|
+
var _this = this;
|
|
207
|
+
return (0, exports.StripeApiFp)(this.configuration).apiStripeCreatePaymentIntentPost(createPaymentIntentRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
208
|
+
};
|
|
209
|
+
return StripeApi;
|
|
210
|
+
}(base_1.BaseAPI));
|
|
211
|
+
exports.StripeApi = StripeApi;
|
|
@@ -0,0 +1,66 @@
|
|
|
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 { TaxCategoryResponse } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* TaxCategoryApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const TaxCategoryApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
apiTaxCategoryGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* TaxCategoryApi - functional programming interface
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
export declare const TaxCategoryApiFp: (configuration?: Configuration) => {
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
*/
|
|
38
|
+
apiTaxCategoryGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TaxCategoryResponse>>>;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* TaxCategoryApi - factory interface
|
|
42
|
+
* @export
|
|
43
|
+
*/
|
|
44
|
+
export declare const TaxCategoryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
*/
|
|
50
|
+
apiTaxCategoryGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<TaxCategoryResponse>>;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* TaxCategoryApi - object-oriented interface
|
|
54
|
+
* @export
|
|
55
|
+
* @class TaxCategoryApi
|
|
56
|
+
* @extends {BaseAPI}
|
|
57
|
+
*/
|
|
58
|
+
export declare class TaxCategoryApi extends BaseAPI {
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @param {*} [options] Override http request option.
|
|
62
|
+
* @throws {RequiredError}
|
|
63
|
+
* @memberof TaxCategoryApi
|
|
64
|
+
*/
|
|
65
|
+
apiTaxCategoryGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaxCategoryResponse[], any, {}>>;
|
|
66
|
+
}
|
|
@@ -0,0 +1,205 @@
|
|
|
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.TaxCategoryApi = exports.TaxCategoryApiFactory = exports.TaxCategoryApiFp = exports.TaxCategoryApiAxiosParamCreator = 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
|
+
* TaxCategoryApi - axios parameter creator
|
|
87
|
+
* @export
|
|
88
|
+
*/
|
|
89
|
+
var TaxCategoryApiAxiosParamCreator = function (configuration) {
|
|
90
|
+
var _this = this;
|
|
91
|
+
return {
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
*/
|
|
97
|
+
apiTaxCategoryGet: function (options) {
|
|
98
|
+
if (options === void 0) { options = {}; }
|
|
99
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
100
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
101
|
+
return __generator(this, function (_a) {
|
|
102
|
+
switch (_a.label) {
|
|
103
|
+
case 0:
|
|
104
|
+
localVarPath = "/api/TaxCategory";
|
|
105
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
106
|
+
if (configuration) {
|
|
107
|
+
baseOptions = configuration.baseOptions;
|
|
108
|
+
}
|
|
109
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
110
|
+
localVarHeaderParameter = {};
|
|
111
|
+
localVarQueryParameter = {};
|
|
112
|
+
// authentication Bearer required
|
|
113
|
+
// http bearer authentication required
|
|
114
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
115
|
+
case 1:
|
|
116
|
+
// authentication Bearer required
|
|
117
|
+
// http bearer authentication required
|
|
118
|
+
_a.sent();
|
|
119
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
120
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
121
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
122
|
+
return [2 /*return*/, {
|
|
123
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
124
|
+
options: localVarRequestOptions,
|
|
125
|
+
}];
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
});
|
|
129
|
+
},
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
exports.TaxCategoryApiAxiosParamCreator = TaxCategoryApiAxiosParamCreator;
|
|
133
|
+
/**
|
|
134
|
+
* TaxCategoryApi - functional programming interface
|
|
135
|
+
* @export
|
|
136
|
+
*/
|
|
137
|
+
var TaxCategoryApiFp = function (configuration) {
|
|
138
|
+
var localVarAxiosParamCreator = (0, exports.TaxCategoryApiAxiosParamCreator)(configuration);
|
|
139
|
+
return {
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @param {*} [options] Override http request option.
|
|
143
|
+
* @throws {RequiredError}
|
|
144
|
+
*/
|
|
145
|
+
apiTaxCategoryGet: function (options) {
|
|
146
|
+
var _a, _b, _c;
|
|
147
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
148
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
149
|
+
return __generator(this, function (_d) {
|
|
150
|
+
switch (_d.label) {
|
|
151
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiTaxCategoryGet(options)];
|
|
152
|
+
case 1:
|
|
153
|
+
localVarAxiosArgs = _d.sent();
|
|
154
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
155
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TaxCategoryApi.apiTaxCategoryGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
156
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
157
|
+
}
|
|
158
|
+
});
|
|
159
|
+
});
|
|
160
|
+
},
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
exports.TaxCategoryApiFp = TaxCategoryApiFp;
|
|
164
|
+
/**
|
|
165
|
+
* TaxCategoryApi - factory interface
|
|
166
|
+
* @export
|
|
167
|
+
*/
|
|
168
|
+
var TaxCategoryApiFactory = function (configuration, basePath, axios) {
|
|
169
|
+
var localVarFp = (0, exports.TaxCategoryApiFp)(configuration);
|
|
170
|
+
return {
|
|
171
|
+
/**
|
|
172
|
+
*
|
|
173
|
+
* @param {*} [options] Override http request option.
|
|
174
|
+
* @throws {RequiredError}
|
|
175
|
+
*/
|
|
176
|
+
apiTaxCategoryGet: function (options) {
|
|
177
|
+
return localVarFp.apiTaxCategoryGet(options).then(function (request) { return request(axios, basePath); });
|
|
178
|
+
},
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
exports.TaxCategoryApiFactory = TaxCategoryApiFactory;
|
|
182
|
+
/**
|
|
183
|
+
* TaxCategoryApi - object-oriented interface
|
|
184
|
+
* @export
|
|
185
|
+
* @class TaxCategoryApi
|
|
186
|
+
* @extends {BaseAPI}
|
|
187
|
+
*/
|
|
188
|
+
var TaxCategoryApi = /** @class */ (function (_super) {
|
|
189
|
+
__extends(TaxCategoryApi, _super);
|
|
190
|
+
function TaxCategoryApi() {
|
|
191
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* @param {*} [options] Override http request option.
|
|
196
|
+
* @throws {RequiredError}
|
|
197
|
+
* @memberof TaxCategoryApi
|
|
198
|
+
*/
|
|
199
|
+
TaxCategoryApi.prototype.apiTaxCategoryGet = function (options) {
|
|
200
|
+
var _this = this;
|
|
201
|
+
return (0, exports.TaxCategoryApiFp)(this.configuration).apiTaxCategoryGet(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
202
|
+
};
|
|
203
|
+
return TaxCategoryApi;
|
|
204
|
+
}(base_1.BaseAPI));
|
|
205
|
+
exports.TaxCategoryApi = TaxCategoryApi;
|
|
@@ -0,0 +1,171 @@
|
|
|
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 { AccountNameResponse } from '../models';
|
|
16
|
+
import type { HttpStatusCode } from '../models';
|
|
17
|
+
import type { TaxCategoryToQBAccountMappings } from '../models';
|
|
18
|
+
/**
|
|
19
|
+
* TaxCategoryMapApi - axios parameter creator
|
|
20
|
+
* @export
|
|
21
|
+
*/
|
|
22
|
+
export declare const TaxCategoryMapApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @param {string} [companyId]
|
|
26
|
+
* @param {*} [options] Override http request option.
|
|
27
|
+
* @throws {RequiredError}
|
|
28
|
+
*/
|
|
29
|
+
apiTaxCategoryMapAccountNamesGet: (companyId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @param {string} companyId
|
|
33
|
+
* @param {Array<TaxCategoryToQBAccountMappings>} [taxCategoryToQBAccountMappings]
|
|
34
|
+
* @param {*} [options] Override http request option.
|
|
35
|
+
* @throws {RequiredError}
|
|
36
|
+
*/
|
|
37
|
+
apiTaxCategoryMapCompanyIdPost: (companyId: string, taxCategoryToQBAccountMappings?: Array<TaxCategoryToQBAccountMappings>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @param {string} companyId
|
|
41
|
+
* @param {number} taxYear
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
apiTaxCategoryMapCompanyIdTaxYearDelete: (companyId: string, taxYear: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @param {string} [companyId]
|
|
49
|
+
* @param {number} [taxYear]
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
apiTaxCategoryMapGet: (companyId?: string, taxYear?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* TaxCategoryMapApi - functional programming interface
|
|
57
|
+
* @export
|
|
58
|
+
*/
|
|
59
|
+
export declare const TaxCategoryMapApiFp: (configuration?: Configuration) => {
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @param {string} [companyId]
|
|
63
|
+
* @param {*} [options] Override http request option.
|
|
64
|
+
* @throws {RequiredError}
|
|
65
|
+
*/
|
|
66
|
+
apiTaxCategoryMapAccountNamesGet(companyId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountNameResponse>>>;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @param {string} companyId
|
|
70
|
+
* @param {Array<TaxCategoryToQBAccountMappings>} [taxCategoryToQBAccountMappings]
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
*/
|
|
74
|
+
apiTaxCategoryMapCompanyIdPost(companyId: string, taxCategoryToQBAccountMappings?: Array<TaxCategoryToQBAccountMappings>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TaxCategoryToQBAccountMappings>>>;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @param {string} companyId
|
|
78
|
+
* @param {number} taxYear
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
*/
|
|
82
|
+
apiTaxCategoryMapCompanyIdTaxYearDelete(companyId: string, taxYear: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HttpStatusCode>>;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @param {string} [companyId]
|
|
86
|
+
* @param {number} [taxYear]
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
*/
|
|
90
|
+
apiTaxCategoryMapGet(companyId?: string, taxYear?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TaxCategoryToQBAccountMappings>>>;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* TaxCategoryMapApi - factory interface
|
|
94
|
+
* @export
|
|
95
|
+
*/
|
|
96
|
+
export declare const TaxCategoryMapApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @param {string} [companyId]
|
|
100
|
+
* @param {*} [options] Override http request option.
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
*/
|
|
103
|
+
apiTaxCategoryMapAccountNamesGet(companyId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountNameResponse>>;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @param {string} companyId
|
|
107
|
+
* @param {Array<TaxCategoryToQBAccountMappings>} [taxCategoryToQBAccountMappings]
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
apiTaxCategoryMapCompanyIdPost(companyId: string, taxCategoryToQBAccountMappings?: Array<TaxCategoryToQBAccountMappings>, options?: RawAxiosRequestConfig): AxiosPromise<Array<TaxCategoryToQBAccountMappings>>;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @param {string} companyId
|
|
115
|
+
* @param {number} taxYear
|
|
116
|
+
* @param {*} [options] Override http request option.
|
|
117
|
+
* @throws {RequiredError}
|
|
118
|
+
*/
|
|
119
|
+
apiTaxCategoryMapCompanyIdTaxYearDelete(companyId: string, taxYear: number, options?: RawAxiosRequestConfig): AxiosPromise<HttpStatusCode>;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @param {string} [companyId]
|
|
123
|
+
* @param {number} [taxYear]
|
|
124
|
+
* @param {*} [options] Override http request option.
|
|
125
|
+
* @throws {RequiredError}
|
|
126
|
+
*/
|
|
127
|
+
apiTaxCategoryMapGet(companyId?: string, taxYear?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<TaxCategoryToQBAccountMappings>>;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* TaxCategoryMapApi - object-oriented interface
|
|
131
|
+
* @export
|
|
132
|
+
* @class TaxCategoryMapApi
|
|
133
|
+
* @extends {BaseAPI}
|
|
134
|
+
*/
|
|
135
|
+
export declare class TaxCategoryMapApi extends BaseAPI {
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @param {string} [companyId]
|
|
139
|
+
* @param {*} [options] Override http request option.
|
|
140
|
+
* @throws {RequiredError}
|
|
141
|
+
* @memberof TaxCategoryMapApi
|
|
142
|
+
*/
|
|
143
|
+
apiTaxCategoryMapAccountNamesGet(companyId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountNameResponse[], any, {}>>;
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @param {string} companyId
|
|
147
|
+
* @param {Array<TaxCategoryToQBAccountMappings>} [taxCategoryToQBAccountMappings]
|
|
148
|
+
* @param {*} [options] Override http request option.
|
|
149
|
+
* @throws {RequiredError}
|
|
150
|
+
* @memberof TaxCategoryMapApi
|
|
151
|
+
*/
|
|
152
|
+
apiTaxCategoryMapCompanyIdPost(companyId: string, taxCategoryToQBAccountMappings?: Array<TaxCategoryToQBAccountMappings>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaxCategoryToQBAccountMappings[], any, {}>>;
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @param {string} companyId
|
|
156
|
+
* @param {number} taxYear
|
|
157
|
+
* @param {*} [options] Override http request option.
|
|
158
|
+
* @throws {RequiredError}
|
|
159
|
+
* @memberof TaxCategoryMapApi
|
|
160
|
+
*/
|
|
161
|
+
apiTaxCategoryMapCompanyIdTaxYearDelete(companyId: string, taxYear: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HttpStatusCode, any, {}>>;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @param {string} [companyId]
|
|
165
|
+
* @param {number} [taxYear]
|
|
166
|
+
* @param {*} [options] Override http request option.
|
|
167
|
+
* @throws {RequiredError}
|
|
168
|
+
* @memberof TaxCategoryMapApi
|
|
169
|
+
*/
|
|
170
|
+
apiTaxCategoryMapGet(companyId?: string, taxYear?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TaxCategoryToQBAccountMappings[], any, {}>>;
|
|
171
|
+
}
|