@randock/nameshift-api-client 0.0.210 → 0.0.212
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/.openapi-generator/FILES +8 -2
- package/README.md +3 -3
- package/dist/apis/AccountsApi.d.ts +15 -3
- package/dist/apis/AccountsApi.js +57 -1
- package/dist/apis/AdminApi.d.ts +12 -1
- package/dist/apis/AdminApi.js +53 -0
- package/dist/apis/BankAccountsApi.d.ts +78 -0
- package/dist/apis/BankAccountsApi.js +356 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AccountBankAccountDto.d.ts +68 -0
- package/dist/models/AccountBankAccountDto.js +75 -0
- package/dist/models/AccountDto.d.ts +10 -3
- package/dist/models/AccountDto.js +9 -4
- package/dist/models/AccountOnboardingDto.d.ts +65 -0
- package/dist/models/AccountOnboardingDto.js +77 -0
- package/dist/models/AccountOnboardingSessionDto.d.ts +32 -0
- package/dist/models/AccountOnboardingSessionDto.js +51 -0
- package/dist/models/AccountPayoutDto.d.ts +46 -0
- package/dist/models/AccountPayoutDto.js +63 -0
- package/dist/models/AccountSettingsDto.d.ts +0 -6
- package/dist/models/AccountSettingsDto.js +0 -4
- package/dist/models/CreateBankAccountInput.d.ts +56 -0
- package/dist/models/CreateBankAccountInput.js +63 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +11 -3
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +11 -5
- package/dist/models/SetPayoutProviderInput.d.ts +40 -0
- package/dist/models/SetPayoutProviderInput.js +59 -0
- package/dist/models/UpdateBankAccountInput.d.ts +56 -0
- package/dist/models/UpdateBankAccountInput.js +63 -0
- package/dist/models/index.d.ts +7 -2
- package/dist/models/index.js +7 -2
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +64 -6
- package/src/apis/AdminApi.ts +48 -0
- package/src/apis/BankAccountsApi.ts +309 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AccountBankAccountDto.ts +120 -0
- package/src/models/AccountDto.ts +27 -11
- package/src/models/AccountOnboardingDto.ts +112 -0
- package/src/models/AccountOnboardingSessionDto.ts +66 -0
- package/src/models/AccountPayoutDto.ts +86 -0
- package/src/models/AccountSettingsDto.ts +0 -9
- package/src/models/CreateBankAccountInput.ts +100 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +29 -12
- package/src/models/SetPayoutProviderInput.ts +77 -0
- package/src/models/UpdateBankAccountInput.ts +100 -0
- package/src/models/index.ts +7 -2
- package/dist/models/AccountPaymentProviderSessionDto.d.ts +0 -32
- package/dist/models/AccountPaymentProviderSessionDto.js +0 -51
- package/dist/models/PaymentProviderDto.d.ts +0 -52
- package/dist/models/PaymentProviderDto.js +0 -67
- package/src/models/AccountPaymentProviderSessionDto.ts +0 -66
- package/src/models/PaymentProviderDto.ts +0 -95
package/.openapi-generator/FILES
CHANGED
|
@@ -6,6 +6,7 @@ package.json
|
|
|
6
6
|
src/apis/AccountsApi.ts
|
|
7
7
|
src/apis/AccountsPublicApi.ts
|
|
8
8
|
src/apis/AdminApi.ts
|
|
9
|
+
src/apis/BankAccountsApi.ts
|
|
9
10
|
src/apis/BuyersApi.ts
|
|
10
11
|
src/apis/BuyersPublicApi.ts
|
|
11
12
|
src/apis/DefaultApi.ts
|
|
@@ -23,11 +24,14 @@ src/apis/UsersApi.ts
|
|
|
23
24
|
src/apis/UsersPublicApi.ts
|
|
24
25
|
src/apis/index.ts
|
|
25
26
|
src/index.ts
|
|
27
|
+
src/models/AccountBankAccountDto.ts
|
|
26
28
|
src/models/AccountDto.ts
|
|
27
29
|
src/models/AccountMetricsDto.ts
|
|
28
30
|
src/models/AccountNotificationDto.ts
|
|
29
31
|
src/models/AccountNotificationReadStatusDto.ts
|
|
30
|
-
src/models/
|
|
32
|
+
src/models/AccountOnboardingDto.ts
|
|
33
|
+
src/models/AccountOnboardingSessionDto.ts
|
|
34
|
+
src/models/AccountPayoutDto.ts
|
|
31
35
|
src/models/AccountSettingsDto.ts
|
|
32
36
|
src/models/AccountSettingsInput.ts
|
|
33
37
|
src/models/AccountSettingsLeaseToOwnConfigurationDto.ts
|
|
@@ -61,6 +65,7 @@ src/models/CompanyInformationDto.ts
|
|
|
61
65
|
src/models/CompanyTaxIdDto.ts
|
|
62
66
|
src/models/ConcreteDomainTransferTaskData.ts
|
|
63
67
|
src/models/ConflictException.ts
|
|
68
|
+
src/models/CreateBankAccountInput.ts
|
|
64
69
|
src/models/CreateBuyerLeadMessageInput.ts
|
|
65
70
|
src/models/CreateLeadInput.ts
|
|
66
71
|
src/models/CreateLeadMessageInput.ts
|
|
@@ -160,7 +165,6 @@ src/models/PaginateResponse.ts
|
|
|
160
165
|
src/models/PaginateResponseLinks.ts
|
|
161
166
|
src/models/PaginateResponseMeta.ts
|
|
162
167
|
src/models/ParsedDomainDto.ts
|
|
163
|
-
src/models/PaymentProviderDto.ts
|
|
164
168
|
src/models/PublicDomainDto.ts
|
|
165
169
|
src/models/PublicDomainDtoSeo.ts
|
|
166
170
|
src/models/PublicDomainDtoSeoMoz.ts
|
|
@@ -183,6 +187,7 @@ src/models/SellerSubscriptionListItemDtoDomainInformation.ts
|
|
|
183
187
|
src/models/SeoMetricsDto.ts
|
|
184
188
|
src/models/SetDomainTransferConfirmationInput.ts
|
|
185
189
|
src/models/SetNewPasswordInput.ts
|
|
190
|
+
src/models/SetPayoutProviderInput.ts
|
|
186
191
|
src/models/StoreBuyerLocaleInput.ts
|
|
187
192
|
src/models/StoreUserLocaleInput.ts
|
|
188
193
|
src/models/SubscriptionBillingPeriodicityDto.ts
|
|
@@ -204,6 +209,7 @@ src/models/TaskListDomainTransferDto.ts
|
|
|
204
209
|
src/models/TaskListLeadDto.ts
|
|
205
210
|
src/models/ThrottlerException.ts
|
|
206
211
|
src/models/UpdateAccountBillingInformationInput.ts
|
|
212
|
+
src/models/UpdateBankAccountInput.ts
|
|
207
213
|
src/models/UpdateDomainInput.ts
|
|
208
214
|
src/models/UpdateDomainTransferAuthCodeInput.ts
|
|
209
215
|
src/models/UpdateLeadInput.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.212
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @randock/nameshift-api-client@0.0.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.212 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
-
|
|
47
|
+
4c94f072c60f0194a797da504e5ba2c90a0b767a41c0ebb22c6c02379a776c07cc26ea28bcc714b7aa37728941cce962
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
13
|
+
import type { AccountOnboardingSessionDto, AccountSettingsDto, AccountSettingsInput, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, SetPayoutProviderInput, UpdateAccountBillingInformationInput } from '../models/index';
|
|
14
14
|
export interface AccountsApiGetAccountPaymentProviderSessionRequest {
|
|
15
15
|
accountId: string;
|
|
16
16
|
}
|
|
@@ -26,6 +26,10 @@ export interface AccountsApiPutAvatarRequest {
|
|
|
26
26
|
accountId: string;
|
|
27
27
|
file?: Blob | null;
|
|
28
28
|
}
|
|
29
|
+
export interface AccountsApiSetPayoutProviderRequest {
|
|
30
|
+
accountId: string;
|
|
31
|
+
setPayoutProviderInput: SetPayoutProviderInput;
|
|
32
|
+
}
|
|
29
33
|
export interface AccountsApiUpdateSettingsRequest {
|
|
30
34
|
accountId: string;
|
|
31
35
|
accountSettingsInput: AccountSettingsInput;
|
|
@@ -37,11 +41,11 @@ export declare class AccountsApi extends runtime.BaseAPI {
|
|
|
37
41
|
/**
|
|
38
42
|
*
|
|
39
43
|
*/
|
|
40
|
-
getAccountPaymentProviderSessionRaw(requestParameters: AccountsApiGetAccountPaymentProviderSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
44
|
+
getAccountPaymentProviderSessionRaw(requestParameters: AccountsApiGetAccountPaymentProviderSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountOnboardingSessionDto>>;
|
|
41
45
|
/**
|
|
42
46
|
*
|
|
43
47
|
*/
|
|
44
|
-
getAccountPaymentProviderSession(requestParameters: AccountsApiGetAccountPaymentProviderSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
48
|
+
getAccountPaymentProviderSession(requestParameters: AccountsApiGetAccountPaymentProviderSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountOnboardingSessionDto>;
|
|
45
49
|
/**
|
|
46
50
|
*
|
|
47
51
|
*/
|
|
@@ -82,6 +86,14 @@ export declare class AccountsApi extends runtime.BaseAPI {
|
|
|
82
86
|
*
|
|
83
87
|
*/
|
|
84
88
|
putAvatar(requestParameters: AccountsApiPutAvatarRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
*/
|
|
92
|
+
setPayoutProviderRaw(requestParameters: AccountsApiSetPayoutProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
setPayoutProvider(requestParameters: AccountsApiSetPayoutProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
85
97
|
/**
|
|
86
98
|
*
|
|
87
99
|
*/
|
package/dist/apis/AccountsApi.js
CHANGED
|
@@ -106,7 +106,7 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
106
106
|
}, initOverrides)];
|
|
107
107
|
case 3:
|
|
108
108
|
response = _a.sent();
|
|
109
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
109
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.AccountOnboardingSessionDtoFromJSON)(jsonValue); })];
|
|
110
110
|
}
|
|
111
111
|
});
|
|
112
112
|
});
|
|
@@ -407,6 +407,62 @@ var AccountsApi = /** @class */ (function (_super) {
|
|
|
407
407
|
});
|
|
408
408
|
});
|
|
409
409
|
};
|
|
410
|
+
/**
|
|
411
|
+
*
|
|
412
|
+
*/
|
|
413
|
+
AccountsApi.prototype.setPayoutProviderRaw = function (requestParameters, initOverrides) {
|
|
414
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
415
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
416
|
+
return __generator(this, function (_a) {
|
|
417
|
+
switch (_a.label) {
|
|
418
|
+
case 0:
|
|
419
|
+
if (requestParameters['accountId'] == null) {
|
|
420
|
+
throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling setPayoutProvider().');
|
|
421
|
+
}
|
|
422
|
+
if (requestParameters['setPayoutProviderInput'] == null) {
|
|
423
|
+
throw new runtime.RequiredError('setPayoutProviderInput', 'Required parameter "setPayoutProviderInput" was null or undefined when calling setPayoutProvider().');
|
|
424
|
+
}
|
|
425
|
+
queryParameters = {};
|
|
426
|
+
headerParameters = {};
|
|
427
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
428
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
429
|
+
token = this.configuration.accessToken;
|
|
430
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
431
|
+
case 1:
|
|
432
|
+
tokenString = _a.sent();
|
|
433
|
+
if (tokenString) {
|
|
434
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
435
|
+
}
|
|
436
|
+
_a.label = 2;
|
|
437
|
+
case 2: return [4 /*yield*/, this.request({
|
|
438
|
+
path: "/private/accounts/{accountId}/payout-provider".replace("{".concat("accountId", "}"), encodeURIComponent(String(requestParameters['accountId']))),
|
|
439
|
+
method: 'POST',
|
|
440
|
+
headers: headerParameters,
|
|
441
|
+
query: queryParameters,
|
|
442
|
+
body: (0, index_1.SetPayoutProviderInputToJSON)(requestParameters['setPayoutProviderInput']),
|
|
443
|
+
}, initOverrides)];
|
|
444
|
+
case 3:
|
|
445
|
+
response = _a.sent();
|
|
446
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
447
|
+
}
|
|
448
|
+
});
|
|
449
|
+
});
|
|
450
|
+
};
|
|
451
|
+
/**
|
|
452
|
+
*
|
|
453
|
+
*/
|
|
454
|
+
AccountsApi.prototype.setPayoutProvider = function (requestParameters, initOverrides) {
|
|
455
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
456
|
+
return __generator(this, function (_a) {
|
|
457
|
+
switch (_a.label) {
|
|
458
|
+
case 0: return [4 /*yield*/, this.setPayoutProviderRaw(requestParameters, initOverrides)];
|
|
459
|
+
case 1:
|
|
460
|
+
_a.sent();
|
|
461
|
+
return [2 /*return*/];
|
|
462
|
+
}
|
|
463
|
+
});
|
|
464
|
+
});
|
|
465
|
+
};
|
|
410
466
|
/**
|
|
411
467
|
*
|
|
412
468
|
*/
|
package/dist/apis/AdminApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminGetAllDomainTransfers200Response, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, DomainTransferDetailsDto, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, ListAccounts200Response, ListDomains200Response, SubscriptionDetailsDto } from '../models/index';
|
|
13
|
+
import type { AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminGetAllDomainTransfers200Response, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, DomainTransferDetailsDto, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, ListAccounts200Response, ListDomains200Response, SubscriptionDetailsDto } from '../models/index';
|
|
14
14
|
export interface AdminApiAdminGetAllDomainTransfersRequest {
|
|
15
15
|
filter?: object;
|
|
16
16
|
page?: number;
|
|
@@ -28,6 +28,9 @@ export interface AdminApiChangeSubscriptionStatusRequest {
|
|
|
28
28
|
export interface AdminApiDownloadInvoiceRequest {
|
|
29
29
|
invoiceId: string;
|
|
30
30
|
}
|
|
31
|
+
export interface AdminApiGetAccountMeRequest {
|
|
32
|
+
accountId: string;
|
|
33
|
+
}
|
|
31
34
|
export interface AdminApiGetAccountSettingsRequest {
|
|
32
35
|
accountId: string;
|
|
33
36
|
}
|
|
@@ -131,6 +134,14 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
131
134
|
*
|
|
132
135
|
*/
|
|
133
136
|
downloadInvoice(requestParameters: AdminApiDownloadInvoiceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
*/
|
|
140
|
+
getAccountMeRaw(requestParameters: AdminApiGetAccountMeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto>>;
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
*/
|
|
144
|
+
getAccountMe(requestParameters: AdminApiGetAccountMeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto>;
|
|
134
145
|
/**
|
|
135
146
|
*
|
|
136
147
|
*/
|
package/dist/apis/AdminApi.js
CHANGED
|
@@ -303,6 +303,59 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
303
303
|
});
|
|
304
304
|
});
|
|
305
305
|
};
|
|
306
|
+
/**
|
|
307
|
+
*
|
|
308
|
+
*/
|
|
309
|
+
AdminApi.prototype.getAccountMeRaw = function (requestParameters, initOverrides) {
|
|
310
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
311
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
312
|
+
return __generator(this, function (_a) {
|
|
313
|
+
switch (_a.label) {
|
|
314
|
+
case 0:
|
|
315
|
+
if (requestParameters['accountId'] == null) {
|
|
316
|
+
throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling getAccountMe().');
|
|
317
|
+
}
|
|
318
|
+
queryParameters = {};
|
|
319
|
+
headerParameters = {};
|
|
320
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
321
|
+
token = this.configuration.accessToken;
|
|
322
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
323
|
+
case 1:
|
|
324
|
+
tokenString = _a.sent();
|
|
325
|
+
if (tokenString) {
|
|
326
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
327
|
+
}
|
|
328
|
+
_a.label = 2;
|
|
329
|
+
case 2: return [4 /*yield*/, this.request({
|
|
330
|
+
path: "/admin/accounts/{accountId}/me".replace("{".concat("accountId", "}"), encodeURIComponent(String(requestParameters['accountId']))),
|
|
331
|
+
method: 'GET',
|
|
332
|
+
headers: headerParameters,
|
|
333
|
+
query: queryParameters,
|
|
334
|
+
}, initOverrides)];
|
|
335
|
+
case 3:
|
|
336
|
+
response = _a.sent();
|
|
337
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSON)(jsonValue); })];
|
|
338
|
+
}
|
|
339
|
+
});
|
|
340
|
+
});
|
|
341
|
+
};
|
|
342
|
+
/**
|
|
343
|
+
*
|
|
344
|
+
*/
|
|
345
|
+
AdminApi.prototype.getAccountMe = function (requestParameters, initOverrides) {
|
|
346
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
347
|
+
var response;
|
|
348
|
+
return __generator(this, function (_a) {
|
|
349
|
+
switch (_a.label) {
|
|
350
|
+
case 0: return [4 /*yield*/, this.getAccountMeRaw(requestParameters, initOverrides)];
|
|
351
|
+
case 1:
|
|
352
|
+
response = _a.sent();
|
|
353
|
+
return [4 /*yield*/, response.value()];
|
|
354
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
355
|
+
}
|
|
356
|
+
});
|
|
357
|
+
});
|
|
358
|
+
};
|
|
306
359
|
/**
|
|
307
360
|
*
|
|
308
361
|
*/
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { AccountBankAccountDto, CreateBankAccountInput, UpdateBankAccountInput } from '../models/index';
|
|
14
|
+
export interface BankAccountsApiCreateBankAccountRequest {
|
|
15
|
+
accountId: string;
|
|
16
|
+
createBankAccountInput: CreateBankAccountInput;
|
|
17
|
+
}
|
|
18
|
+
export interface BankAccountsApiDeleteBankAccountRequest {
|
|
19
|
+
accountId: string;
|
|
20
|
+
bankAccountId: string;
|
|
21
|
+
}
|
|
22
|
+
export interface BankAccountsApiListBankAccountsRequest {
|
|
23
|
+
accountId: string;
|
|
24
|
+
}
|
|
25
|
+
export interface BankAccountsApiMakeBankAccountPrimaryRequest {
|
|
26
|
+
accountId: string;
|
|
27
|
+
bankAccountId: string;
|
|
28
|
+
}
|
|
29
|
+
export interface BankAccountsApiUpdateBankAccountRequest {
|
|
30
|
+
accountId: string;
|
|
31
|
+
bankAccountId: string;
|
|
32
|
+
updateBankAccountInput: UpdateBankAccountInput;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
export declare class BankAccountsApi extends runtime.BaseAPI {
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
createBankAccountRaw(requestParameters: BankAccountsApiCreateBankAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
deleteBankAccountRaw(requestParameters: BankAccountsApiDeleteBankAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
listBankAccountsRaw(requestParameters: BankAccountsApiListBankAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<AccountBankAccountDto>>>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
listBankAccounts(requestParameters: BankAccountsApiListBankAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AccountBankAccountDto>>;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
makeBankAccountPrimaryRaw(requestParameters: BankAccountsApiMakeBankAccountPrimaryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
makeBankAccountPrimary(requestParameters: BankAccountsApiMakeBankAccountPrimaryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
updateBankAccountRaw(requestParameters: BankAccountsApiUpdateBankAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
updateBankAccount(requestParameters: BankAccountsApiUpdateBankAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
78
|
+
}
|