@randock/nameshift-api-client 0.0.503 → 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.
Files changed (141) hide show
  1. package/.openapi-generator/FILES +32 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +44 -1
  4. package/dist/apis/AdminApi.js +177 -0
  5. package/dist/apis/BuyersPublicApi.d.ts +3 -3
  6. package/dist/apis/BuyersPublicApi.js +1 -1
  7. package/dist/apis/UsersApi.d.ts +285 -1
  8. package/dist/apis/UsersApi.js +1305 -46
  9. package/dist/apis/UsersPublicApi.d.ts +107 -3
  10. package/dist/apis/UsersPublicApi.js +388 -2
  11. package/dist/models/ActivateUserTotpInput.d.ts +32 -0
  12. package/dist/models/ActivateUserTotpInput.js +51 -0
  13. package/dist/models/AdminUserSecurityDto.d.ts +87 -0
  14. package/dist/models/AdminUserSecurityDto.js +88 -0
  15. package/dist/models/BuyerLoginDto.d.ts +38 -0
  16. package/dist/models/BuyerLoginDto.js +55 -0
  17. package/dist/models/BuyerNotificationDto.d.ts +1 -0
  18. package/dist/models/BuyerNotificationDto.js +1 -0
  19. package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
  20. package/dist/models/BuyerNotificationListItemDto.js +1 -0
  21. package/dist/models/ChangeUserAuthenticationMethodInput.d.ts +33 -0
  22. package/dist/models/ChangeUserAuthenticationMethodInput.js +52 -0
  23. package/dist/models/ChangeUserLoginLocationVerificationInput.d.ts +32 -0
  24. package/dist/models/ChangeUserLoginLocationVerificationInput.js +51 -0
  25. package/dist/models/ChangeUserPasswordInput.d.ts +38 -0
  26. package/dist/models/ChangeUserPasswordInput.js +55 -0
  27. package/dist/models/ConfirmLoginLocationInput.d.ts +32 -0
  28. package/dist/models/ConfirmLoginLocationInput.js +51 -0
  29. package/dist/models/CurrentPasswordInput.d.ts +32 -0
  30. package/dist/models/CurrentPasswordInput.js +51 -0
  31. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  32. package/dist/models/FeatureFlagListItemDto.js +2 -1
  33. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  34. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  35. package/dist/models/ListUserLoginAttempts200Response.d.ts +47 -0
  36. package/dist/models/ListUserLoginAttempts200Response.js +62 -0
  37. package/dist/models/LoginChallengeInput.d.ts +32 -0
  38. package/dist/models/LoginChallengeInput.js +51 -0
  39. package/dist/models/LoginCodeInput.d.ts +38 -0
  40. package/dist/models/LoginCodeInput.js +55 -0
  41. package/dist/models/LoginDto.d.ts +30 -4
  42. package/dist/models/LoginDto.js +13 -5
  43. package/dist/models/LoginPasskeyInput.d.ts +46 -0
  44. package/dist/models/LoginPasskeyInput.js +57 -0
  45. package/dist/models/LoginPasskeyOptionsInput.d.ts +32 -0
  46. package/dist/models/LoginPasskeyOptionsInput.js +49 -0
  47. package/dist/models/LoginRecoveryCodeInput.d.ts +38 -0
  48. package/dist/models/LoginRecoveryCodeInput.js +55 -0
  49. package/dist/models/LoginStatus.d.ts +26 -0
  50. package/dist/models/LoginStatus.js +52 -0
  51. package/dist/models/PasskeyOptionsDto.d.ts +40 -0
  52. package/dist/models/PasskeyOptionsDto.js +55 -0
  53. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  54. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  55. package/dist/models/ReauthenticateWithPasskeyInput.d.ts +40 -0
  56. package/dist/models/ReauthenticateWithPasskeyInput.js +55 -0
  57. package/dist/models/ReauthenticationDto.d.ts +38 -0
  58. package/dist/models/ReauthenticationDto.js +55 -0
  59. package/dist/models/RecoveryCodesDto.d.ts +32 -0
  60. package/dist/models/RecoveryCodesDto.js +51 -0
  61. package/dist/models/RegisterUserPasskeyInput.d.ts +46 -0
  62. package/dist/models/RegisterUserPasskeyInput.js +59 -0
  63. package/dist/models/RemoveUserPasskeyInput.d.ts +40 -0
  64. package/dist/models/RemoveUserPasskeyInput.js +55 -0
  65. package/dist/models/RenameUserPasskeyInput.d.ts +32 -0
  66. package/dist/models/RenameUserPasskeyInput.js +51 -0
  67. package/dist/models/SecondFactorMethod.d.ts +26 -0
  68. package/dist/models/SecondFactorMethod.js +52 -0
  69. package/dist/models/SellerSecurityUserDto.d.ts +12 -0
  70. package/dist/models/SellerSecurityUserDto.js +4 -0
  71. package/dist/models/TotpCodeInput.d.ts +32 -0
  72. package/dist/models/TotpCodeInput.js +51 -0
  73. package/dist/models/TotpEnrolmentDto.d.ts +38 -0
  74. package/dist/models/TotpEnrolmentDto.js +55 -0
  75. package/dist/models/UserAuthenticationMethod.d.ts +27 -0
  76. package/dist/models/UserAuthenticationMethod.js +53 -0
  77. package/dist/models/UserLoginAttemptDto.d.ts +88 -0
  78. package/dist/models/UserLoginAttemptDto.js +89 -0
  79. package/dist/models/UserLoginAttemptMethod.d.ts +29 -0
  80. package/dist/models/UserLoginAttemptMethod.js +55 -0
  81. package/dist/models/UserLoginAttemptResult.d.ts +30 -0
  82. package/dist/models/UserLoginAttemptResult.js +56 -0
  83. package/dist/models/UserLoginLocationConfirmationDetailsDto.d.ts +62 -0
  84. package/dist/models/UserLoginLocationConfirmationDetailsDto.js +71 -0
  85. package/dist/models/UserNotificationDto.d.ts +1 -0
  86. package/dist/models/UserNotificationDto.js +1 -0
  87. package/dist/models/UserNotificationListItemDto.d.ts +1 -0
  88. package/dist/models/UserNotificationListItemDto.js +1 -0
  89. package/dist/models/UserPasskeyDto.d.ts +62 -0
  90. package/dist/models/UserPasskeyDto.js +71 -0
  91. package/dist/models/UserSecurityDto.d.ts +94 -0
  92. package/dist/models/UserSecurityDto.js +93 -0
  93. package/dist/models/index.d.ts +32 -0
  94. package/dist/models/index.js +32 -0
  95. package/package.json +1 -1
  96. package/src/apis/AdminApi.ts +172 -0
  97. package/src/apis/BuyersPublicApi.ts +6 -6
  98. package/src/apis/UsersApi.ts +1219 -48
  99. package/src/apis/UsersPublicApi.ts +375 -2
  100. package/src/models/ActivateUserTotpInput.ts +66 -0
  101. package/src/models/AdminUserSecurityDto.ts +157 -0
  102. package/src/models/BuyerLoginDto.ts +75 -0
  103. package/src/models/BuyerNotificationDto.ts +1 -0
  104. package/src/models/BuyerNotificationListItemDto.ts +1 -0
  105. package/src/models/ChangeUserAuthenticationMethodInput.ts +76 -0
  106. package/src/models/ChangeUserLoginLocationVerificationInput.ts +66 -0
  107. package/src/models/ChangeUserPasswordInput.ts +75 -0
  108. package/src/models/ConfirmLoginLocationInput.ts +66 -0
  109. package/src/models/CurrentPasswordInput.ts +66 -0
  110. package/src/models/FeatureFlagListItemDto.ts +2 -1
  111. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  112. package/src/models/ListUserLoginAttempts200Response.ts +106 -0
  113. package/src/models/LoginChallengeInput.ts +66 -0
  114. package/src/models/LoginCodeInput.ts +75 -0
  115. package/src/models/LoginDto.ts +56 -8
  116. package/src/models/LoginPasskeyInput.ts +83 -0
  117. package/src/models/LoginPasskeyOptionsInput.ts +65 -0
  118. package/src/models/LoginRecoveryCodeInput.ts +75 -0
  119. package/src/models/LoginStatus.ts +54 -0
  120. package/src/models/PasskeyOptionsDto.ts +75 -0
  121. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  122. package/src/models/ReauthenticateWithPasskeyInput.ts +75 -0
  123. package/src/models/ReauthenticationDto.ts +75 -0
  124. package/src/models/RecoveryCodesDto.ts +66 -0
  125. package/src/models/RegisterUserPasskeyInput.ts +84 -0
  126. package/src/models/RemoveUserPasskeyInput.ts +75 -0
  127. package/src/models/RenameUserPasskeyInput.ts +66 -0
  128. package/src/models/SecondFactorMethod.ts +54 -0
  129. package/src/models/SellerSecurityUserDto.ts +16 -0
  130. package/src/models/TotpCodeInput.ts +66 -0
  131. package/src/models/TotpEnrolmentDto.ts +75 -0
  132. package/src/models/UserAuthenticationMethod.ts +55 -0
  133. package/src/models/UserLoginAttemptDto.ts +164 -0
  134. package/src/models/UserLoginAttemptMethod.ts +57 -0
  135. package/src/models/UserLoginAttemptResult.ts +58 -0
  136. package/src/models/UserLoginLocationConfirmationDetailsDto.ts +111 -0
  137. package/src/models/UserNotificationDto.ts +1 -0
  138. package/src/models/UserNotificationListItemDto.ts +1 -0
  139. package/src/models/UserPasskeyDto.ts +111 -0
  140. package/src/models/UserSecurityDto.ts +173 -0
  141. package/src/models/index.ts +32 -0
