@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
@@ -160,7 +160,7 @@ export interface AccountsApiUpdateSettingsRequest {
160
160
  export class AccountsApi extends runtime.BaseAPI {
161
161
 
162
162
  /**
163
- * Creates a new account payment for a feature or service purchase.
163
+ * Creates a new account payment for a feature or service purchase. **API key scope required:** `PAYMENTS_WRITE`. Requests authenticated with a seller session do not need any scope.
164
164
  * Create account payment
165
165
  */
166
166
  async createAccountPaymentRaw(requestParameters: AccountsApiCreateAccountPaymentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ObjectId>> {
@@ -184,6 +184,10 @@ export class AccountsApi extends runtime.BaseAPI {
184
184
 
185
185
  headerParameters['Content-Type'] = 'application/json';
186
186
 
187
+ if (this.configuration && this.configuration.apiKey) {
188
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
189
+ }
190
+
187
191
  if (this.configuration && this.configuration.accessToken) {
188
192
  const token = this.configuration.accessToken;
189
193
  const tokenString = await token("bearer", []);
@@ -204,7 +208,7 @@ export class AccountsApi extends runtime.BaseAPI {
204
208
  }
205
209
 
206
210
  /**
207
- * Creates a new account payment for a feature or service purchase.
211
+ * Creates a new account payment for a feature or service purchase. **API key scope required:** `PAYMENTS_WRITE`. Requests authenticated with a seller session do not need any scope.
208
212
  * Create account payment
209
213
  */
210
214
  async createAccountPayment(requestParameters: AccountsApiCreateAccountPaymentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ObjectId> {
@@ -213,7 +217,7 @@ export class AccountsApi extends runtime.BaseAPI {
213
217
  }
214
218
 
215
219
  /**
216
- * Creates a new manual transaction for account payment with specified open invoice
220
+ * Creates a new manual transaction for account payment with specified open invoice **API key scope required:** `PAYMENTS_WRITE`. Requests authenticated with a seller session do not need any scope.
217
221
  * Create a new manual transaction for account payment invoice
218
222
  */
219
223
  async createAccountPaymentManualTransactionRaw(requestParameters: AccountsApiCreateAccountPaymentManualTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
@@ -244,6 +248,10 @@ export class AccountsApi extends runtime.BaseAPI {
244
248
 
245
249
  headerParameters['Content-Type'] = 'application/json';
246
250
 
251
+ if (this.configuration && this.configuration.apiKey) {
252
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
253
+ }
254
+
247
255
  if (this.configuration && this.configuration.accessToken) {
248
256
  const token = this.configuration.accessToken;
249
257
  const tokenString = await token("bearer", []);
@@ -264,7 +272,7 @@ export class AccountsApi extends runtime.BaseAPI {
264
272
  }
265
273
 
266
274
  /**
267
- * Creates a new manual transaction for account payment with specified open invoice
275
+ * Creates a new manual transaction for account payment with specified open invoice **API key scope required:** `PAYMENTS_WRITE`. Requests authenticated with a seller session do not need any scope.
268
276
  * Create a new manual transaction for account payment invoice
269
277
  */
270
278
  async createAccountPaymentManualTransaction(requestParameters: AccountsApiCreateAccountPaymentManualTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
@@ -272,7 +280,7 @@ export class AccountsApi extends runtime.BaseAPI {
272
280
  }
273
281
 
274
282
  /**
275
- * Permanently deletes the current seller account.
283
+ * Permanently deletes the current seller account. **API key scope required:** `ACCOUNT_DELETE`. Requests authenticated with a seller session do not need any scope.
276
284
  * Delete current account
277
285
  */
278
286
  async deleteMeRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
@@ -280,6 +288,10 @@ export class AccountsApi extends runtime.BaseAPI {
280
288
 
281
289
  const headerParameters: runtime.HTTPHeaders = {};
282
290
 
291
+ if (this.configuration && this.configuration.apiKey) {
292
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
293
+ }
294
+
283
295
  if (this.configuration && this.configuration.accessToken) {
284
296
  const token = this.configuration.accessToken;
285
297
  const tokenString = await token("bearer", []);
@@ -299,7 +311,7 @@ export class AccountsApi extends runtime.BaseAPI {
299
311
  }
300
312
 
301
313
  /**
302
- * Permanently deletes the current seller account.
314
+ * Permanently deletes the current seller account. **API key scope required:** `ACCOUNT_DELETE`. Requests authenticated with a seller session do not need any scope.
303
315
  * Delete current account
304
316
  */
305
317
  async deleteMe(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
@@ -307,7 +319,7 @@ export class AccountsApi extends runtime.BaseAPI {
307
319
  }
308
320
 
309
321
  /**
310
- * Returns details of a specific account payment.
322
+ * Returns details of a specific account payment. **API key scope required:** `PAYMENTS_READ`. Requests authenticated with a seller session do not need any scope.
311
323
  * Get account payment
312
324
  */
313
325
  async getAccountPaymentRaw(requestParameters: AccountsApiGetAccountPaymentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountPaymentDto>> {
@@ -329,6 +341,10 @@ export class AccountsApi extends runtime.BaseAPI {
329
341
 
330
342
  const headerParameters: runtime.HTTPHeaders = {};
331
343
 
344
+ if (this.configuration && this.configuration.apiKey) {
345
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
346
+ }
347
+
332
348
  if (this.configuration && this.configuration.accessToken) {
333
349
  const token = this.configuration.accessToken;
334
350
  const tokenString = await token("bearer", []);
@@ -348,7 +364,7 @@ export class AccountsApi extends runtime.BaseAPI {
348
364
  }
349
365
 
350
366
  /**
351
- * Returns details of a specific account payment.
367
+ * Returns details of a specific account payment. **API key scope required:** `PAYMENTS_READ`. Requests authenticated with a seller session do not need any scope.
352
368
  * Get account payment
353
369
  */
354
370
  async getAccountPayment(requestParameters: AccountsApiGetAccountPaymentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountPaymentDto> {
@@ -357,7 +373,7 @@ export class AccountsApi extends runtime.BaseAPI {
357
373
  }
358
374
 
359
375
  /**
360
- * Returns saved payment methods for the account filtered by payment gateway.
376
+ * Returns saved payment methods for the account filtered by payment gateway. **API key scope required:** `PAYMENTS_READ`. Requests authenticated with a seller session do not need any scope.
361
377
  * Get account payment methods
362
378
  */
363
379
  async getAccountPaymentMethodsRaw(requestParameters: AccountsApiGetAccountPaymentMethodsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<AccountPaymentMethodDto>>> {
@@ -379,6 +395,10 @@ export class AccountsApi extends runtime.BaseAPI {
379
395
 
380
396
  const headerParameters: runtime.HTTPHeaders = {};
381
397
 
398
+ if (this.configuration && this.configuration.apiKey) {
399
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
400
+ }
401
+
382
402
  if (this.configuration && this.configuration.accessToken) {
383
403
  const token = this.configuration.accessToken;
384
404
  const tokenString = await token("bearer", []);
@@ -398,7 +418,7 @@ export class AccountsApi extends runtime.BaseAPI {
398
418
  }
399
419
 
400
420
  /**
401
- * Returns saved payment methods for the account filtered by payment gateway.
421
+ * Returns saved payment methods for the account filtered by payment gateway. **API key scope required:** `PAYMENTS_READ`. Requests authenticated with a seller session do not need any scope.
402
422
  * Get account payment methods
403
423
  */
404
424
  async getAccountPaymentMethods(requestParameters: AccountsApiGetAccountPaymentMethodsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AccountPaymentMethodDto>> {
@@ -407,7 +427,7 @@ export class AccountsApi extends runtime.BaseAPI {
407
427
  }
408
428
 
409
429
  /**
410
- * Returns an onboarding session for the account payment provider setup.
430
+ * Returns an onboarding session for the account payment provider setup. **API key scope required:** `PAYOUTS_READ`. Requests authenticated with a seller session do not need any scope.
411
431
  * Get payment provider onboarding session
412
432
  */
413
433
  async getAccountPaymentProviderSessionRaw(requestParameters: AccountsApiGetAccountPaymentProviderSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountOnboardingSessionDto>> {
@@ -422,6 +442,10 @@ export class AccountsApi extends runtime.BaseAPI {
422
442
 
423
443
  const headerParameters: runtime.HTTPHeaders = {};
424
444
 
445
+ if (this.configuration && this.configuration.apiKey) {
446
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
447
+ }
448
+
425
449
  if (this.configuration && this.configuration.accessToken) {
426
450
  const token = this.configuration.accessToken;
427
451
  const tokenString = await token("bearer", []);
@@ -441,7 +465,7 @@ export class AccountsApi extends runtime.BaseAPI {
441
465
  }
442
466
 
443
467
  /**
444
- * Returns an onboarding session for the account payment provider setup.
468
+ * Returns an onboarding session for the account payment provider setup. **API key scope required:** `PAYOUTS_READ`. Requests authenticated with a seller session do not need any scope.
445
469
  * Get payment provider onboarding session
446
470
  */
447
471
  async getAccountPaymentProviderSession(requestParameters: AccountsApiGetAccountPaymentProviderSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountOnboardingSessionDto> {
@@ -450,7 +474,7 @@ export class AccountsApi extends runtime.BaseAPI {
450
474
  }
451
475
 
452
476
  /**
453
- * Returns a summary of pending affiliate commission amounts grouped by currency.
477
+ * Returns a summary of pending affiliate commission amounts grouped by currency. **API key scope required:** `COMMISSIONS_READ`. Requests authenticated with a seller session do not need any scope.
454
478
  * Get pending affiliate commissions summary
455
479
  */
456
480
  async getAccountPendingAffiliateCommissionsSummaryRaw(requestParameters: AccountsApiGetAccountPendingAffiliateCommissionsSummaryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<MoneyDto>>> {
@@ -465,6 +489,10 @@ export class AccountsApi extends runtime.BaseAPI {
465
489
 
466
490
  const headerParameters: runtime.HTTPHeaders = {};
467
491
 
492
+ if (this.configuration && this.configuration.apiKey) {
493
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
494
+ }
495
+
468
496
  if (this.configuration && this.configuration.accessToken) {
469
497
  const token = this.configuration.accessToken;
470
498
  const tokenString = await token("bearer", []);
@@ -484,7 +512,7 @@ export class AccountsApi extends runtime.BaseAPI {
484
512
  }
485
513
 
486
514
  /**
487
- * Returns a summary of pending affiliate commission amounts grouped by currency.
515
+ * Returns a summary of pending affiliate commission amounts grouped by currency. **API key scope required:** `COMMISSIONS_READ`. Requests authenticated with a seller session do not need any scope.
488
516
  * Get pending affiliate commissions summary
489
517
  */
490
518
  async getAccountPendingAffiliateCommissionsSummary(requestParameters: AccountsApiGetAccountPendingAffiliateCommissionsSummaryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<MoneyDto>> {
@@ -493,7 +521,7 @@ export class AccountsApi extends runtime.BaseAPI {
493
521
  }
494
522
 
495
523
  /**
496
- * Returns the settings for the current seller account.
524
+ * Returns the settings for the current seller account. **API key scope required:** `ACCOUNT_READ`. Requests authenticated with a seller session do not need any scope.
497
525
  * Get account settings
498
526
  */
499
527
  async getAccountSettingsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountSettingsDto>> {
@@ -501,6 +529,10 @@ export class AccountsApi extends runtime.BaseAPI {
501
529
 
502
530
  const headerParameters: runtime.HTTPHeaders = {};
503
531
 
532
+ if (this.configuration && this.configuration.apiKey) {
533
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
534
+ }
535
+
504
536
  if (this.configuration && this.configuration.accessToken) {
505
537
  const token = this.configuration.accessToken;
506
538
  const tokenString = await token("bearer", []);
@@ -520,7 +552,7 @@ export class AccountsApi extends runtime.BaseAPI {
520
552
  }
521
553
 
522
554
  /**
523
- * Returns the settings for the current seller account.
555
+ * Returns the settings for the current seller account. **API key scope required:** `ACCOUNT_READ`. Requests authenticated with a seller session do not need any scope.
524
556
  * Get account settings
525
557
  */
526
558
  async getAccountSettings(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountSettingsDto> {
@@ -529,7 +561,7 @@ export class AccountsApi extends runtime.BaseAPI {
529
561
  }
530
562
 
531
563
  /**
532
- * Lists affiliate commissions for the seller account.
564
+ * Lists affiliate commissions for the seller account. **API key scope required:** `COMMISSIONS_READ`. Requests authenticated with a seller session do not need any scope.
533
565
  * List affiliate commissions
534
566
  */
535
567
  async getAllAffiliateCommissionsRaw(requestParameters: AccountsApiGetAllAffiliateCommissionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAllAffiliateCommissions200Response>> {
@@ -564,6 +596,10 @@ export class AccountsApi extends runtime.BaseAPI {
564
596
 
565
597
  const headerParameters: runtime.HTTPHeaders = {};
566
598
 
599
+ if (this.configuration && this.configuration.apiKey) {
600
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
601
+ }
602
+
567
603
  if (this.configuration && this.configuration.accessToken) {
568
604
  const token = this.configuration.accessToken;
569
605
  const tokenString = await token("bearer", []);
@@ -583,7 +619,7 @@ export class AccountsApi extends runtime.BaseAPI {
583
619
  }
584
620
 
585
621
  /**
586
- * Lists affiliate commissions for the seller account.
622
+ * Lists affiliate commissions for the seller account. **API key scope required:** `COMMISSIONS_READ`. Requests authenticated with a seller session do not need any scope.
587
623
  * List affiliate commissions
588
624
  */
589
625
  async getAllAffiliateCommissions(requestParameters: AccountsApiGetAllAffiliateCommissionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAllAffiliateCommissions200Response> {
@@ -592,7 +628,7 @@ export class AccountsApi extends runtime.BaseAPI {
592
628
  }
593
629
 
594
630
  /**
595
- * Lists accounts referred by the seller.
631
+ * Lists accounts referred by the seller. **API key scope required:** `COMMISSIONS_READ`. Requests authenticated with a seller session do not need any scope.
596
632
  * List account referrals
597
633
  */
598
634
  async getAllReferralsRaw(requestParameters: AccountsApiGetAllReferralsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAllReferrals200Response>> {
@@ -627,6 +663,10 @@ export class AccountsApi extends runtime.BaseAPI {
627
663
 
628
664
  const headerParameters: runtime.HTTPHeaders = {};
629
665
 
666
+ if (this.configuration && this.configuration.apiKey) {
667
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
668
+ }
669
+
630
670
  if (this.configuration && this.configuration.accessToken) {
631
671
  const token = this.configuration.accessToken;
632
672
  const tokenString = await token("bearer", []);
@@ -646,7 +686,7 @@ export class AccountsApi extends runtime.BaseAPI {
646
686
  }
647
687
 
648
688
  /**
649
- * Lists accounts referred by the seller.
689
+ * Lists accounts referred by the seller. **API key scope required:** `COMMISSIONS_READ`. Requests authenticated with a seller session do not need any scope.
650
690
  * List account referrals
651
691
  */
652
692
  async getAllReferrals(requestParameters: AccountsApiGetAllReferralsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAllReferrals200Response> {
@@ -655,7 +695,7 @@ export class AccountsApi extends runtime.BaseAPI {
655
695
  }
656
696
 
657
697
  /**
658
- * Returns Nameshift commission percentages and schedules for the current account.
698
+ * Returns Nameshift commission percentages and schedules for the current account. **API key scope required:** `COMMISSIONS_READ`. Requests authenticated with a seller session do not need any scope.
659
699
  * Get Nameshift commissions
660
700
  */
661
701
  async getNameshiftCommissionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAccountNameshiftCommissionsResponseDto>> {
@@ -663,6 +703,10 @@ export class AccountsApi extends runtime.BaseAPI {
663
703
 
664
704
  const headerParameters: runtime.HTTPHeaders = {};
665
705
 
706
+ if (this.configuration && this.configuration.apiKey) {
707
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
708
+ }
709
+
666
710
  if (this.configuration && this.configuration.accessToken) {
667
711
  const token = this.configuration.accessToken;
668
712
  const tokenString = await token("bearer", []);
@@ -682,7 +726,7 @@ export class AccountsApi extends runtime.BaseAPI {
682
726
  }
683
727
 
684
728
  /**
685
- * Returns Nameshift commission percentages and schedules for the current account.
729
+ * Returns Nameshift commission percentages and schedules for the current account. **API key scope required:** `COMMISSIONS_READ`. Requests authenticated with a seller session do not need any scope.
686
730
  * Get Nameshift commissions
687
731
  */
688
732
  async getNameshiftCommissions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAccountNameshiftCommissionsResponseDto> {
@@ -691,7 +735,7 @@ export class AccountsApi extends runtime.BaseAPI {
691
735
  }
692
736
 
693
737
  /**
694
- * Returns the current seller account information.
738
+ * Returns the current seller account information. **API key scope required:** `ACCOUNT_READ`. Requests authenticated with a seller session do not need any scope.
695
739
  * Get current account
696
740
  */
697
741
  async meRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PrivateAccountGetMeResponse>> {
@@ -699,6 +743,10 @@ export class AccountsApi extends runtime.BaseAPI {
699
743
 
700
744
  const headerParameters: runtime.HTTPHeaders = {};
701
745
 
746
+ if (this.configuration && this.configuration.apiKey) {
747
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
748
+ }
749
+
702
750
  if (this.configuration && this.configuration.accessToken) {
703
751
  const token = this.configuration.accessToken;
704
752
  const tokenString = await token("bearer", []);
@@ -718,7 +766,7 @@ export class AccountsApi extends runtime.BaseAPI {
718
766
  }
719
767
 
720
768
  /**
721
- * Returns the current seller account information.
769
+ * Returns the current seller account information. **API key scope required:** `ACCOUNT_READ`. Requests authenticated with a seller session do not need any scope.
722
770
  * Get current account
723
771
  */
724
772
  async me(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PrivateAccountGetMeResponse> {
@@ -727,7 +775,7 @@ export class AccountsApi extends runtime.BaseAPI {
727
775
  }
728
776
 
729
777
  /**
730
- * Pays an account payment by confirming the payment intent using the specified payment method
778
+ * Pays an account payment by confirming the payment intent using the specified payment method **API key scope required:** `PAYMENTS_WRITE`. Requests authenticated with a seller session do not need any scope.
731
779
  * Pay an account payment
732
780
  */
733
781
  async payAccountPaymentRaw(requestParameters: AccountsApiPayAccountPaymentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
@@ -758,6 +806,10 @@ export class AccountsApi extends runtime.BaseAPI {
758
806
 
759
807
  headerParameters['Content-Type'] = 'application/json';
760
808
 
809
+ if (this.configuration && this.configuration.apiKey) {
810
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
811
+ }
812
+
761
813
  if (this.configuration && this.configuration.accessToken) {
762
814
  const token = this.configuration.accessToken;
763
815
  const tokenString = await token("bearer", []);
@@ -778,7 +830,7 @@ export class AccountsApi extends runtime.BaseAPI {
778
830
  }
779
831
 
780
832
  /**
781
- * Pays an account payment by confirming the payment intent using the specified payment method
833
+ * Pays an account payment by confirming the payment intent using the specified payment method **API key scope required:** `PAYMENTS_WRITE`. Requests authenticated with a seller session do not need any scope.
782
834
  * Pay an account payment
783
835
  */
784
836
  async payAccountPayment(requestParameters: AccountsApiPayAccountPaymentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
@@ -786,7 +838,7 @@ export class AccountsApi extends runtime.BaseAPI {
786
838
  }
787
839
 
788
840
  /**
789
- * Creates or updates billing information for the current seller account.
841
+ * Creates or updates billing information for the current seller account. **API key scope required:** `ACCOUNT_WRITE`. Requests authenticated with a seller session do not need any scope.
790
842
  * Update billing information
791
843
  */
792
844
  async postBillingInformationRaw(requestParameters: AccountsApiPostBillingInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
@@ -810,6 +862,10 @@ export class AccountsApi extends runtime.BaseAPI {
810
862
 
811
863
  headerParameters['Content-Type'] = 'application/json';
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", []);
@@ -830,7 +886,7 @@ export class AccountsApi extends runtime.BaseAPI {
830
886
  }
831
887
 
832
888
  /**
833
- * Creates or updates billing information for the current seller account.
889
+ * Creates or updates billing information for the current seller account. **API key scope required:** `ACCOUNT_WRITE`. Requests authenticated with a seller session do not need any scope.
834
890
  * Update billing information
835
891
  */
836
892
  async postBillingInformation(requestParameters: AccountsApiPostBillingInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
@@ -838,7 +894,7 @@ export class AccountsApi extends runtime.BaseAPI {
838
894
  }
839
895
 
840
896
  /**
841
- * Marks an account notification as read.
897
+ * Marks an account notification as read. **API key scope required:** `NOTIFICATIONS_WRITE`. Requests authenticated with a seller session do not need any scope.
842
898
  * Mark notification as read
843
899
  */
844
900
  async postReadAccountNotificationRaw(requestParameters: AccountsApiPostReadAccountNotificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
@@ -860,6 +916,10 @@ export class AccountsApi extends runtime.BaseAPI {
860
916
 
861
917
  const headerParameters: runtime.HTTPHeaders = {};
862
918
 
919
+ if (this.configuration && this.configuration.apiKey) {
920
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
921
+ }
922
+
863
923
  if (this.configuration && this.configuration.accessToken) {
864
924
  const token = this.configuration.accessToken;
865
925
  const tokenString = await token("bearer", []);
@@ -879,7 +939,7 @@ export class AccountsApi extends runtime.BaseAPI {
879
939
  }
880
940
 
881
941
  /**
882
- * Marks an account notification as read.
942
+ * Marks an account notification as read. **API key scope required:** `NOTIFICATIONS_WRITE`. Requests authenticated with a seller session do not need any scope.
883
943
  * Mark notification as read
884
944
  */
885
945
  async postReadAccountNotification(requestParameters: AccountsApiPostReadAccountNotificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
@@ -887,7 +947,7 @@ export class AccountsApi extends runtime.BaseAPI {
887
947
  }
888
948
 
889
949
  /**
890
- * Uploads or replaces the avatar image displayed on the account landing page.
950
+ * Uploads or replaces the avatar image displayed on the account landing page. **API key scope required:** `ACCOUNT_WRITE`. Requests authenticated with a seller session do not need any scope.
891
951
  * Upload landing page avatar
892
952
  */
893
953
  async putAvatarRaw(requestParameters: AccountsApiPutAvatarRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
@@ -902,6 +962,10 @@ export class AccountsApi extends runtime.BaseAPI {
902
962
 
903
963
  const headerParameters: runtime.HTTPHeaders = {};
904
964
 
965
+ if (this.configuration && this.configuration.apiKey) {
966
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
967
+ }
968
+
905
969
  if (this.configuration && this.configuration.accessToken) {
906
970
  const token = this.configuration.accessToken;
907
971
  const tokenString = await token("bearer", []);
@@ -942,7 +1006,7 @@ export class AccountsApi extends runtime.BaseAPI {
942
1006
  }
943
1007
 
944
1008
  /**
945
- * Uploads or replaces the avatar image displayed on the account landing page.
1009
+ * Uploads or replaces the avatar image displayed on the account landing page. **API key scope required:** `ACCOUNT_WRITE`. Requests authenticated with a seller session do not need any scope.
946
1010
  * Upload landing page avatar
947
1011
  */
948
1012
  async putAvatar(requestParameters: AccountsApiPutAvatarRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
@@ -950,7 +1014,7 @@ export class AccountsApi extends runtime.BaseAPI {
950
1014
  }
951
1015
 
952
1016
  /**
953
- * Sets the payout provider for the current seller account.
1017
+ * Sets the payout provider for the current seller account. **API key scope required:** `PAYOUTS_WRITE`. Requests authenticated with a seller session do not need any scope.
954
1018
  * Set payout provider
955
1019
  */
956
1020
  async setPayoutProviderRaw(requestParameters: AccountsApiSetPayoutProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
@@ -974,6 +1038,10 @@ export class AccountsApi extends runtime.BaseAPI {
974
1038
 
975
1039
  headerParameters['Content-Type'] = 'application/json';
976
1040
 
1041
+ if (this.configuration && this.configuration.apiKey) {
1042
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
1043
+ }
1044
+
977
1045
  if (this.configuration && this.configuration.accessToken) {
978
1046
  const token = this.configuration.accessToken;
979
1047
  const tokenString = await token("bearer", []);
@@ -994,7 +1062,7 @@ export class AccountsApi extends runtime.BaseAPI {
994
1062
  }
995
1063
 
996
1064
  /**
997
- * Sets the payout provider for the current seller account.
1065
+ * Sets the payout provider for the current seller account. **API key scope required:** `PAYOUTS_WRITE`. Requests authenticated with a seller session do not need any scope.
998
1066
  * Set payout provider
999
1067
  */
1000
1068
  async setPayoutProvider(requestParameters: AccountsApiSetPayoutProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
@@ -1002,7 +1070,7 @@ export class AccountsApi extends runtime.BaseAPI {
1002
1070
  }
1003
1071
 
1004
1072
  /**
1005
- * Updates seller account settings.
1073
+ * Updates seller account settings. **API key scope required:** `ACCOUNT_WRITE`. Requests authenticated with a seller session do not need any scope.
1006
1074
  * Update account settings
1007
1075
  */
1008
1076
  async updateSettingsRaw(requestParameters: AccountsApiUpdateSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
@@ -1026,6 +1094,10 @@ export class AccountsApi extends runtime.BaseAPI {
1026
1094
 
1027
1095
  headerParameters['Content-Type'] = 'application/json';
1028
1096
 
1097
+ if (this.configuration && this.configuration.apiKey) {
1098
+ headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
1099
+ }
1100
+
1029
1101
  if (this.configuration && this.configuration.accessToken) {
1030
1102
  const token = this.configuration.accessToken;
1031
1103
  const tokenString = await token("bearer", []);
@@ -1046,7 +1118,7 @@ export class AccountsApi extends runtime.BaseAPI {
1046
1118
  }
1047
1119
 
1048
1120
  /**
1049
- * Updates seller account settings.
1121
+ * Updates seller account settings. **API key scope required:** `ACCOUNT_WRITE`. Requests authenticated with a seller session do not need any scope.
1050
1122
  * Update account settings
1051
1123
  */
1052
1124
  async updateSettings(requestParameters: AccountsApiUpdateSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
@@ -452,6 +452,10 @@ export interface AdminApiRemoveDomainLockRequest {
452
452
  lockId: string;
453
453
  }
454
454
 
455
+ export interface AdminApiShowcaseDomainRequest {
456
+ domainId: string;
457
+ }
458
+
455
459
  export interface AdminApiSimulateCommissionRequest {
456
460
  simulateCommissionInput: SimulateCommissionInput;
457
461
  }
@@ -468,6 +472,10 @@ export interface AdminApiSyncOwnedDomainFromRegistryRequest {
468
472
  id: string;
469
473
  }
470
474
 
475
+ export interface AdminApiUnshowcaseDomainRequest {
476
+ domainId: string;
477
+ }
478
+
471
479
  export interface AdminApiUpdateAccountChallengeRewardBalancePointsRequest {
472
480
  accountId: string;
473
481
  updateAccountChallengeRewardBalanceInput: UpdateAccountChallengeRewardBalanceInput;
@@ -3063,6 +3071,48 @@ export class AdminApi extends runtime.BaseAPI {
3063
3071
  await this.removeDomainLockRaw(requestParameters, initOverrides);
3064
3072
  }
3065
3073
 
3074
+ /**
3075
+ * Picks the domain for the public showcase on the website. Idempotent: showcasing an already showcased domain keeps its original position in the showcase.
3076
+ * Showcase domain
3077
+ */
3078
+ async showcaseDomainRaw(requestParameters: AdminApiShowcaseDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
3079
+ if (requestParameters['domainId'] == null) {
3080
+ throw new runtime.RequiredError(
3081
+ 'domainId',
3082
+ 'Required parameter "domainId" was null or undefined when calling showcaseDomain().'
3083
+ );
3084
+ }
3085
+
3086
+ const queryParameters: any = {};
3087
+
3088
+ const headerParameters: runtime.HTTPHeaders = {};
3089
+
3090
+ if (this.configuration && this.configuration.accessToken) {
3091
+ const token = this.configuration.accessToken;
3092
+ const tokenString = await token("bearer", []);
3093
+
3094
+ if (tokenString) {
3095
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3096
+ }
3097
+ }
3098
+ const response = await this.request({
3099
+ path: `/admin/domains/{domainId}/showcase`.replace(`{${"domainId"}}`, encodeURIComponent(String(requestParameters['domainId']))),
3100
+ method: 'PUT',
3101
+ headers: headerParameters,
3102
+ query: queryParameters,
3103
+ }, initOverrides);
3104
+
3105
+ return new runtime.VoidApiResponse(response);
3106
+ }
3107
+
3108
+ /**
3109
+ * Picks the domain for the public showcase on the website. Idempotent: showcasing an already showcased domain keeps its original position in the showcase.
3110
+ * Showcase domain
3111
+ */
3112
+ async showcaseDomain(requestParameters: AdminApiShowcaseDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
3113
+ await this.showcaseDomainRaw(requestParameters, initOverrides);
3114
+ }
3115
+
3066
3116
  /**
3067
3117
  * Evaluates the commission percentage for a given scenario without persisting any changes.
3068
3118
  * Simulate commission percentage
@@ -3235,6 +3285,48 @@ export class AdminApi extends runtime.BaseAPI {
3235
3285
  await this.syncOwnedDomainFromRegistryRaw(requestParameters, initOverrides);
3236
3286
  }
3237
3287
 
3288
+ /**
3289
+ * Drops the domain from the public showcase on the website. Idempotent.
3290
+ * Remove domain from the showcase
3291
+ */
3292
+ async unshowcaseDomainRaw(requestParameters: AdminApiUnshowcaseDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
3293
+ if (requestParameters['domainId'] == null) {
3294
+ throw new runtime.RequiredError(
3295
+ 'domainId',
3296
+ 'Required parameter "domainId" was null or undefined when calling unshowcaseDomain().'
3297
+ );
3298
+ }
3299
+
3300
+ const queryParameters: any = {};
3301
+
3302
+ const headerParameters: runtime.HTTPHeaders = {};
3303
+
3304
+ if (this.configuration && this.configuration.accessToken) {
3305
+ const token = this.configuration.accessToken;
3306
+ const tokenString = await token("bearer", []);
3307
+
3308
+ if (tokenString) {
3309
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3310
+ }
3311
+ }
3312
+ const response = await this.request({
3313
+ path: `/admin/domains/{domainId}/showcase`.replace(`{${"domainId"}}`, encodeURIComponent(String(requestParameters['domainId']))),
3314
+ method: 'DELETE',
3315
+ headers: headerParameters,
3316
+ query: queryParameters,
3317
+ }, initOverrides);
3318
+
3319
+ return new runtime.VoidApiResponse(response);
3320
+ }
3321
+
3322
+ /**
3323
+ * Drops the domain from the public showcase on the website. Idempotent.
3324
+ * Remove domain from the showcase
3325
+ */
3326
+ async unshowcaseDomain(requestParameters: AdminApiUnshowcaseDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
3327
+ await this.unshowcaseDomainRaw(requestParameters, initOverrides);
3328
+ }
3329
+
3238
3330
  /**
3239
3331
  * Sets the absolute challenge reward points balance for an account.
3240
3332
  * Update challenge reward balance