@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/apis/UsersApi.d.ts
CHANGED
|
@@ -10,22 +10,94 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ChangeUserEmailWithOtpInput, RegisterUserPushTokenInput, RequestUserEmailChangeOtpInput, StoreUserLocaleInput, UpdateUserNotificationSettingsInput, UserNotificationSettingsDto } from '../models/index';
|
|
13
|
+
import type { ActivateUserTotpInput, ChangeUserAuthenticationMethodInput, ChangeUserEmailWithOtpInput, ChangeUserLoginLocationVerificationInput, ChangeUserPasswordInput, CurrentPasswordInput, ListUserLoginAttempts200Response, PasskeyOptionsDto, ReauthenticateWithPasskeyInput, ReauthenticationDto, RecoveryCodesDto, RegisterUserPasskeyInput, RegisterUserPushTokenInput, RemoveUserPasskeyInput, RenameUserPasskeyInput, RequestUserEmailChangeOtpInput, StoreUserLocaleInput, TotpCodeInput, TotpEnrolmentDto, UpdateUserNotificationSettingsInput, UserNotificationSettingsDto, UserSecurityDto } from '../models/index';
|
|
14
|
+
export interface UsersApiActivateUserTotpRequest {
|
|
15
|
+
activateUserTotpInput: ActivateUserTotpInput;
|
|
16
|
+
}
|
|
17
|
+
export interface UsersApiActivateUserTotpReplacementRequest {
|
|
18
|
+
activateUserTotpInput: ActivateUserTotpInput;
|
|
19
|
+
}
|
|
20
|
+
export interface UsersApiChangeUserAuthenticationMethodRequest {
|
|
21
|
+
xReauthenticationToken: string;
|
|
22
|
+
changeUserAuthenticationMethodInput: ChangeUserAuthenticationMethodInput;
|
|
23
|
+
}
|
|
14
24
|
export interface UsersApiChangeUserEmailWithOtpRequest {
|
|
15
25
|
changeUserEmailWithOtpInput: ChangeUserEmailWithOtpInput;
|
|
16
26
|
}
|
|
27
|
+
export interface UsersApiChangeUserLoginLocationVerificationRequest {
|
|
28
|
+
changeUserLoginLocationVerificationInput: ChangeUserLoginLocationVerificationInput;
|
|
29
|
+
xReauthenticationToken?: string;
|
|
30
|
+
}
|
|
31
|
+
export interface UsersApiChangeUserPasswordRequest {
|
|
32
|
+
changeUserPasswordInput: ChangeUserPasswordInput;
|
|
33
|
+
}
|
|
34
|
+
export interface UsersApiDisableUserRecoveryCodesRequest {
|
|
35
|
+
xReauthenticationToken: string;
|
|
36
|
+
}
|
|
37
|
+
export interface UsersApiDisableUserTotpRequest {
|
|
38
|
+
totpCodeInput: TotpCodeInput;
|
|
39
|
+
}
|
|
40
|
+
export interface UsersApiEnableUserRecoveryCodesRequest {
|
|
41
|
+
xReauthenticationToken: string;
|
|
42
|
+
}
|
|
43
|
+
export interface UsersApiGetUserPasskeyRegistrationOptionsRequest {
|
|
44
|
+
xReauthenticationToken: string;
|
|
45
|
+
}
|
|
46
|
+
export interface UsersApiGetUserPasskeyVerificationOptionsRequest {
|
|
47
|
+
passkeyId: string;
|
|
48
|
+
}
|
|
49
|
+
export interface UsersApiListUserLoginAttemptsRequest {
|
|
50
|
+
filter?: {
|
|
51
|
+
[key: string]: string;
|
|
52
|
+
};
|
|
53
|
+
page?: number;
|
|
54
|
+
limit?: number;
|
|
55
|
+
sortBy?: Array<string>;
|
|
56
|
+
filterResult?: string;
|
|
57
|
+
filterMethod?: string;
|
|
58
|
+
}
|
|
59
|
+
export interface UsersApiReauthenticateWithPasskeyRequest {
|
|
60
|
+
reauthenticateWithPasskeyInput: ReauthenticateWithPasskeyInput;
|
|
61
|
+
}
|
|
62
|
+
export interface UsersApiReauthenticateWithPasswordRequest {
|
|
63
|
+
currentPasswordInput: CurrentPasswordInput;
|
|
64
|
+
}
|
|
65
|
+
export interface UsersApiReauthenticateWithTotpRequest {
|
|
66
|
+
activateUserTotpInput: ActivateUserTotpInput;
|
|
67
|
+
}
|
|
68
|
+
export interface UsersApiRegenerateUserRecoveryCodesRequest {
|
|
69
|
+
xReauthenticationToken: string;
|
|
70
|
+
}
|
|
71
|
+
export interface UsersApiRegisterUserPasskeyRequest {
|
|
72
|
+
xReauthenticationToken: string;
|
|
73
|
+
registerUserPasskeyInput: RegisterUserPasskeyInput;
|
|
74
|
+
}
|
|
17
75
|
export interface UsersApiRegisterUserPushTokenRequest {
|
|
18
76
|
registerUserPushTokenInput: RegisterUserPushTokenInput;
|
|
19
77
|
}
|
|
78
|
+
export interface UsersApiRemoveUserPasskeyRequest {
|
|
79
|
+
passkeyId: string;
|
|
80
|
+
removeUserPasskeyInput: RemoveUserPasskeyInput;
|
|
81
|
+
}
|
|
20
82
|
export interface UsersApiRemoveUserPushTokenRequest {
|
|
21
83
|
token: string;
|
|
22
84
|
}
|
|
85
|
+
export interface UsersApiRenameUserPasskeyRequest {
|
|
86
|
+
passkeyId: string;
|
|
87
|
+
renameUserPasskeyInput: RenameUserPasskeyInput;
|
|
88
|
+
}
|
|
23
89
|
export interface UsersApiRequestUserEmailChangeOtpRequest {
|
|
24
90
|
requestUserEmailChangeOtpInput: RequestUserEmailChangeOtpInput;
|
|
25
91
|
}
|
|
26
92
|
export interface UsersApiSetLocaleRequest {
|
|
27
93
|
storeUserLocaleInput: StoreUserLocaleInput;
|
|
28
94
|
}
|
|
95
|
+
export interface UsersApiStartUserTotpEnrolmentRequest {
|
|
96
|
+
xReauthenticationToken: string;
|
|
97
|
+
}
|
|
98
|
+
export interface UsersApiStartUserTotpReplacementRequest {
|
|
99
|
+
xReauthenticationToken: string;
|
|
100
|
+
}
|
|
29
101
|
export interface UsersApiUpdateUserNotificationSettingsRequest {
|
|
30
102
|
updateUserNotificationSettingsInput: UpdateUserNotificationSettingsInput;
|
|
31
103
|
}
|
|
@@ -33,6 +105,34 @@ export interface UsersApiUpdateUserNotificationSettingsRequest {
|
|
|
33
105
|
*
|
|
34
106
|
*/
|
|
35
107
|
export declare class UsersApi extends runtime.BaseAPI {
|
|
108
|
+
/**
|
|
109
|
+
* Turn the authenticator app on with one of its codes
|
|
110
|
+
*/
|
|
111
|
+
activateUserTotpRaw(requestParameters: UsersApiActivateUserTotpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
112
|
+
/**
|
|
113
|
+
* Turn the authenticator app on with one of its codes
|
|
114
|
+
*/
|
|
115
|
+
activateUserTotp(requestParameters: UsersApiActivateUserTotpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
116
|
+
/**
|
|
117
|
+
* The new app replaces the current one. The sign-in method and the recovery codes stay as they are.
|
|
118
|
+
* Move to the new authenticator app with one of its codes
|
|
119
|
+
*/
|
|
120
|
+
activateUserTotpReplacementRaw(requestParameters: UsersApiActivateUserTotpReplacementRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
121
|
+
/**
|
|
122
|
+
* The new app replaces the current one. The sign-in method and the recovery codes stay as they are.
|
|
123
|
+
* Move to the new authenticator app with one of its codes
|
|
124
|
+
*/
|
|
125
|
+
activateUserTotpReplacement(requestParameters: UsersApiActivateUserTotpReplacementRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
126
|
+
/**
|
|
127
|
+
* Only to a method the factors set up allow (see allowedAuthenticationMethods). Needs the reauthentication token: a stronger method can also lock the user out of a sign-in they rely on.
|
|
128
|
+
* Change the method the user signs in with
|
|
129
|
+
*/
|
|
130
|
+
changeUserAuthenticationMethodRaw(requestParameters: UsersApiChangeUserAuthenticationMethodRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserSecurityDto>>;
|
|
131
|
+
/**
|
|
132
|
+
* Only to a method the factors set up allow (see allowedAuthenticationMethods). Needs the reauthentication token: a stronger method can also lock the user out of a sign-in they rely on.
|
|
133
|
+
* Change the method the user signs in with
|
|
134
|
+
*/
|
|
135
|
+
changeUserAuthenticationMethod(requestParameters: UsersApiChangeUserAuthenticationMethodRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserSecurityDto>;
|
|
36
136
|
/**
|
|
37
137
|
* Changes the seller user email after validating the OTP sent to the new address. **API key scope required:** `USER_EMAIL_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
38
138
|
* Change user email with OTP
|
|
@@ -43,6 +143,64 @@ export declare class UsersApi extends runtime.BaseAPI {
|
|
|
43
143
|
* Change user email with OTP
|
|
44
144
|
*/
|
|
45
145
|
changeUserEmailWithOtp(requestParameters: UsersApiChangeUserEmailWithOtpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
146
|
+
/**
|
|
147
|
+
* Turning it off needs the reauthentication token.
|
|
148
|
+
* Turn the email confirmation of new locations on or off
|
|
149
|
+
*/
|
|
150
|
+
changeUserLoginLocationVerificationRaw(requestParameters: UsersApiChangeUserLoginLocationVerificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserSecurityDto>>;
|
|
151
|
+
/**
|
|
152
|
+
* Turning it off needs the reauthentication token.
|
|
153
|
+
* Turn the email confirmation of new locations on or off
|
|
154
|
+
*/
|
|
155
|
+
changeUserLoginLocationVerification(requestParameters: UsersApiChangeUserLoginLocationVerificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserSecurityDto>;
|
|
156
|
+
/**
|
|
157
|
+
* Requires the current password.
|
|
158
|
+
* Change the password
|
|
159
|
+
*/
|
|
160
|
+
changeUserPasswordRaw(requestParameters: UsersApiChangeUserPasswordRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
161
|
+
/**
|
|
162
|
+
* Requires the current password.
|
|
163
|
+
* Change the password
|
|
164
|
+
*/
|
|
165
|
+
changeUserPassword(requestParameters: UsersApiChangeUserPasswordRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
166
|
+
/**
|
|
167
|
+
* The current codes stop working.
|
|
168
|
+
* Turn recovery codes off
|
|
169
|
+
*/
|
|
170
|
+
disableUserRecoveryCodesRaw(requestParameters: UsersApiDisableUserRecoveryCodesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
171
|
+
/**
|
|
172
|
+
* The current codes stop working.
|
|
173
|
+
* Turn recovery codes off
|
|
174
|
+
*/
|
|
175
|
+
disableUserRecoveryCodes(requestParameters: UsersApiDisableUserRecoveryCodesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
176
|
+
/**
|
|
177
|
+
* Needs a code of the app being turned off. Wrong codes count towards locking the verification step.
|
|
178
|
+
* Turn the authenticator app off
|
|
179
|
+
*/
|
|
180
|
+
disableUserTotpRaw(requestParameters: UsersApiDisableUserTotpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
181
|
+
/**
|
|
182
|
+
* Needs a code of the app being turned off. Wrong codes count towards locking the verification step.
|
|
183
|
+
* Turn the authenticator app off
|
|
184
|
+
*/
|
|
185
|
+
disableUserTotp(requestParameters: UsersApiDisableUserTotpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
186
|
+
/**
|
|
187
|
+
* Returns the codes, only this once. Needs an authenticator app or a passkey for them to stand in for.
|
|
188
|
+
* Turn recovery codes on
|
|
189
|
+
*/
|
|
190
|
+
enableUserRecoveryCodesRaw(requestParameters: UsersApiEnableUserRecoveryCodesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecoveryCodesDto>>;
|
|
191
|
+
/**
|
|
192
|
+
* Returns the codes, only this once. Needs an authenticator app or a passkey for them to stand in for.
|
|
193
|
+
* Turn recovery codes on
|
|
194
|
+
*/
|
|
195
|
+
enableUserRecoveryCodes(requestParameters: UsersApiEnableUserRecoveryCodesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecoveryCodesDto>;
|
|
196
|
+
/**
|
|
197
|
+
* Start confirming it is you with a passkey
|
|
198
|
+
*/
|
|
199
|
+
getReauthenticationPasskeyOptionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PasskeyOptionsDto>>;
|
|
200
|
+
/**
|
|
201
|
+
* Start confirming it is you with a passkey
|
|
202
|
+
*/
|
|
203
|
+
getReauthenticationPasskeyOptions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PasskeyOptionsDto>;
|
|
46
204
|
/**
|
|
47
205
|
* Returns the notification preferences configured for the seller user. **API key scope required:** `USERS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
48
206
|
* Get user notification settings
|
|
@@ -53,6 +211,94 @@ export declare class UsersApi extends runtime.BaseAPI {
|
|
|
53
211
|
* Get user notification settings
|
|
54
212
|
*/
|
|
55
213
|
getUserNotificationSettings(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserNotificationSettingsDto>;
|
|
214
|
+
/**
|
|
215
|
+
* Needs the reauthentication token: a passkey signs in on its own.
|
|
216
|
+
* Start adding a passkey
|
|
217
|
+
*/
|
|
218
|
+
getUserPasskeyRegistrationOptionsRaw(requestParameters: UsersApiGetUserPasskeyRegistrationOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PasskeyOptionsDto>>;
|
|
219
|
+
/**
|
|
220
|
+
* Needs the reauthentication token: a passkey signs in on its own.
|
|
221
|
+
* Start adding a passkey
|
|
222
|
+
*/
|
|
223
|
+
getUserPasskeyRegistrationOptions(requestParameters: UsersApiGetUserPasskeyRegistrationOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PasskeyOptionsDto>;
|
|
224
|
+
/**
|
|
225
|
+
* Only that passkey can answer.
|
|
226
|
+
* Start using a passkey to prove it, before removing it
|
|
227
|
+
*/
|
|
228
|
+
getUserPasskeyVerificationOptionsRaw(requestParameters: UsersApiGetUserPasskeyVerificationOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PasskeyOptionsDto>>;
|
|
229
|
+
/**
|
|
230
|
+
* Only that passkey can answer.
|
|
231
|
+
* Start using a passkey to prove it, before removing it
|
|
232
|
+
*/
|
|
233
|
+
getUserPasskeyVerificationOptions(requestParameters: UsersApiGetUserPasskeyVerificationOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PasskeyOptionsDto>;
|
|
234
|
+
/**
|
|
235
|
+
* Get how the user signs in
|
|
236
|
+
*/
|
|
237
|
+
getUserSecurityRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserSecurityDto>>;
|
|
238
|
+
/**
|
|
239
|
+
* Get how the user signs in
|
|
240
|
+
*/
|
|
241
|
+
getUserSecurity(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserSecurityDto>;
|
|
242
|
+
/**
|
|
243
|
+
* Every step of every sign-in, successful or not, newest first by default.
|
|
244
|
+
* List the sign-ins of the user
|
|
245
|
+
*/
|
|
246
|
+
listUserLoginAttemptsRaw(requestParameters: UsersApiListUserLoginAttemptsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListUserLoginAttempts200Response>>;
|
|
247
|
+
/**
|
|
248
|
+
* Every step of every sign-in, successful or not, newest first by default.
|
|
249
|
+
* List the sign-ins of the user
|
|
250
|
+
*/
|
|
251
|
+
listUserLoginAttempts(requestParameters?: UsersApiListUserLoginAttemptsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListUserLoginAttempts200Response>;
|
|
252
|
+
/**
|
|
253
|
+
* For the next ten minutes, sensitive changes accept the returned token.
|
|
254
|
+
* Confirm it is you with a passkey
|
|
255
|
+
*/
|
|
256
|
+
reauthenticateWithPasskeyRaw(requestParameters: UsersApiReauthenticateWithPasskeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReauthenticationDto>>;
|
|
257
|
+
/**
|
|
258
|
+
* For the next ten minutes, sensitive changes accept the returned token.
|
|
259
|
+
* Confirm it is you with a passkey
|
|
260
|
+
*/
|
|
261
|
+
reauthenticateWithPasskey(requestParameters: UsersApiReauthenticateWithPasskeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReauthenticationDto>;
|
|
262
|
+
/**
|
|
263
|
+
* For the next ten minutes, sensitive changes accept the returned token.
|
|
264
|
+
* Confirm it is you with your password
|
|
265
|
+
*/
|
|
266
|
+
reauthenticateWithPasswordRaw(requestParameters: UsersApiReauthenticateWithPasswordRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReauthenticationDto>>;
|
|
267
|
+
/**
|
|
268
|
+
* For the next ten minutes, sensitive changes accept the returned token.
|
|
269
|
+
* Confirm it is you with your password
|
|
270
|
+
*/
|
|
271
|
+
reauthenticateWithPassword(requestParameters: UsersApiReauthenticateWithPasswordRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReauthenticationDto>;
|
|
272
|
+
/**
|
|
273
|
+
* For the next ten minutes, sensitive changes accept the returned token. Wrong codes count towards locking the verification step.
|
|
274
|
+
* Confirm it is you with the code from your authenticator app
|
|
275
|
+
*/
|
|
276
|
+
reauthenticateWithTotpRaw(requestParameters: UsersApiReauthenticateWithTotpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReauthenticationDto>>;
|
|
277
|
+
/**
|
|
278
|
+
* For the next ten minutes, sensitive changes accept the returned token. Wrong codes count towards locking the verification step.
|
|
279
|
+
* Confirm it is you with the code from your authenticator app
|
|
280
|
+
*/
|
|
281
|
+
reauthenticateWithTotp(requestParameters: UsersApiReauthenticateWithTotpRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReauthenticationDto>;
|
|
282
|
+
/**
|
|
283
|
+
* The previous codes stop working. Only while recovery codes are on.
|
|
284
|
+
* Replace the recovery codes
|
|
285
|
+
*/
|
|
286
|
+
regenerateUserRecoveryCodesRaw(requestParameters: UsersApiRegenerateUserRecoveryCodesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecoveryCodesDto>>;
|
|
287
|
+
/**
|
|
288
|
+
* The previous codes stop working. Only while recovery codes are on.
|
|
289
|
+
* Replace the recovery codes
|
|
290
|
+
*/
|
|
291
|
+
regenerateUserRecoveryCodes(requestParameters: UsersApiRegenerateUserRecoveryCodesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecoveryCodesDto>;
|
|
292
|
+
/**
|
|
293
|
+
* Needs the reauthentication token: a passkey signs in on its own.
|
|
294
|
+
* Add a passkey
|
|
295
|
+
*/
|
|
296
|
+
registerUserPasskeyRaw(requestParameters: UsersApiRegisterUserPasskeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
297
|
+
/**
|
|
298
|
+
* Needs the reauthentication token: a passkey signs in on its own.
|
|
299
|
+
* Add a passkey
|
|
300
|
+
*/
|
|
301
|
+
registerUserPasskey(requestParameters: UsersApiRegisterUserPasskeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
56
302
|
/**
|
|
57
303
|
* Registers (or refreshes) an Expo push token for the current user and device. Seller session only.
|
|
58
304
|
* Register a push token
|
|
@@ -63,6 +309,16 @@ export declare class UsersApi extends runtime.BaseAPI {
|
|
|
63
309
|
* Register a push token
|
|
64
310
|
*/
|
|
65
311
|
registerUserPushToken(requestParameters: UsersApiRegisterUserPushTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
312
|
+
/**
|
|
313
|
+
* Needs that very passkey, used one last time (see the verification options).
|
|
314
|
+
* Remove a passkey
|
|
315
|
+
*/
|
|
316
|
+
removeUserPasskeyRaw(requestParameters: UsersApiRemoveUserPasskeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
317
|
+
/**
|
|
318
|
+
* Needs that very passkey, used one last time (see the verification options).
|
|
319
|
+
* Remove a passkey
|
|
320
|
+
*/
|
|
321
|
+
removeUserPasskey(requestParameters: UsersApiRemoveUserPasskeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
66
322
|
/**
|
|
67
323
|
* Unregisters an Expo push token for the current user, e.g. on logout. Seller session only.
|
|
68
324
|
* Remove a push token
|
|
@@ -73,6 +329,14 @@ export declare class UsersApi extends runtime.BaseAPI {
|
|
|
73
329
|
* Remove a push token
|
|
74
330
|
*/
|
|
75
331
|
removeUserPushToken(requestParameters: UsersApiRemoveUserPushTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
332
|
+
/**
|
|
333
|
+
* Rename a passkey
|
|
334
|
+
*/
|
|
335
|
+
renameUserPasskeyRaw(requestParameters: UsersApiRenameUserPasskeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
336
|
+
/**
|
|
337
|
+
* Rename a passkey
|
|
338
|
+
*/
|
|
339
|
+
renameUserPasskey(requestParameters: UsersApiRenameUserPasskeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
76
340
|
/**
|
|
77
341
|
* Sends a one-time password to the new email address to verify ownership before changing the account email. **API key scope required:** `USER_EMAIL_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
78
342
|
* Request email change OTP
|
|
@@ -93,6 +357,26 @@ export declare class UsersApi extends runtime.BaseAPI {
|
|
|
93
357
|
* Store user locale preference
|
|
94
358
|
*/
|
|
95
359
|
setLocale(requestParameters: UsersApiSetLocaleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
360
|
+
/**
|
|
361
|
+
* Returns the QR code URI and the secret to type by hand. The app is only turned on once a code of it is checked; a new call replaces the secret. Needs the reauthentication token: whoever sets up the app holds the verification step.
|
|
362
|
+
* Start setting up an authenticator app
|
|
363
|
+
*/
|
|
364
|
+
startUserTotpEnrolmentRaw(requestParameters: UsersApiStartUserTotpEnrolmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TotpEnrolmentDto>>;
|
|
365
|
+
/**
|
|
366
|
+
* Returns the QR code URI and the secret to type by hand. The app is only turned on once a code of it is checked; a new call replaces the secret. Needs the reauthentication token: whoever sets up the app holds the verification step.
|
|
367
|
+
* Start setting up an authenticator app
|
|
368
|
+
*/
|
|
369
|
+
startUserTotpEnrolment(requestParameters: UsersApiStartUserTotpEnrolmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TotpEnrolmentDto>;
|
|
370
|
+
/**
|
|
371
|
+
* Returns the QR code URI and the secret of the new app. The current app keeps working until a code of the new one is checked.
|
|
372
|
+
* Start moving to another authenticator app
|
|
373
|
+
*/
|
|
374
|
+
startUserTotpReplacementRaw(requestParameters: UsersApiStartUserTotpReplacementRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TotpEnrolmentDto>>;
|
|
375
|
+
/**
|
|
376
|
+
* Returns the QR code URI and the secret of the new app. The current app keeps working until a code of the new one is checked.
|
|
377
|
+
* Start moving to another authenticator app
|
|
378
|
+
*/
|
|
379
|
+
startUserTotpReplacement(requestParameters: UsersApiStartUserTotpReplacementRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TotpEnrolmentDto>;
|
|
96
380
|
/**
|
|
97
381
|
* Updates one or more notification preferences for the seller user. **API key scope required:** `USERS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
98
382
|
* Update user notification settings
|