@randock/nameshift-api-client 0.0.503 → 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 (141) hide show
  1. package/.openapi-generator/FILES +32 -0
  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/UsersApi.d.ts +285 -1
  8. package/dist/apis/UsersApi.js +1305 -46
  9. package/dist/apis/UsersPublicApi.d.ts +107 -3
  10. package/dist/apis/UsersPublicApi.js +388 -2
  11. package/dist/models/ActivateUserTotpInput.d.ts +32 -0
  12. package/dist/models/ActivateUserTotpInput.js +51 -0
  13. package/dist/models/AdminUserSecurityDto.d.ts +87 -0
  14. package/dist/models/AdminUserSecurityDto.js +88 -0
  15. package/dist/models/BuyerLoginDto.d.ts +38 -0
  16. package/dist/models/BuyerLoginDto.js +55 -0
  17. package/dist/models/BuyerNotificationDto.d.ts +1 -0
  18. package/dist/models/BuyerNotificationDto.js +1 -0
  19. package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
  20. package/dist/models/BuyerNotificationListItemDto.js +1 -0
  21. package/dist/models/ChangeUserAuthenticationMethodInput.d.ts +33 -0
  22. package/dist/models/ChangeUserAuthenticationMethodInput.js +52 -0
  23. package/dist/models/ChangeUserLoginLocationVerificationInput.d.ts +32 -0
  24. package/dist/models/ChangeUserLoginLocationVerificationInput.js +51 -0
  25. package/dist/models/ChangeUserPasswordInput.d.ts +38 -0
  26. package/dist/models/ChangeUserPasswordInput.js +55 -0
  27. package/dist/models/ConfirmLoginLocationInput.d.ts +32 -0
  28. package/dist/models/ConfirmLoginLocationInput.js +51 -0
  29. package/dist/models/CurrentPasswordInput.d.ts +32 -0
  30. package/dist/models/CurrentPasswordInput.js +51 -0
  31. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  32. package/dist/models/FeatureFlagListItemDto.js +2 -1
  33. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  34. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  35. package/dist/models/ListUserLoginAttempts200Response.d.ts +47 -0
  36. package/dist/models/ListUserLoginAttempts200Response.js +62 -0
  37. package/dist/models/LoginChallengeInput.d.ts +32 -0
  38. package/dist/models/LoginChallengeInput.js +51 -0
  39. package/dist/models/LoginCodeInput.d.ts +38 -0
  40. package/dist/models/LoginCodeInput.js +55 -0
  41. package/dist/models/LoginDto.d.ts +30 -4
  42. package/dist/models/LoginDto.js +13 -5
  43. package/dist/models/LoginPasskeyInput.d.ts +46 -0
  44. package/dist/models/LoginPasskeyInput.js +57 -0
  45. package/dist/models/LoginPasskeyOptionsInput.d.ts +32 -0
  46. package/dist/models/LoginPasskeyOptionsInput.js +49 -0
  47. package/dist/models/LoginRecoveryCodeInput.d.ts +38 -0
  48. package/dist/models/LoginRecoveryCodeInput.js +55 -0
  49. package/dist/models/LoginStatus.d.ts +26 -0
  50. package/dist/models/LoginStatus.js +52 -0
  51. package/dist/models/PasskeyOptionsDto.d.ts +40 -0
  52. package/dist/models/PasskeyOptionsDto.js +55 -0
  53. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  54. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  55. package/dist/models/ReauthenticateWithPasskeyInput.d.ts +40 -0
  56. package/dist/models/ReauthenticateWithPasskeyInput.js +55 -0
  57. package/dist/models/ReauthenticationDto.d.ts +38 -0
  58. package/dist/models/ReauthenticationDto.js +55 -0
  59. package/dist/models/RecoveryCodesDto.d.ts +32 -0
  60. package/dist/models/RecoveryCodesDto.js +51 -0
  61. package/dist/models/RegisterUserPasskeyInput.d.ts +46 -0
  62. package/dist/models/RegisterUserPasskeyInput.js +59 -0
  63. package/dist/models/RemoveUserPasskeyInput.d.ts +40 -0
  64. package/dist/models/RemoveUserPasskeyInput.js +55 -0
  65. package/dist/models/RenameUserPasskeyInput.d.ts +32 -0
  66. package/dist/models/RenameUserPasskeyInput.js +51 -0
  67. package/dist/models/SecondFactorMethod.d.ts +26 -0
  68. package/dist/models/SecondFactorMethod.js +52 -0
  69. package/dist/models/SellerSecurityUserDto.d.ts +12 -0
  70. package/dist/models/SellerSecurityUserDto.js +4 -0
  71. package/dist/models/TotpCodeInput.d.ts +32 -0
  72. package/dist/models/TotpCodeInput.js +51 -0
  73. package/dist/models/TotpEnrolmentDto.d.ts +38 -0
  74. package/dist/models/TotpEnrolmentDto.js +55 -0
  75. package/dist/models/UserAuthenticationMethod.d.ts +27 -0
  76. package/dist/models/UserAuthenticationMethod.js +53 -0
  77. package/dist/models/UserLoginAttemptDto.d.ts +88 -0
  78. package/dist/models/UserLoginAttemptDto.js +89 -0
  79. package/dist/models/UserLoginAttemptMethod.d.ts +29 -0
  80. package/dist/models/UserLoginAttemptMethod.js +55 -0
  81. package/dist/models/UserLoginAttemptResult.d.ts +30 -0
  82. package/dist/models/UserLoginAttemptResult.js +56 -0
  83. package/dist/models/UserLoginLocationConfirmationDetailsDto.d.ts +62 -0
  84. package/dist/models/UserLoginLocationConfirmationDetailsDto.js +71 -0
  85. package/dist/models/UserNotificationDto.d.ts +1 -0
  86. package/dist/models/UserNotificationDto.js +1 -0
  87. package/dist/models/UserNotificationListItemDto.d.ts +1 -0
  88. package/dist/models/UserNotificationListItemDto.js +1 -0
  89. package/dist/models/UserPasskeyDto.d.ts +62 -0
  90. package/dist/models/UserPasskeyDto.js +71 -0
  91. package/dist/models/UserSecurityDto.d.ts +94 -0
  92. package/dist/models/UserSecurityDto.js +93 -0
  93. package/dist/models/index.d.ts +32 -0
  94. package/dist/models/index.js +32 -0
  95. package/package.json +1 -1
  96. package/src/apis/AdminApi.ts +172 -0
  97. package/src/apis/BuyersPublicApi.ts +6 -6
  98. package/src/apis/UsersApi.ts +1219 -48
  99. package/src/apis/UsersPublicApi.ts +375 -2
  100. package/src/models/ActivateUserTotpInput.ts +66 -0
  101. package/src/models/AdminUserSecurityDto.ts +157 -0
  102. package/src/models/BuyerLoginDto.ts +75 -0
  103. package/src/models/BuyerNotificationDto.ts +1 -0
  104. package/src/models/BuyerNotificationListItemDto.ts +1 -0
  105. package/src/models/ChangeUserAuthenticationMethodInput.ts +76 -0
  106. package/src/models/ChangeUserLoginLocationVerificationInput.ts +66 -0
  107. package/src/models/ChangeUserPasswordInput.ts +75 -0
  108. package/src/models/ConfirmLoginLocationInput.ts +66 -0
  109. package/src/models/CurrentPasswordInput.ts +66 -0
  110. package/src/models/FeatureFlagListItemDto.ts +2 -1
  111. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  112. package/src/models/ListUserLoginAttempts200Response.ts +106 -0
  113. package/src/models/LoginChallengeInput.ts +66 -0
  114. package/src/models/LoginCodeInput.ts +75 -0
  115. package/src/models/LoginDto.ts +56 -8
  116. package/src/models/LoginPasskeyInput.ts +83 -0
  117. package/src/models/LoginPasskeyOptionsInput.ts +65 -0
  118. package/src/models/LoginRecoveryCodeInput.ts +75 -0
  119. package/src/models/LoginStatus.ts +54 -0
  120. package/src/models/PasskeyOptionsDto.ts +75 -0
  121. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  122. package/src/models/ReauthenticateWithPasskeyInput.ts +75 -0
  123. package/src/models/ReauthenticationDto.ts +75 -0
  124. package/src/models/RecoveryCodesDto.ts +66 -0
  125. package/src/models/RegisterUserPasskeyInput.ts +84 -0
  126. package/src/models/RemoveUserPasskeyInput.ts +75 -0
  127. package/src/models/RenameUserPasskeyInput.ts +66 -0
  128. package/src/models/SecondFactorMethod.ts +54 -0
  129. package/src/models/SellerSecurityUserDto.ts +16 -0
  130. package/src/models/TotpCodeInput.ts +66 -0
  131. package/src/models/TotpEnrolmentDto.ts +75 -0
  132. package/src/models/UserAuthenticationMethod.ts +55 -0
  133. package/src/models/UserLoginAttemptDto.ts +164 -0
  134. package/src/models/UserLoginAttemptMethod.ts +57 -0
  135. package/src/models/UserLoginAttemptResult.ts +58 -0
  136. package/src/models/UserLoginLocationConfirmationDetailsDto.ts +111 -0
  137. package/src/models/UserNotificationDto.ts +1 -0
  138. package/src/models/UserNotificationListItemDto.ts +1 -0
  139. package/src/models/UserPasskeyDto.ts +111 -0
  140. package/src/models/UserSecurityDto.ts +173 -0
  141. package/src/models/index.ts +32 -0
@@ -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