@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,111 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PartnerMozMetricsDto
|
|
20
|
+
*/
|
|
21
|
+
export interface PartnerMozMetricsDto {
|
|
22
|
+
/**
|
|
23
|
+
* Moz domain authority (0–100).
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof PartnerMozMetricsDto
|
|
26
|
+
*/
|
|
27
|
+
domainAuthority: number;
|
|
28
|
+
/**
|
|
29
|
+
* Moz page authority (0–100); null when Moz reported the domain as a subdomain of its root.
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof PartnerMozMetricsDto
|
|
32
|
+
*/
|
|
33
|
+
pageAuthority: number | null;
|
|
34
|
+
/**
|
|
35
|
+
* Backlinks reported by Moz.
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof PartnerMozMetricsDto
|
|
38
|
+
*/
|
|
39
|
+
backlinks: number;
|
|
40
|
+
/**
|
|
41
|
+
* Root domains linking to the domain.
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof PartnerMozMetricsDto
|
|
44
|
+
*/
|
|
45
|
+
rootDomains: number | null;
|
|
46
|
+
/**
|
|
47
|
+
* Moz spam score (0–100), when available.
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof PartnerMozMetricsDto
|
|
50
|
+
*/
|
|
51
|
+
spamScore: number | null;
|
|
52
|
+
/**
|
|
53
|
+
* When the Moz metrics were fetched.
|
|
54
|
+
* @type {Date}
|
|
55
|
+
* @memberof PartnerMozMetricsDto
|
|
56
|
+
*/
|
|
57
|
+
updatedAt: Date | null;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the PartnerMozMetricsDto interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfPartnerMozMetricsDto(value: object): value is PartnerMozMetricsDto {
|
|
64
|
+
if (!('domainAuthority' in value) || value['domainAuthority'] === undefined) return false;
|
|
65
|
+
if (!('pageAuthority' in value) || value['pageAuthority'] === undefined) return false;
|
|
66
|
+
if (!('backlinks' in value) || value['backlinks'] === undefined) return false;
|
|
67
|
+
if (!('rootDomains' in value) || value['rootDomains'] === undefined) return false;
|
|
68
|
+
if (!('spamScore' in value) || value['spamScore'] === undefined) return false;
|
|
69
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function PartnerMozMetricsDtoFromJSON(json: any): PartnerMozMetricsDto {
|
|
74
|
+
return PartnerMozMetricsDtoFromJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function PartnerMozMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartnerMozMetricsDto {
|
|
78
|
+
if (json == null) {
|
|
79
|
+
return json;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'domainAuthority': json['domainAuthority'],
|
|
84
|
+
'pageAuthority': json['pageAuthority'],
|
|
85
|
+
'backlinks': json['backlinks'],
|
|
86
|
+
'rootDomains': json['rootDomains'],
|
|
87
|
+
'spamScore': json['spamScore'],
|
|
88
|
+
'updatedAt': (json['updatedAt'] == null ? null : new Date(json['updatedAt'])),
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function PartnerMozMetricsDtoToJSON(json: any): PartnerMozMetricsDto {
|
|
93
|
+
return PartnerMozMetricsDtoToJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function PartnerMozMetricsDtoToJSONTyped(value?: PartnerMozMetricsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
97
|
+
if (value == null) {
|
|
98
|
+
return value;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return {
|
|
102
|
+
|
|
103
|
+
'domainAuthority': value['domainAuthority'],
|
|
104
|
+
'pageAuthority': value['pageAuthority'],
|
|
105
|
+
'backlinks': value['backlinks'],
|
|
106
|
+
'rootDomains': value['rootDomains'],
|
|
107
|
+
'spamScore': value['spamScore'],
|
|
108
|
+
'updatedAt': (value['updatedAt'] == null ? null : (value['updatedAt'] as any).toISOString()),
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PasskeyOptionsDto
|
|
20
|
+
*/
|
|
21
|
+
export interface PasskeyOptionsDto {
|
|
22
|
+
/**
|
|
23
|
+
* Token to send back with the answer of the browser.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PasskeyOptionsDto
|
|
26
|
+
*/
|
|
27
|
+
webauthnToken: string;
|
|
28
|
+
/**
|
|
29
|
+
* Options for @simplewebauthn/browser startRegistration or startAuthentication.
|
|
30
|
+
* @type {{ [key: string]: any; }}
|
|
31
|
+
* @memberof PasskeyOptionsDto
|
|
32
|
+
*/
|
|
33
|
+
options: { [key: string]: any; };
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the PasskeyOptionsDto interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfPasskeyOptionsDto(value: object): value is PasskeyOptionsDto {
|
|
40
|
+
if (!('webauthnToken' in value) || value['webauthnToken'] === undefined) return false;
|
|
41
|
+
if (!('options' in value) || value['options'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function PasskeyOptionsDtoFromJSON(json: any): PasskeyOptionsDto {
|
|
46
|
+
return PasskeyOptionsDtoFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function PasskeyOptionsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasskeyOptionsDto {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'webauthnToken': json['webauthnToken'],
|
|
56
|
+
'options': json['options'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function PasskeyOptionsDtoToJSON(json: any): PasskeyOptionsDto {
|
|
61
|
+
return PasskeyOptionsDtoToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function PasskeyOptionsDtoToJSONTyped(value?: PasskeyOptionsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'webauthnToken': value['webauthnToken'],
|
|
72
|
+
'options': value['options'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -192,7 +192,8 @@ export const PrivateAccountGetMeResponseEnabledFeaturesEnum = {
|
|
|
192
192
|
LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
|
|
193
193
|
DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
|
|
194
194
|
DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
|
|
195
|
-
BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK'
|
|
195
|
+
BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
|
|
196
|
+
MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF'
|
|
196
197
|
} as const;
|
|
197
198
|
export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
|
|
198
199
|
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ReauthenticateWithPasskeyInput
|
|
20
|
+
*/
|
|
21
|
+
export interface ReauthenticateWithPasskeyInput {
|
|
22
|
+
/**
|
|
23
|
+
* Token returned with the passkey options.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ReauthenticateWithPasskeyInput
|
|
26
|
+
*/
|
|
27
|
+
webauthnToken: string;
|
|
28
|
+
/**
|
|
29
|
+
* Answer of the browser, as @simplewebauthn/browser startAuthentication returns it.
|
|
30
|
+
* @type {{ [key: string]: any; }}
|
|
31
|
+
* @memberof ReauthenticateWithPasskeyInput
|
|
32
|
+
*/
|
|
33
|
+
response: { [key: string]: any; };
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the ReauthenticateWithPasskeyInput interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfReauthenticateWithPasskeyInput(value: object): value is ReauthenticateWithPasskeyInput {
|
|
40
|
+
if (!('webauthnToken' in value) || value['webauthnToken'] === undefined) return false;
|
|
41
|
+
if (!('response' in value) || value['response'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function ReauthenticateWithPasskeyInputFromJSON(json: any): ReauthenticateWithPasskeyInput {
|
|
46
|
+
return ReauthenticateWithPasskeyInputFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ReauthenticateWithPasskeyInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReauthenticateWithPasskeyInput {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'webauthnToken': json['webauthnToken'],
|
|
56
|
+
'response': json['response'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ReauthenticateWithPasskeyInputToJSON(json: any): ReauthenticateWithPasskeyInput {
|
|
61
|
+
return ReauthenticateWithPasskeyInputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ReauthenticateWithPasskeyInputToJSONTyped(value?: ReauthenticateWithPasskeyInput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'webauthnToken': value['webauthnToken'],
|
|
72
|
+
'response': value['response'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ReauthenticationDto
|
|
20
|
+
*/
|
|
21
|
+
export interface ReauthenticationDto {
|
|
22
|
+
/**
|
|
23
|
+
* Token to send as the X-Reauthentication-Token header of sensitive changes.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ReauthenticationDto
|
|
26
|
+
*/
|
|
27
|
+
reauthenticationToken: string;
|
|
28
|
+
/**
|
|
29
|
+
* When the token stops working.
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof ReauthenticationDto
|
|
32
|
+
*/
|
|
33
|
+
expiresAt: Date;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the ReauthenticationDto interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfReauthenticationDto(value: object): value is ReauthenticationDto {
|
|
40
|
+
if (!('reauthenticationToken' in value) || value['reauthenticationToken'] === undefined) return false;
|
|
41
|
+
if (!('expiresAt' in value) || value['expiresAt'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function ReauthenticationDtoFromJSON(json: any): ReauthenticationDto {
|
|
46
|
+
return ReauthenticationDtoFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ReauthenticationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReauthenticationDto {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'reauthenticationToken': json['reauthenticationToken'],
|
|
56
|
+
'expiresAt': (new Date(json['expiresAt'])),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ReauthenticationDtoToJSON(json: any): ReauthenticationDto {
|
|
61
|
+
return ReauthenticationDtoToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ReauthenticationDtoToJSONTyped(value?: ReauthenticationDto | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'reauthenticationToken': value['reauthenticationToken'],
|
|
72
|
+
'expiresAt': ((value['expiresAt']).toISOString()),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface RecoveryCodesDto
|
|
20
|
+
*/
|
|
21
|
+
export interface RecoveryCodesDto {
|
|
22
|
+
/**
|
|
23
|
+
* New recovery codes, shown only this once. Empty when the user still had unused ones.
|
|
24
|
+
* @type {Array<string>}
|
|
25
|
+
* @memberof RecoveryCodesDto
|
|
26
|
+
*/
|
|
27
|
+
recoveryCodes: Array<string>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the RecoveryCodesDto interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfRecoveryCodesDto(value: object): value is RecoveryCodesDto {
|
|
34
|
+
if (!('recoveryCodes' in value) || value['recoveryCodes'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function RecoveryCodesDtoFromJSON(json: any): RecoveryCodesDto {
|
|
39
|
+
return RecoveryCodesDtoFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function RecoveryCodesDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecoveryCodesDto {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'recoveryCodes': json['recoveryCodes'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function RecoveryCodesDtoToJSON(json: any): RecoveryCodesDto {
|
|
53
|
+
return RecoveryCodesDtoToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function RecoveryCodesDtoToJSONTyped(value?: RecoveryCodesDto | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'recoveryCodes': value['recoveryCodes'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface RegisterUserPasskeyInput
|
|
20
|
+
*/
|
|
21
|
+
export interface RegisterUserPasskeyInput {
|
|
22
|
+
/**
|
|
23
|
+
* Token returned with the passkey options.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof RegisterUserPasskeyInput
|
|
26
|
+
*/
|
|
27
|
+
webauthnToken: string;
|
|
28
|
+
/**
|
|
29
|
+
* Answer of the browser, as @simplewebauthn/browser startRegistration returns it.
|
|
30
|
+
* @type {{ [key: string]: any; }}
|
|
31
|
+
* @memberof RegisterUserPasskeyInput
|
|
32
|
+
*/
|
|
33
|
+
response: { [key: string]: any; };
|
|
34
|
+
/**
|
|
35
|
+
* Name to recognise the passkey by.
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof RegisterUserPasskeyInput
|
|
38
|
+
*/
|
|
39
|
+
name: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the RegisterUserPasskeyInput interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfRegisterUserPasskeyInput(value: object): value is RegisterUserPasskeyInput {
|
|
46
|
+
if (!('webauthnToken' in value) || value['webauthnToken'] === undefined) return false;
|
|
47
|
+
if (!('response' in value) || value['response'] === undefined) return false;
|
|
48
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function RegisterUserPasskeyInputFromJSON(json: any): RegisterUserPasskeyInput {
|
|
53
|
+
return RegisterUserPasskeyInputFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function RegisterUserPasskeyInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterUserPasskeyInput {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'webauthnToken': json['webauthnToken'],
|
|
63
|
+
'response': json['response'],
|
|
64
|
+
'name': json['name'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function RegisterUserPasskeyInputToJSON(json: any): RegisterUserPasskeyInput {
|
|
69
|
+
return RegisterUserPasskeyInputToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function RegisterUserPasskeyInputToJSONTyped(value?: RegisterUserPasskeyInput | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'webauthnToken': value['webauthnToken'],
|
|
80
|
+
'response': value['response'],
|
|
81
|
+
'name': value['name'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface RemoveUserPasskeyInput
|
|
20
|
+
*/
|
|
21
|
+
export interface RemoveUserPasskeyInput {
|
|
22
|
+
/**
|
|
23
|
+
* Token returned with the passkey options.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof RemoveUserPasskeyInput
|
|
26
|
+
*/
|
|
27
|
+
webauthnToken: string;
|
|
28
|
+
/**
|
|
29
|
+
* Answer of the browser, as @simplewebauthn/browser startAuthentication returns it.
|
|
30
|
+
* @type {{ [key: string]: any; }}
|
|
31
|
+
* @memberof RemoveUserPasskeyInput
|
|
32
|
+
*/
|
|
33
|
+
response: { [key: string]: any; };
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the RemoveUserPasskeyInput interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfRemoveUserPasskeyInput(value: object): value is RemoveUserPasskeyInput {
|
|
40
|
+
if (!('webauthnToken' in value) || value['webauthnToken'] === undefined) return false;
|
|
41
|
+
if (!('response' in value) || value['response'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function RemoveUserPasskeyInputFromJSON(json: any): RemoveUserPasskeyInput {
|
|
46
|
+
return RemoveUserPasskeyInputFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function RemoveUserPasskeyInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RemoveUserPasskeyInput {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'webauthnToken': json['webauthnToken'],
|
|
56
|
+
'response': json['response'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function RemoveUserPasskeyInputToJSON(json: any): RemoveUserPasskeyInput {
|
|
61
|
+
return RemoveUserPasskeyInputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function RemoveUserPasskeyInputToJSONTyped(value?: RemoveUserPasskeyInput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'webauthnToken': value['webauthnToken'],
|
|
72
|
+
'response': value['response'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface RenameUserPasskeyInput
|
|
20
|
+
*/
|
|
21
|
+
export interface RenameUserPasskeyInput {
|
|
22
|
+
/**
|
|
23
|
+
* Name to recognise the passkey by.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof RenameUserPasskeyInput
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the RenameUserPasskeyInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfRenameUserPasskeyInput(value: object): value is RenameUserPasskeyInput {
|
|
34
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function RenameUserPasskeyInputFromJSON(json: any): RenameUserPasskeyInput {
|
|
39
|
+
return RenameUserPasskeyInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function RenameUserPasskeyInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RenameUserPasskeyInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'name': json['name'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function RenameUserPasskeyInputToJSON(json: any): RenameUserPasskeyInput {
|
|
53
|
+
return RenameUserPasskeyInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function RenameUserPasskeyInputToJSONTyped(value?: RenameUserPasskeyInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'name': value['name'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|