@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,87 @@
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 { UserAuthenticationMethod } from './UserAuthenticationMethod';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AdminUserSecurityDto
17
+ */
18
+ export interface AdminUserSecurityDto {
19
+ /**
20
+ * User ID.
21
+ * @type {string}
22
+ * @memberof AdminUserSecurityDto
23
+ */
24
+ userId: string;
25
+ /**
26
+ * User email.
27
+ * @type {string}
28
+ * @memberof AdminUserSecurityDto
29
+ */
30
+ email: string;
31
+ /**
32
+ * User full name.
33
+ * @type {string}
34
+ * @memberof AdminUserSecurityDto
35
+ */
36
+ name: string;
37
+ /**
38
+ * Roles of the user.
39
+ * @type {Array<string>}
40
+ * @memberof AdminUserSecurityDto
41
+ */
42
+ roles: Array<string>;
43
+ /**
44
+ * Whether the user has a staff role, which requires a second factor or a passkey.
45
+ * @type {boolean}
46
+ * @memberof AdminUserSecurityDto
47
+ */
48
+ isStaff: boolean;
49
+ /**
50
+ * Method the user signs in with.
51
+ * @type {UserAuthenticationMethod}
52
+ * @memberof AdminUserSecurityDto
53
+ */
54
+ authenticationMethod: UserAuthenticationMethod;
55
+ /**
56
+ * Whether an authenticator app is set up.
57
+ * @type {boolean}
58
+ * @memberof AdminUserSecurityDto
59
+ */
60
+ totpEnabled: boolean;
61
+ /**
62
+ * Number of passkeys.
63
+ * @type {number}
64
+ * @memberof AdminUserSecurityDto
65
+ */
66
+ passkeys: number;
67
+ /**
68
+ * Whether a sign-in from a new network has to be confirmed by email.
69
+ * @type {boolean}
70
+ * @memberof AdminUserSecurityDto
71
+ */
72
+ loginLocationVerificationEnabled: boolean;
73
+ /**
74
+ * Last successful sign-in.
75
+ * @type {Date}
76
+ * @memberof AdminUserSecurityDto
77
+ */
78
+ lastLoginAt: Date | null;
79
+ }
80
+ /**
81
+ * Check if a given object implements the AdminUserSecurityDto interface.
82
+ */
83
+ export declare function instanceOfAdminUserSecurityDto(value: object): value is AdminUserSecurityDto;
84
+ export declare function AdminUserSecurityDtoFromJSON(json: any): AdminUserSecurityDto;
85
+ export declare function AdminUserSecurityDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminUserSecurityDto;
86
+ export declare function AdminUserSecurityDtoToJSON(json: any): AdminUserSecurityDto;
87
+ export declare function AdminUserSecurityDtoToJSONTyped(value?: AdminUserSecurityDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,88 @@
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.instanceOfAdminUserSecurityDto = instanceOfAdminUserSecurityDto;
17
+ exports.AdminUserSecurityDtoFromJSON = AdminUserSecurityDtoFromJSON;
18
+ exports.AdminUserSecurityDtoFromJSONTyped = AdminUserSecurityDtoFromJSONTyped;
19
+ exports.AdminUserSecurityDtoToJSON = AdminUserSecurityDtoToJSON;
20
+ exports.AdminUserSecurityDtoToJSONTyped = AdminUserSecurityDtoToJSONTyped;
21
+ var UserAuthenticationMethod_1 = require("./UserAuthenticationMethod");
22
+ /**
23
+ * Check if a given object implements the AdminUserSecurityDto interface.
24
+ */
25
+ function instanceOfAdminUserSecurityDto(value) {
26
+ if (!('userId' in value) || value['userId'] === undefined)
27
+ return false;
28
+ if (!('email' in value) || value['email'] === undefined)
29
+ return false;
30
+ if (!('name' in value) || value['name'] === undefined)
31
+ return false;
32
+ if (!('roles' in value) || value['roles'] === undefined)
33
+ return false;
34
+ if (!('isStaff' in value) || value['isStaff'] === undefined)
35
+ return false;
36
+ if (!('authenticationMethod' in value) || value['authenticationMethod'] === undefined)
37
+ return false;
38
+ if (!('totpEnabled' in value) || value['totpEnabled'] === undefined)
39
+ return false;
40
+ if (!('passkeys' in value) || value['passkeys'] === undefined)
41
+ return false;
42
+ if (!('loginLocationVerificationEnabled' in value) || value['loginLocationVerificationEnabled'] === undefined)
43
+ return false;
44
+ if (!('lastLoginAt' in value) || value['lastLoginAt'] === undefined)
45
+ return false;
46
+ return true;
47
+ }
48
+ function AdminUserSecurityDtoFromJSON(json) {
49
+ return AdminUserSecurityDtoFromJSONTyped(json, false);
50
+ }
51
+ function AdminUserSecurityDtoFromJSONTyped(json, ignoreDiscriminator) {
52
+ if (json == null) {
53
+ return json;
54
+ }
55
+ return {
56
+ 'userId': json['userId'],
57
+ 'email': json['email'],
58
+ 'name': json['name'],
59
+ 'roles': json['roles'],
60
+ 'isStaff': json['isStaff'],
61
+ 'authenticationMethod': (0, UserAuthenticationMethod_1.UserAuthenticationMethodFromJSON)(json['authenticationMethod']),
62
+ 'totpEnabled': json['totpEnabled'],
63
+ 'passkeys': json['passkeys'],
64
+ 'loginLocationVerificationEnabled': json['loginLocationVerificationEnabled'],
65
+ 'lastLoginAt': (json['lastLoginAt'] == null ? null : new Date(json['lastLoginAt'])),
66
+ };
67
+ }
68
+ function AdminUserSecurityDtoToJSON(json) {
69
+ return AdminUserSecurityDtoToJSONTyped(json, false);
70
+ }
71
+ function AdminUserSecurityDtoToJSONTyped(value, ignoreDiscriminator) {
72
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+ return {
77
+ 'userId': value['userId'],
78
+ 'email': value['email'],
79
+ 'name': value['name'],
80
+ 'roles': value['roles'],
81
+ 'isStaff': value['isStaff'],
82
+ 'authenticationMethod': (0, UserAuthenticationMethod_1.UserAuthenticationMethodToJSON)(value['authenticationMethod']),
83
+ 'totpEnabled': value['totpEnabled'],
84
+ 'passkeys': value['passkeys'],
85
+ 'loginLocationVerificationEnabled': value['loginLocationVerificationEnabled'],
86
+ 'lastLoginAt': (value['lastLoginAt'] == null ? null : value['lastLoginAt'].toISOString()),
87
+ };
88
+ }
@@ -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 BuyerLoginDto
16
+ */
17
+ export interface BuyerLoginDto {
18
+ /**
19
+ * JWT authentication token.
20
+ * @type {string}
21
+ * @memberof BuyerLoginDto
22
+ */
23
+ token: string;
24
+ /**
25
+ * User locale (BCP 47).
26
+ * @type {string}
27
+ * @memberof BuyerLoginDto
28
+ */
29
+ locale: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the BuyerLoginDto interface.
33
+ */
34
+ export declare function instanceOfBuyerLoginDto(value: object): value is BuyerLoginDto;
35
+ export declare function BuyerLoginDtoFromJSON(json: any): BuyerLoginDto;
36
+ export declare function BuyerLoginDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerLoginDto;
37
+ export declare function BuyerLoginDtoToJSON(json: any): BuyerLoginDto;
38
+ export declare function BuyerLoginDtoToJSONTyped(value?: BuyerLoginDto | 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.instanceOfBuyerLoginDto = instanceOfBuyerLoginDto;
17
+ exports.BuyerLoginDtoFromJSON = BuyerLoginDtoFromJSON;
18
+ exports.BuyerLoginDtoFromJSONTyped = BuyerLoginDtoFromJSONTyped;
19
+ exports.BuyerLoginDtoToJSON = BuyerLoginDtoToJSON;
20
+ exports.BuyerLoginDtoToJSONTyped = BuyerLoginDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the BuyerLoginDto interface.
23
+ */
24
+ function instanceOfBuyerLoginDto(value) {
25
+ if (!('token' in value) || value['token'] === undefined)
26
+ return false;
27
+ if (!('locale' in value) || value['locale'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function BuyerLoginDtoFromJSON(json) {
32
+ return BuyerLoginDtoFromJSONTyped(json, false);
33
+ }
34
+ function BuyerLoginDtoFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'token': json['token'],
40
+ 'locale': json['locale'],
41
+ };
42
+ }
43
+ function BuyerLoginDtoToJSON(json) {
44
+ return BuyerLoginDtoToJSONTyped(json, false);
45
+ }
46
+ function BuyerLoginDtoToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'token': value['token'],
53
+ 'locale': value['locale'],
54
+ };
55
+ }
@@ -117,6 +117,7 @@ export declare const BuyerNotificationDtoTypeEnum: {
117
117
  readonly RENT_SUBSCRIPTION_RENT_INDEXATION_APPLIED: "rent_subscription_rent_indexation_applied";
118
118
  readonly PASSWORD_RESET: "password_reset";
119
119
  readonly USER_EMAIL_CHANGED: "user_email_changed";
120
+ readonly USER_LOGIN_LOCATION_CONFIRMATION: "user_login_location_confirmation";
120
121
  readonly USER_EMAIL_CHANGE_CONFIRMED: "user_email_change_confirmed";
121
122
  readonly BUYER_INVOICE: "buyer_invoice";
122
123
  readonly BUYER_RENT_INSTALLMENT_INVOICE: "buyer_rent_installment_invoice";
@@ -78,6 +78,7 @@ exports.BuyerNotificationDtoTypeEnum = {
78
78
  RENT_SUBSCRIPTION_RENT_INDEXATION_APPLIED: 'rent_subscription_rent_indexation_applied',
79
79
  PASSWORD_RESET: 'password_reset',
80
80
  USER_EMAIL_CHANGED: 'user_email_changed',
81
+ USER_LOGIN_LOCATION_CONFIRMATION: 'user_login_location_confirmation',
81
82
  USER_EMAIL_CHANGE_CONFIRMED: 'user_email_change_confirmed',
82
83
  BUYER_INVOICE: 'buyer_invoice',
83
84
  BUYER_RENT_INSTALLMENT_INVOICE: 'buyer_rent_installment_invoice',
@@ -110,6 +110,7 @@ export declare const BuyerNotificationListItemDtoTypeEnum: {
110
110
  readonly RENT_SUBSCRIPTION_RENT_INDEXATION_APPLIED: "rent_subscription_rent_indexation_applied";
111
111
  readonly PASSWORD_RESET: "password_reset";
112
112
  readonly USER_EMAIL_CHANGED: "user_email_changed";
113
+ readonly USER_LOGIN_LOCATION_CONFIRMATION: "user_login_location_confirmation";
113
114
  readonly USER_EMAIL_CHANGE_CONFIRMED: "user_email_change_confirmed";
114
115
  readonly BUYER_INVOICE: "buyer_invoice";
115
116
  readonly BUYER_RENT_INSTALLMENT_INVOICE: "buyer_rent_installment_invoice";
@@ -77,6 +77,7 @@ exports.BuyerNotificationListItemDtoTypeEnum = {
77
77
  RENT_SUBSCRIPTION_RENT_INDEXATION_APPLIED: 'rent_subscription_rent_indexation_applied',
78
78
  PASSWORD_RESET: 'password_reset',
79
79
  USER_EMAIL_CHANGED: 'user_email_changed',
80
+ USER_LOGIN_LOCATION_CONFIRMATION: 'user_login_location_confirmation',
80
81
  USER_EMAIL_CHANGE_CONFIRMED: 'user_email_change_confirmed',
81
82
  BUYER_INVOICE: 'buyer_invoice',
82
83
  BUYER_RENT_INSTALLMENT_INVOICE: 'buyer_rent_installment_invoice',
@@ -0,0 +1,33 @@
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 { UserAuthenticationMethod } from './UserAuthenticationMethod';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ChangeUserAuthenticationMethodInput
17
+ */
18
+ export interface ChangeUserAuthenticationMethodInput {
19
+ /**
20
+ * Method to sign in with from now on.
21
+ * @type {UserAuthenticationMethod}
22
+ * @memberof ChangeUserAuthenticationMethodInput
23
+ */
24
+ method: UserAuthenticationMethod;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ChangeUserAuthenticationMethodInput interface.
28
+ */
29
+ export declare function instanceOfChangeUserAuthenticationMethodInput(value: object): value is ChangeUserAuthenticationMethodInput;
30
+ export declare function ChangeUserAuthenticationMethodInputFromJSON(json: any): ChangeUserAuthenticationMethodInput;
31
+ export declare function ChangeUserAuthenticationMethodInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeUserAuthenticationMethodInput;
32
+ export declare function ChangeUserAuthenticationMethodInputToJSON(json: any): ChangeUserAuthenticationMethodInput;
33
+ export declare function ChangeUserAuthenticationMethodInputToJSONTyped(value?: ChangeUserAuthenticationMethodInput | null, ignoreDiscriminator?: boolean): any;
@@ -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.instanceOfChangeUserAuthenticationMethodInput = instanceOfChangeUserAuthenticationMethodInput;
17
+ exports.ChangeUserAuthenticationMethodInputFromJSON = ChangeUserAuthenticationMethodInputFromJSON;
18
+ exports.ChangeUserAuthenticationMethodInputFromJSONTyped = ChangeUserAuthenticationMethodInputFromJSONTyped;
19
+ exports.ChangeUserAuthenticationMethodInputToJSON = ChangeUserAuthenticationMethodInputToJSON;
20
+ exports.ChangeUserAuthenticationMethodInputToJSONTyped = ChangeUserAuthenticationMethodInputToJSONTyped;
21
+ var UserAuthenticationMethod_1 = require("./UserAuthenticationMethod");
22
+ /**
23
+ * Check if a given object implements the ChangeUserAuthenticationMethodInput interface.
24
+ */
25
+ function instanceOfChangeUserAuthenticationMethodInput(value) {
26
+ if (!('method' in value) || value['method'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function ChangeUserAuthenticationMethodInputFromJSON(json) {
31
+ return ChangeUserAuthenticationMethodInputFromJSONTyped(json, false);
32
+ }
33
+ function ChangeUserAuthenticationMethodInputFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'method': (0, UserAuthenticationMethod_1.UserAuthenticationMethodFromJSON)(json['method']),
39
+ };
40
+ }
41
+ function ChangeUserAuthenticationMethodInputToJSON(json) {
42
+ return ChangeUserAuthenticationMethodInputToJSONTyped(json, false);
43
+ }
44
+ function ChangeUserAuthenticationMethodInputToJSONTyped(value, ignoreDiscriminator) {
45
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'method': (0, UserAuthenticationMethod_1.UserAuthenticationMethodToJSON)(value['method']),
51
+ };
52
+ }
@@ -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 ChangeUserLoginLocationVerificationInput
16
+ */
17
+ export interface ChangeUserLoginLocationVerificationInput {
18
+ /**
19
+ * Whether a sign-in from a new network has to be confirmed by email.
20
+ * @type {boolean}
21
+ * @memberof ChangeUserLoginLocationVerificationInput
22
+ */
23
+ enabled: boolean;
24
+ }
25
+ /**
26
+ * Check if a given object implements the ChangeUserLoginLocationVerificationInput interface.
27
+ */
28
+ export declare function instanceOfChangeUserLoginLocationVerificationInput(value: object): value is ChangeUserLoginLocationVerificationInput;
29
+ export declare function ChangeUserLoginLocationVerificationInputFromJSON(json: any): ChangeUserLoginLocationVerificationInput;
30
+ export declare function ChangeUserLoginLocationVerificationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeUserLoginLocationVerificationInput;
31
+ export declare function ChangeUserLoginLocationVerificationInputToJSON(json: any): ChangeUserLoginLocationVerificationInput;
32
+ export declare function ChangeUserLoginLocationVerificationInputToJSONTyped(value?: ChangeUserLoginLocationVerificationInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfChangeUserLoginLocationVerificationInput = instanceOfChangeUserLoginLocationVerificationInput;
17
+ exports.ChangeUserLoginLocationVerificationInputFromJSON = ChangeUserLoginLocationVerificationInputFromJSON;
18
+ exports.ChangeUserLoginLocationVerificationInputFromJSONTyped = ChangeUserLoginLocationVerificationInputFromJSONTyped;
19
+ exports.ChangeUserLoginLocationVerificationInputToJSON = ChangeUserLoginLocationVerificationInputToJSON;
20
+ exports.ChangeUserLoginLocationVerificationInputToJSONTyped = ChangeUserLoginLocationVerificationInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ChangeUserLoginLocationVerificationInput interface.
23
+ */
24
+ function instanceOfChangeUserLoginLocationVerificationInput(value) {
25
+ if (!('enabled' in value) || value['enabled'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function ChangeUserLoginLocationVerificationInputFromJSON(json) {
30
+ return ChangeUserLoginLocationVerificationInputFromJSONTyped(json, false);
31
+ }
32
+ function ChangeUserLoginLocationVerificationInputFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'enabled': json['enabled'],
38
+ };
39
+ }
40
+ function ChangeUserLoginLocationVerificationInputToJSON(json) {
41
+ return ChangeUserLoginLocationVerificationInputToJSONTyped(json, false);
42
+ }
43
+ function ChangeUserLoginLocationVerificationInputToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'enabled': value['enabled'],
50
+ };
51
+ }
@@ -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 ChangeUserPasswordInput
16
+ */
17
+ export interface ChangeUserPasswordInput {
18
+ /**
19
+ * Current password of the user.
20
+ * @type {string}
21
+ * @memberof ChangeUserPasswordInput
22
+ */
23
+ currentPassword: string;
24
+ /**
25
+ * New password (minimum 8 characters)
26
+ * @type {string}
27
+ * @memberof ChangeUserPasswordInput
28
+ */
29
+ newPassword: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ChangeUserPasswordInput interface.
33
+ */
34
+ export declare function instanceOfChangeUserPasswordInput(value: object): value is ChangeUserPasswordInput;
35
+ export declare function ChangeUserPasswordInputFromJSON(json: any): ChangeUserPasswordInput;
36
+ export declare function ChangeUserPasswordInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeUserPasswordInput;
37
+ export declare function ChangeUserPasswordInputToJSON(json: any): ChangeUserPasswordInput;
38
+ export declare function ChangeUserPasswordInputToJSONTyped(value?: ChangeUserPasswordInput | 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.instanceOfChangeUserPasswordInput = instanceOfChangeUserPasswordInput;
17
+ exports.ChangeUserPasswordInputFromJSON = ChangeUserPasswordInputFromJSON;
18
+ exports.ChangeUserPasswordInputFromJSONTyped = ChangeUserPasswordInputFromJSONTyped;
19
+ exports.ChangeUserPasswordInputToJSON = ChangeUserPasswordInputToJSON;
20
+ exports.ChangeUserPasswordInputToJSONTyped = ChangeUserPasswordInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ChangeUserPasswordInput interface.
23
+ */
24
+ function instanceOfChangeUserPasswordInput(value) {
25
+ if (!('currentPassword' in value) || value['currentPassword'] === undefined)
26
+ return false;
27
+ if (!('newPassword' in value) || value['newPassword'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function ChangeUserPasswordInputFromJSON(json) {
32
+ return ChangeUserPasswordInputFromJSONTyped(json, false);
33
+ }
34
+ function ChangeUserPasswordInputFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'currentPassword': json['currentPassword'],
40
+ 'newPassword': json['newPassword'],
41
+ };
42
+ }
43
+ function ChangeUserPasswordInputToJSON(json) {
44
+ return ChangeUserPasswordInputToJSONTyped(json, false);
45
+ }
46
+ function ChangeUserPasswordInputToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'currentPassword': value['currentPassword'],
53
+ 'newPassword': value['newPassword'],
54
+ };
55
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ConfirmLoginLocationInput
16
+ */
17
+ export interface ConfirmLoginLocationInput {
18
+ /**
19
+ * Secret of the link in the email.
20
+ * @type {string}
21
+ * @memberof ConfirmLoginLocationInput
22
+ */
23
+ token: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the ConfirmLoginLocationInput interface.
27
+ */
28
+ export declare function instanceOfConfirmLoginLocationInput(value: object): value is ConfirmLoginLocationInput;
29
+ export declare function ConfirmLoginLocationInputFromJSON(json: any): ConfirmLoginLocationInput;
30
+ export declare function ConfirmLoginLocationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConfirmLoginLocationInput;
31
+ export declare function ConfirmLoginLocationInputToJSON(json: any): ConfirmLoginLocationInput;
32
+ export declare function ConfirmLoginLocationInputToJSONTyped(value?: ConfirmLoginLocationInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfConfirmLoginLocationInput = instanceOfConfirmLoginLocationInput;
17
+ exports.ConfirmLoginLocationInputFromJSON = ConfirmLoginLocationInputFromJSON;
18
+ exports.ConfirmLoginLocationInputFromJSONTyped = ConfirmLoginLocationInputFromJSONTyped;
19
+ exports.ConfirmLoginLocationInputToJSON = ConfirmLoginLocationInputToJSON;
20
+ exports.ConfirmLoginLocationInputToJSONTyped = ConfirmLoginLocationInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ConfirmLoginLocationInput interface.
23
+ */
24
+ function instanceOfConfirmLoginLocationInput(value) {
25
+ if (!('token' in value) || value['token'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function ConfirmLoginLocationInputFromJSON(json) {
30
+ return ConfirmLoginLocationInputFromJSONTyped(json, false);
31
+ }
32
+ function ConfirmLoginLocationInputFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'token': json['token'],
38
+ };
39
+ }
40
+ function ConfirmLoginLocationInputToJSON(json) {
41
+ return ConfirmLoginLocationInputToJSONTyped(json, false);
42
+ }
43
+ function ConfirmLoginLocationInputToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'token': value['token'],
50
+ };
51
+ }