@randock/nameshift-api-client 0.0.502 → 0.0.504

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/.openapi-generator/FILES +35 -1
  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/PartnerApi.d.ts +14 -1
  8. package/dist/apis/PartnerApi.js +53 -0
  9. package/dist/apis/UsersApi.d.ts +285 -1
  10. package/dist/apis/UsersApi.js +1305 -46
  11. package/dist/apis/UsersPublicApi.d.ts +107 -3
  12. package/dist/apis/UsersPublicApi.js +388 -2
  13. package/dist/models/ActivateUserTotpInput.d.ts +32 -0
  14. package/dist/models/ActivateUserTotpInput.js +51 -0
  15. package/dist/models/AdminUserSecurityDto.d.ts +87 -0
  16. package/dist/models/AdminUserSecurityDto.js +88 -0
  17. package/dist/models/BuyerLoginDto.d.ts +38 -0
  18. package/dist/models/BuyerLoginDto.js +55 -0
  19. package/dist/models/BuyerNotificationDto.d.ts +1 -0
  20. package/dist/models/BuyerNotificationDto.js +1 -0
  21. package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
  22. package/dist/models/BuyerNotificationListItemDto.js +1 -0
  23. package/dist/models/ChangeUserAuthenticationMethodInput.d.ts +33 -0
  24. package/dist/models/ChangeUserAuthenticationMethodInput.js +52 -0
  25. package/dist/models/ChangeUserLoginLocationVerificationInput.d.ts +32 -0
  26. package/dist/models/ChangeUserLoginLocationVerificationInput.js +51 -0
  27. package/dist/models/ChangeUserPasswordInput.d.ts +38 -0
  28. package/dist/models/ChangeUserPasswordInput.js +55 -0
  29. package/dist/models/ConfirmLoginLocationInput.d.ts +32 -0
  30. package/dist/models/ConfirmLoginLocationInput.js +51 -0
  31. package/dist/models/CurrentPasswordInput.d.ts +32 -0
  32. package/dist/models/CurrentPasswordInput.js +51 -0
  33. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  34. package/dist/models/FeatureFlagListItemDto.js +2 -1
  35. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  36. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  37. package/dist/models/ListUserLoginAttempts200Response.d.ts +47 -0
  38. package/dist/models/ListUserLoginAttempts200Response.js +62 -0
  39. package/dist/models/LoginChallengeInput.d.ts +32 -0
  40. package/dist/models/LoginChallengeInput.js +51 -0
  41. package/dist/models/LoginCodeInput.d.ts +38 -0
  42. package/dist/models/LoginCodeInput.js +55 -0
  43. package/dist/models/LoginDto.d.ts +30 -4
  44. package/dist/models/LoginDto.js +13 -5
  45. package/dist/models/LoginPasskeyInput.d.ts +46 -0
  46. package/dist/models/LoginPasskeyInput.js +57 -0
  47. package/dist/models/LoginPasskeyOptionsInput.d.ts +32 -0
  48. package/dist/models/LoginPasskeyOptionsInput.js +49 -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/PartnerDomainSeoMetricsDto.d.ts +40 -0
  54. package/dist/models/PartnerDomainSeoMetricsDto.js +57 -0
  55. package/dist/models/PartnerMajesticMetricsDto.d.ts +56 -0
  56. package/dist/models/PartnerMajesticMetricsDto.js +67 -0
  57. package/dist/models/PartnerMozMetricsDto.d.ts +62 -0
  58. package/dist/models/PartnerMozMetricsDto.js +71 -0
  59. package/dist/models/PasskeyOptionsDto.d.ts +40 -0
  60. package/dist/models/PasskeyOptionsDto.js +55 -0
  61. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  62. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  63. package/dist/models/ReauthenticateWithPasskeyInput.d.ts +40 -0
  64. package/dist/models/ReauthenticateWithPasskeyInput.js +55 -0
  65. package/dist/models/ReauthenticationDto.d.ts +38 -0
  66. package/dist/models/ReauthenticationDto.js +55 -0
  67. package/dist/models/RecoveryCodesDto.d.ts +32 -0
  68. package/dist/models/RecoveryCodesDto.js +51 -0
  69. package/dist/models/RegisterUserPasskeyInput.d.ts +46 -0
  70. package/dist/models/RegisterUserPasskeyInput.js +59 -0
  71. package/dist/models/RemoveUserPasskeyInput.d.ts +40 -0
  72. package/dist/models/RemoveUserPasskeyInput.js +55 -0
  73. package/dist/models/RenameUserPasskeyInput.d.ts +32 -0
  74. package/dist/models/{NotFoundException.js → RenameUserPasskeyInput.js} +13 -21
  75. package/dist/models/SecondFactorMethod.d.ts +26 -0
  76. package/dist/models/SecondFactorMethod.js +52 -0
  77. package/dist/models/SellerSecurityUserDto.d.ts +12 -0
  78. package/dist/models/SellerSecurityUserDto.js +4 -0
  79. package/dist/models/TotpCodeInput.d.ts +32 -0
  80. package/dist/models/TotpCodeInput.js +51 -0
  81. package/dist/models/TotpEnrolmentDto.d.ts +38 -0
  82. package/dist/models/TotpEnrolmentDto.js +55 -0
  83. package/dist/models/UserAuthenticationMethod.d.ts +27 -0
  84. package/dist/models/UserAuthenticationMethod.js +53 -0
  85. package/dist/models/UserLoginAttemptDto.d.ts +88 -0
  86. package/dist/models/UserLoginAttemptDto.js +89 -0
  87. package/dist/models/UserLoginAttemptMethod.d.ts +29 -0
  88. package/dist/models/UserLoginAttemptMethod.js +55 -0
  89. package/dist/models/UserLoginAttemptResult.d.ts +30 -0
  90. package/dist/models/UserLoginAttemptResult.js +56 -0
  91. package/dist/models/UserLoginLocationConfirmationDetailsDto.d.ts +62 -0
  92. package/dist/models/UserLoginLocationConfirmationDetailsDto.js +71 -0
  93. package/dist/models/UserNotificationDto.d.ts +1 -0
  94. package/dist/models/UserNotificationDto.js +1 -0
  95. package/dist/models/UserNotificationListItemDto.d.ts +1 -0
  96. package/dist/models/UserNotificationListItemDto.js +1 -0
  97. package/dist/models/UserPasskeyDto.d.ts +62 -0
  98. package/dist/models/UserPasskeyDto.js +71 -0
  99. package/dist/models/UserSecurityDto.d.ts +94 -0
  100. package/dist/models/UserSecurityDto.js +93 -0
  101. package/dist/models/index.d.ts +35 -1
  102. package/dist/models/index.js +35 -1
  103. package/package.json +1 -1
  104. package/src/apis/AccountsApi.ts +0 -3
  105. package/src/apis/AccountsPublicApi.ts +0 -3
  106. package/src/apis/AdminApi.ts +172 -3
  107. package/src/apis/AuctionsApi.ts +0 -3
  108. package/src/apis/BuyersApi.ts +0 -3
  109. package/src/apis/BuyersPublicApi.ts +6 -6
  110. package/src/apis/CustomerSuccessApi.ts +0 -3
  111. package/src/apis/DomainAppraisalRequestsApi.ts +0 -3
  112. package/src/apis/DomainAppraisalRequestsPublicApi.ts +0 -3
  113. package/src/apis/DomainsApi.ts +0 -3
  114. package/src/apis/DomainsPublicApi.ts +0 -3
  115. package/src/apis/InvoicesApi.ts +0 -3
  116. package/src/apis/JobsApi.ts +0 -3
  117. package/src/apis/LeadsPublicApi.ts +0 -3
  118. package/src/apis/NotificationsApi.ts +0 -3
  119. package/src/apis/OrdersPublicApi.ts +0 -3
  120. package/src/apis/PartnerApi.ts +46 -0
  121. package/src/apis/SubscriptionsPublicApi.ts +0 -3
  122. package/src/apis/UsersApi.ts +1219 -48
  123. package/src/apis/UsersPublicApi.ts +375 -5
  124. package/src/models/ActivateUserTotpInput.ts +66 -0
  125. package/src/models/AdminUserSecurityDto.ts +157 -0
  126. package/src/models/BuyerLoginDto.ts +75 -0
  127. package/src/models/BuyerNotificationDto.ts +1 -0
  128. package/src/models/BuyerNotificationListItemDto.ts +1 -0
  129. package/src/models/ChangeUserAuthenticationMethodInput.ts +76 -0
  130. package/src/models/ChangeUserLoginLocationVerificationInput.ts +66 -0
  131. package/src/models/ChangeUserPasswordInput.ts +75 -0
  132. package/src/models/ConfirmLoginLocationInput.ts +66 -0
  133. package/src/models/CurrentPasswordInput.ts +66 -0
  134. package/src/models/FeatureFlagListItemDto.ts +2 -1
  135. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  136. package/src/models/ListUserLoginAttempts200Response.ts +106 -0
  137. package/src/models/LoginChallengeInput.ts +66 -0
  138. package/src/models/LoginCodeInput.ts +75 -0
  139. package/src/models/LoginDto.ts +56 -8
  140. package/src/models/LoginPasskeyInput.ts +83 -0
  141. package/src/models/LoginPasskeyOptionsInput.ts +65 -0
  142. package/src/models/LoginRecoveryCodeInput.ts +75 -0
  143. package/src/models/LoginStatus.ts +54 -0
  144. package/src/models/PartnerDomainSeoMetricsDto.ts +90 -0
  145. package/src/models/PartnerMajesticMetricsDto.ts +102 -0
  146. package/src/models/PartnerMozMetricsDto.ts +111 -0
  147. package/src/models/PasskeyOptionsDto.ts +75 -0
  148. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  149. package/src/models/ReauthenticateWithPasskeyInput.ts +75 -0
  150. package/src/models/ReauthenticationDto.ts +75 -0
  151. package/src/models/RecoveryCodesDto.ts +66 -0
  152. package/src/models/RegisterUserPasskeyInput.ts +84 -0
  153. package/src/models/RemoveUserPasskeyInput.ts +75 -0
  154. package/src/models/RenameUserPasskeyInput.ts +66 -0
  155. package/src/models/SecondFactorMethod.ts +54 -0
  156. package/src/models/SellerSecurityUserDto.ts +16 -0
  157. package/src/models/TotpCodeInput.ts +66 -0
  158. package/src/models/TotpEnrolmentDto.ts +75 -0
  159. package/src/models/UserAuthenticationMethod.ts +55 -0
  160. package/src/models/UserLoginAttemptDto.ts +164 -0
  161. package/src/models/UserLoginAttemptMethod.ts +57 -0
  162. package/src/models/UserLoginAttemptResult.ts +58 -0
  163. package/src/models/UserLoginLocationConfirmationDetailsDto.ts +111 -0
  164. package/src/models/UserNotificationDto.ts +1 -0
  165. package/src/models/UserNotificationListItemDto.ts +1 -0
  166. package/src/models/UserPasskeyDto.ts +111 -0
  167. package/src/models/UserSecurityDto.ts +173 -0
  168. package/src/models/index.ts +35 -1
  169. package/dist/models/NotFoundException.d.ts +0 -44
  170. package/src/models/NotFoundException.ts +0 -84
