@s-corp-biz/biz-entity-api 1.26.0 → 1.27.0-staging.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.
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { AdvisorTaskGroupDto } from '../models';
16
+ import type { BusinessReturnExceptionRequest } from '../models';
16
17
  import type { DocumentDto } from '../models';
17
18
  import type { OnboardingDto } from '../models';
18
19
  import type { StepDto } from '../models';
@@ -28,6 +29,13 @@ export declare const OnboardingTrackerApiAxiosParamCreator: (configuration?: Con
28
29
  * @throws {RequiredError}
29
30
  */
30
31
  apiOnboardingAdvisorTasksGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32
+ /**
33
+ *
34
+ * @param {BusinessReturnExceptionRequest} [businessReturnExceptionRequest]
35
+ * @param {*} [options] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ apiOnboardingBusinessReturnExceptionPost: (businessReturnExceptionRequest?: BusinessReturnExceptionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
39
  /**
32
40
  *
33
41
  * @param {string} documentId
@@ -61,6 +69,13 @@ export declare const OnboardingTrackerApiFp: (configuration?: Configuration) =>
61
69
  * @throws {RequiredError}
62
70
  */
63
71
  apiOnboardingAdvisorTasksGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AdvisorTaskGroupDto>>>;
72
+ /**
73
+ *
74
+ * @param {BusinessReturnExceptionRequest} [businessReturnExceptionRequest]
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ apiOnboardingBusinessReturnExceptionPost(businessReturnExceptionRequest?: BusinessReturnExceptionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentDto>>;
64
79
  /**
65
80
  *
66
81
  * @param {string} documentId
@@ -94,6 +109,13 @@ export declare const OnboardingTrackerApiFactory: (configuration?: Configuration
94
109
  * @throws {RequiredError}
95
110
  */
96
111
  apiOnboardingAdvisorTasksGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<AdvisorTaskGroupDto>>;
112
+ /**
113
+ *
114
+ * @param {BusinessReturnExceptionRequest} [businessReturnExceptionRequest]
115
+ * @param {*} [options] Override http request option.
116
+ * @throws {RequiredError}
117
+ */
118
+ apiOnboardingBusinessReturnExceptionPost(businessReturnExceptionRequest?: BusinessReturnExceptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<DocumentDto>;
97
119
  /**
98
120
  *
99
121
  * @param {string} documentId
@@ -130,6 +152,14 @@ export declare class OnboardingTrackerApi extends BaseAPI {
130
152
  * @memberof OnboardingTrackerApi
131
153
  */
132
154
  apiOnboardingAdvisorTasksGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdvisorTaskGroupDto[], any, {}>>;
155
+ /**
156
+ *
157
+ * @param {BusinessReturnExceptionRequest} [businessReturnExceptionRequest]
158
+ * @param {*} [options] Override http request option.
159
+ * @throws {RequiredError}
160
+ * @memberof OnboardingTrackerApi
161
+ */
162
+ apiOnboardingBusinessReturnExceptionPost(businessReturnExceptionRequest?: BusinessReturnExceptionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DocumentDto, any, {}>>;
133
163
  /**
134
164
  *
135
165
  * @param {string} documentId
@@ -127,6 +127,47 @@ var OnboardingTrackerApiAxiosParamCreator = function (configuration) {
127
127
  });
128
128
  });
129
129
  },
130
+ /**
131
+ *
132
+ * @param {BusinessReturnExceptionRequest} [businessReturnExceptionRequest]
133
+ * @param {*} [options] Override http request option.
134
+ * @throws {RequiredError}
135
+ */
136
+ apiOnboardingBusinessReturnExceptionPost: function (businessReturnExceptionRequest, options) {
137
+ if (options === void 0) { options = {}; }
138
+ return __awaiter(_this, void 0, void 0, function () {
139
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
140
+ return __generator(this, function (_a) {
141
+ switch (_a.label) {
142
+ case 0:
143
+ localVarPath = "/api/onboarding/business-return-exception";
144
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
145
+ if (configuration) {
146
+ baseOptions = configuration.baseOptions;
147
+ }
148
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
149
+ localVarHeaderParameter = {};
150
+ localVarQueryParameter = {};
151
+ // authentication Bearer required
152
+ // http bearer authentication required
153
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
154
+ case 1:
155
+ // authentication Bearer required
156
+ // http bearer authentication required
157
+ _a.sent();
158
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
159
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
160
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
161
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
162
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(businessReturnExceptionRequest, localVarRequestOptions, configuration);
163
+ return [2 /*return*/, {
164
+ url: (0, common_1.toPathString)(localVarUrlObj),
165
+ options: localVarRequestOptions,
166
+ }];
167
+ }
168
+ });
169
+ });
170
+ },
130
171
  /**
131
172
  *
132
173
  * @param {string} documentId
@@ -283,6 +324,28 @@ var OnboardingTrackerApiFp = function (configuration) {
283
324
  });
284
325
  });
285
326
  },
327
+ /**
328
+ *
329
+ * @param {BusinessReturnExceptionRequest} [businessReturnExceptionRequest]
330
+ * @param {*} [options] Override http request option.
331
+ * @throws {RequiredError}
332
+ */
333
+ apiOnboardingBusinessReturnExceptionPost: function (businessReturnExceptionRequest, options) {
334
+ var _a, _b, _c;
335
+ return __awaiter(this, void 0, void 0, function () {
336
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
337
+ return __generator(this, function (_d) {
338
+ switch (_d.label) {
339
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiOnboardingBusinessReturnExceptionPost(businessReturnExceptionRequest, options)];
340
+ case 1:
341
+ localVarAxiosArgs = _d.sent();
342
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
343
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OnboardingTrackerApi.apiOnboardingBusinessReturnExceptionPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
344
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
345
+ }
346
+ });
347
+ });
348
+ },
286
349
  /**
287
350
  *
288
351
  * @param {string} documentId
@@ -367,6 +430,15 @@ var OnboardingTrackerApiFactory = function (configuration, basePath, axios) {
367
430
  apiOnboardingAdvisorTasksGet: function (options) {
368
431
  return localVarFp.apiOnboardingAdvisorTasksGet(options).then(function (request) { return request(axios, basePath); });
369
432
  },
433
+ /**
434
+ *
435
+ * @param {BusinessReturnExceptionRequest} [businessReturnExceptionRequest]
436
+ * @param {*} [options] Override http request option.
437
+ * @throws {RequiredError}
438
+ */
439
+ apiOnboardingBusinessReturnExceptionPost: function (businessReturnExceptionRequest, options) {
440
+ return localVarFp.apiOnboardingBusinessReturnExceptionPost(businessReturnExceptionRequest, options).then(function (request) { return request(axios, basePath); });
441
+ },
370
442
  /**
371
443
  *
372
444
  * @param {string} documentId
@@ -418,6 +490,17 @@ var OnboardingTrackerApi = /** @class */ (function (_super) {
418
490
  var _this = this;
419
491
  return (0, exports.OnboardingTrackerApiFp)(this.configuration).apiOnboardingAdvisorTasksGet(options).then(function (request) { return request(_this.axios, _this.basePath); });
420
492
  };
493
+ /**
494
+ *
495
+ * @param {BusinessReturnExceptionRequest} [businessReturnExceptionRequest]
496
+ * @param {*} [options] Override http request option.
497
+ * @throws {RequiredError}
498
+ * @memberof OnboardingTrackerApi
499
+ */
500
+ OnboardingTrackerApi.prototype.apiOnboardingBusinessReturnExceptionPost = function (businessReturnExceptionRequest, options) {
501
+ var _this = this;
502
+ return (0, exports.OnboardingTrackerApiFp)(this.configuration).apiOnboardingBusinessReturnExceptionPost(businessReturnExceptionRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
503
+ };
421
504
  /**
422
505
  *
423
506
  * @param {string} documentId
@@ -0,0 +1,188 @@
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 { AdvisorUserDependentDto } from '../models';
16
+ import type { SaveUserDependentRequest } from '../models';
17
+ import type { UserDependentDto } from '../models';
18
+ /**
19
+ * UserDependentsApi - axios parameter creator
20
+ * @export
21
+ */
22
+ export declare const UserDependentsApiAxiosParamCreator: (configuration?: Configuration) => {
23
+ /**
24
+ *
25
+ * @param {string} userId
26
+ * @param {*} [options] Override http request option.
27
+ * @throws {RequiredError}
28
+ */
29
+ apiOnboardingAdvisorClientsUserIdDependentsGet: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
+ /**
31
+ *
32
+ * @param {string} dependentId
33
+ * @param {*} [options] Override http request option.
34
+ * @throws {RequiredError}
35
+ */
36
+ apiOnboardingDependentsDependentIdDelete: (dependentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
37
+ /**
38
+ *
39
+ * @param {string} dependentId
40
+ * @param {SaveUserDependentRequest} [saveUserDependentRequest]
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ apiOnboardingDependentsDependentIdPut: (dependentId: string, saveUserDependentRequest?: SaveUserDependentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
45
+ /**
46
+ *
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ apiOnboardingDependentsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
51
+ /**
52
+ *
53
+ * @param {SaveUserDependentRequest} [saveUserDependentRequest]
54
+ * @param {*} [options] Override http request option.
55
+ * @throws {RequiredError}
56
+ */
57
+ apiOnboardingDependentsPost: (saveUserDependentRequest?: SaveUserDependentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
58
+ };
59
+ /**
60
+ * UserDependentsApi - functional programming interface
61
+ * @export
62
+ */
63
+ export declare const UserDependentsApiFp: (configuration?: Configuration) => {
64
+ /**
65
+ *
66
+ * @param {string} userId
67
+ * @param {*} [options] Override http request option.
68
+ * @throws {RequiredError}
69
+ */
70
+ apiOnboardingAdvisorClientsUserIdDependentsGet(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AdvisorUserDependentDto>>>;
71
+ /**
72
+ *
73
+ * @param {string} dependentId
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ apiOnboardingDependentsDependentIdDelete(dependentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
78
+ /**
79
+ *
80
+ * @param {string} dependentId
81
+ * @param {SaveUserDependentRequest} [saveUserDependentRequest]
82
+ * @param {*} [options] Override http request option.
83
+ * @throws {RequiredError}
84
+ */
85
+ apiOnboardingDependentsDependentIdPut(dependentId: string, saveUserDependentRequest?: SaveUserDependentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDependentDto>>;
86
+ /**
87
+ *
88
+ * @param {*} [options] Override http request option.
89
+ * @throws {RequiredError}
90
+ */
91
+ apiOnboardingDependentsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserDependentDto>>>;
92
+ /**
93
+ *
94
+ * @param {SaveUserDependentRequest} [saveUserDependentRequest]
95
+ * @param {*} [options] Override http request option.
96
+ * @throws {RequiredError}
97
+ */
98
+ apiOnboardingDependentsPost(saveUserDependentRequest?: SaveUserDependentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDependentDto>>;
99
+ };
100
+ /**
101
+ * UserDependentsApi - factory interface
102
+ * @export
103
+ */
104
+ export declare const UserDependentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
105
+ /**
106
+ *
107
+ * @param {string} userId
108
+ * @param {*} [options] Override http request option.
109
+ * @throws {RequiredError}
110
+ */
111
+ apiOnboardingAdvisorClientsUserIdDependentsGet(userId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AdvisorUserDependentDto>>;
112
+ /**
113
+ *
114
+ * @param {string} dependentId
115
+ * @param {*} [options] Override http request option.
116
+ * @throws {RequiredError}
117
+ */
118
+ apiOnboardingDependentsDependentIdDelete(dependentId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
119
+ /**
120
+ *
121
+ * @param {string} dependentId
122
+ * @param {SaveUserDependentRequest} [saveUserDependentRequest]
123
+ * @param {*} [options] Override http request option.
124
+ * @throws {RequiredError}
125
+ */
126
+ apiOnboardingDependentsDependentIdPut(dependentId: string, saveUserDependentRequest?: SaveUserDependentRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserDependentDto>;
127
+ /**
128
+ *
129
+ * @param {*} [options] Override http request option.
130
+ * @throws {RequiredError}
131
+ */
132
+ apiOnboardingDependentsGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<UserDependentDto>>;
133
+ /**
134
+ *
135
+ * @param {SaveUserDependentRequest} [saveUserDependentRequest]
136
+ * @param {*} [options] Override http request option.
137
+ * @throws {RequiredError}
138
+ */
139
+ apiOnboardingDependentsPost(saveUserDependentRequest?: SaveUserDependentRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserDependentDto>;
140
+ };
141
+ /**
142
+ * UserDependentsApi - object-oriented interface
143
+ * @export
144
+ * @class UserDependentsApi
145
+ * @extends {BaseAPI}
146
+ */
147
+ export declare class UserDependentsApi extends BaseAPI {
148
+ /**
149
+ *
150
+ * @param {string} userId
151
+ * @param {*} [options] Override http request option.
152
+ * @throws {RequiredError}
153
+ * @memberof UserDependentsApi
154
+ */
155
+ apiOnboardingAdvisorClientsUserIdDependentsGet(userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdvisorUserDependentDto[], any, {}>>;
156
+ /**
157
+ *
158
+ * @param {string} dependentId
159
+ * @param {*} [options] Override http request option.
160
+ * @throws {RequiredError}
161
+ * @memberof UserDependentsApi
162
+ */
163
+ apiOnboardingDependentsDependentIdDelete(dependentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
164
+ /**
165
+ *
166
+ * @param {string} dependentId
167
+ * @param {SaveUserDependentRequest} [saveUserDependentRequest]
168
+ * @param {*} [options] Override http request option.
169
+ * @throws {RequiredError}
170
+ * @memberof UserDependentsApi
171
+ */
172
+ apiOnboardingDependentsDependentIdPut(dependentId: string, saveUserDependentRequest?: SaveUserDependentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserDependentDto, any, {}>>;
173
+ /**
174
+ *
175
+ * @param {*} [options] Override http request option.
176
+ * @throws {RequiredError}
177
+ * @memberof UserDependentsApi
178
+ */
179
+ apiOnboardingDependentsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserDependentDto[], any, {}>>;
180
+ /**
181
+ *
182
+ * @param {SaveUserDependentRequest} [saveUserDependentRequest]
183
+ * @param {*} [options] Override http request option.
184
+ * @throws {RequiredError}
185
+ * @memberof UserDependentsApi
186
+ */
187
+ apiOnboardingDependentsPost(saveUserDependentRequest?: SaveUserDependentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserDependentDto, any, {}>>;
188
+ }