@randock/nameshift-api-client 0.0.502 → 0.0.504
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +35 -1
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +44 -1
- package/dist/apis/AdminApi.js +177 -0
- package/dist/apis/BuyersPublicApi.d.ts +3 -3
- package/dist/apis/BuyersPublicApi.js +1 -1
- package/dist/apis/PartnerApi.d.ts +14 -1
- package/dist/apis/PartnerApi.js +53 -0
- package/dist/apis/UsersApi.d.ts +285 -1
- package/dist/apis/UsersApi.js +1305 -46
- package/dist/apis/UsersPublicApi.d.ts +107 -3
- package/dist/apis/UsersPublicApi.js +388 -2
- package/dist/models/ActivateUserTotpInput.d.ts +32 -0
- package/dist/models/ActivateUserTotpInput.js +51 -0
- package/dist/models/AdminUserSecurityDto.d.ts +87 -0
- package/dist/models/AdminUserSecurityDto.js +88 -0
- package/dist/models/BuyerLoginDto.d.ts +38 -0
- package/dist/models/BuyerLoginDto.js +55 -0
- package/dist/models/BuyerNotificationDto.d.ts +1 -0
- package/dist/models/BuyerNotificationDto.js +1 -0
- package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
- package/dist/models/BuyerNotificationListItemDto.js +1 -0
- package/dist/models/ChangeUserAuthenticationMethodInput.d.ts +33 -0
- package/dist/models/ChangeUserAuthenticationMethodInput.js +52 -0
- package/dist/models/ChangeUserLoginLocationVerificationInput.d.ts +32 -0
- package/dist/models/ChangeUserLoginLocationVerificationInput.js +51 -0
- package/dist/models/ChangeUserPasswordInput.d.ts +38 -0
- package/dist/models/ChangeUserPasswordInput.js +55 -0
- package/dist/models/ConfirmLoginLocationInput.d.ts +32 -0
- package/dist/models/ConfirmLoginLocationInput.js +51 -0
- package/dist/models/CurrentPasswordInput.d.ts +32 -0
- package/dist/models/CurrentPasswordInput.js +51 -0
- package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
- package/dist/models/FeatureFlagListItemDto.js +2 -1
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/ListUserLoginAttempts200Response.d.ts +47 -0
- package/dist/models/ListUserLoginAttempts200Response.js +62 -0
- package/dist/models/LoginChallengeInput.d.ts +32 -0
- package/dist/models/LoginChallengeInput.js +51 -0
- package/dist/models/LoginCodeInput.d.ts +38 -0
- package/dist/models/LoginCodeInput.js +55 -0
- package/dist/models/LoginDto.d.ts +30 -4
- package/dist/models/LoginDto.js +13 -5
- package/dist/models/LoginPasskeyInput.d.ts +46 -0
- package/dist/models/LoginPasskeyInput.js +57 -0
- package/dist/models/LoginPasskeyOptionsInput.d.ts +32 -0
- package/dist/models/LoginPasskeyOptionsInput.js +49 -0
- package/dist/models/LoginRecoveryCodeInput.d.ts +38 -0
- package/dist/models/LoginRecoveryCodeInput.js +55 -0
- package/dist/models/LoginStatus.d.ts +26 -0
- package/dist/models/LoginStatus.js +52 -0
- package/dist/models/PartnerDomainSeoMetricsDto.d.ts +40 -0
- package/dist/models/PartnerDomainSeoMetricsDto.js +57 -0
- package/dist/models/PartnerMajesticMetricsDto.d.ts +56 -0
- package/dist/models/PartnerMajesticMetricsDto.js +67 -0
- package/dist/models/PartnerMozMetricsDto.d.ts +62 -0
- package/dist/models/PartnerMozMetricsDto.js +71 -0
- package/dist/models/PasskeyOptionsDto.d.ts +40 -0
- package/dist/models/PasskeyOptionsDto.js +55 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/ReauthenticateWithPasskeyInput.d.ts +40 -0
- package/dist/models/ReauthenticateWithPasskeyInput.js +55 -0
- package/dist/models/ReauthenticationDto.d.ts +38 -0
- package/dist/models/ReauthenticationDto.js +55 -0
- package/dist/models/RecoveryCodesDto.d.ts +32 -0
- package/dist/models/RecoveryCodesDto.js +51 -0
- package/dist/models/RegisterUserPasskeyInput.d.ts +46 -0
- package/dist/models/RegisterUserPasskeyInput.js +59 -0
- package/dist/models/RemoveUserPasskeyInput.d.ts +40 -0
- package/dist/models/RemoveUserPasskeyInput.js +55 -0
- package/dist/models/RenameUserPasskeyInput.d.ts +32 -0
- package/dist/models/{NotFoundException.js → RenameUserPasskeyInput.js} +13 -21
- package/dist/models/SecondFactorMethod.d.ts +26 -0
- package/dist/models/SecondFactorMethod.js +52 -0
- package/dist/models/SellerSecurityUserDto.d.ts +12 -0
- package/dist/models/SellerSecurityUserDto.js +4 -0
- package/dist/models/TotpCodeInput.d.ts +32 -0
- package/dist/models/TotpCodeInput.js +51 -0
- package/dist/models/TotpEnrolmentDto.d.ts +38 -0
- package/dist/models/TotpEnrolmentDto.js +55 -0
- package/dist/models/UserAuthenticationMethod.d.ts +27 -0
- package/dist/models/UserAuthenticationMethod.js +53 -0
- package/dist/models/UserLoginAttemptDto.d.ts +88 -0
- package/dist/models/UserLoginAttemptDto.js +89 -0
- package/dist/models/UserLoginAttemptMethod.d.ts +29 -0
- package/dist/models/UserLoginAttemptMethod.js +55 -0
- package/dist/models/UserLoginAttemptResult.d.ts +30 -0
- package/dist/models/UserLoginAttemptResult.js +56 -0
- package/dist/models/UserLoginLocationConfirmationDetailsDto.d.ts +62 -0
- package/dist/models/UserLoginLocationConfirmationDetailsDto.js +71 -0
- package/dist/models/UserNotificationDto.d.ts +1 -0
- package/dist/models/UserNotificationDto.js +1 -0
- package/dist/models/UserNotificationListItemDto.d.ts +1 -0
- package/dist/models/UserNotificationListItemDto.js +1 -0
- package/dist/models/UserPasskeyDto.d.ts +62 -0
- package/dist/models/UserPasskeyDto.js +71 -0
- package/dist/models/UserSecurityDto.d.ts +94 -0
- package/dist/models/UserSecurityDto.js +93 -0
- package/dist/models/index.d.ts +35 -1
- package/dist/models/index.js +35 -1
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +0 -3
- package/src/apis/AccountsPublicApi.ts +0 -3
- package/src/apis/AdminApi.ts +172 -3
- package/src/apis/AuctionsApi.ts +0 -3
- package/src/apis/BuyersApi.ts +0 -3
- package/src/apis/BuyersPublicApi.ts +6 -6
- package/src/apis/CustomerSuccessApi.ts +0 -3
- package/src/apis/DomainAppraisalRequestsApi.ts +0 -3
- package/src/apis/DomainAppraisalRequestsPublicApi.ts +0 -3
- package/src/apis/DomainsApi.ts +0 -3
- package/src/apis/DomainsPublicApi.ts +0 -3
- package/src/apis/InvoicesApi.ts +0 -3
- package/src/apis/JobsApi.ts +0 -3
- package/src/apis/LeadsPublicApi.ts +0 -3
- package/src/apis/NotificationsApi.ts +0 -3
- package/src/apis/OrdersPublicApi.ts +0 -3
- package/src/apis/PartnerApi.ts +46 -0
- package/src/apis/SubscriptionsPublicApi.ts +0 -3
- package/src/apis/UsersApi.ts +1219 -48
- package/src/apis/UsersPublicApi.ts +375 -5
- package/src/models/ActivateUserTotpInput.ts +66 -0
- package/src/models/AdminUserSecurityDto.ts +157 -0
- package/src/models/BuyerLoginDto.ts +75 -0
- package/src/models/BuyerNotificationDto.ts +1 -0
- package/src/models/BuyerNotificationListItemDto.ts +1 -0
- package/src/models/ChangeUserAuthenticationMethodInput.ts +76 -0
- package/src/models/ChangeUserLoginLocationVerificationInput.ts +66 -0
- package/src/models/ChangeUserPasswordInput.ts +75 -0
- package/src/models/ConfirmLoginLocationInput.ts +66 -0
- package/src/models/CurrentPasswordInput.ts +66 -0
- package/src/models/FeatureFlagListItemDto.ts +2 -1
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/ListUserLoginAttempts200Response.ts +106 -0
- package/src/models/LoginChallengeInput.ts +66 -0
- package/src/models/LoginCodeInput.ts +75 -0
- package/src/models/LoginDto.ts +56 -8
- package/src/models/LoginPasskeyInput.ts +83 -0
- package/src/models/LoginPasskeyOptionsInput.ts +65 -0
- package/src/models/LoginRecoveryCodeInput.ts +75 -0
- package/src/models/LoginStatus.ts +54 -0
- package/src/models/PartnerDomainSeoMetricsDto.ts +90 -0
- package/src/models/PartnerMajesticMetricsDto.ts +102 -0
- package/src/models/PartnerMozMetricsDto.ts +111 -0
- package/src/models/PasskeyOptionsDto.ts +75 -0
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/ReauthenticateWithPasskeyInput.ts +75 -0
- package/src/models/ReauthenticationDto.ts +75 -0
- package/src/models/RecoveryCodesDto.ts +66 -0
- package/src/models/RegisterUserPasskeyInput.ts +84 -0
- package/src/models/RemoveUserPasskeyInput.ts +75 -0
- package/src/models/RenameUserPasskeyInput.ts +66 -0
- package/src/models/SecondFactorMethod.ts +54 -0
- package/src/models/SellerSecurityUserDto.ts +16 -0
- package/src/models/TotpCodeInput.ts +66 -0
- package/src/models/TotpEnrolmentDto.ts +75 -0
- package/src/models/UserAuthenticationMethod.ts +55 -0
- package/src/models/UserLoginAttemptDto.ts +164 -0
- package/src/models/UserLoginAttemptMethod.ts +57 -0
- package/src/models/UserLoginAttemptResult.ts +58 -0
- package/src/models/UserLoginLocationConfirmationDetailsDto.ts +111 -0
- package/src/models/UserNotificationDto.ts +1 -0
- package/src/models/UserNotificationListItemDto.ts +1 -0
- package/src/models/UserPasskeyDto.ts +111 -0
- package/src/models/UserSecurityDto.ts +173 -0
- package/src/models/index.ts +35 -1
- package/dist/models/NotFoundException.d.ts +0 -44
- package/src/models/NotFoundException.ts +0 -84
|
@@ -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.instanceOfPasskeyOptionsDto = instanceOfPasskeyOptionsDto;
|
|
17
|
+
exports.PasskeyOptionsDtoFromJSON = PasskeyOptionsDtoFromJSON;
|
|
18
|
+
exports.PasskeyOptionsDtoFromJSONTyped = PasskeyOptionsDtoFromJSONTyped;
|
|
19
|
+
exports.PasskeyOptionsDtoToJSON = PasskeyOptionsDtoToJSON;
|
|
20
|
+
exports.PasskeyOptionsDtoToJSONTyped = PasskeyOptionsDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PasskeyOptionsDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPasskeyOptionsDto(value) {
|
|
25
|
+
if (!('webauthnToken' in value) || value['webauthnToken'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('options' in value) || value['options'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function PasskeyOptionsDtoFromJSON(json) {
|
|
32
|
+
return PasskeyOptionsDtoFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function PasskeyOptionsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'webauthnToken': json['webauthnToken'],
|
|
40
|
+
'options': json['options'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function PasskeyOptionsDtoToJSON(json) {
|
|
44
|
+
return PasskeyOptionsDtoToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function PasskeyOptionsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'webauthnToken': value['webauthnToken'],
|
|
53
|
+
'options': value['options'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -144,6 +144,7 @@ export declare const PrivateAccountGetMeResponseEnabledFeaturesEnum: {
|
|
|
144
144
|
readonly DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: "DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU";
|
|
145
145
|
readonly DOMAIN_APPRAISAL: "DOMAIN_APPRAISAL";
|
|
146
146
|
readonly BANK_ACCOUNT_NAME_CHECK: "BANK_ACCOUNT_NAME_CHECK";
|
|
147
|
+
readonly MFA_ENFORCED_FOR_STAFF: "MFA_ENFORCED_FOR_STAFF";
|
|
147
148
|
};
|
|
148
149
|
export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
|
|
149
150
|
/**
|
|
@@ -62,7 +62,8 @@ exports.PrivateAccountGetMeResponseEnabledFeaturesEnum = {
|
|
|
62
62
|
LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
|
|
63
63
|
DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
|
|
64
64
|
DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
|
|
65
|
-
BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK'
|
|
65
|
+
BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
|
|
66
|
+
MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF'
|
|
66
67
|
};
|
|
67
68
|
/**
|
|
68
69
|
* Check if a given object implements the PrivateAccountGetMeResponse interface.
|
|
@@ -0,0 +1,40 @@
|
|
|
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 ReauthenticateWithPasskeyInput
|
|
16
|
+
*/
|
|
17
|
+
export interface ReauthenticateWithPasskeyInput {
|
|
18
|
+
/**
|
|
19
|
+
* Token returned with the passkey options.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReauthenticateWithPasskeyInput
|
|
22
|
+
*/
|
|
23
|
+
webauthnToken: string;
|
|
24
|
+
/**
|
|
25
|
+
* Answer of the browser, as @simplewebauthn/browser startAuthentication returns it.
|
|
26
|
+
* @type {{ [key: string]: any; }}
|
|
27
|
+
* @memberof ReauthenticateWithPasskeyInput
|
|
28
|
+
*/
|
|
29
|
+
response: {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the ReauthenticateWithPasskeyInput interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfReauthenticateWithPasskeyInput(value: object): value is ReauthenticateWithPasskeyInput;
|
|
37
|
+
export declare function ReauthenticateWithPasskeyInputFromJSON(json: any): ReauthenticateWithPasskeyInput;
|
|
38
|
+
export declare function ReauthenticateWithPasskeyInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReauthenticateWithPasskeyInput;
|
|
39
|
+
export declare function ReauthenticateWithPasskeyInputToJSON(json: any): ReauthenticateWithPasskeyInput;
|
|
40
|
+
export declare function ReauthenticateWithPasskeyInputToJSONTyped(value?: ReauthenticateWithPasskeyInput | 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.instanceOfReauthenticateWithPasskeyInput = instanceOfReauthenticateWithPasskeyInput;
|
|
17
|
+
exports.ReauthenticateWithPasskeyInputFromJSON = ReauthenticateWithPasskeyInputFromJSON;
|
|
18
|
+
exports.ReauthenticateWithPasskeyInputFromJSONTyped = ReauthenticateWithPasskeyInputFromJSONTyped;
|
|
19
|
+
exports.ReauthenticateWithPasskeyInputToJSON = ReauthenticateWithPasskeyInputToJSON;
|
|
20
|
+
exports.ReauthenticateWithPasskeyInputToJSONTyped = ReauthenticateWithPasskeyInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ReauthenticateWithPasskeyInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfReauthenticateWithPasskeyInput(value) {
|
|
25
|
+
if (!('webauthnToken' in value) || value['webauthnToken'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('response' in value) || value['response'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ReauthenticateWithPasskeyInputFromJSON(json) {
|
|
32
|
+
return ReauthenticateWithPasskeyInputFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ReauthenticateWithPasskeyInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'webauthnToken': json['webauthnToken'],
|
|
40
|
+
'response': json['response'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ReauthenticateWithPasskeyInputToJSON(json) {
|
|
44
|
+
return ReauthenticateWithPasskeyInputToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ReauthenticateWithPasskeyInputToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'webauthnToken': value['webauthnToken'],
|
|
53
|
+
'response': value['response'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -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 ReauthenticationDto
|
|
16
|
+
*/
|
|
17
|
+
export interface ReauthenticationDto {
|
|
18
|
+
/**
|
|
19
|
+
* Token to send as the X-Reauthentication-Token header of sensitive changes.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReauthenticationDto
|
|
22
|
+
*/
|
|
23
|
+
reauthenticationToken: string;
|
|
24
|
+
/**
|
|
25
|
+
* When the token stops working.
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof ReauthenticationDto
|
|
28
|
+
*/
|
|
29
|
+
expiresAt: Date;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ReauthenticationDto interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfReauthenticationDto(value: object): value is ReauthenticationDto;
|
|
35
|
+
export declare function ReauthenticationDtoFromJSON(json: any): ReauthenticationDto;
|
|
36
|
+
export declare function ReauthenticationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReauthenticationDto;
|
|
37
|
+
export declare function ReauthenticationDtoToJSON(json: any): ReauthenticationDto;
|
|
38
|
+
export declare function ReauthenticationDtoToJSONTyped(value?: ReauthenticationDto | 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.instanceOfReauthenticationDto = instanceOfReauthenticationDto;
|
|
17
|
+
exports.ReauthenticationDtoFromJSON = ReauthenticationDtoFromJSON;
|
|
18
|
+
exports.ReauthenticationDtoFromJSONTyped = ReauthenticationDtoFromJSONTyped;
|
|
19
|
+
exports.ReauthenticationDtoToJSON = ReauthenticationDtoToJSON;
|
|
20
|
+
exports.ReauthenticationDtoToJSONTyped = ReauthenticationDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ReauthenticationDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfReauthenticationDto(value) {
|
|
25
|
+
if (!('reauthenticationToken' in value) || value['reauthenticationToken'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('expiresAt' in value) || value['expiresAt'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ReauthenticationDtoFromJSON(json) {
|
|
32
|
+
return ReauthenticationDtoFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ReauthenticationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'reauthenticationToken': json['reauthenticationToken'],
|
|
40
|
+
'expiresAt': (new Date(json['expiresAt'])),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ReauthenticationDtoToJSON(json) {
|
|
44
|
+
return ReauthenticationDtoToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ReauthenticationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'reauthenticationToken': value['reauthenticationToken'],
|
|
53
|
+
'expiresAt': ((value['expiresAt']).toISOString()),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -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 RecoveryCodesDto
|
|
16
|
+
*/
|
|
17
|
+
export interface RecoveryCodesDto {
|
|
18
|
+
/**
|
|
19
|
+
* New recovery codes, shown only this once. Empty when the user still had unused ones.
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof RecoveryCodesDto
|
|
22
|
+
*/
|
|
23
|
+
recoveryCodes: Array<string>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the RecoveryCodesDto interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfRecoveryCodesDto(value: object): value is RecoveryCodesDto;
|
|
29
|
+
export declare function RecoveryCodesDtoFromJSON(json: any): RecoveryCodesDto;
|
|
30
|
+
export declare function RecoveryCodesDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecoveryCodesDto;
|
|
31
|
+
export declare function RecoveryCodesDtoToJSON(json: any): RecoveryCodesDto;
|
|
32
|
+
export declare function RecoveryCodesDtoToJSONTyped(value?: RecoveryCodesDto | 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.instanceOfRecoveryCodesDto = instanceOfRecoveryCodesDto;
|
|
17
|
+
exports.RecoveryCodesDtoFromJSON = RecoveryCodesDtoFromJSON;
|
|
18
|
+
exports.RecoveryCodesDtoFromJSONTyped = RecoveryCodesDtoFromJSONTyped;
|
|
19
|
+
exports.RecoveryCodesDtoToJSON = RecoveryCodesDtoToJSON;
|
|
20
|
+
exports.RecoveryCodesDtoToJSONTyped = RecoveryCodesDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the RecoveryCodesDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfRecoveryCodesDto(value) {
|
|
25
|
+
if (!('recoveryCodes' in value) || value['recoveryCodes'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function RecoveryCodesDtoFromJSON(json) {
|
|
30
|
+
return RecoveryCodesDtoFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function RecoveryCodesDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'recoveryCodes': json['recoveryCodes'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function RecoveryCodesDtoToJSON(json) {
|
|
41
|
+
return RecoveryCodesDtoToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function RecoveryCodesDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'recoveryCodes': value['recoveryCodes'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 RegisterUserPasskeyInput
|
|
16
|
+
*/
|
|
17
|
+
export interface RegisterUserPasskeyInput {
|
|
18
|
+
/**
|
|
19
|
+
* Token returned with the passkey options.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RegisterUserPasskeyInput
|
|
22
|
+
*/
|
|
23
|
+
webauthnToken: string;
|
|
24
|
+
/**
|
|
25
|
+
* Answer of the browser, as @simplewebauthn/browser startRegistration returns it.
|
|
26
|
+
* @type {{ [key: string]: any; }}
|
|
27
|
+
* @memberof RegisterUserPasskeyInput
|
|
28
|
+
*/
|
|
29
|
+
response: {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Name to recognise the passkey by.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof RegisterUserPasskeyInput
|
|
36
|
+
*/
|
|
37
|
+
name: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the RegisterUserPasskeyInput interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfRegisterUserPasskeyInput(value: object): value is RegisterUserPasskeyInput;
|
|
43
|
+
export declare function RegisterUserPasskeyInputFromJSON(json: any): RegisterUserPasskeyInput;
|
|
44
|
+
export declare function RegisterUserPasskeyInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterUserPasskeyInput;
|
|
45
|
+
export declare function RegisterUserPasskeyInputToJSON(json: any): RegisterUserPasskeyInput;
|
|
46
|
+
export declare function RegisterUserPasskeyInputToJSONTyped(value?: RegisterUserPasskeyInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfRegisterUserPasskeyInput = instanceOfRegisterUserPasskeyInput;
|
|
17
|
+
exports.RegisterUserPasskeyInputFromJSON = RegisterUserPasskeyInputFromJSON;
|
|
18
|
+
exports.RegisterUserPasskeyInputFromJSONTyped = RegisterUserPasskeyInputFromJSONTyped;
|
|
19
|
+
exports.RegisterUserPasskeyInputToJSON = RegisterUserPasskeyInputToJSON;
|
|
20
|
+
exports.RegisterUserPasskeyInputToJSONTyped = RegisterUserPasskeyInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the RegisterUserPasskeyInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfRegisterUserPasskeyInput(value) {
|
|
25
|
+
if (!('webauthnToken' in value) || value['webauthnToken'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('response' in value) || value['response'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function RegisterUserPasskeyInputFromJSON(json) {
|
|
34
|
+
return RegisterUserPasskeyInputFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function RegisterUserPasskeyInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'webauthnToken': json['webauthnToken'],
|
|
42
|
+
'response': json['response'],
|
|
43
|
+
'name': json['name'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function RegisterUserPasskeyInputToJSON(json) {
|
|
47
|
+
return RegisterUserPasskeyInputToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function RegisterUserPasskeyInputToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'webauthnToken': value['webauthnToken'],
|
|
56
|
+
'response': value['response'],
|
|
57
|
+
'name': value['name'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 RemoveUserPasskeyInput
|
|
16
|
+
*/
|
|
17
|
+
export interface RemoveUserPasskeyInput {
|
|
18
|
+
/**
|
|
19
|
+
* Token returned with the passkey options.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RemoveUserPasskeyInput
|
|
22
|
+
*/
|
|
23
|
+
webauthnToken: string;
|
|
24
|
+
/**
|
|
25
|
+
* Answer of the browser, as @simplewebauthn/browser startAuthentication returns it.
|
|
26
|
+
* @type {{ [key: string]: any; }}
|
|
27
|
+
* @memberof RemoveUserPasskeyInput
|
|
28
|
+
*/
|
|
29
|
+
response: {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the RemoveUserPasskeyInput interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfRemoveUserPasskeyInput(value: object): value is RemoveUserPasskeyInput;
|
|
37
|
+
export declare function RemoveUserPasskeyInputFromJSON(json: any): RemoveUserPasskeyInput;
|
|
38
|
+
export declare function RemoveUserPasskeyInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RemoveUserPasskeyInput;
|
|
39
|
+
export declare function RemoveUserPasskeyInputToJSON(json: any): RemoveUserPasskeyInput;
|
|
40
|
+
export declare function RemoveUserPasskeyInputToJSONTyped(value?: RemoveUserPasskeyInput | 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.instanceOfRemoveUserPasskeyInput = instanceOfRemoveUserPasskeyInput;
|
|
17
|
+
exports.RemoveUserPasskeyInputFromJSON = RemoveUserPasskeyInputFromJSON;
|
|
18
|
+
exports.RemoveUserPasskeyInputFromJSONTyped = RemoveUserPasskeyInputFromJSONTyped;
|
|
19
|
+
exports.RemoveUserPasskeyInputToJSON = RemoveUserPasskeyInputToJSON;
|
|
20
|
+
exports.RemoveUserPasskeyInputToJSONTyped = RemoveUserPasskeyInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the RemoveUserPasskeyInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfRemoveUserPasskeyInput(value) {
|
|
25
|
+
if (!('webauthnToken' in value) || value['webauthnToken'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('response' in value) || value['response'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function RemoveUserPasskeyInputFromJSON(json) {
|
|
32
|
+
return RemoveUserPasskeyInputFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function RemoveUserPasskeyInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'webauthnToken': json['webauthnToken'],
|
|
40
|
+
'response': json['response'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function RemoveUserPasskeyInputToJSON(json) {
|
|
44
|
+
return RemoveUserPasskeyInputToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function RemoveUserPasskeyInputToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'webauthnToken': value['webauthnToken'],
|
|
53
|
+
'response': value['response'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -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 RenameUserPasskeyInput
|
|
16
|
+
*/
|
|
17
|
+
export interface RenameUserPasskeyInput {
|
|
18
|
+
/**
|
|
19
|
+
* Name to recognise the passkey by.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RenameUserPasskeyInput
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the RenameUserPasskeyInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfRenameUserPasskeyInput(value: object): value is RenameUserPasskeyInput;
|
|
29
|
+
export declare function RenameUserPasskeyInputFromJSON(json: any): RenameUserPasskeyInput;
|
|
30
|
+
export declare function RenameUserPasskeyInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RenameUserPasskeyInput;
|
|
31
|
+
export declare function RenameUserPasskeyInputToJSON(json: any): RenameUserPasskeyInput;
|
|
32
|
+
export declare function RenameUserPasskeyInputToJSONTyped(value?: RenameUserPasskeyInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,47 +13,39 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfRenameUserPasskeyInput = instanceOfRenameUserPasskeyInput;
|
|
17
|
+
exports.RenameUserPasskeyInputFromJSON = RenameUserPasskeyInputFromJSON;
|
|
18
|
+
exports.RenameUserPasskeyInputFromJSONTyped = RenameUserPasskeyInputFromJSONTyped;
|
|
19
|
+
exports.RenameUserPasskeyInputToJSON = RenameUserPasskeyInputToJSON;
|
|
20
|
+
exports.RenameUserPasskeyInputToJSONTyped = RenameUserPasskeyInputToJSONTyped;
|
|
21
21
|
/**
|
|
22
|
-
* Check if a given object implements the
|
|
22
|
+
* Check if a given object implements the RenameUserPasskeyInput interface.
|
|
23
23
|
*/
|
|
24
|
-
function
|
|
24
|
+
function instanceOfRenameUserPasskeyInput(value) {
|
|
25
25
|
if (!('name' in value) || value['name'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
-
if (!('statusCode' in value) || value['statusCode'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('message' in value) || value['message'] === undefined)
|
|
30
|
-
return false;
|
|
31
27
|
return true;
|
|
32
28
|
}
|
|
33
|
-
function
|
|
34
|
-
return
|
|
29
|
+
function RenameUserPasskeyInputFromJSON(json) {
|
|
30
|
+
return RenameUserPasskeyInputFromJSONTyped(json, false);
|
|
35
31
|
}
|
|
36
|
-
function
|
|
32
|
+
function RenameUserPasskeyInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
33
|
if (json == null) {
|
|
38
34
|
return json;
|
|
39
35
|
}
|
|
40
36
|
return {
|
|
41
37
|
'name': json['name'],
|
|
42
|
-
'statusCode': json['statusCode'],
|
|
43
|
-
'message': json['message'],
|
|
44
38
|
};
|
|
45
39
|
}
|
|
46
|
-
function
|
|
47
|
-
return
|
|
40
|
+
function RenameUserPasskeyInputToJSON(json) {
|
|
41
|
+
return RenameUserPasskeyInputToJSONTyped(json, false);
|
|
48
42
|
}
|
|
49
|
-
function
|
|
43
|
+
function RenameUserPasskeyInputToJSONTyped(value, ignoreDiscriminator) {
|
|
50
44
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
45
|
if (value == null) {
|
|
52
46
|
return value;
|
|
53
47
|
}
|
|
54
48
|
return {
|
|
55
49
|
'name': value['name'],
|
|
56
|
-
'statusCode': value['statusCode'],
|
|
57
|
-
'message': value['message'],
|
|
58
50
|
};
|
|
59
51
|
}
|