@randock/nameshift-api-client 0.0.502 → 0.0.504

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 (170) hide show
  1. package/.openapi-generator/FILES +35 -1
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +44 -1
  4. package/dist/apis/AdminApi.js +177 -0
  5. package/dist/apis/BuyersPublicApi.d.ts +3 -3
  6. package/dist/apis/BuyersPublicApi.js +1 -1
  7. package/dist/apis/PartnerApi.d.ts +14 -1
  8. package/dist/apis/PartnerApi.js +53 -0
  9. package/dist/apis/UsersApi.d.ts +285 -1
  10. package/dist/apis/UsersApi.js +1305 -46
  11. package/dist/apis/UsersPublicApi.d.ts +107 -3
  12. package/dist/apis/UsersPublicApi.js +388 -2
  13. package/dist/models/ActivateUserTotpInput.d.ts +32 -0
  14. package/dist/models/ActivateUserTotpInput.js +51 -0
  15. package/dist/models/AdminUserSecurityDto.d.ts +87 -0
  16. package/dist/models/AdminUserSecurityDto.js +88 -0
  17. package/dist/models/BuyerLoginDto.d.ts +38 -0
  18. package/dist/models/BuyerLoginDto.js +55 -0
  19. package/dist/models/BuyerNotificationDto.d.ts +1 -0
  20. package/dist/models/BuyerNotificationDto.js +1 -0
  21. package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
  22. package/dist/models/BuyerNotificationListItemDto.js +1 -0
  23. package/dist/models/ChangeUserAuthenticationMethodInput.d.ts +33 -0
  24. package/dist/models/ChangeUserAuthenticationMethodInput.js +52 -0
  25. package/dist/models/ChangeUserLoginLocationVerificationInput.d.ts +32 -0
  26. package/dist/models/ChangeUserLoginLocationVerificationInput.js +51 -0
  27. package/dist/models/ChangeUserPasswordInput.d.ts +38 -0
  28. package/dist/models/ChangeUserPasswordInput.js +55 -0
  29. package/dist/models/ConfirmLoginLocationInput.d.ts +32 -0
  30. package/dist/models/ConfirmLoginLocationInput.js +51 -0
  31. package/dist/models/CurrentPasswordInput.d.ts +32 -0
  32. package/dist/models/CurrentPasswordInput.js +51 -0
  33. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  34. package/dist/models/FeatureFlagListItemDto.js +2 -1
  35. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  36. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  37. package/dist/models/ListUserLoginAttempts200Response.d.ts +47 -0
  38. package/dist/models/ListUserLoginAttempts200Response.js +62 -0
  39. package/dist/models/LoginChallengeInput.d.ts +32 -0
  40. package/dist/models/LoginChallengeInput.js +51 -0
  41. package/dist/models/LoginCodeInput.d.ts +38 -0
  42. package/dist/models/LoginCodeInput.js +55 -0
  43. package/dist/models/LoginDto.d.ts +30 -4
  44. package/dist/models/LoginDto.js +13 -5
  45. package/dist/models/LoginPasskeyInput.d.ts +46 -0
  46. package/dist/models/LoginPasskeyInput.js +57 -0
  47. package/dist/models/LoginPasskeyOptionsInput.d.ts +32 -0
  48. package/dist/models/LoginPasskeyOptionsInput.js +49 -0
  49. package/dist/models/LoginRecoveryCodeInput.d.ts +38 -0
  50. package/dist/models/LoginRecoveryCodeInput.js +55 -0
  51. package/dist/models/LoginStatus.d.ts +26 -0
  52. package/dist/models/LoginStatus.js +52 -0
  53. package/dist/models/PartnerDomainSeoMetricsDto.d.ts +40 -0
  54. package/dist/models/PartnerDomainSeoMetricsDto.js +57 -0
  55. package/dist/models/PartnerMajesticMetricsDto.d.ts +56 -0
  56. package/dist/models/PartnerMajesticMetricsDto.js +67 -0
  57. package/dist/models/PartnerMozMetricsDto.d.ts +62 -0
  58. package/dist/models/PartnerMozMetricsDto.js +71 -0
  59. package/dist/models/PasskeyOptionsDto.d.ts +40 -0
  60. package/dist/models/PasskeyOptionsDto.js +55 -0
  61. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  62. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  63. package/dist/models/ReauthenticateWithPasskeyInput.d.ts +40 -0
  64. package/dist/models/ReauthenticateWithPasskeyInput.js +55 -0
  65. package/dist/models/ReauthenticationDto.d.ts +38 -0
  66. package/dist/models/ReauthenticationDto.js +55 -0
  67. package/dist/models/RecoveryCodesDto.d.ts +32 -0
  68. package/dist/models/RecoveryCodesDto.js +51 -0
  69. package/dist/models/RegisterUserPasskeyInput.d.ts +46 -0
  70. package/dist/models/RegisterUserPasskeyInput.js +59 -0
  71. package/dist/models/RemoveUserPasskeyInput.d.ts +40 -0
  72. package/dist/models/RemoveUserPasskeyInput.js +55 -0
  73. package/dist/models/RenameUserPasskeyInput.d.ts +32 -0
  74. package/dist/models/{NotFoundException.js → RenameUserPasskeyInput.js} +13 -21
  75. package/dist/models/SecondFactorMethod.d.ts +26 -0
  76. package/dist/models/SecondFactorMethod.js +52 -0
  77. package/dist/models/SellerSecurityUserDto.d.ts +12 -0
  78. package/dist/models/SellerSecurityUserDto.js +4 -0
  79. package/dist/models/TotpCodeInput.d.ts +32 -0
  80. package/dist/models/TotpCodeInput.js +51 -0
  81. package/dist/models/TotpEnrolmentDto.d.ts +38 -0
  82. package/dist/models/TotpEnrolmentDto.js +55 -0
  83. package/dist/models/UserAuthenticationMethod.d.ts +27 -0
  84. package/dist/models/UserAuthenticationMethod.js +53 -0
  85. package/dist/models/UserLoginAttemptDto.d.ts +88 -0
  86. package/dist/models/UserLoginAttemptDto.js +89 -0
  87. package/dist/models/UserLoginAttemptMethod.d.ts +29 -0
  88. package/dist/models/UserLoginAttemptMethod.js +55 -0
  89. package/dist/models/UserLoginAttemptResult.d.ts +30 -0
  90. package/dist/models/UserLoginAttemptResult.js +56 -0
  91. package/dist/models/UserLoginLocationConfirmationDetailsDto.d.ts +62 -0
  92. package/dist/models/UserLoginLocationConfirmationDetailsDto.js +71 -0
  93. package/dist/models/UserNotificationDto.d.ts +1 -0
  94. package/dist/models/UserNotificationDto.js +1 -0
  95. package/dist/models/UserNotificationListItemDto.d.ts +1 -0
  96. package/dist/models/UserNotificationListItemDto.js +1 -0
  97. package/dist/models/UserPasskeyDto.d.ts +62 -0
  98. package/dist/models/UserPasskeyDto.js +71 -0
  99. package/dist/models/UserSecurityDto.d.ts +94 -0
  100. package/dist/models/UserSecurityDto.js +93 -0
  101. package/dist/models/index.d.ts +35 -1
  102. package/dist/models/index.js +35 -1
  103. package/package.json +1 -1
  104. package/src/apis/AccountsApi.ts +0 -3
  105. package/src/apis/AccountsPublicApi.ts +0 -3
  106. package/src/apis/AdminApi.ts +172 -3
  107. package/src/apis/AuctionsApi.ts +0 -3
  108. package/src/apis/BuyersApi.ts +0 -3
  109. package/src/apis/BuyersPublicApi.ts +6 -6
  110. package/src/apis/CustomerSuccessApi.ts +0 -3
  111. package/src/apis/DomainAppraisalRequestsApi.ts +0 -3
  112. package/src/apis/DomainAppraisalRequestsPublicApi.ts +0 -3
  113. package/src/apis/DomainsApi.ts +0 -3
  114. package/src/apis/DomainsPublicApi.ts +0 -3
  115. package/src/apis/InvoicesApi.ts +0 -3
  116. package/src/apis/JobsApi.ts +0 -3
  117. package/src/apis/LeadsPublicApi.ts +0 -3
  118. package/src/apis/NotificationsApi.ts +0 -3
  119. package/src/apis/OrdersPublicApi.ts +0 -3
  120. package/src/apis/PartnerApi.ts +46 -0
  121. package/src/apis/SubscriptionsPublicApi.ts +0 -3
  122. package/src/apis/UsersApi.ts +1219 -48
  123. package/src/apis/UsersPublicApi.ts +375 -5
  124. package/src/models/ActivateUserTotpInput.ts +66 -0
  125. package/src/models/AdminUserSecurityDto.ts +157 -0
  126. package/src/models/BuyerLoginDto.ts +75 -0
  127. package/src/models/BuyerNotificationDto.ts +1 -0
  128. package/src/models/BuyerNotificationListItemDto.ts +1 -0
  129. package/src/models/ChangeUserAuthenticationMethodInput.ts +76 -0
  130. package/src/models/ChangeUserLoginLocationVerificationInput.ts +66 -0
  131. package/src/models/ChangeUserPasswordInput.ts +75 -0
  132. package/src/models/ConfirmLoginLocationInput.ts +66 -0
  133. package/src/models/CurrentPasswordInput.ts +66 -0
  134. package/src/models/FeatureFlagListItemDto.ts +2 -1
  135. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  136. package/src/models/ListUserLoginAttempts200Response.ts +106 -0
  137. package/src/models/LoginChallengeInput.ts +66 -0
  138. package/src/models/LoginCodeInput.ts +75 -0
  139. package/src/models/LoginDto.ts +56 -8
  140. package/src/models/LoginPasskeyInput.ts +83 -0
  141. package/src/models/LoginPasskeyOptionsInput.ts +65 -0
  142. package/src/models/LoginRecoveryCodeInput.ts +75 -0
  143. package/src/models/LoginStatus.ts +54 -0
  144. package/src/models/PartnerDomainSeoMetricsDto.ts +90 -0
  145. package/src/models/PartnerMajesticMetricsDto.ts +102 -0
  146. package/src/models/PartnerMozMetricsDto.ts +111 -0
  147. package/src/models/PasskeyOptionsDto.ts +75 -0
  148. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  149. package/src/models/ReauthenticateWithPasskeyInput.ts +75 -0
  150. package/src/models/ReauthenticationDto.ts +75 -0
  151. package/src/models/RecoveryCodesDto.ts +66 -0
  152. package/src/models/RegisterUserPasskeyInput.ts +84 -0
  153. package/src/models/RemoveUserPasskeyInput.ts +75 -0
  154. package/src/models/RenameUserPasskeyInput.ts +66 -0
  155. package/src/models/SecondFactorMethod.ts +54 -0
  156. package/src/models/SellerSecurityUserDto.ts +16 -0
  157. package/src/models/TotpCodeInput.ts +66 -0
  158. package/src/models/TotpEnrolmentDto.ts +75 -0
  159. package/src/models/UserAuthenticationMethod.ts +55 -0
  160. package/src/models/UserLoginAttemptDto.ts +164 -0
  161. package/src/models/UserLoginAttemptMethod.ts +57 -0
  162. package/src/models/UserLoginAttemptResult.ts +58 -0
  163. package/src/models/UserLoginLocationConfirmationDetailsDto.ts +111 -0
  164. package/src/models/UserNotificationDto.ts +1 -0
  165. package/src/models/UserNotificationListItemDto.ts +1 -0
  166. package/src/models/UserPasskeyDto.ts +111 -0
  167. package/src/models/UserSecurityDto.ts +173 -0
  168. package/src/models/index.ts +35 -1
  169. package/dist/models/NotFoundException.d.ts +0 -44
  170. package/src/models/NotFoundException.ts +0 -84
