@randock/nameshift-api-client 0.0.447 → 0.0.449

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.
Files changed (87) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +3 -3
  3. package/dist/apis/APIKeysApi.d.ts +78 -0
  4. package/dist/apis/APIKeysApi.js +354 -0
  5. package/dist/apis/AccountsApi.d.ts +36 -36
  6. package/dist/apis/AccountsApi.js +360 -216
  7. package/dist/apis/AdminApi.d.ts +26 -0
  8. package/dist/apis/AdminApi.js +106 -0
  9. package/dist/apis/AuctionsApi.d.ts +4 -4
  10. package/dist/apis/AuctionsApi.js +40 -24
  11. package/dist/apis/BankAccountsApi.d.ts +10 -10
  12. package/dist/apis/BankAccountsApi.js +100 -60
  13. package/dist/apis/ChallengesApi.d.ts +6 -6
  14. package/dist/apis/ChallengesApi.js +60 -36
  15. package/dist/apis/DomainTransfersApi.d.ts +2 -2
  16. package/dist/apis/DomainTransfersApi.js +20 -12
  17. package/dist/apis/DomainsApi.d.ts +44 -44
  18. package/dist/apis/DomainsApi.js +440 -264
  19. package/dist/apis/EppApi.d.ts +2 -2
  20. package/dist/apis/EppApi.js +20 -12
  21. package/dist/apis/InvoicesApi.d.ts +6 -6
  22. package/dist/apis/InvoicesApi.js +60 -36
  23. package/dist/apis/LeadsApi.d.ts +38 -38
  24. package/dist/apis/LeadsApi.js +380 -228
  25. package/dist/apis/MarketApi.d.ts +2 -2
  26. package/dist/apis/MarketApi.js +2 -2
  27. package/dist/apis/NotificationsApi.d.ts +8 -8
  28. package/dist/apis/NotificationsApi.js +80 -48
  29. package/dist/apis/StatsApi.d.ts +14 -14
  30. package/dist/apis/StatsApi.js +140 -84
  31. package/dist/apis/SubscriptionsApi.d.ts +2 -2
  32. package/dist/apis/SubscriptionsApi.js +20 -12
  33. package/dist/apis/TasksApi.d.ts +6 -6
  34. package/dist/apis/TasksApi.js +60 -36
  35. package/dist/apis/UsersApi.d.ts +10 -10
  36. package/dist/apis/UsersApi.js +100 -60
  37. package/dist/apis/index.d.ts +1 -0
  38. package/dist/apis/index.js +1 -0
  39. package/dist/models/AdminDomainListItemDto.d.ts +6 -0
  40. package/dist/models/AdminDomainListItemDto.js +4 -0
  41. package/dist/models/ApiKeyDto.d.ts +107 -0
  42. package/dist/models/ApiKeyDto.js +114 -0
  43. package/dist/models/ApiKeyScopeDto.d.ts +83 -0
  44. package/dist/models/ApiKeyScopeDto.js +98 -0
  45. package/dist/models/CreateApiKeyInput.d.ts +83 -0
  46. package/dist/models/CreateApiKeyInput.js +96 -0
  47. package/dist/models/CreatedApiKeyDto.d.ts +113 -0
  48. package/dist/models/CreatedApiKeyDto.js +118 -0
  49. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +6 -0
  50. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +4 -0
  51. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +6 -0
  52. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +4 -0
  53. package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +6 -0
  54. package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +4 -0
  55. package/dist/models/UpdateApiKeyInput.d.ts +77 -0
  56. package/dist/models/UpdateApiKeyInput.js +90 -0
  57. package/dist/models/index.d.ts +5 -0
  58. package/dist/models/index.js +5 -0
  59. package/package.json +1 -1
  60. package/src/apis/APIKeysApi.ts +271 -0
  61. package/src/apis/AccountsApi.ts +108 -36
  62. package/src/apis/AdminApi.ts +92 -0
  63. package/src/apis/AuctionsApi.ts +12 -4
  64. package/src/apis/BankAccountsApi.ts +30 -10
  65. package/src/apis/ChallengesApi.ts +18 -6
  66. package/src/apis/DomainTransfersApi.ts +6 -2
  67. package/src/apis/DomainsApi.ts +132 -44
  68. package/src/apis/EppApi.ts +6 -2
  69. package/src/apis/InvoicesApi.ts +18 -6
  70. package/src/apis/LeadsApi.ts +114 -38
  71. package/src/apis/MarketApi.ts +2 -2
  72. package/src/apis/NotificationsApi.ts +24 -8
  73. package/src/apis/StatsApi.ts +42 -14
  74. package/src/apis/SubscriptionsApi.ts +6 -2
  75. package/src/apis/TasksApi.ts +18 -6
  76. package/src/apis/UsersApi.ts +30 -10
  77. package/src/apis/index.ts +1 -0
  78. package/src/models/AdminDomainListItemDto.ts +9 -0
  79. package/src/models/ApiKeyDto.ts +162 -0
  80. package/src/models/ApiKeyScopeDto.ts +126 -0
  81. package/src/models/CreateApiKeyInput.ts +125 -0
  82. package/src/models/CreatedApiKeyDto.ts +171 -0
  83. package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +9 -0
  84. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +9 -0
  85. package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +9 -0
  86. package/src/models/UpdateApiKeyInput.ts +115 -0
  87. package/src/models/index.ts +5 -0
