@s-corp-biz/biz-entity-api 1.14.0 → 1.14.1
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/test-api.d.ts +30 -0
- package/lib/api/test-api.js +84 -0
- package/lib/models/index.d.ts +2 -0
- package/lib/models/index.js +2 -0
- package/lib/models/{create-payment-intent-request.d.ts → seed-scenario-not-found-response.d.ts} +8 -8
- package/lib/models/seed-scenario-response.d.ts +36 -0
- package/lib/models/seed-scenario-response.js +15 -0
- package/package.json +1 -1
- package/lib/api/class2553-irs-form-editor-api.d.ts +0 -70
- package/lib/api/class2553-irs-form-editor-api.js +0 -211
- /package/lib/models/{create-payment-intent-request.js → seed-scenario-not-found-response.js} +0 -0
package/lib/api/test-api.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { AuthenticatedUserInUi } from '../models';
|
|
16
16
|
import type { DatabaseInspectionResponse } from '../models';
|
|
17
|
+
import type { SeedScenarioResponse } from '../models';
|
|
17
18
|
import type { SingleEntityResponse } from '../models';
|
|
18
19
|
import type { TestAddToCompanyRequest } from '../models';
|
|
19
20
|
import type { TestAddToCompanyResponse } from '../models';
|
|
@@ -58,6 +59,13 @@ export declare const TestApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
58
59
|
* @throws {RequiredError}
|
|
59
60
|
*/
|
|
60
61
|
apiTestQuickBooksAuthCallbackPost: (testQuickBooksCallbackRequest?: TestQuickBooksCallbackRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @param {string} name
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
*/
|
|
68
|
+
apiTestSeedScenarioNamePost: (name: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
69
|
/**
|
|
62
70
|
*
|
|
63
71
|
* @param {*} [options] Override http request option.
|
|
@@ -104,6 +112,13 @@ export declare const TestApiFp: (configuration?: Configuration) => {
|
|
|
104
112
|
* @throws {RequiredError}
|
|
105
113
|
*/
|
|
106
114
|
apiTestQuickBooksAuthCallbackPost(testQuickBooksCallbackRequest?: TestQuickBooksCallbackRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TestQuickBooksCallbackResponse>>;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @param {string} name
|
|
118
|
+
* @param {*} [options] Override http request option.
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
apiTestSeedScenarioNamePost(name: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SeedScenarioResponse>>;
|
|
107
122
|
/**
|
|
108
123
|
*
|
|
109
124
|
* @param {*} [options] Override http request option.
|
|
@@ -150,6 +165,13 @@ export declare const TestApiFactory: (configuration?: Configuration, basePath?:
|
|
|
150
165
|
* @throws {RequiredError}
|
|
151
166
|
*/
|
|
152
167
|
apiTestQuickBooksAuthCallbackPost(testQuickBooksCallbackRequest?: TestQuickBooksCallbackRequest, options?: RawAxiosRequestConfig): AxiosPromise<TestQuickBooksCallbackResponse>;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @param {string} name
|
|
171
|
+
* @param {*} [options] Override http request option.
|
|
172
|
+
* @throws {RequiredError}
|
|
173
|
+
*/
|
|
174
|
+
apiTestSeedScenarioNamePost(name: string, options?: RawAxiosRequestConfig): AxiosPromise<SeedScenarioResponse>;
|
|
153
175
|
/**
|
|
154
176
|
*
|
|
155
177
|
* @param {*} [options] Override http request option.
|
|
@@ -203,6 +225,14 @@ export declare class TestApi extends BaseAPI {
|
|
|
203
225
|
* @memberof TestApi
|
|
204
226
|
*/
|
|
205
227
|
apiTestQuickBooksAuthCallbackPost(testQuickBooksCallbackRequest?: TestQuickBooksCallbackRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TestQuickBooksCallbackResponse, any, {}>>;
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* @param {string} name
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @throws {RequiredError}
|
|
233
|
+
* @memberof TestApi
|
|
234
|
+
*/
|
|
235
|
+
apiTestSeedScenarioNamePost(name: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SeedScenarioResponse, any, {}>>;
|
|
206
236
|
/**
|
|
207
237
|
*
|
|
208
238
|
* @param {*} [options] Override http request option.
|
package/lib/api/test-api.js
CHANGED
|
@@ -293,6 +293,48 @@ var TestApiAxiosParamCreator = function (configuration) {
|
|
|
293
293
|
});
|
|
294
294
|
});
|
|
295
295
|
},
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
* @param {string} name
|
|
299
|
+
* @param {*} [options] Override http request option.
|
|
300
|
+
* @throws {RequiredError}
|
|
301
|
+
*/
|
|
302
|
+
apiTestSeedScenarioNamePost: function (name, options) {
|
|
303
|
+
if (options === void 0) { options = {}; }
|
|
304
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
305
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
306
|
+
return __generator(this, function (_a) {
|
|
307
|
+
switch (_a.label) {
|
|
308
|
+
case 0:
|
|
309
|
+
// verify required parameter 'name' is not null or undefined
|
|
310
|
+
(0, common_1.assertParamExists)('apiTestSeedScenarioNamePost', 'name', name);
|
|
311
|
+
localVarPath = "/api/Test/seedScenario/{name}"
|
|
312
|
+
.replace("{".concat("name", "}"), encodeURIComponent(String(name)));
|
|
313
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
314
|
+
if (configuration) {
|
|
315
|
+
baseOptions = configuration.baseOptions;
|
|
316
|
+
}
|
|
317
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
318
|
+
localVarHeaderParameter = {};
|
|
319
|
+
localVarQueryParameter = {};
|
|
320
|
+
// authentication Bearer required
|
|
321
|
+
// http bearer authentication required
|
|
322
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
323
|
+
case 1:
|
|
324
|
+
// authentication Bearer required
|
|
325
|
+
// http bearer authentication required
|
|
326
|
+
_a.sent();
|
|
327
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
328
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
329
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
330
|
+
return [2 /*return*/, {
|
|
331
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
332
|
+
options: localVarRequestOptions,
|
|
333
|
+
}];
|
|
334
|
+
}
|
|
335
|
+
});
|
|
336
|
+
});
|
|
337
|
+
},
|
|
296
338
|
/**
|
|
297
339
|
*
|
|
298
340
|
* @param {*} [options] Override http request option.
|
|
@@ -450,6 +492,28 @@ var TestApiFp = function (configuration) {
|
|
|
450
492
|
});
|
|
451
493
|
});
|
|
452
494
|
},
|
|
495
|
+
/**
|
|
496
|
+
*
|
|
497
|
+
* @param {string} name
|
|
498
|
+
* @param {*} [options] Override http request option.
|
|
499
|
+
* @throws {RequiredError}
|
|
500
|
+
*/
|
|
501
|
+
apiTestSeedScenarioNamePost: function (name, options) {
|
|
502
|
+
var _a, _b, _c;
|
|
503
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
504
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
505
|
+
return __generator(this, function (_d) {
|
|
506
|
+
switch (_d.label) {
|
|
507
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiTestSeedScenarioNamePost(name, options)];
|
|
508
|
+
case 1:
|
|
509
|
+
localVarAxiosArgs = _d.sent();
|
|
510
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
511
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TestApi.apiTestSeedScenarioNamePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
512
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
513
|
+
}
|
|
514
|
+
});
|
|
515
|
+
});
|
|
516
|
+
},
|
|
453
517
|
/**
|
|
454
518
|
*
|
|
455
519
|
* @param {*} [options] Override http request option.
|
|
@@ -525,6 +589,15 @@ var TestApiFactory = function (configuration, basePath, axios) {
|
|
|
525
589
|
apiTestQuickBooksAuthCallbackPost: function (testQuickBooksCallbackRequest, options) {
|
|
526
590
|
return localVarFp.apiTestQuickBooksAuthCallbackPost(testQuickBooksCallbackRequest, options).then(function (request) { return request(axios, basePath); });
|
|
527
591
|
},
|
|
592
|
+
/**
|
|
593
|
+
*
|
|
594
|
+
* @param {string} name
|
|
595
|
+
* @param {*} [options] Override http request option.
|
|
596
|
+
* @throws {RequiredError}
|
|
597
|
+
*/
|
|
598
|
+
apiTestSeedScenarioNamePost: function (name, options) {
|
|
599
|
+
return localVarFp.apiTestSeedScenarioNamePost(name, options).then(function (request) { return request(axios, basePath); });
|
|
600
|
+
},
|
|
528
601
|
/**
|
|
529
602
|
*
|
|
530
603
|
* @param {*} [options] Override http request option.
|
|
@@ -601,6 +674,17 @@ var TestApi = /** @class */ (function (_super) {
|
|
|
601
674
|
var _this = this;
|
|
602
675
|
return (0, exports.TestApiFp)(this.configuration).apiTestQuickBooksAuthCallbackPost(testQuickBooksCallbackRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
603
676
|
};
|
|
677
|
+
/**
|
|
678
|
+
*
|
|
679
|
+
* @param {string} name
|
|
680
|
+
* @param {*} [options] Override http request option.
|
|
681
|
+
* @throws {RequiredError}
|
|
682
|
+
* @memberof TestApi
|
|
683
|
+
*/
|
|
684
|
+
TestApi.prototype.apiTestSeedScenarioNamePost = function (name, options) {
|
|
685
|
+
var _this = this;
|
|
686
|
+
return (0, exports.TestApiFp)(this.configuration).apiTestSeedScenarioNamePost(name, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
687
|
+
};
|
|
604
688
|
/**
|
|
605
689
|
*
|
|
606
690
|
* @param {*} [options] Override http request option.
|
package/lib/models/index.d.ts
CHANGED
|
@@ -62,6 +62,8 @@ export * from './scorp-election-create-request';
|
|
|
62
62
|
export * from './scorp-election-finalize-request';
|
|
63
63
|
export * from './scorp-election-response';
|
|
64
64
|
export * from './scorp-election-update-request';
|
|
65
|
+
export * from './seed-scenario-not-found-response';
|
|
66
|
+
export * from './seed-scenario-response';
|
|
65
67
|
export * from './send-invitation-request';
|
|
66
68
|
export * from './shared-family-info-response';
|
|
67
69
|
export * from './shared-family-summary-response';
|
package/lib/models/index.js
CHANGED
|
@@ -78,6 +78,8 @@ __exportStar(require("./scorp-election-create-request"), exports);
|
|
|
78
78
|
__exportStar(require("./scorp-election-finalize-request"), exports);
|
|
79
79
|
__exportStar(require("./scorp-election-response"), exports);
|
|
80
80
|
__exportStar(require("./scorp-election-update-request"), exports);
|
|
81
|
+
__exportStar(require("./seed-scenario-not-found-response"), exports);
|
|
82
|
+
__exportStar(require("./seed-scenario-response"), exports);
|
|
81
83
|
__exportStar(require("./send-invitation-request"), exports);
|
|
82
84
|
__exportStar(require("./shared-family-info-response"), exports);
|
|
83
85
|
__exportStar(require("./shared-family-summary-response"), exports);
|
package/lib/models/{create-payment-intent-request.d.ts → seed-scenario-not-found-response.d.ts}
RENAMED
|
@@ -12,19 +12,19 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface SeedScenarioNotFoundResponse
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface SeedScenarioNotFoundResponse {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {
|
|
21
|
-
* @memberof
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SeedScenarioNotFoundResponse
|
|
22
22
|
*/
|
|
23
|
-
'
|
|
23
|
+
'error'?: string | null;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof SeedScenarioNotFoundResponse
|
|
28
28
|
*/
|
|
29
|
-
'
|
|
29
|
+
'availableScenarios'?: Array<string> | null;
|
|
30
30
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 SeedScenarioResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface SeedScenarioResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SeedScenarioResponse
|
|
22
|
+
*/
|
|
23
|
+
'name'?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SeedScenarioResponse
|
|
28
|
+
*/
|
|
29
|
+
'status'?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {any}
|
|
33
|
+
* @memberof SeedScenarioResponse
|
|
34
|
+
*/
|
|
35
|
+
'result'?: any | null;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* biz-entity-api
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/package.json
CHANGED
|
@@ -1,70 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,211 +0,0 @@
|
|
|
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/models/{create-payment-intent-request.js → seed-scenario-not-found-response.js}
RENAMED
|
File without changes
|