@@ -80,6 +80,7 @@ src/models/AccountSettingsLeaseToOwnConfigurationDto.ts
80
80
  src/models/AccountSettingsRentConfigurationDto.ts
81
81
  src/models/AccountSettingsSidnDto.ts
82
82
  src/models/AccountsStatsDto.ts
83
+ src/models/ActivateUserTotpInput.ts
83
84
  src/models/AddSubscriptionDomainRecordInput.ts
84
85
  src/models/AddressDto.ts
85
86
  src/models/AdminAccountCommissionByDateRangeInput.ts
@@ -113,6 +114,7 @@ src/models/AdminLeadListItemDomainDto.ts
113
114
  src/models/AdminLeadListItemDto.ts
114
115
  src/models/AdminListAccountDto.ts
115
116
  src/models/AdminMarketplaceDto.ts
117
+ src/models/AdminUserSecurityDto.ts
116
118
  src/models/AdminVerificationDepositDto.ts
117
119
  src/models/AffiliatesStatsDto.ts
118
120
  src/models/AggregatedPaginationResponse.ts
@@ -181,6 +183,7 @@ src/models/BuyerInvoiceDto.ts
181
183
  src/models/BuyerInvoiceSellerAccountDto.ts
182
184
  src/models/BuyerLeadListItemDomainDto.ts
183
185
  src/models/BuyerLeadListItemDto.ts
186
+ src/models/BuyerLoginDto.ts
184
187
  src/models/BuyerNotificationAttachmentDto.ts
185
188
  src/models/BuyerNotificationDto.ts
186
189
  src/models/BuyerNotificationListItemDto.ts
@@ -195,7 +198,10 @@ src/models/ChallengeRewardBalanceDto.ts
195
198
  src/models/ChangeInvoiceStatusInput.ts
196
199
  src/models/ChangeOrderStatusInput.ts
197
200
  src/models/ChangeSubscriptionStatusInput.ts
201
+ src/models/ChangeUserAuthenticationMethodInput.ts
198
202
  src/models/ChangeUserEmailWithOtpInput.ts
203
+ src/models/ChangeUserLoginLocationVerificationInput.ts
204
+ src/models/ChangeUserPasswordInput.ts
199
205
  src/models/ChartDataPoint.ts
200
206
  src/models/CheckDomainsNsInput.ts
201
207
  src/models/CommissionAccountDto.ts
@@ -222,6 +228,7 @@ src/models/CommissionSimulationResultDto.ts
222
228
  src/models/CommissionsStatsDto.ts
223
229
  src/models/CompanyInformationDto.ts
224
230
  src/models/CompanyTaxIdDto.ts
231
+ src/models/ConfirmLoginLocationInput.ts
225
232
  src/models/ConflictException.ts
226
233
  src/models/CreateAccountNoteInput.ts
227
234
  src/models/CreateAccountPaymentInput.ts
@@ -241,6 +248,7 @@ src/models/CreateSubscriptionBillingPeriodicityInput.ts
241
248
  src/models/CreateSubscriptionInput.ts
242
249
  src/models/CreateSubscriptionManualTransactionInput.ts
243
250
  src/models/CreatedApiKeyDto.ts
251
+ src/models/CurrentPasswordInput.ts
244
252
  src/models/CursorBasedPageInfo.ts
245
253
  src/models/CursorBasedPaginationResponse.ts
246
254
  src/models/CustomerSuccessDomainAuctionDto.ts
@@ -430,11 +438,18 @@ src/models/ListLeadMessagesDto.ts
430
438
  src/models/ListLeads200Response.ts
431
439
  src/models/ListLeadsResultItem.ts
432
440
  src/models/ListNotifications200Response.ts
441
+ src/models/ListUserLoginAttempts200Response.ts
433
442
  src/models/LockConfigurationInput.ts
434
443
  src/models/LockDurationDto.ts
435
444
  src/models/LockDurationInput.ts
445
+ src/models/LoginChallengeInput.ts
446
+ src/models/LoginCodeInput.ts
436
447
  src/models/LoginDto.ts
437
448
  src/models/LoginInput.ts
449
+ src/models/LoginPasskeyInput.ts
450
+ src/models/LoginPasskeyOptionsInput.ts
451
+ src/models/LoginRecoveryCodeInput.ts
452
+ src/models/LoginStatus.ts
438
453
  src/models/MajesticMetrics.ts
439
454
  src/models/MajesticTopicTrustFlow.ts
440
455
  src/models/ManualLeadBuyerDto.ts
@@ -447,7 +462,6 @@ src/models/MoneyDecimalDto.ts
447
462
  src/models/MoneyDto.ts
448
463
  src/models/MoneyInput.ts
449
464
  src/models/MozMetrics.ts
450
- src/models/NotFoundException.ts
451
465
  src/models/NotificationsUnsubscribeResultDto.ts
452
466
  src/models/ObjectId.ts
453
467
  src/models/OrderCompanyInfoDto.ts
@@ -467,6 +481,10 @@ src/models/PaginateResponseMeta.ts
467
481
  src/models/ParsedDomainDto.ts
468
482
  src/models/PartnerAuctionDto.ts
469
483
  src/models/PartnerDomainFindDto.ts
484
+ src/models/PartnerDomainSeoMetricsDto.ts
485
+ src/models/PartnerMajesticMetricsDto.ts
486
+ src/models/PartnerMozMetricsDto.ts
487
+ src/models/PasskeyOptionsDto.ts
470
488
  src/models/PayAccountPaymentInput.ts
471
489
  src/models/PaySellerInvoicesInput.ts
472
490
  src/models/PaymentMethodsStatsDto.ts
@@ -489,15 +507,21 @@ src/models/PublicSaleDto.ts
489
507
  src/models/PublicSalesDto.ts
490
508
  src/models/PutBuyerLeadOfferInput.ts
491
509
  src/models/PutLeadOfferInput.ts
510
+ src/models/ReauthenticateWithPasskeyInput.ts
511
+ src/models/ReauthenticationDto.ts
512
+ src/models/RecoveryCodesDto.ts
492
513
  src/models/RegisterAccountInput.ts
493
514
  src/models/RegisterAccountPortfolioSizeInput.ts
494
515
  src/models/RegisterAuctionBuyerPhoneInput.ts
495
516
  src/models/RegisterInput.ts
517
+ src/models/RegisterUserPasskeyInput.ts
496
518
  src/models/RegisterUserPushTokenInput.ts
497
519
  src/models/RelatedDomainsDto.ts
498
520
  src/models/RelatedLeadDto.ts
499
521
  src/models/RelatedSellerDomain.ts
500
522
  src/models/RemoveSubscriptionDomainRecordInput.ts
523
+ src/models/RemoveUserPasskeyInput.ts
524
+ src/models/RenameUserPasskeyInput.ts
501
525
  src/models/RentConfigurationDto.ts
502
526
  src/models/RentConfigurationInput.ts
503
527
  src/models/RentConfigurationPresetsDto.ts
@@ -511,6 +535,7 @@ src/models/SalesCountCommissionPayloadInput.ts
511
535
  src/models/SalesCountCommissionPayloadSimulationInput.ts
512
536
  src/models/SalesCountCommissionReasonPayloadDto.ts
513
537
  src/models/SearchBankAccountInstitutionsInput.ts
538
+ src/models/SecondFactorMethod.ts
514
539
  src/models/SellerAccountReferralListItemDto.ts
515
540
  src/models/SellerAffiliateCommissionDto.ts
516
541
  src/models/SellerAuctionListItemDto.ts
@@ -588,6 +613,8 @@ src/models/TimeTableConfigurationDto.ts
588
613
  src/models/TimeTableConfigurationInput.ts
589
614
  src/models/TopAffiliateSellerDto.ts
590
615
  src/models/TopSellerAccountDto.ts
616
+ src/models/TotpCodeInput.ts
617
+ src/models/TotpEnrolmentDto.ts
591
618
  src/models/TranslateDomainSearchInput.ts
592
619
  src/models/UpdateAccountBillingInformationInput.ts
593
620
  src/models/UpdateAccountChallengeRewardBalanceInput.ts
@@ -619,11 +646,18 @@ src/models/UpdateSubscriptionInput.ts
619
646
  src/models/UpdateTaskMuteStatusForBuyerInput.ts
620
647
  src/models/UpdateTaskMuteStatusInput.ts
621
648
  src/models/UpdateUserNotificationSettingsInput.ts
649
+ src/models/UserAuthenticationMethod.ts
650
+ src/models/UserLoginAttemptDto.ts
651
+ src/models/UserLoginAttemptMethod.ts
652
+ src/models/UserLoginAttemptResult.ts
653
+ src/models/UserLoginLocationConfirmationDetailsDto.ts
622
654
  src/models/UserNotificationAttachmentDto.ts
623
655
  src/models/UserNotificationDto.ts
624
656
  src/models/UserNotificationListItemDto.ts
625
657
  src/models/UserNotificationSettingsDto.ts
658
+ src/models/UserPasskeyDto.ts
626
659
  src/models/UserPasswordResetDto.ts
660
+ src/models/UserSecurityDto.ts
627
661
  src/models/UserSignedTokenInput.ts
628
662
  src/models/ValidateTaxNumberDto.ts
629
663
  src/models/ValidateTaxNumberInput.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.502
1
+ ## @randock/nameshift-api-client@0.0.504
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @randock/nameshift-api-client@0.0.502 --save
39
+ npm install @randock/nameshift-api-client@0.0.504 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
- fa626d465331cc8fb3dcf27129addb89f3209e7e82df1ab2fb5bfc36fd66e16110d9f706919984a83a3e314fe4445eda
47
+ 49c61ba46ba7fdf2fc00cb1f8cbdcdb4c90a1a8c41f98fb1c1faf6713cecfddeeb67d8216fcc8a6344c5e525168de762
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { AccountNameshiftCommissionByTypeDto, AccountNoteListDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminDashboardStatsDto, AdminGetAllDomainTransfers200Response, AdminLandingDesignStatsDto, AdminMarketplaceDto, BulkCommissionActionsInput, ChangeInvoiceStatusInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CommissionSimulationResultDto, CreateAccountNoteInput, CreateChallengeInput, DomainLockDto, DomainStatsDto, DomainTldsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAdminDomainAppraisalRequests200Response, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadEnrichmentDto, LeadMessageDto, LedgerMutationsDto, LinkBankDepositToBankAccountInput, LinkBankDepositToInvoiceInput, ListAccounts200Response, ListAdminLandingDesignAccounts200Response, ListAdminRelatedLeads200Response, ListBankAccounts200Response, ListBankDeposits200Response, ListDomains200Response, ListLeadMessagesDto, ListLeads200Response, ObjectId, PaySellerInvoicesInput, SellerLeadDetails, SellerPayoutPreviewDto, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SimulateCommissionInput, StatsFilterInputDateRange, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateAccountNoteInput, UpdateAdminDomainTransferBuyerCompanyInfoInput, UpdateAdminDomainTransferBuyerInfoInput, UpdateChallengeInput, UpdateFeatureFlagInput, UpdateMarketplaceInput, UpdateSubscriptionBuyerInformationInput } from '../models/index';
13
+ import type { AccountNameshiftCommissionByTypeDto, AccountNoteListDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminDashboardStatsDto, AdminGetAllDomainTransfers200Response, AdminLandingDesignStatsDto, AdminMarketplaceDto, AdminUserSecurityDto, BulkCommissionActionsInput, ChangeInvoiceStatusInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CommissionSimulationResultDto, CreateAccountNoteInput, CreateChallengeInput, DomainLockDto, DomainStatsDto, DomainTldsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAdminDomainAppraisalRequests200Response, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadEnrichmentDto, LeadMessageDto, LedgerMutationsDto, LinkBankDepositToBankAccountInput, LinkBankDepositToInvoiceInput, ListAccounts200Response, ListAdminLandingDesignAccounts200Response, ListAdminRelatedLeads200Response, ListBankAccounts200Response, ListBankDeposits200Response, ListDomains200Response, ListLeadMessagesDto, ListLeads200Response, ListUserLoginAttempts200Response, ObjectId, PaySellerInvoicesInput, SellerLeadDetails, SellerPayoutPreviewDto, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SimulateCommissionInput, StatsFilterInputDateRange, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateAccountNoteInput, UpdateAdminDomainTransferBuyerCompanyInfoInput, UpdateAdminDomainTransferBuyerInfoInput, UpdateChallengeInput, UpdateFeatureFlagInput, UpdateMarketplaceInput, UpdateSubscriptionBuyerInformationInput } from '../models/index';
14
14
  export interface AdminApiAdminDeleteAuctionRequest {
15
15
  auctionId: string;
16
16
  }
@@ -212,6 +212,9 @@ export interface AdminApiLinkBankDepositToInvoiceRequest {
212
212
  export interface AdminApiListAccountNotesRequest {
213
213
  accountId: string;
214
214
  }
215
+ export interface AdminApiListAccountUsersSecurityRequest {
216
+ accountId: string;
217
+ }
215
218
  export interface AdminApiListAccountsRequest {
216
219
  filter?: {
217
220
  [key: string]: string;
@@ -297,6 +300,17 @@ export interface AdminApiListLedgerMutationsRequest {
297
300
  limit?: number;
298
301
  dateRange?: StatsFilterInputDateRange | null;
299
302
  }
303
+ export interface AdminApiListUserLoginAttemptsAsAdminRequest {
304
+ userId: string;
305
+ filter?: {
306
+ [key: string]: string;
307
+ };
308
+ page?: number;
309
+ limit?: number;
310
+ sortBy?: Array<string>;
311
+ filterResult?: string;
312
+ filterMethod?: string;
313
+ }
300
314
  export interface AdminApiLoginAsRequest {
301
315
  accountId: string;
302
316
  }
@@ -339,6 +353,9 @@ export interface AdminApiRemoveDomainLockRequest {
339
353
  export interface AdminApiReopenAdminLeadRequest {
340
354
  leadId: string;
341
355
  }
356
+ export interface AdminApiResetUserSecondFactorsRequest {
357
+ userId: string;
358
+ }
342
359
  export interface AdminApiShowcaseDomainRequest {
343
360
  domainId: string;
344
361
  }
@@ -836,6 +853,14 @@ export declare class AdminApi extends runtime.BaseAPI {
836
853
  * List account notes
837
854
  */
838
855
  listAccountNotes(requestParameters: AdminApiListAccountNotesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountNoteListDto>;
856
+ /**
857
+ * List how the users of an account sign in
858
+ */
859
+ listAccountUsersSecurityRaw(requestParameters: AdminApiListAccountUsersSecurityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<AdminUserSecurityDto>>>;
860
+ /**
861
+ * List how the users of an account sign in
862
+ */
863
+ listAccountUsersSecurity(requestParameters: AdminApiListAccountUsersSecurityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AdminUserSecurityDto>>;
839
864
  /**
840
865
  * Lists all seller accounts.
841
866
  * List accounts
@@ -976,6 +1001,14 @@ export declare class AdminApi extends runtime.BaseAPI {
976
1001
  * List ledger mutations
977
1002
  */
978
1003
  listLedgerMutations(requestParameters: AdminApiListLedgerMutationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LedgerMutationsDto>;
1004
+ /**
1005
+ * List the sign-ins of a user
1006
+ */
1007
+ listUserLoginAttemptsAsAdminRaw(requestParameters: AdminApiListUserLoginAttemptsAsAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListUserLoginAttempts200Response>>;
1008
+ /**
1009
+ * List the sign-ins of a user
1010
+ */
1011
+ listUserLoginAttemptsAsAdmin(requestParameters: AdminApiListUserLoginAttemptsAsAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListUserLoginAttempts200Response>;
979
1012
  /**
980
1013
  * Generates an authentication token to impersonate the account. Requires super admin role.
981
1014
  * Login as account
@@ -1106,6 +1139,16 @@ export declare class AdminApi extends runtime.BaseAPI {
1106
1139
  * Reopen a closed lead
1107
1140
  */
1108
1141
  reopenAdminLead(requestParameters: AdminApiReopenAdminLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
1142
+ /**
1143
+ * For a user who lost them: removes the authenticator app, passkeys and recovery codes, and goes back to a password alone. Staff are asked to set up an authenticator app at the next sign-in. Requires super admin role.
1144
+ * Remove every second factor of a user
1145
+ */
1146
+ resetUserSecondFactorsRaw(requestParameters: AdminApiResetUserSecondFactorsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
1147
+ /**
1148
+ * For a user who lost them: removes the authenticator app, passkeys and recovery codes, and goes back to a password alone. Staff are asked to set up an authenticator app at the next sign-in. Requires super admin role.
1149
+ * Remove every second factor of a user
1150
+ */
1151
+ resetUserSecondFactors(requestParameters: AdminApiResetUserSecondFactorsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
1109
1152
  /**
1110
1153
  * Picks the domain for the public showcase on the website. Idempotent: showcasing an already showcased domain keeps its original position in the showcase.
1111
1154
  * Showcase domain
@@ -2662,6 +2662,59 @@ var AdminApi = /** @class */ (function (_super) {
2662
2662
  });
2663
2663
  });
2664
2664
  };
2665
+ /**
2666
+ * List how the users of an account sign in
2667
+ */
2668
+ AdminApi.prototype.listAccountUsersSecurityRaw = function (requestParameters, initOverrides) {
2669
+ return __awaiter(this, void 0, void 0, function () {
2670
+ var queryParameters, headerParameters, token, tokenString, response;
2671
+ return __generator(this, function (_a) {
2672
+ switch (_a.label) {
2673
+ case 0:
2674
+ if (requestParameters['accountId'] == null) {
2675
+ throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling listAccountUsersSecurity().');
2676
+ }
2677
+ queryParameters = {};
2678
+ headerParameters = {};
2679
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
2680
+ token = this.configuration.accessToken;
2681
+ return [4 /*yield*/, token("bearer", [])];
2682
+ case 1:
2683
+ tokenString = _a.sent();
2684
+ if (tokenString) {
2685
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
2686
+ }
2687
+ _a.label = 2;
2688
+ case 2: return [4 /*yield*/, this.request({
2689
+ path: "/admin/accounts/{accountId}/users/security".replace("{".concat("accountId", "}"), encodeURIComponent(String(requestParameters['accountId']))),
2690
+ method: 'GET',
2691
+ headers: headerParameters,
2692
+ query: queryParameters,
2693
+ }, initOverrides)];
2694
+ case 3:
2695
+ response = _a.sent();
2696
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.AdminUserSecurityDtoFromJSON); })];
2697
+ }
2698
+ });
2699
+ });
2700
+ };
2701
+ /**
2702
+ * List how the users of an account sign in
2703
+ */
2704
+ AdminApi.prototype.listAccountUsersSecurity = function (requestParameters, initOverrides) {
2705
+ return __awaiter(this, void 0, void 0, function () {
2706
+ var response;
2707
+ return __generator(this, function (_a) {
2708
+ switch (_a.label) {
2709
+ case 0: return [4 /*yield*/, this.listAccountUsersSecurityRaw(requestParameters, initOverrides)];
2710
+ case 1:
2711
+ response = _a.sent();
2712
+ return [4 /*yield*/, response.value()];
2713
+ case 2: return [2 /*return*/, _a.sent()];
2714
+ }
2715
+ });
2716
+ });
2717
+ };
2665
2718
  /**
2666
2719
  * Lists all seller accounts.
2667
2720
  * List accounts
@@ -3546,6 +3599,77 @@ var AdminApi = /** @class */ (function (_super) {
3546
3599
  });
3547
3600
  });
3548
3601
  };
3602
+ /**
3603
+ * List the sign-ins of a user
3604
+ */
3605
+ AdminApi.prototype.listUserLoginAttemptsAsAdminRaw = function (requestParameters, initOverrides) {
3606
+ return __awaiter(this, void 0, void 0, function () {
3607
+ var queryParameters, headerParameters, token, tokenString, response;
3608
+ return __generator(this, function (_a) {
3609
+ switch (_a.label) {
3610
+ case 0:
3611
+ if (requestParameters['userId'] == null) {
3612
+ throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling listUserLoginAttemptsAsAdmin().');
3613
+ }
3614
+ queryParameters = {};
3615
+ if (requestParameters['filter'] != null) {
3616
+ queryParameters['filter'] = requestParameters['filter'];
3617
+ }
3618
+ if (requestParameters['page'] != null) {
3619
+ queryParameters['page'] = requestParameters['page'];
3620
+ }
3621
+ if (requestParameters['limit'] != null) {
3622
+ queryParameters['limit'] = requestParameters['limit'];
3623
+ }
3624
+ if (requestParameters['sortBy'] != null) {
3625
+ queryParameters['sortBy'] = requestParameters['sortBy'];
3626
+ }
3627
+ if (requestParameters['filterResult'] != null) {
3628
+ queryParameters['filter[result]'] = requestParameters['filterResult'];
3629
+ }
3630
+ if (requestParameters['filterMethod'] != null) {
3631
+ queryParameters['filter[method]'] = requestParameters['filterMethod'];
3632
+ }
3633
+ headerParameters = {};
3634
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
3635
+ token = this.configuration.accessToken;
3636
+ return [4 /*yield*/, token("bearer", [])];
3637
+ case 1:
3638
+ tokenString = _a.sent();
3639
+ if (tokenString) {
3640
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
3641
+ }
3642
+ _a.label = 2;
3643
+ case 2: return [4 /*yield*/, this.request({
3644
+ path: "/admin/users/{userId}/login-attempts".replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters['userId']))),
3645
+ method: 'GET',
3646
+ headers: headerParameters,
3647
+ query: queryParameters,
3648
+ }, initOverrides)];
3649
+ case 3:
3650
+ response = _a.sent();
3651
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ListUserLoginAttempts200ResponseFromJSON)(jsonValue); })];
3652
+ }
3653
+ });
3654
+ });
3655
+ };
3656
+ /**
3657
+ * List the sign-ins of a user
3658
+ */
3659
+ AdminApi.prototype.listUserLoginAttemptsAsAdmin = function (requestParameters, initOverrides) {
3660
+ return __awaiter(this, void 0, void 0, function () {
3661
+ var response;
3662
+ return __generator(this, function (_a) {
3663
+ switch (_a.label) {
3664
+ case 0: return [4 /*yield*/, this.listUserLoginAttemptsAsAdminRaw(requestParameters, initOverrides)];
3665
+ case 1:
3666
+ response = _a.sent();
3667
+ return [4 /*yield*/, response.value()];
3668
+ case 2: return [2 /*return*/, _a.sent()];
3669
+ }
3670
+ });
3671
+ });
3672
+ };
3549
3673
  /**
3550
3674
  * Generates an authentication token to impersonate the account. Requires super admin role.
3551
3675
  * Login as account
@@ -4258,6 +4382,59 @@ var AdminApi = /** @class */ (function (_super) {
4258
4382
  });