@@ -0,0 +1,49 @@
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.instanceOfLoginPasskeyOptionsInput = instanceOfLoginPasskeyOptionsInput;
17
+ exports.LoginPasskeyOptionsInputFromJSON = LoginPasskeyOptionsInputFromJSON;
18
+ exports.LoginPasskeyOptionsInputFromJSONTyped = LoginPasskeyOptionsInputFromJSONTyped;
19
+ exports.LoginPasskeyOptionsInputToJSON = LoginPasskeyOptionsInputToJSON;
20
+ exports.LoginPasskeyOptionsInputToJSONTyped = LoginPasskeyOptionsInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the LoginPasskeyOptionsInput interface.
23
+ */
24
+ function instanceOfLoginPasskeyOptionsInput(value) {
25
+ return true;
26
+ }
27
+ function LoginPasskeyOptionsInputFromJSON(json) {
28
+ return LoginPasskeyOptionsInputFromJSONTyped(json, false);
29
+ }
30
+ function LoginPasskeyOptionsInputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'challengeToken': json['challengeToken'] == null ? undefined : json['challengeToken'],
36
+ };
37
+ }
38
+ function LoginPasskeyOptionsInputToJSON(json) {
39
+ return LoginPasskeyOptionsInputToJSONTyped(json, false);
40
+ }
41
+ function LoginPasskeyOptionsInputToJSONTyped(value, ignoreDiscriminator) {
42
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'challengeToken': value['challengeToken'],
48
+ };
49
+ }
@@ -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 LoginRecoveryCodeInput
16
+ */
17
+ export interface LoginRecoveryCodeInput {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof LoginRecoveryCodeInput
22
+ */
23
+ email: string;
24
+ /**
25
+ * One of the recovery codes.
26
+ * @type {string}
27
+ * @memberof LoginRecoveryCodeInput
28
+ */
29
+ code: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the LoginRecoveryCodeInput interface.
33
+ */
34
+ export declare function instanceOfLoginRecoveryCodeInput(value: object): value is LoginRecoveryCodeInput;
35
+ export declare function LoginRecoveryCodeInputFromJSON(json: any): LoginRecoveryCodeInput;
36
+ export declare function LoginRecoveryCodeInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginRecoveryCodeInput;
37
+ export declare function LoginRecoveryCodeInputToJSON(json: any): LoginRecoveryCodeInput;
38
+ export declare function LoginRecoveryCodeInputToJSONTyped(value?: LoginRecoveryCodeInput | 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.instanceOfLoginRecoveryCodeInput = instanceOfLoginRecoveryCodeInput;
17
+ exports.LoginRecoveryCodeInputFromJSON = LoginRecoveryCodeInputFromJSON;
18
+ exports.LoginRecoveryCodeInputFromJSONTyped = LoginRecoveryCodeInputFromJSONTyped;
19
+ exports.LoginRecoveryCodeInputToJSON = LoginRecoveryCodeInputToJSON;
20
+ exports.LoginRecoveryCodeInputToJSONTyped = LoginRecoveryCodeInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the LoginRecoveryCodeInput interface.
23
+ */
24
+ function instanceOfLoginRecoveryCodeInput(value) {
25
+ if (!('email' in value) || value['email'] === undefined)
26
+ return false;
27
+ if (!('code' in value) || value['code'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function LoginRecoveryCodeInputFromJSON(json) {
32
+ return LoginRecoveryCodeInputFromJSONTyped(json, false);
33
+ }
34
+ function LoginRecoveryCodeInputFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'email': json['email'],
40
+ 'code': json['code'],
41
+ };
42
+ }
43
+ function LoginRecoveryCodeInputToJSON(json) {
44
+ return LoginRecoveryCodeInputToJSONTyped(json, false);
45
+ }
46
+ function LoginRecoveryCodeInputToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'email': value['email'],
53
+ 'code': value['code'],
54
+ };
55
+ }
@@ -0,0 +1,26 @@
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
+ * Where the sign-in stands.
14
+ * @export
15
+ */
16
+ export declare const LoginStatus: {
17
+ readonly AUTHENTICATED: "authenticated";
18
+ readonly SECOND_FACTOR_REQUIRED: "second_factor_required";
19
+ readonly LOCATION_CONFIRMATION_REQUIRED: "location_confirmation_required";
20
+ };
21
+ export type LoginStatus = typeof LoginStatus[keyof typeof LoginStatus];
22
+ export declare function instanceOfLoginStatus(value: any): boolean;
23
+ export declare function LoginStatusFromJSON(json: any): LoginStatus;
24
+ export declare function LoginStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginStatus;
25
+ export declare function LoginStatusToJSON(value?: LoginStatus | null): any;
26
+ export declare function LoginStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): LoginStatus;
@@ -0,0 +1,52 @@
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.LoginStatus = void 0;
17
+ exports.instanceOfLoginStatus = instanceOfLoginStatus;
18
+ exports.LoginStatusFromJSON = LoginStatusFromJSON;
19
+ exports.LoginStatusFromJSONTyped = LoginStatusFromJSONTyped;
20
+ exports.LoginStatusToJSON = LoginStatusToJSON;
21
+ exports.LoginStatusToJSONTyped = LoginStatusToJSONTyped;
22
+ /**
23
+ * Where the sign-in stands.
24
+ * @export
25
+ */
26
+ exports.LoginStatus = {
27
+ AUTHENTICATED: 'authenticated',
28
+ SECOND_FACTOR_REQUIRED: 'second_factor_required',
29
+ LOCATION_CONFIRMATION_REQUIRED: 'location_confirmation_required'
30
+ };
31
+ function instanceOfLoginStatus(value) {
32
+ for (var key in exports.LoginStatus) {
33
+ if (Object.prototype.hasOwnProperty.call(exports.LoginStatus, key)) {
34
+ if (exports.LoginStatus[key] === value) {
35
+ return true;
36
+ }
37
+ }
38
+ }
39
+ return false;
40
+ }
41
+ function LoginStatusFromJSON(json) {
42
+ return LoginStatusFromJSONTyped(json, false);
43
+ }
44
+ function LoginStatusFromJSONTyped(json, ignoreDiscriminator) {
45
+ return json;
46
+ }
47
+ function LoginStatusToJSON(value) {
48
+ return value;
49
+ }
50
+ function LoginStatusToJSONTyped(value, ignoreDiscriminator) {
51
+ return value;
52
+ }
@@ -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 PasskeyOptionsDto
16
+ */
17
+ export interface PasskeyOptionsDto {
18
+ /**
19
+ * Token to send back with the answer of the browser.
20
+ * @type {string}
21
+ * @memberof PasskeyOptionsDto
22
+ */
23
+ webauthnToken: string;
24
+ /**
25
+ * Options for @simplewebauthn/browser startRegistration or startAuthentication.
26
+ * @type {{ [key: string]: any; }}
27
+ * @memberof PasskeyOptionsDto
28
+ */
29
+ options: {
30
+ [key: string]: any;
31
+ };
32
+ }
33
+ /**
34
+ * Check if a given object implements the PasskeyOptionsDto interface.
35
+ */
36
+ export declare function instanceOfPasskeyOptionsDto(value: object): value is PasskeyOptionsDto;
37
+ export declare function PasskeyOptionsDtoFromJSON(json: any): PasskeyOptionsDto;
38
+ export declare function PasskeyOptionsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasskeyOptionsDto;
39
+ export declare function PasskeyOptionsDtoToJSON(json: any): PasskeyOptionsDto;
40
+ export declare function PasskeyOptionsDtoToJSONTyped(value?: PasskeyOptionsDto | 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.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;