@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.
- package/.openapi-generator/FILES +35 -1
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +44 -1
- package/dist/apis/AdminApi.js +177 -0
- package/dist/apis/BuyersPublicApi.d.ts +3 -3
- package/dist/apis/BuyersPublicApi.js +1 -1
- package/dist/apis/PartnerApi.d.ts +14 -1
- package/dist/apis/PartnerApi.js +53 -0
- package/dist/apis/UsersApi.d.ts +285 -1
- package/dist/apis/UsersApi.js +1305 -46
- package/dist/apis/UsersPublicApi.d.ts +107 -3
- package/dist/apis/UsersPublicApi.js +388 -2
- package/dist/models/ActivateUserTotpInput.d.ts +32 -0
- package/dist/models/ActivateUserTotpInput.js +51 -0
- package/dist/models/AdminUserSecurityDto.d.ts +87 -0
- package/dist/models/AdminUserSecurityDto.js +88 -0
- package/dist/models/BuyerLoginDto.d.ts +38 -0
- package/dist/models/BuyerLoginDto.js +55 -0
- package/dist/models/BuyerNotificationDto.d.ts +1 -0
- package/dist/models/BuyerNotificationDto.js +1 -0
- package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
- package/dist/models/BuyerNotificationListItemDto.js +1 -0
- package/dist/models/ChangeUserAuthenticationMethodInput.d.ts +33 -0
- package/dist/models/ChangeUserAuthenticationMethodInput.js +52 -0
- package/dist/models/ChangeUserLoginLocationVerificationInput.d.ts +32 -0
- package/dist/models/ChangeUserLoginLocationVerificationInput.js +51 -0
- package/dist/models/ChangeUserPasswordInput.d.ts +38 -0
- package/dist/models/ChangeUserPasswordInput.js +55 -0
- package/dist/models/ConfirmLoginLocationInput.d.ts +32 -0
- package/dist/models/ConfirmLoginLocationInput.js +51 -0
- package/dist/models/CurrentPasswordInput.d.ts +32 -0
- package/dist/models/CurrentPasswordInput.js +51 -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/ListUserLoginAttempts200Response.d.ts +47 -0
- package/dist/models/ListUserLoginAttempts200Response.js +62 -0
- package/dist/models/LoginChallengeInput.d.ts +32 -0
- package/dist/models/LoginChallengeInput.js +51 -0
- package/dist/models/LoginCodeInput.d.ts +38 -0
- package/dist/models/LoginCodeInput.js +55 -0
- package/dist/models/LoginDto.d.ts +30 -4
- package/dist/models/LoginDto.js +13 -5
- package/dist/models/LoginPasskeyInput.d.ts +46 -0
- package/dist/models/LoginPasskeyInput.js +57 -0
- package/dist/models/LoginPasskeyOptionsInput.d.ts +32 -0
- package/dist/models/LoginPasskeyOptionsInput.js +49 -0
- package/dist/models/LoginRecoveryCodeInput.d.ts +38 -0
- package/dist/models/LoginRecoveryCodeInput.js +55 -0
- package/dist/models/LoginStatus.d.ts +26 -0
- package/dist/models/LoginStatus.js +52 -0
- package/dist/models/PartnerDomainSeoMetricsDto.d.ts +40 -0
- package/dist/models/PartnerDomainSeoMetricsDto.js +57 -0
- package/dist/models/PartnerMajesticMetricsDto.d.ts +56 -0
- package/dist/models/PartnerMajesticMetricsDto.js +67 -0
- package/dist/models/PartnerMozMetricsDto.d.ts +62 -0
- package/dist/models/PartnerMozMetricsDto.js +71 -0
- package/dist/models/PasskeyOptionsDto.d.ts +40 -0
- package/dist/models/PasskeyOptionsDto.js +55 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/ReauthenticateWithPasskeyInput.d.ts +40 -0
- package/dist/models/ReauthenticateWithPasskeyInput.js +55 -0
- package/dist/models/ReauthenticationDto.d.ts +38 -0
- package/dist/models/ReauthenticationDto.js +55 -0
- package/dist/models/RecoveryCodesDto.d.ts +32 -0
- package/dist/models/RecoveryCodesDto.js +51 -0
- package/dist/models/RegisterUserPasskeyInput.d.ts +46 -0
- package/dist/models/RegisterUserPasskeyInput.js +59 -0
- package/dist/models/RemoveUserPasskeyInput.d.ts +40 -0
- package/dist/models/RemoveUserPasskeyInput.js +55 -0
- package/dist/models/RenameUserPasskeyInput.d.ts +32 -0
- package/dist/models/{NotFoundException.js → RenameUserPasskeyInput.js} +13 -21
- package/dist/models/SecondFactorMethod.d.ts +26 -0
- package/dist/models/SecondFactorMethod.js +52 -0
- package/dist/models/SellerSecurityUserDto.d.ts +12 -0
- package/dist/models/SellerSecurityUserDto.js +4 -0
- package/dist/models/TotpCodeInput.d.ts +32 -0
- package/dist/models/TotpCodeInput.js +51 -0
- package/dist/models/TotpEnrolmentDto.d.ts +38 -0
- package/dist/models/TotpEnrolmentDto.js +55 -0
- package/dist/models/UserAuthenticationMethod.d.ts +27 -0
- package/dist/models/UserAuthenticationMethod.js +53 -0
- package/dist/models/UserLoginAttemptDto.d.ts +88 -0
- package/dist/models/UserLoginAttemptDto.js +89 -0
- package/dist/models/UserLoginAttemptMethod.d.ts +29 -0
- package/dist/models/UserLoginAttemptMethod.js +55 -0
- package/dist/models/UserLoginAttemptResult.d.ts +30 -0
- package/dist/models/UserLoginAttemptResult.js +56 -0
- package/dist/models/UserLoginLocationConfirmationDetailsDto.d.ts +62 -0
- package/dist/models/UserLoginLocationConfirmationDetailsDto.js +71 -0
- package/dist/models/UserNotificationDto.d.ts +1 -0
- package/dist/models/UserNotificationDto.js +1 -0
- package/dist/models/UserNotificationListItemDto.d.ts +1 -0
- package/dist/models/UserNotificationListItemDto.js +1 -0
- package/dist/models/UserPasskeyDto.d.ts +62 -0
- package/dist/models/UserPasskeyDto.js +71 -0
- package/dist/models/UserSecurityDto.d.ts +94 -0
- package/dist/models/UserSecurityDto.js +93 -0
- package/dist/models/index.d.ts +35 -1
- package/dist/models/index.js +35 -1
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +0 -3
- package/src/apis/AccountsPublicApi.ts +0 -3
- package/src/apis/AdminApi.ts +172 -3
- package/src/apis/AuctionsApi.ts +0 -3
- package/src/apis/BuyersApi.ts +0 -3
- package/src/apis/BuyersPublicApi.ts +6 -6
- package/src/apis/CustomerSuccessApi.ts +0 -3
- package/src/apis/DomainAppraisalRequestsApi.ts +0 -3
- package/src/apis/DomainAppraisalRequestsPublicApi.ts +0 -3
- package/src/apis/DomainsApi.ts +0 -3
- package/src/apis/DomainsPublicApi.ts +0 -3
- package/src/apis/InvoicesApi.ts +0 -3
- package/src/apis/JobsApi.ts +0 -3
- package/src/apis/LeadsPublicApi.ts +0 -3
- package/src/apis/NotificationsApi.ts +0 -3
- package/src/apis/OrdersPublicApi.ts +0 -3
- package/src/apis/PartnerApi.ts +46 -0
- package/src/apis/SubscriptionsPublicApi.ts +0 -3
- package/src/apis/UsersApi.ts +1219 -48
- package/src/apis/UsersPublicApi.ts +375 -5
- package/src/models/ActivateUserTotpInput.ts +66 -0
- package/src/models/AdminUserSecurityDto.ts +157 -0
- package/src/models/BuyerLoginDto.ts +75 -0
- package/src/models/BuyerNotificationDto.ts +1 -0
- package/src/models/BuyerNotificationListItemDto.ts +1 -0
- package/src/models/ChangeUserAuthenticationMethodInput.ts +76 -0
- package/src/models/ChangeUserLoginLocationVerificationInput.ts +66 -0
- package/src/models/ChangeUserPasswordInput.ts +75 -0
- package/src/models/ConfirmLoginLocationInput.ts +66 -0
- package/src/models/CurrentPasswordInput.ts +66 -0
- package/src/models/FeatureFlagListItemDto.ts +2 -1
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/ListUserLoginAttempts200Response.ts +106 -0
- package/src/models/LoginChallengeInput.ts +66 -0
- package/src/models/LoginCodeInput.ts +75 -0
- package/src/models/LoginDto.ts +56 -8
- package/src/models/LoginPasskeyInput.ts +83 -0
- package/src/models/LoginPasskeyOptionsInput.ts +65 -0
- package/src/models/LoginRecoveryCodeInput.ts +75 -0
- package/src/models/LoginStatus.ts +54 -0
- package/src/models/PartnerDomainSeoMetricsDto.ts +90 -0
- package/src/models/PartnerMajesticMetricsDto.ts +102 -0
- package/src/models/PartnerMozMetricsDto.ts +111 -0
- package/src/models/PasskeyOptionsDto.ts +75 -0
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/ReauthenticateWithPasskeyInput.ts +75 -0
- package/src/models/ReauthenticationDto.ts +75 -0
- package/src/models/RecoveryCodesDto.ts +66 -0
- package/src/models/RegisterUserPasskeyInput.ts +84 -0
- package/src/models/RemoveUserPasskeyInput.ts +75 -0
- package/src/models/RenameUserPasskeyInput.ts +66 -0
- package/src/models/SecondFactorMethod.ts +54 -0
- package/src/models/SellerSecurityUserDto.ts +16 -0
- package/src/models/TotpCodeInput.ts +66 -0
- package/src/models/TotpEnrolmentDto.ts +75 -0
- package/src/models/UserAuthenticationMethod.ts +55 -0
- package/src/models/UserLoginAttemptDto.ts +164 -0
- package/src/models/UserLoginAttemptMethod.ts +57 -0
- package/src/models/UserLoginAttemptResult.ts +58 -0
- package/src/models/UserLoginLocationConfirmationDetailsDto.ts +111 -0
- package/src/models/UserNotificationDto.ts +1 -0
- package/src/models/UserNotificationListItemDto.ts +1 -0
- package/src/models/UserPasskeyDto.ts +111 -0
- package/src/models/UserSecurityDto.ts +173 -0
- package/src/models/index.ts +35 -1
- package/dist/models/NotFoundException.d.ts +0 -44
- package/src/models/NotFoundException.ts +0 -84
package/dist/models/index.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ export * from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
|
37
37
|
export * from './AccountSettingsRentConfigurationDto';
|
|
38
38
|
export * from './AccountSettingsSidnDto';
|
|
39
39
|
export * from './AccountsStatsDto';
|
|
40
|
+
export * from './ActivateUserTotpInput';
|
|
40
41
|
export * from './AddSubscriptionDomainRecordInput';
|
|
41
42
|
export * from './AddressDto';
|
|
42
43
|
export * from './AdminAccountCommissionByDateRangeInput';
|
|
@@ -70,6 +71,7 @@ export * from './AdminLeadListItemDomainDto';
|
|
|
70
71
|
export * from './AdminLeadListItemDto';
|
|
71
72
|
export * from './AdminListAccountDto';
|
|
72
73
|
export * from './AdminMarketplaceDto';
|
|
74
|
+
export * from './AdminUserSecurityDto';
|
|
73
75
|
export * from './AdminVerificationDepositDto';
|
|
74
76
|
export * from './AffiliatesStatsDto';
|
|
75
77
|
export * from './AggregatedPaginationResponse';
|
|
@@ -138,6 +140,7 @@ export * from './BuyerInvoiceDto';
|
|
|
138
140
|
export * from './BuyerInvoiceSellerAccountDto';
|
|
139
141
|
export * from './BuyerLeadListItemDomainDto';
|
|
140
142
|
export * from './BuyerLeadListItemDto';
|
|
143
|
+
export * from './BuyerLoginDto';
|
|
141
144
|
export * from './BuyerNotificationAttachmentDto';
|
|
142
145
|
export * from './BuyerNotificationDto';
|
|
143
146
|
export * from './BuyerNotificationListItemDto';
|
|
@@ -152,7 +155,10 @@ export * from './ChallengeRewardBalanceDto';
|
|
|
152
155
|
export * from './ChangeInvoiceStatusInput';
|
|
153
156
|
export * from './ChangeOrderStatusInput';
|
|
154
157
|
export * from './ChangeSubscriptionStatusInput';
|
|
158
|
+
export * from './ChangeUserAuthenticationMethodInput';
|
|
155
159
|
export * from './ChangeUserEmailWithOtpInput';
|
|
160
|
+
export * from './ChangeUserLoginLocationVerificationInput';
|
|
161
|
+
export * from './ChangeUserPasswordInput';
|
|
156
162
|
export * from './ChartDataPoint';
|
|
157
163
|
export * from './CheckDomainsNsInput';
|
|
158
164
|
export * from './CommissionAccountDto';
|
|
@@ -179,6 +185,7 @@ export * from './CommissionSimulationResultDto';
|
|
|
179
185
|
export * from './CommissionsStatsDto';
|
|
180
186
|
export * from './CompanyInformationDto';
|
|
181
187
|
export * from './CompanyTaxIdDto';
|
|
188
|
+
export * from './ConfirmLoginLocationInput';
|
|
182
189
|
export * from './ConflictException';
|
|
183
190
|
export * from './CreateAccountNoteInput';
|
|
184
191
|
export * from './CreateAccountPaymentInput';
|
|
@@ -198,6 +205,7 @@ export * from './CreateSubscriptionBillingPeriodicityInput';
|
|
|
198
205
|
export * from './CreateSubscriptionInput';
|
|
199
206
|
export * from './CreateSubscriptionManualTransactionInput';
|
|
200
207
|
export * from './CreatedApiKeyDto';
|
|
208
|
+
export * from './CurrentPasswordInput';
|
|
201
209
|
export * from './CursorBasedPageInfo';
|
|
202
210
|
export * from './CursorBasedPaginationResponse';
|
|
203
211
|
export * from './CustomerSuccessDomainAuctionDto';
|
|
@@ -387,11 +395,18 @@ export * from './ListLeadMessagesDto';
|
|
|
387
395
|
export * from './ListLeads200Response';
|
|
388
396
|
export * from './ListLeadsResultItem';
|
|
389
397
|
export * from './ListNotifications200Response';
|
|
398
|
+
export * from './ListUserLoginAttempts200Response';
|
|
390
399
|
export * from './LockConfigurationInput';
|
|
391
400
|
export * from './LockDurationDto';
|
|
392
401
|
export * from './LockDurationInput';
|
|
402
|
+
export * from './LoginChallengeInput';
|
|
403
|
+
export * from './LoginCodeInput';
|
|
393
404
|
export * from './LoginDto';
|
|
394
405
|
export * from './LoginInput';
|
|
406
|
+
export * from './LoginPasskeyInput';
|
|
407
|
+
export * from './LoginPasskeyOptionsInput';
|
|
408
|
+
export * from './LoginRecoveryCodeInput';
|
|
409
|
+
export * from './LoginStatus';
|
|
395
410
|
export * from './MajesticMetrics';
|
|
396
411
|
export * from './MajesticTopicTrustFlow';
|
|
397
412
|
export * from './ManualLeadBuyerDto';
|
|
@@ -404,7 +419,6 @@ export * from './MoneyDecimalDto';
|
|
|
404
419
|
export * from './MoneyDto';
|
|
405
420
|
export * from './MoneyInput';
|
|
406
421
|
export * from './MozMetrics';
|
|
407
|
-
export * from './NotFoundException';
|
|
408
422
|
export * from './NotificationsUnsubscribeResultDto';
|
|
409
423
|
export * from './ObjectId';
|
|
410
424
|
export * from './OrderCompanyInfoDto';
|
|
@@ -424,6 +438,10 @@ export * from './PaginateResponseMeta';
|
|
|
424
438
|
export * from './ParsedDomainDto';
|
|
425
439
|
export * from './PartnerAuctionDto';
|
|
426
440
|
export * from './PartnerDomainFindDto';
|
|
441
|
+
export * from './PartnerDomainSeoMetricsDto';
|
|
442
|
+
export * from './PartnerMajesticMetricsDto';
|
|
443
|
+
export * from './PartnerMozMetricsDto';
|
|
444
|
+
export * from './PasskeyOptionsDto';
|
|
427
445
|
export * from './PayAccountPaymentInput';
|
|
428
446
|
export * from './PaySellerInvoicesInput';
|
|
429
447
|
export * from './PaymentMethodsStatsDto';
|
|
@@ -446,15 +464,21 @@ export * from './PublicSaleDto';
|
|
|
446
464
|
export * from './PublicSalesDto';
|
|
447
465
|
export * from './PutBuyerLeadOfferInput';
|
|
448
466
|
export * from './PutLeadOfferInput';
|
|
467
|
+
export * from './ReauthenticateWithPasskeyInput';
|
|
468
|
+
export * from './ReauthenticationDto';
|
|
469
|
+
export * from './RecoveryCodesDto';
|
|
449
470
|
export * from './RegisterAccountInput';
|
|
450
471
|
export * from './RegisterAccountPortfolioSizeInput';
|
|
451
472
|
export * from './RegisterAuctionBuyerPhoneInput';
|
|
452
473
|
export * from './RegisterInput';
|
|
474
|
+
export * from './RegisterUserPasskeyInput';
|
|
453
475
|
export * from './RegisterUserPushTokenInput';
|
|
454
476
|
export * from './RelatedDomainsDto';
|
|
455
477
|
export * from './RelatedLeadDto';
|
|
456
478
|
export * from './RelatedSellerDomain';
|
|
457
479
|
export * from './RemoveSubscriptionDomainRecordInput';
|
|
480
|
+
export * from './RemoveUserPasskeyInput';
|
|
481
|
+
export * from './RenameUserPasskeyInput';
|
|
458
482
|
export * from './RentConfigurationDto';
|
|
459
483
|
export * from './RentConfigurationInput';
|
|
460
484
|
export * from './RentConfigurationPresetsDto';
|
|
@@ -468,6 +492,7 @@ export * from './SalesCountCommissionPayloadInput';
|
|
|
468
492
|
export * from './SalesCountCommissionPayloadSimulationInput';
|
|
469
493
|
export * from './SalesCountCommissionReasonPayloadDto';
|
|
470
494
|
export * from './SearchBankAccountInstitutionsInput';
|
|
495
|
+
export * from './SecondFactorMethod';
|
|
471
496
|
export * from './SellerAccountReferralListItemDto';
|
|
472
497
|
export * from './SellerAffiliateCommissionDto';
|
|
473
498
|
export * from './SellerAuctionListItemDto';
|
|
@@ -545,6 +570,8 @@ export * from './TimeTableConfigurationDto';
|
|
|
545
570
|
export * from './TimeTableConfigurationInput';
|
|
546
571
|
export * from './TopAffiliateSellerDto';
|
|
547
572
|
export * from './TopSellerAccountDto';
|
|
573
|
+
export * from './TotpCodeInput';
|
|
574
|
+
export * from './TotpEnrolmentDto';
|
|
548
575
|
export * from './TranslateDomainSearchInput';
|
|
549
576
|
export * from './UpdateAccountBillingInformationInput';
|
|
550
577
|
export * from './UpdateAccountChallengeRewardBalanceInput';
|
|
@@ -576,11 +603,18 @@ export * from './UpdateSubscriptionInput';
|
|
|
576
603
|
export * from './UpdateTaskMuteStatusForBuyerInput';
|
|
577
604
|
export * from './UpdateTaskMuteStatusInput';
|
|
578
605
|
export * from './UpdateUserNotificationSettingsInput';
|
|
606
|
+
export * from './UserAuthenticationMethod';
|
|
607
|
+
export * from './UserLoginAttemptDto';
|
|
608
|
+
export * from './UserLoginAttemptMethod';
|
|
609
|
+
export * from './UserLoginAttemptResult';
|
|
610
|
+
export * from './UserLoginLocationConfirmationDetailsDto';
|
|
579
611
|
export * from './UserNotificationAttachmentDto';
|
|
580
612
|
export * from './UserNotificationDto';
|
|
581
613
|
export * from './UserNotificationListItemDto';
|
|
582
614
|
export * from './UserNotificationSettingsDto';
|
|
615
|
+
export * from './UserPasskeyDto';
|
|
583
616
|
export * from './UserPasswordResetDto';
|
|
617
|
+
export * from './UserSecurityDto';
|
|
584
618
|
export * from './UserSignedTokenInput';
|
|
585
619
|
export * from './ValidateTaxNumberDto';
|
|
586
620
|
export * from './ValidateTaxNumberInput';
|
package/dist/models/index.js
CHANGED
|
@@ -55,6 +55,7 @@ __exportStar(require("./AccountSettingsLeaseToOwnConfigurationDto"), exports);
|
|
|
55
55
|
__exportStar(require("./AccountSettingsRentConfigurationDto"), exports);
|
|
56
56
|
__exportStar(require("./AccountSettingsSidnDto"), exports);
|
|
57
57
|
__exportStar(require("./AccountsStatsDto"), exports);
|
|
58
|
+
__exportStar(require("./ActivateUserTotpInput"), exports);
|
|
58
59
|
__exportStar(require("./AddSubscriptionDomainRecordInput"), exports);
|
|
59
60
|
__exportStar(require("./AddressDto"), exports);
|
|
60
61
|
__exportStar(require("./AdminAccountCommissionByDateRangeInput"), exports);
|
|
@@ -88,6 +89,7 @@ __exportStar(require("./AdminLeadListItemDomainDto"), exports);
|
|
|
88
89
|
__exportStar(require("./AdminLeadListItemDto"), exports);
|
|
89
90
|
__exportStar(require("./AdminListAccountDto"), exports);
|
|
90
91
|
__exportStar(require("./AdminMarketplaceDto"), exports);
|
|
92
|
+
__exportStar(require("./AdminUserSecurityDto"), exports);
|
|
91
93
|
__exportStar(require("./AdminVerificationDepositDto"), exports);
|
|
92
94
|
__exportStar(require("./AffiliatesStatsDto"), exports);
|
|
93
95
|
__exportStar(require("./AggregatedPaginationResponse"), exports);
|
|
@@ -156,6 +158,7 @@ __exportStar(require("./BuyerInvoiceDto"), exports);
|
|
|
156
158
|
__exportStar(require("./BuyerInvoiceSellerAccountDto"), exports);
|
|
157
159
|
__exportStar(require("./BuyerLeadListItemDomainDto"), exports);
|
|
158
160
|
__exportStar(require("./BuyerLeadListItemDto"), exports);
|
|
161
|
+
__exportStar(require("./BuyerLoginDto"), exports);
|
|
159
162
|
__exportStar(require("./BuyerNotificationAttachmentDto"), exports);
|
|
160
163
|
__exportStar(require("./BuyerNotificationDto"), exports);
|
|
161
164
|
__exportStar(require("./BuyerNotificationListItemDto"), exports);
|
|
@@ -170,7 +173,10 @@ __exportStar(require("./ChallengeRewardBalanceDto"), exports);
|
|
|
170
173
|
__exportStar(require("./ChangeInvoiceStatusInput"), exports);
|
|
171
174
|
__exportStar(require("./ChangeOrderStatusInput"), exports);
|
|
172
175
|
__exportStar(require("./ChangeSubscriptionStatusInput"), exports);
|
|
176
|
+
__exportStar(require("./ChangeUserAuthenticationMethodInput"), exports);
|
|
173
177
|
__exportStar(require("./ChangeUserEmailWithOtpInput"), exports);
|
|
178
|
+
__exportStar(require("./ChangeUserLoginLocationVerificationInput"), exports);
|
|
179
|
+
__exportStar(require("./ChangeUserPasswordInput"), exports);
|
|
174
180
|
__exportStar(require("./ChartDataPoint"), exports);
|
|
175
181
|
__exportStar(require("./CheckDomainsNsInput"), exports);
|
|
176
182
|
__exportStar(require("./CommissionAccountDto"), exports);
|
|
@@ -197,6 +203,7 @@ __exportStar(require("./CommissionSimulationResultDto"), exports);
|
|
|
197
203
|
__exportStar(require("./CommissionsStatsDto"), exports);
|
|
198
204
|
__exportStar(require("./CompanyInformationDto"), exports);
|
|
199
205
|
__exportStar(require("./CompanyTaxIdDto"), exports);
|
|
206
|
+
__exportStar(require("./ConfirmLoginLocationInput"), exports);
|
|
200
207
|
__exportStar(require("./ConflictException"), exports);
|
|
201
208
|
__exportStar(require("./CreateAccountNoteInput"), exports);
|
|
202
209
|
__exportStar(require("./CreateAccountPaymentInput"), exports);
|
|
@@ -216,6 +223,7 @@ __exportStar(require("./CreateSubscriptionBillingPeriodicityInput"), exports);
|
|
|
216
223
|
__exportStar(require("./CreateSubscriptionInput"), exports);
|
|
217
224
|
__exportStar(require("./CreateSubscriptionManualTransactionInput"), exports);
|
|
218
225
|
__exportStar(require("./CreatedApiKeyDto"), exports);
|
|
226
|
+
__exportStar(require("./CurrentPasswordInput"), exports);
|
|
219
227
|
__exportStar(require("./CursorBasedPageInfo"), exports);
|
|
220
228
|
__exportStar(require("./CursorBasedPaginationResponse"), exports);
|
|
221
229
|
__exportStar(require("./CustomerSuccessDomainAuctionDto"), exports);
|
|
@@ -405,11 +413,18 @@ __exportStar(require("./ListLeadMessagesDto"), exports);
|
|
|
405
413
|
__exportStar(require("./ListLeads200Response"), exports);
|
|
406
414
|
__exportStar(require("./ListLeadsResultItem"), exports);
|
|
407
415
|
__exportStar(require("./ListNotifications200Response"), exports);
|
|
416
|
+
__exportStar(require("./ListUserLoginAttempts200Response"), exports);
|
|
408
417
|
__exportStar(require("./LockConfigurationInput"), exports);
|
|
409
418
|
__exportStar(require("./LockDurationDto"), exports);
|
|
410
419
|
__exportStar(require("./LockDurationInput"), exports);
|
|
420
|
+
__exportStar(require("./LoginChallengeInput"), exports);
|
|
421
|
+
__exportStar(require("./LoginCodeInput"), exports);
|
|
411
422
|
__exportStar(require("./LoginDto"), exports);
|
|
412
423
|
__exportStar(require("./LoginInput"), exports);
|
|
424
|
+
__exportStar(require("./LoginPasskeyInput"), exports);
|
|
425
|
+
__exportStar(require("./LoginPasskeyOptionsInput"), exports);
|
|
426
|
+
__exportStar(require("./LoginRecoveryCodeInput"), exports);
|
|
427
|
+
__exportStar(require("./LoginStatus"), exports);
|
|
413
428
|
__exportStar(require("./MajesticMetrics"), exports);
|
|
414
429
|
__exportStar(require("./MajesticTopicTrustFlow"), exports);
|
|
415
430
|
__exportStar(require("./ManualLeadBuyerDto"), exports);
|
|
@@ -422,7 +437,6 @@ __exportStar(require("./MoneyDecimalDto"), exports);
|
|
|
422
437
|
__exportStar(require("./MoneyDto"), exports);
|
|
423
438
|
__exportStar(require("./MoneyInput"), exports);
|
|
424
439
|
__exportStar(require("./MozMetrics"), exports);
|
|
425
|
-
__exportStar(require("./NotFoundException"), exports);
|
|
426
440
|
__exportStar(require("./NotificationsUnsubscribeResultDto"), exports);
|
|
427
441
|
__exportStar(require("./ObjectId"), exports);
|
|
428
442
|
__exportStar(require("./OrderCompanyInfoDto"), exports);
|
|
@@ -442,6 +456,10 @@ __exportStar(require("./PaginateResponseMeta"), exports);
|
|
|
442
456
|
__exportStar(require("./ParsedDomainDto"), exports);
|
|
443
457
|
__exportStar(require("./PartnerAuctionDto"), exports);
|
|
444
458
|
__exportStar(require("./PartnerDomainFindDto"), exports);
|
|
459
|
+
__exportStar(require("./PartnerDomainSeoMetricsDto"), exports);
|
|
460
|
+
__exportStar(require("./PartnerMajesticMetricsDto"), exports);
|
|
461
|
+
__exportStar(require("./PartnerMozMetricsDto"), exports);
|
|
462
|
+
__exportStar(require("./PasskeyOptionsDto"), exports);
|
|
445
463
|
__exportStar(require("./PayAccountPaymentInput"), exports);
|
|
446
464
|
__exportStar(require("./PaySellerInvoicesInput"), exports);
|
|
447
465
|
__exportStar(require("./PaymentMethodsStatsDto"), exports);
|
|
@@ -464,15 +482,21 @@ __exportStar(require("./PublicSaleDto"), exports);
|
|
|
464
482
|
__exportStar(require("./PublicSalesDto"), exports);
|
|
465
483
|
__exportStar(require("./PutBuyerLeadOfferInput"), exports);
|
|
466
484
|
__exportStar(require("./PutLeadOfferInput"), exports);
|
|
485
|
+
__exportStar(require("./ReauthenticateWithPasskeyInput"), exports);
|
|
486
|
+
__exportStar(require("./ReauthenticationDto"), exports);
|
|
487
|
+
__exportStar(require("./RecoveryCodesDto"), exports);
|
|
467
488
|
__exportStar(require("./RegisterAccountInput"), exports);
|
|
468
489
|
__exportStar(require("./RegisterAccountPortfolioSizeInput"), exports);
|
|
469
490
|
__exportStar(require("./RegisterAuctionBuyerPhoneInput"), exports);
|
|
470
491
|
__exportStar(require("./RegisterInput"), exports);
|
|
492
|
+
__exportStar(require("./RegisterUserPasskeyInput"), exports);
|
|
471
493
|
__exportStar(require("./RegisterUserPushTokenInput"), exports);
|
|
472
494
|
__exportStar(require("./RelatedDomainsDto"), exports);
|
|
473
495
|
__exportStar(require("./RelatedLeadDto"), exports);
|
|
474
496
|
__exportStar(require("./RelatedSellerDomain"), exports);
|
|
475
497
|
__exportStar(require("./RemoveSubscriptionDomainRecordInput"), exports);
|
|
498
|
+
__exportStar(require("./RemoveUserPasskeyInput"), exports);
|
|
499
|
+
__exportStar(require("./RenameUserPasskeyInput"), exports);
|
|
476
500
|
__exportStar(require("./RentConfigurationDto"), exports);
|
|
477
501
|
__exportStar(require("./RentConfigurationInput"), exports);
|
|
478
502
|
__exportStar(require("./RentConfigurationPresetsDto"), exports);
|
|
@@ -486,6 +510,7 @@ __exportStar(require("./SalesCountCommissionPayloadInput"), exports);
|
|
|
486
510
|
__exportStar(require("./SalesCountCommissionPayloadSimulationInput"), exports);
|
|
487
511
|
__exportStar(require("./SalesCountCommissionReasonPayloadDto"), exports);
|
|
488
512
|
__exportStar(require("./SearchBankAccountInstitutionsInput"), exports);
|
|
513
|
+
__exportStar(require("./SecondFactorMethod"), exports);
|
|
489
514
|
__exportStar(require("./SellerAccountReferralListItemDto"), exports);
|
|
490
515
|
__exportStar(require("./SellerAffiliateCommissionDto"), exports);
|
|
491
516
|
__exportStar(require("./SellerAuctionListItemDto"), exports);
|
|
@@ -563,6 +588,8 @@ __exportStar(require("./TimeTableConfigurationDto"), exports);
|
|
|
563
588
|
__exportStar(require("./TimeTableConfigurationInput"), exports);
|
|
564
589
|
__exportStar(require("./TopAffiliateSellerDto"), exports);
|
|
565
590
|
__exportStar(require("./TopSellerAccountDto"), exports);
|
|
591
|
+
__exportStar(require("./TotpCodeInput"), exports);
|
|
592
|
+
__exportStar(require("./TotpEnrolmentDto"), exports);
|
|
566
593
|
__exportStar(require("./TranslateDomainSearchInput"), exports);
|
|
567
594
|
__exportStar(require("./UpdateAccountBillingInformationInput"), exports);
|
|
568
595
|
__exportStar(require("./UpdateAccountChallengeRewardBalanceInput"), exports);
|
|
@@ -594,11 +621,18 @@ __exportStar(require("./UpdateSubscriptionInput"), exports);
|
|
|
594
621
|
__exportStar(require("./UpdateTaskMuteStatusForBuyerInput"), exports);
|
|
595
622
|
__exportStar(require("./UpdateTaskMuteStatusInput"), exports);
|
|
596
623
|
__exportStar(require("./UpdateUserNotificationSettingsInput"), exports);
|
|
624
|
+
__exportStar(require("./UserAuthenticationMethod"), exports);
|
|
625
|
+
__exportStar(require("./UserLoginAttemptDto"), exports);
|
|
626
|
+
__exportStar(require("./UserLoginAttemptMethod"), exports);
|
|
627
|
+
__exportStar(require("./UserLoginAttemptResult"), exports);
|
|
628
|
+
__exportStar(require("./UserLoginLocationConfirmationDetailsDto"), exports);
|
|
597
629
|
__exportStar(require("./UserNotificationAttachmentDto"), exports);
|
|
598
630
|
__exportStar(require("./UserNotificationDto"), exports);
|
|
599
631
|
__exportStar(require("./UserNotificationListItemDto"), exports);
|
|
600
632
|
__exportStar(require("./UserNotificationSettingsDto"), exports);
|
|
633
|
+
__exportStar(require("./UserPasskeyDto"), exports);
|
|
601
634
|
__exportStar(require("./UserPasswordResetDto"), exports);
|
|
635
|
+
__exportStar(require("./UserSecurityDto"), exports);
|
|
602
636
|
__exportStar(require("./UserSignedTokenInput"), exports);
|
|
603
637
|
__exportStar(require("./ValidateTaxNumberDto"), exports);
|
|
604
638
|
__exportStar(require("./ValidateTaxNumberInput"), exports);
|
package/package.json
CHANGED
package/src/apis/AccountsApi.ts
CHANGED
|
@@ -28,7 +28,6 @@ import type {
|
|
|
28
28
|
GetAllAffiliateCommissions200Response,
|
|
29
29
|
GetAllReferrals200Response,
|
|
30
30
|
MoneyDto,
|
|
31
|
-
NotFoundException,
|
|
32
31
|
ObjectId,
|
|
33
32
|
PayAccountPaymentInput,
|
|
34
33
|
PrivateAccountGetMeResponse,
|
|
@@ -64,8 +63,6 @@ import {
|
|
|
64
63
|
GetAllReferrals200ResponseToJSON,
|
|
65
64
|
MoneyDtoFromJSON,
|
|
66
65
|
MoneyDtoToJSON,
|
|
67
|
-
NotFoundExceptionFromJSON,
|
|
68
|
-
NotFoundExceptionToJSON,
|
|
69
66
|
ObjectIdFromJSON,
|
|
70
67
|
ObjectIdToJSON,
|
|
71
68
|
PayAccountPaymentInputFromJSON,
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
18
|
ConflictException,
|
|
19
|
-
NotFoundException,
|
|
20
19
|
PublicAccountInformationDto,
|
|
21
20
|
RegisterAccountInput,
|
|
22
21
|
ValidationException,
|
|
@@ -24,8 +23,6 @@ import type {
|
|
|
24
23
|
import {
|
|
25
24
|
ConflictExceptionFromJSON,
|
|
26
25
|
ConflictExceptionToJSON,
|
|
27
|
-
NotFoundExceptionFromJSON,
|
|
28
|
-
NotFoundExceptionToJSON,
|
|
29
26
|
PublicAccountInformationDtoFromJSON,
|
|
30
27
|
PublicAccountInformationDtoToJSON,
|
|
31
28
|
RegisterAccountInputFromJSON,
|
package/src/apis/AdminApi.ts
CHANGED
|
@@ -28,6 +28,7 @@ import type {
|
|
|
28
28
|
AdminGetAllDomainTransfers200Response,
|
|
29
29
|
AdminLandingDesignStatsDto,
|
|
30
30
|
AdminMarketplaceDto,
|
|
31
|
+
AdminUserSecurityDto,
|
|
31
32
|
BadRequestException,
|
|
32
33
|
BulkCommissionActionsInput,
|
|
33
34
|
ChangeInvoiceStatusInput,
|
|
@@ -65,7 +66,7 @@ import type {
|
|
|
65
66
|
ListDomains200Response,
|
|
66
67
|
ListLeadMessagesDto,
|
|
67
68
|
ListLeads200Response,
|
|
68
|
-
|
|
69
|
+
ListUserLoginAttempts200Response,
|
|
69
70
|
ObjectId,
|
|
70
71
|
PaySellerInvoicesInput,
|
|
71
72
|
SellerLeadDetails,
|
|
@@ -113,6 +114,8 @@ import {
|
|
|
113
114
|
AdminLandingDesignStatsDtoToJSON,
|
|
114
115
|
AdminMarketplaceDtoFromJSON,
|
|
115
116
|
AdminMarketplaceDtoToJSON,
|
|
117
|
+
AdminUserSecurityDtoFromJSON,
|
|
118
|
+
AdminUserSecurityDtoToJSON,
|
|
116
119
|
BadRequestExceptionFromJSON,
|
|
117
120
|
BadRequestExceptionToJSON,
|
|
118
121
|
BulkCommissionActionsInputFromJSON,
|
|
@@ -187,8 +190,8 @@ import {
|
|
|
187
190
|
ListLeadMessagesDtoToJSON,
|
|
188
191
|
ListLeads200ResponseFromJSON,
|
|
189
192
|
ListLeads200ResponseToJSON,
|
|
190
|
-
|
|
191
|
-
|
|
193
|
+
ListUserLoginAttempts200ResponseFromJSON,
|
|
194
|
+
ListUserLoginAttempts200ResponseToJSON,
|
|
192
195
|
ObjectIdFromJSON,
|
|
193
196
|
ObjectIdToJSON,
|
|
194
197
|
PaySellerInvoicesInputFromJSON,
|
|
@@ -457,6 +460,10 @@ export interface AdminApiListAccountNotesRequest {
|
|
|
457
460
|
accountId: string;
|
|
458
461
|
}
|
|
459
462
|
|
|
463
|
+
export interface AdminApiListAccountUsersSecurityRequest {
|
|
464
|
+
accountId: string;
|
|
465
|
+
}
|
|
466
|
+
|
|
460
467
|
export interface AdminApiListAccountsRequest {
|
|
461
468
|
filter?: { [key: string]: string; };
|
|
462
469
|
page?: number;
|
|
@@ -539,6 +546,16 @@ export interface AdminApiListLedgerMutationsRequest {
|
|
|
539
546
|
dateRange?: StatsFilterInputDateRange | null;
|
|
540
547
|
}
|
|
541
548
|
|
|
549
|
+
export interface AdminApiListUserLoginAttemptsAsAdminRequest {
|
|
550
|
+
userId: string;
|
|
551
|
+
filter?: { [key: string]: string; };
|
|
552
|
+
page?: number;
|
|
553
|
+
limit?: number;
|
|
554
|
+
sortBy?: Array<string>;
|
|
555
|
+
filterResult?: string;
|
|
556
|
+
filterMethod?: string;
|
|
557
|
+
}
|
|
558
|
+
|
|
542
559
|
export interface AdminApiLoginAsRequest {
|
|
543
560
|
accountId: string;
|
|
544
561
|
}
|
|
@@ -594,6 +611,10 @@ export interface AdminApiReopenAdminLeadRequest {
|
|
|
594
611
|
leadId: string;
|
|
595
612
|
}
|
|
596
613
|
|
|
614
|
+
export interface AdminApiResetUserSecondFactorsRequest {
|
|
615
|
+
userId: string;
|
|
616
|
+
}
|
|
617
|
+
|
|
597
618
|
export interface AdminApiShowcaseDomainRequest {
|
|
598
619
|
domainId: string;
|
|
599
620
|
}
|
|
@@ -2791,6 +2812,47 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
2791
2812
|
return await response.value();
|
|
2792
2813
|
}
|
|
2793
2814
|
|
|
2815
|
+
/**
|
|
2816
|
+
* List how the users of an account sign in
|
|
2817
|
+
*/
|
|
2818
|
+
async listAccountUsersSecurityRaw(requestParameters: AdminApiListAccountUsersSecurityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<AdminUserSecurityDto>>> {
|
|
2819
|
+
if (requestParameters['accountId'] == null) {
|
|
2820
|
+
throw new runtime.RequiredError(
|
|
2821
|
+
'accountId',
|
|
2822
|
+
'Required parameter "accountId" was null or undefined when calling listAccountUsersSecurity().'
|
|
2823
|
+
);
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2826
|
+
const queryParameters: any = {};
|
|
2827
|
+
|
|
2828
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
2829
|
+
|
|
2830
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2831
|
+
const token = this.configuration.accessToken;
|
|
2832
|
+
const tokenString = await token("bearer", []);
|
|
2833
|
+
|
|
2834
|
+
if (tokenString) {
|
|
2835
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2836
|
+
}
|
|
2837
|
+
}
|
|
2838
|
+
const response = await this.request({
|
|
2839
|
+
path: `/admin/accounts/{accountId}/users/security`.replace(`{${"accountId"}}`, encodeURIComponent(String(requestParameters['accountId']))),
|
|
2840
|
+
method: 'GET',
|
|
2841
|
+
headers: headerParameters,
|
|
2842
|
+
query: queryParameters,
|
|
2843
|
+
}, initOverrides);
|
|
2844
|
+
|
|
2845
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(AdminUserSecurityDtoFromJSON));
|
|
2846
|
+
}
|
|
2847
|
+
|
|
2848
|
+
/**
|
|
2849
|
+
* List how the users of an account sign in
|
|
2850
|
+
*/
|
|
2851
|
+
async listAccountUsersSecurity(requestParameters: AdminApiListAccountUsersSecurityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AdminUserSecurityDto>> {
|
|
2852
|
+
const response = await this.listAccountUsersSecurityRaw(requestParameters, initOverrides);
|
|
2853
|
+
return await response.value();
|
|
2854
|
+
}
|
|
2855
|
+
|
|
2794
2856
|
/**
|
|
2795
2857
|
* Lists all seller accounts.
|
|
2796
2858
|
* List accounts
|
|
@@ -3510,6 +3572,71 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
3510
3572
|
return await response.value();
|
|
3511
3573
|
}
|
|
3512
3574
|
|
|
3575
|
+
/**
|
|
3576
|
+
* List the sign-ins of a user
|
|
3577
|
+
*/
|
|
3578
|
+
async listUserLoginAttemptsAsAdminRaw(requestParameters: AdminApiListUserLoginAttemptsAsAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListUserLoginAttempts200Response>> {
|
|
3579
|
+
if (requestParameters['userId'] == null) {
|
|
3580
|
+
throw new runtime.RequiredError(
|
|
3581
|
+
'userId',
|
|
3582
|
+
'Required parameter "userId" was null or undefined when calling listUserLoginAttemptsAsAdmin().'
|
|
3583
|
+
);
|
|
3584
|
+
}
|
|
3585
|
+
|
|
3586
|
+
const queryParameters: any = {};
|
|
3587
|
+
|
|
3588
|
+
if (requestParameters['filter'] != null) {
|
|
3589
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
3590
|
+
}
|
|
3591
|
+
|
|
3592
|
+
if (requestParameters['page'] != null) {
|
|
3593
|
+
queryParameters['page'] = requestParameters['page'];
|
|
3594
|
+
}
|
|
3595
|
+
|
|
3596
|
+
if (requestParameters['limit'] != null) {
|
|
3597
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
3598
|
+
}
|
|
3599
|
+
|
|
3600
|
+
if (requestParameters['sortBy'] != null) {
|
|
3601
|
+
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
3602
|
+
}
|
|
3603
|
+
|
|
3604
|
+
if (requestParameters['filterResult'] != null) {
|
|
3605
|
+
queryParameters['filter[result]'] = requestParameters['filterResult'];
|
|
3606
|
+
}
|
|
3607
|
+
|
|
3608
|
+
if (requestParameters['filterMethod'] != null) {
|
|
3609
|
+
queryParameters['filter[method]'] = requestParameters['filterMethod'];
|
|
3610
|
+
}
|
|
3611
|
+
|
|
3612
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
3613
|
+
|
|
3614
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
3615
|
+
const token = this.configuration.accessToken;
|
|
3616
|
+
const tokenString = await token("bearer", []);
|
|
3617
|
+
|
|
3618
|
+
if (tokenString) {
|
|
3619
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3620
|
+
}
|
|
3621
|
+
}
|
|
3622
|
+
const response = await this.request({
|
|
3623
|
+
path: `/admin/users/{userId}/login-attempts`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))),
|
|
3624
|
+
method: 'GET',
|
|
3625
|
+
headers: headerParameters,
|
|
3626
|
+
query: queryParameters,
|
|
3627
|
+
}, initOverrides);
|
|
3628
|
+
|
|
3629
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ListUserLoginAttempts200ResponseFromJSON(jsonValue));
|
|
3630
|
+
}
|
|
3631
|
+
|
|
3632
|
+
/**
|
|
3633
|
+
* List the sign-ins of a user
|
|
3634
|
+
*/
|
|
3635
|
+
async listUserLoginAttemptsAsAdmin(requestParameters: AdminApiListUserLoginAttemptsAsAdminRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListUserLoginAttempts200Response> {
|
|
3636
|
+
const response = await this.listUserLoginAttemptsAsAdminRaw(requestParameters, initOverrides);
|
|
3637
|
+
return await response.value();
|
|
3638
|
+
}
|
|
3639
|
+
|
|
3513
3640
|
/**
|
|
3514
3641
|
* Generates an authentication token to impersonate the account. Requires super admin role.
|
|
3515
3642
|
* Login as account
|
|
@@ -4090,6 +4217,48 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
4090
4217
|
await this.reopenAdminLeadRaw(requestParameters, initOverrides);
|
|
4091
4218
|
}
|
|
4092
4219
|
|
|
4220
|
+
/**
|
|
4221
|
+
* 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.
|
|
4222
|
+
* Remove every second factor of a user
|
|
4223
|
+
*/
|
|
4224
|
+
async resetUserSecondFactorsRaw(requestParameters: AdminApiResetUserSecondFactorsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
4225
|
+
if (requestParameters['userId'] == null) {
|
|
4226
|
+
throw new runtime.RequiredError(
|
|
4227
|
+
'userId',
|
|
4228
|
+
'Required parameter "userId" was null or undefined when calling resetUserSecondFactors().'
|
|
4229
|
+
);
|
|
4230
|
+
}
|
|
4231
|
+
|
|
4232
|
+
const queryParameters: any = {};
|
|
4233
|
+
|
|
4234
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
4235
|
+
|
|
4236
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
4237
|
+
const token = this.configuration.accessToken;
|
|
4238
|
+
const tokenString = await token("bearer", []);
|
|
4239
|
+
|
|
4240
|
+
if (tokenString) {
|
|
4241
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
4242
|
+
}
|
|
4243
|
+
}
|
|
4244
|
+
const response = await this.request({
|
|
4245
|
+
path: `/admin/users/{userId}/security/reset`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))),
|
|
4246
|
+
method: 'POST',
|
|
4247
|
+
headers: headerParameters,
|
|
4248
|
+
query: queryParameters,
|
|
4249
|
+
}, initOverrides);
|
|
4250
|
+
|
|
4251
|
+
return new runtime.VoidApiResponse(response);
|
|
4252
|
+
}
|
|
4253
|
+
|
|
4254
|
+
/**
|
|
4255
|
+
* 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.
|
|
4256
|
+
* Remove every second factor of a user
|
|
4257
|
+
*/
|
|
4258
|
+
async resetUserSecondFactors(requestParameters: AdminApiResetUserSecondFactorsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
4259
|
+
await this.resetUserSecondFactorsRaw(requestParameters, initOverrides);
|
|
4260
|
+
}
|
|
4261
|
+
|
|
4093
4262
|
/**
|
|
4094
4263
|
* Picks the domain for the public showcase on the website. Idempotent: showcasing an already showcased domain keeps its original position in the showcase.
|
|
4095
4264
|
* Showcase domain
|
package/src/apis/AuctionsApi.ts
CHANGED
|
@@ -17,7 +17,6 @@ import * as runtime from '../runtime';
|
|
|
17
17
|
import type {
|
|
18
18
|
BadRequestException,
|
|
19
19
|
GetAllAuctions200Response1,
|
|
20
|
-
NotFoundException,
|
|
21
20
|
ValidationException,
|
|
22
21
|
} from '../models/index';
|
|
23
22
|
import {
|
|
@@ -25,8 +24,6 @@ import {
|
|
|
25
24
|
BadRequestExceptionToJSON,
|
|
26
25
|
GetAllAuctions200Response1FromJSON,
|
|
27
26
|
GetAllAuctions200Response1ToJSON,
|
|
28
|
-
NotFoundExceptionFromJSON,
|
|
29
|
-
NotFoundExceptionToJSON,
|
|
30
27
|
ValidationExceptionFromJSON,
|
|
31
28
|
ValidationExceptionToJSON,
|
|
32
29
|
} from '../models/index';
|
package/src/apis/BuyersApi.ts
CHANGED
|
@@ -43,7 +43,6 @@ import type {
|
|
|
43
43
|
LeadLeaseToOwnAndRentConfigurationPresetsDto,
|
|
44
44
|
LeadMessageDto,
|
|
45
45
|
ListBuyerNotifications200Response,
|
|
46
|
-
NotFoundException,
|
|
47
46
|
ObjectId,
|
|
48
47
|
PutBuyerLeadOfferInput,
|
|
49
48
|
RegisterAuctionBuyerPhoneInput,
|
|
@@ -120,8 +119,6 @@ import {
|
|
|
120
119
|
LeadMessageDtoToJSON,
|
|
121
120
|
ListBuyerNotifications200ResponseFromJSON,
|
|
122
121
|
ListBuyerNotifications200ResponseToJSON,
|
|
123
|
-
NotFoundExceptionFromJSON,
|
|
124
|
-
NotFoundExceptionToJSON,
|
|
125
122
|
ObjectIdFromJSON,
|
|
126
123
|
ObjectIdToJSON,
|
|
127
124
|
PutBuyerLeadOfferInputFromJSON,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
18
|
AuctionBuyerWithTokenDto,
|
|
19
|
-
|
|
19
|
+
BuyerLoginDto,
|
|
20
20
|
LoginInput,
|
|
21
21
|
RequestAccessTokenInput,
|
|
22
22
|
RequestEmailOtpInput,
|
|
@@ -26,8 +26,8 @@ import type {
|
|
|
26
26
|
import {
|
|
27
27
|
AuctionBuyerWithTokenDtoFromJSON,
|
|
28
28
|
AuctionBuyerWithTokenDtoToJSON,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
BuyerLoginDtoFromJSON,
|
|
30
|
+
BuyerLoginDtoToJSON,
|
|
31
31
|
LoginInputFromJSON,
|
|
32
32
|
LoginInputToJSON,
|
|
33
33
|
RequestAccessTokenInputFromJSON,
|
|
@@ -65,7 +65,7 @@ export class BuyersPublicApi extends runtime.BaseAPI {
|
|
|
65
65
|
* 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.
|
|
66
66
|
* Authenticate a buyer
|
|
67
67
|
*/
|
|
68
|
-
async buyerLoginRaw(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
68
|
+
async buyerLoginRaw(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuyerLoginDto>> {
|
|
69
69
|
if (requestParameters['loginInput'] == null) {
|
|
70
70
|
throw new runtime.RequiredError(
|
|
71
71
|
'loginInput',
|
|
@@ -87,14 +87,14 @@ export class BuyersPublicApi extends runtime.BaseAPI {
|
|
|
87
87
|
body: LoginInputToJSON(requestParameters['loginInput']),
|
|
88
88
|
}, initOverrides);
|
|
89
89
|
|
|
90
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
90
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => BuyerLoginDtoFromJSON(jsonValue));
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
94
|
* 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.
|
|
95
95
|
* Authenticate a buyer
|
|
96
96
|
*/
|
|
97
|
-
async buyerLogin(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
97
|
+
async buyerLogin(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuyerLoginDto> {
|
|
98
98
|
const response = await this.buyerLoginRaw(requestParameters, initOverrides);
|
|
99
99
|
return await response.value();
|
|
100
100
|
}
|
|
@@ -20,7 +20,6 @@ import type {
|
|
|
20
20
|
ForbiddenException,
|
|
21
21
|
ListCustomerSuccessAccountDomains200Response,
|
|
22
22
|
ListCustomerSuccessAccounts200Response,
|
|
23
|
-
NotFoundException,
|
|
24
23
|
UpdateAccountNoteInput,
|
|
25
24
|
ValidationException,
|
|
26
25
|
} from '../models/index';
|
|
@@ -35,8 +34,6 @@ import {
|
|
|
35
34
|
ListCustomerSuccessAccountDomains200ResponseToJSON,
|
|
36
35
|
ListCustomerSuccessAccounts200ResponseFromJSON,
|
|
37
36
|
ListCustomerSuccessAccounts200ResponseToJSON,
|
|
38
|
-
NotFoundExceptionFromJSON,
|
|
39
|
-
NotFoundExceptionToJSON,
|
|
40
37
|
UpdateAccountNoteInputFromJSON,
|
|
41
38
|
UpdateAccountNoteInputToJSON,
|
|
42
39
|
ValidationExceptionFromJSON,
|