@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,71 @@
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.instanceOfUserPasskeyDto = instanceOfUserPasskeyDto;
17
+ exports.UserPasskeyDtoFromJSON = UserPasskeyDtoFromJSON;
18
+ exports.UserPasskeyDtoFromJSONTyped = UserPasskeyDtoFromJSONTyped;
19
+ exports.UserPasskeyDtoToJSON = UserPasskeyDtoToJSON;
20
+ exports.UserPasskeyDtoToJSONTyped = UserPasskeyDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the UserPasskeyDto interface.
23
+ */
24
+ function instanceOfUserPasskeyDto(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
29
+ if (!('deviceType' in value) || value['deviceType'] === undefined)
30
+ return false;
31
+ if (!('backedUp' in value) || value['backedUp'] === undefined)
32
+ return false;
33
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
34
+ return false;
35
+ if (!('lastUsedAt' in value) || value['lastUsedAt'] === undefined)
36
+ return false;
37
+ return true;
38
+ }
39
+ function UserPasskeyDtoFromJSON(json) {
40
+ return UserPasskeyDtoFromJSONTyped(json, false);
41
+ }
42
+ function UserPasskeyDtoFromJSONTyped(json, ignoreDiscriminator) {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'id': json['id'],
48
+ 'name': json['name'],
49
+ 'deviceType': json['deviceType'],
50
+ 'backedUp': json['backedUp'],
51
+ 'createdAt': (new Date(json['createdAt'])),
52
+ 'lastUsedAt': (json['lastUsedAt'] == null ? null : new Date(json['lastUsedAt'])),
53
+ };
54
+ }
55
+ function UserPasskeyDtoToJSON(json) {
56
+ return UserPasskeyDtoToJSONTyped(json, false);
57
+ }
58
+ function UserPasskeyDtoToJSONTyped(value, ignoreDiscriminator) {
59
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'id': value['id'],
65
+ 'name': value['name'],
66
+ 'deviceType': value['deviceType'],
67
+ 'backedUp': value['backedUp'],
68
+ 'createdAt': ((value['createdAt']).toISOString()),
69
+ 'lastUsedAt': (value['lastUsedAt'] == null ? null : value['lastUsedAt'].toISOString()),
70
+ };
71
+ }
@@ -0,0 +1,94 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { UserSignInFactor } from './UserSignInFactor';
13
+ import type { UserPasskeyDto } from './UserPasskeyDto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface UserSecurityDto
18
+ */
19
+ export interface UserSecurityDto {
20
+ /**
21
+ * Steps the next sign-in follows, in order; each step lists the factors to choose from. Staff on a single step from before a second factor was required for them get, as a second step, the factors they set up.
22
+ * @type {Array<Array<UserSignInFactor>>}
23
+ * @memberof UserSecurityDto
24
+ */
25
+ signInSteps: Array<Array<UserSignInFactor>>;
26
+ /**
27
+ * Factors the user set up, which the steps can ask for.
28
+ * @type {Array<UserSignInFactor>}
29
+ * @memberof UserSecurityDto
30
+ */
31
+ setUpSignInFactors: Array<UserSignInFactor>;
32
+ /**
33
+ * Fewest steps the user can sign in with: 2 for staff once a second factor is required for them, 1 otherwise.
34
+ * @type {number}
35
+ * @memberof UserSecurityDto
36
+ */
37
+ minSignInSteps: number;
38
+ /**
39
+ * Whether the user has a staff role, which requires a second factor or a passkey.
40
+ * @type {boolean}
41
+ * @memberof UserSecurityDto
42
+ */
43
+ isStaff: boolean;
44
+ /**
45
+ * Whether the user must keep a second step: staff once second factors are required for them. They sign in with two steps at least, and cannot remove their last authenticator app or passkey.
46
+ * @type {boolean}
47
+ * @memberof UserSecurityDto
48
+ */
49
+ secondFactorRequired: boolean;
50
+ /**
51
+ * Whether the user must set up an authenticator app or a passkey before using the app: staff, once second factors are required for them, with neither yet.
52
+ * @type {boolean}
53
+ * @memberof UserSecurityDto
54
+ */
55
+ secondFactorSetupRequired: boolean;
56
+ /**
57
+ * Whether an authenticator app is set up.
58
+ * @type {boolean}
59
+ * @memberof UserSecurityDto
60
+ */
61
+ totpEnabled: boolean;
62
+ /**
63
+ * Passkeys of the user.
64
+ * @type {Array<UserPasskeyDto>}
65
+ * @memberof UserSecurityDto
66
+ */
67
+ passkeys: Array<UserPasskeyDto>;
68
+ /**
69
+ * Whether the user turned recovery codes on.
70
+ * @type {boolean}
71
+ * @memberof UserSecurityDto
72
+ */
73
+ recoveryCodesEnabled: boolean;
74
+ /**
75
+ * Recovery codes left to use.
76
+ * @type {number}
77
+ * @memberof UserSecurityDto
78
+ */
79
+ unusedRecoveryCodes: number;
80
+ /**
81
+ * Whether a sign-in from a new network has to be confirmed by email.
82
+ * @type {boolean}
83
+ * @memberof UserSecurityDto
84
+ */
85
+ loginLocationVerificationEnabled: boolean;
86
+ }
87
+ /**
88
+ * Check if a given object implements the UserSecurityDto interface.
89
+ */
90
+ export declare function instanceOfUserSecurityDto(value: object): value is UserSecurityDto;
91
+ export declare function UserSecurityDtoFromJSON(json: any): UserSecurityDto;
92
+ export declare function UserSecurityDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserSecurityDto;
93
+ export declare function UserSecurityDtoToJSON(json: any): UserSecurityDto;
94
+ export declare function UserSecurityDtoToJSONTyped(value?: UserSecurityDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,93 @@
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.instanceOfUserSecurityDto = instanceOfUserSecurityDto;
17
+ exports.UserSecurityDtoFromJSON = UserSecurityDtoFromJSON;
18
+ exports.UserSecurityDtoFromJSONTyped = UserSecurityDtoFromJSONTyped;
19
+ exports.UserSecurityDtoToJSON = UserSecurityDtoToJSON;
20
+ exports.UserSecurityDtoToJSONTyped = UserSecurityDtoToJSONTyped;
21
+ var UserSignInFactor_1 = require("./UserSignInFactor");
22
+ var UserPasskeyDto_1 = require("./UserPasskeyDto");
23
+ /**
24
+ * Check if a given object implements the UserSecurityDto interface.
25
+ */
26
+ function instanceOfUserSecurityDto(value) {
27
+ if (!('signInSteps' in value) || value['signInSteps'] === undefined)
28
+ return false;
29
+ if (!('setUpSignInFactors' in value) || value['setUpSignInFactors'] === undefined)
30
+ return false;
31
+ if (!('minSignInSteps' in value) || value['minSignInSteps'] === undefined)
32
+ return false;
33
+ if (!('isStaff' in value) || value['isStaff'] === undefined)
34
+ return false;
35
+ if (!('secondFactorRequired' in value) || value['secondFactorRequired'] === undefined)
36
+ return false;
37
+ if (!('secondFactorSetupRequired' in value) || value['secondFactorSetupRequired'] === undefined)
38
+ return false;
39
+ if (!('totpEnabled' in value) || value['totpEnabled'] === undefined)
40
+ return false;
41
+ if (!('passkeys' in value) || value['passkeys'] === undefined)
42
+ return false;
43
+ if (!('recoveryCodesEnabled' in value) || value['recoveryCodesEnabled'] === undefined)
44
+ return false;
45
+ if (!('unusedRecoveryCodes' in value) || value['unusedRecoveryCodes'] === undefined)
46
+ return false;
47
+ if (!('loginLocationVerificationEnabled' in value) || value['loginLocationVerificationEnabled'] === undefined)
48
+ return false;
49
+ return true;
50
+ }
51
+ function UserSecurityDtoFromJSON(json) {
52
+ return UserSecurityDtoFromJSONTyped(json, false);
53
+ }
54
+ function UserSecurityDtoFromJSONTyped(json, ignoreDiscriminator) {
55
+ if (json == null) {
56
+ return json;
57
+ }
58
+ return {
59
+ 'signInSteps': json['signInSteps'],
60
+ 'setUpSignInFactors': (json['setUpSignInFactors'].map(UserSignInFactor_1.UserSignInFactorFromJSON)),
61
+ 'minSignInSteps': json['minSignInSteps'],
62
+ 'isStaff': json['isStaff'],
63
+ 'secondFactorRequired': json['secondFactorRequired'],
64
+ 'secondFactorSetupRequired': json['secondFactorSetupRequired'],
65
+ 'totpEnabled': json['totpEnabled'],
66
+ 'passkeys': (json['passkeys'].map(UserPasskeyDto_1.UserPasskeyDtoFromJSON)),
67
+ 'recoveryCodesEnabled': json['recoveryCodesEnabled'],
68
+ 'unusedRecoveryCodes': json['unusedRecoveryCodes'],
69
+ 'loginLocationVerificationEnabled': json['loginLocationVerificationEnabled'],
70
+ };
71
+ }
72
+ function UserSecurityDtoToJSON(json) {
73
+ return UserSecurityDtoToJSONTyped(json, false);
74
+ }
75
+ function UserSecurityDtoToJSONTyped(value, ignoreDiscriminator) {
76
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
77
+ if (value == null) {
78
+ return value;
79
+ }
80
+ return {
81
+ 'signInSteps': value['signInSteps'],
82
+ 'setUpSignInFactors': (value['setUpSignInFactors'].map(UserSignInFactor_1.UserSignInFactorToJSON)),
83
+ 'minSignInSteps': value['minSignInSteps'],
84
+ 'isStaff': value['isStaff'],
85
+ 'secondFactorRequired': value['secondFactorRequired'],
86
+ 'secondFactorSetupRequired': value['secondFactorSetupRequired'],
87
+ 'totpEnabled': value['totpEnabled'],
88
+ 'passkeys': (value['passkeys'].map(UserPasskeyDto_1.UserPasskeyDtoToJSON)),
89
+ 'recoveryCodesEnabled': value['recoveryCodesEnabled'],
90
+ 'unusedRecoveryCodes': value['unusedRecoveryCodes'],
91
+ 'loginLocationVerificationEnabled': value['loginLocationVerificationEnabled'],
92
+ };
93
+ }
@@ -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
+ * Factors the user set up, which the steps can ask for.
14
+ * @export
15
+ */
16
+ export declare const UserSignInFactor: {
17
+ readonly PASSWORD: "password";
18
+ readonly PASSKEY: "passkey";
19
+ readonly TOTP: "totp";
20
+ };
21
+ export type UserSignInFactor = typeof UserSignInFactor[keyof typeof UserSignInFactor];
22
+ export declare function instanceOfUserSignInFactor(value: any): boolean;
23
+ export declare function UserSignInFactorFromJSON(json: any): UserSignInFactor;
24
+ export declare function UserSignInFactorFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserSignInFactor;
25
+ export declare function UserSignInFactorToJSON(value?: UserSignInFactor | null): any;
26
+ export declare function UserSignInFactorToJSONTyped(value: any, ignoreDiscriminator: boolean): UserSignInFactor;
@@ -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.UserSignInFactor = void 0;
17
+ exports.instanceOfUserSignInFactor = instanceOfUserSignInFactor;
18
+ exports.UserSignInFactorFromJSON = UserSignInFactorFromJSON;
19
+ exports.UserSignInFactorFromJSONTyped = UserSignInFactorFromJSONTyped;
20
+ exports.UserSignInFactorToJSON = UserSignInFactorToJSON;
21
+ exports.UserSignInFactorToJSONTyped = UserSignInFactorToJSONTyped;
22
+ /**
23
+ * Factors the user set up, which the steps can ask for.
24
+ * @export
25
+ */
26
+ exports.UserSignInFactor = {
27
+ PASSWORD: 'password',
28
+ PASSKEY: 'passkey',
29
+ TOTP: 'totp'
30
+ };
31
+ function instanceOfUserSignInFactor(value) {
32
+ for (var key in exports.UserSignInFactor) {
33
+ if (Object.prototype.hasOwnProperty.call(exports.UserSignInFactor, key)) {
34
+ if (exports.UserSignInFactor[key] === value) {
35
+ return true;
36
+ }
37
+ }
38
+ }
39
+ return false;
40
+ }
41
+ function UserSignInFactorFromJSON(json) {
42
+ return UserSignInFactorFromJSONTyped(json, false);
43
+ }
44
+ function UserSignInFactorFromJSONTyped(json, ignoreDiscriminator) {
45
+ return json;
46
+ }
47
+ function UserSignInFactorToJSON(value) {
48
+ return value;
49
+ }
50
+ function UserSignInFactorToJSONTyped(value, ignoreDiscriminator) {
51
+ return value;
52
+ }
@@ -37,6 +37,7 @@ export * from './AccountSettingsLeaseToOwnConfigurationDto';
37
37
  export * from './AccountSettingsRentConfigurationDto';
38
38
  export * from './AccountSettingsSidnDto';
39
39
  export * from './AccountsStatsDto';
40
+ export * from './ActivateUserTotpInput';
40
41
  export * from './AddSubscriptionDomainRecordInput';
41
42
  export * from './AddressDto';
42
43
  export * from './AdminAccountCommissionByDateRangeInput';
@@ -70,6 +71,7 @@ export * from './AdminLeadListItemDomainDto';
70
71
  export * from './AdminLeadListItemDto';
71
72
  export * from './AdminListAccountDto';
72
73
  export * from './AdminMarketplaceDto';
74
+ export * from './AdminUserSecurityDto';
73
75
  export * from './AdminVerificationDepositDto';
74
76
  export * from './AffiliatesStatsDto';
75
77
  export * from './AggregatedPaginationResponse';
@@ -138,6 +140,7 @@ export * from './BuyerInvoiceDto';
138
140
  export * from './BuyerInvoiceSellerAccountDto';
139
141
  export * from './BuyerLeadListItemDomainDto';
140
142
  export * from './BuyerLeadListItemDto';
143
+ export * from './BuyerLoginDto';
141
144
  export * from './BuyerNotificationAttachmentDto';
142
145
  export * from './BuyerNotificationDto';
143
146
  export * from './BuyerNotificationListItemDto';
@@ -153,6 +156,9 @@ export * from './ChangeInvoiceStatusInput';
153
156
  export * from './ChangeOrderStatusInput';
154
157
  export * from './ChangeSubscriptionStatusInput';
155
158
  export * from './ChangeUserEmailWithOtpInput';
159
+ export * from './ChangeUserLoginLocationVerificationInput';
160
+ export * from './ChangeUserPasswordInput';
161
+ export * from './ChangeUserSignInStepsInput';
156
162
  export * from './ChartDataPoint';
157
163
  export * from './CheckDomainsNsInput';
158
164
  export * from './CommissionAccountDto';
@@ -179,6 +185,7 @@ export * from './CommissionSimulationResultDto';
179
185
  export * from './CommissionsStatsDto';
180
186
  export * from './CompanyInformationDto';
181
187
  export * from './CompanyTaxIdDto';
188
+ export * from './ConfirmLoginLocationInput';
182
189
  export * from './ConflictException';
183
190
  export * from './CreateAccountNoteInput';
184
191
  export * from './CreateAccountPaymentInput';
@@ -198,6 +205,7 @@ export * from './CreateSubscriptionBillingPeriodicityInput';
198
205
  export * from './CreateSubscriptionInput';
199
206
  export * from './CreateSubscriptionManualTransactionInput';
200
207
  export * from './CreatedApiKeyDto';
208
+ export * from './CurrentPasswordInput';
201
209
  export * from './CursorBasedPageInfo';
202
210
  export * from './CursorBasedPaginationResponse';
203
211
  export * from './CustomerSuccessDomainAuctionDto';
@@ -387,11 +395,19 @@ export * from './ListLeadMessagesDto';
387
395
  export * from './ListLeads200Response';
388
396
  export * from './ListLeadsResultItem';
389
397
  export * from './ListNotifications200Response';
398
+ export * from './ListUserLoginAttempts200Response';
390
399
  export * from './LockConfigurationInput';
391
400
  export * from './LockDurationDto';
392
401
  export * from './LockDurationInput';
402
+ export * from './LoginChallengeInput';
403
+ export * from './LoginCodeInput';
393
404
  export * from './LoginDto';
394
405
  export * from './LoginInput';
406
+ export * from './LoginPasskeyInput';
407
+ export * from './LoginPasskeyOptionsInput';
408
+ export * from './LoginPasswordInput';
409
+ export * from './LoginRecoveryCodeInput';
410
+ export * from './LoginStatus';
395
411
  export * from './MajesticMetrics';
396
412
  export * from './MajesticTopicTrustFlow';
397
413
  export * from './ManualLeadBuyerDto';
@@ -426,6 +442,7 @@ export * from './PartnerDomainFindDto';
426
442
  export * from './PartnerDomainSeoMetricsDto';
427
443
  export * from './PartnerMajesticMetricsDto';
428
444
  export * from './PartnerMozMetricsDto';
445
+ export * from './PasskeyOptionsDto';
429
446
  export * from './PayAccountPaymentInput';
430
447
  export * from './PaySellerInvoicesInput';
431
448
  export * from './PaymentMethodsStatsDto';
@@ -448,15 +465,21 @@ export * from './PublicSaleDto';
448
465
  export * from './PublicSalesDto';
449
466
  export * from './PutBuyerLeadOfferInput';
450
467
  export * from './PutLeadOfferInput';
468
+ export * from './ReauthenticateWithPasskeyInput';
469
+ export * from './ReauthenticationDto';
470
+ export * from './RecoveryCodesDto';
451
471
  export * from './RegisterAccountInput';
452
472
  export * from './RegisterAccountPortfolioSizeInput';
453
473
  export * from './RegisterAuctionBuyerPhoneInput';
454
474
  export * from './RegisterInput';
475
+ export * from './RegisterUserPasskeyInput';
455
476
  export * from './RegisterUserPushTokenInput';
456
477
  export * from './RelatedDomainsDto';
457
478
  export * from './RelatedLeadDto';
458
479
  export * from './RelatedSellerDomain';
459
480
  export * from './RemoveSubscriptionDomainRecordInput';
481
+ export * from './RemoveUserPasskeyInput';
482
+ export * from './RenameUserPasskeyInput';
460
483
  export * from './RentConfigurationDto';
461
484
  export * from './RentConfigurationInput';
462
485
  export * from './RentConfigurationPresetsDto';
@@ -470,6 +493,7 @@ export * from './SalesCountCommissionPayloadInput';
470
493
  export * from './SalesCountCommissionPayloadSimulationInput';
471
494
  export * from './SalesCountCommissionReasonPayloadDto';
472
495
  export * from './SearchBankAccountInstitutionsInput';
496
+ export * from './SecondFactorMethod';
473
497
  export * from './SellerAccountReferralListItemDto';
474
498
  export * from './SellerAffiliateCommissionDto';
475
499
  export * from './SellerAuctionListItemDto';
@@ -547,6 +571,8 @@ export * from './TimeTableConfigurationDto';
547
571
  export * from './TimeTableConfigurationInput';
548
572
  export * from './TopAffiliateSellerDto';
549
573
  export * from './TopSellerAccountDto';
574
+ export * from './TotpCodeInput';
575
+ export * from './TotpEnrolmentDto';
550
576
  export * from './TranslateDomainSearchInput';
551
577
  export * from './UpdateAccountBillingInformationInput';
552
578
  export * from './UpdateAccountChallengeRewardBalanceInput';
@@ -578,11 +604,18 @@ export * from './UpdateSubscriptionInput';
578
604
  export * from './UpdateTaskMuteStatusForBuyerInput';
579
605
  export * from './UpdateTaskMuteStatusInput';
580
606
  export * from './UpdateUserNotificationSettingsInput';
607
+ export * from './UserLoginAttemptDto';
608
+ export * from './UserLoginAttemptMethod';
609
+ export * from './UserLoginAttemptResult';
610
+ export * from './UserLoginLocationConfirmationDetailsDto';
581
611
  export * from './UserNotificationAttachmentDto';
582
612
  export * from './UserNotificationDto';
583
613
  export * from './UserNotificationListItemDto';
584
614
  export * from './UserNotificationSettingsDto';
615
+ export * from './UserPasskeyDto';
585
616
  export * from './UserPasswordResetDto';
617
+ export * from './UserSecurityDto';
618
+ export * from './UserSignInFactor';
586
619
  export * from './UserSignedTokenInput';
587
620
  export * from './ValidateTaxNumberDto';
588
621
  export * from './ValidateTaxNumberInput';
@@ -55,6 +55,7 @@ __exportStar(require("./AccountSettingsLeaseToOwnConfigurationDto"), exports);
55
55
  __exportStar(require("./AccountSettingsRentConfigurationDto"), exports);
56
56
  __exportStar(require("./AccountSettingsSidnDto"), exports);
57
57
  __exportStar(require("./AccountsStatsDto"), exports);
58
+ __exportStar(require("./ActivateUserTotpInput"), exports);
58
59
  __exportStar(require("./AddSubscriptionDomainRecordInput"), exports);
59
60
  __exportStar(require("./AddressDto"), exports);
60
61
  __exportStar(require("./AdminAccountCommissionByDateRangeInput"), exports);
@@ -88,6 +89,7 @@ __exportStar(require("./AdminLeadListItemDomainDto"), exports);
88
89
  __exportStar(require("./AdminLeadListItemDto"), exports);
89
90
  __exportStar(require("./AdminListAccountDto"), exports);
90
91
  __exportStar(require("./AdminMarketplaceDto"), exports);
92
+ __exportStar(require("./AdminUserSecurityDto"), exports);
91
93
  __exportStar(require("./AdminVerificationDepositDto"), exports);
92
94
  __exportStar(require("./AffiliatesStatsDto"), exports);
93
95
  __exportStar(require("./AggregatedPaginationResponse"), exports);
@@ -156,6 +158,7 @@ __exportStar(require("./BuyerInvoiceDto"), exports);
156
158
  __exportStar(require("./BuyerInvoiceSellerAccountDto"), exports);
157
159
  __exportStar(require("./BuyerLeadListItemDomainDto"), exports);
158
160
  __exportStar(require("./BuyerLeadListItemDto"), exports);
161
+ __exportStar(require("./BuyerLoginDto"), exports);
159
162
  __exportStar(require("./BuyerNotificationAttachmentDto"), exports);
160
163
  __exportStar(require("./BuyerNotificationDto"), exports);
161
164
  __exportStar(require("./BuyerNotificationListItemDto"), exports);
@@ -171,6 +174,9 @@ __exportStar(require("./ChangeInvoiceStatusInput"), exports);
171
174
  __exportStar(require("./ChangeOrderStatusInput"), exports);
172
175
  __exportStar(require("./ChangeSubscriptionStatusInput"), exports);
173
176
  __exportStar(require("./ChangeUserEmailWithOtpInput"), exports);
177
+ __exportStar(require("./ChangeUserLoginLocationVerificationInput"), exports);
178
+ __exportStar(require("./ChangeUserPasswordInput"), exports);
179
+ __exportStar(require("./ChangeUserSignInStepsInput"), exports);
174
180
  __exportStar(require("./ChartDataPoint"), exports);
175
181
  __exportStar(require("./CheckDomainsNsInput"), exports);
176
182
  __exportStar(require("./CommissionAccountDto"), exports);
@@ -197,6 +203,7 @@ __exportStar(require("./CommissionSimulationResultDto"), exports);
197
203
  __exportStar(require("./CommissionsStatsDto"), exports);
198
204
  __exportStar(require("./CompanyInformationDto"), exports);
199
205
  __exportStar(require("./CompanyTaxIdDto"), exports);
206
+ __exportStar(require("./ConfirmLoginLocationInput"), exports);
200
207
  __exportStar(require("./ConflictException"), exports);
201
208
  __exportStar(require("./CreateAccountNoteInput"), exports);
202
209
  __exportStar(require("./CreateAccountPaymentInput"), exports);
@@ -216,6 +223,7 @@ __exportStar(require("./CreateSubscriptionBillingPeriodicityInput"), exports);
216
223
  __exportStar(require("./CreateSubscriptionInput"), exports);
217
224
  __exportStar(require("./CreateSubscriptionManualTransactionInput"), exports);
218
225
  __exportStar(require("./CreatedApiKeyDto"), exports);
226
+ __exportStar(require("./CurrentPasswordInput"), exports);
219
227
  __exportStar(require("./CursorBasedPageInfo"), exports);
220
228
  __exportStar(require("./CursorBasedPaginationResponse"), exports);
221
229
  __exportStar(require("./CustomerSuccessDomainAuctionDto"), exports);
@@ -405,11 +413,19 @@ __exportStar(require("./ListLeadMessagesDto"), exports);
405
413
  __exportStar(require("./ListLeads200Response"), exports);
406
414
  __exportStar(require("./ListLeadsResultItem"), exports);
407
415
  __exportStar(require("./ListNotifications200Response"), exports);
416
+ __exportStar(require("./ListUserLoginAttempts200Response"), exports);
408
417
  __exportStar(require("./LockConfigurationInput"), exports);
409
418
  __exportStar(require("./LockDurationDto"), exports);
410
419
  __exportStar(require("./LockDurationInput"), exports);
420
+ __exportStar(require("./LoginChallengeInput"), exports);
421
+ __exportStar(require("./LoginCodeInput"), exports);
411
422
  __exportStar(require("./LoginDto"), exports);
412
423
  __exportStar(require("./LoginInput"), exports);
424
+ __exportStar(require("./LoginPasskeyInput"), exports);
425
+ __exportStar(require("./LoginPasskeyOptionsInput"), exports);
426
+ __exportStar(require("./LoginPasswordInput"), exports);
427
+ __exportStar(require("./LoginRecoveryCodeInput"), exports);
428
+ __exportStar(require("./LoginStatus"), exports);
413
429
  __exportStar(require("./MajesticMetrics"), exports);
414
430
  __exportStar(require("./MajesticTopicTrustFlow"), exports);
415
431
  __exportStar(require("./ManualLeadBuyerDto"), exports);
@@ -444,6 +460,7 @@ __exportStar(require("./PartnerDomainFindDto"), exports);
444
460
  __exportStar(require("./PartnerDomainSeoMetricsDto"), exports);
445
461
  __exportStar(require("./PartnerMajesticMetricsDto"), exports);
446
462
  __exportStar(require("./PartnerMozMetricsDto"), exports);
463
+ __exportStar(require("./PasskeyOptionsDto"), exports);
447
464
  __exportStar(require("./PayAccountPaymentInput"), exports);
448
465
  __exportStar(require("./PaySellerInvoicesInput"), exports);
449
466
  __exportStar(require("./PaymentMethodsStatsDto"), exports);
@@ -466,15 +483,21 @@ __exportStar(require("./PublicSaleDto"), exports);
466
483
  __exportStar(require("./PublicSalesDto"), exports);
467
484
  __exportStar(require("./PutBuyerLeadOfferInput"), exports);
468
485
  __exportStar(require("./PutLeadOfferInput"), exports);
486
+ __exportStar(require("./ReauthenticateWithPasskeyInput"), exports);
487
+ __exportStar(require("./ReauthenticationDto"), exports);
488
+ __exportStar(require("./RecoveryCodesDto"), exports);
469
489
  __exportStar(require("./RegisterAccountInput"), exports);
470
490
  __exportStar(require("./RegisterAccountPortfolioSizeInput"), exports);
471
491
  __exportStar(require("./RegisterAuctionBuyerPhoneInput"), exports);
472
492
  __exportStar(require("./RegisterInput"), exports);
493
+ __exportStar(require("./RegisterUserPasskeyInput"), exports);
473
494
  __exportStar(require("./RegisterUserPushTokenInput"), exports);
474
495
  __exportStar(require("./RelatedDomainsDto"), exports);
475
496
  __exportStar(require("./RelatedLeadDto"), exports);
476
497
  __exportStar(require("./RelatedSellerDomain"), exports);
477
498
  __exportStar(require("./RemoveSubscriptionDomainRecordInput"), exports);
499
+ __exportStar(require("./RemoveUserPasskeyInput"), exports);
500
+ __exportStar(require("./RenameUserPasskeyInput"), exports);
478
501
  __exportStar(require("./RentConfigurationDto"), exports);
479
502
  __exportStar(require("./RentConfigurationInput"), exports);
480
503
  __exportStar(require("./RentConfigurationPresetsDto"), exports);
@@ -488,6 +511,7 @@ __exportStar(require("./SalesCountCommissionPayloadInput"), exports);
488
511
  __exportStar(require("./SalesCountCommissionPayloadSimulationInput"), exports);
489
512
  __exportStar(require("./SalesCountCommissionReasonPayloadDto"), exports);
490
513
  __exportStar(require("./SearchBankAccountInstitutionsInput"), exports);
514
+ __exportStar(require("./SecondFactorMethod"), exports);
491
515
  __exportStar(require("./SellerAccountReferralListItemDto"), exports);
492
516
  __exportStar(require("./SellerAffiliateCommissionDto"), exports);
493
517
  __exportStar(require("./SellerAuctionListItemDto"), exports);
@@ -565,6 +589,8 @@ __exportStar(require("./TimeTableConfigurationDto"), exports);
565
589
  __exportStar(require("./TimeTableConfigurationInput"), exports);
566
590
  __exportStar(require("./TopAffiliateSellerDto"), exports);
567
591
  __exportStar(require("./TopSellerAccountDto"), exports);
592
+ __exportStar(require("./TotpCodeInput"), exports);
593
+ __exportStar(require("./TotpEnrolmentDto"), exports);
568
594
  __exportStar(require("./TranslateDomainSearchInput"), exports);
569
595
  __exportStar(require("./UpdateAccountBillingInformationInput"), exports);
570
596
  __exportStar(require("./UpdateAccountChallengeRewardBalanceInput"), exports);
@@ -596,11 +622,18 @@ __exportStar(require("./UpdateSubscriptionInput"), exports);
596
622
  __exportStar(require("./UpdateTaskMuteStatusForBuyerInput"), exports);
597
623
  __exportStar(require("./UpdateTaskMuteStatusInput"), exports);
598
624
  __exportStar(require("./UpdateUserNotificationSettingsInput"), exports);
625
+ __exportStar(require("./UserLoginAttemptDto"), exports);
626
+ __exportStar(require("./UserLoginAttemptMethod"), exports);
627
+ __exportStar(require("./UserLoginAttemptResult"), exports);
628
+ __exportStar(require("./UserLoginLocationConfirmationDetailsDto"), exports);
599
629
  __exportStar(require("./UserNotificationAttachmentDto"), exports);
600
630
  __exportStar(require("./UserNotificationDto"), exports);
601
631
  __exportStar(require("./UserNotificationListItemDto"), exports);
602
632
  __exportStar(require("./UserNotificationSettingsDto"), exports);
633
+ __exportStar(require("./UserPasskeyDto"), exports);
603
634
  __exportStar(require("./UserPasswordResetDto"), exports);
635
+ __exportStar(require("./UserSecurityDto"), exports);
636
+ __exportStar(require("./UserSignInFactor"), exports);
604
637
  __exportStar(require("./UserSignedTokenInput"), exports);
605
638
  __exportStar(require("./ValidateTaxNumberDto"), exports);
606
639
  __exportStar(require("./ValidateTaxNumberInput"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.503",
3
+ "version": "0.0.505",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {