@s-corp-biz/biz-entity-api 1.13.1 → 1.14.0
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/class2553-irs-form-editor-api.d.ts +70 -0
- package/lib/api/class2553-irs-form-editor-api.js +211 -0
- package/lib/api/test-api.d.ts +25 -0
- package/lib/api/test-api.js +77 -0
- package/lib/models/create-payment-intent-request.d.ts +30 -0
- package/lib/models/create-payment-intent-request.js +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,70 @@
|
|
|
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 { Fill2553IrsFormRequest } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* Class2553IrsFormEditorApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const Class2553IrsFormEditorApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @param {Fill2553IrsFormRequest} [fill2553IrsFormRequest]
|
|
24
|
+
* @param {*} [options] Override http request option.
|
|
25
|
+
* @throws {RequiredError}
|
|
26
|
+
*/
|
|
27
|
+
api2553IrsFormEditorFillPost: (fill2553IrsFormRequest?: Fill2553IrsFormRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Class2553IrsFormEditorApi - functional programming interface
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
export declare const Class2553IrsFormEditorApiFp: (configuration?: Configuration) => {
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @param {Fill2553IrsFormRequest} [fill2553IrsFormRequest]
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
api2553IrsFormEditorFillPost(fill2553IrsFormRequest?: Fill2553IrsFormRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Class2553IrsFormEditorApi - factory interface
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const Class2553IrsFormEditorApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @param {Fill2553IrsFormRequest} [fill2553IrsFormRequest]
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
api2553IrsFormEditorFillPost(fill2553IrsFormRequest?: Fill2553IrsFormRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Class2553IrsFormEditorApi - object-oriented interface
|
|
57
|
+
* @export
|
|
58
|
+
* @class Class2553IrsFormEditorApi
|
|
59
|
+
* @extends {BaseAPI}
|
|
60
|
+
*/
|
|
61
|
+
export declare class Class2553IrsFormEditorApi extends BaseAPI {
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @param {Fill2553IrsFormRequest} [fill2553IrsFormRequest]
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
* @memberof Class2553IrsFormEditorApi
|
|
68
|
+
*/
|
|
69
|
+
api2553IrsFormEditorFillPost(fill2553IrsFormRequest?: Fill2553IrsFormRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
70
|
+
}
|
|
@@ -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.Class2553IrsFormEditorApi = exports.Class2553IrsFormEditorApiFactory = exports.Class2553IrsFormEditorApiFp = exports.Class2553IrsFormEditorApiAxiosParamCreator = 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
|
+
* Class2553IrsFormEditorApi - axios parameter creator
|
|
87
|
+
* @export
|
|
88
|
+
*/
|
|
89
|
+
var Class2553IrsFormEditorApiAxiosParamCreator = function (configuration) {
|
|
90
|
+
var _this = this;
|
|
91
|
+
return {
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @param {Fill2553IrsFormRequest} [fill2553IrsFormRequest]
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
api2553IrsFormEditorFillPost: function (fill2553IrsFormRequest, 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/_2553IrsFormEditor/fill";
|
|
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)(fill2553IrsFormRequest, 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.Class2553IrsFormEditorApiAxiosParamCreator = Class2553IrsFormEditorApiAxiosParamCreator;
|
|
136
|
+
/**
|
|
137
|
+
* Class2553IrsFormEditorApi - functional programming interface
|
|
138
|
+
* @export
|
|
139
|
+
*/
|
|
140
|
+
var Class2553IrsFormEditorApiFp = function (configuration) {
|
|
141
|
+
var localVarAxiosParamCreator = (0, exports.Class2553IrsFormEditorApiAxiosParamCreator)(configuration);
|
|
142
|
+
return {
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @param {Fill2553IrsFormRequest} [fill2553IrsFormRequest]
|
|
146
|
+
* @param {*} [options] Override http request option.
|
|
147
|
+
* @throws {RequiredError}
|
|
148
|
+
*/
|
|
149
|
+
api2553IrsFormEditorFillPost: function (fill2553IrsFormRequest, 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.api2553IrsFormEditorFillPost(fill2553IrsFormRequest, 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['Class2553IrsFormEditorApi.api2553IrsFormEditorFillPost']) === 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.Class2553IrsFormEditorApiFp = Class2553IrsFormEditorApiFp;
|
|
168
|
+
/**
|
|
169
|
+
* Class2553IrsFormEditorApi - factory interface
|
|
170
|
+
* @export
|
|
171
|
+
*/
|
|
172
|
+
var Class2553IrsFormEditorApiFactory = function (configuration, basePath, axios) {
|
|
173
|
+
var localVarFp = (0, exports.Class2553IrsFormEditorApiFp)(configuration);
|
|
174
|
+
return {
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @param {Fill2553IrsFormRequest} [fill2553IrsFormRequest]
|
|
178
|
+
* @param {*} [options] Override http request option.
|
|
179
|
+
* @throws {RequiredError}
|
|
180
|
+
*/
|
|
181
|
+
api2553IrsFormEditorFillPost: function (fill2553IrsFormRequest, options) {
|
|
182
|
+
return localVarFp.api2553IrsFormEditorFillPost(fill2553IrsFormRequest, options).then(function (request) { return request(axios, basePath); });
|
|
183
|
+
},
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
exports.Class2553IrsFormEditorApiFactory = Class2553IrsFormEditorApiFactory;
|
|
187
|
+
/**
|
|
188
|
+
* Class2553IrsFormEditorApi - object-oriented interface
|
|
189
|
+
* @export
|
|
190
|
+
* @class Class2553IrsFormEditorApi
|
|
191
|
+
* @extends {BaseAPI}
|
|
192
|
+
*/
|
|
193
|
+
var Class2553IrsFormEditorApi = /** @class */ (function (_super) {
|
|
194
|
+
__extends(Class2553IrsFormEditorApi, _super);
|
|
195
|
+
function Class2553IrsFormEditorApi() {
|
|
196
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
*
|
|
200
|
+
* @param {Fill2553IrsFormRequest} [fill2553IrsFormRequest]
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
* @memberof Class2553IrsFormEditorApi
|
|
204
|
+
*/
|
|
205
|
+
Class2553IrsFormEditorApi.prototype.api2553IrsFormEditorFillPost = function (fill2553IrsFormRequest, options) {
|
|
206
|
+
var _this = this;
|
|
207
|
+
return (0, exports.Class2553IrsFormEditorApiFp)(this.configuration).api2553IrsFormEditorFillPost(fill2553IrsFormRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
208
|
+
};
|
|
209
|
+
return Class2553IrsFormEditorApi;
|
|
210
|
+
}(base_1.BaseAPI));
|
|
211
|
+
exports.Class2553IrsFormEditorApi = Class2553IrsFormEditorApi;
|
package/lib/api/test-api.d.ts
CHANGED
|
@@ -58,6 +58,12 @@ export declare const TestApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
58
58
|
* @throws {RequiredError}
|
|
59
59
|
*/
|
|
60
60
|
apiTestQuickBooksAuthCallbackPost: (testQuickBooksCallbackRequest?: TestQuickBooksCallbackRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @param {*} [options] Override http request option.
|
|
64
|
+
* @throws {RequiredError}
|
|
65
|
+
*/
|
|
66
|
+
apiTestUserFreshPost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
67
|
};
|
|
62
68
|
/**
|
|
63
69
|
* TestApi - functional programming interface
|
|
@@ -98,6 +104,12 @@ export declare const TestApiFp: (configuration?: Configuration) => {
|
|
|
98
104
|
* @throws {RequiredError}
|
|
99
105
|
*/
|
|
100
106
|
apiTestQuickBooksAuthCallbackPost(testQuickBooksCallbackRequest?: TestQuickBooksCallbackRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TestQuickBooksCallbackResponse>>;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @param {*} [options] Override http request option.
|
|
110
|
+
* @throws {RequiredError}
|
|
111
|
+
*/
|
|
112
|
+
apiTestUserFreshPost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthenticatedUserInUi>>;
|
|
101
113
|
};
|
|
102
114
|
/**
|
|
103
115
|
* TestApi - factory interface
|
|
@@ -138,6 +150,12 @@ export declare const TestApiFactory: (configuration?: Configuration, basePath?:
|
|
|
138
150
|
* @throws {RequiredError}
|
|
139
151
|
*/
|
|
140
152
|
apiTestQuickBooksAuthCallbackPost(testQuickBooksCallbackRequest?: TestQuickBooksCallbackRequest, options?: RawAxiosRequestConfig): AxiosPromise<TestQuickBooksCallbackResponse>;
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @param {*} [options] Override http request option.
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
*/
|
|
158
|
+
apiTestUserFreshPost(options?: RawAxiosRequestConfig): AxiosPromise<AuthenticatedUserInUi>;
|
|
141
159
|
};
|
|
142
160
|
/**
|
|
143
161
|
* TestApi - object-oriented interface
|
|
@@ -185,4 +203,11 @@ export declare class TestApi extends BaseAPI {
|
|
|
185
203
|
* @memberof TestApi
|
|
186
204
|
*/
|
|
187
205
|
apiTestQuickBooksAuthCallbackPost(testQuickBooksCallbackRequest?: TestQuickBooksCallbackRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TestQuickBooksCallbackResponse, any, {}>>;
|
|
206
|
+
/**
|
|
207
|
+
*
|
|
208
|
+
* @param {*} [options] Override http request option.
|
|
209
|
+
* @throws {RequiredError}
|
|
210
|
+
* @memberof TestApi
|
|
211
|
+
*/
|
|
212
|
+
apiTestUserFreshPost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticatedUserInUi, any, {}>>;
|
|
188
213
|
}
|
package/lib/api/test-api.js
CHANGED
|
@@ -293,6 +293,44 @@ var TestApiAxiosParamCreator = function (configuration) {
|
|
|
293
293
|
});
|
|
294
294
|
});
|
|
295
295
|
},
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
* @param {*} [options] Override http request option.
|
|
299
|
+
* @throws {RequiredError}
|
|
300
|
+
*/
|
|
301
|
+
apiTestUserFreshPost: function (options) {
|
|
302
|
+
if (options === void 0) { options = {}; }
|
|
303
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
304
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
305
|
+
return __generator(this, function (_a) {
|
|
306
|
+
switch (_a.label) {
|
|
307
|
+
case 0:
|
|
308
|
+
localVarPath = "/api/Test/user/fresh";
|
|
309
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
310
|
+
if (configuration) {
|
|
311
|
+
baseOptions = configuration.baseOptions;
|
|
312
|
+
}
|
|
313
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
314
|
+
localVarHeaderParameter = {};
|
|
315
|
+
localVarQueryParameter = {};
|
|
316
|
+
// authentication Bearer required
|
|
317
|
+
// http bearer authentication required
|
|
318
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
319
|
+
case 1:
|
|
320
|
+
// authentication Bearer required
|
|
321
|
+
// http bearer authentication required
|
|
322
|
+
_a.sent();
|
|
323
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
324
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
325
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
326
|
+
return [2 /*return*/, {
|
|
327
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
328
|
+
options: localVarRequestOptions,
|
|
329
|
+
}];
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
});
|
|
333
|
+
},
|
|
296
334
|
};
|
|
297
335
|
};
|
|
298
336
|
exports.TestApiAxiosParamCreator = TestApiAxiosParamCreator;
|
|
@@ -412,6 +450,27 @@ var TestApiFp = function (configuration) {
|
|
|
412
450
|
});
|
|
413
451
|
});
|
|
414
452
|
},
|
|
453
|
+
/**
|
|
454
|
+
*
|
|
455
|
+
* @param {*} [options] Override http request option.
|
|
456
|
+
* @throws {RequiredError}
|
|
457
|
+
*/
|
|
458
|
+
apiTestUserFreshPost: function (options) {
|
|
459
|
+
var _a, _b, _c;
|
|
460
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
461
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
462
|
+
return __generator(this, function (_d) {
|
|
463
|
+
switch (_d.label) {
|
|
464
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiTestUserFreshPost(options)];
|
|
465
|
+
case 1:
|
|
466
|
+
localVarAxiosArgs = _d.sent();
|
|
467
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
468
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TestApi.apiTestUserFreshPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
469
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
470
|
+
}
|
|
471
|
+
});
|
|
472
|
+
});
|
|
473
|
+
},
|
|
415
474
|
};
|
|
416
475
|
};
|
|
417
476
|
exports.TestApiFp = TestApiFp;
|
|
@@ -466,6 +525,14 @@ var TestApiFactory = function (configuration, basePath, axios) {
|
|
|
466
525
|
apiTestQuickBooksAuthCallbackPost: function (testQuickBooksCallbackRequest, options) {
|
|
467
526
|
return localVarFp.apiTestQuickBooksAuthCallbackPost(testQuickBooksCallbackRequest, options).then(function (request) { return request(axios, basePath); });
|
|
468
527
|
},
|
|
528
|
+
/**
|
|
529
|
+
*
|
|
530
|
+
* @param {*} [options] Override http request option.
|
|
531
|
+
* @throws {RequiredError}
|
|
532
|
+
*/
|
|
533
|
+
apiTestUserFreshPost: function (options) {
|
|
534
|
+
return localVarFp.apiTestUserFreshPost(options).then(function (request) { return request(axios, basePath); });
|
|
535
|
+
},
|
|
469
536
|
};
|
|
470
537
|
};
|
|
471
538
|
exports.TestApiFactory = TestApiFactory;
|
|
@@ -534,6 +601,16 @@ var TestApi = /** @class */ (function (_super) {
|
|
|
534
601
|
var _this = this;
|
|
535
602
|
return (0, exports.TestApiFp)(this.configuration).apiTestQuickBooksAuthCallbackPost(testQuickBooksCallbackRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
536
603
|
};
|
|
604
|
+
/**
|
|
605
|
+
*
|
|
606
|
+
* @param {*} [options] Override http request option.
|
|
607
|
+
* @throws {RequiredError}
|
|
608
|
+
* @memberof TestApi
|
|
609
|
+
*/
|
|
610
|
+
TestApi.prototype.apiTestUserFreshPost = function (options) {
|
|
611
|
+
var _this = this;
|
|
612
|
+
return (0, exports.TestApiFp)(this.configuration).apiTestUserFreshPost(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
613
|
+
};
|
|
537
614
|
return TestApi;
|
|
538
615
|
}(base_1.BaseAPI));
|
|
539
616
|
exports.TestApi = TestApi;
|
|
@@ -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 CreatePaymentIntentRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePaymentIntentRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CreatePaymentIntentRequest
|
|
22
|
+
*/
|
|
23
|
+
'amount'?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePaymentIntentRequest
|
|
28
|
+
*/
|
|
29
|
+
'currency'?: 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 });
|