@randock/nameshift-api-client 0.0.473 → 0.0.475

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 (131) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +57 -1
  4. package/dist/apis/AdminApi.js +230 -0
  5. package/dist/apis/BuyersApi.d.ts +2 -2
  6. package/dist/apis/BuyersApi.js +2 -2
  7. package/dist/apis/BuyersPublicApi.d.ts +2 -2
  8. package/dist/apis/BuyersPublicApi.js +2 -2
  9. package/dist/apis/CustomerSuccessApi.d.ts +57 -1
  10. package/dist/apis/CustomerSuccessApi.js +230 -0
  11. package/dist/apis/LeadsPublicApi.d.ts +1 -0
  12. package/dist/apis/LeadsPublicApi.js +3 -0
  13. package/dist/models/AccountNoteAuthorDto.d.ts +50 -0
  14. package/dist/models/AccountNoteAuthorDto.js +63 -0
  15. package/dist/models/AccountNoteDto.d.ts +63 -0
  16. package/dist/models/AccountNoteDto.js +72 -0
  17. package/dist/models/AccountNoteListDto.d.ts +33 -0
  18. package/dist/models/AccountNoteListDto.js +52 -0
  19. package/dist/models/AccountSettingsDto.d.ts +7 -0
  20. package/dist/models/AccountSettingsDto.js +5 -0
  21. package/dist/models/AccountSettingsInput.d.ts +7 -0
  22. package/dist/models/AccountSettingsInput.js +3 -0
  23. package/dist/models/AdminDomainListItemDto.d.ts +7 -0
  24. package/dist/models/AdminDomainListItemDto.js +5 -0
  25. package/dist/models/AdminLeadListItemDto.d.ts +1 -0
  26. package/dist/models/AdminLeadListItemDto.js +1 -0
  27. package/dist/models/AdminListAccountDto.d.ts +12 -0
  28. package/dist/models/AdminListAccountDto.js +8 -0
  29. package/dist/models/BuyerLeadListItemDto.d.ts +1 -0
  30. package/dist/models/BuyerLeadListItemDto.js +1 -0
  31. package/dist/models/BuyerNotificationDto.d.ts +1 -0
  32. package/dist/models/BuyerNotificationDto.js +1 -0
  33. package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
  34. package/dist/models/BuyerNotificationListItemDto.js +1 -0
  35. package/dist/models/CreateAccountNoteInput.d.ts +32 -0
  36. package/dist/models/CreateAccountNoteInput.js +51 -0
  37. package/dist/models/CustomerSuccessDomainListItemDto.d.ts +7 -0
  38. package/dist/models/CustomerSuccessDomainListItemDto.js +5 -0
  39. package/dist/models/CustomerSuccessListAccountDto.d.ts +12 -0
  40. package/dist/models/CustomerSuccessListAccountDto.js +8 -0
  41. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  42. package/dist/models/FeatureFlagListItemDto.js +2 -1
  43. package/dist/models/ForbiddenException.d.ts +44 -0
  44. package/dist/models/ForbiddenException.js +59 -0
  45. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  46. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  47. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +7 -0
  48. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +5 -0
  49. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
  50. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
  51. package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.d.ts +7 -0
  52. package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.js +5 -0
  53. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +1 -0
  54. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +1 -0
  55. package/dist/models/LeadDto.d.ts +1 -0
  56. package/dist/models/LeadDto.js +1 -0
  57. package/dist/models/LeadStatusDto.d.ts +1 -0
  58. package/dist/models/LeadStatusDto.js +1 -0
  59. package/dist/models/LeadVerificationInput.d.ts +54 -0
  60. package/dist/models/LeadVerificationInput.js +63 -0
  61. package/dist/models/LeadVerificationSettingsDto.d.ts +54 -0
  62. package/dist/models/LeadVerificationSettingsDto.js +69 -0
  63. package/dist/models/ListLeadsResultItem.d.ts +1 -0
  64. package/dist/models/ListLeadsResultItem.js +1 -0
  65. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  66. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  67. package/dist/models/PublicLeadDto.d.ts +1 -0
  68. package/dist/models/PublicLeadDto.js +1 -0
  69. package/dist/models/RelatedLeadDto.d.ts +1 -0
  70. package/dist/models/RelatedLeadDto.js +1 -0
  71. package/dist/models/SellerLeadDetails.d.ts +1 -0
  72. package/dist/models/SellerLeadDetails.js +1 -0
  73. package/dist/models/SubscriptionDto.d.ts +1 -0
  74. package/dist/models/SubscriptionDto.js +1 -0
  75. package/dist/models/UpdateAccountNoteInput.d.ts +32 -0
  76. package/dist/models/UpdateAccountNoteInput.js +51 -0
  77. package/dist/models/UpdateDomainInput.d.ts +7 -0
  78. package/dist/models/UpdateDomainInput.js +3 -0
  79. package/dist/models/UserNotificationDto.d.ts +1 -0
  80. package/dist/models/UserNotificationDto.js +1 -0
  81. package/dist/models/UserNotificationListItemDto.d.ts +1 -0
  82. package/dist/models/UserNotificationListItemDto.js +1 -0
  83. package/dist/models/WithSettingsInner.d.ts +7 -0
  84. package/dist/models/WithSettingsInner.js +5 -0
  85. package/dist/models/index.d.ts +8 -0
  86. package/dist/models/index.js +8 -0
  87. package/package.json +1 -1
  88. package/src/apis/AccountsApi.ts +3 -0
  89. package/src/apis/AdminApi.ts +235 -0
  90. package/src/apis/BuyersApi.ts +5 -2
  91. package/src/apis/BuyersPublicApi.ts +2 -2
  92. package/src/apis/CustomerSuccessApi.ts +238 -0
  93. package/src/apis/DomainsApi.ts +3 -0
  94. package/src/apis/LeadsPublicApi.ts +5 -0
  95. package/src/models/AccountNoteAuthorDto.ts +93 -0
  96. package/src/models/AccountNoteDto.ts +119 -0
  97. package/src/models/AccountNoteListDto.ts +74 -0
  98. package/src/models/AccountSettingsDto.ts +16 -0
  99. package/src/models/AccountSettingsInput.ts +15 -0
  100. package/src/models/AdminDomainListItemDto.ts +16 -0
  101. package/src/models/AdminLeadListItemDto.ts +1 -0
  102. package/src/models/AdminListAccountDto.ts +18 -0
  103. package/src/models/BuyerLeadListItemDto.ts +1 -0
  104. package/src/models/BuyerNotificationDto.ts +1 -0
  105. package/src/models/BuyerNotificationListItemDto.ts +1 -0
  106. package/src/models/CreateAccountNoteInput.ts +66 -0
  107. package/src/models/CustomerSuccessDomainListItemDto.ts +16 -0
  108. package/src/models/CustomerSuccessListAccountDto.ts +18 -0
  109. package/src/models/FeatureFlagListItemDto.ts +2 -1
  110. package/src/models/ForbiddenException.ts +84 -0
  111. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  112. package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +16 -0
  113. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
  114. package/src/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.ts +16 -0
  115. package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +1 -0
  116. package/src/models/LeadDto.ts +1 -0
  117. package/src/models/LeadStatusDto.ts +1 -0
  118. package/src/models/LeadVerificationInput.ts +101 -0
  119. package/src/models/LeadVerificationSettingsDto.ts +104 -0
  120. package/src/models/ListLeadsResultItem.ts +1 -0
  121. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  122. package/src/models/PublicLeadDto.ts +1 -0
  123. package/src/models/RelatedLeadDto.ts +1 -0
  124. package/src/models/SellerLeadDetails.ts +1 -0
  125. package/src/models/SubscriptionDto.ts +1 -0
  126. package/src/models/UpdateAccountNoteInput.ts +66 -0
  127. package/src/models/UpdateDomainInput.ts +15 -0
  128. package/src/models/UserNotificationDto.ts +1 -0
  129. package/src/models/UserNotificationListItemDto.ts +1 -0
  130. package/src/models/WithSettingsInner.ts +16 -0
  131. package/src/models/index.ts +8 -0
