@randock/nameshift-api-client 0.0.448 → 0.0.450
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 +12 -0
- package/README.md +3 -3
- package/dist/apis/APIKeysApi.d.ts +78 -0
- package/dist/apis/APIKeysApi.js +354 -0
- package/dist/apis/AccountsApi.d.ts +36 -36
- package/dist/apis/AccountsApi.js +360 -216
- package/dist/apis/AdminApi.d.ts +37 -1
- package/dist/apis/AdminApi.js +122 -1
- package/dist/apis/AuctionsApi.d.ts +4 -4
- package/dist/apis/AuctionsApi.js +40 -24
- package/dist/apis/BankAccountsApi.d.ts +10 -10
- package/dist/apis/BankAccountsApi.js +100 -60
- package/dist/apis/ChallengesApi.d.ts +6 -6
- package/dist/apis/ChallengesApi.js +60 -36
- package/dist/apis/DomainTransfersApi.d.ts +2 -2
- package/dist/apis/DomainTransfersApi.js +20 -12
- package/dist/apis/DomainsApi.d.ts +44 -44
- package/dist/apis/DomainsApi.js +440 -264
- package/dist/apis/EppApi.d.ts +2 -2
- package/dist/apis/EppApi.js +20 -12
- package/dist/apis/InvoicesApi.d.ts +6 -6
- package/dist/apis/InvoicesApi.js +60 -36
- package/dist/apis/LeadsApi.d.ts +38 -38
- package/dist/apis/LeadsApi.js +380 -228
- package/dist/apis/MarketplacesApi.d.ts +89 -0
- package/dist/apis/MarketplacesApi.js +332 -0
- package/dist/apis/NotificationsApi.d.ts +8 -8
- package/dist/apis/NotificationsApi.js +80 -48
- package/dist/apis/StatsApi.d.ts +14 -14
- package/dist/apis/StatsApi.js +140 -84
- package/dist/apis/SubscriptionsApi.d.ts +2 -2
- package/dist/apis/SubscriptionsApi.js +20 -12
- package/dist/apis/TasksApi.d.ts +6 -6
- package/dist/apis/TasksApi.js +60 -36
- package/dist/apis/UsersApi.d.ts +10 -10
- package/dist/apis/UsersApi.js +100 -60
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AccountMarketplaceDto.d.ts +56 -0
- package/dist/models/AccountMarketplaceDto.js +71 -0
- package/dist/models/AccountNameshiftCommissionBySubtypeDto.d.ts +1 -0
- package/dist/models/AccountNameshiftCommissionBySubtypeDto.js +1 -0
- package/dist/models/AccountNameshiftCommissionItemDto.d.ts +1 -0
- package/dist/models/AccountNameshiftCommissionItemDto.js +1 -0
- package/dist/models/AccountNameshiftCommissionReasonDto.d.ts +1 -0
- package/dist/models/AccountNameshiftCommissionReasonDto.js +1 -0
- package/dist/models/AccountSettingsDto.d.ts +18 -0
- package/dist/models/AccountSettingsDto.js +16 -0
- package/dist/models/AccountSettingsInput.d.ts +18 -0
- package/dist/models/AccountSettingsInput.js +14 -0
- package/dist/models/AdminDomainListItemDto.d.ts +19 -0
- package/dist/models/AdminDomainListItemDto.js +17 -1
- package/dist/models/AdminMarketplaceDto.d.ts +86 -0
- package/dist/models/AdminMarketplaceDto.js +91 -0
- package/dist/models/ApiKeyDto.d.ts +107 -0
- package/dist/models/ApiKeyDto.js +114 -0
- package/dist/models/ApiKeyScopeDto.d.ts +83 -0
- package/dist/models/ApiKeyScopeDto.js +98 -0
- package/dist/models/CommissionDto.d.ts +1 -0
- package/dist/models/CommissionDto.js +1 -0
- package/dist/models/CommissionPayloadInput.d.ts +1 -0
- package/dist/models/CommissionPayloadInput.js +1 -0
- package/dist/models/CommissionReasonDto.d.ts +1 -0
- package/dist/models/CommissionReasonDto.js +1 -0
- package/dist/models/CommissionSimulationItemInput.d.ts +1 -0
- package/dist/models/CommissionSimulationItemInput.js +1 -0
- package/dist/models/CreateApiKeyInput.d.ts +83 -0
- package/dist/models/CreateApiKeyInput.js +96 -0
- package/dist/models/CreateOrderInput.d.ts +6 -0
- package/dist/models/CreateOrderInput.js +2 -0
- package/dist/models/CreateSubscriptionInput.d.ts +6 -0
- package/dist/models/CreateSubscriptionInput.js +2 -0
- package/dist/models/CreatedApiKeyDto.d.ts +113 -0
- package/dist/models/CreatedApiKeyDto.js +118 -0
- package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
- package/dist/models/FeatureFlagListItemDto.js +2 -1
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +18 -0
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +16 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +18 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +16 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +18 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +16 -0
- package/dist/models/MarketplaceDto.d.ts +74 -0
- package/dist/models/MarketplaceDto.js +83 -0
- package/dist/models/OrderDto.d.ts +7 -1
- package/dist/models/OrderDto.js +4 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/SetAccountMarketplaceInput.d.ts +32 -0
- package/dist/models/SetAccountMarketplaceInput.js +51 -0
- package/dist/models/SimulateCommissionInput.d.ts +1 -0
- package/dist/models/SimulateCommissionInput.js +1 -0
- package/dist/models/SubscriptionDto.d.ts +7 -1
- package/dist/models/SubscriptionDto.js +4 -0
- package/dist/models/UpdateApiKeyInput.d.ts +77 -0
- package/dist/models/UpdateApiKeyInput.js +90 -0
- package/dist/models/UpdateDomainInput.d.ts +18 -0
- package/dist/models/UpdateDomainInput.js +14 -0
- package/dist/models/UpdateMarketplaceInput.d.ts +44 -0
- package/dist/models/UpdateMarketplaceInput.js +53 -0
- package/dist/models/UpdateOrderInput.d.ts +6 -0
- package/dist/models/UpdateOrderInput.js +2 -0
- package/dist/models/UpdateSubscriptionInput.d.ts +6 -0
- package/dist/models/UpdateSubscriptionInput.js +2 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/package.json +1 -1
- package/src/apis/APIKeysApi.ts +271 -0
- package/src/apis/AccountsApi.ts +108 -36
- package/src/apis/AdminApi.ts +112 -0
- package/src/apis/AuctionsApi.ts +12 -4
- package/src/apis/BankAccountsApi.ts +30 -10
- package/src/apis/ChallengesApi.ts +18 -6
- package/src/apis/DomainTransfersApi.ts +6 -2
- package/src/apis/DomainsApi.ts +132 -44
- package/src/apis/EppApi.ts +6 -2
- package/src/apis/InvoicesApi.ts +18 -6
- package/src/apis/LeadsApi.ts +114 -38
- package/src/apis/MarketplacesApi.ts +240 -0
- package/src/apis/NotificationsApi.ts +24 -8
- package/src/apis/StatsApi.ts +42 -14
- package/src/apis/SubscriptionsApi.ts +6 -2
- package/src/apis/TasksApi.ts +18 -6
- package/src/apis/UsersApi.ts +30 -10
- package/src/apis/index.ts +2 -0
- package/src/models/AccountMarketplaceDto.ts +99 -0
- package/src/models/AccountNameshiftCommissionBySubtypeDto.ts +1 -0
- package/src/models/AccountNameshiftCommissionItemDto.ts +1 -0
- package/src/models/AccountNameshiftCommissionReasonDto.ts +1 -0
- package/src/models/AccountSettingsDto.ts +24 -0
- package/src/models/AccountSettingsInput.ts +23 -0
- package/src/models/AdminDomainListItemDto.ts +23 -0
- package/src/models/AdminMarketplaceDto.ts +144 -0
- package/src/models/ApiKeyDto.ts +162 -0
- package/src/models/ApiKeyScopeDto.ts +126 -0
- package/src/models/CommissionDto.ts +1 -0
- package/src/models/CommissionPayloadInput.ts +1 -0
- package/src/models/CommissionReasonDto.ts +1 -0
- package/src/models/CommissionSimulationItemInput.ts +1 -0
- package/src/models/CreateApiKeyInput.ts +125 -0
- package/src/models/CreateOrderInput.ts +8 -0
- package/src/models/CreateSubscriptionInput.ts +8 -0
- package/src/models/CreatedApiKeyDto.ts +171 -0
- package/src/models/FeatureFlagListItemDto.ts +2 -1
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +24 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +24 -0
- package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +24 -0
- package/src/models/MarketplaceDto.ts +126 -0
- package/src/models/OrderDto.ts +10 -1
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/SetAccountMarketplaceInput.ts +66 -0
- package/src/models/SimulateCommissionInput.ts +1 -0
- package/src/models/SubscriptionDto.ts +10 -1
- package/src/models/UpdateApiKeyInput.ts +115 -0
- package/src/models/UpdateDomainInput.ts +23 -0
- package/src/models/UpdateMarketplaceInput.ts +81 -0
- package/src/models/UpdateOrderInput.ts +8 -0
- package/src/models/UpdateSubscriptionInput.ts +8 -0
- package/src/models/index.ts +10 -0
package/src/apis/DomainsApi.ts
CHANGED
|
@@ -188,7 +188,7 @@ export interface DomainsApiUpdateDomainTransferIpsTagRequest {
|
|
|
188
188
|
export class DomainsApi extends runtime.BaseAPI {
|
|
189
189
|
|
|
190
190
|
/**
|
|
191
|
-
* Imports domains from an uploaded file or a list of domain names and queues them for processing.
|
|
191
|
+
* Imports domains from an uploaded file or a list of domain names and queues them for processing. **API key scope required:** `DOMAINS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
192
192
|
* Import domains
|
|
193
193
|
*/
|
|
194
194
|
async batchImportRaw(requestParameters: DomainsApiBatchImportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -196,6 +196,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
196
196
|
|
|
197
197
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
198
198
|
|
|
199
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
200
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
201
|
+
}
|
|
202
|
+
|
|
199
203
|
if (this.configuration && this.configuration.accessToken) {
|
|
200
204
|
const token = this.configuration.accessToken;
|
|
201
205
|
const tokenString = await token("bearer", []);
|
|
@@ -240,7 +244,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
240
244
|
}
|
|
241
245
|
|
|
242
246
|
/**
|
|
243
|
-
* Imports domains from an uploaded file or a list of domain names and queues them for processing.
|
|
247
|
+
* Imports domains from an uploaded file or a list of domain names and queues them for processing. **API key scope required:** `DOMAINS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
244
248
|
* Import domains
|
|
245
249
|
*/
|
|
246
250
|
async batchImport(requestParameters: DomainsApiBatchImportRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -248,7 +252,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
248
252
|
}
|
|
249
253
|
|
|
250
254
|
/**
|
|
251
|
-
* Uploads a domain import file and returns a preview of parsed domains before import.
|
|
255
|
+
* Uploads a domain import file and returns a preview of parsed domains before import. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
252
256
|
* Preview domain import
|
|
253
257
|
*/
|
|
254
258
|
async batchImportPreviewRaw(requestParameters: DomainsApiBatchImportPreviewRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BatchImportPreviewDto>> {
|
|
@@ -256,6 +260,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
256
260
|
|
|
257
261
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
258
262
|
|
|
263
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
264
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
265
|
+
}
|
|
266
|
+
|
|
259
267
|
if (this.configuration && this.configuration.accessToken) {
|
|
260
268
|
const token = this.configuration.accessToken;
|
|
261
269
|
const tokenString = await token("bearer", []);
|
|
@@ -296,7 +304,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
296
304
|
}
|
|
297
305
|
|
|
298
306
|
/**
|
|
299
|
-
* Uploads a domain import file and returns a preview of parsed domains before import.
|
|
307
|
+
* Uploads a domain import file and returns a preview of parsed domains before import. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
300
308
|
* Preview domain import
|
|
301
309
|
*/
|
|
302
310
|
async batchImportPreview(requestParameters: DomainsApiBatchImportPreviewRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BatchImportPreviewDto> {
|
|
@@ -305,7 +313,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
305
313
|
}
|
|
306
314
|
|
|
307
315
|
/**
|
|
308
|
-
* Applies the same settings update to multiple domains by ID.
|
|
316
|
+
* Applies the same settings update to multiple domains by ID. **API key scope required:** `DOMAINS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
309
317
|
* Batch update domains
|
|
310
318
|
*/
|
|
311
319
|
async batchUpdateRaw(requestParameters: DomainsApiBatchUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -322,6 +330,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
322
330
|
|
|
323
331
|
headerParameters['Content-Type'] = 'application/json';
|
|
324
332
|
|
|
333
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
334
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
335
|
+
}
|
|
336
|
+
|
|
325
337
|
if (this.configuration && this.configuration.accessToken) {
|
|
326
338
|
const token = this.configuration.accessToken;
|
|
327
339
|
const tokenString = await token("bearer", []);
|
|
@@ -342,7 +354,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
342
354
|
}
|
|
343
355
|
|
|
344
356
|
/**
|
|
345
|
-
* Applies the same settings update to multiple domains by ID.
|
|
357
|
+
* Applies the same settings update to multiple domains by ID. **API key scope required:** `DOMAINS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
346
358
|
* Batch update domains
|
|
347
359
|
*/
|
|
348
360
|
async batchUpdate(requestParameters: DomainsApiBatchUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -350,7 +362,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
350
362
|
}
|
|
351
363
|
|
|
352
364
|
/**
|
|
353
|
-
* Applies pricing and configuration updates to all domains matching the provided filter criteria.
|
|
365
|
+
* Applies pricing and configuration updates to all domains matching the provided filter criteria. **API key scope required:** `DOMAINS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
354
366
|
* Bulk update domains with filters
|
|
355
367
|
*/
|
|
356
368
|
async bulkUpdateDomainsWithFiltersRaw(requestParameters: DomainsApiBulkUpdateDomainsWithFiltersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -371,6 +383,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
371
383
|
|
|
372
384
|
headerParameters['Content-Type'] = 'application/json';
|
|
373
385
|
|
|
386
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
387
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
388
|
+
}
|
|
389
|
+
|
|
374
390
|
if (this.configuration && this.configuration.accessToken) {
|
|
375
391
|
const token = this.configuration.accessToken;
|
|
376
392
|
const tokenString = await token("bearer", []);
|
|
@@ -391,7 +407,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
391
407
|
}
|
|
392
408
|
|
|
393
409
|
/**
|
|
394
|
-
* Applies pricing and configuration updates to all domains matching the provided filter criteria.
|
|
410
|
+
* Applies pricing and configuration updates to all domains matching the provided filter criteria. **API key scope required:** `DOMAINS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
395
411
|
* Bulk update domains with filters
|
|
396
412
|
*/
|
|
397
413
|
async bulkUpdateDomainsWithFilters(requestParameters: DomainsApiBulkUpdateDomainsWithFiltersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -399,7 +415,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
399
415
|
}
|
|
400
416
|
|
|
401
417
|
/**
|
|
402
|
-
* Starts a nameserver verification check for a single domain.
|
|
418
|
+
* Starts a nameserver verification check for a single domain. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
403
419
|
* Check domain nameservers
|
|
404
420
|
*/
|
|
405
421
|
async checkDnsRaw(requestParameters: DomainsApiCheckDnsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -414,6 +430,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
414
430
|
|
|
415
431
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
416
432
|
|
|
433
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
434
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
435
|
+
}
|
|
436
|
+
|
|
417
437
|
if (this.configuration && this.configuration.accessToken) {
|
|
418
438
|
const token = this.configuration.accessToken;
|
|
419
439
|
const tokenString = await token("bearer", []);
|
|
@@ -433,7 +453,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
433
453
|
}
|
|
434
454
|
|
|
435
455
|
/**
|
|
436
|
-
* Starts a nameserver verification check for a single domain.
|
|
456
|
+
* Starts a nameserver verification check for a single domain. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
437
457
|
* Check domain nameservers
|
|
438
458
|
*/
|
|
439
459
|
async checkDns(requestParameters: DomainsApiCheckDnsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -441,7 +461,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
441
461
|
}
|
|
442
462
|
|
|
443
463
|
/**
|
|
444
|
-
* Starts a nameserver verification check for the specified domain IDs.
|
|
464
|
+
* Starts a nameserver verification check for the specified domain IDs. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
445
465
|
* Check nameservers for multiple domains
|
|
446
466
|
*/
|
|
447
467
|
async checkDnsBatchRaw(requestParameters: DomainsApiCheckDnsBatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -458,6 +478,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
458
478
|
|
|
459
479
|
headerParameters['Content-Type'] = 'application/json';
|
|
460
480
|
|
|
481
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
482
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
483
|
+
}
|
|
484
|
+
|
|
461
485
|
if (this.configuration && this.configuration.accessToken) {
|
|
462
486
|
const token = this.configuration.accessToken;
|
|
463
487
|
const tokenString = await token("bearer", []);
|
|
@@ -478,7 +502,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
478
502
|
}
|
|
479
503
|
|
|
480
504
|
/**
|
|
481
|
-
* Starts a nameserver verification check for the specified domain IDs.
|
|
505
|
+
* Starts a nameserver verification check for the specified domain IDs. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
482
506
|
* Check nameservers for multiple domains
|
|
483
507
|
*/
|
|
484
508
|
async checkDnsBatch(requestParameters: DomainsApiCheckDnsBatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -486,7 +510,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
486
510
|
}
|
|
487
511
|
|
|
488
512
|
/**
|
|
489
|
-
* Checks and updates the verification status of a domain owned by the seller.
|
|
513
|
+
* Checks and updates the verification status of a domain owned by the seller. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
490
514
|
* Check domain verification
|
|
491
515
|
*/
|
|
492
516
|
async checkDomainVerificationRaw(requestParameters: DomainsApiCheckDomainVerificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainVerificationStatusDto>> {
|
|
@@ -501,6 +525,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
501
525
|
|
|
502
526
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
503
527
|
|
|
528
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
529
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
530
|
+
}
|
|
531
|
+
|
|
504
532
|
if (this.configuration && this.configuration.accessToken) {
|
|
505
533
|
const token = this.configuration.accessToken;
|
|
506
534
|
const tokenString = await token("bearer", []);
|
|
@@ -520,7 +548,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
520
548
|
}
|
|
521
549
|
|
|
522
550
|
/**
|
|
523
|
-
* Checks and updates the verification status of a domain owned by the seller.
|
|
551
|
+
* Checks and updates the verification status of a domain owned by the seller. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
524
552
|
* Check domain verification
|
|
525
553
|
*/
|
|
526
554
|
async checkDomainVerification(requestParameters: DomainsApiCheckDomainVerificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainVerificationStatusDto> {
|
|
@@ -529,7 +557,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
529
557
|
}
|
|
530
558
|
|
|
531
559
|
/**
|
|
532
|
-
* Deletes multiple domains by ID. Domains with open leads or active auctions cannot be deleted.
|
|
560
|
+
* Deletes multiple domains by ID. Domains with open leads or active auctions cannot be deleted. **API key scope required:** `DOMAINS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
533
561
|
* Delete domains
|
|
534
562
|
*/
|
|
535
563
|
async deleteDomainsRaw(requestParameters: DomainsApiDeleteDomainsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -546,6 +574,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
546
574
|
|
|
547
575
|
headerParameters['Content-Type'] = 'application/json';
|
|
548
576
|
|
|
577
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
578
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
579
|
+
}
|
|
580
|
+
|
|
549
581
|
if (this.configuration && this.configuration.accessToken) {
|
|
550
582
|
const token = this.configuration.accessToken;
|
|
551
583
|
const tokenString = await token("bearer", []);
|
|
@@ -566,7 +598,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
566
598
|
}
|
|
567
599
|
|
|
568
600
|
/**
|
|
569
|
-
* Deletes multiple domains by ID. Domains with open leads or active auctions cannot be deleted.
|
|
601
|
+
* Deletes multiple domains by ID. Domains with open leads or active auctions cannot be deleted. **API key scope required:** `DOMAINS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
570
602
|
* Delete domains
|
|
571
603
|
*/
|
|
572
604
|
async deleteDomains(requestParameters: DomainsApiDeleteDomainsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -574,7 +606,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
574
606
|
}
|
|
575
607
|
|
|
576
608
|
/**
|
|
577
|
-
* Queues an export of all domains for the current seller account.
|
|
609
|
+
* Queues an export of all domains for the current seller account. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
578
610
|
* Export domains
|
|
579
611
|
*/
|
|
580
612
|
async exportDomainsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -582,6 +614,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
582
614
|
|
|
583
615
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
584
616
|
|
|
617
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
618
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
619
|
+
}
|
|
620
|
+
|
|
585
621
|
if (this.configuration && this.configuration.accessToken) {
|
|
586
622
|
const token = this.configuration.accessToken;
|
|
587
623
|
const tokenString = await token("bearer", []);
|
|
@@ -601,7 +637,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
601
637
|
}
|
|
602
638
|
|
|
603
639
|
/**
|
|
604
|
-
* Queues an export of all domains for the current seller account.
|
|
640
|
+
* Queues an export of all domains for the current seller account. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
605
641
|
* Export domains
|
|
606
642
|
*/
|
|
607
643
|
async exportDomains(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -609,7 +645,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
609
645
|
}
|
|
610
646
|
|
|
611
647
|
/**
|
|
612
|
-
* Returns the affiliate commission information for a domain owned by the seller.
|
|
648
|
+
* Returns the affiliate commission information for a domain owned by the seller. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
613
649
|
* Get domain affiliate commission
|
|
614
650
|
*/
|
|
615
651
|
async getAffiliateCommissionRaw(requestParameters: DomainsApiGetAffiliateCommissionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SellerDomainAffiliateCommissionDto>> {
|
|
@@ -628,6 +664,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
628
664
|
|
|
629
665
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
630
666
|
|
|
667
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
668
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
669
|
+
}
|
|
670
|
+
|
|
631
671
|
if (this.configuration && this.configuration.accessToken) {
|
|
632
672
|
const token = this.configuration.accessToken;
|
|
633
673
|
const tokenString = await token("bearer", []);
|
|
@@ -647,7 +687,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
647
687
|
}
|
|
648
688
|
|
|
649
689
|
/**
|
|
650
|
-
* Returns the affiliate commission information for a domain owned by the seller.
|
|
690
|
+
* Returns the affiliate commission information for a domain owned by the seller. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
651
691
|
* Get domain affiliate commission
|
|
652
692
|
*/
|
|
653
693
|
async getAffiliateCommission(requestParameters: DomainsApiGetAffiliateCommissionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SellerDomainAffiliateCommissionDto> {
|
|
@@ -656,7 +696,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
656
696
|
}
|
|
657
697
|
|
|
658
698
|
/**
|
|
659
|
-
* Lists domain transfers for the seller account.
|
|
699
|
+
* Lists domain transfers for the seller account. **API key scope required:** `TRANSFERS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
660
700
|
* List domain transfers
|
|
661
701
|
*/
|
|
662
702
|
async getAllDomainTransfersRaw(requestParameters: DomainsApiGetAllDomainTransfersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAllDomainTransfers200Response>> {
|
|
@@ -688,6 +728,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
688
728
|
|
|
689
729
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
690
730
|
|
|
731
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
732
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
733
|
+
}
|
|
734
|
+
|
|
691
735
|
if (this.configuration && this.configuration.accessToken) {
|
|
692
736
|
const token = this.configuration.accessToken;
|
|
693
737
|
const tokenString = await token("bearer", []);
|
|
@@ -707,7 +751,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
707
751
|
}
|
|
708
752
|
|
|
709
753
|
/**
|
|
710
|
-
* Lists domain transfers for the seller account.
|
|
754
|
+
* Lists domain transfers for the seller account. **API key scope required:** `TRANSFERS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
711
755
|
* List domain transfers
|
|
712
756
|
*/
|
|
713
757
|
async getAllDomainTransfers(requestParameters: DomainsApiGetAllDomainTransfersRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAllDomainTransfers200Response> {
|
|
@@ -716,7 +760,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
716
760
|
}
|
|
717
761
|
|
|
718
762
|
/**
|
|
719
|
-
* Returns domain information.
|
|
763
|
+
* Returns domain information. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
720
764
|
* Get domain
|
|
721
765
|
*/
|
|
722
766
|
async getDomainRaw(requestParameters: DomainsApiGetDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IntersectionDomainDtoWithHijackerDtoWithAccountDto>> {
|
|
@@ -731,6 +775,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
731
775
|
|
|
732
776
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
733
777
|
|
|
778
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
779
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
780
|
+
}
|
|
781
|
+
|
|
734
782
|
if (this.configuration && this.configuration.accessToken) {
|
|
735
783
|
const token = this.configuration.accessToken;
|
|
736
784
|
const tokenString = await token("bearer", []);
|
|
@@ -750,7 +798,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
750
798
|
}
|
|
751
799
|
|
|
752
800
|
/**
|
|
753
|
-
* Returns domain information.
|
|
801
|
+
* Returns domain information. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
754
802
|
* Get domain
|
|
755
803
|
*/
|
|
756
804
|
async getDomain(requestParameters: DomainsApiGetDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IntersectionDomainDtoWithHijackerDtoWithAccountDto> {
|
|
@@ -759,7 +807,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
759
807
|
}
|
|
760
808
|
|
|
761
809
|
/**
|
|
762
|
-
* Returns the currency exchange rate applicable to the specified domain.
|
|
810
|
+
* Returns the currency exchange rate applicable to the specified domain. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
763
811
|
* Get domain exchange rate
|
|
764
812
|
*/
|
|
765
813
|
async getDomainExchangeRateRaw(requestParameters: DomainsApiGetDomainExchangeRateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainExchangeRateDto>> {
|
|
@@ -774,6 +822,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
774
822
|
|
|
775
823
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
776
824
|
|
|
825
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
826
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
827
|
+
}
|
|
828
|
+
|
|
777
829
|
if (this.configuration && this.configuration.accessToken) {
|
|
778
830
|
const token = this.configuration.accessToken;
|
|
779
831
|
const tokenString = await token("bearer", []);
|
|
@@ -793,7 +845,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
793
845
|
}
|
|
794
846
|
|
|
795
847
|
/**
|
|
796
|
-
* Returns the currency exchange rate applicable to the specified domain.
|
|
848
|
+
* Returns the currency exchange rate applicable to the specified domain. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
797
849
|
* Get domain exchange rate
|
|
798
850
|
*/
|
|
799
851
|
async getDomainExchangeRate(requestParameters: DomainsApiGetDomainExchangeRateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainExchangeRateDto> {
|
|
@@ -802,7 +854,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
802
854
|
}
|
|
803
855
|
|
|
804
856
|
/**
|
|
805
|
-
* Returns available filter options for the seller domain inventory.
|
|
857
|
+
* Returns available filter options for the seller domain inventory. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
806
858
|
* Get domain filters
|
|
807
859
|
*/
|
|
808
860
|
async getDomainFiltersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainFiltersDto>> {
|
|
@@ -810,6 +862,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
810
862
|
|
|
811
863
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
812
864
|
|
|
865
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
866
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
867
|
+
}
|
|
868
|
+
|
|
813
869
|
if (this.configuration && this.configuration.accessToken) {
|
|
814
870
|
const token = this.configuration.accessToken;
|
|
815
871
|
const tokenString = await token("bearer", []);
|
|
@@ -829,7 +885,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
829
885
|
}
|
|
830
886
|
|
|
831
887
|
/**
|
|
832
|
-
* Returns available filter options for the seller domain inventory.
|
|
888
|
+
* Returns available filter options for the seller domain inventory. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
833
889
|
* Get domain filters
|
|
834
890
|
*/
|
|
835
891
|
async getDomainFilters(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainFiltersDto> {
|
|
@@ -838,7 +894,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
838
894
|
}
|
|
839
895
|
|
|
840
896
|
/**
|
|
841
|
-
* Returns the list of currencies available for the current domain filter selection.
|
|
897
|
+
* Returns the list of currencies available for the current domain filter selection. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
842
898
|
* Get domain filter currencies
|
|
843
899
|
*/
|
|
844
900
|
async getDomainFiltersCurrenciesRaw(requestParameters: DomainsApiGetDomainFiltersCurrenciesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<string>>> {
|
|
@@ -850,6 +906,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
850
906
|
|
|
851
907
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
852
908
|
|
|
909
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
910
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
911
|
+
}
|
|
912
|
+
|
|
853
913
|
if (this.configuration && this.configuration.accessToken) {
|
|
854
914
|
const token = this.configuration.accessToken;
|
|
855
915
|
const tokenString = await token("bearer", []);
|
|
@@ -869,7 +929,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
869
929
|
}
|
|
870
930
|
|
|
871
931
|
/**
|
|
872
|
-
* Returns the list of currencies available for the current domain filter selection.
|
|
932
|
+
* Returns the list of currencies available for the current domain filter selection. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
873
933
|
* Get domain filter currencies
|
|
874
934
|
*/
|
|
875
935
|
async getDomainFiltersCurrencies(requestParameters: DomainsApiGetDomainFiltersCurrenciesRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<string>> {
|
|
@@ -878,7 +938,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
878
938
|
}
|
|
879
939
|
|
|
880
940
|
/**
|
|
881
|
-
* Returns domain transfer information.
|
|
941
|
+
* Returns domain transfer information. **API key scope required:** `TRANSFERS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
882
942
|
* Get domain transfer
|
|
883
943
|
*/
|
|
884
944
|
async getDomainTransferRaw(requestParameters: DomainsApiGetDomainTransferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SellerDomainTransferDto>> {
|
|
@@ -893,6 +953,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
893
953
|
|
|
894
954
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
895
955
|
|
|
956
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
957
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
958
|
+
}
|
|
959
|
+
|
|
896
960
|
if (this.configuration && this.configuration.accessToken) {
|
|
897
961
|
const token = this.configuration.accessToken;
|
|
898
962
|
const tokenString = await token("bearer", []);
|
|
@@ -912,7 +976,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
912
976
|
}
|
|
913
977
|
|
|
914
978
|
/**
|
|
915
|
-
* Returns domain transfer information.
|
|
979
|
+
* Returns domain transfer information. **API key scope required:** `TRANSFERS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
916
980
|
* Get domain transfer
|
|
917
981
|
*/
|
|
918
982
|
async getDomainTransfer(requestParameters: DomainsApiGetDomainTransferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SellerDomainTransferDto> {
|
|
@@ -921,7 +985,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
921
985
|
}
|
|
922
986
|
|
|
923
987
|
/**
|
|
924
|
-
* Returns the public landing page URL for the specified domain.
|
|
988
|
+
* Returns the public landing page URL for the specified domain. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
925
989
|
* Get domain URL
|
|
926
990
|
*/
|
|
927
991
|
async getDomainUrlRaw(requestParameters: DomainsApiGetDomainUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainUrlDto>> {
|
|
@@ -936,6 +1000,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
936
1000
|
|
|
937
1001
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
938
1002
|
|
|
1003
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1004
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
1005
|
+
}
|
|
1006
|
+
|
|
939
1007
|
if (this.configuration && this.configuration.accessToken) {
|
|
940
1008
|
const token = this.configuration.accessToken;
|
|
941
1009
|
const tokenString = await token("bearer", []);
|
|
@@ -955,7 +1023,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
955
1023
|
}
|
|
956
1024
|
|
|
957
1025
|
/**
|
|
958
|
-
* Returns the public landing page URL for the specified domain.
|
|
1026
|
+
* Returns the public landing page URL for the specified domain. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
959
1027
|
* Get domain URL
|
|
960
1028
|
*/
|
|
961
1029
|
async getDomainUrl(requestParameters: DomainsApiGetDomainUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainUrlDto> {
|
|
@@ -964,7 +1032,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
964
1032
|
}
|
|
965
1033
|
|
|
966
1034
|
/**
|
|
967
|
-
* Lists domains for the seller account.
|
|
1035
|
+
* Lists domains for the seller account. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
968
1036
|
* List domains
|
|
969
1037
|
*/
|
|
970
1038
|
async listRaw(requestParameters: DomainsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<List200Response2>> {
|
|
@@ -1012,6 +1080,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
1012
1080
|
|
|
1013
1081
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
1014
1082
|
|
|
1083
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1084
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1015
1087
|
if (this.configuration && this.configuration.accessToken) {
|
|
1016
1088
|
const token = this.configuration.accessToken;
|
|
1017
1089
|
const tokenString = await token("bearer", []);
|
|
@@ -1031,7 +1103,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
1031
1103
|
}
|
|
1032
1104
|
|
|
1033
1105
|
/**
|
|
1034
|
-
* Lists domains for the seller account.
|
|
1106
|
+
* Lists domains for the seller account. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
1035
1107
|
* List domains
|
|
1036
1108
|
*/
|
|
1037
1109
|
async list(requestParameters: DomainsApiListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<List200Response2> {
|
|
@@ -1040,7 +1112,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
1040
1112
|
}
|
|
1041
1113
|
|
|
1042
1114
|
/**
|
|
1043
|
-
* Creates and starts an auction for the specified verified domain.
|
|
1115
|
+
* Creates and starts an auction for the specified verified domain. **API key scope required:** `AUCTIONS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
1044
1116
|
* Start domain auction
|
|
1045
1117
|
*/
|
|
1046
1118
|
async startAuctionRaw(requestParameters: DomainsApiStartAuctionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -1064,6 +1136,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
1064
1136
|
|
|
1065
1137
|
headerParameters['Content-Type'] = 'application/json';
|
|
1066
1138
|
|
|
1139
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1140
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1067
1143
|
if (this.configuration && this.configuration.accessToken) {
|
|
1068
1144
|
const token = this.configuration.accessToken;
|
|
1069
1145
|
const tokenString = await token("bearer", []);
|
|
@@ -1084,7 +1160,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
1084
1160
|
}
|
|
1085
1161
|
|
|
1086
1162
|
/**
|
|
1087
|
-
* Creates and starts an auction for the specified verified domain.
|
|
1163
|
+
* Creates and starts an auction for the specified verified domain. **API key scope required:** `AUCTIONS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
1088
1164
|
* Start domain auction
|
|
1089
1165
|
*/
|
|
1090
1166
|
async startAuction(requestParameters: DomainsApiStartAuctionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -1092,7 +1168,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
1092
1168
|
}
|
|
1093
1169
|
|
|
1094
1170
|
/**
|
|
1095
|
-
* Updates pricing, landing page, and other settings for a single domain.
|
|
1171
|
+
* Updates pricing, landing page, and other settings for a single domain. **API key scope required:** `DOMAINS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
1096
1172
|
* Update domain
|
|
1097
1173
|
*/
|
|
1098
1174
|
async updateRaw(requestParameters: DomainsApiUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -1116,6 +1192,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
1116
1192
|
|
|
1117
1193
|
headerParameters['Content-Type'] = 'application/json';
|
|
1118
1194
|
|
|
1195
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1196
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1119
1199
|
if (this.configuration && this.configuration.accessToken) {
|
|
1120
1200
|
const token = this.configuration.accessToken;
|
|
1121
1201
|
const tokenString = await token("bearer", []);
|
|
@@ -1136,7 +1216,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
1136
1216
|
}
|
|
1137
1217
|
|
|
1138
1218
|
/**
|
|
1139
|
-
* Updates pricing, landing page, and other settings for a single domain.
|
|
1219
|
+
* Updates pricing, landing page, and other settings for a single domain. **API key scope required:** `DOMAINS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
1140
1220
|
* Update domain
|
|
1141
1221
|
*/
|
|
1142
1222
|
async update(requestParameters: DomainsApiUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -1144,7 +1224,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
1144
1224
|
}
|
|
1145
1225
|
|
|
1146
1226
|
/**
|
|
1147
|
-
* Updates the authorization code for a domain transfer in progress.
|
|
1227
|
+
* Updates the authorization code for a domain transfer in progress. **API key scope required:** `TRANSFERS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
1148
1228
|
* Update domain transfer auth code
|
|
1149
1229
|
*/
|
|
1150
1230
|
async updateDomainTransferAuthCodeRaw(requestParameters: DomainsApiUpdateDomainTransferAuthCodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -1168,6 +1248,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
1168
1248
|
|
|
1169
1249
|
headerParameters['Content-Type'] = 'application/json';
|
|
1170
1250
|
|
|
1251
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1252
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1171
1255
|
if (this.configuration && this.configuration.accessToken) {
|
|
1172
1256
|
const token = this.configuration.accessToken;
|
|
1173
1257
|
const tokenString = await token("bearer", []);
|
|
@@ -1188,7 +1272,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
1188
1272
|
}
|
|
1189
1273
|
|
|
1190
1274
|
/**
|
|
1191
|
-
* Updates the authorization code for a domain transfer in progress.
|
|
1275
|
+
* Updates the authorization code for a domain transfer in progress. **API key scope required:** `TRANSFERS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
1192
1276
|
* Update domain transfer auth code
|
|
1193
1277
|
*/
|
|
1194
1278
|
async updateDomainTransferAuthCode(requestParameters: DomainsApiUpdateDomainTransferAuthCodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -1196,7 +1280,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
1196
1280
|
}
|
|
1197
1281
|
|
|
1198
1282
|
/**
|
|
1199
|
-
* Updates the IPS tag for a .uk domain transfer in progress.
|
|
1283
|
+
* Updates the IPS tag for a .uk domain transfer in progress. **API key scope required:** `TRANSFERS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
1200
1284
|
* Update domain transfer IPS tag
|
|
1201
1285
|
*/
|
|
1202
1286
|
async updateDomainTransferIpsTagRaw(requestParameters: DomainsApiUpdateDomainTransferIpsTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -1220,6 +1304,10 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
1220
1304
|
|
|
1221
1305
|
headerParameters['Content-Type'] = 'application/json';
|
|
1222
1306
|
|
|
1307
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1308
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1223
1311
|
if (this.configuration && this.configuration.accessToken) {
|
|
1224
1312
|
const token = this.configuration.accessToken;
|
|
1225
1313
|
const tokenString = await token("bearer", []);
|
|
@@ -1240,7 +1328,7 @@ export class DomainsApi extends runtime.BaseAPI {
|
|
|
1240
1328
|
}
|
|
1241
1329
|
|
|
1242
1330
|
/**
|
|
1243
|
-
* Updates the IPS tag for a .uk domain transfer in progress.
|
|
1331
|
+
* Updates the IPS tag for a .uk domain transfer in progress. **API key scope required:** `TRANSFERS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
1244
1332
|
* Update domain transfer IPS tag
|
|
1245
1333
|
*/
|
|
1246
1334
|
async updateDomainTransferIpsTag(requestParameters: DomainsApiUpdateDomainTransferIpsTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
package/src/apis/EppApi.ts
CHANGED
|
@@ -32,7 +32,7 @@ export interface EppApiEppBatchUpdateDomainsRequest {
|
|
|
32
32
|
export class EppApi extends runtime.BaseAPI {
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
|
-
* Queues a batch EPP update to configure DNSSEC and/or nameservers for domains at a registry.
|
|
35
|
+
* Queues a batch EPP update to configure DNSSEC and/or nameservers for domains at a registry. **API key scope required:** `EPP_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
36
36
|
* Batch update domains via EPP
|
|
37
37
|
*/
|
|
38
38
|
async eppBatchUpdateDomainsRaw(requestParameters: EppApiEppBatchUpdateDomainsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -49,6 +49,10 @@ export class EppApi extends runtime.BaseAPI {
|
|
|
49
49
|
|
|
50
50
|
headerParameters['Content-Type'] = 'application/json';
|
|
51
51
|
|
|
52
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
53
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
54
|
+
}
|
|
55
|
+
|
|
52
56
|
if (this.configuration && this.configuration.accessToken) {
|
|
53
57
|
const token = this.configuration.accessToken;
|
|
54
58
|
const tokenString = await token("bearer", []);
|
|
@@ -69,7 +73,7 @@ export class EppApi extends runtime.BaseAPI {
|
|
|
69
73
|
}
|
|
70
74
|
|
|
71
75
|
/**
|
|
72
|
-
* Queues a batch EPP update to configure DNSSEC and/or nameservers for domains at a registry.
|
|
76
|
+
* Queues a batch EPP update to configure DNSSEC and/or nameservers for domains at a registry. **API key scope required:** `EPP_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
73
77
|
* Batch update domains via EPP
|
|
74
78
|
*/
|
|
75
79
|
async eppBatchUpdateDomains(requestParameters: EppApiEppBatchUpdateDomainsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|