@randock/nameshift-api-client 0.0.503 → 0.0.505
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 +33 -0
- 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/UsersApi.d.ts +285 -1
- package/dist/apis/UsersApi.js +1304 -46
- package/dist/apis/UsersPublicApi.d.ts +120 -3
- package/dist/apis/UsersPublicApi.js +436 -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 +87 -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/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/ChangeUserSignInStepsInput.d.ts +33 -0
- package/dist/models/ChangeUserSignInStepsInput.js +51 -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/LoginPasswordInput.d.ts +38 -0
- package/dist/models/LoginPasswordInput.js +55 -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/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/RenameUserPasskeyInput.js +51 -0
- package/dist/models/SecondFactorMethod.d.ts +27 -0
- package/dist/models/SecondFactorMethod.js +53 -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/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 +31 -0
- package/dist/models/UserLoginAttemptResult.js +57 -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/UserSignInFactor.d.ts +26 -0
- package/dist/models/UserSignInFactor.js +52 -0
- package/dist/models/index.d.ts +33 -0
- package/dist/models/index.js +33 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +172 -0
- package/src/apis/BuyersPublicApi.ts +6 -6
- package/src/apis/UsersApi.ts +1218 -48
- package/src/apis/UsersPublicApi.ts +420 -2
- package/src/models/ActivateUserTotpInput.ts +66 -0
- package/src/models/AdminUserSecurityDto.ts +155 -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/ChangeUserLoginLocationVerificationInput.ts +66 -0
- package/src/models/ChangeUserPasswordInput.ts +75 -0
- package/src/models/ChangeUserSignInStepsInput.ts +74 -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/LoginPasswordInput.ts +75 -0
- package/src/models/LoginRecoveryCodeInput.ts +75 -0
- package/src/models/LoginStatus.ts +54 -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 +55 -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/UserLoginAttemptDto.ts +164 -0
- package/src/models/UserLoginAttemptMethod.ts +57 -0
- package/src/models/UserLoginAttemptResult.ts +59 -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 +171 -0
- package/src/models/UserSignInFactor.ts +54 -0
- package/src/models/index.ts +33 -0
|
@@ -0,0 +1,155 @@
|
|
|
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 { UserSignInFactor } from './UserSignInFactor';
|
|
17
|
+
import {
|
|
18
|
+
UserSignInFactorFromJSON,
|
|
19
|
+
UserSignInFactorFromJSONTyped,
|
|
20
|
+
UserSignInFactorToJSON,
|
|
21
|
+
UserSignInFactorToJSONTyped,
|
|
22
|
+
} from './UserSignInFactor';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AdminUserSecurityDto
|
|
28
|
+
*/
|
|
29
|
+
export interface AdminUserSecurityDto {
|
|
30
|
+
/**
|
|
31
|
+
* User ID.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AdminUserSecurityDto
|
|
34
|
+
*/
|
|
35
|
+
userId: string;
|
|
36
|
+
/**
|
|
37
|
+
* User email.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AdminUserSecurityDto
|
|
40
|
+
*/
|
|
41
|
+
email: string;
|
|
42
|
+
/**
|
|
43
|
+
* User full name.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AdminUserSecurityDto
|
|
46
|
+
*/
|
|
47
|
+
name: string;
|
|
48
|
+
/**
|
|
49
|
+
* Roles of the user.
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof AdminUserSecurityDto
|
|
52
|
+
*/
|
|
53
|
+
roles: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Whether the user has a staff role, which requires a second factor or a passkey.
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof AdminUserSecurityDto
|
|
58
|
+
*/
|
|
59
|
+
isStaff: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Steps the user signs in with, in order; each step lists the factors to choose from.
|
|
62
|
+
* @type {Array<Array<UserSignInFactor>>}
|
|
63
|
+
* @memberof AdminUserSecurityDto
|
|
64
|
+
*/
|
|
65
|
+
signInSteps: Array<Array<UserSignInFactor>>;
|
|
66
|
+
/**
|
|
67
|
+
* Whether an authenticator app is set up.
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof AdminUserSecurityDto
|
|
70
|
+
*/
|
|
71
|
+
totpEnabled: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Number of passkeys.
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof AdminUserSecurityDto
|
|
76
|
+
*/
|
|
77
|
+
passkeys: number;
|
|
78
|
+
/**
|
|
79
|
+
* Whether a sign-in from a new network has to be confirmed by email.
|
|
80
|
+
* @type {boolean}
|
|
81
|
+
* @memberof AdminUserSecurityDto
|
|
82
|
+
*/
|
|
83
|
+
loginLocationVerificationEnabled: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Last successful sign-in.
|
|
86
|
+
* @type {Date}
|
|
87
|
+
* @memberof AdminUserSecurityDto
|
|
88
|
+
*/
|
|
89
|
+
lastLoginAt: Date | null;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Check if a given object implements the AdminUserSecurityDto interface.
|
|
94
|
+
*/
|
|
95
|
+
export function instanceOfAdminUserSecurityDto(value: object): value is AdminUserSecurityDto {
|
|
96
|
+
if (!('userId' in value) || value['userId'] === undefined) return false;
|
|
97
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
98
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
99
|
+
if (!('roles' in value) || value['roles'] === undefined) return false;
|
|
100
|
+
if (!('isStaff' in value) || value['isStaff'] === undefined) return false;
|
|
101
|
+
if (!('signInSteps' in value) || value['signInSteps'] === undefined) return false;
|
|
102
|
+
if (!('totpEnabled' in value) || value['totpEnabled'] === undefined) return false;
|
|
103
|
+
if (!('passkeys' in value) || value['passkeys'] === undefined) return false;
|
|
104
|
+
if (!('loginLocationVerificationEnabled' in value) || value['loginLocationVerificationEnabled'] === undefined) return false;
|
|
105
|
+
if (!('lastLoginAt' in value) || value['lastLoginAt'] === undefined) return false;
|
|
106
|
+
return true;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function AdminUserSecurityDtoFromJSON(json: any): AdminUserSecurityDto {
|
|
110
|
+
return AdminUserSecurityDtoFromJSONTyped(json, false);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export function AdminUserSecurityDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminUserSecurityDto {
|
|
114
|
+
if (json == null) {
|
|
115
|
+
return json;
|
|
116
|
+
}
|
|
117
|
+
return {
|
|
118
|
+
|
|
119
|
+
'userId': json['userId'],
|
|
120
|
+
'email': json['email'],
|
|
121
|
+
'name': json['name'],
|
|
122
|
+
'roles': json['roles'],
|
|
123
|
+
'isStaff': json['isStaff'],
|
|
124
|
+
'signInSteps': json['signInSteps'],
|
|
125
|
+
'totpEnabled': json['totpEnabled'],
|
|
126
|
+
'passkeys': json['passkeys'],
|
|
127
|
+
'loginLocationVerificationEnabled': json['loginLocationVerificationEnabled'],
|
|
128
|
+
'lastLoginAt': (json['lastLoginAt'] == null ? null : new Date(json['lastLoginAt'])),
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export function AdminUserSecurityDtoToJSON(json: any): AdminUserSecurityDto {
|
|
133
|
+
return AdminUserSecurityDtoToJSONTyped(json, false);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export function AdminUserSecurityDtoToJSONTyped(value?: AdminUserSecurityDto | null, ignoreDiscriminator: boolean = false): any {
|
|
137
|
+
if (value == null) {
|
|
138
|
+
return value;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
return {
|
|
142
|
+
|
|
143
|
+
'userId': value['userId'],
|
|
144
|
+
'email': value['email'],
|
|
145
|
+
'name': value['name'],
|
|
146
|
+
'roles': value['roles'],
|
|
147
|
+
'isStaff': value['isStaff'],
|
|
148
|
+
'signInSteps': value['signInSteps'],
|
|
149
|
+
'totpEnabled': value['totpEnabled'],
|
|
150
|
+
'passkeys': value['passkeys'],
|
|
151
|
+
'loginLocationVerificationEnabled': value['loginLocationVerificationEnabled'],
|
|
152
|
+
'lastLoginAt': (value['lastLoginAt'] == null ? null : (value['lastLoginAt'] as any).toISOString()),
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
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 BuyerLoginDto
|
|
20
|
+
*/
|
|
21
|
+
export interface BuyerLoginDto {
|
|
22
|
+
/**
|
|
23
|
+
* JWT authentication token.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof BuyerLoginDto
|
|
26
|
+
*/
|
|
27
|
+
token: string;
|
|
28
|
+
/**
|
|
29
|
+
* User locale (BCP 47).
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof BuyerLoginDto
|
|
32
|
+
*/
|
|
33
|
+
locale: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the BuyerLoginDto interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfBuyerLoginDto(value: object): value is BuyerLoginDto {
|
|
40
|
+
if (!('token' in value) || value['token'] === undefined) return false;
|
|
41
|
+
if (!('locale' in value) || value['locale'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function BuyerLoginDtoFromJSON(json: any): BuyerLoginDto {
|
|
46
|
+
return BuyerLoginDtoFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function BuyerLoginDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerLoginDto {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'token': json['token'],
|
|
56
|
+
'locale': json['locale'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function BuyerLoginDtoToJSON(json: any): BuyerLoginDto {
|
|
61
|
+
return BuyerLoginDtoToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function BuyerLoginDtoToJSONTyped(value?: BuyerLoginDto | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'token': value['token'],
|
|
72
|
+
'locale': value['locale'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -130,6 +130,7 @@ export const BuyerNotificationDtoTypeEnum = {
|
|
|
130
130
|
RENT_SUBSCRIPTION_RENT_INDEXATION_APPLIED: 'rent_subscription_rent_indexation_applied',
|
|
131
131
|
PASSWORD_RESET: 'password_reset',
|
|
132
132
|
USER_EMAIL_CHANGED: 'user_email_changed',
|
|
133
|
+
USER_LOGIN_LOCATION_CONFIRMATION: 'user_login_location_confirmation',
|
|
133
134
|
USER_EMAIL_CHANGE_CONFIRMED: 'user_email_change_confirmed',
|
|
134
135
|
BUYER_INVOICE: 'buyer_invoice',
|
|
135
136
|
BUYER_RENT_INSTALLMENT_INVOICE: 'buyer_rent_installment_invoice',
|
|
@@ -116,6 +116,7 @@ export const BuyerNotificationListItemDtoTypeEnum = {
|
|
|
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,66 @@
|
|
|
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 ChangeUserLoginLocationVerificationInput
|
|
20
|
+
*/
|
|
21
|
+
export interface ChangeUserLoginLocationVerificationInput {
|
|
22
|
+
/**
|
|
23
|
+
* Whether a sign-in from a new network has to be confirmed by email.
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof ChangeUserLoginLocationVerificationInput
|
|
26
|
+
*/
|
|
27
|
+
enabled: boolean;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ChangeUserLoginLocationVerificationInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfChangeUserLoginLocationVerificationInput(value: object): value is ChangeUserLoginLocationVerificationInput {
|
|
34
|
+
if (!('enabled' in value) || value['enabled'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function ChangeUserLoginLocationVerificationInputFromJSON(json: any): ChangeUserLoginLocationVerificationInput {
|
|
39
|
+
return ChangeUserLoginLocationVerificationInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function ChangeUserLoginLocationVerificationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeUserLoginLocationVerificationInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'enabled': json['enabled'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ChangeUserLoginLocationVerificationInputToJSON(json: any): ChangeUserLoginLocationVerificationInput {
|
|
53
|
+
return ChangeUserLoginLocationVerificationInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ChangeUserLoginLocationVerificationInputToJSONTyped(value?: ChangeUserLoginLocationVerificationInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'enabled': value['enabled'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
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 ChangeUserPasswordInput
|
|
20
|
+
*/
|
|
21
|
+
export interface ChangeUserPasswordInput {
|
|
22
|
+
/**
|
|
23
|
+
* Current password of the user.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ChangeUserPasswordInput
|
|
26
|
+
*/
|
|
27
|
+
currentPassword: string;
|
|
28
|
+
/**
|
|
29
|
+
* New password (minimum 8 characters)
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ChangeUserPasswordInput
|
|
32
|
+
*/
|
|
33
|
+
newPassword: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the ChangeUserPasswordInput interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfChangeUserPasswordInput(value: object): value is ChangeUserPasswordInput {
|
|
40
|
+
if (!('currentPassword' in value) || value['currentPassword'] === undefined) return false;
|
|
41
|
+
if (!('newPassword' in value) || value['newPassword'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function ChangeUserPasswordInputFromJSON(json: any): ChangeUserPasswordInput {
|
|
46
|
+
return ChangeUserPasswordInputFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ChangeUserPasswordInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeUserPasswordInput {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'currentPassword': json['currentPassword'],
|
|
56
|
+
'newPassword': json['newPassword'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ChangeUserPasswordInputToJSON(json: any): ChangeUserPasswordInput {
|
|
61
|
+
return ChangeUserPasswordInputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ChangeUserPasswordInputToJSONTyped(value?: ChangeUserPasswordInput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'currentPassword': value['currentPassword'],
|
|
72
|
+
'newPassword': value['newPassword'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
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 { UserSignInFactor } from './UserSignInFactor';
|
|
17
|
+
import {
|
|
18
|
+
UserSignInFactorFromJSON,
|
|
19
|
+
UserSignInFactorFromJSONTyped,
|
|
20
|
+
UserSignInFactorToJSON,
|
|
21
|
+
UserSignInFactorToJSONTyped,
|
|
22
|
+
} from './UserSignInFactor';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ChangeUserSignInStepsInput
|
|
28
|
+
*/
|
|
29
|
+
export interface ChangeUserSignInStepsInput {
|
|
30
|
+
/**
|
|
31
|
+
* Steps to sign in with from now on, in order. Each step lists the factors the user can choose from; the authenticator app cannot be the first step, and no factor can be in two steps.
|
|
32
|
+
* @type {Array<Array<UserSignInFactor>>}
|
|
33
|
+
* @memberof ChangeUserSignInStepsInput
|
|
34
|
+
*/
|
|
35
|
+
steps: Array<Array<UserSignInFactor>>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ChangeUserSignInStepsInput interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfChangeUserSignInStepsInput(value: object): value is ChangeUserSignInStepsInput {
|
|
42
|
+
if (!('steps' in value) || value['steps'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function ChangeUserSignInStepsInputFromJSON(json: any): ChangeUserSignInStepsInput {
|
|
47
|
+
return ChangeUserSignInStepsInputFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function ChangeUserSignInStepsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeUserSignInStepsInput {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'steps': json['steps'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ChangeUserSignInStepsInputToJSON(json: any): ChangeUserSignInStepsInput {
|
|
61
|
+
return ChangeUserSignInStepsInputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ChangeUserSignInStepsInputToJSONTyped(value?: ChangeUserSignInStepsInput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'steps': value['steps'],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 ConfirmLoginLocationInput
|
|
20
|
+
*/
|
|
21
|
+
export interface ConfirmLoginLocationInput {
|
|
22
|
+
/**
|
|
23
|
+
* Secret of the link in the email.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ConfirmLoginLocationInput
|
|
26
|
+
*/
|
|
27
|
+
token: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ConfirmLoginLocationInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfConfirmLoginLocationInput(value: object): value is ConfirmLoginLocationInput {
|
|
34
|
+
if (!('token' in value) || value['token'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function ConfirmLoginLocationInputFromJSON(json: any): ConfirmLoginLocationInput {
|
|
39
|
+
return ConfirmLoginLocationInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function ConfirmLoginLocationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConfirmLoginLocationInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'token': json['token'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ConfirmLoginLocationInputToJSON(json: any): ConfirmLoginLocationInput {
|
|
53
|
+
return ConfirmLoginLocationInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ConfirmLoginLocationInputToJSONTyped(value?: ConfirmLoginLocationInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'token': value['token'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 CurrentPasswordInput
|
|
20
|
+
*/
|
|
21
|
+
export interface CurrentPasswordInput {
|
|
22
|
+
/**
|
|
23
|
+
* Current password of the user.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CurrentPasswordInput
|
|
26
|
+
*/
|
|
27
|
+
currentPassword: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the CurrentPasswordInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfCurrentPasswordInput(value: object): value is CurrentPasswordInput {
|
|
34
|
+
if (!('currentPassword' in value) || value['currentPassword'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function CurrentPasswordInputFromJSON(json: any): CurrentPasswordInput {
|
|
39
|
+
return CurrentPasswordInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function CurrentPasswordInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CurrentPasswordInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'currentPassword': json['currentPassword'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function CurrentPasswordInputToJSON(json: any): CurrentPasswordInput {
|
|
53
|
+
return CurrentPasswordInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function CurrentPasswordInputToJSONTyped(value?: CurrentPasswordInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'currentPassword': value['currentPassword'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -100,7 +100,8 @@ export const FeatureFlagListItemDtoNameEnum = {
|
|
|
100
100
|
LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
|
|
101
101
|
DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
|
|
102
102
|
DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
|
|
103
|
-
BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK'
|
|
103
|
+
BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
|
|
104
|
+
MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF'
|
|
104
105
|
} as const;
|
|
105
106
|
export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
|
|
106
107
|
|
package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
CHANGED
|
@@ -186,7 +186,8 @@ export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatur
|
|
|
186
186
|
LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
|
|
187
187
|
DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
|
|
188
188
|
DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
|
|
189
|
-
BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK'
|
|
189
|
+
BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
|
|
190
|
+
MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF'
|
|
190
191
|
} as const;
|
|
191
192
|
export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
|
|
192
193
|
|