@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,49 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfLoginPasskeyOptionsInput = instanceOfLoginPasskeyOptionsInput;
17
+ exports.LoginPasskeyOptionsInputFromJSON = LoginPasskeyOptionsInputFromJSON;
18
+ exports.LoginPasskeyOptionsInputFromJSONTyped = LoginPasskeyOptionsInputFromJSONTyped;
19
+ exports.LoginPasskeyOptionsInputToJSON = LoginPasskeyOptionsInputToJSON;
20
+ exports.LoginPasskeyOptionsInputToJSONTyped = LoginPasskeyOptionsInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the LoginPasskeyOptionsInput interface.
23
+ */
24
+ function instanceOfLoginPasskeyOptionsInput(value) {
25
+ return true;
26
+ }
27
+ function LoginPasskeyOptionsInputFromJSON(json) {
28
+ return LoginPasskeyOptionsInputFromJSONTyped(json, false);
29
+ }
30
+ function LoginPasskeyOptionsInputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'challengeToken': json['challengeToken'] == null ? undefined : json['challengeToken'],
36
+ };
37
+ }
38
+ function LoginPasskeyOptionsInputToJSON(json) {
39
+ return LoginPasskeyOptionsInputToJSONTyped(json, false);
40
+ }
41
+ function LoginPasskeyOptionsInputToJSONTyped(value, ignoreDiscriminator) {
42
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'challengeToken': value['challengeToken'],
48
+ };
49
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface LoginRecoveryCodeInput
16
+ */
17
+ export interface LoginRecoveryCodeInput {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof LoginRecoveryCodeInput
22
+ */
23
+ email: string;
24
+ /**
25
+ * One of the recovery codes.
26
+ * @type {string}
27
+ * @memberof LoginRecoveryCodeInput
28
+ */
29
+ code: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the LoginRecoveryCodeInput interface.
33
+ */
34
+ export declare function instanceOfLoginRecoveryCodeInput(value: object): value is LoginRecoveryCodeInput;
35
+ export declare function LoginRecoveryCodeInputFromJSON(json: any): LoginRecoveryCodeInput;
36
+ export declare function LoginRecoveryCodeInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginRecoveryCodeInput;
37
+ export declare function LoginRecoveryCodeInputToJSON(json: any): LoginRecoveryCodeInput;
38
+ export declare function LoginRecoveryCodeInputToJSONTyped(value?: LoginRecoveryCodeInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfLoginRecoveryCodeInput = instanceOfLoginRecoveryCodeInput;
17
+ exports.LoginRecoveryCodeInputFromJSON = LoginRecoveryCodeInputFromJSON;
18
+ exports.LoginRecoveryCodeInputFromJSONTyped = LoginRecoveryCodeInputFromJSONTyped;
19
+ exports.LoginRecoveryCodeInputToJSON = LoginRecoveryCodeInputToJSON;
20
+ exports.LoginRecoveryCodeInputToJSONTyped = LoginRecoveryCodeInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the LoginRecoveryCodeInput interface.
23
+ */
24
+ function instanceOfLoginRecoveryCodeInput(value) {
25
+ if (!('email' in value) || value['email'] === undefined)
26
+ return false;
27
+ if (!('code' in value) || value['code'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function LoginRecoveryCodeInputFromJSON(json) {
32
+ return LoginRecoveryCodeInputFromJSONTyped(json, false);
33
+ }
34
+ function LoginRecoveryCodeInputFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'email': json['email'],
40
+ 'code': json['code'],
41
+ };
42
+ }
43
+ function LoginRecoveryCodeInputToJSON(json) {
44
+ return LoginRecoveryCodeInputToJSONTyped(json, false);
45
+ }
46
+ function LoginRecoveryCodeInputToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'email': value['email'],
53
+ 'code': value['code'],
54
+ };
55
+ }
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Where the sign-in stands.
14
+ * @export
15
+ */
16
+ export declare const LoginStatus: {
17
+ readonly AUTHENTICATED: "authenticated";
18
+ readonly SECOND_FACTOR_REQUIRED: "second_factor_required";
19
+ readonly LOCATION_CONFIRMATION_REQUIRED: "location_confirmation_required";
20
+ };
21
+ export type LoginStatus = typeof LoginStatus[keyof typeof LoginStatus];
22
+ export declare function instanceOfLoginStatus(value: any): boolean;
23
+ export declare function LoginStatusFromJSON(json: any): LoginStatus;
24
+ export declare function LoginStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginStatus;
25
+ export declare function LoginStatusToJSON(value?: LoginStatus | null): any;
26
+ export declare function LoginStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): LoginStatus;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LoginStatus = void 0;
17
+ exports.instanceOfLoginStatus = instanceOfLoginStatus;
18
+ exports.LoginStatusFromJSON = LoginStatusFromJSON;
19
+ exports.LoginStatusFromJSONTyped = LoginStatusFromJSONTyped;
20
+ exports.LoginStatusToJSON = LoginStatusToJSON;
21
+ exports.LoginStatusToJSONTyped = LoginStatusToJSONTyped;
22
+ /**
23
+ * Where the sign-in stands.
24
+ * @export
25
+ */
26
+ exports.LoginStatus = {
27
+ AUTHENTICATED: 'authenticated',
28
+ SECOND_FACTOR_REQUIRED: 'second_factor_required',
29
+ LOCATION_CONFIRMATION_REQUIRED: 'location_confirmation_required'
30
+ };
31
+ function instanceOfLoginStatus(value) {
32
+ for (var key in exports.LoginStatus) {
33
+ if (Object.prototype.hasOwnProperty.call(exports.LoginStatus, key)) {
34
+ if (exports.LoginStatus[key] === value) {
35
+ return true;
36
+ }
37
+ }
38
+ }
39
+ return false;
40
+ }
41
+ function LoginStatusFromJSON(json) {
42
+ return LoginStatusFromJSONTyped(json, false);
43
+ }
44
+ function LoginStatusFromJSONTyped(json, ignoreDiscriminator) {
45
+ return json;
46
+ }
47
+ function LoginStatusToJSON(value) {
48
+ return value;
49
+ }
50
+ function LoginStatusToJSONTyped(value, ignoreDiscriminator) {
51
+ return value;
52
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { PartnerMajesticMetricsDto } from './PartnerMajesticMetricsDto';
13
+ import type { PartnerMozMetricsDto } from './PartnerMozMetricsDto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PartnerDomainSeoMetricsDto
18
+ */
19
+ export interface PartnerDomainSeoMetricsDto {
20
+ /**
21
+ * Moz metrics, or null when Moz has none for the domain.
22
+ * @type {PartnerMozMetricsDto}
23
+ * @memberof PartnerDomainSeoMetricsDto
24
+ */
25
+ moz: PartnerMozMetricsDto | null;
26
+ /**
27
+ * Majestic metrics, or null when Majestic has none for the domain.
28
+ * @type {PartnerMajesticMetricsDto}
29
+ * @memberof PartnerDomainSeoMetricsDto
30
+ */
31
+ majestic: PartnerMajesticMetricsDto | null;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PartnerDomainSeoMetricsDto interface.
35
+ */
36
+ export declare function instanceOfPartnerDomainSeoMetricsDto(value: object): value is PartnerDomainSeoMetricsDto;
37
+ export declare function PartnerDomainSeoMetricsDtoFromJSON(json: any): PartnerDomainSeoMetricsDto;
38
+ export declare function PartnerDomainSeoMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartnerDomainSeoMetricsDto;
39
+ export declare function PartnerDomainSeoMetricsDtoToJSON(json: any): PartnerDomainSeoMetricsDto;
40
+ export declare function PartnerDomainSeoMetricsDtoToJSONTyped(value?: PartnerDomainSeoMetricsDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfPartnerDomainSeoMetricsDto = instanceOfPartnerDomainSeoMetricsDto;
17
+ exports.PartnerDomainSeoMetricsDtoFromJSON = PartnerDomainSeoMetricsDtoFromJSON;
18
+ exports.PartnerDomainSeoMetricsDtoFromJSONTyped = PartnerDomainSeoMetricsDtoFromJSONTyped;
19
+ exports.PartnerDomainSeoMetricsDtoToJSON = PartnerDomainSeoMetricsDtoToJSON;
20
+ exports.PartnerDomainSeoMetricsDtoToJSONTyped = PartnerDomainSeoMetricsDtoToJSONTyped;
21
+ var PartnerMajesticMetricsDto_1 = require("./PartnerMajesticMetricsDto");
22
+ var PartnerMozMetricsDto_1 = require("./PartnerMozMetricsDto");
23
+ /**
24
+ * Check if a given object implements the PartnerDomainSeoMetricsDto interface.
25
+ */
26
+ function instanceOfPartnerDomainSeoMetricsDto(value) {
27
+ if (!('moz' in value) || value['moz'] === undefined)
28
+ return false;
29
+ if (!('majestic' in value) || value['majestic'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function PartnerDomainSeoMetricsDtoFromJSON(json) {
34
+ return PartnerDomainSeoMetricsDtoFromJSONTyped(json, false);
35
+ }
36
+ function PartnerDomainSeoMetricsDtoFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'moz': (0, PartnerMozMetricsDto_1.PartnerMozMetricsDtoFromJSON)(json['moz']),
42
+ 'majestic': (0, PartnerMajesticMetricsDto_1.PartnerMajesticMetricsDtoFromJSON)(json['majestic']),
43
+ };
44
+ }
45
+ function PartnerDomainSeoMetricsDtoToJSON(json) {
46
+ return PartnerDomainSeoMetricsDtoToJSONTyped(json, false);
47
+ }
48
+ function PartnerDomainSeoMetricsDtoToJSONTyped(value, ignoreDiscriminator) {
49
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'moz': (0, PartnerMozMetricsDto_1.PartnerMozMetricsDtoToJSON)(value['moz']),
55
+ 'majestic': (0, PartnerMajesticMetricsDto_1.PartnerMajesticMetricsDtoToJSON)(value['majestic']),
56
+ };
57
+ }
@@ -0,0 +1,56 @@
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 PartnerMajesticMetricsDto
16
+ */
17
+ export interface PartnerMajesticMetricsDto {
18
+ /**
19
+ * Majestic trust flow.
20
+ * @type {number}
21
+ * @memberof PartnerMajesticMetricsDto
22
+ */
23
+ trustFlow: number | null;
24
+ /**
25
+ * Majestic citation flow.
26
+ * @type {number}
27
+ * @memberof PartnerMajesticMetricsDto
28
+ */
29
+ citationFlow: number | null;
30
+ /**
31
+ * Referring domains reported by Majestic.
32
+ * @type {number}
33
+ * @memberof PartnerMajesticMetricsDto
34
+ */
35
+ referringDomains: number | null;
36
+ /**
37
+ * Backlinks reported by Majestic.
38
+ * @type {number}
39
+ * @memberof PartnerMajesticMetricsDto
40
+ */
41
+ backlinks: number;
42
+ /**
43
+ * When the Majestic metrics were fetched.
44
+ * @type {Date}
45
+ * @memberof PartnerMajesticMetricsDto
46
+ */
47
+ updatedAt: Date | null;
48
+ }
49
+ /**
50
+ * Check if a given object implements the PartnerMajesticMetricsDto interface.
51
+ */
52
+ export declare function instanceOfPartnerMajesticMetricsDto(value: object): value is PartnerMajesticMetricsDto;
53
+ export declare function PartnerMajesticMetricsDtoFromJSON(json: any): PartnerMajesticMetricsDto;
54
+ export declare function PartnerMajesticMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartnerMajesticMetricsDto;
55
+ export declare function PartnerMajesticMetricsDtoToJSON(json: any): PartnerMajesticMetricsDto;
56
+ export declare function PartnerMajesticMetricsDtoToJSONTyped(value?: PartnerMajesticMetricsDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
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.instanceOfPartnerMajesticMetricsDto = instanceOfPartnerMajesticMetricsDto;
17
+ exports.PartnerMajesticMetricsDtoFromJSON = PartnerMajesticMetricsDtoFromJSON;
18
+ exports.PartnerMajesticMetricsDtoFromJSONTyped = PartnerMajesticMetricsDtoFromJSONTyped;
19
+ exports.PartnerMajesticMetricsDtoToJSON = PartnerMajesticMetricsDtoToJSON;
20
+ exports.PartnerMajesticMetricsDtoToJSONTyped = PartnerMajesticMetricsDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PartnerMajesticMetricsDto interface.
23
+ */
24
+ function instanceOfPartnerMajesticMetricsDto(value) {
25
+ if (!('trustFlow' in value) || value['trustFlow'] === undefined)
26
+ return false;
27
+ if (!('citationFlow' in value) || value['citationFlow'] === undefined)
28
+ return false;
29
+ if (!('referringDomains' in value) || value['referringDomains'] === undefined)
30
+ return false;
31
+ if (!('backlinks' in value) || value['backlinks'] === undefined)
32
+ return false;
33
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function PartnerMajesticMetricsDtoFromJSON(json) {
38
+ return PartnerMajesticMetricsDtoFromJSONTyped(json, false);
39
+ }
40
+ function PartnerMajesticMetricsDtoFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'trustFlow': json['trustFlow'],
46
+ 'citationFlow': json['citationFlow'],
47
+ 'referringDomains': json['referringDomains'],
48
+ 'backlinks': json['backlinks'],
49
+ 'updatedAt': (json['updatedAt'] == null ? null : new Date(json['updatedAt'])),
50
+ };
51
+ }
52
+ function PartnerMajesticMetricsDtoToJSON(json) {
53
+ return PartnerMajesticMetricsDtoToJSONTyped(json, false);
54
+ }
55
+ function PartnerMajesticMetricsDtoToJSONTyped(value, ignoreDiscriminator) {
56
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'trustFlow': value['trustFlow'],
62
+ 'citationFlow': value['citationFlow'],
63
+ 'referringDomains': value['referringDomains'],
64
+ 'backlinks': value['backlinks'],
65
+ 'updatedAt': (value['updatedAt'] == null ? null : value['updatedAt'].toISOString()),
66
+ };
67
+ }
@@ -0,0 +1,62 @@
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 PartnerMozMetricsDto
16
+ */
17
+ export interface PartnerMozMetricsDto {
18
+ /**
19
+ * Moz domain authority (0–100).
20
+ * @type {number}
21
+ * @memberof PartnerMozMetricsDto
22
+ */
23
+ domainAuthority: number;
24
+ /**
25
+ * Moz page authority (0–100); null when Moz reported the domain as a subdomain of its root.
26
+ * @type {number}
27
+ * @memberof PartnerMozMetricsDto
28
+ */
29
+ pageAuthority: number | null;
30
+ /**
31
+ * Backlinks reported by Moz.
32
+ * @type {number}
33
+ * @memberof PartnerMozMetricsDto
34
+ */
35
+ backlinks: number;
36
+ /**
37
+ * Root domains linking to the domain.
38
+ * @type {number}
39
+ * @memberof PartnerMozMetricsDto
40
+ */
41
+ rootDomains: number | null;
42
+ /**
43
+ * Moz spam score (0–100), when available.
44
+ * @type {number}
45
+ * @memberof PartnerMozMetricsDto
46
+ */
47
+ spamScore: number | null;
48
+ /**
49
+ * When the Moz metrics were fetched.
50
+ * @type {Date}
51
+ * @memberof PartnerMozMetricsDto
52
+ */
53
+ updatedAt: Date | null;
54
+ }
55
+ /**
56
+ * Check if a given object implements the PartnerMozMetricsDto interface.
57
+ */
58
+ export declare function instanceOfPartnerMozMetricsDto(value: object): value is PartnerMozMetricsDto;
59
+ export declare function PartnerMozMetricsDtoFromJSON(json: any): PartnerMozMetricsDto;
60
+ export declare function PartnerMozMetricsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartnerMozMetricsDto;
61
+ export declare function PartnerMozMetricsDtoToJSON(json: any): PartnerMozMetricsDto;
62
+ export declare function PartnerMozMetricsDtoToJSONTyped(value?: PartnerMozMetricsDto | null, ignoreDiscriminator?: boolean): any;
@@ -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.instanceOfPartnerMozMetricsDto = instanceOfPartnerMozMetricsDto;
17
+ exports.PartnerMozMetricsDtoFromJSON = PartnerMozMetricsDtoFromJSON;
18
+ exports.PartnerMozMetricsDtoFromJSONTyped = PartnerMozMetricsDtoFromJSONTyped;
19
+ exports.PartnerMozMetricsDtoToJSON = PartnerMozMetricsDtoToJSON;
20
+ exports.PartnerMozMetricsDtoToJSONTyped = PartnerMozMetricsDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PartnerMozMetricsDto interface.
23
+ */
24
+ function instanceOfPartnerMozMetricsDto(value) {
25
+ if (!('domainAuthority' in value) || value['domainAuthority'] === undefined)
26
+ return false;
27
+ if (!('pageAuthority' in value) || value['pageAuthority'] === undefined)
28
+ return false;
29
+ if (!('backlinks' in value) || value['backlinks'] === undefined)
30
+ return false;
31
+ if (!('rootDomains' in value) || value['rootDomains'] === undefined)
32
+ return false;
33
+ if (!('spamScore' in value) || value['spamScore'] === undefined)
34
+ return false;
35
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
36
+ return false;
37
+ return true;
38
+ }
39
+ function PartnerMozMetricsDtoFromJSON(json) {
40
+ return PartnerMozMetricsDtoFromJSONTyped(json, false);
41
+ }
42
+ function PartnerMozMetricsDtoFromJSONTyped(json, ignoreDiscriminator) {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'domainAuthority': json['domainAuthority'],
48
+ 'pageAuthority': json['pageAuthority'],
49
+ 'backlinks': json['backlinks'],
50
+ 'rootDomains': json['rootDomains'],
51
+ 'spamScore': json['spamScore'],
52
+ 'updatedAt': (json['updatedAt'] == null ? null : new Date(json['updatedAt'])),
53
+ };
54
+ }
55
+ function PartnerMozMetricsDtoToJSON(json) {
56
+ return PartnerMozMetricsDtoToJSONTyped(json, false);
57
+ }
58
+ function PartnerMozMetricsDtoToJSONTyped(value, ignoreDiscriminator) {
59
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'domainAuthority': value['domainAuthority'],
65
+ 'pageAuthority': value['pageAuthority'],
66
+ 'backlinks': value['backlinks'],
67
+ 'rootDomains': value['rootDomains'],
68
+ 'spamScore': value['spamScore'],
69
+ 'updatedAt': (value['updatedAt'] == null ? null : value['updatedAt'].toISOString()),
70
+ };
71
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PasskeyOptionsDto
16
+ */
17
+ export interface PasskeyOptionsDto {
18
+ /**
19
+ * Token to send back with the answer of the browser.
20
+ * @type {string}
21
+ * @memberof PasskeyOptionsDto
22
+ */
23
+ webauthnToken: string;
24
+ /**
25
+ * Options for @simplewebauthn/browser startRegistration or startAuthentication.
26
+ * @type {{ [key: string]: any; }}
27
+ * @memberof PasskeyOptionsDto
28
+ */
29
+ options: {
30
+ [key: string]: any;
31
+ };
32
+ }
33
+ /**
34
+ * Check if a given object implements the PasskeyOptionsDto interface.
35
+ */
36
+ export declare function instanceOfPasskeyOptionsDto(value: object): value is PasskeyOptionsDto;
37
+ export declare function PasskeyOptionsDtoFromJSON(json: any): PasskeyOptionsDto;
38
+ export declare function PasskeyOptionsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasskeyOptionsDto;
39
+ export declare function PasskeyOptionsDtoToJSON(json: any): PasskeyOptionsDto;
40
+ export declare function PasskeyOptionsDtoToJSONTyped(value?: PasskeyOptionsDto | null, ignoreDiscriminator?: boolean): any;