@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,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfTotpEnrolmentDto = instanceOfTotpEnrolmentDto;
|
|
17
|
+
exports.TotpEnrolmentDtoFromJSON = TotpEnrolmentDtoFromJSON;
|
|
18
|
+
exports.TotpEnrolmentDtoFromJSONTyped = TotpEnrolmentDtoFromJSONTyped;
|
|
19
|
+
exports.TotpEnrolmentDtoToJSON = TotpEnrolmentDtoToJSON;
|
|
20
|
+
exports.TotpEnrolmentDtoToJSONTyped = TotpEnrolmentDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the TotpEnrolmentDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfTotpEnrolmentDto(value) {
|
|
25
|
+
if (!('otpauthUrl' in value) || value['otpauthUrl'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('secret' in value) || value['secret'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function TotpEnrolmentDtoFromJSON(json) {
|
|
32
|
+
return TotpEnrolmentDtoFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function TotpEnrolmentDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'otpauthUrl': json['otpauthUrl'],
|
|
40
|
+
'secret': json['secret'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function TotpEnrolmentDtoToJSON(json) {
|
|
44
|
+
return TotpEnrolmentDtoToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function TotpEnrolmentDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'otpauthUrl': value['otpauthUrl'],
|
|
53
|
+
'secret': value['secret'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
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
|
+
import type { UserLoginAttemptMethod } from './UserLoginAttemptMethod';
|
|
13
|
+
import type { UserLoginAttemptResult } from './UserLoginAttemptResult';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface UserLoginAttemptDto
|
|
18
|
+
*/
|
|
19
|
+
export interface UserLoginAttemptDto {
|
|
20
|
+
/**
|
|
21
|
+
* Attempt ID.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof UserLoginAttemptDto
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* Outcome of the step.
|
|
28
|
+
* @type {UserLoginAttemptResult}
|
|
29
|
+
* @memberof UserLoginAttemptDto
|
|
30
|
+
*/
|
|
31
|
+
result: UserLoginAttemptResult;
|
|
32
|
+
/**
|
|
33
|
+
* What the user signed in with in this step.
|
|
34
|
+
* @type {UserLoginAttemptMethod}
|
|
35
|
+
* @memberof UserLoginAttemptDto
|
|
36
|
+
*/
|
|
37
|
+
method: UserLoginAttemptMethod;
|
|
38
|
+
/**
|
|
39
|
+
* IP address.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof UserLoginAttemptDto
|
|
42
|
+
*/
|
|
43
|
+
ip: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Autonomous system number of the network.
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof UserLoginAttemptDto
|
|
48
|
+
*/
|
|
49
|
+
asn: number | null;
|
|
50
|
+
/**
|
|
51
|
+
* Operator of the network.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof UserLoginAttemptDto
|
|
54
|
+
*/
|
|
55
|
+
asnOrganization: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* ISO 3166-1 alpha-2 country of the IP address.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof UserLoginAttemptDto
|
|
60
|
+
*/
|
|
61
|
+
country: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* Browser.
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof UserLoginAttemptDto
|
|
66
|
+
*/
|
|
67
|
+
userAgent: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* Whether a staff member signed in as the user.
|
|
70
|
+
* @type {boolean}
|
|
71
|
+
* @memberof UserLoginAttemptDto
|
|
72
|
+
*/
|
|
73
|
+
impersonated: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* When it happened.
|
|
76
|
+
* @type {Date}
|
|
77
|
+
* @memberof UserLoginAttemptDto
|
|
78
|
+
*/
|
|
79
|
+
createdAt: Date;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Check if a given object implements the UserLoginAttemptDto interface.
|
|
83
|
+
*/
|
|
84
|
+
export declare function instanceOfUserLoginAttemptDto(value: object): value is UserLoginAttemptDto;
|
|
85
|
+
export declare function UserLoginAttemptDtoFromJSON(json: any): UserLoginAttemptDto;
|
|
86
|
+
export declare function UserLoginAttemptDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLoginAttemptDto;
|
|
87
|
+
export declare function UserLoginAttemptDtoToJSON(json: any): UserLoginAttemptDto;
|
|
88
|
+
export declare function UserLoginAttemptDtoToJSONTyped(value?: UserLoginAttemptDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUserLoginAttemptDto = instanceOfUserLoginAttemptDto;
|
|
17
|
+
exports.UserLoginAttemptDtoFromJSON = UserLoginAttemptDtoFromJSON;
|
|
18
|
+
exports.UserLoginAttemptDtoFromJSONTyped = UserLoginAttemptDtoFromJSONTyped;
|
|
19
|
+
exports.UserLoginAttemptDtoToJSON = UserLoginAttemptDtoToJSON;
|
|
20
|
+
exports.UserLoginAttemptDtoToJSONTyped = UserLoginAttemptDtoToJSONTyped;
|
|
21
|
+
var UserLoginAttemptMethod_1 = require("./UserLoginAttemptMethod");
|
|
22
|
+
var UserLoginAttemptResult_1 = require("./UserLoginAttemptResult");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the UserLoginAttemptDto interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfUserLoginAttemptDto(value) {
|
|
27
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('result' in value) || value['result'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('method' in value) || value['method'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('ip' in value) || value['ip'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('asn' in value) || value['asn'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('asnOrganization' in value) || value['asnOrganization'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('country' in value) || value['country'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('userAgent' in value) || value['userAgent'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('impersonated' in value) || value['impersonated'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
49
|
+
function UserLoginAttemptDtoFromJSON(json) {
|
|
50
|
+
return UserLoginAttemptDtoFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function UserLoginAttemptDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
53
|
+
if (json == null) {
|
|
54
|
+
return json;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'id': json['id'],
|
|
58
|
+
'result': (0, UserLoginAttemptResult_1.UserLoginAttemptResultFromJSON)(json['result']),
|
|
59
|
+
'method': (0, UserLoginAttemptMethod_1.UserLoginAttemptMethodFromJSON)(json['method']),
|
|
60
|
+
'ip': json['ip'],
|
|
61
|
+
'asn': json['asn'],
|
|
62
|
+
'asnOrganization': json['asnOrganization'],
|
|
63
|
+
'country': json['country'],
|
|
64
|
+
'userAgent': json['userAgent'],
|
|
65
|
+
'impersonated': json['impersonated'],
|
|
66
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
function UserLoginAttemptDtoToJSON(json) {
|
|
70
|
+
return UserLoginAttemptDtoToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
function UserLoginAttemptDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
73
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
'id': value['id'],
|
|
79
|
+
'result': (0, UserLoginAttemptResult_1.UserLoginAttemptResultToJSON)(value['result']),
|
|
80
|
+
'method': (0, UserLoginAttemptMethod_1.UserLoginAttemptMethodToJSON)(value['method']),
|
|
81
|
+
'ip': value['ip'],
|
|
82
|
+
'asn': value['asn'],
|
|
83
|
+
'asnOrganization': value['asnOrganization'],
|
|
84
|
+
'country': value['country'],
|
|
85
|
+
'userAgent': value['userAgent'],
|
|
86
|
+
'impersonated': value['impersonated'],
|
|
87
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
* What the user signed in with in this step.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const UserLoginAttemptMethod: {
|
|
17
|
+
readonly PASSWORD: "password";
|
|
18
|
+
readonly PASSKEY: "passkey";
|
|
19
|
+
readonly TOTP: "totp";
|
|
20
|
+
readonly RECOVERY_CODE: "recovery_code";
|
|
21
|
+
readonly LOCATION_CONFIRMATION: "location_confirmation";
|
|
22
|
+
readonly IMPERSONATION: "impersonation";
|
|
23
|
+
};
|
|
24
|
+
export type UserLoginAttemptMethod = typeof UserLoginAttemptMethod[keyof typeof UserLoginAttemptMethod];
|
|
25
|
+
export declare function instanceOfUserLoginAttemptMethod(value: any): boolean;
|
|
26
|
+
export declare function UserLoginAttemptMethodFromJSON(json: any): UserLoginAttemptMethod;
|
|
27
|
+
export declare function UserLoginAttemptMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLoginAttemptMethod;
|
|
28
|
+
export declare function UserLoginAttemptMethodToJSON(value?: UserLoginAttemptMethod | null): any;
|
|
29
|
+
export declare function UserLoginAttemptMethodToJSONTyped(value: any, ignoreDiscriminator: boolean): UserLoginAttemptMethod;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UserLoginAttemptMethod = void 0;
|
|
17
|
+
exports.instanceOfUserLoginAttemptMethod = instanceOfUserLoginAttemptMethod;
|
|
18
|
+
exports.UserLoginAttemptMethodFromJSON = UserLoginAttemptMethodFromJSON;
|
|
19
|
+
exports.UserLoginAttemptMethodFromJSONTyped = UserLoginAttemptMethodFromJSONTyped;
|
|
20
|
+
exports.UserLoginAttemptMethodToJSON = UserLoginAttemptMethodToJSON;
|
|
21
|
+
exports.UserLoginAttemptMethodToJSONTyped = UserLoginAttemptMethodToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* What the user signed in with in this step.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.UserLoginAttemptMethod = {
|
|
27
|
+
PASSWORD: 'password',
|
|
28
|
+
PASSKEY: 'passkey',
|
|
29
|
+
TOTP: 'totp',
|
|
30
|
+
RECOVERY_CODE: 'recovery_code',
|
|
31
|
+
LOCATION_CONFIRMATION: 'location_confirmation',
|
|
32
|
+
IMPERSONATION: 'impersonation'
|
|
33
|
+
};
|
|
34
|
+
function instanceOfUserLoginAttemptMethod(value) {
|
|
35
|
+
for (var key in exports.UserLoginAttemptMethod) {
|
|
36
|
+
if (Object.prototype.hasOwnProperty.call(exports.UserLoginAttemptMethod, key)) {
|
|
37
|
+
if (exports.UserLoginAttemptMethod[key] === value) {
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
function UserLoginAttemptMethodFromJSON(json) {
|
|
45
|
+
return UserLoginAttemptMethodFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function UserLoginAttemptMethodFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
function UserLoginAttemptMethodToJSON(value) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
function UserLoginAttemptMethodToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
* Outcome of the step.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const UserLoginAttemptResult: {
|
|
17
|
+
readonly SUCCESS: "success";
|
|
18
|
+
readonly INVALID_CREDENTIALS: "invalid_credentials";
|
|
19
|
+
readonly SECOND_FACTOR_REQUIRED: "second_factor_required";
|
|
20
|
+
readonly SECOND_FACTOR_FAILED: "second_factor_failed";
|
|
21
|
+
readonly SECOND_FACTOR_LOCKED: "second_factor_locked";
|
|
22
|
+
readonly PASSWORD_LOGIN_DISABLED: "password_login_disabled";
|
|
23
|
+
readonly PASSKEY_LOGIN_DISABLED: "passkey_login_disabled";
|
|
24
|
+
readonly LOCATION_CONFIRMATION_REQUIRED: "location_confirmation_required";
|
|
25
|
+
};
|
|
26
|
+
export type UserLoginAttemptResult = typeof UserLoginAttemptResult[keyof typeof UserLoginAttemptResult];
|
|
27
|
+
export declare function instanceOfUserLoginAttemptResult(value: any): boolean;
|
|
28
|
+
export declare function UserLoginAttemptResultFromJSON(json: any): UserLoginAttemptResult;
|
|
29
|
+
export declare function UserLoginAttemptResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLoginAttemptResult;
|
|
30
|
+
export declare function UserLoginAttemptResultToJSON(value?: UserLoginAttemptResult | null): any;
|
|
31
|
+
export declare function UserLoginAttemptResultToJSONTyped(value: any, ignoreDiscriminator: boolean): UserLoginAttemptResult;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UserLoginAttemptResult = void 0;
|
|
17
|
+
exports.instanceOfUserLoginAttemptResult = instanceOfUserLoginAttemptResult;
|
|
18
|
+
exports.UserLoginAttemptResultFromJSON = UserLoginAttemptResultFromJSON;
|
|
19
|
+
exports.UserLoginAttemptResultFromJSONTyped = UserLoginAttemptResultFromJSONTyped;
|
|
20
|
+
exports.UserLoginAttemptResultToJSON = UserLoginAttemptResultToJSON;
|
|
21
|
+
exports.UserLoginAttemptResultToJSONTyped = UserLoginAttemptResultToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Outcome of the step.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.UserLoginAttemptResult = {
|
|
27
|
+
SUCCESS: 'success',
|
|
28
|
+
INVALID_CREDENTIALS: 'invalid_credentials',
|
|
29
|
+
SECOND_FACTOR_REQUIRED: 'second_factor_required',
|
|
30
|
+
SECOND_FACTOR_FAILED: 'second_factor_failed',
|
|
31
|
+
SECOND_FACTOR_LOCKED: 'second_factor_locked',
|
|
32
|
+
PASSWORD_LOGIN_DISABLED: 'password_login_disabled',
|
|
33
|
+
PASSKEY_LOGIN_DISABLED: 'passkey_login_disabled',
|
|
34
|
+
LOCATION_CONFIRMATION_REQUIRED: 'location_confirmation_required'
|
|
35
|
+
};
|
|
36
|
+
function instanceOfUserLoginAttemptResult(value) {
|
|
37
|
+
for (var key in exports.UserLoginAttemptResult) {
|
|
38
|
+
if (Object.prototype.hasOwnProperty.call(exports.UserLoginAttemptResult, key)) {
|
|
39
|
+
if (exports.UserLoginAttemptResult[key] === value) {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return false;
|
|
45
|
+
}
|
|
46
|
+
function UserLoginAttemptResultFromJSON(json) {
|
|
47
|
+
return UserLoginAttemptResultFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function UserLoginAttemptResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
function UserLoginAttemptResultToJSON(value) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
function UserLoginAttemptResultToJSONTyped(value, ignoreDiscriminator) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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 UserLoginLocationConfirmationDetailsDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UserLoginLocationConfirmationDetailsDto {
|
|
18
|
+
/**
|
|
19
|
+
* Whether the sign-in is still waiting for it.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof UserLoginLocationConfirmationDetailsDto
|
|
22
|
+
*/
|
|
23
|
+
pending: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UserLoginLocationConfirmationDetailsDto
|
|
28
|
+
*/
|
|
29
|
+
ip: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Organization of the network (ASN).
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UserLoginLocationConfirmationDetailsDto
|
|
34
|
+
*/
|
|
35
|
+
network: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UserLoginLocationConfirmationDetailsDto
|
|
40
|
+
*/
|
|
41
|
+
country: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* User agent.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UserLoginLocationConfirmationDetailsDto
|
|
46
|
+
*/
|
|
47
|
+
device: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof UserLoginLocationConfirmationDetailsDto
|
|
52
|
+
*/
|
|
53
|
+
createdAt: Date;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the UserLoginLocationConfirmationDetailsDto interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfUserLoginLocationConfirmationDetailsDto(value: object): value is UserLoginLocationConfirmationDetailsDto;
|
|
59
|
+
export declare function UserLoginLocationConfirmationDetailsDtoFromJSON(json: any): UserLoginLocationConfirmationDetailsDto;
|
|
60
|
+
export declare function UserLoginLocationConfirmationDetailsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserLoginLocationConfirmationDetailsDto;
|
|
61
|
+
export declare function UserLoginLocationConfirmationDetailsDtoToJSON(json: any): UserLoginLocationConfirmationDetailsDto;
|
|
62
|
+
export declare function UserLoginLocationConfirmationDetailsDtoToJSONTyped(value?: UserLoginLocationConfirmationDetailsDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUserLoginLocationConfirmationDetailsDto = instanceOfUserLoginLocationConfirmationDetailsDto;
|
|
17
|
+
exports.UserLoginLocationConfirmationDetailsDtoFromJSON = UserLoginLocationConfirmationDetailsDtoFromJSON;
|
|
18
|
+
exports.UserLoginLocationConfirmationDetailsDtoFromJSONTyped = UserLoginLocationConfirmationDetailsDtoFromJSONTyped;
|
|
19
|
+
exports.UserLoginLocationConfirmationDetailsDtoToJSON = UserLoginLocationConfirmationDetailsDtoToJSON;
|
|
20
|
+
exports.UserLoginLocationConfirmationDetailsDtoToJSONTyped = UserLoginLocationConfirmationDetailsDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UserLoginLocationConfirmationDetailsDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUserLoginLocationConfirmationDetailsDto(value) {
|
|
25
|
+
if (!('pending' in value) || value['pending'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('ip' in value) || value['ip'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('network' in value) || value['network'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('country' in value) || value['country'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('device' in value) || value['device'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function UserLoginLocationConfirmationDetailsDtoFromJSON(json) {
|
|
40
|
+
return UserLoginLocationConfirmationDetailsDtoFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function UserLoginLocationConfirmationDetailsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'pending': json['pending'],
|
|
48
|
+
'ip': json['ip'],
|
|
49
|
+
'network': json['network'],
|
|
50
|
+
'country': json['country'],
|
|
51
|
+
'device': json['device'],
|
|
52
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function UserLoginLocationConfirmationDetailsDtoToJSON(json) {
|
|
56
|
+
return UserLoginLocationConfirmationDetailsDtoToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function UserLoginLocationConfirmationDetailsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
59
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'pending': value['pending'],
|
|
65
|
+
'ip': value['ip'],
|
|
66
|
+
'network': value['network'],
|
|
67
|
+
'country': value['country'],
|
|
68
|
+
'device': value['device'],
|
|
69
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -117,6 +117,7 @@ export declare const UserNotificationDtoTypeEnum: {
|
|
|
117
117
|
readonly RENT_SUBSCRIPTION_RENT_INDEXATION_APPLIED: "rent_subscription_rent_indexation_applied";
|
|
118
118
|
readonly PASSWORD_RESET: "password_reset";
|
|
119
119
|
readonly USER_EMAIL_CHANGED: "user_email_changed";
|
|
120
|
+
readonly USER_LOGIN_LOCATION_CONFIRMATION: "user_login_location_confirmation";
|
|
120
121
|
readonly USER_EMAIL_CHANGE_CONFIRMED: "user_email_change_confirmed";
|
|
121
122
|
readonly BUYER_INVOICE: "buyer_invoice";
|
|
122
123
|
readonly BUYER_RENT_INSTALLMENT_INVOICE: "buyer_rent_installment_invoice";
|
|
@@ -78,6 +78,7 @@ exports.UserNotificationDtoTypeEnum = {
|
|
|
78
78
|
RENT_SUBSCRIPTION_RENT_INDEXATION_APPLIED: 'rent_subscription_rent_indexation_applied',
|
|
79
79
|
PASSWORD_RESET: 'password_reset',
|
|
80
80
|
USER_EMAIL_CHANGED: 'user_email_changed',
|
|
81
|
+
USER_LOGIN_LOCATION_CONFIRMATION: 'user_login_location_confirmation',
|
|
81
82
|
USER_EMAIL_CHANGE_CONFIRMED: 'user_email_change_confirmed',
|
|
82
83
|
BUYER_INVOICE: 'buyer_invoice',
|
|
83
84
|
BUYER_RENT_INSTALLMENT_INVOICE: 'buyer_rent_installment_invoice',
|
|
@@ -110,6 +110,7 @@ export declare const UserNotificationListItemDtoTypeEnum: {
|
|
|
110
110
|
readonly RENT_SUBSCRIPTION_RENT_INDEXATION_APPLIED: "rent_subscription_rent_indexation_applied";
|
|
111
111
|
readonly PASSWORD_RESET: "password_reset";
|
|
112
112
|
readonly USER_EMAIL_CHANGED: "user_email_changed";
|
|
113
|
+
readonly USER_LOGIN_LOCATION_CONFIRMATION: "user_login_location_confirmation";
|
|
113
114
|
readonly USER_EMAIL_CHANGE_CONFIRMED: "user_email_change_confirmed";
|
|
114
115
|
readonly BUYER_INVOICE: "buyer_invoice";
|
|
115
116
|
readonly BUYER_RENT_INSTALLMENT_INVOICE: "buyer_rent_installment_invoice";
|
|
@@ -77,6 +77,7 @@ exports.UserNotificationListItemDtoTypeEnum = {
|
|
|
77
77
|
RENT_SUBSCRIPTION_RENT_INDEXATION_APPLIED: 'rent_subscription_rent_indexation_applied',
|
|
78
78
|
PASSWORD_RESET: 'password_reset',
|
|
79
79
|
USER_EMAIL_CHANGED: 'user_email_changed',
|
|
80
|
+
USER_LOGIN_LOCATION_CONFIRMATION: 'user_login_location_confirmation',
|
|
80
81
|
USER_EMAIL_CHANGE_CONFIRMED: 'user_email_change_confirmed',
|
|
81
82
|
BUYER_INVOICE: 'buyer_invoice',
|
|
82
83
|
BUYER_RENT_INSTALLMENT_INVOICE: 'buyer_rent_installment_invoice',
|
|
@@ -0,0 +1,62 @@
|
|
|
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 UserPasskeyDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UserPasskeyDto {
|
|
18
|
+
/**
|
|
19
|
+
* Passkey ID.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UserPasskeyDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Name the user gave the passkey.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UserPasskeyDto
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the passkey syncs across devices (multiDevice) or lives on one (singleDevice).
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UserPasskeyDto
|
|
34
|
+
*/
|
|
35
|
+
deviceType: string;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the passkey is backed up.
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof UserPasskeyDto
|
|
40
|
+
*/
|
|
41
|
+
backedUp: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* When the passkey was added.
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof UserPasskeyDto
|
|
46
|
+
*/
|
|
47
|
+
createdAt: Date;
|
|
48
|
+
/**
|
|
49
|
+
* When the passkey was last used to sign in.
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof UserPasskeyDto
|
|
52
|
+
*/
|
|
53
|
+
lastUsedAt: Date | null;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the UserPasskeyDto interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfUserPasskeyDto(value: object): value is UserPasskeyDto;
|
|
59
|
+
export declare function UserPasskeyDtoFromJSON(json: any): UserPasskeyDto;
|
|
60
|
+
export declare function UserPasskeyDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserPasskeyDto;
|
|
61
|
+
export declare function UserPasskeyDtoToJSON(json: any): UserPasskeyDto;
|
|
62
|
+
export declare function UserPasskeyDtoToJSONTyped(value?: UserPasskeyDto | null, ignoreDiscriminator?: boolean): any;
|