@@ -0,0 +1,75 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface BuyerLoginDto
20
+ */
21
+ export interface BuyerLoginDto {
22
+ /**
23
+ * JWT authentication token.
24
+ * @type {string}
25
+ * @memberof BuyerLoginDto
26
+ */
27
+ token: string;
28
+ /**
29
+ * User locale (BCP 47).
30
+ * @type {string}
31
+ * @memberof BuyerLoginDto
32
+ */
33
+ locale: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the BuyerLoginDto interface.
38
+ */
39
+ export function instanceOfBuyerLoginDto(value: object): value is BuyerLoginDto {
40
+ if (!('token' in value) || value['token'] === undefined) return false;
41
+ if (!('locale' in value) || value['locale'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function BuyerLoginDtoFromJSON(json: any): BuyerLoginDto {
46
+ return BuyerLoginDtoFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function BuyerLoginDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerLoginDto {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'token': json['token'],
56
+ 'locale': json['locale'],
57
+ };
58
+ }
59
+
60
+ export function BuyerLoginDtoToJSON(json: any): BuyerLoginDto {
61
+ return BuyerLoginDtoToJSONTyped(json, false);
62
+ }
63
+
64
+ export function BuyerLoginDtoToJSONTyped(value?: BuyerLoginDto | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'token': value['token'],
72
+ 'locale': value['locale'],
73
+ };
74
+ }
75
+
@@ -130,6 +130,7 @@ export const BuyerNotificationDtoTypeEnum = {
130
130
  RENT_SUBSCRIPTION_RENT_INDEXATION_APPLIED: 'rent_subscription_rent_indexation_applied',
131
131
  PASSWORD_RESET: 'password_reset',
132
132
  USER_EMAIL_CHANGED: 'user_email_changed',
133
+ USER_LOGIN_LOCATION_CONFIRMATION: 'user_login_location_confirmation',
133
134
  USER_EMAIL_CHANGE_CONFIRMED: 'user_email_change_confirmed',
134
135
  BUYER_INVOICE: 'buyer_invoice',
135
136
  BUYER_RENT_INSTALLMENT_INVOICE: 'buyer_rent_installment_invoice',
@@ -116,6 +116,7 @@ export const BuyerNotificationListItemDtoTypeEnum = {
116
116
  RENT_SUBSCRIPTION_RENT_INDEXATION_APPLIED: 'rent_subscription_rent_indexation_applied',
117
117
  PASSWORD_RESET: 'password_reset',
118
118
  USER_EMAIL_CHANGED: 'user_email_changed',
119
+ USER_LOGIN_LOCATION_CONFIRMATION: 'user_login_location_confirmation',
119
120
  USER_EMAIL_CHANGE_CONFIRMED: 'user_email_change_confirmed',
120
121
  BUYER_INVOICE: 'buyer_invoice',
121
122
  BUYER_RENT_INSTALLMENT_INVOICE: 'buyer_rent_installment_invoice',
@@ -0,0 +1,76 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { UserAuthenticationMethod } from './UserAuthenticationMethod';
17
+ import {
18
+ UserAuthenticationMethodFromJSON,
19
+ UserAuthenticationMethodFromJSONTyped,
20
+ UserAuthenticationMethodToJSON,
21
+ UserAuthenticationMethodToJSONTyped,
22
+ } from './UserAuthenticationMethod';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ChangeUserAuthenticationMethodInput
28
+ */
29
+ export interface ChangeUserAuthenticationMethodInput {
30
+ /**
31
+ * Method to sign in with from now on.
32
+ * @type {UserAuthenticationMethod}
33
+ * @memberof ChangeUserAuthenticationMethodInput
34
+ */
35
+ method: UserAuthenticationMethod;
36
+ }
37
+
38
+
39
+
40
+ /**
41
+ * Check if a given object implements the ChangeUserAuthenticationMethodInput interface.
42
+ */
43
+ export function instanceOfChangeUserAuthenticationMethodInput(value: object): value is ChangeUserAuthenticationMethodInput {
44
+ if (!('method' in value) || value['method'] === undefined) return false;
45
+ return true;
46
+ }
47
+
48
+ export function ChangeUserAuthenticationMethodInputFromJSON(json: any): ChangeUserAuthenticationMethodInput {
49
+ return ChangeUserAuthenticationMethodInputFromJSONTyped(json, false);
50
+ }
51
+
52
+ export function ChangeUserAuthenticationMethodInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeUserAuthenticationMethodInput {
53
+ if (json == null) {
54
+ return json;
55
+ }
56
+ return {
57
+
58
+ 'method': UserAuthenticationMethodFromJSON(json['method']),
59
+ };
60
+ }
61
+
62
+ export function ChangeUserAuthenticationMethodInputToJSON(json: any): ChangeUserAuthenticationMethodInput {
63
+ return ChangeUserAuthenticationMethodInputToJSONTyped(json, false);
64
+ }
65
+
66
+ export function ChangeUserAuthenticationMethodInputToJSONTyped(value?: ChangeUserAuthenticationMethodInput | null, ignoreDiscriminator: boolean = false): any {
67
+ if (value == null) {
68
+ return value;
69
+ }
70
+
71
+ return {
72
+
73
+ 'method': UserAuthenticationMethodToJSON(value['method']),
74
+ };
75
+ }
76
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ChangeUserLoginLocationVerificationInput
20
+ */
21
+ export interface ChangeUserLoginLocationVerificationInput {
22
+ /**
23
+ * Whether a sign-in from a new network has to be confirmed by email.
24
+ * @type {boolean}
25
+ * @memberof ChangeUserLoginLocationVerificationInput
26
+ */
27
+ enabled: boolean;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the ChangeUserLoginLocationVerificationInput interface.
32
+ */
33
+ export function instanceOfChangeUserLoginLocationVerificationInput(value: object): value is ChangeUserLoginLocationVerificationInput {
34
+ if (!('enabled' in value) || value['enabled'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function ChangeUserLoginLocationVerificationInputFromJSON(json: any): ChangeUserLoginLocationVerificationInput {
39
+ return ChangeUserLoginLocationVerificationInputFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function ChangeUserLoginLocationVerificationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeUserLoginLocationVerificationInput {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'enabled': json['enabled'],
49
+ };
50
+ }
51
+
52
+ export function ChangeUserLoginLocationVerificationInputToJSON(json: any): ChangeUserLoginLocationVerificationInput {
53
+ return ChangeUserLoginLocationVerificationInputToJSONTyped(json, false);
54
+ }
55
+
56
+ export function ChangeUserLoginLocationVerificationInputToJSONTyped(value?: ChangeUserLoginLocationVerificationInput | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'enabled': value['enabled'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,75 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ChangeUserPasswordInput
20
+ */
21
+ export interface ChangeUserPasswordInput {
22
+ /**
23
+ * Current password of the user.
24
+ * @type {string}
25
+ * @memberof ChangeUserPasswordInput
26
+ */
27
+ currentPassword: string;
28
+ /**
29
+ * New password (minimum 8 characters)
30
+ * @type {string}
31
+ * @memberof ChangeUserPasswordInput
32
+ */
33
+ newPassword: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the ChangeUserPasswordInput interface.
38
+ */
39
+ export function instanceOfChangeUserPasswordInput(value: object): value is ChangeUserPasswordInput {
40
+ if (!('currentPassword' in value) || value['currentPassword'] === undefined) return false;
41
+ if (!('newPassword' in value) || value['newPassword'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function ChangeUserPasswordInputFromJSON(json: any): ChangeUserPasswordInput {
46
+ return ChangeUserPasswordInputFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function ChangeUserPasswordInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeUserPasswordInput {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'currentPassword': json['currentPassword'],
56
+ 'newPassword': json['newPassword'],
57
+ };
58
+ }
59
+
60
+ export function ChangeUserPasswordInputToJSON(json: any): ChangeUserPasswordInput {
61
+ return ChangeUserPasswordInputToJSONTyped(json, false);
62
+ }
63
+
64
+ export function ChangeUserPasswordInputToJSONTyped(value?: ChangeUserPasswordInput | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'currentPassword': value['currentPassword'],
72
+ 'newPassword': value['newPassword'],
73
+ };
74
+ }
75
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ConfirmLoginLocationInput
20
+ */
21
+ export interface ConfirmLoginLocationInput {
22
+ /**
23
+ * Secret of the link in the email.
24
+ * @type {string}
25
+ * @memberof ConfirmLoginLocationInput
26
+ */
27
+ token: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the ConfirmLoginLocationInput interface.
32
+ */
33
+ export function instanceOfConfirmLoginLocationInput(value: object): value is ConfirmLoginLocationInput {
34
+ if (!('token' in value) || value['token'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function ConfirmLoginLocationInputFromJSON(json: any): ConfirmLoginLocationInput {
39
+ return ConfirmLoginLocationInputFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function ConfirmLoginLocationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConfirmLoginLocationInput {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'token': json['token'],
49
+ };
50
+ }
51
+
52
+ export function ConfirmLoginLocationInputToJSON(json: any): ConfirmLoginLocationInput {
53
+ return ConfirmLoginLocationInputToJSONTyped(json, false);
54
+ }
55
+
56
+ export function ConfirmLoginLocationInputToJSONTyped(value?: ConfirmLoginLocationInput | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'token': value['token'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface CurrentPasswordInput
20
+ */
21
+ export interface CurrentPasswordInput {
22
+ /**
23
+ * Current password of the user.
24
+ * @type {string}
25
+ * @memberof CurrentPasswordInput
26
+ */
27
+ currentPassword: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the CurrentPasswordInput interface.
32
+ */
33
+ export function instanceOfCurrentPasswordInput(value: object): value is CurrentPasswordInput {
34
+ if (!('currentPassword' in value) || value['currentPassword'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function CurrentPasswordInputFromJSON(json: any): CurrentPasswordInput {
39
+ return CurrentPasswordInputFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function CurrentPasswordInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CurrentPasswordInput {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'currentPassword': json['currentPassword'],
49
+ };
50
+ }
51
+
52
+ export function CurrentPasswordInputToJSON(json: any): CurrentPasswordInput {
53
+ return CurrentPasswordInputToJSONTyped(json, false);
54
+ }
55
+
56
+ export function CurrentPasswordInputToJSONTyped(value?: CurrentPasswordInput | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'currentPassword': value['currentPassword'],
64
+ };
65
+ }
66
+
@@ -100,7 +100,8 @@ export const FeatureFlagListItemDtoNameEnum = {
100
100
  LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
101
101
  DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
102
102
  DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
103
- BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK'
103
+ BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
104
+ MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF'
104
105
  } as const;
105
106
  export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
106
107
 
@@ -186,7 +186,8 @@ export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatur
186
186
  LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
187
187
  DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
188
188
  DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
189
- BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK'
189
+ BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
190
+ MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF'
190
191
  } as const;
191
192
  export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
192
193
 
@@ -0,0 +1,106 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { PaginateResponseLinks } from './PaginateResponseLinks';
17
+ import {
18
+ PaginateResponseLinksFromJSON,
19
+ PaginateResponseLinksFromJSONTyped,
20
+ PaginateResponseLinksToJSON,
21
+ PaginateResponseLinksToJSONTyped,
22
+ } from './PaginateResponseLinks';
23
+ import type { UserLoginAttemptDto } from './UserLoginAttemptDto';
24
+ import {
25
+ UserLoginAttemptDtoFromJSON,
26
+ UserLoginAttemptDtoFromJSONTyped,
27
+ UserLoginAttemptDtoToJSON,
28
+ UserLoginAttemptDtoToJSONTyped,
29
+ } from './UserLoginAttemptDto';
30
+ import type { PaginateResponseMeta } from './PaginateResponseMeta';
31
+ import {
32
+ PaginateResponseMetaFromJSON,
33
+ PaginateResponseMetaFromJSONTyped,
34
+ PaginateResponseMetaToJSON,
35
+ PaginateResponseMetaToJSONTyped,
36
+ } from './PaginateResponseMeta';
37
+
38
+ /**
39
+ *
40
+ * @export
41
+ * @interface ListUserLoginAttempts200Response
42
+ */
43
+ export interface ListUserLoginAttempts200Response {
44
+ /**
45
+ *
46
+ * @type {Array<UserLoginAttemptDto>}
47
+ * @memberof ListUserLoginAttempts200Response
48
+ */
49
+ data: Array<UserLoginAttemptDto>;
50
+ /**
51
+ *
52
+ * @type {PaginateResponseMeta}
53
+ * @memberof ListUserLoginAttempts200Response
54
+ */
55
+ meta: PaginateResponseMeta;
56
+ /**
57
+ *
58
+ * @type {PaginateResponseLinks}
59
+ * @memberof ListUserLoginAttempts200Response
60
+ */
61
+ links: PaginateResponseLinks;
62
+ }
63
+
64
+ /**
65
+ * Check if a given object implements the ListUserLoginAttempts200Response interface.
66
+ */
67
+ export function instanceOfListUserLoginAttempts200Response(value: object): value is ListUserLoginAttempts200Response {
68
+ if (!('data' in value) || value['data'] === undefined) return false;
69
+ if (!('meta' in value) || value['meta'] === undefined) return false;
70
+ if (!('links' in value) || value['links'] === undefined) return false;
71
+ return true;
72
+ }
73
+
74
+ export function ListUserLoginAttempts200ResponseFromJSON(json: any): ListUserLoginAttempts200Response {
75
+ return ListUserLoginAttempts200ResponseFromJSONTyped(json, false);
76
+ }
77
+
78
+ export function ListUserLoginAttempts200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListUserLoginAttempts200Response {
79
+ if (json == null) {
80
+ return json;
81
+ }
82
+ return {
83
+
84
+ 'data': ((json['data'] as Array<any>).map(UserLoginAttemptDtoFromJSON)),
85
+ 'meta': PaginateResponseMetaFromJSON(json['meta']),
86
+ 'links': PaginateResponseLinksFromJSON(json['links']),
87
+ };
88
+ }
89
+
90
+ export function ListUserLoginAttempts200ResponseToJSON(json: any): ListUserLoginAttempts200Response {
91
+ return ListUserLoginAttempts200ResponseToJSONTyped(json, false);
92
+ }
93
+
94
+ export function ListUserLoginAttempts200ResponseToJSONTyped(value?: ListUserLoginAttempts200Response | null, ignoreDiscriminator: boolean = false): any {
95
+ if (value == null) {
96
+ return value;
97
+ }
98
+
99
+ return {
100
+
101
+ 'data': ((value['data'] as Array<any>).map(UserLoginAttemptDtoToJSON)),
102
+ 'meta': PaginateResponseMetaToJSON(value['meta']),
103
+ 'links': PaginateResponseLinksToJSON(value['links']),
104
+ };
105
+ }
106
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface LoginChallengeInput
20
+ */
21
+ export interface LoginChallengeInput {
22
+ /**
23
+ * Challenge token returned by the previous sign-in step.
24
+ * @type {string}
25
+ * @memberof LoginChallengeInput
26
+ */
27
+ challengeToken: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the LoginChallengeInput interface.
32
+ */
33
+ export function instanceOfLoginChallengeInput(value: object): value is LoginChallengeInput {
34
+ if (!('challengeToken' in value) || value['challengeToken'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function LoginChallengeInputFromJSON(json: any): LoginChallengeInput {
39
+ return LoginChallengeInputFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function LoginChallengeInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginChallengeInput {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'challengeToken': json['challengeToken'],
49
+ };
50
+ }
51
+
52
+ export function LoginChallengeInputToJSON(json: any): LoginChallengeInput {
53
+ return LoginChallengeInputToJSONTyped(json, false);
54
+ }
55
+
56
+ export function LoginChallengeInputToJSONTyped(value?: LoginChallengeInput | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'challengeToken': value['challengeToken'],
64
+ };
65
+ }
66
+