4259
4383
  });
4260
4384
  };
4385
+ /**
4386
+ * For a user who lost them: removes the authenticator app, passkeys and recovery codes, and goes back to a password alone. Staff are asked to set up an authenticator app at the next sign-in. Requires super admin role.
4387
+ * Remove every second factor of a user
4388
+ */
4389
+ AdminApi.prototype.resetUserSecondFactorsRaw = function (requestParameters, initOverrides) {
4390
+ return __awaiter(this, void 0, void 0, function () {
4391
+ var queryParameters, headerParameters, token, tokenString, response;
4392
+ return __generator(this, function (_a) {
4393
+ switch (_a.label) {
4394
+ case 0:
4395
+ if (requestParameters['userId'] == null) {
4396
+ throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling resetUserSecondFactors().');
4397
+ }
4398
+ queryParameters = {};
4399
+ headerParameters = {};
4400
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
4401
+ token = this.configuration.accessToken;
4402
+ return [4 /*yield*/, token("bearer", [])];
4403
+ case 1:
4404
+ tokenString = _a.sent();
4405
+ if (tokenString) {
4406
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
4407
+ }
4408
+ _a.label = 2;
4409
+ case 2: return [4 /*yield*/, this.request({
4410
+ path: "/admin/users/{userId}/security/reset".replace("{".concat("userId", "}"), encodeURIComponent(String(requestParameters['userId']))),
4411
+ method: 'POST',
4412
+ headers: headerParameters,
4413
+ query: queryParameters,
4414
+ }, initOverrides)];
4415
+ case 3:
4416
+ response = _a.sent();
4417
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
4418
+ }
4419
+ });
4420
+ });
4421
+ };
4422
+ /**
4423
+ * For a user who lost them: removes the authenticator app, passkeys and recovery codes, and goes back to a password alone. Staff are asked to set up an authenticator app at the next sign-in. Requires super admin role.
4424
+ * Remove every second factor of a user
4425
+ */
4426
+ AdminApi.prototype.resetUserSecondFactors = function (requestParameters, initOverrides) {
4427
+ return __awaiter(this, void 0, void 0, function () {
4428
+ return __generator(this, function (_a) {
4429
+ switch (_a.label) {
4430
+ case 0: return [4 /*yield*/, this.resetUserSecondFactorsRaw(requestParameters, initOverrides)];
4431
+ case 1:
4432
+ _a.sent();
4433
+ return [2 /*return*/];
4434
+ }
4435
+ });
4436
+ });
4437
+ };
4261
4438
  /**
4262
4439
  * Picks the domain for the public showcase on the website. Idempotent: showcasing an already showcased domain keeps its original position in the showcase.
4263
4440
  * Showcase domain
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { AuctionBuyerWithTokenDto, LoginDto, LoginInput, RequestAccessTokenInput, RequestEmailOtpInput, VerifyEmailOtpInput } from '../models/index';
13
+ import type { AuctionBuyerWithTokenDto, BuyerLoginDto, LoginInput, RequestAccessTokenInput, RequestEmailOtpInput, VerifyEmailOtpInput } from '../models/index';
14
14
  export interface BuyersPublicApiBuyerLoginRequest {
15
15
  loginInput: LoginInput;
16
16
  }
@@ -31,12 +31,12 @@ export declare class BuyersPublicApi extends runtime.BaseAPI {
31
31
  * Authenticates a buyer with email and password. Requires valid buyer credentials. Signing in also activates every unverified lead of the buyer, since it proves they own the mailbox.
32
32
  * Authenticate a buyer
33
33
  */