@@ -264,6 +264,9 @@ export interface AdminApiRemoveDomainLockRequest {
264
264
  domainId: string;
265
265
  lockId: string;
266
266
  }
267
+ export interface AdminApiShowcaseDomainRequest {
268
+ domainId: string;
269
+ }
267
270
  export interface AdminApiSimulateCommissionRequest {
268
271
  simulateCommissionInput: SimulateCommissionInput;
269
272
  }
@@ -276,6 +279,9 @@ export interface AdminApiSyncAllAccountPaymentMethodProfilesRequest {
276
279
  export interface AdminApiSyncOwnedDomainFromRegistryRequest {
277
280
  id: string;
278
281
  }
282
+ export interface AdminApiUnshowcaseDomainRequest {
283
+ domainId: string;
284
+ }
279
285
  export interface AdminApiUpdateAccountChallengeRewardBalancePointsRequest {
280
286
  accountId: string;
281
287
  updateAccountChallengeRewardBalanceInput: UpdateAccountChallengeRewardBalanceInput;
@@ -832,6 +838,16 @@ export declare class AdminApi extends runtime.BaseAPI {
832
838
  * Remove domain lock
833
839
  */
834
840
  removeDomainLock(requestParameters: AdminApiRemoveDomainLockRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
841
+ /**
842
+ * Picks the domain for the public showcase on the website. Idempotent: showcasing an already showcased domain keeps its original position in the showcase.
843
+ * Showcase domain
844
+ */
845
+ showcaseDomainRaw(requestParameters: AdminApiShowcaseDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
846
+ /**
847
+ * Picks the domain for the public showcase on the website. Idempotent: showcasing an already showcased domain keeps its original position in the showcase.
848
+ * Showcase domain
849
+ */
850
+ showcaseDomain(requestParameters: AdminApiShowcaseDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
835
851
  /**
836
852
  * Evaluates the commission percentage for a given scenario without persisting any changes.
837
853
  * Simulate commission percentage
@@ -872,6 +888,16 @@ export declare class AdminApi extends runtime.BaseAPI {
872
888
  * Sync owned domain from registry
873
889
  */
874
890
  syncOwnedDomainFromRegistry(requestParameters: AdminApiSyncOwnedDomainFromRegistryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
891
+ /**
892
+ * Drops the domain from the public showcase on the website. Idempotent.
893
+ * Remove domain from the showcase
894
+ */
895
+ unshowcaseDomainRaw(requestParameters: AdminApiUnshowcaseDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
896
+ /**
897
+ * Drops the domain from the public showcase on the website. Idempotent.
898
+ * Remove domain from the showcase
899
+ */
900
+ unshowcaseDomain(requestParameters: AdminApiUnshowcaseDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
875
901
  /**
876
902
  * Sets the absolute challenge reward points balance for an account.
877
903
  * Update challenge reward balance
@@ -3214,6 +3214,59 @@ var AdminApi = /** @class */ (function (_super) {
3214
3214
  });
3215
3215
  });
3216
3216
  };
3217
+ /**
3218
+ * Picks the domain for the public showcase on the website. Idempotent: showcasing an already showcased domain keeps its original position in the showcase.
3219
+ * Showcase domain
3220
+ */
3221
+ AdminApi.prototype.showcaseDomainRaw = function (requestParameters, initOverrides) {
3222
+ return __awaiter(this, void 0, void 0, function () {
3223
+ var queryParameters, headerParameters, token, tokenString, response;
3224
+ return __generator(this, function (_a) {
3225
+ switch (_a.label) {
3226
+ case 0:
3227
+ if (requestParameters['domainId'] == null) {
3228
+ throw new runtime.RequiredError('domainId', 'Required parameter "domainId" was null or undefined when calling showcaseDomain().');
3229
+ }
3230
+ queryParameters = {};
3231
+ headerParameters = {};
3232
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
3233
+ token = this.configuration.accessToken;
3234
+ return [4 /*yield*/, token("bearer", [])];
3235
+ case 1:
3236
+ tokenString = _a.sent();
3237
+ if (tokenString) {
3238
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
3239
+ }
3240
+ _a.label = 2;
3241
+ case 2: return [4 /*yield*/, this.request({
3242
+ path: "/admin/domains/{domainId}/showcase".replace("{".concat("domainId", "}"), encodeURIComponent(String(requestParameters['domainId']))),
3243
+ method: 'PUT',
3244
+ headers: headerParameters,
3245
+ query: queryParameters,
3246
+ }, initOverrides)];
3247
+ case 3:
3248
+ response = _a.sent();
3249
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
3250
+ }
3251
+ });
3252
+ });
3253
+ };
3254
+ /**
3255
+ * Picks the domain for the public showcase on the website. Idempotent: showcasing an already showcased domain keeps its original position in the showcase.
3256
+ * Showcase domain
3257
+ */
3258
+ AdminApi.prototype.showcaseDomain = function (requestParameters, initOverrides) {
3259
+ return __awaiter(this, void 0, void 0, function () {
3260
+ return __generator(this, function (_a) {
3261
+ switch (_a.label) {
3262
+ case 0: return [4 /*yield*/, this.showcaseDomainRaw(requestParameters, initOverrides)];
3263
+ case 1:
3264
+ _a.sent();
3265
+ return [2 /*return*/];
3266
+ }
3267
+ });
3268
+ });
3269
+ };
3217
3270
  /**
3218
3271
  * Evaluates the commission percentage for a given scenario without persisting any changes.
3219
3272
  * Simulate commission percentage
@@ -3430,6 +3483,59 @@ var AdminApi = /** @class */ (function (_super) {
3430
3483
  });
3431
3484
  });
3432
3485
  };
3486
+ /**
3487
+ * Drops the domain from the public showcase on the website. Idempotent.
3488
+ * Remove domain from the showcase
3489
+ */
3490
+ AdminApi.prototype.unshowcaseDomainRaw = function (requestParameters, initOverrides) {
3491
+ return __awaiter(this, void 0, void 0, function () {
3492
+ var queryParameters, headerParameters, token, tokenString, response;
3493
+ return __generator(this, function (_a) {
3494
+ switch (_a.label) {
3495
+ case 0:
3496
+ if (requestParameters['domainId'] == null) {
3497
+ throw new runtime.RequiredError('domainId', 'Required parameter "domainId" was null or undefined when calling unshowcaseDomain().');
3498
+ }
3499
+ queryParameters = {};
3500
+ headerParameters = {};
3501
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
3502
+ token = this.configuration.accessToken;
3503
+ return [4 /*yield*/, token("bearer", [])];
3504
+ case 1:
3505
+ tokenString = _a.sent();
3506
+ if (tokenString) {
3507
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
3508
+ }
3509
+ _a.label = 2;
3510
+ case 2: return [4 /*yield*/, this.request({
3511
+ path: "/admin/domains/{domainId}/showcase".replace("{".concat("domainId", "}"), encodeURIComponent(String(requestParameters['domainId']))),
3512
+ method: 'DELETE',
3513
+ headers: headerParameters,
3514
+ query: queryParameters,
3515
+ }, initOverrides)];
3516
+ case 3:
3517
+ response = _a.sent();
3518
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
3519
+ }
3520
+ });
3521
+ });
3522
+ };
3523
+ /**
3524
+ * Drops the domain from the public showcase on the website. Idempotent.
3525
+ * Remove domain from the showcase
3526
+ */
3527
+ AdminApi.prototype.unshowcaseDomain = function (requestParameters, initOverrides) {
3528
+ return __awaiter(this, void 0, void 0, function () {
3529
+ return __generator(this, function (_a) {
3530
+ switch (_a.label) {
3531
+ case 0: return [4 /*yield*/, this.unshowcaseDomainRaw(requestParameters, initOverrides)];
3532
+ case 1:
3533
+ _a.sent();
3534
+ return [2 /*return*/];
3535
+ }
3536
+ });
3537
+ });
3538
+ };
3433
3539
  /**
3434
3540
  * Sets the absolute challenge reward points balance for an account.
3435
3541
  * Update challenge reward balance
@@ -29,22 +29,22 @@ export interface AuctionsApiGetAllAuctionsRequest {
29
29
  */
30
30
  export declare class AuctionsApi extends runtime.BaseAPI {
31
31
  /**
32
- * Deletes a scheduled auction owned by the seller account.
32
+ * Deletes a scheduled auction owned by the seller account. **API key scope required:** `AUCTIONS_WRITE`. Requests authenticated with a seller session do not need any scope.
33
33
  * Delete auction
34
34
  */
35
35
  deleteAuctionRaw(requestParameters: AuctionsApiDeleteAuctionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
36
36
  /**
37
- * Deletes a scheduled auction owned by the seller account.
37
+ * Deletes a scheduled auction owned by the seller account. **API key scope required:** `AUCTIONS_WRITE`. Requests authenticated with a seller session do not need any scope.
38
38
  * Delete auction
39
39
  */
40
40
  deleteAuction(requestParameters: AuctionsApiDeleteAuctionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
41
41
  /**
42
- * Lists auctions for the seller account.
42
+ * Lists auctions for the seller account. **API key scope required:** `AUCTIONS_READ`. Requests authenticated with a seller session do not need any scope.
43
43
  * List seller auctions
44
44
  */
45
45
  getAllAuctionsRaw(requestParameters: AuctionsApiGetAllAuctionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAllAuctions200Response1>>;
46
46
  /**
47
- * Lists auctions for the seller account.
47
+ * Lists auctions for the seller account. **API key scope required:** `AUCTIONS_READ`. Requests authenticated with a seller session do not need any scope.
48
48
  * List seller auctions
49
49
  */
50
50
  getAllAuctions(requestParameters?: AuctionsApiGetAllAuctionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAllAuctions200Response1>;
@@ -76,44 +76,52 @@ var AuctionsApi = /** @class */ (function (_super) {
76
76
  return _super !== null && _super.apply(this, arguments) || this;
77
77
  }
78
78
  /**
79
- * Deletes a scheduled auction owned by the seller account.
79
+ * Deletes a scheduled auction owned by the seller account. **API key scope required:** `AUCTIONS_WRITE`. Requests authenticated with a seller session do not need any scope.
80
80
  * Delete auction
81
81
  */
82
82
  AuctionsApi.prototype.deleteAuctionRaw = function (requestParameters, initOverrides) {
83
83
  return __awaiter(this, void 0, void 0, function () {
84
- var queryParameters, headerParameters, token, tokenString, response;
85
- return __generator(this, function (_a) {
86
- switch (_a.label) {
84
+ var queryParameters, headerParameters, _a, _b, token, tokenString, response;
85
+ return __generator(this, function (_c) {
86
+ switch (_c.label) {
87
87
  case 0:
88
88
  if (requestParameters['auctionId'] == null) {
89
89
  throw new runtime.RequiredError('auctionId', 'Required parameter "auctionId" was null or undefined when calling deleteAuction().');
90
90
  }
91
91
  queryParameters = {};
92
92
  headerParameters = {};
93
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
93
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
94
+ _a = headerParameters;
95
+ _b = "apikey";
96
+ return [4 /*yield*/, this.configuration.apiKey("apikey")];
97
+ case 1:
98
+ _a[_b] = _c.sent(); // api_key authentication
99
+ _c.label = 2;
100
+ case 2:
101
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
94
102
  token = this.configuration.accessToken;
95
103
  return [4 /*yield*/, token("bearer", [])];
96
- case 1:
97
- tokenString = _a.sent();
104
+ case 3:
105
+ tokenString = _c.sent();
98
106
  if (tokenString) {
99
107
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
100
108
  }
101
- _a.label = 2;
102
- case 2: return [4 /*yield*/, this.request({
109
+ _c.label = 4;
110
+ case 4: return [4 /*yield*/, this.request({
103
111
  path: "/private/auctions/{auctionId}".replace("{".concat("auctionId", "}"), encodeURIComponent(String(requestParameters['auctionId']))),
104
112
  method: 'DELETE',
105
113
  headers: headerParameters,
106
114
  query: queryParameters,
107
115
  }, initOverrides)];
108
- case 3:
109
- response = _a.sent();
116
+ case 5:
117
+ response = _c.sent();
110
118
  return [2 /*return*/, new runtime.VoidApiResponse(response)];
111
119
  }
112
120
  });
113
121
  });
114
122
  };
115
123
  /**
116
- * Deletes a scheduled auction owned by the seller account.
124
+ * Deletes a scheduled auction owned by the seller account. **API key scope required:** `AUCTIONS_WRITE`. Requests authenticated with a seller session do not need any scope.
117
125
  * Delete auction
118
126
  */
119
127
  AuctionsApi.prototype.deleteAuction = function (requestParameters, initOverrides) {
@@ -129,14 +137,14 @@ var AuctionsApi = /** @class */ (function (_super) {
129
137
  });
130
138
  };
131
139
  /**
132
- * Lists auctions for the seller account.
140
+ * Lists auctions for the seller account. **API key scope required:** `AUCTIONS_READ`. Requests authenticated with a seller session do not need any scope.
133
141
  * List seller auctions
134
142
  */
135
143
  AuctionsApi.prototype.getAllAuctionsRaw = function (requestParameters, initOverrides) {
136
144
  return __awaiter(this, void 0, void 0, function () {
137
- var queryParameters, headerParameters, token, tokenString, response;
138
- return __generator(this, function (_a) {
139
- switch (_a.label) {
145
+ var queryParameters, headerParameters, _a, _b, token, tokenString, response;
146
+ return __generator(this, function (_c) {
147
+ switch (_c.label) {
140
148
  case 0:
141
149
  queryParameters = {};
142
150
  if (requestParameters['filter'] != null) {
@@ -158,30 +166,38 @@ var AuctionsApi = /** @class */ (function (_super) {
158
166
  queryParameters['filter[status]'] = requestParameters['filterStatus'];
159
167
  }
160
168
  headerParameters = {};
161
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
169
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
170
+ _a = headerParameters;
171
+ _b = "apikey";
172
+ return [4 /*yield*/, this.configuration.apiKey("apikey")];
173
+ case 1:
174
+ _a[_b] = _c.sent(); // api_key authentication
175
+ _c.label = 2;
176
+ case 2:
177
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
162
178
  token = this.configuration.accessToken;
163
179
  return [4 /*yield*/, token("bearer", [])];
164
- case 1:
165
- tokenString = _a.sent();
180
+ case 3:
181
+ tokenString = _c.sent();
166
182
  if (tokenString) {
167
183
  headerParameters["Authorization"] = "Bearer ".concat(tokenString);
168
184
  }
169
- _a.label = 2;
170
- case 2: return [4 /*yield*/, this.request({
185
+ _c.label = 4;
186
+ case 4: return [4 /*yield*/, this.request({
171
187
  path: "/private/auctions",
172
188
  method: 'GET',
173
189
  headers: headerParameters,
174
190
  query: queryParameters,
175
191
  }, initOverrides)];
176
- case 3:
177
- response = _a.sent();
192
+ case 5:
193
+ response = _c.sent();
178
194
  return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetAllAuctions200Response1FromJSON)(jsonValue); })];
179
195
  }
180
196
  });
181
197
  });
182
198
  };
183
199
  /**
184
- * Lists auctions for the seller account.
200
+ * Lists auctions for the seller account. **API key scope required:** `AUCTIONS_READ`. Requests authenticated with a seller session do not need any scope.
185
201
  * List seller auctions
186
202
  */
187
203
  AuctionsApi.prototype.getAllAuctions = function () {
@@ -35,52 +35,52 @@ export interface BankAccountsApiMakeBankAccountPrimaryRequest {
35
35
  */
36
36
  export declare class BankAccountsApi extends runtime.BaseAPI {
37
37
  /**
38
- * Adds a new bank account for payouts to the current seller account.
38
+ * Adds a new bank account for payouts to the current seller account. **API key scope required:** `PAYOUTS_WRITE`. Requests authenticated with a seller session do not need any scope.
39
39
  * Create bank account
40
40
  */
41
41
  createBankAccountRaw(requestParameters: BankAccountsApiCreateBankAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
42
42
  /**
43
- * Adds a new bank account for payouts to the current seller account.
43
+ * Adds a new bank account for payouts to the current seller account. **API key scope required:** `PAYOUTS_WRITE`. Requests authenticated with a seller session do not need any scope.
44
44
  * Create bank account
45
45
  */
46
46
  createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
47
47
  /**
48
- * Removes a bank account from the current seller account.
48
+ * Removes a bank account from the current seller account. **API key scope required:** `PAYOUTS_WRITE`. Requests authenticated with a seller session do not need any scope.
49
49
  * Delete bank account
50
50
  */
51
51
  deleteBankAccountRaw(requestParameters: BankAccountsApiDeleteBankAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
52
52
  /**
53
- * Removes a bank account from the current seller account.
53
+ * Removes a bank account from the current seller account. **API key scope required:** `PAYOUTS_WRITE`. Requests authenticated with a seller session do not need any scope.
54
54
  * Delete bank account
55
55
  */
56
56
  deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
57
57
  /**
58
- * Returns bank account details to use for microdeposit verification.
58
+ * Returns bank account details to use for microdeposit verification. **API key scope required:** `PAYOUTS_READ`. Requests authenticated with a seller session do not need any scope.
59
59
  * Get microdeposit bank account details
60
60
  */
61
61
  getBankAccountToUseForMicrodepositRaw(requestParameters: BankAccountsApiGetBankAccountToUseForMicrodepositRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AirwallexBankAccountDetailsDto>>;
62
62
  /**
63
- * Returns bank account details to use for microdeposit verification.
63
+ * Returns bank account details to use for microdeposit verification. **API key scope required:** `PAYOUTS_READ`. Requests authenticated with a seller session do not need any scope.
64
64
  * Get microdeposit bank account details
65
65
  */
66
66
  getBankAccountToUseForMicrodeposit(requestParameters: BankAccountsApiGetBankAccountToUseForMicrodepositRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AirwallexBankAccountDetailsDto>;
67
67
  /**
68
- * Returns all bank accounts configured for the current seller account.
68
+ * Returns all bank accounts configured for the current seller account. **API key scope required:** `PAYOUTS_READ`. Requests authenticated with a seller session do not need any scope.
69
69
  * List bank accounts
70
70
  */
71
71
  listBankAccountsRaw(requestParameters: BankAccountsApiListBankAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<AccountBankAccountDto>>>;
72
72
  /**
73
- * Returns all bank accounts configured for the current seller account.
73
+ * Returns all bank accounts configured for the current seller account. **API key scope required:** `PAYOUTS_READ`. Requests authenticated with a seller session do not need any scope.
74
74
  * List bank accounts
75
75
  */
76
76
  listBankAccounts(requestParameters: BankAccountsApiListBankAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AccountBankAccountDto>>;
77
77
  /**
78
- * Sets the specified bank account as the primary payout destination.
78
+ * Sets the specified bank account as the primary payout destination. **API key scope required:** `PAYOUTS_WRITE`. Requests authenticated with a seller session do not need any scope.
79
79
  * Set primary bank account
80
80
  */
81
81
  makeBankAccountPrimaryRaw(requestParameters: BankAccountsApiMakeBankAccountPrimaryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
82
82
  /**
83
- * Sets the specified bank account as the primary payout destination.
83
+ * Sets the specified bank account as the primary payout destination. **API key scope required:** `PAYOUTS_WRITE`. Requests authenticated with a seller session do not need any scope.
84
84
  * Set primary bank account
85
85
  */
86
86
  makeBankAccountPrimary(requestParameters: BankAccountsApiMakeBankAccountPrimaryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;