@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,51 @@
|
|
|
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.instanceOfActivateUserTotpInput = instanceOfActivateUserTotpInput;
|
|
17
|
+
exports.ActivateUserTotpInputFromJSON = ActivateUserTotpInputFromJSON;
|
|
18
|
+
exports.ActivateUserTotpInputFromJSONTyped = ActivateUserTotpInputFromJSONTyped;
|
|
19
|
+
exports.ActivateUserTotpInputToJSON = ActivateUserTotpInputToJSON;
|
|
20
|
+
exports.ActivateUserTotpInputToJSONTyped = ActivateUserTotpInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ActivateUserTotpInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfActivateUserTotpInput(value) {
|
|
25
|
+
if (!('code' in value) || value['code'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ActivateUserTotpInputFromJSON(json) {
|
|
30
|
+
return ActivateUserTotpInputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ActivateUserTotpInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'code': json['code'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ActivateUserTotpInputToJSON(json) {
|
|
41
|
+
return ActivateUserTotpInputToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ActivateUserTotpInputToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'code': value['code'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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 { UserSignInFactor } from './UserSignInFactor';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AdminUserSecurityDto
|
|
17
|
+
*/
|
|
18
|
+
export interface AdminUserSecurityDto {
|
|
19
|
+
/**
|
|
20
|
+
* User ID.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AdminUserSecurityDto
|
|
23
|
+
*/
|
|
24
|
+
userId: string;
|
|
25
|
+
/**
|
|
26
|
+
* User email.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AdminUserSecurityDto
|
|
29
|
+
*/
|
|
30
|
+
email: string;
|
|
31
|
+
/**
|
|
32
|
+
* User full name.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof AdminUserSecurityDto
|
|
35
|
+
*/
|
|
36
|
+
name: string;
|
|
37
|
+
/**
|
|
38
|
+
* Roles of the user.
|
|
39
|
+
* @type {Array<string>}
|
|
40
|
+
* @memberof AdminUserSecurityDto
|
|
41
|
+
*/
|
|
42
|
+
roles: Array<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Whether the user has a staff role, which requires a second factor or a passkey.
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof AdminUserSecurityDto
|
|
47
|
+
*/
|
|
48
|
+
isStaff: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Steps the user signs in with, in order; each step lists the factors to choose from.
|
|
51
|
+
* @type {Array<Array<UserSignInFactor>>}
|
|
52
|
+
* @memberof AdminUserSecurityDto
|
|
53
|
+
*/
|
|
54
|
+
signInSteps: Array<Array<UserSignInFactor>>;
|
|
55
|
+
/**
|
|
56
|
+
* Whether an authenticator app is set up.
|
|
57
|
+
* @type {boolean}
|
|
58
|
+
* @memberof AdminUserSecurityDto
|
|
59
|
+
*/
|
|
60
|
+
totpEnabled: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Number of passkeys.
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof AdminUserSecurityDto
|
|
65
|
+
*/
|
|
66
|
+
passkeys: number;
|
|
67
|
+
/**
|
|
68
|
+
* Whether a sign-in from a new network has to be confirmed by email.
|
|
69
|
+
* @type {boolean}
|
|
70
|
+
* @memberof AdminUserSecurityDto
|
|
71
|
+
*/
|
|
72
|
+
loginLocationVerificationEnabled: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Last successful sign-in.
|
|
75
|
+
* @type {Date}
|
|
76
|
+
* @memberof AdminUserSecurityDto
|
|
77
|
+
*/
|
|
78
|
+
lastLoginAt: Date | null;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Check if a given object implements the AdminUserSecurityDto interface.
|
|
82
|
+
*/
|
|
83
|
+
export declare function instanceOfAdminUserSecurityDto(value: object): value is AdminUserSecurityDto;
|
|
84
|
+
export declare function AdminUserSecurityDtoFromJSON(json: any): AdminUserSecurityDto;
|
|
85
|
+
export declare function AdminUserSecurityDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminUserSecurityDto;
|
|
86
|
+
export declare function AdminUserSecurityDtoToJSON(json: any): AdminUserSecurityDto;
|
|
87
|
+
export declare function AdminUserSecurityDtoToJSONTyped(value?: AdminUserSecurityDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,87 @@
|
|
|
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.instanceOfAdminUserSecurityDto = instanceOfAdminUserSecurityDto;
|
|
17
|
+
exports.AdminUserSecurityDtoFromJSON = AdminUserSecurityDtoFromJSON;
|
|
18
|
+
exports.AdminUserSecurityDtoFromJSONTyped = AdminUserSecurityDtoFromJSONTyped;
|
|
19
|
+
exports.AdminUserSecurityDtoToJSON = AdminUserSecurityDtoToJSON;
|
|
20
|
+
exports.AdminUserSecurityDtoToJSONTyped = AdminUserSecurityDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AdminUserSecurityDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAdminUserSecurityDto(value) {
|
|
25
|
+
if (!('userId' in value) || value['userId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('roles' in value) || value['roles'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('isStaff' in value) || value['isStaff'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('signInSteps' in value) || value['signInSteps'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('totpEnabled' in value) || value['totpEnabled'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('passkeys' in value) || value['passkeys'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('loginLocationVerificationEnabled' in value) || value['loginLocationVerificationEnabled'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('lastLoginAt' in value) || value['lastLoginAt'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
function AdminUserSecurityDtoFromJSON(json) {
|
|
48
|
+
return AdminUserSecurityDtoFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function AdminUserSecurityDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'userId': json['userId'],
|
|
56
|
+
'email': json['email'],
|
|
57
|
+
'name': json['name'],
|
|
58
|
+
'roles': json['roles'],
|
|
59
|
+
'isStaff': json['isStaff'],
|
|
60
|
+
'signInSteps': json['signInSteps'],
|
|
61
|
+
'totpEnabled': json['totpEnabled'],
|
|
62
|
+
'passkeys': json['passkeys'],
|
|
63
|
+
'loginLocationVerificationEnabled': json['loginLocationVerificationEnabled'],
|
|
64
|
+
'lastLoginAt': (json['lastLoginAt'] == null ? null : new Date(json['lastLoginAt'])),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
function AdminUserSecurityDtoToJSON(json) {
|
|
68
|
+
return AdminUserSecurityDtoToJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
function AdminUserSecurityDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
71
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
'userId': value['userId'],
|
|
77
|
+
'email': value['email'],
|
|
78
|
+
'name': value['name'],
|
|
79
|
+
'roles': value['roles'],
|
|
80
|
+
'isStaff': value['isStaff'],
|
|
81
|
+
'signInSteps': value['signInSteps'],
|
|
82
|
+
'totpEnabled': value['totpEnabled'],
|
|
83
|
+
'passkeys': value['passkeys'],
|
|
84
|
+
'loginLocationVerificationEnabled': value['loginLocationVerificationEnabled'],
|
|
85
|
+
'lastLoginAt': (value['lastLoginAt'] == null ? null : value['lastLoginAt'].toISOString()),
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 BuyerLoginDto
|
|
16
|
+
*/
|
|
17
|
+
export interface BuyerLoginDto {
|
|
18
|
+
/**
|
|
19
|
+
* JWT authentication token.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BuyerLoginDto
|
|
22
|
+
*/
|
|
23
|
+
token: string;
|
|
24
|
+
/**
|
|
25
|
+
* User locale (BCP 47).
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BuyerLoginDto
|
|
28
|
+
*/
|
|
29
|
+
locale: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the BuyerLoginDto interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfBuyerLoginDto(value: object): value is BuyerLoginDto;
|
|
35
|
+
export declare function BuyerLoginDtoFromJSON(json: any): BuyerLoginDto;
|
|
36
|
+
export declare function BuyerLoginDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerLoginDto;
|
|
37
|
+
export declare function BuyerLoginDtoToJSON(json: any): BuyerLoginDto;
|
|
38
|
+
export declare function BuyerLoginDtoToJSONTyped(value?: BuyerLoginDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfBuyerLoginDto = instanceOfBuyerLoginDto;
|
|
17
|
+
exports.BuyerLoginDtoFromJSON = BuyerLoginDtoFromJSON;
|
|
18
|
+
exports.BuyerLoginDtoFromJSONTyped = BuyerLoginDtoFromJSONTyped;
|
|
19
|
+
exports.BuyerLoginDtoToJSON = BuyerLoginDtoToJSON;
|
|
20
|
+
exports.BuyerLoginDtoToJSONTyped = BuyerLoginDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BuyerLoginDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfBuyerLoginDto(value) {
|
|
25
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('locale' in value) || value['locale'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function BuyerLoginDtoFromJSON(json) {
|
|
32
|
+
return BuyerLoginDtoFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function BuyerLoginDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'token': json['token'],
|
|
40
|
+
'locale': json['locale'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function BuyerLoginDtoToJSON(json) {
|
|
44
|
+
return BuyerLoginDtoToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function BuyerLoginDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'token': value['token'],
|
|
53
|
+
'locale': value['locale'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -117,6 +117,7 @@ export declare const BuyerNotificationDtoTypeEnum: {
|
|
|
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.BuyerNotificationDtoTypeEnum = {
|
|
|
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 BuyerNotificationListItemDtoTypeEnum: {
|
|
|
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.BuyerNotificationListItemDtoTypeEnum = {
|
|
|
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,32 @@
|
|
|
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 ChangeUserLoginLocationVerificationInput
|
|
16
|
+
*/
|
|
17
|
+
export interface ChangeUserLoginLocationVerificationInput {
|
|
18
|
+
/**
|
|
19
|
+
* Whether a sign-in from a new network has to be confirmed by email.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ChangeUserLoginLocationVerificationInput
|
|
22
|
+
*/
|
|
23
|
+
enabled: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ChangeUserLoginLocationVerificationInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfChangeUserLoginLocationVerificationInput(value: object): value is ChangeUserLoginLocationVerificationInput;
|
|
29
|
+
export declare function ChangeUserLoginLocationVerificationInputFromJSON(json: any): ChangeUserLoginLocationVerificationInput;
|
|
30
|
+
export declare function ChangeUserLoginLocationVerificationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeUserLoginLocationVerificationInput;
|
|
31
|
+
export declare function ChangeUserLoginLocationVerificationInputToJSON(json: any): ChangeUserLoginLocationVerificationInput;
|
|
32
|
+
export declare function ChangeUserLoginLocationVerificationInputToJSONTyped(value?: ChangeUserLoginLocationVerificationInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfChangeUserLoginLocationVerificationInput = instanceOfChangeUserLoginLocationVerificationInput;
|
|
17
|
+
exports.ChangeUserLoginLocationVerificationInputFromJSON = ChangeUserLoginLocationVerificationInputFromJSON;
|
|
18
|
+
exports.ChangeUserLoginLocationVerificationInputFromJSONTyped = ChangeUserLoginLocationVerificationInputFromJSONTyped;
|
|
19
|
+
exports.ChangeUserLoginLocationVerificationInputToJSON = ChangeUserLoginLocationVerificationInputToJSON;
|
|
20
|
+
exports.ChangeUserLoginLocationVerificationInputToJSONTyped = ChangeUserLoginLocationVerificationInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ChangeUserLoginLocationVerificationInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfChangeUserLoginLocationVerificationInput(value) {
|
|
25
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ChangeUserLoginLocationVerificationInputFromJSON(json) {
|
|
30
|
+
return ChangeUserLoginLocationVerificationInputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ChangeUserLoginLocationVerificationInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'enabled': json['enabled'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ChangeUserLoginLocationVerificationInputToJSON(json) {
|
|
41
|
+
return ChangeUserLoginLocationVerificationInputToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ChangeUserLoginLocationVerificationInputToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'enabled': value['enabled'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 ChangeUserPasswordInput
|
|
16
|
+
*/
|
|
17
|
+
export interface ChangeUserPasswordInput {
|
|
18
|
+
/**
|
|
19
|
+
* Current password of the user.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ChangeUserPasswordInput
|
|
22
|
+
*/
|
|
23
|
+
currentPassword: string;
|
|
24
|
+
/**
|
|
25
|
+
* New password (minimum 8 characters)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ChangeUserPasswordInput
|
|
28
|
+
*/
|
|
29
|
+
newPassword: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ChangeUserPasswordInput interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfChangeUserPasswordInput(value: object): value is ChangeUserPasswordInput;
|
|
35
|
+
export declare function ChangeUserPasswordInputFromJSON(json: any): ChangeUserPasswordInput;
|
|
36
|
+
export declare function ChangeUserPasswordInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeUserPasswordInput;
|
|
37
|
+
export declare function ChangeUserPasswordInputToJSON(json: any): ChangeUserPasswordInput;
|
|
38
|
+
export declare function ChangeUserPasswordInputToJSONTyped(value?: ChangeUserPasswordInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfChangeUserPasswordInput = instanceOfChangeUserPasswordInput;
|
|
17
|
+
exports.ChangeUserPasswordInputFromJSON = ChangeUserPasswordInputFromJSON;
|
|
18
|
+
exports.ChangeUserPasswordInputFromJSONTyped = ChangeUserPasswordInputFromJSONTyped;
|
|
19
|
+
exports.ChangeUserPasswordInputToJSON = ChangeUserPasswordInputToJSON;
|
|
20
|
+
exports.ChangeUserPasswordInputToJSONTyped = ChangeUserPasswordInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ChangeUserPasswordInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfChangeUserPasswordInput(value) {
|
|
25
|
+
if (!('currentPassword' in value) || value['currentPassword'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('newPassword' in value) || value['newPassword'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ChangeUserPasswordInputFromJSON(json) {
|
|
32
|
+
return ChangeUserPasswordInputFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ChangeUserPasswordInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'currentPassword': json['currentPassword'],
|
|
40
|
+
'newPassword': json['newPassword'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ChangeUserPasswordInputToJSON(json) {
|
|
44
|
+
return ChangeUserPasswordInputToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ChangeUserPasswordInputToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'currentPassword': value['currentPassword'],
|
|
53
|
+
'newPassword': value['newPassword'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { UserSignInFactor } from './UserSignInFactor';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ChangeUserSignInStepsInput
|
|
17
|
+
*/
|
|
18
|
+
export interface ChangeUserSignInStepsInput {
|
|
19
|
+
/**
|
|
20
|
+
* 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.
|
|
21
|
+
* @type {Array<Array<UserSignInFactor>>}
|
|
22
|
+
* @memberof ChangeUserSignInStepsInput
|
|
23
|
+
*/
|
|
24
|
+
steps: Array<Array<UserSignInFactor>>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ChangeUserSignInStepsInput interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfChangeUserSignInStepsInput(value: object): value is ChangeUserSignInStepsInput;
|
|
30
|
+
export declare function ChangeUserSignInStepsInputFromJSON(json: any): ChangeUserSignInStepsInput;
|
|
31
|
+
export declare function ChangeUserSignInStepsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeUserSignInStepsInput;
|
|
32
|
+
export declare function ChangeUserSignInStepsInputToJSON(json: any): ChangeUserSignInStepsInput;
|
|
33
|
+
export declare function ChangeUserSignInStepsInputToJSONTyped(value?: ChangeUserSignInStepsInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfChangeUserSignInStepsInput = instanceOfChangeUserSignInStepsInput;
|
|
17
|
+
exports.ChangeUserSignInStepsInputFromJSON = ChangeUserSignInStepsInputFromJSON;
|
|
18
|
+
exports.ChangeUserSignInStepsInputFromJSONTyped = ChangeUserSignInStepsInputFromJSONTyped;
|
|
19
|
+
exports.ChangeUserSignInStepsInputToJSON = ChangeUserSignInStepsInputToJSON;
|
|
20
|
+
exports.ChangeUserSignInStepsInputToJSONTyped = ChangeUserSignInStepsInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ChangeUserSignInStepsInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfChangeUserSignInStepsInput(value) {
|
|
25
|
+
if (!('steps' in value) || value['steps'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ChangeUserSignInStepsInputFromJSON(json) {
|
|
30
|
+
return ChangeUserSignInStepsInputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ChangeUserSignInStepsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'steps': json['steps'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ChangeUserSignInStepsInputToJSON(json) {
|
|
41
|
+
return ChangeUserSignInStepsInputToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ChangeUserSignInStepsInputToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'steps': value['steps'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ConfirmLoginLocationInput
|
|
16
|
+
*/
|
|
17
|
+
export interface ConfirmLoginLocationInput {
|
|
18
|
+
/**
|
|
19
|
+
* Secret of the link in the email.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ConfirmLoginLocationInput
|
|
22
|
+
*/
|
|
23
|
+
token: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ConfirmLoginLocationInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfConfirmLoginLocationInput(value: object): value is ConfirmLoginLocationInput;
|
|
29
|
+
export declare function ConfirmLoginLocationInputFromJSON(json: any): ConfirmLoginLocationInput;
|
|
30
|
+
export declare function ConfirmLoginLocationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConfirmLoginLocationInput;
|
|
31
|
+
export declare function ConfirmLoginLocationInputToJSON(json: any): ConfirmLoginLocationInput;
|
|
32
|
+
export declare function ConfirmLoginLocationInputToJSONTyped(value?: ConfirmLoginLocationInput | null, ignoreDiscriminator?: boolean): any;
|