@@ -19,6 +19,7 @@ exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSON = Intersectio
19
19
  exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped = IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped;
20
20
  exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON = IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON;
21
21
  exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped = IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped;
22
+ var LeadVerificationSettingsDto_1 = require("./LeadVerificationSettingsDto");
22
23
  var MoneyDto_1 = require("./MoneyDto");
23
24
  var RentConfigurationDto_1 = require("./RentConfigurationDto");
24
25
  var DomainAuctionDto_1 = require("./DomainAuctionDto");
@@ -103,6 +104,8 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
103
104
  return false;
104
105
  if (!('marketplace' in value) || value['marketplace'] === undefined)
105
106
  return false;
107
+ if (!('leadVerification' in value) || value['leadVerification'] === undefined)
108
+ return false;
106
109
  if (!('hijacker' in value) || value['hijacker'] === undefined)
107
110
  return false;
108
111
  if (!('account' in value) || value['account'] === undefined)
@@ -148,6 +151,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
148
151
  'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
149
152
  'showcased': json['showcased'],
150
153
  'marketplace': json['marketplace'],
154
+ 'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoFromJSON)(json['leadVerification']),
151
155
  'hijacker': (0, AccountDto_1.AccountDtoFromJSON)(json['hijacker']),
