@s-corp-biz/biz-entity-api 1.28.0-staging.21 → 1.28.0-staging.22

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.
@@ -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';
@@ -53,6 +54,14 @@ export declare const OnboardingTrackerApiAxiosParamCreator: (configuration?: Con
53
54
  * @throws {RequiredError}
54
55
  */
55
56
  apiOnboardingDocumentsDocumentIdExtractionJobsPost: (documentId: string, file?: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
57
+ /**
58
+ *
59
+ * @param {string} documentId
60
+ * @param {LastFiledRequest} [lastFiledRequest]
61
+ * @param {*} [options] Override http request option.
62
+ * @throws {RequiredError}
63
+ */
64
+ apiOnboardingDocumentsDocumentIdLastFiledPut: (documentId: string, lastFiledRequest?: LastFiledRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
56
65
  /**
57
66
  *
58
67
  * @param {string} jobId
@@ -109,6 +118,14 @@ export declare const OnboardingTrackerApiFp: (configuration?: Configuration) =>
109
118
  * @throws {RequiredError}
110
119
  */
111
120
  apiOnboardingDocumentsDocumentIdExtractionJobsPost(documentId: string, file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExtractionJobDto>>;
121
+ /**
122
+ *
123
+ * @param {string} documentId
124
+ * @param {LastFiledRequest} [lastFiledRequest]
125
+ * @param {*} [options] Override http request option.
126
+ * @throws {RequiredError}
127
+ */
128
+ apiOnboardingDocumentsDocumentIdLastFiledPut(documentId: string, lastFiledRequest?: LastFiledRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DocumentDto>>;
112
129
  /**
113
130
  *
114
131
  * @param {string} jobId
@@ -165,6 +182,14 @@ export declare const OnboardingTrackerApiFactory: (configuration?: Configuration
165
182
  * @throws {RequiredError}
166
183
  */
167
184
  apiOnboardingDocumentsDocumentIdExtractionJobsPost(documentId: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<ExtractionJobDto>;
185
+ /**
186
+ *
187
+ * @param {string} documentId
188
+ * @param {LastFiledRequest} [lastFiledRequest]
189
+ * @param {*} [options] Override http request option.
190
+ * @throws {RequiredError}
191
+ */
192
+ apiOnboardingDocumentsDocumentIdLastFiledPut(documentId: string, lastFiledRequest?: LastFiledRequest, options?: RawAxiosRequestConfig): AxiosPromise<DocumentDto>;
168
193
  /**
169
194
  *
170
195
  * @param {string} jobId
@@ -227,6 +252,15 @@ export declare class OnboardingTrackerApi extends BaseAPI {
227
252
  * @memberof OnboardingTrackerApi
228
253
  */
229
254
  apiOnboardingDocumentsDocumentIdExtractionJobsPost(documentId: string, file?: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExtractionJobDto, any, {}>>;
255
+ /**
256
+ *
257
+ * @param {string} documentId
258
+ * @param {LastFiledRequest} [lastFiledRequest]
259
+ * @param {*} [options] Override http request option.
260
+ * @throws {RequiredError}
261
+ * @memberof OnboardingTrackerApi
262
+ */
263
+ apiOnboardingDocumentsDocumentIdLastFiledPut(documentId: string, lastFiledRequest?: LastFiledRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DocumentDto, any, {}>>;
230
264
  /**
231
265
  *
232
266
  * @param {string} jobId
@@ -266,6 +266,51 @@ var OnboardingTrackerApiAxiosParamCreator = function (configuration) {
266
266
  });
267
267
  });
268
268
  },
269
+ /**
270
+ *
271
+ * @param {string} documentId
272
+ * @param {LastFiledRequest} [lastFiledRequest]
273
+ * @param {*} [options] Override http request option.
274
+ * @throws {RequiredError}
275
+ */
276
+ apiOnboardingDocumentsDocumentIdLastFiledPut: function (documentId, lastFiledRequest, options) {
277
+ if (options === void 0) { options = {}; }
278
+ return __awaiter(_this, void 0, void 0, function () {
279
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
280
+ return __generator(this, function (_a) {
281
+ switch (_a.label) {
282
+ case 0:
283
+ // verify required parameter 'documentId' is not null or undefined
284
+ (0, common_1.assertParamExists)('apiOnboardingDocumentsDocumentIdLastFiledPut', 'documentId', documentId);
285
+ localVarPath = "/api/onboarding/documents/{documentId}/last-filed"
286
+ .replace("{".concat("documentId", "}"), encodeURIComponent(String(documentId)));
287
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
288
+ if (configuration) {
289
+ baseOptions = configuration.baseOptions;
290
+ }
291
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
292
+ localVarHeaderParameter = {};
293
+ localVarQueryParameter = {};
294
+ // authentication Bearer required
295
+ // http bearer authentication required
296
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
297
+ case 1:
298
+ // authentication Bearer required
299
+ // http bearer authentication required
300
+ _a.sent();
301
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
302
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
303
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
304
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
305
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(lastFiledRequest, localVarRequestOptions, configuration);
306
+ return [2 /*return*/, {
307
+ url: (0, common_1.toPathString)(localVarUrlObj),
308
+ options: localVarRequestOptions,
309
+ }];
310
+ }
311
+ });
312
+ });
313
+ },
269
314
  /**
270
315
  *
271
316
  * @param {string} jobId
@@ -490,6 +535,29 @@ var OnboardingTrackerApiFp = function (configuration) {
490
535
  });
491
536
  });
492
537
  },
538
+ /**
539
+ *
540
+ * @param {string} documentId
541
+ * @param {LastFiledRequest} [lastFiledRequest]
542
+ * @param {*} [options] Override http request option.
543
+ * @throws {RequiredError}
544
+ */
545
+ apiOnboardingDocumentsDocumentIdLastFiledPut: function (documentId, lastFiledRequest, options) {
546
+ var _a, _b, _c;
547
+ return __awaiter(this, void 0, void 0, function () {
548
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
549
+ return __generator(this, function (_d) {
550
+ switch (_d.label) {
551
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiOnboardingDocumentsDocumentIdLastFiledPut(documentId, lastFiledRequest, options)];
552
+ case 1:
553
+ localVarAxiosArgs = _d.sent();
554
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
555
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OnboardingTrackerApi.apiOnboardingDocumentsDocumentIdLastFiledPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
556
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
557
+ }
558
+ });
559
+ });
560
+ },
493
561
  /**
494
562
  *
495
563
  * @param {string} jobId
@@ -603,6 +671,16 @@ var OnboardingTrackerApiFactory = function (configuration, basePath, axios) {
603
671
  apiOnboardingDocumentsDocumentIdExtractionJobsPost: function (documentId, file, options) {
604
672
  return localVarFp.apiOnboardingDocumentsDocumentIdExtractionJobsPost(documentId, file, options).then(function (request) { return request(axios, basePath); });
605
673
  },
674
+ /**
675
+ *
676
+ * @param {string} documentId
677
+ * @param {LastFiledRequest} [lastFiledRequest]
678
+ * @param {*} [options] Override http request option.
679
+ * @throws {RequiredError}
680
+ */
681
+ apiOnboardingDocumentsDocumentIdLastFiledPut: function (documentId, lastFiledRequest, options) {
682
+ return localVarFp.apiOnboardingDocumentsDocumentIdLastFiledPut(documentId, lastFiledRequest, options).then(function (request) { return request(axios, basePath); });
683
+ },
606
684
  /**
607
685
  *
608
686
  * @param {string} jobId
@@ -689,6 +767,18 @@ var OnboardingTrackerApi = /** @class */ (function (_super) {
689
767
  var _this = this;
690
768
  return (0, exports.OnboardingTrackerApiFp)(this.configuration).apiOnboardingDocumentsDocumentIdExtractionJobsPost(documentId, file, options).then(function (request) { return request(_this.axios, _this.basePath); });
691
769
  };
770
+ /**
771
+ *
772
+ * @param {string} documentId
773
+ * @param {LastFiledRequest} [lastFiledRequest]
774
+ * @param {*} [options] Override http request option.
775
+ * @throws {RequiredError}
776
+ * @memberof OnboardingTrackerApi
777
+ */
778
+ OnboardingTrackerApi.prototype.apiOnboardingDocumentsDocumentIdLastFiledPut = function (documentId, lastFiledRequest, options) {
779
+ var _this = this;
780
+ return (0, exports.OnboardingTrackerApiFp)(this.configuration).apiOnboardingDocumentsDocumentIdLastFiledPut(documentId, lastFiledRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
781
+ };
692
782
  /**
693
783
  *
694
784
  * @param {string} jobId
@@ -142,4 +142,10 @@ export interface AdminOnboardingRowDto {
142
142
  * @memberof AdminOnboardingRowDto
143
143
  */
144
144
  'missingDocuments'?: number;
145
+ /**
146
+ *
147
+ * @type {number}
148
+ * @memberof AdminOnboardingRowDto
149
+ */
150
+ 'missingFilingCount'?: number;
145
151
  }
@@ -79,6 +79,18 @@ export interface DocumentDto {
79
79
  * @memberof DocumentDto
80
80
  */
81
81
  'driveFileId'?: string | null;
82
+ /**
83
+ *
84
+ * @type {boolean}
85
+ * @memberof DocumentDto
86
+ */
87
+ 'isLastYearFiled'?: boolean | null;
88
+ /**
89
+ *
90
+ * @type {Array<number>}
91
+ * @memberof DocumentDto
92
+ */
93
+ 'laterFiledYears'?: Array<number> | null;
82
94
  /**
83
95
  *
84
96
  * @type {string}
@@ -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';
@@ -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);
@@ -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 });
@@ -104,4 +104,10 @@ export interface OnboardingDto {
104
104
  * @memberof OnboardingDto
105
105
  */
106
106
  'stillNeeded'?: string | null;
107
+ /**
108
+ *
109
+ * @type {Array<number>}
110
+ * @memberof OnboardingDto
111
+ */
112
+ 'missingFilingYears'?: Array<number> | null;
107
113
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@s-corp-biz/biz-entity-api",
3
- "version": "1.28.0-staging.21",
3
+ "version": "1.28.0-staging.22",
4
4
  "description": "TypeScript API client for S-Corp Biz Entity API",
5
5
  "keywords": [
6
6
  "typescript",