@s-corp-biz/biz-entity-api 1.9.0-staging.2 → 1.9.0-staging.20
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 +64 -0
- package/lib/api/election-api.js +174 -0
- package/lib/api/hubspot-api.d.ts +99 -0
- package/lib/api/hubspot-api.js +295 -0
- package/lib/api/stripe-api.d.ts +94 -9
- package/lib/api/stripe-api.js +258 -14
- package/lib/api/tax-data-api.d.ts +166 -0
- package/lib/api/tax-data-api.js +478 -0
- package/lib/api.d.ts +2 -0
- package/lib/api.js +2 -0
- package/lib/models/capital-loss-limit-response.d.ts +42 -0
- package/lib/models/company-response.d.ts +18 -0
- package/lib/models/company-update-request.d.ts +6 -0
- package/lib/models/company-user-request.d.ts +18 -0
- package/lib/models/company-user-response.d.ts +15 -2
- package/lib/models/{create-payment-intent-request.d.ts → confirm-payment-request.d.ts} +7 -7
- package/lib/models/confirm-payment-request.js +15 -0
- package/lib/models/create-depreciation-request.d.ts +1 -1
- package/lib/models/create-election-payment-request.d.ts +31 -0
- package/lib/models/create-election-payment-request.js +15 -0
- package/lib/models/create-election-payment-response.d.ts +36 -0
- package/lib/models/create-election-payment-response.js +15 -0
- package/lib/models/depreciation-response.d.ts +1 -1
- package/lib/models/fill2553-irs-form-request.d.ts +43 -0
- package/lib/models/index.d.ts +12 -1
- package/lib/models/index.js +12 -1
- package/lib/models/invitation-status.d.ts +23 -0
- package/lib/models/invitation-status.js +27 -0
- package/lib/models/json-element.d.ts +25 -0
- package/lib/models/json-element.js +15 -0
- package/lib/models/json-value-kind.d.ts +26 -0
- package/lib/models/json-value-kind.js +30 -0
- package/lib/models/payment-status-enum.d.ts +22 -0
- package/lib/models/payment-status-enum.js +26 -0
- package/lib/models/payment-status-response.d.ts +36 -0
- package/lib/models/payment-status-response.js +15 -0
- package/lib/models/scorp-election-finalize-request.d.ts +25 -0
- package/lib/models/scorp-election-finalize-request.js +15 -0
- package/lib/models/scorp-election-response.d.ts +19 -0
- package/lib/models/shareholder-pdf-info.d.ts +78 -0
- package/lib/models/shareholder-pdf-info.js +15 -0
- package/lib/models/tax-calculation-parameter-response.d.ts +54 -0
- package/lib/models/tax-calculation-parameter-response.js +15 -0
- package/lib/models/update-depreciation-request.d.ts +1 -1
- package/lib/models/user-response.d.ts +6 -0
- package/lib/models/user-update-request.d.ts +6 -0
- package/package.json +1 -1
- /package/lib/models/{create-payment-intent-request.js → capital-loss-limit-response.js} +0 -0
|
@@ -13,7 +13,9 @@ 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 { Fill2553IrsFormRequest } from '../models';
|
|
16
|
+
import type { PaymentStatusResponse } from '../models';
|
|
16
17
|
import type { ScorpElectionCreateRequest } from '../models';
|
|
18
|
+
import type { ScorpElectionFinalizeRequest } from '../models';
|
|
17
19
|
import type { ScorpElectionResponse } from '../models';
|
|
18
20
|
import type { ScorpElectionUpdateRequest } from '../models';
|
|
19
21
|
/**
|
|
@@ -48,6 +50,14 @@ export declare const ElectionApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
48
50
|
* @throws {RequiredError}
|
|
49
51
|
*/
|
|
50
52
|
apiElectionIdDelete: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @param {string} id
|
|
56
|
+
* @param {ScorpElectionFinalizeRequest} [scorpElectionFinalizeRequest]
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
apiElectionIdFinalizePost: (id: string, scorpElectionFinalizeRequest?: ScorpElectionFinalizeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
61
|
/**
|
|
52
62
|
*
|
|
53
63
|
* @param {string} id
|
|
@@ -55,6 +65,13 @@ export declare const ElectionApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
55
65
|
* @throws {RequiredError}
|
|
56
66
|
*/
|
|
57
67
|
apiElectionIdGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @param {string} id
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
*/
|
|
74
|
+
apiElectionIdPaymentStatusGet: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
75
|
/**
|
|
59
76
|
*
|
|
60
77
|
* @param {string} id
|
|
@@ -111,6 +128,14 @@ export declare const ElectionApiFp: (configuration?: Configuration) => {
|
|
|
111
128
|
* @throws {RequiredError}
|
|
112
129
|
*/
|
|
113
130
|
apiElectionIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @param {string} id
|
|
134
|
+
* @param {ScorpElectionFinalizeRequest} [scorpElectionFinalizeRequest]
|
|
135
|
+
* @param {*} [options] Override http request option.
|
|
136
|
+
* @throws {RequiredError}
|
|
137
|
+
*/
|
|
138
|
+
apiElectionIdFinalizePost(id: string, scorpElectionFinalizeRequest?: ScorpElectionFinalizeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScorpElectionResponse>>;
|
|
114
139
|
/**
|
|
115
140
|
*
|
|
116
141
|
* @param {string} id
|
|
@@ -118,6 +143,13 @@ export declare const ElectionApiFp: (configuration?: Configuration) => {
|
|
|
118
143
|
* @throws {RequiredError}
|
|
119
144
|
*/
|
|
120
145
|
apiElectionIdGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScorpElectionResponse>>;
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @param {string} id
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
apiElectionIdPaymentStatusGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentStatusResponse>>;
|
|
121
153
|
/**
|
|
122
154
|
*
|
|
123
155
|
* @param {string} id
|
|
@@ -174,6 +206,14 @@ export declare const ElectionApiFactory: (configuration?: Configuration, basePat
|
|
|
174
206
|
* @throws {RequiredError}
|
|
175
207
|
*/
|
|
176
208
|
apiElectionIdDelete(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
209
|
+
/**
|
|
210
|
+
*
|
|
211
|
+
* @param {string} id
|
|
212
|
+
* @param {ScorpElectionFinalizeRequest} [scorpElectionFinalizeRequest]
|
|
213
|
+
* @param {*} [options] Override http request option.
|
|
214
|
+
* @throws {RequiredError}
|
|
215
|
+
*/
|
|
216
|
+
apiElectionIdFinalizePost(id: string, scorpElectionFinalizeRequest?: ScorpElectionFinalizeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScorpElectionResponse>;
|
|
177
217
|
/**
|
|
178
218
|
*
|
|
179
219
|
* @param {string} id
|
|
@@ -181,6 +221,13 @@ export declare const ElectionApiFactory: (configuration?: Configuration, basePat
|
|
|
181
221
|
* @throws {RequiredError}
|
|
182
222
|
*/
|
|
183
223
|
apiElectionIdGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ScorpElectionResponse>;
|
|
224
|
+
/**
|
|
225
|
+
*
|
|
226
|
+
* @param {string} id
|
|
227
|
+
* @param {*} [options] Override http request option.
|
|
228
|
+
* @throws {RequiredError}
|
|
229
|
+
*/
|
|
230
|
+
apiElectionIdPaymentStatusGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<PaymentStatusResponse>;
|
|
184
231
|
/**
|
|
185
232
|
*
|
|
186
233
|
* @param {string} id
|
|
@@ -243,6 +290,15 @@ export declare class ElectionApi extends BaseAPI {
|
|
|
243
290
|
* @memberof ElectionApi
|
|
244
291
|
*/
|
|
245
292
|
apiElectionIdDelete(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
293
|
+
/**
|
|
294
|
+
*
|
|
295
|
+
* @param {string} id
|
|
296
|
+
* @param {ScorpElectionFinalizeRequest} [scorpElectionFinalizeRequest]
|
|
297
|
+
* @param {*} [options] Override http request option.
|
|
298
|
+
* @throws {RequiredError}
|
|
299
|
+
* @memberof ElectionApi
|
|
300
|
+
*/
|
|
301
|
+
apiElectionIdFinalizePost(id: string, scorpElectionFinalizeRequest?: ScorpElectionFinalizeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScorpElectionResponse, any, {}>>;
|
|
246
302
|
/**
|
|
247
303
|
*
|
|
248
304
|
* @param {string} id
|
|
@@ -251,6 +307,14 @@ export declare class ElectionApi extends BaseAPI {
|
|
|
251
307
|
* @memberof ElectionApi
|
|
252
308
|
*/
|
|
253
309
|
apiElectionIdGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScorpElectionResponse, any, {}>>;
|
|
310
|
+
/**
|
|
311
|
+
*
|
|
312
|
+
* @param {string} id
|
|
313
|
+
* @param {*} [options] Override http request option.
|
|
314
|
+
* @throws {RequiredError}
|
|
315
|
+
* @memberof ElectionApi
|
|
316
|
+
*/
|
|
317
|
+
apiElectionIdPaymentStatusGet(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentStatusResponse, any, {}>>;
|
|
254
318
|
/**
|
|
255
319
|
*
|
|
256
320
|
* @param {string} id
|
package/lib/api/election-api.js
CHANGED
|
@@ -252,6 +252,51 @@ var ElectionApiAxiosParamCreator = function (configuration) {
|
|
|
252
252
|
});
|
|
253
253
|
});
|
|
254
254
|
},
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
* @param {string} id
|
|
258
|
+
* @param {ScorpElectionFinalizeRequest} [scorpElectionFinalizeRequest]
|
|
259
|
+
* @param {*} [options] Override http request option.
|
|
260
|
+
* @throws {RequiredError}
|
|
261
|
+
*/
|
|
262
|
+
apiElectionIdFinalizePost: function (id, scorpElectionFinalizeRequest, options) {
|
|
263
|
+
if (options === void 0) { options = {}; }
|
|
264
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
265
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
266
|
+
return __generator(this, function (_a) {
|
|
267
|
+
switch (_a.label) {
|
|
268
|
+
case 0:
|
|
269
|
+
// verify required parameter 'id' is not null or undefined
|
|
270
|
+
(0, common_1.assertParamExists)('apiElectionIdFinalizePost', 'id', id);
|
|
271
|
+
localVarPath = "/api/Election/{id}/finalize"
|
|
272
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
273
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
274
|
+
if (configuration) {
|
|
275
|
+
baseOptions = configuration.baseOptions;
|
|
276
|
+
}
|
|
277
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
278
|
+
localVarHeaderParameter = {};
|
|
279
|
+
localVarQueryParameter = {};
|
|
280
|
+
// authentication Bearer required
|
|
281
|
+
// http bearer authentication required
|
|
282
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
283
|
+
case 1:
|
|
284
|
+
// authentication Bearer required
|
|
285
|
+
// http bearer authentication required
|
|
286
|
+
_a.sent();
|
|
287
|
+
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
288
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
289
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
290
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
291
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(scorpElectionFinalizeRequest, localVarRequestOptions, configuration);
|
|
292
|
+
return [2 /*return*/, {
|
|
293
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
294
|
+
options: localVarRequestOptions,
|
|
295
|
+
}];
|
|
296
|
+
}
|
|
297
|
+
});
|
|
298
|
+
});
|
|
299
|
+
},
|
|
255
300
|
/**
|
|
256
301
|
*
|
|
257
302
|
* @param {string} id
|
|
@@ -294,6 +339,48 @@ var ElectionApiAxiosParamCreator = function (configuration) {
|
|
|
294
339
|
});
|
|
295
340
|
});
|
|
296
341
|
},
|
|
342
|
+
/**
|
|
343
|
+
*
|
|
344
|
+
* @param {string} id
|
|
345
|
+
* @param {*} [options] Override http request option.
|
|
346
|
+
* @throws {RequiredError}
|
|
347
|
+
*/
|
|
348
|
+
apiElectionIdPaymentStatusGet: function (id, options) {
|
|
349
|
+
if (options === void 0) { options = {}; }
|
|
350
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
351
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
352
|
+
return __generator(this, function (_a) {
|
|
353
|
+
switch (_a.label) {
|
|
354
|
+
case 0:
|
|
355
|
+
// verify required parameter 'id' is not null or undefined
|
|
356
|
+
(0, common_1.assertParamExists)('apiElectionIdPaymentStatusGet', 'id', id);
|
|
357
|
+
localVarPath = "/api/Election/{id}/payment-status"
|
|
358
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
359
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
360
|
+
if (configuration) {
|
|
361
|
+
baseOptions = configuration.baseOptions;
|
|
362
|
+
}
|
|
363
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
364
|
+
localVarHeaderParameter = {};
|
|
365
|
+
localVarQueryParameter = {};
|
|
366
|
+
// authentication Bearer required
|
|
367
|
+
// http bearer authentication required
|
|
368
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
369
|
+
case 1:
|
|
370
|
+
// authentication Bearer required
|
|
371
|
+
// http bearer authentication required
|
|
372
|
+
_a.sent();
|
|
373
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
374
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
375
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
376
|
+
return [2 /*return*/, {
|
|
377
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
378
|
+
options: localVarRequestOptions,
|
|
379
|
+
}];
|
|
380
|
+
}
|
|
381
|
+
});
|
|
382
|
+
});
|
|
383
|
+
},
|
|
297
384
|
/**
|
|
298
385
|
*
|
|
299
386
|
* @param {string} id
|
|
@@ -526,6 +613,29 @@ var ElectionApiFp = function (configuration) {
|
|
|
526
613
|
});
|
|
527
614
|
});
|
|
528
615
|
},
|
|
616
|
+
/**
|
|
617
|
+
*
|
|
618
|
+
* @param {string} id
|
|
619
|
+
* @param {ScorpElectionFinalizeRequest} [scorpElectionFinalizeRequest]
|
|
620
|
+
* @param {*} [options] Override http request option.
|
|
621
|
+
* @throws {RequiredError}
|
|
622
|
+
*/
|
|
623
|
+
apiElectionIdFinalizePost: function (id, scorpElectionFinalizeRequest, options) {
|
|
624
|
+
var _a, _b, _c;
|
|
625
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
626
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
627
|
+
return __generator(this, function (_d) {
|
|
628
|
+
switch (_d.label) {
|
|
629
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiElectionIdFinalizePost(id, scorpElectionFinalizeRequest, options)];
|
|
630
|
+
case 1:
|
|
631
|
+
localVarAxiosArgs = _d.sent();
|
|
632
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
633
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ElectionApi.apiElectionIdFinalizePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
634
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
635
|
+
}
|
|
636
|
+
});
|
|
637
|
+
});
|
|
638
|
+
},
|
|
529
639
|
/**
|
|
530
640
|
*
|
|
531
641
|
* @param {string} id
|
|
@@ -548,6 +658,28 @@ var ElectionApiFp = function (configuration) {
|
|
|
548
658
|
});
|
|
549
659
|
});
|
|
550
660
|
},
|
|
661
|
+
/**
|
|
662
|
+
*
|
|
663
|
+
* @param {string} id
|
|
664
|
+
* @param {*} [options] Override http request option.
|
|
665
|
+
* @throws {RequiredError}
|
|
666
|
+
*/
|
|
667
|
+
apiElectionIdPaymentStatusGet: function (id, options) {
|
|
668
|
+
var _a, _b, _c;
|
|
669
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
670
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
671
|
+
return __generator(this, function (_d) {
|
|
672
|
+
switch (_d.label) {
|
|
673
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiElectionIdPaymentStatusGet(id, options)];
|
|
674
|
+
case 1:
|
|
675
|
+
localVarAxiosArgs = _d.sent();
|
|
676
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
677
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ElectionApi.apiElectionIdPaymentStatusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
678
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
679
|
+
}
|
|
680
|
+
});
|
|
681
|
+
});
|
|
682
|
+
},
|
|
551
683
|
/**
|
|
552
684
|
*
|
|
553
685
|
* @param {string} id
|
|
@@ -661,6 +793,16 @@ var ElectionApiFactory = function (configuration, basePath, axios) {
|
|
|
661
793
|
apiElectionIdDelete: function (id, options) {
|
|
662
794
|
return localVarFp.apiElectionIdDelete(id, options).then(function (request) { return request(axios, basePath); });
|
|
663
795
|
},
|
|
796
|
+
/**
|
|
797
|
+
*
|
|
798
|
+
* @param {string} id
|
|
799
|
+
* @param {ScorpElectionFinalizeRequest} [scorpElectionFinalizeRequest]
|
|
800
|
+
* @param {*} [options] Override http request option.
|
|
801
|
+
* @throws {RequiredError}
|
|
802
|
+
*/
|
|
803
|
+
apiElectionIdFinalizePost: function (id, scorpElectionFinalizeRequest, options) {
|
|
804
|
+
return localVarFp.apiElectionIdFinalizePost(id, scorpElectionFinalizeRequest, options).then(function (request) { return request(axios, basePath); });
|
|
805
|
+
},
|
|
664
806
|
/**
|
|
665
807
|
*
|
|
666
808
|
* @param {string} id
|
|
@@ -670,6 +812,15 @@ var ElectionApiFactory = function (configuration, basePath, axios) {
|
|
|
670
812
|
apiElectionIdGet: function (id, options) {
|
|
671
813
|
return localVarFp.apiElectionIdGet(id, options).then(function (request) { return request(axios, basePath); });
|
|
672
814
|
},
|
|
815
|
+
/**
|
|
816
|
+
*
|
|
817
|
+
* @param {string} id
|
|
818
|
+
* @param {*} [options] Override http request option.
|
|
819
|
+
* @throws {RequiredError}
|
|
820
|
+
*/
|
|
821
|
+
apiElectionIdPaymentStatusGet: function (id, options) {
|
|
822
|
+
return localVarFp.apiElectionIdPaymentStatusGet(id, options).then(function (request) { return request(axios, basePath); });
|
|
823
|
+
},
|
|
673
824
|
/**
|
|
674
825
|
*
|
|
675
826
|
* @param {string} id
|
|
@@ -756,6 +907,18 @@ var ElectionApi = /** @class */ (function (_super) {
|
|
|
756
907
|
var _this = this;
|
|
757
908
|
return (0, exports.ElectionApiFp)(this.configuration).apiElectionIdDelete(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
758
909
|
};
|
|
910
|
+
/**
|
|
911
|
+
*
|
|
912
|
+
* @param {string} id
|
|
913
|
+
* @param {ScorpElectionFinalizeRequest} [scorpElectionFinalizeRequest]
|
|
914
|
+
* @param {*} [options] Override http request option.
|
|
915
|
+
* @throws {RequiredError}
|
|
916
|
+
* @memberof ElectionApi
|
|
917
|
+
*/
|
|
918
|
+
ElectionApi.prototype.apiElectionIdFinalizePost = function (id, scorpElectionFinalizeRequest, options) {
|
|
919
|
+
var _this = this;
|
|
920
|
+
return (0, exports.ElectionApiFp)(this.configuration).apiElectionIdFinalizePost(id, scorpElectionFinalizeRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
921
|
+
};
|
|
759
922
|
/**
|
|
760
923
|
*
|
|
761
924
|
* @param {string} id
|
|
@@ -767,6 +930,17 @@ var ElectionApi = /** @class */ (function (_super) {
|
|
|
767
930
|
var _this = this;
|
|
768
931
|
return (0, exports.ElectionApiFp)(this.configuration).apiElectionIdGet(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
769
932
|
};
|
|
933
|
+
/**
|
|
934
|
+
*
|
|
935
|
+
* @param {string} id
|
|
936
|
+
* @param {*} [options] Override http request option.
|
|
937
|
+
* @throws {RequiredError}
|
|
938
|
+
* @memberof ElectionApi
|
|
939
|
+
*/
|
|
940
|
+
ElectionApi.prototype.apiElectionIdPaymentStatusGet = function (id, options) {
|
|
941
|
+
var _this = this;
|
|
942
|
+
return (0, exports.ElectionApiFp)(this.configuration).apiElectionIdPaymentStatusGet(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
943
|
+
};
|
|
770
944
|
/**
|
|
771
945
|
*
|
|
772
946
|
* @param {string} id
|
|
@@ -0,0 +1,99 @@
|
|
|
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 { JsonElement } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* HubspotApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const HubspotApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @param {string} plan
|
|
24
|
+
* @param {*} [options] Override http request option.
|
|
25
|
+
* @throws {RequiredError}
|
|
26
|
+
*/
|
|
27
|
+
hubspotSubscriptionsStartPlanGet: (plan: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @param {JsonElement} [jsonElement]
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
hubspotWebhookPost: (jsonElement?: JsonElement, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* HubspotApi - functional programming interface
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const HubspotApiFp: (configuration?: Configuration) => {
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @param {string} plan
|
|
44
|
+
* @param {*} [options] Override http request option.
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
hubspotSubscriptionsStartPlanGet(plan: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @param {JsonElement} [jsonElement]
|
|
51
|
+
* @param {*} [options] Override http request option.
|
|
52
|
+
* @throws {RequiredError}
|
|
53
|
+
*/
|
|
54
|
+
hubspotWebhookPost(jsonElement?: JsonElement, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* HubspotApi - factory interface
|
|
58
|
+
* @export
|
|
59
|
+
*/
|
|
60
|
+
export declare const HubspotApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @param {string} plan
|
|
64
|
+
* @param {*} [options] Override http request option.
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
*/
|
|
67
|
+
hubspotSubscriptionsStartPlanGet(plan: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @param {JsonElement} [jsonElement]
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
*/
|
|
74
|
+
hubspotWebhookPost(jsonElement?: JsonElement, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* HubspotApi - object-oriented interface
|
|
78
|
+
* @export
|
|
79
|
+
* @class HubspotApi
|
|
80
|
+
* @extends {BaseAPI}
|
|
81
|
+
*/
|
|
82
|
+
export declare class HubspotApi extends BaseAPI {
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @param {string} plan
|
|
86
|
+
* @param {*} [options] Override http request option.
|
|
87
|
+
* @throws {RequiredError}
|
|
88
|
+
* @memberof HubspotApi
|
|
89
|
+
*/
|
|
90
|
+
hubspotSubscriptionsStartPlanGet(plan: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @param {JsonElement} [jsonElement]
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
* @memberof HubspotApi
|
|
97
|
+
*/
|
|
98
|
+
hubspotWebhookPost(jsonElement?: JsonElement, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
99
|
+
}
|