@s-corp-biz/biz-entity-api 1.28.0-staging.21 → 1.28.0-staging.23
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/onboarding-tracker-api.d.ts +96 -0
- package/lib/api/onboarding-tracker-api.js +268 -0
- package/lib/api/payment-link-checkout-api.d.ts +75 -0
- package/lib/api/payment-link-checkout-api.js +218 -0
- package/lib/api.d.ts +1 -0
- package/lib/api.js +1 -0
- package/lib/models/admin-onboarding-row-dto.d.ts +6 -0
- package/lib/models/document-dto.d.ts +18 -0
- package/lib/models/document-type.d.ts +2 -0
- package/lib/models/document-type.js +3 -1
- package/lib/models/index.d.ts +3 -0
- package/lib/models/index.js +3 -0
- package/lib/models/last-filed-request.d.ts +30 -0
- package/lib/models/last-filed-request.js +15 -0
- package/lib/models/onboarding-dto.d.ts +6 -0
- package/lib/models/payment-link-checkout-request.d.ts +24 -0
- package/lib/models/payment-link-checkout-request.js +15 -0
- package/lib/models/payment-link-checkout-response.d.ts +24 -0
- package/lib/models/payment-link-checkout-response.js +15 -0
- package/package.json +1 -1
|
@@ -16,6 +16,7 @@ import type { AdvisorTaskGroupDto } from '../models';
|
|
|
16
16
|
import type { BusinessReturnExceptionRequest } from '../models';
|
|
17
17
|
import type { DocumentDto } from '../models';
|
|
18
18
|
import type { ExtractionJobDto } from '../models';
|
|
19
|
+
import type { LastFiledRequest } from '../models';
|
|
19
20
|
import type { OnboardingDto } from '../models';
|
|
20
21
|
import type { StepDto } from '../models';
|
|
21
22
|
import type { UpdateStepStatusRequest } from '../models';
|
|
@@ -45,6 +46,13 @@ export declare const OnboardingTrackerApiAxiosParamCreator: (configuration?: Con
|
|
|
45
46
|
* @throws {RequiredError}
|
|
46
47
|
*/
|
|
47
48
|
apiOnboardingDocumentsDocumentIdCheckPost: (documentId: string, file?: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @param {string} documentId
|
|
52
|
+
* @param {*} [options] Override http request option.
|
|
53
|
+
* @throws {RequiredError}
|
|
54
|
+
*/
|
|
55
|
+
apiOnboardingDocumentsDocumentIdDelete: (documentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
56
|
/**
|
|
49
57
|
*
|
|
50
58
|
* @param {string} documentId
|
|
@@ -53,6 +61,22 @@ export declare const OnboardingTrackerApiAxiosParamCreator: (configuration?: Con
|
|
|
53
61
|
* @throws {RequiredError}
|
|
54
62
|
*/
|
|
55
63
|
apiOnboardingDocumentsDocumentIdExtractionJobsPost: (documentId: string, file?: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @param {string} documentId
|
|
67
|
+
* @param {LastFiledRequest} [lastFiledRequest]
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
apiOnboardingDocumentsDocumentIdLastFiledPut: (documentId: string, lastFiledRequest?: LastFiledRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @param {File} [file]
|
|
75
|
+
* @param {string} [category]
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
*/
|
|
79
|
+
apiOnboardingDocumentsUploadPost: (file?: File, category?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
80
|
/**
|
|
57
81
|
*
|
|
58
82
|
* @param {string} jobId
|
|
@@ -101,6 +125,13 @@ export declare const OnboardingTrackerApiFp: (configuration?: Configuration) =>
|
|
|
101
125
|
* @throws {RequiredError}
|
|
102
126
|
*/
|
|
103
127
|
apiOnboardingDocumentsDocumentIdCheckPost(documentId: string, file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentDto>>;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @param {string} documentId
|
|
131
|
+
* @param {*} [options] Override http request option.
|
|
132
|
+
* @throws {RequiredError}
|
|
133
|
+
*/
|
|
134
|
+
apiOnboardingDocumentsDocumentIdDelete(documentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
104
135
|
/**
|
|
105
136
|
*
|
|
106
137
|
* @param {string} documentId
|
|
@@ -109,6 +140,22 @@ export declare const OnboardingTrackerApiFp: (configuration?: Configuration) =>
|
|
|
109
140
|
* @throws {RequiredError}
|
|
110
141
|
*/
|
|
111
142
|
apiOnboardingDocumentsDocumentIdExtractionJobsPost(documentId: string, file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExtractionJobDto>>;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @param {string} documentId
|
|
146
|
+
* @param {LastFiledRequest} [lastFiledRequest]
|
|
147
|
+
* @param {*} [options] Override http request option.
|
|
148
|
+
* @throws {RequiredError}
|
|
149
|
+
*/
|
|
150
|
+
apiOnboardingDocumentsDocumentIdLastFiledPut(documentId: string, lastFiledRequest?: LastFiledRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentDto>>;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @param {File} [file]
|
|
154
|
+
* @param {string} [category]
|
|
155
|
+
* @param {*} [options] Override http request option.
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
*/
|
|
158
|
+
apiOnboardingDocumentsUploadPost(file?: File, category?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentDto>>;
|
|
112
159
|
/**
|
|
113
160
|
*
|
|
114
161
|
* @param {string} jobId
|
|
@@ -157,6 +204,13 @@ export declare const OnboardingTrackerApiFactory: (configuration?: Configuration
|
|
|
157
204
|
* @throws {RequiredError}
|
|
158
205
|
*/
|
|
159
206
|
apiOnboardingDocumentsDocumentIdCheckPost(documentId: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<DocumentDto>;
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
* @param {string} documentId
|
|
210
|
+
* @param {*} [options] Override http request option.
|
|
211
|
+
* @throws {RequiredError}
|
|
212
|
+
*/
|
|
213
|
+
apiOnboardingDocumentsDocumentIdDelete(documentId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
160
214
|
/**
|
|
161
215
|
*
|
|
162
216
|
* @param {string} documentId
|
|
@@ -165,6 +219,22 @@ export declare const OnboardingTrackerApiFactory: (configuration?: Configuration
|
|
|
165
219
|
* @throws {RequiredError}
|
|
166
220
|
*/
|
|
167
221
|
apiOnboardingDocumentsDocumentIdExtractionJobsPost(documentId: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<ExtractionJobDto>;
|
|
222
|
+
/**
|
|
223
|
+
*
|
|
224
|
+
* @param {string} documentId
|
|
225
|
+
* @param {LastFiledRequest} [lastFiledRequest]
|
|
226
|
+
* @param {*} [options] Override http request option.
|
|
227
|
+
* @throws {RequiredError}
|
|
228
|
+
*/
|
|
229
|
+
apiOnboardingDocumentsDocumentIdLastFiledPut(documentId: string, lastFiledRequest?: LastFiledRequest, options?: RawAxiosRequestConfig): AxiosPromise<DocumentDto>;
|
|
230
|
+
/**
|
|
231
|
+
*
|
|
232
|
+
* @param {File} [file]
|
|
233
|
+
* @param {string} [category]
|
|
234
|
+
* @param {*} [options] Override http request option.
|
|
235
|
+
* @throws {RequiredError}
|
|
236
|
+
*/
|
|
237
|
+
apiOnboardingDocumentsUploadPost(file?: File, category?: string, options?: RawAxiosRequestConfig): AxiosPromise<DocumentDto>;
|
|
168
238
|
/**
|
|
169
239
|
*
|
|
170
240
|
* @param {string} jobId
|
|
@@ -218,6 +288,14 @@ export declare class OnboardingTrackerApi extends BaseAPI {
|
|
|
218
288
|
* @memberof OnboardingTrackerApi
|
|
219
289
|
*/
|
|
220
290
|
apiOnboardingDocumentsDocumentIdCheckPost(documentId: string, file?: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DocumentDto, any, {}>>;
|
|
291
|
+
/**
|
|
292
|
+
*
|
|
293
|
+
* @param {string} documentId
|
|
294
|
+
* @param {*} [options] Override http request option.
|
|
295
|
+
* @throws {RequiredError}
|
|
296
|
+
* @memberof OnboardingTrackerApi
|
|
297
|
+
*/
|
|
298
|
+
apiOnboardingDocumentsDocumentIdDelete(documentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
221
299
|
/**
|
|
222
300
|
*
|
|
223
301
|
* @param {string} documentId
|
|
@@ -227,6 +305,24 @@ export declare class OnboardingTrackerApi extends BaseAPI {
|
|
|
227
305
|
* @memberof OnboardingTrackerApi
|
|
228
306
|
*/
|
|
229
307
|
apiOnboardingDocumentsDocumentIdExtractionJobsPost(documentId: string, file?: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExtractionJobDto, any, {}>>;
|
|
308
|
+
/**
|
|
309
|
+
*
|
|
310
|
+
* @param {string} documentId
|
|
311
|
+
* @param {LastFiledRequest} [lastFiledRequest]
|
|
312
|
+
* @param {*} [options] Override http request option.
|
|
313
|
+
* @throws {RequiredError}
|
|
314
|
+
* @memberof OnboardingTrackerApi
|
|
315
|
+
*/
|
|
316
|
+
apiOnboardingDocumentsDocumentIdLastFiledPut(documentId: string, lastFiledRequest?: LastFiledRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DocumentDto, any, {}>>;
|
|
317
|
+
/**
|
|
318
|
+
*
|
|
319
|
+
* @param {File} [file]
|
|
320
|
+
* @param {string} [category]
|
|
321
|
+
* @param {*} [options] Override http request option.
|
|
322
|
+
* @throws {RequiredError}
|
|
323
|
+
* @memberof OnboardingTrackerApi
|
|
324
|
+
*/
|
|
325
|
+
apiOnboardingDocumentsUploadPost(file?: File, category?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DocumentDto, any, {}>>;
|
|
230
326
|
/**
|
|
231
327
|
*
|
|
232
328
|
* @param {string} jobId
|
|
@@ -217,6 +217,48 @@ var OnboardingTrackerApiAxiosParamCreator = function (configuration) {
|
|
|
217
217
|
});
|
|
218
218
|
});
|
|
219
219
|
},
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* @param {string} documentId
|
|
223
|
+
* @param {*} [options] Override http request option.
|
|
224
|
+
* @throws {RequiredError}
|
|
225
|
+
*/
|
|
226
|
+
apiOnboardingDocumentsDocumentIdDelete: function (documentId, options) {
|
|
227
|
+
if (options === void 0) { options = {}; }
|
|
228
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
229
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
230
|
+
return __generator(this, function (_a) {
|
|
231
|
+
switch (_a.label) {
|
|
232
|
+
case 0:
|
|
233
|
+
// verify required parameter 'documentId' is not null or undefined
|
|
234
|
+
(0, common_1.assertParamExists)('apiOnboardingDocumentsDocumentIdDelete', 'documentId', documentId);
|
|
235
|
+
localVarPath = "/api/onboarding/documents/{documentId}"
|
|
236
|
+
.replace("{".concat("documentId", "}"), encodeURIComponent(String(documentId)));
|
|
237
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
238
|
+
if (configuration) {
|
|
239
|
+
baseOptions = configuration.baseOptions;
|
|
240
|
+
}
|
|
241
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
242
|
+
localVarHeaderParameter = {};
|
|
243
|
+
localVarQueryParameter = {};
|
|
244
|
+
// authentication Bearer required
|
|
245
|
+
// http bearer authentication required
|
|
246
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
247
|
+
case 1:
|
|
248
|
+
// authentication Bearer required
|
|
249
|
+
// http bearer authentication required
|
|
250
|
+
_a.sent();
|
|
251
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
252
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
253
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
254
|
+
return [2 /*return*/, {
|
|
255
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
256
|
+
options: localVarRequestOptions,
|
|
257
|
+
}];
|
|
258
|
+
}
|
|
259
|
+
});
|
|
260
|
+
});
|
|
261
|
+
},
|
|
220
262
|
/**
|
|
221
263
|
*
|
|
222
264
|
* @param {string} documentId
|
|
@@ -266,6 +308,100 @@ var OnboardingTrackerApiAxiosParamCreator = function (configuration) {
|
|
|
266
308
|
});
|
|
267
309
|
});
|
|
268
310
|
},
|
|
311
|
+
/**
|
|
312
|
+
*
|
|
313
|
+
* @param {string} documentId
|
|
314
|
+
* @param {LastFiledRequest} [lastFiledRequest]
|
|
315
|
+
* @param {*} [options] Override http request option.
|
|
316
|
+
* @throws {RequiredError}
|
|
317
|
+
*/
|
|
318
|
+
apiOnboardingDocumentsDocumentIdLastFiledPut: function (documentId, lastFiledRequest, options) {
|
|
319
|
+
if (options === void 0) { options = {}; }
|
|
320
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
321
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
322
|
+
return __generator(this, function (_a) {
|
|
323
|
+
switch (_a.label) {
|
|
324
|
+
case 0:
|
|
325
|
+
// verify required parameter 'documentId' is not null or undefined
|
|
326
|
+
(0, common_1.assertParamExists)('apiOnboardingDocumentsDocumentIdLastFiledPut', 'documentId', documentId);
|
|
327
|
+
localVarPath = "/api/onboarding/documents/{documentId}/last-filed"
|
|
328
|
+
.replace("{".concat("documentId", "}"), encodeURIComponent(String(documentId)));
|
|
329
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
330
|
+
if (configuration) {
|
|
331
|
+
baseOptions = configuration.baseOptions;
|
|
332
|
+
}
|
|
333
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
334
|
+
localVarHeaderParameter = {};
|
|
335
|
+
localVarQueryParameter = {};
|
|
336
|
+
// authentication Bearer required
|
|
337
|
+
// http bearer authentication required
|
|
338
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
339
|
+
case 1:
|
|
340
|
+
// authentication Bearer required
|
|
341
|
+
// http bearer authentication required
|
|
342
|
+
_a.sent();
|
|
343
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
344
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
345
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
346
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
347
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(lastFiledRequest, localVarRequestOptions, configuration);
|
|
348
|
+
return [2 /*return*/, {
|
|
349
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
350
|
+
options: localVarRequestOptions,
|
|
351
|
+
}];
|
|
352
|
+
}
|
|
353
|
+
});
|
|
354
|
+
});
|
|
355
|
+
},
|
|
356
|
+
/**
|
|
357
|
+
*
|
|
358
|
+
* @param {File} [file]
|
|
359
|
+
* @param {string} [category]
|
|
360
|
+
* @param {*} [options] Override http request option.
|
|
361
|
+
* @throws {RequiredError}
|
|
362
|
+
*/
|
|
363
|
+
apiOnboardingDocumentsUploadPost: function (file, category, options) {
|
|
364
|
+
if (options === void 0) { options = {}; }
|
|
365
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
366
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
|
|
367
|
+
return __generator(this, function (_a) {
|
|
368
|
+
switch (_a.label) {
|
|
369
|
+
case 0:
|
|
370
|
+
localVarPath = "/api/onboarding/documents/upload";
|
|
371
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
372
|
+
if (configuration) {
|
|
373
|
+
baseOptions = configuration.baseOptions;
|
|
374
|
+
}
|
|
375
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
376
|
+
localVarHeaderParameter = {};
|
|
377
|
+
localVarQueryParameter = {};
|
|
378
|
+
localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
379
|
+
// authentication Bearer required
|
|
380
|
+
// http bearer authentication required
|
|
381
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
382
|
+
case 1:
|
|
383
|
+
// authentication Bearer required
|
|
384
|
+
// http bearer authentication required
|
|
385
|
+
_a.sent();
|
|
386
|
+
if (file !== undefined) {
|
|
387
|
+
localVarFormParams.append('File', file);
|
|
388
|
+
}
|
|
389
|
+
if (category !== undefined) {
|
|
390
|
+
localVarFormParams.append('Category', category);
|
|
391
|
+
}
|
|
392
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
393
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
394
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
395
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
396
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
397
|
+
return [2 /*return*/, {
|
|
398
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
399
|
+
options: localVarRequestOptions,
|
|
400
|
+
}];
|
|
401
|
+
}
|
|
402
|
+
});
|
|
403
|
+
});
|
|
404
|
+
},
|
|
269
405
|
/**
|
|
270
406
|
*
|
|
271
407
|
* @param {string} jobId
|
|
@@ -467,6 +603,28 @@ var OnboardingTrackerApiFp = function (configuration) {
|
|
|
467
603
|
});
|
|
468
604
|
});
|
|
469
605
|
},
|
|
606
|
+
/**
|
|
607
|
+
*
|
|
608
|
+
* @param {string} documentId
|
|
609
|
+
* @param {*} [options] Override http request option.
|
|
610
|
+
* @throws {RequiredError}
|
|
611
|
+
*/
|
|
612
|
+
apiOnboardingDocumentsDocumentIdDelete: function (documentId, options) {
|
|
613
|
+
var _a, _b, _c;
|
|
614
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
615
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
616
|
+
return __generator(this, function (_d) {
|
|
617
|
+
switch (_d.label) {
|
|
618
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiOnboardingDocumentsDocumentIdDelete(documentId, options)];
|
|
619
|
+
case 1:
|
|
620
|
+
localVarAxiosArgs = _d.sent();
|
|
621
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
622
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OnboardingTrackerApi.apiOnboardingDocumentsDocumentIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
623
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
624
|
+
}
|
|
625
|
+
});
|
|
626
|
+
});
|
|
627
|
+
},
|
|
470
628
|
/**
|
|
471
629
|
*
|
|
472
630
|
* @param {string} documentId
|
|
@@ -490,6 +648,52 @@ var OnboardingTrackerApiFp = function (configuration) {
|
|
|
490
648
|
});
|
|
491
649
|
});
|
|
492
650
|
},
|
|
651
|
+
/**
|
|
652
|
+
*
|
|
653
|
+
* @param {string} documentId
|
|
654
|
+
* @param {LastFiledRequest} [lastFiledRequest]
|
|
655
|
+
* @param {*} [options] Override http request option.
|
|
656
|
+
* @throws {RequiredError}
|
|
657
|
+
*/
|
|
658
|
+
apiOnboardingDocumentsDocumentIdLastFiledPut: function (documentId, lastFiledRequest, options) {
|
|
659
|
+
var _a, _b, _c;
|
|
660
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
661
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
662
|
+
return __generator(this, function (_d) {
|
|
663
|
+
switch (_d.label) {
|
|
664
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiOnboardingDocumentsDocumentIdLastFiledPut(documentId, lastFiledRequest, options)];
|
|
665
|
+
case 1:
|
|
666
|
+
localVarAxiosArgs = _d.sent();
|
|
667
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
668
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OnboardingTrackerApi.apiOnboardingDocumentsDocumentIdLastFiledPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
669
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
670
|
+
}
|
|
671
|
+
});
|
|
672
|
+
});
|
|
673
|
+
},
|
|
674
|
+
/**
|
|
675
|
+
*
|
|
676
|
+
* @param {File} [file]
|
|
677
|
+
* @param {string} [category]
|
|
678
|
+
* @param {*} [options] Override http request option.
|
|
679
|
+
* @throws {RequiredError}
|
|
680
|
+
*/
|
|
681
|
+
apiOnboardingDocumentsUploadPost: function (file, category, options) {
|
|
682
|
+
var _a, _b, _c;
|
|
683
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
684
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
685
|
+
return __generator(this, function (_d) {
|
|
686
|
+
switch (_d.label) {
|
|
687
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiOnboardingDocumentsUploadPost(file, category, options)];
|
|
688
|
+
case 1:
|
|
689
|
+
localVarAxiosArgs = _d.sent();
|
|
690
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
691
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OnboardingTrackerApi.apiOnboardingDocumentsUploadPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
692
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
693
|
+
}
|
|
694
|
+
});
|
|
695
|
+
});
|
|
696
|
+
},
|
|
493
697
|
/**
|
|
494
698
|
*
|
|
495
699
|
* @param {string} jobId
|
|
@@ -593,6 +797,15 @@ var OnboardingTrackerApiFactory = function (configuration, basePath, axios) {
|
|
|
593
797
|
apiOnboardingDocumentsDocumentIdCheckPost: function (documentId, file, options) {
|
|
594
798
|
return localVarFp.apiOnboardingDocumentsDocumentIdCheckPost(documentId, file, options).then(function (request) { return request(axios, basePath); });
|
|
595
799
|
},
|
|
800
|
+
/**
|
|
801
|
+
*
|
|
802
|
+
* @param {string} documentId
|
|
803
|
+
* @param {*} [options] Override http request option.
|
|
804
|
+
* @throws {RequiredError}
|
|
805
|
+
*/
|
|
806
|
+
apiOnboardingDocumentsDocumentIdDelete: function (documentId, options) {
|
|
807
|
+
return localVarFp.apiOnboardingDocumentsDocumentIdDelete(documentId, options).then(function (request) { return request(axios, basePath); });
|
|
808
|
+
},
|
|
596
809
|
/**
|
|
597
810
|
*
|
|
598
811
|
* @param {string} documentId
|
|
@@ -603,6 +816,26 @@ var OnboardingTrackerApiFactory = function (configuration, basePath, axios) {
|
|
|
603
816
|
apiOnboardingDocumentsDocumentIdExtractionJobsPost: function (documentId, file, options) {
|
|
604
817
|
return localVarFp.apiOnboardingDocumentsDocumentIdExtractionJobsPost(documentId, file, options).then(function (request) { return request(axios, basePath); });
|
|
605
818
|
},
|
|
819
|
+
/**
|
|
820
|
+
*
|
|
821
|
+
* @param {string} documentId
|
|
822
|
+
* @param {LastFiledRequest} [lastFiledRequest]
|
|
823
|
+
* @param {*} [options] Override http request option.
|
|
824
|
+
* @throws {RequiredError}
|
|
825
|
+
*/
|
|
826
|
+
apiOnboardingDocumentsDocumentIdLastFiledPut: function (documentId, lastFiledRequest, options) {
|
|
827
|
+
return localVarFp.apiOnboardingDocumentsDocumentIdLastFiledPut(documentId, lastFiledRequest, options).then(function (request) { return request(axios, basePath); });
|
|
828
|
+
},
|
|
829
|
+
/**
|
|
830
|
+
*
|
|
831
|
+
* @param {File} [file]
|
|
832
|
+
* @param {string} [category]
|
|
833
|
+
* @param {*} [options] Override http request option.
|
|
834
|
+
* @throws {RequiredError}
|
|
835
|
+
*/
|
|
836
|
+
apiOnboardingDocumentsUploadPost: function (file, category, options) {
|
|
837
|
+
return localVarFp.apiOnboardingDocumentsUploadPost(file, category, options).then(function (request) { return request(axios, basePath); });
|
|
838
|
+
},
|
|
606
839
|
/**
|
|
607
840
|
*
|
|
608
841
|
* @param {string} jobId
|
|
@@ -677,6 +910,17 @@ var OnboardingTrackerApi = /** @class */ (function (_super) {
|
|
|
677
910
|
var _this = this;
|
|
678
911
|
return (0, exports.OnboardingTrackerApiFp)(this.configuration).apiOnboardingDocumentsDocumentIdCheckPost(documentId, file, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
679
912
|
};
|
|
913
|
+
/**
|
|
914
|
+
*
|
|
915
|
+
* @param {string} documentId
|
|
916
|
+
* @param {*} [options] Override http request option.
|
|
917
|
+
* @throws {RequiredError}
|
|
918
|
+
* @memberof OnboardingTrackerApi
|
|
919
|
+
*/
|
|
920
|
+
OnboardingTrackerApi.prototype.apiOnboardingDocumentsDocumentIdDelete = function (documentId, options) {
|
|
921
|
+
var _this = this;
|
|
922
|
+
return (0, exports.OnboardingTrackerApiFp)(this.configuration).apiOnboardingDocumentsDocumentIdDelete(documentId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
923
|
+
};
|
|
680
924
|
/**
|
|
681
925
|
*
|
|
682
926
|
* @param {string} documentId
|
|
@@ -689,6 +933,30 @@ var OnboardingTrackerApi = /** @class */ (function (_super) {
|
|
|
689
933
|
var _this = this;
|
|
690
934
|
return (0, exports.OnboardingTrackerApiFp)(this.configuration).apiOnboardingDocumentsDocumentIdExtractionJobsPost(documentId, file, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
691
935
|
};
|
|
936
|
+
/**
|
|
937
|
+
*
|
|
938
|
+
* @param {string} documentId
|
|
939
|
+
* @param {LastFiledRequest} [lastFiledRequest]
|
|
940
|
+
* @param {*} [options] Override http request option.
|
|
941
|
+
* @throws {RequiredError}
|
|
942
|
+
* @memberof OnboardingTrackerApi
|
|
943
|
+
*/
|
|
944
|
+
OnboardingTrackerApi.prototype.apiOnboardingDocumentsDocumentIdLastFiledPut = function (documentId, lastFiledRequest, options) {
|
|
945
|
+
var _this = this;
|
|
946
|
+
return (0, exports.OnboardingTrackerApiFp)(this.configuration).apiOnboardingDocumentsDocumentIdLastFiledPut(documentId, lastFiledRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
947
|
+
};
|
|
948
|
+
/**
|
|
949
|
+
*
|
|
950
|
+
* @param {File} [file]
|
|
951
|
+
* @param {string} [category]
|
|
952
|
+
* @param {*} [options] Override http request option.
|
|
953
|
+
* @throws {RequiredError}
|
|
954
|
+
* @memberof OnboardingTrackerApi
|
|
955
|
+
*/
|
|
956
|
+
OnboardingTrackerApi.prototype.apiOnboardingDocumentsUploadPost = function (file, category, options) {
|
|
957
|
+
var _this = this;
|
|
958
|
+
return (0, exports.OnboardingTrackerApiFp)(this.configuration).apiOnboardingDocumentsUploadPost(file, category, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
959
|
+
};
|
|
692
960
|
/**
|
|
693
961
|
*
|
|
694
962
|
* @param {string} jobId
|
|
@@ -0,0 +1,75 @@
|
|
|
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 { PaymentLinkCheckoutRequest } from '../models';
|
|
16
|
+
import type { PaymentLinkCheckoutResponse } from '../models';
|
|
17
|
+
/**
|
|
18
|
+
* PaymentLinkCheckoutApi - axios parameter creator
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export declare const PaymentLinkCheckoutApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @param {string} token
|
|
25
|
+
* @param {PaymentLinkCheckoutRequest} [paymentLinkCheckoutRequest]
|
|
26
|
+
* @param {*} [options] Override http request option.
|
|
27
|
+
* @throws {RequiredError}
|
|
28
|
+
*/
|
|
29
|
+
apiBillingPaymentLinksTokenCheckoutSessionPost: (token: string, paymentLinkCheckoutRequest?: PaymentLinkCheckoutRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* PaymentLinkCheckoutApi - functional programming interface
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const PaymentLinkCheckoutApiFp: (configuration?: Configuration) => {
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @param {string} token
|
|
39
|
+
* @param {PaymentLinkCheckoutRequest} [paymentLinkCheckoutRequest]
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
apiBillingPaymentLinksTokenCheckoutSessionPost(token: string, paymentLinkCheckoutRequest?: PaymentLinkCheckoutRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentLinkCheckoutResponse>>;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* PaymentLinkCheckoutApi - factory interface
|
|
47
|
+
* @export
|
|
48
|
+
*/
|
|
49
|
+
export declare const PaymentLinkCheckoutApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @param {string} token
|
|
53
|
+
* @param {PaymentLinkCheckoutRequest} [paymentLinkCheckoutRequest]
|
|
54
|
+
* @param {*} [options] Override http request option.
|
|
55
|
+
* @throws {RequiredError}
|
|
56
|
+
*/
|
|
57
|
+
apiBillingPaymentLinksTokenCheckoutSessionPost(token: string, paymentLinkCheckoutRequest?: PaymentLinkCheckoutRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentLinkCheckoutResponse>;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* PaymentLinkCheckoutApi - object-oriented interface
|
|
61
|
+
* @export
|
|
62
|
+
* @class PaymentLinkCheckoutApi
|
|
63
|
+
* @extends {BaseAPI}
|
|
64
|
+
*/
|
|
65
|
+
export declare class PaymentLinkCheckoutApi extends BaseAPI {
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @param {string} token
|
|
69
|
+
* @param {PaymentLinkCheckoutRequest} [paymentLinkCheckoutRequest]
|
|
70
|
+
* @param {*} [options] Override http request option.
|
|
71
|
+
* @throws {RequiredError}
|
|
72
|
+
* @memberof PaymentLinkCheckoutApi
|
|
73
|
+
*/
|
|
74
|
+
apiBillingPaymentLinksTokenCheckoutSessionPost(token: string, paymentLinkCheckoutRequest?: PaymentLinkCheckoutRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentLinkCheckoutResponse, any, {}>>;
|
|
75
|
+
}
|
|
@@ -0,0 +1,218 @@
|
|
|
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.PaymentLinkCheckoutApi = exports.PaymentLinkCheckoutApiFactory = exports.PaymentLinkCheckoutApiFp = exports.PaymentLinkCheckoutApiAxiosParamCreator = 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
|
+
* PaymentLinkCheckoutApi - axios parameter creator
|
|
87
|
+
* @export
|
|
88
|
+
*/
|
|
89
|
+
var PaymentLinkCheckoutApiAxiosParamCreator = function (configuration) {
|
|
90
|
+
var _this = this;
|
|
91
|
+
return {
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @param {string} token
|
|
95
|
+
* @param {PaymentLinkCheckoutRequest} [paymentLinkCheckoutRequest]
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
apiBillingPaymentLinksTokenCheckoutSessionPost: function (token, paymentLinkCheckoutRequest, options) {
|
|
100
|
+
if (options === void 0) { options = {}; }
|
|
101
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
102
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
103
|
+
return __generator(this, function (_a) {
|
|
104
|
+
switch (_a.label) {
|
|
105
|
+
case 0:
|
|
106
|
+
// verify required parameter 'token' is not null or undefined
|
|
107
|
+
(0, common_1.assertParamExists)('apiBillingPaymentLinksTokenCheckoutSessionPost', 'token', token);
|
|
108
|
+
localVarPath = "/api/billing/payment-links/{token}/checkout-session"
|
|
109
|
+
.replace("{".concat("token", "}"), encodeURIComponent(String(token)));
|
|
110
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
111
|
+
if (configuration) {
|
|
112
|
+
baseOptions = configuration.baseOptions;
|
|
113
|
+
}
|
|
114
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
115
|
+
localVarHeaderParameter = {};
|
|
116
|
+
localVarQueryParameter = {};
|
|
117
|
+
// authentication Bearer required
|
|
118
|
+
// http bearer authentication required
|
|
119
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
120
|
+
case 1:
|
|
121
|
+
// authentication Bearer required
|
|
122
|
+
// http bearer authentication required
|
|
123
|
+
_a.sent();
|
|
124
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
125
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
126
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
127
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
128
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(paymentLinkCheckoutRequest, localVarRequestOptions, configuration);
|
|
129
|
+
return [2 /*return*/, {
|
|
130
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
131
|
+
options: localVarRequestOptions,
|
|
132
|
+
}];
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
});
|
|
136
|
+
},
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
exports.PaymentLinkCheckoutApiAxiosParamCreator = PaymentLinkCheckoutApiAxiosParamCreator;
|
|
140
|
+
/**
|
|
141
|
+
* PaymentLinkCheckoutApi - functional programming interface
|
|
142
|
+
* @export
|
|
143
|
+
*/
|
|
144
|
+
var PaymentLinkCheckoutApiFp = function (configuration) {
|
|
145
|
+
var localVarAxiosParamCreator = (0, exports.PaymentLinkCheckoutApiAxiosParamCreator)(configuration);
|
|
146
|
+
return {
|
|
147
|
+
/**
|
|
148
|
+
*
|
|
149
|
+
* @param {string} token
|
|
150
|
+
* @param {PaymentLinkCheckoutRequest} [paymentLinkCheckoutRequest]
|
|
151
|
+
* @param {*} [options] Override http request option.
|
|
152
|
+
* @throws {RequiredError}
|
|
153
|
+
*/
|
|
154
|
+
apiBillingPaymentLinksTokenCheckoutSessionPost: function (token, paymentLinkCheckoutRequest, options) {
|
|
155
|
+
var _a, _b, _c;
|
|
156
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
157
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
158
|
+
return __generator(this, function (_d) {
|
|
159
|
+
switch (_d.label) {
|
|
160
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiBillingPaymentLinksTokenCheckoutSessionPost(token, paymentLinkCheckoutRequest, options)];
|
|
161
|
+
case 1:
|
|
162
|
+
localVarAxiosArgs = _d.sent();
|
|
163
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
164
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentLinkCheckoutApi.apiBillingPaymentLinksTokenCheckoutSessionPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
165
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
});
|
|
169
|
+
},
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
exports.PaymentLinkCheckoutApiFp = PaymentLinkCheckoutApiFp;
|
|
173
|
+
/**
|
|
174
|
+
* PaymentLinkCheckoutApi - factory interface
|
|
175
|
+
* @export
|
|
176
|
+
*/
|
|
177
|
+
var PaymentLinkCheckoutApiFactory = function (configuration, basePath, axios) {
|
|
178
|
+
var localVarFp = (0, exports.PaymentLinkCheckoutApiFp)(configuration);
|
|
179
|
+
return {
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @param {string} token
|
|
183
|
+
* @param {PaymentLinkCheckoutRequest} [paymentLinkCheckoutRequest]
|
|
184
|
+
* @param {*} [options] Override http request option.
|
|
185
|
+
* @throws {RequiredError}
|
|
186
|
+
*/
|
|
187
|
+
apiBillingPaymentLinksTokenCheckoutSessionPost: function (token, paymentLinkCheckoutRequest, options) {
|
|
188
|
+
return localVarFp.apiBillingPaymentLinksTokenCheckoutSessionPost(token, paymentLinkCheckoutRequest, options).then(function (request) { return request(axios, basePath); });
|
|
189
|
+
},
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
exports.PaymentLinkCheckoutApiFactory = PaymentLinkCheckoutApiFactory;
|
|
193
|
+
/**
|
|
194
|
+
* PaymentLinkCheckoutApi - object-oriented interface
|
|
195
|
+
* @export
|
|
196
|
+
* @class PaymentLinkCheckoutApi
|
|
197
|
+
* @extends {BaseAPI}
|
|
198
|
+
*/
|
|
199
|
+
var PaymentLinkCheckoutApi = /** @class */ (function (_super) {
|
|
200
|
+
__extends(PaymentLinkCheckoutApi, _super);
|
|
201
|
+
function PaymentLinkCheckoutApi() {
|
|
202
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
*
|
|
206
|
+
* @param {string} token
|
|
207
|
+
* @param {PaymentLinkCheckoutRequest} [paymentLinkCheckoutRequest]
|
|
208
|
+
* @param {*} [options] Override http request option.
|
|
209
|
+
* @throws {RequiredError}
|
|
210
|
+
* @memberof PaymentLinkCheckoutApi
|
|
211
|
+
*/
|
|
212
|
+
PaymentLinkCheckoutApi.prototype.apiBillingPaymentLinksTokenCheckoutSessionPost = function (token, paymentLinkCheckoutRequest, options) {
|
|
213
|
+
var _this = this;
|
|
214
|
+
return (0, exports.PaymentLinkCheckoutApiFp)(this.configuration).apiBillingPaymentLinksTokenCheckoutSessionPost(token, paymentLinkCheckoutRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
215
|
+
};
|
|
216
|
+
return PaymentLinkCheckoutApi;
|
|
217
|
+
}(base_1.BaseAPI));
|
|
218
|
+
exports.PaymentLinkCheckoutApi = PaymentLinkCheckoutApi;
|
package/lib/api.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ export * from './api/hubspot-api';
|
|
|
33
33
|
export * from './api/my-onboarding-setup-api';
|
|
34
34
|
export * from './api/onboarding-api';
|
|
35
35
|
export * from './api/onboarding-tracker-api';
|
|
36
|
+
export * from './api/payment-link-checkout-api';
|
|
36
37
|
export * from './api/payment-links-public-api';
|
|
37
38
|
export * from './api/people-api';
|
|
38
39
|
export * from './api/personal-tax-report-api';
|
package/lib/api.js
CHANGED
|
@@ -51,6 +51,7 @@ __exportStar(require("./api/hubspot-api"), exports);
|
|
|
51
51
|
__exportStar(require("./api/my-onboarding-setup-api"), exports);
|
|
52
52
|
__exportStar(require("./api/onboarding-api"), exports);
|
|
53
53
|
__exportStar(require("./api/onboarding-tracker-api"), exports);
|
|
54
|
+
__exportStar(require("./api/payment-link-checkout-api"), exports);
|
|
54
55
|
__exportStar(require("./api/payment-links-public-api"), exports);
|
|
55
56
|
__exportStar(require("./api/people-api"), exports);
|
|
56
57
|
__exportStar(require("./api/personal-tax-report-api"), exports);
|
|
@@ -37,6 +37,12 @@ export interface DocumentDto {
|
|
|
37
37
|
* @memberof DocumentDto
|
|
38
38
|
*/
|
|
39
39
|
'type'?: DocumentType;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof DocumentDto
|
|
44
|
+
*/
|
|
45
|
+
'category'?: string | null;
|
|
40
46
|
/**
|
|
41
47
|
*
|
|
42
48
|
* @type {number}
|
|
@@ -79,6 +85,18 @@ export interface DocumentDto {
|
|
|
79
85
|
* @memberof DocumentDto
|
|
80
86
|
*/
|
|
81
87
|
'driveFileId'?: string | null;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {boolean}
|
|
91
|
+
* @memberof DocumentDto
|
|
92
|
+
*/
|
|
93
|
+
'isLastYearFiled'?: boolean | null;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {Array<number>}
|
|
97
|
+
* @memberof DocumentDto
|
|
98
|
+
*/
|
|
99
|
+
'laterFiledYears'?: Array<number> | null;
|
|
82
100
|
/**
|
|
83
101
|
*
|
|
84
102
|
* @type {string}
|
|
@@ -17,5 +17,7 @@
|
|
|
17
17
|
export declare const DocumentType: {
|
|
18
18
|
readonly BusinessReturn: "businessReturn";
|
|
19
19
|
readonly PersonalReturn1040: "personalReturn1040";
|
|
20
|
+
readonly BankStatement: "bankStatement";
|
|
21
|
+
readonly OtherDocument: "otherDocument";
|
|
20
22
|
};
|
|
21
23
|
export type DocumentType = typeof DocumentType[keyof typeof DocumentType];
|
|
@@ -21,5 +21,7 @@ exports.DocumentType = void 0;
|
|
|
21
21
|
*/
|
|
22
22
|
exports.DocumentType = {
|
|
23
23
|
BusinessReturn: 'businessReturn',
|
|
24
|
-
PersonalReturn1040: 'personalReturn1040'
|
|
24
|
+
PersonalReturn1040: 'personalReturn1040',
|
|
25
|
+
BankStatement: 'bankStatement',
|
|
26
|
+
OtherDocument: 'otherDocument'
|
|
25
27
|
};
|
package/lib/models/index.d.ts
CHANGED
|
@@ -125,6 +125,7 @@ export * from './invite-by-email-response';
|
|
|
125
125
|
export * from './join-family-by-company-request';
|
|
126
126
|
export * from './json-element';
|
|
127
127
|
export * from './json-value-kind';
|
|
128
|
+
export * from './last-filed-request';
|
|
128
129
|
export * from './link-billing-request';
|
|
129
130
|
export * from './login-request';
|
|
130
131
|
export * from './long-term-capital-gain-band-response';
|
|
@@ -144,6 +145,8 @@ export * from './onboarding-status';
|
|
|
144
145
|
export * from './open-id-claim-response';
|
|
145
146
|
export * from './open-id-options-result';
|
|
146
147
|
export * from './payment-link-addon-request';
|
|
148
|
+
export * from './payment-link-checkout-request';
|
|
149
|
+
export * from './payment-link-checkout-response';
|
|
147
150
|
export * from './payment-link-public-response';
|
|
148
151
|
export * from './payment-link-response';
|
|
149
152
|
export * from './payment-link-status';
|
package/lib/models/index.js
CHANGED
|
@@ -141,6 +141,7 @@ __exportStar(require("./invite-by-email-response"), exports);
|
|
|
141
141
|
__exportStar(require("./join-family-by-company-request"), exports);
|
|
142
142
|
__exportStar(require("./json-element"), exports);
|
|
143
143
|
__exportStar(require("./json-value-kind"), exports);
|
|
144
|
+
__exportStar(require("./last-filed-request"), exports);
|
|
144
145
|
__exportStar(require("./link-billing-request"), exports);
|
|
145
146
|
__exportStar(require("./login-request"), exports);
|
|
146
147
|
__exportStar(require("./long-term-capital-gain-band-response"), exports);
|
|
@@ -160,6 +161,8 @@ __exportStar(require("./onboarding-status"), exports);
|
|
|
160
161
|
__exportStar(require("./open-id-claim-response"), exports);
|
|
161
162
|
__exportStar(require("./open-id-options-result"), exports);
|
|
162
163
|
__exportStar(require("./payment-link-addon-request"), exports);
|
|
164
|
+
__exportStar(require("./payment-link-checkout-request"), exports);
|
|
165
|
+
__exportStar(require("./payment-link-checkout-response"), exports);
|
|
163
166
|
__exportStar(require("./payment-link-public-response"), exports);
|
|
164
167
|
__exportStar(require("./payment-link-response"), exports);
|
|
165
168
|
__exportStar(require("./payment-link-status"), exports);
|
|
@@ -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 LastFiledRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface LastFiledRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof LastFiledRequest
|
|
22
|
+
*/
|
|
23
|
+
'isLastYearFiled': boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<number>}
|
|
27
|
+
* @memberof LastFiledRequest
|
|
28
|
+
*/
|
|
29
|
+
'laterFiledYears'?: Array<number> | null;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* biz-entity-api
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,24 @@
|
|
|
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 PaymentLinkCheckoutRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PaymentLinkCheckoutRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PaymentLinkCheckoutRequest
|
|
22
|
+
*/
|
|
23
|
+
'companyId'?: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* biz-entity-api
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v2
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,24 @@
|
|
|
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 PaymentLinkCheckoutResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface PaymentLinkCheckoutResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PaymentLinkCheckoutResponse
|
|
22
|
+
*/
|
|
23
|
+
'url'?: string | null;
|
|
24
|
+
}
|
|
@@ -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 });
|