34
- buyerLoginRaw(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LoginDto>>;
34
+ buyerLoginRaw(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuyerLoginDto>>;
35
35
  /**
36
36
  * Authenticates a buyer with email and password. Requires valid buyer credentials. Signing in also activates every unverified lead of the buyer, since it proves they own the mailbox.
37
37
  * Authenticate a buyer
38
38
  */
39
- buyerLogin(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LoginDto>;
39
+ buyerLogin(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuyerLoginDto>;
40
40
  /**
41
41
  * Sends an access token to the buyer email if the account exists. Always returns success regardless of email validity to prevent account enumeration.
42
42
  * Request a magic-link access token
@@ -100,7 +100,7 @@ var BuyersPublicApi = /** @class */ (function (_super) {
100
100
  }, initOverrides)];
101
101
  case 1:
102
102
  response = _a.sent();
103
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.LoginDtoFromJSON)(jsonValue); })];
103
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.BuyerLoginDtoFromJSON)(jsonValue); })];
104
104
  }
105
105
  });
106
106
  });
@@ -10,11 +10,14 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { ListAuctions200Response, ListDomainsWithUpdatedPricing200Response, PartnerDomainFindDto } from '../models/index';
13
+ import type { ListAuctions200Response, ListDomainsWithUpdatedPricing200Response, PartnerDomainFindDto, PartnerDomainSeoMetricsDto } from '../models/index';
14
14
  export interface PartnerApiDomainsFindRequest {
15
15
  rootName: string;
16
16
  tld?: string;
17
17
  }
18
+ export interface PartnerApiGetPartnerDomainSeoMetricsRequest {
19
+ domainName: string;
20
+ }
18
21
  export interface PartnerApiListAuctionsRequest {
19
22
  limit?: number;
20
23
  cursor?: string;
@@ -38,6 +41,16 @@ export declare class PartnerApi extends runtime.BaseAPI {
38
41
  * Find domains by root name
39
42
  */
40
43
  domainsFind(requestParameters: PartnerApiDomainsFindRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PartnerDomainFindDto>>;
44
+ /**
45
+ * Returns the Moz and Majestic metrics Nameshift keeps for a listed domain (sold ones included), each with the date it was fetched. Link metrics only: no prices, page views or leads.
46
+ * Get the SEO metrics of a domain
47
+ */
48
+ getPartnerDomainSeoMetricsRaw(requestParameters: PartnerApiGetPartnerDomainSeoMetricsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PartnerDomainSeoMetricsDto>>;
49
+ /**
50
+ * Returns the Moz and Majestic metrics Nameshift keeps for a listed domain (sold ones included), each with the date it was fetched. Link metrics only: no prices, page views or leads.
51
+ * Get the SEO metrics of a domain
52
+ */
53
+ getPartnerDomainSeoMetrics(requestParameters: PartnerApiGetPartnerDomainSeoMetricsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerDomainSeoMetricsDto>;
41
54
  /**
42
55
  * Lists auctions available to the partner API key.
43
56
  * List partner auctions
@@ -131,6 +131,59 @@ var PartnerApi = /** @class */ (function (_super) {
131
131
  });
132
132
  });
133
133
  };
134
+ /**
135
+ * Returns the Moz and Majestic metrics Nameshift keeps for a listed domain (sold ones included), each with the date it was fetched. Link metrics only: no prices, page views or leads.
136
+ * Get the SEO metrics of a domain
137
+ */
138
+ PartnerApi.prototype.getPartnerDomainSeoMetricsRaw = function (requestParameters, initOverrides) {
139
+ return __awaiter(this, void 0, void 0, function () {
140
+ var queryParameters, headerParameters, _a, _b, response;
141
+ return __generator(this, function (_c) {
142
+ switch (_c.label) {
143
+ case 0:
144
+ if (requestParameters['domainName'] == null) {
145
+ throw new runtime.RequiredError('domainName', 'Required parameter "domainName" was null or undefined when calling getPartnerDomainSeoMetrics().');
146
+ }
147
+ queryParameters = {};
148
+ headerParameters = {};
149
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
150
+ _a = headerParameters;
151
+ _b = "apikey";
152
+ return [4 /*yield*/, this.configuration.apiKey("apikey")];
153
+ case 1:
154
+ _a[_b] = _c.sent(); // api_key authentication
155
+ _c.label = 2;
156
+ case 2: return [4 /*yield*/, this.request({
157
+ path: "/partner/domains/by-name/{domainName}/seo-metrics".replace("{".concat("domainName", "}"), encodeURIComponent(String(requestParameters['domainName']))),
158
+ method: 'GET',
159
+ headers: headerParameters,
160
+ query: queryParameters,
161
+ }, initOverrides)];
162
+ case 3:
163
+ response = _c.sent();
164
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PartnerDomainSeoMetricsDtoFromJSON)(jsonValue); })];
165
+ }
166
+ });
167
+ });
168
+ };
169
+ /**
170
+ * Returns the Moz and Majestic metrics Nameshift keeps for a listed domain (sold ones included), each with the date it was fetched. Link metrics only: no prices, page views or leads.
171
+ * Get the SEO metrics of a domain
172
+ */
173
+ PartnerApi.prototype.getPartnerDomainSeoMetrics = function (requestParameters, initOverrides) {
174
+ return __awaiter(this, void 0, void 0, function () {
175
+ var response;
176
+ return __generator(this, function (_a) {
177
+ switch (_a.label) {
178
+ case 0: return [4 /*yield*/, this.getPartnerDomainSeoMetricsRaw(requestParameters, initOverrides)];
179
+ case 1:
180
+ response = _a.sent();
181
+ return [4 /*yield*/, response.value()];
182
+ case 2: return [2 /*return*/, _a.sent()];
183
+ }
184
+ });
185
+ });
186
+ };
134
187
  /**
135
188
  * Lists auctions available to the partner API key.
136
189
  * List partner auctions