@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
@@ -50,7 +50,7 @@ export interface AuctionsApiGetAllAuctionsRequest {
50
50
  export class AuctionsApi extends runtime.BaseAPI {
51
51
 
52
52
  /**
53
- * Deletes a scheduled auction owned by the seller account.
53
+ * 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.
54
54
  * Delete auction
55
55
  */
56
56
  async deleteAuctionRaw(requestParameters: AuctionsApiDeleteAuctionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
@@ -65,6 +65,10 @@ export class AuctionsApi extends runtime.BaseAPI {
65
65
 
66
66
  const headerParameters: runtime.HTTPHeaders = {};
67
67
 
68
+ if (this.configuration && this.configuration.apiKey) {
69
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
70
+ }
71
+
68
72
  if (this.configuration && this.configuration.accessToken) {
69
73
  const token = this.configuration.accessToken;
70
74
  const tokenString = await token("bearer", []);
@@ -84,7 +88,7 @@ export class AuctionsApi extends runtime.BaseAPI {
84
88
  }
85
89
 
86
90
  /**
87
- * Deletes a scheduled auction owned by the seller account.
91
+ * 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.
88
92
  * Delete auction
89
93
  */
90
94
  async deleteAuction(requestParameters: AuctionsApiDeleteAuctionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
@@ -92,7 +96,7 @@ export class AuctionsApi extends runtime.BaseAPI {
92
96
  }
93
97
 
94
98
  /**
95
- * Lists auctions for the seller account.
99
+ * Lists auctions for the seller account. **API key scope required:** `AUCTIONS_READ`. Requests authenticated with a seller session do not need any scope.
96
100
  * List seller auctions
97
101
  */
98
102
  async getAllAuctionsRaw(requestParameters: AuctionsApiGetAllAuctionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAllAuctions200Response1>> {
@@ -124,6 +128,10 @@ export class AuctionsApi extends runtime.BaseAPI {
124
128
 
125
129
  const headerParameters: runtime.HTTPHeaders = {};
126
130
 
131
+ if (this.configuration && this.configuration.apiKey) {
132
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
133
+ }
134
+
127
135
  if (this.configuration && this.configuration.accessToken) {
128
136
  const token = this.configuration.accessToken;
129
137
  const tokenString = await token("bearer", []);
@@ -143,7 +151,7 @@ export class AuctionsApi extends runtime.BaseAPI {
143
151
  }
144
152
 
145
153
  /**
146
- * Lists auctions for the seller account.
154
+ * Lists auctions for the seller account. **API key scope required:** `AUCTIONS_READ`. Requests authenticated with a seller session do not need any scope.
147
155
  * List seller auctions
148
156
  */
149
157
  async getAllAuctions(requestParameters: AuctionsApiGetAllAuctionsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAllAuctions200Response1> {
@@ -61,7 +61,7 @@ export interface BankAccountsApiMakeBankAccountPrimaryRequest {
61
61
  export class BankAccountsApi extends runtime.BaseAPI {
62
62
 
63
63
  /**
64
- * Adds a new bank account for payouts to the current seller account.
64
+ * 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.
65
65
  * Create bank account
66
66
  */
67
67
  async createBankAccountRaw(requestParameters: BankAccountsApiCreateBankAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
@@ -85,6 +85,10 @@ export class BankAccountsApi extends runtime.BaseAPI {
85
85
 
86
86
  headerParameters['Content-Type'] = 'application/json';
87
87
 
88
+ if (this.configuration && this.configuration.apiKey) {
89
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
90
+ }
91
+
88
92
  if (this.configuration && this.configuration.accessToken) {
89
93
  const token = this.configuration.accessToken;
90
94
  const tokenString = await token("bearer", []);
@@ -105,7 +109,7 @@ export class BankAccountsApi extends runtime.BaseAPI {
105
109
  }
106
110
 
107
111
  /**
108
- * Adds a new bank account for payouts to the current seller account.
112
+ * 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.
109
113
  * Create bank account
110
114
  */
111
115
  async createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
@@ -113,7 +117,7 @@ export class BankAccountsApi extends runtime.BaseAPI {
113
117
  }
114
118
 
115
119
  /**
116
- * Removes a bank account from the current seller account.
120
+ * 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.
117
121
  * Delete bank account
118
122
  */
119
123
  async deleteBankAccountRaw(requestParameters: BankAccountsApiDeleteBankAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
@@ -135,6 +139,10 @@ export class BankAccountsApi extends runtime.BaseAPI {
135
139
 
136
140
  const headerParameters: runtime.HTTPHeaders = {};
137
141
 
142
+ if (this.configuration && this.configuration.apiKey) {
143
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
144
+ }
145
+
138
146
  if (this.configuration && this.configuration.accessToken) {
139
147
  const token = this.configuration.accessToken;
140
148
  const tokenString = await token("bearer", []);
@@ -154,7 +162,7 @@ export class BankAccountsApi extends runtime.BaseAPI {
154
162
  }
155
163
 
156
164
  /**
157
- * Removes a bank account from the current seller account.
165
+ * 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.
158
166
  * Delete bank account
159
167
  */
160
168
  async deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
@@ -162,7 +170,7 @@ export class BankAccountsApi extends runtime.BaseAPI {
162
170
  }
163
171
 
164
172
  /**
165
- * Returns bank account details to use for microdeposit verification.
173
+ * 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.
166
174
  * Get microdeposit bank account details
167
175
  */
168
176
  async getBankAccountToUseForMicrodepositRaw(requestParameters: BankAccountsApiGetBankAccountToUseForMicrodepositRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AirwallexBankAccountDetailsDto>> {
@@ -184,6 +192,10 @@ export class BankAccountsApi extends runtime.BaseAPI {
184
192
 
185
193
  const headerParameters: runtime.HTTPHeaders = {};
186
194
 
195
+ if (this.configuration && this.configuration.apiKey) {
196
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
197
+ }
198
+
187
199
  if (this.configuration && this.configuration.accessToken) {
188
200
  const token = this.configuration.accessToken;
189
201
  const tokenString = await token("bearer", []);
@@ -203,7 +215,7 @@ export class BankAccountsApi extends runtime.BaseAPI {
203
215
  }
204
216
 
205
217
  /**
206
- * Returns bank account details to use for microdeposit verification.
218
+ * 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.
207
219
  * Get microdeposit bank account details
208
220
  */
209
221
  async getBankAccountToUseForMicrodeposit(requestParameters: BankAccountsApiGetBankAccountToUseForMicrodepositRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AirwallexBankAccountDetailsDto> {
@@ -212,7 +224,7 @@ export class BankAccountsApi extends runtime.BaseAPI {
212
224
  }
213
225
 
214
226
  /**
215
- * Returns all bank accounts configured for the current seller account.
227
+ * 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.
216
228
  * List bank accounts
217
229
  */
218
230
  async listBankAccountsRaw(requestParameters: BankAccountsApiListBankAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<AccountBankAccountDto>>> {
@@ -227,6 +239,10 @@ export class BankAccountsApi extends runtime.BaseAPI {
227
239
 
228
240
  const headerParameters: runtime.HTTPHeaders = {};
229
241
 
242
+ if (this.configuration && this.configuration.apiKey) {
243
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
244
+ }
245
+
230
246
  if (this.configuration && this.configuration.accessToken) {
231
247
  const token = this.configuration.accessToken;
232
248
  const tokenString = await token("bearer", []);
@@ -246,7 +262,7 @@ export class BankAccountsApi extends runtime.BaseAPI {
246
262
  }
247
263
 
248
264
  /**
249
- * Returns all bank accounts configured for the current seller account.
265
+ * 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.
250
266
  * List bank accounts
251
267
  */
252
268
  async listBankAccounts(requestParameters: BankAccountsApiListBankAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AccountBankAccountDto>> {
@@ -255,7 +271,7 @@ export class BankAccountsApi extends runtime.BaseAPI {
255
271
  }
256
272
 
257
273
  /**
258
- * Sets the specified bank account as the primary payout destination.
274
+ * 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.
259
275
  * Set primary bank account
260
276
  */
261
277
  async makeBankAccountPrimaryRaw(requestParameters: BankAccountsApiMakeBankAccountPrimaryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
@@ -277,6 +293,10 @@ export class BankAccountsApi extends runtime.BaseAPI {
277
293
 
278
294
  const headerParameters: runtime.HTTPHeaders = {};
279
295
 
296
+ if (this.configuration && this.configuration.apiKey) {
297
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
298
+ }
299
+
280
300
  if (this.configuration && this.configuration.accessToken) {
281
301
  const token = this.configuration.accessToken;
282
302
  const tokenString = await token("bearer", []);
@@ -296,7 +316,7 @@ export class BankAccountsApi extends runtime.BaseAPI {
296
316
  }
297
317
 
298
318
  /**
299
- * Sets the specified bank account as the primary payout destination.
319
+ * 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.
300
320
  * Set primary bank account
301
321
  */
302
322
  async makeBankAccountPrimary(requestParameters: BankAccountsApiMakeBankAccountPrimaryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
@@ -42,7 +42,7 @@ export interface ChallengesApiCollectChallengeRewardRequest {
42
42
  export class ChallengesApi extends runtime.BaseAPI {
43
43
 
44
44
  /**
45
- * Collects the reward points for a completed challenge progress entry.
45
+ * Collects the reward points for a completed challenge progress entry. **API key scope required:** `CHALLENGES_WRITE`. Requests authenticated with a seller session do not need any scope.
46
46
  * Collect challenge reward
47
47
  */
48
48
  async collectChallengeRewardRaw(requestParameters: ChallengesApiCollectChallengeRewardRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
@@ -64,6 +64,10 @@ export class ChallengesApi extends runtime.BaseAPI {
64
64
 
65
65
  const headerParameters: runtime.HTTPHeaders = {};
66
66
 
67
+ if (this.configuration && this.configuration.apiKey) {
68
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
69
+ }
70
+
67
71
  if (this.configuration && this.configuration.accessToken) {
68
72
  const token = this.configuration.accessToken;
69
73
  const tokenString = await token("bearer", []);
@@ -83,7 +87,7 @@ export class ChallengesApi extends runtime.BaseAPI {
83
87
  }
84
88
 
85
89
  /**
86
- * Collects the reward points for a completed challenge progress entry.
90
+ * Collects the reward points for a completed challenge progress entry. **API key scope required:** `CHALLENGES_WRITE`. Requests authenticated with a seller session do not need any scope.
87
91
  * Collect challenge reward
88
92
  */
89
93
  async collectChallengeReward(requestParameters: ChallengesApiCollectChallengeRewardRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
@@ -91,7 +95,7 @@ export class ChallengesApi extends runtime.BaseAPI {
91
95
  }
92
96
 
93
97
  /**
94
- * Returns the list of challenge reward usages for the current seller account.
98
+ * Returns the list of challenge reward usages for the current seller account. **API key scope required:** `CHALLENGES_READ`. Requests authenticated with a seller session do not need any scope.
95
99
  * Get challenge reward usages
96
100
  */
97
101
  async getAccountChallengeRewardUsagesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAccountChallengeRewardUsagesListDto>> {
@@ -99,6 +103,10 @@ export class ChallengesApi extends runtime.BaseAPI {
99
103
 
100
104
  const headerParameters: runtime.HTTPHeaders = {};
101
105
 
106
+ if (this.configuration && this.configuration.apiKey) {
107
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
108
+ }
109
+
102
110
  if (this.configuration && this.configuration.accessToken) {
103
111
  const token = this.configuration.accessToken;
104
112
  const tokenString = await token("bearer", []);
@@ -118,7 +126,7 @@ export class ChallengesApi extends runtime.BaseAPI {
118
126
  }
119
127
 
120
128
  /**
121
- * Returns the list of challenge reward usages for the current seller account.
129
+ * Returns the list of challenge reward usages for the current seller account. **API key scope required:** `CHALLENGES_READ`. Requests authenticated with a seller session do not need any scope.
122
130
  * Get challenge reward usages
123
131
  */
124
132
  async getAccountChallengeRewardUsages(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAccountChallengeRewardUsagesListDto> {
@@ -127,7 +135,7 @@ export class ChallengesApi extends runtime.BaseAPI {
127
135
  }
128
136
 
129
137
  /**
130
- * Lists active challenges for the seller account.
138
+ * Lists active challenges for the seller account. **API key scope required:** `CHALLENGES_READ`. Requests authenticated with a seller session do not need any scope.
131
139
  * Get seller challenges
132
140
  */
133
141
  async getChallengesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetSellerChallengesListDto>> {
@@ -135,6 +143,10 @@ export class ChallengesApi extends runtime.BaseAPI {
135
143
 
136
144
  const headerParameters: runtime.HTTPHeaders = {};
137
145
 
146
+ if (this.configuration && this.configuration.apiKey) {
147
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
148
+ }
149
+
138
150
  if (this.configuration && this.configuration.accessToken) {
139
151
  const token = this.configuration.accessToken;
140
152
  const tokenString = await token("bearer", []);
@@ -154,7 +166,7 @@ export class ChallengesApi extends runtime.BaseAPI {
154
166
  }
155
167
 
156
168
  /**
157
- * Lists active challenges for the seller account.
169
+ * Lists active challenges for the seller account. **API key scope required:** `CHALLENGES_READ`. Requests authenticated with a seller session do not need any scope.
158
170
  * Get seller challenges
159
171
  */
160
172
  async getChallenges(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetSellerChallengesListDto> {
@@ -31,7 +31,7 @@ import {
31
31
  export class DomainTransfersApi extends runtime.BaseAPI {
32
32
 
33
33
  /**
34
- * Returns TLD-specific transfer requirements and information for the current seller account.
34
+ * Returns TLD-specific transfer requirements and information for the current seller account. **API key scope required:** `TRANSFERS_READ`. Requests authenticated with a seller session do not need any scope.
35
35
  * Get domain transfer TLD information
36
36
  */
37
37
  async getDomainTransferTldsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainTransferTldInformationDto>> {
@@ -39,6 +39,10 @@ export class DomainTransfersApi extends runtime.BaseAPI {
39
39
 
40
40
  const headerParameters: runtime.HTTPHeaders = {};
41
41
 
42
+ if (this.configuration && this.configuration.apiKey) {
43
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
44
+ }
45
+
42
46
  if (this.configuration && this.configuration.accessToken) {
43
47
  const token = this.configuration.accessToken;
44
48
  const tokenString = await token("bearer", []);
@@ -58,7 +62,7 @@ export class DomainTransfersApi extends runtime.BaseAPI {
58
62
  }
59
63
 
60
64
  /**
61
- * Returns TLD-specific transfer requirements and information for the current seller account.
65
+ * Returns TLD-specific transfer requirements and information for the current seller account. **API key scope required:** `TRANSFERS_READ`. Requests authenticated with a seller session do not need any scope.
62
66
  * Get domain transfer TLD information
63
67
  */
64
68
  async getDomainTransferTlds(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainTransferTldInformationDto> {