@s-corp-biz/biz-entity-api 1.8.0-staging.4 → 1.8.0-staging.6
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/election-api.d.ts +280 -0
- package/lib/api/election-api.js +807 -0
- package/lib/api.d.ts +1 -1
- package/lib/api.js +1 -1
- package/lib/models/index.d.ts +4 -0
- package/lib/models/index.js +4 -0
- package/lib/models/people-response.d.ts +30 -0
- package/lib/models/scorp-election-create-request.d.ts +24 -0
- package/lib/models/scorp-election-create-request.js +15 -0
- package/lib/models/scorp-election-response.d.ts +61 -0
- package/lib/models/scorp-election-response.js +15 -0
- package/lib/models/scorp-election-update-request.d.ts +37 -0
- package/lib/models/scorp-election-update-request.js +15 -0
- package/lib/models/subscription-tier-enum.d.ts +21 -0
- package/lib/models/subscription-tier-enum.js +25 -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
|
@@ -0,0 +1,280 @@
|
|
|
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
|
+
import type { ScorpElectionCreateRequest } from '../models';
|
|
17
|
+
import type { ScorpElectionResponse } from '../models';
|
|
18
|
+
import type { ScorpElectionUpdateRequest } from '../models';
|
|
19
|
+
/**
|
|
20
|
+
* ElectionApi - axios parameter creator
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
export declare const ElectionApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param {string} companyId
|
|
27
|
+
* @param {*} [options] Override http request option.
|
|
28
|
+
* @throws {RequiredError}
|
|
29
|
+
*/
|
|
30
|
+
apiElectionByCompanyCompanyIdGet: (companyId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @param {Fill2553IrsFormRequest} [fill2553IrsFormRequest]
|
|
34
|
+
* @param {*} [options] Override http request option.
|
|
35
|
+
* @throws {RequiredError}
|
|
36
|
+
*/
|
|
37
|
+
apiElectionFillForm2553Post: (fill2553IrsFormRequest?: Fill2553IrsFormRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
apiElectionGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @param {string} id
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
*/
|
|
50
|
+
apiElectionIdDelete: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @param {string} id
|
|
54
|
+
* @param {*} [options] Override http request option.
|
|
55
|
+
* @throws {RequiredError}
|
|
56
|
+
*/
|
|
57
|
+
apiElectionIdGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @param {string} id
|
|
61
|
+
* @param {ScorpElectionUpdateRequest} [scorpElectionUpdateRequest]
|
|
62
|
+
* @param {*} [options] Override http request option.
|
|
63
|
+
* @throws {RequiredError}
|
|
64
|
+
*/
|
|
65
|
+
apiElectionIdPut: (id: string, scorpElectionUpdateRequest?: ScorpElectionUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @param {string} id
|
|
69
|
+
* @param {File} [file]
|
|
70
|
+
* @param {*} [options] Override http request option.
|
|
71
|
+
* @throws {RequiredError}
|
|
72
|
+
*/
|
|
73
|
+
apiElectionIdUploadSignedForm2553Post: (id: string, file?: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @param {ScorpElectionCreateRequest} [scorpElectionCreateRequest]
|
|
77
|
+
* @param {*} [options] Override http request option.
|
|
78
|
+
* @throws {RequiredError}
|
|
79
|
+
*/
|
|
80
|
+
apiElectionPost: (scorpElectionCreateRequest?: ScorpElectionCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* ElectionApi - functional programming interface
|
|
84
|
+
* @export
|
|
85
|
+
*/
|
|
86
|
+
export declare const ElectionApiFp: (configuration?: Configuration) => {
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @param {string} companyId
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
apiElectionByCompanyCompanyIdGet(companyId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScorpElectionResponse>>;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @param {Fill2553IrsFormRequest} [fill2553IrsFormRequest]
|
|
97
|
+
* @param {*} [options] Override http request option.
|
|
98
|
+
* @throws {RequiredError}
|
|
99
|
+
*/
|
|
100
|
+
apiElectionFillForm2553Post(fill2553IrsFormRequest?: Fill2553IrsFormRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @param {*} [options] Override http request option.
|
|
104
|
+
* @throws {RequiredError}
|
|
105
|
+
*/
|
|
106
|
+
apiElectionGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ScorpElectionResponse>>>;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @param {string} id
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
apiElectionIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @param {string} id
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
apiElectionIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScorpElectionResponse>>;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @param {string} id
|
|
124
|
+
* @param {ScorpElectionUpdateRequest} [scorpElectionUpdateRequest]
|
|
125
|
+
* @param {*} [options] Override http request option.
|
|
126
|
+
* @throws {RequiredError}
|
|
127
|
+
*/
|
|
128
|
+
apiElectionIdPut(id: string, scorpElectionUpdateRequest?: ScorpElectionUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScorpElectionResponse>>;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @param {string} id
|
|
132
|
+
* @param {File} [file]
|
|
133
|
+
* @param {*} [options] Override http request option.
|
|
134
|
+
* @throws {RequiredError}
|
|
135
|
+
*/
|
|
136
|
+
apiElectionIdUploadSignedForm2553Post(id: string, file?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @param {ScorpElectionCreateRequest} [scorpElectionCreateRequest]
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
*/
|
|
143
|
+
apiElectionPost(scorpElectionCreateRequest?: ScorpElectionCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScorpElectionResponse>>;
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* ElectionApi - factory interface
|
|
147
|
+
* @export
|
|
148
|
+
*/
|
|
149
|
+
export declare const ElectionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @param {string} companyId
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
apiElectionByCompanyCompanyIdGet(companyId: string, options?: RawAxiosRequestConfig): AxiosPromise<ScorpElectionResponse>;
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @param {Fill2553IrsFormRequest} [fill2553IrsFormRequest]
|
|
160
|
+
* @param {*} [options] Override http request option.
|
|
161
|
+
* @throws {RequiredError}
|
|
162
|
+
*/
|
|
163
|
+
apiElectionFillForm2553Post(fill2553IrsFormRequest?: Fill2553IrsFormRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @param {*} [options] Override http request option.
|
|
167
|
+
* @throws {RequiredError}
|
|
168
|
+
*/
|
|
169
|
+
apiElectionGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<ScorpElectionResponse>>;
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @param {string} id
|
|
173
|
+
* @param {*} [options] Override http request option.
|
|
174
|
+
* @throws {RequiredError}
|
|
175
|
+
*/
|
|
176
|
+
apiElectionIdDelete(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @param {string} id
|
|
180
|
+
* @param {*} [options] Override http request option.
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
*/
|
|
183
|
+
apiElectionIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ScorpElectionResponse>;
|
|
184
|
+
/**
|
|
185
|
+
*
|
|
186
|
+
* @param {string} id
|
|
187
|
+
* @param {ScorpElectionUpdateRequest} [scorpElectionUpdateRequest]
|
|
188
|
+
* @param {*} [options] Override http request option.
|
|
189
|
+
* @throws {RequiredError}
|
|
190
|
+
*/
|
|
191
|
+
apiElectionIdPut(id: string, scorpElectionUpdateRequest?: ScorpElectionUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScorpElectionResponse>;
|
|
192
|
+
/**
|
|
193
|
+
*
|
|
194
|
+
* @param {string} id
|
|
195
|
+
* @param {File} [file]
|
|
196
|
+
* @param {*} [options] Override http request option.
|
|
197
|
+
* @throws {RequiredError}
|
|
198
|
+
*/
|
|
199
|
+
apiElectionIdUploadSignedForm2553Post(id: string, file?: File, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
200
|
+
/**
|
|
201
|
+
*
|
|
202
|
+
* @param {ScorpElectionCreateRequest} [scorpElectionCreateRequest]
|
|
203
|
+
* @param {*} [options] Override http request option.
|
|
204
|
+
* @throws {RequiredError}
|
|
205
|
+
*/
|
|
206
|
+
apiElectionPost(scorpElectionCreateRequest?: ScorpElectionCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScorpElectionResponse>;
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* ElectionApi - object-oriented interface
|
|
210
|
+
* @export
|
|
211
|
+
* @class ElectionApi
|
|
212
|
+
* @extends {BaseAPI}
|
|
213
|
+
*/
|
|
214
|
+
export declare class ElectionApi extends BaseAPI {
|
|
215
|
+
/**
|
|
216
|
+
*
|
|
217
|
+
* @param {string} companyId
|
|
218
|
+
* @param {*} [options] Override http request option.
|
|
219
|
+
* @throws {RequiredError}
|
|
220
|
+
* @memberof ElectionApi
|
|
221
|
+
*/
|
|
222
|
+
apiElectionByCompanyCompanyIdGet(companyId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScorpElectionResponse, any, {}>>;
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @param {Fill2553IrsFormRequest} [fill2553IrsFormRequest]
|
|
226
|
+
* @param {*} [options] Override http request option.
|
|
227
|
+
* @throws {RequiredError}
|
|
228
|
+
* @memberof ElectionApi
|
|
229
|
+
*/
|
|
230
|
+
apiElectionFillForm2553Post(fill2553IrsFormRequest?: Fill2553IrsFormRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
* @param {*} [options] Override http request option.
|
|
234
|
+
* @throws {RequiredError}
|
|
235
|
+
* @memberof ElectionApi
|
|
236
|
+
*/
|
|
237
|
+
apiElectionGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScorpElectionResponse[], any, {}>>;
|
|
238
|
+
/**
|
|
239
|
+
*
|
|
240
|
+
* @param {string} id
|
|
241
|
+
* @param {*} [options] Override http request option.
|
|
242
|
+
* @throws {RequiredError}
|
|
243
|
+
* @memberof ElectionApi
|
|
244
|
+
*/
|
|
245
|
+
apiElectionIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @param {string} id
|
|
249
|
+
* @param {*} [options] Override http request option.
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
* @memberof ElectionApi
|
|
252
|
+
*/
|
|
253
|
+
apiElectionIdGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScorpElectionResponse, any, {}>>;
|
|
254
|
+
/**
|
|
255
|
+
*
|
|
256
|
+
* @param {string} id
|
|
257
|
+
* @param {ScorpElectionUpdateRequest} [scorpElectionUpdateRequest]
|
|
258
|
+
* @param {*} [options] Override http request option.
|
|
259
|
+
* @throws {RequiredError}
|
|
260
|
+
* @memberof ElectionApi
|
|
261
|
+
*/
|
|
262
|
+
apiElectionIdPut(id: string, scorpElectionUpdateRequest?: ScorpElectionUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScorpElectionResponse, any, {}>>;
|
|
263
|
+
/**
|
|
264
|
+
*
|
|
265
|
+
* @param {string} id
|
|
266
|
+
* @param {File} [file]
|
|
267
|
+
* @param {*} [options] Override http request option.
|
|
268
|
+
* @throws {RequiredError}
|
|
269
|
+
* @memberof ElectionApi
|
|
270
|
+
*/
|
|
271
|
+
apiElectionIdUploadSignedForm2553Post(id: string, file?: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
272
|
+
/**
|
|
273
|
+
*
|
|
274
|
+
* @param {ScorpElectionCreateRequest} [scorpElectionCreateRequest]
|
|
275
|
+
* @param {*} [options] Override http request option.
|
|
276
|
+
* @throws {RequiredError}
|
|
277
|
+
* @memberof ElectionApi
|
|
278
|
+
*/
|
|
279
|
+
apiElectionPost(scorpElectionCreateRequest?: ScorpElectionCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScorpElectionResponse, any, {}>>;
|
|
280
|
+
}
|