@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
|
@@ -116,6 +116,7 @@ export const UserNotificationListItemDtoTypeEnum = {
|
|
|
116
116
|
RENT_SUBSCRIPTION_RENT_INDEXATION_APPLIED: 'rent_subscription_rent_indexation_applied',
|
|
117
117
|
PASSWORD_RESET: 'password_reset',
|
|
118
118
|
USER_EMAIL_CHANGED: 'user_email_changed',
|
|
119
|
+
USER_LOGIN_LOCATION_CONFIRMATION: 'user_login_location_confirmation',
|
|
119
120
|
USER_EMAIL_CHANGE_CONFIRMED: 'user_email_change_confirmed',
|
|
120
121
|
BUYER_INVOICE: 'buyer_invoice',
|
|
121
122
|
BUYER_RENT_INSTALLMENT_INVOICE: 'buyer_rent_installment_invoice',
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UserPasskeyDto
|
|
20
|
+
*/
|
|
21
|
+
export interface UserPasskeyDto {
|
|
22
|
+
/**
|
|
23
|
+
* Passkey ID.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UserPasskeyDto
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* Name the user gave the passkey.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UserPasskeyDto
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
* Whether the passkey syncs across devices (multiDevice) or lives on one (singleDevice).
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UserPasskeyDto
|
|
38
|
+
*/
|
|
39
|
+
deviceType: string;
|
|
40
|
+
/**
|
|
41
|
+
* Whether the passkey is backed up.
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof UserPasskeyDto
|
|
44
|
+
*/
|
|
45
|
+
backedUp: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* When the passkey was added.
|
|
48
|
+
* @type {Date}
|
|
49
|
+
* @memberof UserPasskeyDto
|
|
50
|
+
*/
|
|
51
|
+
createdAt: Date;
|
|
52
|
+
/**
|
|
53
|
+
* When the passkey was last used to sign in.
|
|
54
|
+
* @type {Date}
|
|
55
|
+
* @memberof UserPasskeyDto
|
|
56
|
+
*/
|
|
57
|
+
lastUsedAt: Date | null;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the UserPasskeyDto interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfUserPasskeyDto(value: object): value is UserPasskeyDto {
|
|
64
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
65
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
66
|
+
if (!('deviceType' in value) || value['deviceType'] === undefined) return false;
|
|
67
|
+
if (!('backedUp' in value) || value['backedUp'] === undefined) return false;
|
|
68
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
69
|
+
if (!('lastUsedAt' in value) || value['lastUsedAt'] === undefined) return false;
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function UserPasskeyDtoFromJSON(json: any): UserPasskeyDto {
|
|
74
|
+
return UserPasskeyDtoFromJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function UserPasskeyDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserPasskeyDto {
|
|
78
|
+
if (json == null) {
|
|
79
|
+
return json;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'id': json['id'],
|
|
84
|
+
'name': json['name'],
|
|
85
|
+
'deviceType': json['deviceType'],
|
|
86
|
+
'backedUp': json['backedUp'],
|
|
87
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
88
|
+
'lastUsedAt': (json['lastUsedAt'] == null ? null : new Date(json['lastUsedAt'])),
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function UserPasskeyDtoToJSON(json: any): UserPasskeyDto {
|
|
93
|
+
return UserPasskeyDtoToJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function UserPasskeyDtoToJSONTyped(value?: UserPasskeyDto | null, ignoreDiscriminator: boolean = false): any {
|
|
97
|
+
if (value == null) {
|
|
98
|
+
return value;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return {
|
|
102
|
+
|
|
103
|
+
'id': value['id'],
|
|
104
|
+
'name': value['name'],
|
|
105
|
+
'deviceType': value['deviceType'],
|
|
106
|
+
'backedUp': value['backedUp'],
|
|
107
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
108
|
+
'lastUsedAt': (value['lastUsedAt'] == null ? null : (value['lastUsedAt'] as any).toISOString()),
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { UserAuthenticationMethod } from './UserAuthenticationMethod';
|
|
17
|
+
import {
|
|
18
|
+
UserAuthenticationMethodFromJSON,
|
|
19
|
+
UserAuthenticationMethodFromJSONTyped,
|
|
20
|
+
UserAuthenticationMethodToJSON,
|
|
21
|
+
UserAuthenticationMethodToJSONTyped,
|
|
22
|
+
} from './UserAuthenticationMethod';
|
|
23
|
+
import type { UserPasskeyDto } from './UserPasskeyDto';
|
|
24
|
+
import {
|
|
25
|
+
UserPasskeyDtoFromJSON,
|
|
26
|
+
UserPasskeyDtoFromJSONTyped,
|
|
27
|
+
UserPasskeyDtoToJSON,
|
|
28
|
+
UserPasskeyDtoToJSONTyped,
|
|
29
|
+
} from './UserPasskeyDto';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface UserSecurityDto
|
|
35
|
+
*/
|
|
36
|
+
export interface UserSecurityDto {
|
|
37
|
+
/**
|
|
38
|
+
* Method the user signs in with.
|
|
39
|
+
* @type {UserAuthenticationMethod}
|
|
40
|
+
* @memberof UserSecurityDto
|
|
41
|
+
*/
|
|
42
|
+
authenticationMethod: UserAuthenticationMethod;
|
|
43
|
+
/**
|
|
44
|
+
* Method the next sign-in follows. It differs from authenticationMethod for staff on a password alone once a second factor is required for them.
|
|
45
|
+
* @type {UserAuthenticationMethod}
|
|
46
|
+
* @memberof UserSecurityDto
|
|
47
|
+
*/
|
|
48
|
+
effectiveAuthenticationMethod: UserAuthenticationMethod;
|
|
49
|
+
/**
|
|
50
|
+
* Methods the user can switch to with the factors set up right now.
|
|
51
|
+
* @type {Array<UserAuthenticationMethod>}
|
|
52
|
+
* @memberof UserSecurityDto
|
|
53
|
+
*/
|
|
54
|
+
allowedAuthenticationMethods: Array<UserAuthenticationMethod>;
|
|
55
|
+
/**
|
|
56
|
+
* Whether the user has a staff role, which requires a second factor or a passkey.
|
|
57
|
+
* @type {boolean}
|
|
58
|
+
* @memberof UserSecurityDto
|
|
59
|
+
*/
|
|
60
|
+
isStaff: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Whether the user must keep a verification step: staff once second factors are required for them. They always sign in with a password and a verification step, and cannot remove their last authenticator app or passkey.
|
|
63
|
+
* @type {boolean}
|
|
64
|
+
* @memberof UserSecurityDto
|
|
65
|
+
*/
|
|
66
|
+
secondFactorRequired: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Whether the user must set up an authenticator app or a passkey before using the app: staff, once second factors are required for them, with neither yet.
|
|
69
|
+
* @type {boolean}
|
|
70
|
+
* @memberof UserSecurityDto
|
|
71
|
+
*/
|
|
72
|
+
secondFactorSetupRequired: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Whether an authenticator app is set up.
|
|
75
|
+
* @type {boolean}
|
|
76
|
+
* @memberof UserSecurityDto
|
|
77
|
+
*/
|
|
78
|
+
totpEnabled: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Passkeys of the user.
|
|
81
|
+
* @type {Array<UserPasskeyDto>}
|
|
82
|
+
* @memberof UserSecurityDto
|
|
83
|
+
*/
|
|
84
|
+
passkeys: Array<UserPasskeyDto>;
|
|
85
|
+
/**
|
|
86
|
+
* Whether the user turned recovery codes on.
|
|
87
|
+
* @type {boolean}
|
|
88
|
+
* @memberof UserSecurityDto
|
|
89
|
+
*/
|
|
90
|
+
recoveryCodesEnabled: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Recovery codes left to use.
|
|
93
|
+
* @type {number}
|
|
94
|
+
* @memberof UserSecurityDto
|
|
95
|
+
*/
|
|
96
|
+
unusedRecoveryCodes: number;
|
|
97
|
+
/**
|
|
98
|
+
* Whether a sign-in from a new network has to be confirmed by email.
|
|
99
|
+
* @type {boolean}
|
|
100
|
+
* @memberof UserSecurityDto
|
|
101
|
+
*/
|
|
102
|
+
loginLocationVerificationEnabled: boolean;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Check if a given object implements the UserSecurityDto interface.
|
|
109
|
+
*/
|
|
110
|
+
export function instanceOfUserSecurityDto(value: object): value is UserSecurityDto {
|
|
111
|
+
if (!('authenticationMethod' in value) || value['authenticationMethod'] === undefined) return false;
|
|
112
|
+
if (!('effectiveAuthenticationMethod' in value) || value['effectiveAuthenticationMethod'] === undefined) return false;
|
|
113
|
+
if (!('allowedAuthenticationMethods' in value) || value['allowedAuthenticationMethods'] === undefined) return false;
|
|
114
|
+
if (!('isStaff' in value) || value['isStaff'] === undefined) return false;
|
|
115
|
+
if (!('secondFactorRequired' in value) || value['secondFactorRequired'] === undefined) return false;
|
|
116
|
+
if (!('secondFactorSetupRequired' in value) || value['secondFactorSetupRequired'] === undefined) return false;
|
|
117
|
+
if (!('totpEnabled' in value) || value['totpEnabled'] === undefined) return false;
|
|
118
|
+
if (!('passkeys' in value) || value['passkeys'] === undefined) return false;
|
|
119
|
+
if (!('recoveryCodesEnabled' in value) || value['recoveryCodesEnabled'] === undefined) return false;
|
|
120
|
+
if (!('unusedRecoveryCodes' in value) || value['unusedRecoveryCodes'] === undefined) return false;
|
|
121
|
+
if (!('loginLocationVerificationEnabled' in value) || value['loginLocationVerificationEnabled'] === undefined) return false;
|
|
122
|
+
return true;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export function UserSecurityDtoFromJSON(json: any): UserSecurityDto {
|
|
126
|
+
return UserSecurityDtoFromJSONTyped(json, false);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export function UserSecurityDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserSecurityDto {
|
|
130
|
+
if (json == null) {
|
|
131
|
+
return json;
|
|
132
|
+
}
|
|
133
|
+
return {
|
|
134
|
+
|
|
135
|
+
'authenticationMethod': UserAuthenticationMethodFromJSON(json['authenticationMethod']),
|
|
136
|
+
'effectiveAuthenticationMethod': UserAuthenticationMethodFromJSON(json['effectiveAuthenticationMethod']),
|
|
137
|
+
'allowedAuthenticationMethods': ((json['allowedAuthenticationMethods'] as Array<any>).map(UserAuthenticationMethodFromJSON)),
|
|
138
|
+
'isStaff': json['isStaff'],
|
|
139
|
+
'secondFactorRequired': json['secondFactorRequired'],
|
|
140
|
+
'secondFactorSetupRequired': json['secondFactorSetupRequired'],
|
|
141
|
+
'totpEnabled': json['totpEnabled'],
|
|
142
|
+
'passkeys': ((json['passkeys'] as Array<any>).map(UserPasskeyDtoFromJSON)),
|
|
143
|
+
'recoveryCodesEnabled': json['recoveryCodesEnabled'],
|
|
144
|
+
'unusedRecoveryCodes': json['unusedRecoveryCodes'],
|
|
145
|
+
'loginLocationVerificationEnabled': json['loginLocationVerificationEnabled'],
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export function UserSecurityDtoToJSON(json: any): UserSecurityDto {
|
|
150
|
+
return UserSecurityDtoToJSONTyped(json, false);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export function UserSecurityDtoToJSONTyped(value?: UserSecurityDto | null, ignoreDiscriminator: boolean = false): any {
|
|
154
|
+
if (value == null) {
|
|
155
|
+
return value;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
return {
|
|
159
|
+
|
|
160
|
+
'authenticationMethod': UserAuthenticationMethodToJSON(value['authenticationMethod']),
|
|
161
|
+
'effectiveAuthenticationMethod': UserAuthenticationMethodToJSON(value['effectiveAuthenticationMethod']),
|
|
162
|
+
'allowedAuthenticationMethods': ((value['allowedAuthenticationMethods'] as Array<any>).map(UserAuthenticationMethodToJSON)),
|
|
163
|
+
'isStaff': value['isStaff'],
|
|
164
|
+
'secondFactorRequired': value['secondFactorRequired'],
|
|
165
|
+
'secondFactorSetupRequired': value['secondFactorSetupRequired'],
|
|
166
|
+
'totpEnabled': value['totpEnabled'],
|
|
167
|
+
'passkeys': ((value['passkeys'] as Array<any>).map(UserPasskeyDtoToJSON)),
|
|
168
|
+
'recoveryCodesEnabled': value['recoveryCodesEnabled'],
|
|
169
|
+
'unusedRecoveryCodes': value['unusedRecoveryCodes'],
|
|
170
|
+
'loginLocationVerificationEnabled': value['loginLocationVerificationEnabled'],
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -39,6 +39,7 @@ export * from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
|
39
39
|
export * from './AccountSettingsRentConfigurationDto';
|
|
40
40
|
export * from './AccountSettingsSidnDto';
|
|
41
41
|
export * from './AccountsStatsDto';
|
|
42
|
+
export * from './ActivateUserTotpInput';
|
|
42
43
|
export * from './AddSubscriptionDomainRecordInput';
|
|
43
44
|
export * from './AddressDto';
|
|
44
45
|
export * from './AdminAccountCommissionByDateRangeInput';
|
|
@@ -72,6 +73,7 @@ export * from './AdminLeadListItemDomainDto';
|
|
|
72
73
|
export * from './AdminLeadListItemDto';
|
|
73
74
|
export * from './AdminListAccountDto';
|
|
74
75
|
export * from './AdminMarketplaceDto';
|
|
76
|
+
export * from './AdminUserSecurityDto';
|
|
75
77
|
export * from './AdminVerificationDepositDto';
|
|
76
78
|
export * from './AffiliatesStatsDto';
|
|
77
79
|
export * from './AggregatedPaginationResponse';
|
|
@@ -140,6 +142,7 @@ export * from './BuyerInvoiceDto';
|
|
|
140
142
|
export * from './BuyerInvoiceSellerAccountDto';
|
|
141
143
|
export * from './BuyerLeadListItemDomainDto';
|
|
142
144
|
export * from './BuyerLeadListItemDto';
|
|
145
|
+
export * from './BuyerLoginDto';
|
|
143
146
|
export * from './BuyerNotificationAttachmentDto';
|
|
144
147
|
export * from './BuyerNotificationDto';
|
|
145
148
|
export * from './BuyerNotificationListItemDto';
|
|
@@ -154,7 +157,10 @@ export * from './ChallengeRewardBalanceDto';
|
|
|
154
157
|
export * from './ChangeInvoiceStatusInput';
|
|
155
158
|
export * from './ChangeOrderStatusInput';
|
|
156
159
|
export * from './ChangeSubscriptionStatusInput';
|
|
160
|
+
export * from './ChangeUserAuthenticationMethodInput';
|
|
157
161
|
export * from './ChangeUserEmailWithOtpInput';
|
|
162
|
+
export * from './ChangeUserLoginLocationVerificationInput';
|
|
163
|
+
export * from './ChangeUserPasswordInput';
|
|
158
164
|
export * from './ChartDataPoint';
|
|
159
165
|
export * from './CheckDomainsNsInput';
|
|
160
166
|
export * from './CommissionAccountDto';
|
|
@@ -181,6 +187,7 @@ export * from './CommissionSimulationResultDto';
|
|
|
181
187
|
export * from './CommissionsStatsDto';
|
|
182
188
|
export * from './CompanyInformationDto';
|
|
183
189
|
export * from './CompanyTaxIdDto';
|
|
190
|
+
export * from './ConfirmLoginLocationInput';
|
|
184
191
|
export * from './ConflictException';
|
|
185
192
|
export * from './CreateAccountNoteInput';
|
|
186
193
|
export * from './CreateAccountPaymentInput';
|
|
@@ -200,6 +207,7 @@ export * from './CreateSubscriptionBillingPeriodicityInput';
|
|
|
200
207
|
export * from './CreateSubscriptionInput';
|
|
201
208
|
export * from './CreateSubscriptionManualTransactionInput';
|
|
202
209
|
export * from './CreatedApiKeyDto';
|
|
210
|
+
export * from './CurrentPasswordInput';
|
|
203
211
|
export * from './CursorBasedPageInfo';
|
|
204
212
|
export * from './CursorBasedPaginationResponse';
|
|
205
213
|
export * from './CustomerSuccessDomainAuctionDto';
|
|
@@ -389,11 +397,18 @@ export * from './ListLeadMessagesDto';
|
|
|
389
397
|
export * from './ListLeads200Response';
|
|
390
398
|
export * from './ListLeadsResultItem';
|
|
391
399
|
export * from './ListNotifications200Response';
|
|
400
|
+
export * from './ListUserLoginAttempts200Response';
|
|
392
401
|
export * from './LockConfigurationInput';
|
|
393
402
|
export * from './LockDurationDto';
|
|
394
403
|
export * from './LockDurationInput';
|
|
404
|
+
export * from './LoginChallengeInput';
|
|
405
|
+
export * from './LoginCodeInput';
|
|
395
406
|
export * from './LoginDto';
|
|
396
407
|
export * from './LoginInput';
|
|
408
|
+
export * from './LoginPasskeyInput';
|
|
409
|
+
export * from './LoginPasskeyOptionsInput';
|
|
410
|
+
export * from './LoginRecoveryCodeInput';
|
|
411
|
+
export * from './LoginStatus';
|
|
397
412
|
export * from './MajesticMetrics';
|
|
398
413
|
export * from './MajesticTopicTrustFlow';
|
|
399
414
|
export * from './ManualLeadBuyerDto';
|
|
@@ -406,7 +421,6 @@ export * from './MoneyDecimalDto';
|
|
|
406
421
|
export * from './MoneyDto';
|
|
407
422
|
export * from './MoneyInput';
|
|
408
423
|
export * from './MozMetrics';
|
|
409
|
-
export * from './NotFoundException';
|
|
410
424
|
export * from './NotificationsUnsubscribeResultDto';
|
|
411
425
|
export * from './ObjectId';
|
|
412
426
|
export * from './OrderCompanyInfoDto';
|
|
@@ -426,6 +440,10 @@ export * from './PaginateResponseMeta';
|
|
|
426
440
|
export * from './ParsedDomainDto';
|
|
427
441
|
export * from './PartnerAuctionDto';
|
|
428
442
|
export * from './PartnerDomainFindDto';
|
|
443
|
+
export * from './PartnerDomainSeoMetricsDto';
|
|
444
|
+
export * from './PartnerMajesticMetricsDto';
|
|
445
|
+
export * from './PartnerMozMetricsDto';
|
|
446
|
+
export * from './PasskeyOptionsDto';
|
|
429
447
|
export * from './PayAccountPaymentInput';
|
|
430
448
|
export * from './PaySellerInvoicesInput';
|
|
431
449
|
export * from './PaymentMethodsStatsDto';
|
|
@@ -448,15 +466,21 @@ export * from './PublicSaleDto';
|
|
|
448
466
|
export * from './PublicSalesDto';
|
|
449
467
|
export * from './PutBuyerLeadOfferInput';
|
|
450
468
|
export * from './PutLeadOfferInput';
|
|
469
|
+
export * from './ReauthenticateWithPasskeyInput';
|
|
470
|
+
export * from './ReauthenticationDto';
|
|
471
|
+
export * from './RecoveryCodesDto';
|
|
451
472
|
export * from './RegisterAccountInput';
|
|
452
473
|
export * from './RegisterAccountPortfolioSizeInput';
|
|
453
474
|
export * from './RegisterAuctionBuyerPhoneInput';
|
|
454
475
|
export * from './RegisterInput';
|
|
476
|
+
export * from './RegisterUserPasskeyInput';
|
|
455
477
|
export * from './RegisterUserPushTokenInput';
|
|
456
478
|
export * from './RelatedDomainsDto';
|
|
457
479
|
export * from './RelatedLeadDto';
|
|
458
480
|
export * from './RelatedSellerDomain';
|
|
459
481
|
export * from './RemoveSubscriptionDomainRecordInput';
|
|
482
|
+
export * from './RemoveUserPasskeyInput';
|
|
483
|
+
export * from './RenameUserPasskeyInput';
|
|
460
484
|
export * from './RentConfigurationDto';
|
|
461
485
|
export * from './RentConfigurationInput';
|
|
462
486
|
export * from './RentConfigurationPresetsDto';
|
|
@@ -470,6 +494,7 @@ export * from './SalesCountCommissionPayloadInput';
|
|
|
470
494
|
export * from './SalesCountCommissionPayloadSimulationInput';
|
|
471
495
|
export * from './SalesCountCommissionReasonPayloadDto';
|
|
472
496
|
export * from './SearchBankAccountInstitutionsInput';
|
|
497
|
+
export * from './SecondFactorMethod';
|
|
473
498
|
export * from './SellerAccountReferralListItemDto';
|
|
474
499
|
export * from './SellerAffiliateCommissionDto';
|
|
475
500
|
export * from './SellerAuctionListItemDto';
|
|
@@ -547,6 +572,8 @@ export * from './TimeTableConfigurationDto';
|
|
|
547
572
|
export * from './TimeTableConfigurationInput';
|
|
548
573
|
export * from './TopAffiliateSellerDto';
|
|
549
574
|
export * from './TopSellerAccountDto';
|
|
575
|
+
export * from './TotpCodeInput';
|
|
576
|
+
export * from './TotpEnrolmentDto';
|
|
550
577
|
export * from './TranslateDomainSearchInput';
|
|
551
578
|
export * from './UpdateAccountBillingInformationInput';
|
|
552
579
|
export * from './UpdateAccountChallengeRewardBalanceInput';
|
|
@@ -578,11 +605,18 @@ export * from './UpdateSubscriptionInput';
|
|
|
578
605
|
export * from './UpdateTaskMuteStatusForBuyerInput';
|
|
579
606
|
export * from './UpdateTaskMuteStatusInput';
|
|
580
607
|
export * from './UpdateUserNotificationSettingsInput';
|
|
608
|
+
export * from './UserAuthenticationMethod';
|
|
609
|
+
export * from './UserLoginAttemptDto';
|
|
610
|
+
export * from './UserLoginAttemptMethod';
|
|
611
|
+
export * from './UserLoginAttemptResult';
|
|
612
|
+
export * from './UserLoginLocationConfirmationDetailsDto';
|
|
581
613
|
export * from './UserNotificationAttachmentDto';
|
|
582
614
|
export * from './UserNotificationDto';
|
|
583
615
|
export * from './UserNotificationListItemDto';
|
|
584
616
|
export * from './UserNotificationSettingsDto';
|
|
617
|
+
export * from './UserPasskeyDto';
|
|
585
618
|
export * from './UserPasswordResetDto';
|
|
619
|
+
export * from './UserSecurityDto';
|
|
586
620
|
export * from './UserSignedTokenInput';
|
|
587
621
|
export * from './ValidateTaxNumberDto';
|
|
588
622
|
export * from './ValidateTaxNumberInput';
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Nameshift
|
|
3
|
-
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface NotFoundException
|
|
16
|
-
*/
|
|
17
|
-
export interface NotFoundException {
|
|
18
|
-
/**
|
|
19
|
-
* Exception name.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof NotFoundException
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
/**
|
|
25
|
-
* HTTP status code.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof NotFoundException
|
|
28
|
-
*/
|
|
29
|
-
statusCode: number;
|
|
30
|
-
/**
|
|
31
|
-
* error message
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof NotFoundException
|
|
34
|
-
*/
|
|
35
|
-
message: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the NotFoundException interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfNotFoundException(value: object): value is NotFoundException;
|
|
41
|
-
export declare function NotFoundExceptionFromJSON(json: any): NotFoundException;
|
|
42
|
-
export declare function NotFoundExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotFoundException;
|
|
43
|
-
export declare function NotFoundExceptionToJSON(json: any): NotFoundException;
|
|
44
|
-
export declare function NotFoundExceptionToJSONTyped(value?: NotFoundException | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Nameshift
|
|
5
|
-
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface NotFoundException
|
|
20
|
-
*/
|
|
21
|
-
export interface NotFoundException {
|
|
22
|
-
/**
|
|
23
|
-
* Exception name.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof NotFoundException
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
* HTTP status code.
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof NotFoundException
|
|
32
|
-
*/
|
|
33
|
-
statusCode: number;
|
|
34
|
-
/**
|
|
35
|
-
* error message
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof NotFoundException
|
|
38
|
-
*/
|
|
39
|
-
message: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the NotFoundException interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfNotFoundException(value: object): value is NotFoundException {
|
|
46
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
47
|
-
if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
|
|
48
|
-
if (!('message' in value) || value['message'] === undefined) return false;
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function NotFoundExceptionFromJSON(json: any): NotFoundException {
|
|
53
|
-
return NotFoundExceptionFromJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function NotFoundExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotFoundException {
|
|
57
|
-
if (json == null) {
|
|
58
|
-
return json;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
|
|
62
|
-
'name': json['name'],
|
|
63
|
-
'statusCode': json['statusCode'],
|
|
64
|
-
'message': json['message'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function NotFoundExceptionToJSON(json: any): NotFoundException {
|
|
69
|
-
return NotFoundExceptionToJSONTyped(json, false);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function NotFoundExceptionToJSONTyped(value?: NotFoundException | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
-
if (value == null) {
|
|
74
|
-
return value;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
return {
|
|
78
|
-
|
|
79
|
-
'name': value['name'],
|
|
80
|
-
'statusCode': value['statusCode'],
|
|
81
|
-
'message': value['message'],
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
|