@randock/nameshift-api-client 0.0.503 → 0.0.505

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/.openapi-generator/FILES +33 -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 +1304 -46
  9. package/dist/apis/UsersPublicApi.d.ts +120 -3
  10. package/dist/apis/UsersPublicApi.js +436 -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 +87 -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/ChangeUserLoginLocationVerificationInput.d.ts +32 -0
  22. package/dist/models/ChangeUserLoginLocationVerificationInput.js +51 -0
  23. package/dist/models/ChangeUserPasswordInput.d.ts +38 -0
  24. package/dist/models/ChangeUserPasswordInput.js +55 -0
  25. package/dist/models/ChangeUserSignInStepsInput.d.ts +33 -0
  26. package/dist/models/ChangeUserSignInStepsInput.js +51 -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/LoginPasswordInput.d.ts +38 -0
  48. package/dist/models/LoginPasswordInput.js +55 -0
  49. package/dist/models/LoginRecoveryCodeInput.d.ts +38 -0
  50. package/dist/models/LoginRecoveryCodeInput.js +55 -0
  51. package/dist/models/LoginStatus.d.ts +26 -0
  52. package/dist/models/LoginStatus.js +52 -0
  53. package/dist/models/PasskeyOptionsDto.d.ts +40 -0
  54. package/dist/models/PasskeyOptionsDto.js +55 -0
  55. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  56. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  57. package/dist/models/ReauthenticateWithPasskeyInput.d.ts +40 -0
  58. package/dist/models/ReauthenticateWithPasskeyInput.js +55 -0
  59. package/dist/models/ReauthenticationDto.d.ts +38 -0
  60. package/dist/models/ReauthenticationDto.js +55 -0
  61. package/dist/models/RecoveryCodesDto.d.ts +32 -0
  62. package/dist/models/RecoveryCodesDto.js +51 -0
  63. package/dist/models/RegisterUserPasskeyInput.d.ts +46 -0
  64. package/dist/models/RegisterUserPasskeyInput.js +59 -0
  65. package/dist/models/RemoveUserPasskeyInput.d.ts +40 -0
  66. package/dist/models/RemoveUserPasskeyInput.js +55 -0
  67. package/dist/models/RenameUserPasskeyInput.d.ts +32 -0
  68. package/dist/models/RenameUserPasskeyInput.js +51 -0
  69. package/dist/models/SecondFactorMethod.d.ts +27 -0
  70. package/dist/models/SecondFactorMethod.js +53 -0
  71. package/dist/models/SellerSecurityUserDto.d.ts +12 -0
  72. package/dist/models/SellerSecurityUserDto.js +4 -0
  73. package/dist/models/TotpCodeInput.d.ts +32 -0
  74. package/dist/models/TotpCodeInput.js +51 -0
  75. package/dist/models/TotpEnrolmentDto.d.ts +38 -0
  76. package/dist/models/TotpEnrolmentDto.js +55 -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 +31 -0
  82. package/dist/models/UserLoginAttemptResult.js +57 -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/UserSignInFactor.d.ts +26 -0
  94. package/dist/models/UserSignInFactor.js +52 -0
  95. package/dist/models/index.d.ts +33 -0
  96. package/dist/models/index.js +33 -0
  97. package/package.json +1 -1
  98. package/src/apis/AdminApi.ts +172 -0
  99. package/src/apis/BuyersPublicApi.ts +6 -6
  100. package/src/apis/UsersApi.ts +1218 -48
  101. package/src/apis/UsersPublicApi.ts +420 -2
  102. package/src/models/ActivateUserTotpInput.ts +66 -0
  103. package/src/models/AdminUserSecurityDto.ts +155 -0
  104. package/src/models/BuyerLoginDto.ts +75 -0
  105. package/src/models/BuyerNotificationDto.ts +1 -0
  106. package/src/models/BuyerNotificationListItemDto.ts +1 -0
  107. package/src/models/ChangeUserLoginLocationVerificationInput.ts +66 -0
  108. package/src/models/ChangeUserPasswordInput.ts +75 -0
  109. package/src/models/ChangeUserSignInStepsInput.ts +74 -0
  110. package/src/models/ConfirmLoginLocationInput.ts +66 -0
  111. package/src/models/CurrentPasswordInput.ts +66 -0
  112. package/src/models/FeatureFlagListItemDto.ts +2 -1
  113. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  114. package/src/models/ListUserLoginAttempts200Response.ts +106 -0
  115. package/src/models/LoginChallengeInput.ts +66 -0
  116. package/src/models/LoginCodeInput.ts +75 -0
  117. package/src/models/LoginDto.ts +56 -8
  118. package/src/models/LoginPasskeyInput.ts +83 -0
  119. package/src/models/LoginPasskeyOptionsInput.ts +65 -0
  120. package/src/models/LoginPasswordInput.ts +75 -0
  121. package/src/models/LoginRecoveryCodeInput.ts +75 -0
  122. package/src/models/LoginStatus.ts +54 -0
  123. package/src/models/PasskeyOptionsDto.ts +75 -0
  124. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  125. package/src/models/ReauthenticateWithPasskeyInput.ts +75 -0
  126. package/src/models/ReauthenticationDto.ts +75 -0
  127. package/src/models/RecoveryCodesDto.ts +66 -0
  128. package/src/models/RegisterUserPasskeyInput.ts +84 -0
  129. package/src/models/RemoveUserPasskeyInput.ts +75 -0
  130. package/src/models/RenameUserPasskeyInput.ts +66 -0
  131. package/src/models/SecondFactorMethod.ts +55 -0
  132. package/src/models/SellerSecurityUserDto.ts +16 -0
  133. package/src/models/TotpCodeInput.ts +66 -0
  134. package/src/models/TotpEnrolmentDto.ts +75 -0
  135. package/src/models/UserLoginAttemptDto.ts +164 -0
  136. package/src/models/UserLoginAttemptMethod.ts +57 -0
  137. package/src/models/UserLoginAttemptResult.ts +59 -0
  138. package/src/models/UserLoginLocationConfirmationDetailsDto.ts +111 -0
  139. package/src/models/UserNotificationDto.ts +1 -0
  140. package/src/models/UserNotificationListItemDto.ts +1 -0
  141. package/src/models/UserPasskeyDto.ts +111 -0
  142. package/src/models/UserSecurityDto.ts +171 -0
  143. package/src/models/UserSignInFactor.ts +54 -0
  144. package/src/models/index.ts +33 -0
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfLoginPasskeyInput = instanceOfLoginPasskeyInput;
17
+ exports.LoginPasskeyInputFromJSON = LoginPasskeyInputFromJSON;
18
+ exports.LoginPasskeyInputFromJSONTyped = LoginPasskeyInputFromJSONTyped;
19
+ exports.LoginPasskeyInputToJSON = LoginPasskeyInputToJSON;
20
+ exports.LoginPasskeyInputToJSONTyped = LoginPasskeyInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the LoginPasskeyInput interface.
23
+ */
24
+ function instanceOfLoginPasskeyInput(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 LoginPasskeyInputFromJSON(json) {
32
+ return LoginPasskeyInputFromJSONTyped(json, false);
33
+ }
34
+ function LoginPasskeyInputFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'webauthnToken': json['webauthnToken'],
40
+ 'response': json['response'],
41
+ 'challengeToken': json['challengeToken'] == null ? undefined : json['challengeToken'],
42
+ };
43
+ }
44
+ function LoginPasskeyInputToJSON(json) {
45
+ return LoginPasskeyInputToJSONTyped(json, false);
46
+ }
47
+ function LoginPasskeyInputToJSONTyped(value, ignoreDiscriminator) {
48
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'webauthnToken': value['webauthnToken'],
54
+ 'response': value['response'],
55
+ 'challengeToken': value['challengeToken'],
56
+ };
57
+ }
@@ -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 LoginPasskeyOptionsInput
16
+ */
17
+ export interface LoginPasskeyOptionsInput {
18
+ /**
19
+ * Challenge token of the sign-in, when the passkey is its second factor. Without it, the passkey signs in on its own.
20
+ * @type {string}
21
+ * @memberof LoginPasskeyOptionsInput
22
+ */
23
+ challengeToken?: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the LoginPasskeyOptionsInput interface.
27
+ */
28
+ export declare function instanceOfLoginPasskeyOptionsInput(value: object): value is LoginPasskeyOptionsInput;
29
+ export declare function LoginPasskeyOptionsInputFromJSON(json: any): LoginPasskeyOptionsInput;
30
+ export declare function LoginPasskeyOptionsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginPasskeyOptionsInput;
31
+ export declare function LoginPasskeyOptionsInputToJSON(json: any): LoginPasskeyOptionsInput;
32
+ export declare function LoginPasskeyOptionsInputToJSONTyped(value?: LoginPasskeyOptionsInput | null, ignoreDiscriminator?: boolean): any;
@@ -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 LoginPasswordInput
16
+ */
17
+ export interface LoginPasswordInput {
18
+ /**
19
+ * Challenge token returned by the previous sign-in step.
20
+ * @type {string}
21
+ * @memberof LoginPasswordInput
22
+ */
23
+ challengeToken: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof LoginPasswordInput
28
+ */
29
+ password: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the LoginPasswordInput interface.
33
+ */
34
+ export declare function instanceOfLoginPasswordInput(value: object): value is LoginPasswordInput;
35
+ export declare function LoginPasswordInputFromJSON(json: any): LoginPasswordInput;
36
+ export declare function LoginPasswordInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginPasswordInput;
37
+ export declare function LoginPasswordInputToJSON(json: any): LoginPasswordInput;
38
+ export declare function LoginPasswordInputToJSONTyped(value?: LoginPasswordInput | 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.instanceOfLoginPasswordInput = instanceOfLoginPasswordInput;
17
+ exports.LoginPasswordInputFromJSON = LoginPasswordInputFromJSON;
18
+ exports.LoginPasswordInputFromJSONTyped = LoginPasswordInputFromJSONTyped;
19
+ exports.LoginPasswordInputToJSON = LoginPasswordInputToJSON;
20
+ exports.LoginPasswordInputToJSONTyped = LoginPasswordInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the LoginPasswordInput interface.
23
+ */
24
+ function instanceOfLoginPasswordInput(value) {
25
+ if (!('challengeToken' in value) || value['challengeToken'] === undefined)
26
+ return false;
27
+ if (!('password' in value) || value['password'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function LoginPasswordInputFromJSON(json) {
32
+ return LoginPasswordInputFromJSONTyped(json, false);
33
+ }
34
+ function LoginPasswordInputFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'challengeToken': json['challengeToken'],
40
+ 'password': json['password'],
41
+ };
42
+ }
43
+ function LoginPasswordInputToJSON(json) {
44
+ return LoginPasswordInputToJSONTyped(json, false);
45
+ }
46
+ function LoginPasswordInputToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'challengeToken': value['challengeToken'],
53
+ 'password': value['password'],
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 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;