152
156
  'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
153
157
  };
@@ -192,6 +196,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(value, ig
192
196
  'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
193
197
  'showcased': value['showcased'],
194
198
  'marketplace': value['marketplace'],
199
+ 'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoToJSON)(value['leadVerification']),
195
200
  'hijacker': (0, AccountDto_1.AccountDtoToJSON)(value['hijacker']),
196
201
  'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
197
202
  };
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { LeadVerificationSettingsDto } from './LeadVerificationSettingsDto';
12
13
  import type { MoneyDto } from './MoneyDto';
13
14
  import type { RentConfigurationDto } from './RentConfigurationDto';
14
15
  import type { DomainAuctionDto } from './DomainAuctionDto';
@@ -208,6 +209,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
208
209
  * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
209
210
  */
210
211
  marketplace: IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum | null;
212
+ /**
213
+ * Lead verification override for this domain. Every null field inherits the account default.
214
+ * @type {LeadVerificationSettingsDto}
215
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
216
+ */
217
+ leadVerification: LeadVerificationSettingsDto;
211
218
  /**
212
219
  * SEO metrics for the domain from Moz, Majestic, and historical sources.
213
220
  * @type {SeoMetricsDto}
@@ -19,6 +19,7 @@ exports.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSON = Intersect
19
19
  exports.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped = IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped;
20
20
  exports.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSON = IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSON;
21
21
  exports.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped = IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped;
22
+ var LeadVerificationSettingsDto_1 = require("./LeadVerificationSettingsDto");
22
23
  var MoneyDto_1 = require("./MoneyDto");
23
24
  var RentConfigurationDto_1 = require("./RentConfigurationDto");
24
25
  var DomainAuctionDto_1 = require("./DomainAuctionDto");
@@ -114,6 +115,8 @@ function instanceOfIntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto(value) {
114
115
  return false;
115
116
  if (!('marketplace' in value) || value['marketplace'] === undefined)
116
117
  return false;
118
+ if (!('leadVerification' in value) || value['leadVerification'] === undefined)
119
+ return false;
117
120
  if (!('seoMetrics' in value) || value['seoMetrics'] === undefined)
118
121
  return false;
119
122
  if (!('routedTo' in value) || value['routedTo'] === undefined)
@@ -159,6 +162,7 @@ function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped(json,
159
162
  'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
160
163
  'showcased': json['showcased'],
161
164
  'marketplace': json['marketplace'],
165
+ 'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoFromJSON)(json['leadVerification']),
162
166
  'seoMetrics': (0, SeoMetricsDto_1.SeoMetricsDtoFromJSON)(json['seoMetrics']),
163
167
  'routedTo': json['routedTo'],
164
168
  };
@@ -203,6 +207,7 @@ function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped(value,
203
207
  'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
204
208
  'showcased': value['showcased'],
205
209
  'marketplace': value['marketplace'],
210
+ 'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoToJSON)(value['leadVerification']),
206
211
  'seoMetrics': (0, SeoMetricsDto_1.SeoMetricsDtoToJSON)(value['seoMetrics']),
207
212
  'routedTo': value['routedTo'],
208
213
  };
@@ -171,6 +171,7 @@ export interface IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetails
171
171
  * @export
172
172
  */
173
173
  export declare const IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoStatusEnum: {
174
+ readonly DRAFT: "draft";
174
175
  readonly UNVERIFIED: "unverified";
175
176
  readonly ACTIVE: "active";
176
177
  readonly ACCEPTED: "accepted";
@@ -30,6 +30,7 @@ var LeadOfferDto_1 = require("./LeadOfferDto");
30
30
  * @export
31
31
  */
32
32
  exports.IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoStatusEnum = {
33
+ DRAFT: 'draft',
33
34
  UNVERIFIED: 'unverified',
34
35
  ACTIVE: 'active',
35
36
  ACCEPTED: 'accepted',
@@ -164,6 +164,7 @@ export interface LeadDto {
164
164
  * @export
165
165
  */
166
166
  export declare const LeadDtoStatusEnum: {
167
+ readonly DRAFT: "draft";
167
168
  readonly UNVERIFIED: "unverified";
168
169
  readonly ACTIVE: "active";
169
170
  readonly ACCEPTED: "accepted";
@@ -29,6 +29,7 @@ var LeadOfferDto_1 = require("./LeadOfferDto");
29
29
  * @export
30
30
  */
31
31
  exports.LeadDtoStatusEnum = {
32
+ DRAFT: 'draft',
32
33
  UNVERIFIED: 'unverified',
33
34
  ACTIVE: 'active',
34
35
  ACCEPTED: 'accepted',
@@ -26,6 +26,7 @@ export interface LeadStatusDto {
26
26
  * @export
27
27
  */
28
28
  export declare const LeadStatusDtoStatusEnum: {
29
+ readonly DRAFT: "draft";
29
30
  readonly UNVERIFIED: "unverified";
30
31
  readonly ACTIVE: "active";
31
32
  readonly ACCEPTED: "accepted";
@@ -23,6 +23,7 @@ exports.LeadStatusDtoToJSONTyped = LeadStatusDtoToJSONTyped;
23
23
  * @export
24
24
  */
25
25
  exports.LeadStatusDtoStatusEnum = {
26
+ DRAFT: 'draft',
26
27
  UNVERIFIED: 'unverified',
27
28
  ACTIVE: 'active',
28
29
  ACCEPTED: 'accepted',
@@ -0,0 +1,54 @@
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 { MoneyDto } from './MoneyDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface LeadVerificationInput
17
+ */
18
+ export interface LeadVerificationInput {
19
+ /**
20
+ * How offers are verified before the seller sees them: "always_otp" requires the email code on every offer, "captcha_only" lets every offer through as unverified, and "hybrid" only requires the code outside the price band or from a throwaway email domain. Null on a domain inherits the account default.
21
+ * @type {string}
22
+ * @memberof LeadVerificationInput
23
+ */
24
+ mode?: LeadVerificationInputModeEnum | null;
25
+ /**
26
+ * Hybrid mode: offers below this amount require the email code. Null leaves the lower side open on an account, or inherits it on a domain.
27
+ * @type {MoneyDto}
28
+ * @memberof LeadVerificationInput
29
+ */
30
+ otpLowerBound?: MoneyDto | null;
31
+ /**
32
+ * Hybrid mode: offers above this amount require the email code. Null leaves the upper side open on an account, or inherits it on a domain. Must be higher than the lower bound and share its currency.
33
+ * @type {MoneyDto}
34
+ * @memberof LeadVerificationInput
35
+ */
36
+ otpUpperBound?: MoneyDto | null;
37
+ }
38
+ /**
39
+ * @export
40
+ */
41
+ export declare const LeadVerificationInputModeEnum: {
42
+ readonly ALWAYS_OTP: "always_otp";
43
+ readonly CAPTCHA_ONLY: "captcha_only";
44
+ readonly HYBRID: "hybrid";
45
+ };
46
+ export type LeadVerificationInputModeEnum = typeof LeadVerificationInputModeEnum[keyof typeof LeadVerificationInputModeEnum];
47
+ /**
48
+ * Check if a given object implements the LeadVerificationInput interface.
49
+ */
50
+ export declare function instanceOfLeadVerificationInput(value: object): value is LeadVerificationInput;
51
+ export declare function LeadVerificationInputFromJSON(json: any): LeadVerificationInput;
52
+ export declare function LeadVerificationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadVerificationInput;
53
+ export declare function LeadVerificationInputToJSON(json: any): LeadVerificationInput;
54
+ export declare function LeadVerificationInputToJSONTyped(value?: LeadVerificationInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
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.LeadVerificationInputModeEnum = void 0;
17
+ exports.instanceOfLeadVerificationInput = instanceOfLeadVerificationInput;
18
+ exports.LeadVerificationInputFromJSON = LeadVerificationInputFromJSON;
19
+ exports.LeadVerificationInputFromJSONTyped = LeadVerificationInputFromJSONTyped;
20
+ exports.LeadVerificationInputToJSON = LeadVerificationInputToJSON;
21
+ exports.LeadVerificationInputToJSONTyped = LeadVerificationInputToJSONTyped;
22
+ var MoneyDto_1 = require("./MoneyDto");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.LeadVerificationInputModeEnum = {
27
+ ALWAYS_OTP: 'always_otp',
28
+ CAPTCHA_ONLY: 'captcha_only',
29
+ HYBRID: 'hybrid'
30
+ };
31
+ /**
32
+ * Check if a given object implements the LeadVerificationInput interface.
33
+ */
34
+ function instanceOfLeadVerificationInput(value) {
35
+ return true;
36
+ }
37
+ function LeadVerificationInputFromJSON(json) {
38
+ return LeadVerificationInputFromJSONTyped(json, false);
39
+ }
40
+ function LeadVerificationInputFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'mode': json['mode'] == null ? undefined : json['mode'],
46
+ 'otpLowerBound': json['otpLowerBound'] == null ? undefined : (0, MoneyDto_1.MoneyDtoFromJSON)(json['otpLowerBound']),
47
+ 'otpUpperBound': json['otpUpperBound'] == null ? undefined : (0, MoneyDto_1.MoneyDtoFromJSON)(json['otpUpperBound']),
48
+ };
49
+ }
50
+ function LeadVerificationInputToJSON(json) {
51
+ return LeadVerificationInputToJSONTyped(json, false);
52
+ }
53
+ function LeadVerificationInputToJSONTyped(value, ignoreDiscriminator) {
54
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'mode': value['mode'],
60
+ 'otpLowerBound': (0, MoneyDto_1.MoneyDtoToJSON)(value['otpLowerBound']),
61
+ 'otpUpperBound': (0, MoneyDto_1.MoneyDtoToJSON)(value['otpUpperBound']),
62
+ };
63
+ }
@@ -0,0 +1,54 @@
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 { MoneyDto } from './MoneyDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface LeadVerificationSettingsDto
17
+ */
18
+ export interface LeadVerificationSettingsDto {
19
+ /**
20
+ * Verification mode: "always_otp" requires the email code on every offer, "captcha_only" lets every offer through as unverified, "hybrid" requires the code only outside the price band or from a throwaway email domain. Null on a domain inherits the account default.
21
+ * @type {string}
22
+ * @memberof LeadVerificationSettingsDto
23
+ */
24
+ mode: LeadVerificationSettingsDtoModeEnum | null;
25
+ /**
26
+ * Hybrid mode: offers below this amount require the email code. Null leaves that side open (account) or inherits it (domain).
27
+ * @type {MoneyDto}
28
+ * @memberof LeadVerificationSettingsDto
29
+ */
30
+ otpLowerBound: MoneyDto | null;
31
+ /**
32
+ * Hybrid mode: offers above this amount require the email code. Null leaves that side open (account) or inherits it (domain).
33
+ * @type {MoneyDto}
34
+ * @memberof LeadVerificationSettingsDto
35
+ */
36
+ otpUpperBound: MoneyDto | null;
37
+ }
38
+ /**
39
+ * @export
40
+ */
41
+ export declare const LeadVerificationSettingsDtoModeEnum: {
42
+ readonly ALWAYS_OTP: "always_otp";
43
+ readonly CAPTCHA_ONLY: "captcha_only";
44
+ readonly HYBRID: "hybrid";
45
+ };
46
+ export type LeadVerificationSettingsDtoModeEnum = typeof LeadVerificationSettingsDtoModeEnum[keyof typeof LeadVerificationSettingsDtoModeEnum];
47
+ /**
48
+ * Check if a given object implements the LeadVerificationSettingsDto interface.
49
+ */
50
+ export declare function instanceOfLeadVerificationSettingsDto(value: object): value is LeadVerificationSettingsDto;
51
+ export declare function LeadVerificationSettingsDtoFromJSON(json: any): LeadVerificationSettingsDto;
52
+ export declare function LeadVerificationSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadVerificationSettingsDto;
53
+ export declare function LeadVerificationSettingsDtoToJSON(json: any): LeadVerificationSettingsDto;
54
+ export declare function LeadVerificationSettingsDtoToJSONTyped(value?: LeadVerificationSettingsDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,69 @@
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.LeadVerificationSettingsDtoModeEnum = void 0;
17
+ exports.instanceOfLeadVerificationSettingsDto = instanceOfLeadVerificationSettingsDto;
18
+ exports.LeadVerificationSettingsDtoFromJSON = LeadVerificationSettingsDtoFromJSON;
19
+ exports.LeadVerificationSettingsDtoFromJSONTyped = LeadVerificationSettingsDtoFromJSONTyped;
20
+ exports.LeadVerificationSettingsDtoToJSON = LeadVerificationSettingsDtoToJSON;
21
+ exports.LeadVerificationSettingsDtoToJSONTyped = LeadVerificationSettingsDtoToJSONTyped;
22
+ var MoneyDto_1 = require("./MoneyDto");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.LeadVerificationSettingsDtoModeEnum = {
27
+ ALWAYS_OTP: 'always_otp',
28
+ CAPTCHA_ONLY: 'captcha_only',
29
+ HYBRID: 'hybrid'
30
+ };
31
+ /**
32
+ * Check if a given object implements the LeadVerificationSettingsDto interface.
33
+ */
34
+ function instanceOfLeadVerificationSettingsDto(value) {
35
+ if (!('mode' in value) || value['mode'] === undefined)
36
+ return false;
37
+ if (!('otpLowerBound' in value) || value['otpLowerBound'] === undefined)
38
+ return false;
39
+ if (!('otpUpperBound' in value) || value['otpUpperBound'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ function LeadVerificationSettingsDtoFromJSON(json) {
44
+ return LeadVerificationSettingsDtoFromJSONTyped(json, false);
45
+ }
46
+ function LeadVerificationSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ 'mode': json['mode'],
52
+ 'otpLowerBound': (0, MoneyDto_1.MoneyDtoFromJSON)(json['otpLowerBound']),
53
+ 'otpUpperBound': (0, MoneyDto_1.MoneyDtoFromJSON)(json['otpUpperBound']),
54
+ };
55
+ }
56
+ function LeadVerificationSettingsDtoToJSON(json) {
57
+ return LeadVerificationSettingsDtoToJSONTyped(json, false);
58
+ }
59
+ function LeadVerificationSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
60
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'mode': value['mode'],
66
+ 'otpLowerBound': (0, MoneyDto_1.MoneyDtoToJSON)(value['otpLowerBound']),
67
+ 'otpUpperBound': (0, MoneyDto_1.MoneyDtoToJSON)(value['otpUpperBound']),
68
+ };
69
+ }
@@ -213,6 +213,7 @@ export interface ListLeadsResultItem {
213
213
  * @export
214
214
  */
215
215
  export declare const ListLeadsResultItemStatusEnum: {
216
+ readonly DRAFT: "draft";
216
217
  readonly UNVERIFIED: "unverified";
217
218
  readonly ACTIVE: "active";
218
219
  readonly ACCEPTED: "accepted";
@@ -30,6 +30,7 @@ var LeadOfferDto_1 = require("./LeadOfferDto");
30
30
  * @export
31
31
  */
32
32
  exports.ListLeadsResultItemStatusEnum = {
33
+ DRAFT: 'draft',
33
34
  UNVERIFIED: 'unverified',
34
35
  ACTIVE: 'active',
35
36
  ACCEPTED: 'accepted',
@@ -140,6 +140,7 @@ export declare const PrivateAccountGetMeResponseEnabledFeaturesEnum: {
140
140
  readonly MARKETPLACE_ROUTING: "MARKETPLACE_ROUTING";
141
141
  readonly AI_DOMAIN_EDIT: "AI_DOMAIN_EDIT";
142
142
  readonly LEAD_ENRICHMENT: "LEAD_ENRICHMENT";
143
+ readonly LEAD_CREATION_RECAPTCHA: "LEAD_CREATION_RECAPTCHA";
143
144
  };
144
145
  export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
145
146
  /**
@@ -58,7 +58,8 @@ exports.PrivateAccountGetMeResponseEnabledFeaturesEnum = {
58
58
  AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD',
59
59
  MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING',
60
60
  AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
61
- LEAD_ENRICHMENT: 'LEAD_ENRICHMENT'
61
+ LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
62
+ LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA'
62
63
  };
63
64
  /**
64
65
  * Check if a given object implements the PrivateAccountGetMeResponse interface.
@@ -52,6 +52,7 @@ export interface PublicLeadDto {
52
52
  * @export
53
53
  */
54
54
  export declare const PublicLeadDtoStatusEnum: {
55
+ readonly DRAFT: "draft";
55
56
  readonly UNVERIFIED: "unverified";
56
57
  readonly ACTIVE: "active";
57
58
  readonly ACCEPTED: "accepted";
@@ -25,6 +25,7 @@ var MoneyDto_1 = require("./MoneyDto");
25
25
  * @export
26
26
  */
27
27
  exports.PublicLeadDtoStatusEnum = {
28
+ DRAFT: 'draft',
28
29
  UNVERIFIED: 'unverified',
29
30
  ACTIVE: 'active',
30
31
  ACCEPTED: 'accepted',
@@ -57,6 +57,7 @@ export interface RelatedLeadDto {
57
57
  * @export
58
58
  */
59
59
  export declare const RelatedLeadDtoStatusEnum: {
60
+ readonly DRAFT: "draft";
60
61
  readonly UNVERIFIED: "unverified";
61
62
  readonly ACTIVE: "active";
62
63
  readonly ACCEPTED: "accepted";
@@ -24,6 +24,7 @@ var LeadOfferDto_1 = require("./LeadOfferDto");
24
24
  * @export
25
25
  */
26
26
  exports.RelatedLeadDtoStatusEnum = {
27
+ DRAFT: 'draft',
27
28
  UNVERIFIED: 'unverified',
28
29
  ACTIVE: 'active',
29
30
  ACCEPTED: 'accepted',
@@ -184,6 +184,7 @@ export interface SellerLeadDetails {
184
184
  * @export
185
185
  */
186
186
  export declare const SellerLeadDetailsStatusEnum: {
187
+ readonly DRAFT: "draft";
187
188
  readonly UNVERIFIED: "unverified";
188
189
  readonly ACTIVE: "active";
189
190
  readonly ACCEPTED: "accepted";
@@ -31,6 +31,7 @@ var LeadOfferDto_1 = require("./LeadOfferDto");
31
31
  * @export
32
32
  */
33
33
  exports.SellerLeadDetailsStatusEnum = {
34
+ DRAFT: 'draft',
34
35
  UNVERIFIED: 'unverified',
35
36
  ACTIVE: 'active',
36
37
  ACCEPTED: 'accepted',
@@ -323,6 +323,7 @@ export type SubscriptionDtoTypeEnum = typeof SubscriptionDtoTypeEnum[keyof typeo
323
323
  * @export
324
324
  */
325
325
  export declare const SubscriptionDtoLeadStatusEnum: {
326
+ readonly DRAFT: "draft";
326
327
  readonly UNVERIFIED: "unverified";
327
328
  readonly ACTIVE: "active";
328
329
  readonly ACCEPTED: "accepted";
@@ -128,6 +128,7 @@ exports.SubscriptionDtoTypeEnum = {
128
128
  * @export
129
129
  */
130
130
  exports.SubscriptionDtoLeadStatusEnum = {
131
+ DRAFT: 'draft',
131
132
  UNVERIFIED: 'unverified',
132
133
  ACTIVE: 'active',
133
134
  ACCEPTED: 'accepted',
@@ -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 UpdateAccountNoteInput
16
+ */
17
+ export interface UpdateAccountNoteInput {
18
+ /**
19
+ * New note body as HTML. It is sanitized before being stored.
20
+ * @type {string}
21
+ * @memberof UpdateAccountNoteInput
22
+ */
23
+ body: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the UpdateAccountNoteInput interface.
27
+ */
28
+ export declare function instanceOfUpdateAccountNoteInput(value: object): value is UpdateAccountNoteInput;
29
+ export declare function UpdateAccountNoteInputFromJSON(json: any): UpdateAccountNoteInput;
30
+ export declare function UpdateAccountNoteInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAccountNoteInput;
31
+ export declare function UpdateAccountNoteInputToJSON(json: any): UpdateAccountNoteInput;
32
+ export declare function UpdateAccountNoteInputToJSONTyped(value?: UpdateAccountNoteInput | 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.instanceOfUpdateAccountNoteInput = instanceOfUpdateAccountNoteInput;
17
+ exports.UpdateAccountNoteInputFromJSON = UpdateAccountNoteInputFromJSON;
18
+ exports.UpdateAccountNoteInputFromJSONTyped = UpdateAccountNoteInputFromJSONTyped;
19
+ exports.UpdateAccountNoteInputToJSON = UpdateAccountNoteInputToJSON;
20
+ exports.UpdateAccountNoteInputToJSONTyped = UpdateAccountNoteInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the UpdateAccountNoteInput interface.
23
+ */
24
+ function instanceOfUpdateAccountNoteInput(value) {
25
+ if (!('body' in value) || value['body'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function UpdateAccountNoteInputFromJSON(json) {
30
+ return UpdateAccountNoteInputFromJSONTyped(json, false);
31
+ }
32
+ function UpdateAccountNoteInputFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'body': json['body'],
38
+ };
39
+ }
40
+ function UpdateAccountNoteInputToJSON(json) {
41
+ return UpdateAccountNoteInputToJSONTyped(json, false);
42
+ }
43
+ function UpdateAccountNoteInputToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'body': value['body'],
50
+ };
51
+ }
@@ -14,6 +14,7 @@ import type { LandingPageInput } from './LandingPageInput';
14
14
  import type { LeaseToOwnConfigurationInput } from './LeaseToOwnConfigurationInput';
15
15
  import type { RentConfigurationInput } from './RentConfigurationInput';
16
16
  import type { DomainLeadPriceNegotiatorAiAgentConfigurationInput } from './DomainLeadPriceNegotiatorAiAgentConfigurationInput';
17
+ import type { LeadVerificationInput } from './LeadVerificationInput';
17
18
  /**
18
19
  *
19
20
  * @export
@@ -74,6 +75,12 @@ export interface UpdateDomainInput {
74
75
  * @memberof UpdateDomainInput
75
76
  */
76
77
  leadPriceNegotiator?: DomainLeadPriceNegotiatorAiAgentConfigurationInput | null;
78
+ /**
79
+ * Lead verification override for the domain. Every null field inherits the account default.
80
+ * @type {LeadVerificationInput}
81
+ * @memberof UpdateDomainInput
82
+ */
83
+ leadVerification?: LeadVerificationInput;
77
84
  }
78
85
  /**
79
86
  * @export
@@ -24,6 +24,7 @@ var LandingPageInput_1 = require("./LandingPageInput");
24
24
  var LeaseToOwnConfigurationInput_1 = require("./LeaseToOwnConfigurationInput");
25
25
  var RentConfigurationInput_1 = require("./RentConfigurationInput");
26
26
  var DomainLeadPriceNegotiatorAiAgentConfigurationInput_1 = require("./DomainLeadPriceNegotiatorAiAgentConfigurationInput");
27
+ var LeadVerificationInput_1 = require("./LeadVerificationInput");
27
28
  /**
28
29
  * @export
29
30
  */
@@ -58,6 +59,7 @@ function UpdateDomainInputFromJSONTyped(json, ignoreDiscriminator) {
58
59
  'landingPage': json['landingPage'] == null ? undefined : (0, LandingPageInput_1.LandingPageInputFromJSON)(json['landingPage']),
59
60
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'] == null ? undefined : json['allowThirdPartySalesDataSharing'],
60
61
  'leadPriceNegotiator': json['leadPriceNegotiator'] == null ? undefined : (0, DomainLeadPriceNegotiatorAiAgentConfigurationInput_1.DomainLeadPriceNegotiatorAiAgentConfigurationInputFromJSON)(json['leadPriceNegotiator']),
62
+ 'leadVerification': json['leadVerification'] == null ? undefined : (0, LeadVerificationInput_1.LeadVerificationInputFromJSON)(json['leadVerification']),
61
63
  };
62
64
  }
63
65
  function UpdateDomainInputToJSON(json) {
@@ -78,5 +80,6 @@ function UpdateDomainInputToJSONTyped(value, ignoreDiscriminator) {
78
80
  'landingPage': (0, LandingPageInput_1.LandingPageInputToJSON)(value['landingPage']),
79
81
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
80
82
  'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationInput_1.DomainLeadPriceNegotiatorAiAgentConfigurationInputToJSON)(value['leadPriceNegotiator']),
83
+ 'leadVerification': (0, LeadVerificationInput_1.LeadVerificationInputToJSON)(value['leadVerification']),
81
84
  };
82
85
  }
@@ -96,6 +96,7 @@ export declare const UserNotificationDtoTypeEnum: {
96
96
  readonly EXPORT_COMPLETED: "export_completed";
97
97
  readonly DOMAIN_IMPORT_FINISHED: "domain_import_finished";
98
98
  readonly DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: "domain_offer_verified_buyer_access_link_email";
99
+ readonly DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: "domain_offer_received_buyer_access_link_email";
99
100
  readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: "domain_offer_accepted_continue_order_email";
100
101
  readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: "domain_offer_accepted_continue_lease_to_own_email";
101
102
  readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: "domain_offer_accepted_continue_lease_to_own_email_installments_range";
@@ -57,6 +57,7 @@ exports.UserNotificationDtoTypeEnum = {
57
57
  EXPORT_COMPLETED: 'export_completed',
58
58
  DOMAIN_IMPORT_FINISHED: 'domain_import_finished',
59
59
  DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_verified_buyer_access_link_email',
60
+ DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_received_buyer_access_link_email',
60
61
  DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_offer_accepted_continue_order_email',
61
62
  DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: 'domain_offer_accepted_continue_lease_to_own_email',
62
63
  DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: 'domain_offer_accepted_continue_lease_to_own_email_installments_range',