@randock/nameshift-api-client 0.0.473 → 0.0.474

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 (99) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +3 -3
  3. package/dist/apis/BuyersApi.d.ts +2 -2
  4. package/dist/apis/BuyersApi.js +2 -2
  5. package/dist/apis/BuyersPublicApi.d.ts +2 -2
  6. package/dist/apis/BuyersPublicApi.js +2 -2
  7. package/dist/apis/LeadsPublicApi.d.ts +1 -0
  8. package/dist/apis/LeadsPublicApi.js +3 -0
  9. package/dist/models/AccountSettingsDto.d.ts +7 -0
  10. package/dist/models/AccountSettingsDto.js +5 -0
  11. package/dist/models/AccountSettingsInput.d.ts +7 -0
  12. package/dist/models/AccountSettingsInput.js +3 -0
  13. package/dist/models/AdminDomainListItemDto.d.ts +7 -0
  14. package/dist/models/AdminDomainListItemDto.js +5 -0
  15. package/dist/models/AdminLeadListItemDto.d.ts +1 -0
  16. package/dist/models/AdminLeadListItemDto.js +1 -0
  17. package/dist/models/BuyerLeadListItemDto.d.ts +1 -0
  18. package/dist/models/BuyerLeadListItemDto.js +1 -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/CustomerSuccessDomainListItemDto.d.ts +7 -0
  24. package/dist/models/CustomerSuccessDomainListItemDto.js +5 -0
  25. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  26. package/dist/models/FeatureFlagListItemDto.js +2 -1
  27. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  28. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  29. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +7 -0
  30. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +5 -0
  31. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
  32. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
  33. package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.d.ts +7 -0
  34. package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.js +5 -0
  35. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +1 -0
  36. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +1 -0
  37. package/dist/models/LeadDto.d.ts +1 -0
  38. package/dist/models/LeadDto.js +1 -0
  39. package/dist/models/LeadStatusDto.d.ts +1 -0
  40. package/dist/models/LeadStatusDto.js +1 -0
  41. package/dist/models/LeadVerificationInput.d.ts +54 -0
  42. package/dist/models/LeadVerificationInput.js +63 -0
  43. package/dist/models/LeadVerificationSettingsDto.d.ts +54 -0
  44. package/dist/models/LeadVerificationSettingsDto.js +69 -0
  45. package/dist/models/ListLeadsResultItem.d.ts +1 -0
  46. package/dist/models/ListLeadsResultItem.js +1 -0
  47. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  48. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  49. package/dist/models/PublicLeadDto.d.ts +1 -0
  50. package/dist/models/PublicLeadDto.js +1 -0
  51. package/dist/models/RelatedLeadDto.d.ts +1 -0
  52. package/dist/models/RelatedLeadDto.js +1 -0
  53. package/dist/models/SellerLeadDetails.d.ts +1 -0
  54. package/dist/models/SellerLeadDetails.js +1 -0
  55. package/dist/models/SubscriptionDto.d.ts +1 -0
  56. package/dist/models/SubscriptionDto.js +1 -0
  57. package/dist/models/UpdateDomainInput.d.ts +7 -0
  58. package/dist/models/UpdateDomainInput.js +3 -0
  59. package/dist/models/UserNotificationDto.d.ts +1 -0
  60. package/dist/models/UserNotificationDto.js +1 -0
  61. package/dist/models/UserNotificationListItemDto.d.ts +1 -0
  62. package/dist/models/UserNotificationListItemDto.js +1 -0
  63. package/dist/models/WithSettingsInner.d.ts +7 -0
  64. package/dist/models/WithSettingsInner.js +5 -0
  65. package/dist/models/index.d.ts +2 -0
  66. package/dist/models/index.js +2 -0
  67. package/package.json +1 -1
  68. package/src/apis/BuyersApi.ts +2 -2
  69. package/src/apis/BuyersPublicApi.ts +2 -2
  70. package/src/apis/LeadsPublicApi.ts +5 -0
  71. package/src/models/AccountSettingsDto.ts +16 -0
  72. package/src/models/AccountSettingsInput.ts +15 -0
  73. package/src/models/AdminDomainListItemDto.ts +16 -0
  74. package/src/models/AdminLeadListItemDto.ts +1 -0
  75. package/src/models/BuyerLeadListItemDto.ts +1 -0
  76. package/src/models/BuyerNotificationDto.ts +1 -0
  77. package/src/models/BuyerNotificationListItemDto.ts +1 -0
  78. package/src/models/CustomerSuccessDomainListItemDto.ts +16 -0
  79. package/src/models/FeatureFlagListItemDto.ts +2 -1
  80. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  81. package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +16 -0
  82. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
  83. package/src/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.ts +16 -0
  84. package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +1 -0
  85. package/src/models/LeadDto.ts +1 -0
  86. package/src/models/LeadStatusDto.ts +1 -0
  87. package/src/models/LeadVerificationInput.ts +101 -0
  88. package/src/models/LeadVerificationSettingsDto.ts +104 -0
  89. package/src/models/ListLeadsResultItem.ts +1 -0
  90. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  91. package/src/models/PublicLeadDto.ts +1 -0
  92. package/src/models/RelatedLeadDto.ts +1 -0
  93. package/src/models/SellerLeadDetails.ts +1 -0
  94. package/src/models/SubscriptionDto.ts +1 -0
  95. package/src/models/UpdateDomainInput.ts +15 -0
  96. package/src/models/UserNotificationDto.ts +1 -0
  97. package/src/models/UserNotificationListItemDto.ts +1 -0
  98. package/src/models/WithSettingsInner.ts +16 -0
  99. package/src/models/index.ts +2 -0
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { LeadVerificationSettingsDto } from './LeadVerificationSettingsDto';
17
+ import {
18
+ LeadVerificationSettingsDtoFromJSON,
19
+ LeadVerificationSettingsDtoFromJSONTyped,
20
+ LeadVerificationSettingsDtoToJSON,
21
+ LeadVerificationSettingsDtoToJSONTyped,
22
+ } from './LeadVerificationSettingsDto';
16
23
  import type { MoneyDto } from './MoneyDto';
17
24
  import {
18
25
  MoneyDtoFromJSON,
@@ -160,6 +167,12 @@ export interface AccountSettingsDto {
160
167
  * @memberof AccountSettingsDto
161
168
  */
162
169
  marketplace: AccountSettingsDtoMarketplaceEnum | null;
170
+ /**
171
+ * Default lead verification settings: how offers are verified before the seller sees them. Domains may override them.
172
+ * @type {LeadVerificationSettingsDto}
173
+ * @memberof AccountSettingsDto
174
+ */
175
+ leadVerification: LeadVerificationSettingsDto;
163
176
  }
164
177
 
165
178
 
@@ -195,6 +208,7 @@ export function instanceOfAccountSettingsDto(value: object): value is AccountSet
195
208
  if (!('domainLockConfiguration' in value) || value['domainLockConfiguration'] === undefined) return false;
196
209
  if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined) return false;
197
210
  if (!('marketplace' in value) || value['marketplace'] === undefined) return false;
211
+ if (!('leadVerification' in value) || value['leadVerification'] === undefined) return false;
198
212
  return true;
199
213
  }
200
214
 
@@ -222,6 +236,7 @@ export function AccountSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator:
222
236
  'domainLockConfiguration': DomainLockConfigurationDtoFromJSON(json['domainLockConfiguration']),
223
237
  'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoFromJSON(json['leadOfferExpirationConfiguration']),
224
238
  'marketplace': json['marketplace'],
239
+ 'leadVerification': LeadVerificationSettingsDtoFromJSON(json['leadVerification']),
225
240
  };
226
241
  }
227
242
 
@@ -250,6 +265,7 @@ export function AccountSettingsDtoToJSONTyped(value?: AccountSettingsDto | null,
250
265
  'domainLockConfiguration': DomainLockConfigurationDtoToJSON(value['domainLockConfiguration']),
251
266
  'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoToJSON(value['leadOfferExpirationConfiguration']),
252
267
  'marketplace': value['marketplace'],
268
+ 'leadVerification': LeadVerificationSettingsDtoToJSON(value['leadVerification']),
253
269
  };
254
270
  }
255
271
 
@@ -55,6 +55,13 @@ import {
55
55
  LeaseToOwnConfigurationInputToJSON,
56
56
  LeaseToOwnConfigurationInputToJSONTyped,
57
57
  } from './LeaseToOwnConfigurationInput';
58
+ import type { LeadVerificationInput } from './LeadVerificationInput';
59
+ import {
60
+ LeadVerificationInputFromJSON,
61
+ LeadVerificationInputFromJSONTyped,
62
+ LeadVerificationInputToJSON,
63
+ LeadVerificationInputToJSONTyped,
64
+ } from './LeadVerificationInput';
58
65
  import type { AccountAliasInput } from './AccountAliasInput';
59
66
  import {
60
67
  AccountAliasInputFromJSON,
@@ -159,6 +166,12 @@ export interface AccountSettingsInput {
159
166
  * @memberof AccountSettingsInput
160
167
  */
161
168
  leadOfferExpirationConfiguration?: LockConfigurationInput;
169
+ /**
170
+ * Default lead verification settings: how offers are verified before the seller sees them. Domains may override them.
171
+ * @type {LeadVerificationInput}
172
+ * @memberof AccountSettingsInput
173
+ */
174
+ leadVerification?: LeadVerificationInput;
162
175
  }
163
176
 
164
177
 
@@ -208,6 +221,7 @@ export function AccountSettingsInputFromJSONTyped(json: any, ignoreDiscriminator
208
221
  'transferCostPaymentMaxPercentage': json['transferCostPaymentMaxPercentage'] == null ? undefined : json['transferCostPaymentMaxPercentage'],
209
222
  'domainLockConfiguration': json['domainLockConfiguration'] == null ? undefined : LockConfigurationInputFromJSON(json['domainLockConfiguration']),
210
223
  'leadOfferExpirationConfiguration': json['leadOfferExpirationConfiguration'] == null ? undefined : LockConfigurationInputFromJSON(json['leadOfferExpirationConfiguration']),
224
+ 'leadVerification': json['leadVerification'] == null ? undefined : LeadVerificationInputFromJSON(json['leadVerification']),
211
225
  };
212
226
  }
213
227
 
@@ -237,6 +251,7 @@ export function AccountSettingsInputToJSONTyped(value?: AccountSettingsInput | n
237
251
  'transferCostPaymentMaxPercentage': value['transferCostPaymentMaxPercentage'],
238
252
  'domainLockConfiguration': LockConfigurationInputToJSON(value['domainLockConfiguration']),
239
253
  'leadOfferExpirationConfiguration': LockConfigurationInputToJSON(value['leadOfferExpirationConfiguration']),
254
+ 'leadVerification': LeadVerificationInputToJSON(value['leadVerification']),
240
255
  };
241
256
  }
242
257
 
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { LeadVerificationSettingsDto } from './LeadVerificationSettingsDto';
17
+ import {
18
+ LeadVerificationSettingsDtoFromJSON,
19
+ LeadVerificationSettingsDtoFromJSONTyped,
20
+ LeadVerificationSettingsDtoToJSON,
21
+ LeadVerificationSettingsDtoToJSONTyped,
22
+ } from './LeadVerificationSettingsDto';
16
23
  import type { MoneyDto } from './MoneyDto';
17
24
  import {
18
25
  MoneyDtoFromJSON,
@@ -255,6 +262,12 @@ export interface AdminDomainListItemDto {
255
262
  * @memberof AdminDomainListItemDto
256
263
  */
257
264
  marketplace: AdminDomainListItemDtoMarketplaceEnum | null;
265
+ /**
266
+ * Lead verification override for this domain. Every null field inherits the account default.
267
+ * @type {LeadVerificationSettingsDto}
268
+ * @memberof AdminDomainListItemDto
269
+ */
270
+ leadVerification: LeadVerificationSettingsDto;
258
271
  /**
259
272
  * Account that owns the domain.
260
273
  * @type {AccountDto}
@@ -333,6 +346,7 @@ export function instanceOfAdminDomainListItemDto(value: object): value is AdminD
333
346
  if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
334
347
  if (!('showcased' in value) || value['showcased'] === undefined) return false;
335
348
  if (!('marketplace' in value) || value['marketplace'] === undefined) return false;
349
+ if (!('leadVerification' in value) || value['leadVerification'] === undefined) return false;
336
350
  if (!('account' in value) || value['account'] === undefined) return false;
337
351
  if (!('pointsToOurServerReason' in value) || value['pointsToOurServerReason'] === undefined) return false;
338
352
  return true;
@@ -379,6 +393,7 @@ export function AdminDomainListItemDtoFromJSONTyped(json: any, ignoreDiscriminat
379
393
  'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
380
394
  'showcased': json['showcased'],
381
395
  'marketplace': json['marketplace'],
396
+ 'leadVerification': LeadVerificationSettingsDtoFromJSON(json['leadVerification']),
382
397
  'account': AccountDtoFromJSON(json['account']),
383
398
  'pointsToOurServerReason': json['pointsToOurServerReason'],
384
399
  };
@@ -426,6 +441,7 @@ export function AdminDomainListItemDtoToJSONTyped(value?: AdminDomainListItemDto
426
441
  'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
427
442
  'showcased': value['showcased'],
428
443
  'marketplace': value['marketplace'],
444
+ 'leadVerification': LeadVerificationSettingsDtoToJSON(value['leadVerification']),
429
445
  'account': AccountDtoToJSON(value['account']),
430
446
  'pointsToOurServerReason': value['pointsToOurServerReason'],
431
447
  };
@@ -157,6 +157,7 @@ export interface AdminLeadListItemDto {
157
157
  * @export
158
158
  */
159
159
  export const AdminLeadListItemDtoStatusEnum = {
160
+ DRAFT: 'draft',
160
161
  UNVERIFIED: 'unverified',
161
162
  ACTIVE: 'active',
162
163
  ACCEPTED: 'accepted',
@@ -120,6 +120,7 @@ export interface BuyerLeadListItemDto {
120
120
  * @export
121
121
  */
122
122
  export const BuyerLeadListItemDtoStatusEnum = {
123
+ DRAFT: 'draft',
123
124
  UNVERIFIED: 'unverified',
124
125
  ACTIVE: 'active',
125
126
  ACCEPTED: 'accepted',
@@ -109,6 +109,7 @@ export const BuyerNotificationDtoTypeEnum = {
109
109
  EXPORT_COMPLETED: 'export_completed',
110
110
  DOMAIN_IMPORT_FINISHED: 'domain_import_finished',
111
111
  DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_verified_buyer_access_link_email',
112
+ DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_received_buyer_access_link_email',
112
113
  DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_offer_accepted_continue_order_email',
113
114
  DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: 'domain_offer_accepted_continue_lease_to_own_email',
114
115
  DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: 'domain_offer_accepted_continue_lease_to_own_email_installments_range',
@@ -95,6 +95,7 @@ export const BuyerNotificationListItemDtoTypeEnum = {
95
95
  EXPORT_COMPLETED: 'export_completed',
96
96
  DOMAIN_IMPORT_FINISHED: 'domain_import_finished',
97
97
  DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_verified_buyer_access_link_email',
98
+ DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_received_buyer_access_link_email',
98
99
  DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_offer_accepted_continue_order_email',
99
100
  DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: 'domain_offer_accepted_continue_lease_to_own_email',
100
101
  DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: 'domain_offer_accepted_continue_lease_to_own_email_installments_range',
@@ -20,6 +20,13 @@ import {
20
20
  CustomerSuccessDomainAuctionDtoToJSON,
21
21
  CustomerSuccessDomainAuctionDtoToJSONTyped,
22
22
  } from './CustomerSuccessDomainAuctionDto';
23
+ import type { LeadVerificationSettingsDto } from './LeadVerificationSettingsDto';
24
+ import {
25
+ LeadVerificationSettingsDtoFromJSON,
26
+ LeadVerificationSettingsDtoFromJSONTyped,
27
+ LeadVerificationSettingsDtoToJSON,
28
+ LeadVerificationSettingsDtoToJSONTyped,
29
+ } from './LeadVerificationSettingsDto';
23
30
  import type { MoneyDto } from './MoneyDto';
24
31
  import {
25
32
  MoneyDtoFromJSON,
@@ -260,6 +267,12 @@ export interface CustomerSuccessDomainListItemDto {
260
267
  * @memberof CustomerSuccessDomainListItemDto
261
268
  */
262
269
  marketplace: CustomerSuccessDomainListItemDtoMarketplaceEnum | null;
270
+ /**
271
+ * Lead verification override for this domain. Every null field inherits the account default.
272
+ * @type {LeadVerificationSettingsDto}
273
+ * @memberof CustomerSuccessDomainListItemDto
274
+ */
275
+ leadVerification: LeadVerificationSettingsDto;
263
276
  }
264
277
 
265
278
 
@@ -328,6 +341,7 @@ export function instanceOfCustomerSuccessDomainListItemDto(value: object): value
328
341
  if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
329
342
  if (!('showcased' in value) || value['showcased'] === undefined) return false;
330
343
  if (!('marketplace' in value) || value['marketplace'] === undefined) return false;
344
+ if (!('leadVerification' in value) || value['leadVerification'] === undefined) return false;
331
345
  return true;
332
346
  }
333
347
 
@@ -374,6 +388,7 @@ export function CustomerSuccessDomainListItemDtoFromJSONTyped(json: any, ignoreD
374
388
  'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
375
389
  'showcased': json['showcased'],
376
390
  'marketplace': json['marketplace'],
391
+ 'leadVerification': LeadVerificationSettingsDtoFromJSON(json['leadVerification']),
377
392
  };
378
393
  }
379
394
 
@@ -421,6 +436,7 @@ export function CustomerSuccessDomainListItemDtoToJSONTyped(value?: CustomerSucc
421
436
  'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
422
437
  'showcased': value['showcased'],
423
438
  'marketplace': value['marketplace'],
439
+ 'leadVerification': LeadVerificationSettingsDtoToJSON(value['leadVerification']),
424
440
  };
425
441
  }
426
442
 
@@ -96,7 +96,8 @@ export const FeatureFlagListItemDtoNameEnum = {
96
96
  AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD',
97
97
  MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING',
98
98
  AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
99
- LEAD_ENRICHMENT: 'LEAD_ENRICHMENT'
99
+ LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
100
+ LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA'
100
101
  } as const;
101
102
  export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
102
103
 
@@ -182,7 +182,8 @@ export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatur
182
182
  AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD',
183
183
  MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING',
184
184
  AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
185
- LEAD_ENRICHMENT: 'LEAD_ENRICHMENT'
185
+ LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
186
+ LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA'
186
187
  } as const;
187
188
  export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
188
189
 
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { LeadVerificationSettingsDto } from './LeadVerificationSettingsDto';
17
+ import {
18
+ LeadVerificationSettingsDtoFromJSON,
19
+ LeadVerificationSettingsDtoFromJSONTyped,
20
+ LeadVerificationSettingsDtoToJSON,
21
+ LeadVerificationSettingsDtoToJSONTyped,
22
+ } from './LeadVerificationSettingsDto';
16
23
  import type { MoneyDto } from './MoneyDto';
17
24
  import {
18
25
  MoneyDtoFromJSON,
@@ -255,6 +262,12 @@ export interface IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto {
255
262
  * @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
256
263
  */
257
264
  marketplace: IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoMarketplaceEnum | null;
265
+ /**
266
+ * Lead verification override for this domain. Every null field inherits the account default.
267
+ * @type {LeadVerificationSettingsDto}
268
+ * @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
269
+ */
270
+ leadVerification: LeadVerificationSettingsDto;
258
271
  /**
259
272
  * Account that owns the domain.
260
273
  * @type {AccountDto}
@@ -319,6 +332,7 @@ export function instanceOfIntersectionDomainDtoWithAccountDtoWithAuctionInfoDto(
319
332
  if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
320
333
  if (!('showcased' in value) || value['showcased'] === undefined) return false;
321
334
  if (!('marketplace' in value) || value['marketplace'] === undefined) return false;
335
+ if (!('leadVerification' in value) || value['leadVerification'] === undefined) return false;
322
336
  if (!('account' in value) || value['account'] === undefined) return false;
323
337
  if (!('hasAuction' in value) || value['hasAuction'] === undefined) return false;
324
338
  return true;
@@ -365,6 +379,7 @@ export function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyp
365
379
  'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
366
380
  'showcased': json['showcased'],
367
381
  'marketplace': json['marketplace'],
382
+ 'leadVerification': LeadVerificationSettingsDtoFromJSON(json['leadVerification']),
368
383
  'account': AccountDtoFromJSON(json['account']),
369
384
  'hasAuction': json['hasAuction'],
370
385
  };
@@ -412,6 +427,7 @@ export function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSONTyped
412
427
  'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
413
428
  'showcased': value['showcased'],
414
429
  'marketplace': value['marketplace'],
430
+ 'leadVerification': LeadVerificationSettingsDtoToJSON(value['leadVerification']),
415
431
  'account': AccountDtoToJSON(value['account']),
416
432
  'hasAuction': value['hasAuction'],
417
433
  };
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { LeadVerificationSettingsDto } from './LeadVerificationSettingsDto';
17
+ import {
18
+ LeadVerificationSettingsDtoFromJSON,
19
+ LeadVerificationSettingsDtoFromJSONTyped,
20
+ LeadVerificationSettingsDtoToJSON,
21
+ LeadVerificationSettingsDtoToJSONTyped,
22
+ } from './LeadVerificationSettingsDto';
16
23
  import type { MoneyDto } from './MoneyDto';
17
24
  import {
18
25
  MoneyDtoFromJSON,
@@ -255,6 +262,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
255
262
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
256
263
  */
257
264
  marketplace: IntersectionDomainDtoWithHijackerDtoWithAccountDtoMarketplaceEnum | null;
265
+ /**
266
+ * Lead verification override for this domain. Every null field inherits the account default.
267
+ * @type {LeadVerificationSettingsDto}
268
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
269
+ */
270
+ leadVerification: LeadVerificationSettingsDto;
258
271
  /**
259
272
  * Account managing the domain on behalf of the owner, when a hijacker is assigned.
260
273
  * @type {AccountDto}
@@ -319,6 +332,7 @@ export function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(val
319
332
  if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
320
333
  if (!('showcased' in value) || value['showcased'] === undefined) return false;
321
334
  if (!('marketplace' in value) || value['marketplace'] === undefined) return false;
335
+ if (!('leadVerification' in value) || value['leadVerification'] === undefined) return false;
322
336
  if (!('hijacker' in value) || value['hijacker'] === undefined) return false;
323
337
  if (!('account' in value) || value['account'] === undefined) return false;
324
338
  return true;
@@ -365,6 +379,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
365
379
  'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
366
380
  'showcased': json['showcased'],
367
381
  'marketplace': json['marketplace'],
382
+ 'leadVerification': LeadVerificationSettingsDtoFromJSON(json['leadVerification']),
368
383
  'hijacker': AccountDtoFromJSON(json['hijacker']),
369
384
  'account': AccountDtoFromJSON(json['account']),
370
385
  };
@@ -412,6 +427,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(va
412
427
  'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
413
428
  'showcased': value['showcased'],
414
429
  'marketplace': value['marketplace'],
430
+ 'leadVerification': LeadVerificationSettingsDtoToJSON(value['leadVerification']),
415
431
  'hijacker': AccountDtoToJSON(value['hijacker']),
416
432
  'account': AccountDtoToJSON(value['account']),
417
433
  };
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { LeadVerificationSettingsDto } from './LeadVerificationSettingsDto';
17
+ import {
18
+ LeadVerificationSettingsDtoFromJSON,
19
+ LeadVerificationSettingsDtoFromJSONTyped,
20
+ LeadVerificationSettingsDtoToJSON,
21
+ LeadVerificationSettingsDtoToJSONTyped,
22
+ } from './LeadVerificationSettingsDto';
16
23
  import type { MoneyDto } from './MoneyDto';
17
24
  import {
18
25
  MoneyDtoFromJSON,
@@ -255,6 +262,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
255
262
  * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
256
263
  */
257
264
  marketplace: IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum | null;
265
+ /**
266
+ * Lead verification override for this domain. Every null field inherits the account default.
267
+ * @type {LeadVerificationSettingsDto}
268
+ * @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
269
+ */
270
+ leadVerification: LeadVerificationSettingsDto;
258
271
  /**
259
272
  * SEO metrics for the domain from Moz, Majestic, and historical sources.
260
273
  * @type {SeoMetricsDto}
@@ -332,6 +345,7 @@ export function instanceOfIntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto(v
332
345
  if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
333
346
  if (!('showcased' in value) || value['showcased'] === undefined) return false;
334
347
  if (!('marketplace' in value) || value['marketplace'] === undefined) return false;
348
+ if (!('leadVerification' in value) || value['leadVerification'] === undefined) return false;
335
349
  if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
336
350
  if (!('routedTo' in value) || value['routedTo'] === undefined) return false;
337
351
  return true;
@@ -378,6 +392,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONType
378
392
  'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
379
393
  'showcased': json['showcased'],
380
394
  'marketplace': json['marketplace'],
395
+ 'leadVerification': LeadVerificationSettingsDtoFromJSON(json['leadVerification']),
381
396
  'seoMetrics': SeoMetricsDtoFromJSON(json['seoMetrics']),
382
397
  'routedTo': json['routedTo'],
383
398
  };
@@ -425,6 +440,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped(
425
440
  'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
426
441
  'showcased': value['showcased'],
427
442
  'marketplace': value['marketplace'],
443
+ 'leadVerification': LeadVerificationSettingsDtoToJSON(value['leadVerification']),
428
444
  'seoMetrics': SeoMetricsDtoToJSON(value['seoMetrics']),
429
445
  'routedTo': value['routedTo'],
430
446
  };
@@ -220,6 +220,7 @@ export interface IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetails
220
220
  * @export
221
221
  */
222
222
  export const IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoStatusEnum = {
223
+ DRAFT: 'draft',
223
224
  UNVERIFIED: 'unverified',
224
225
  ACTIVE: 'active',
225
226
  ACCEPTED: 'accepted',
@@ -207,6 +207,7 @@ export interface LeadDto {
207
207
  * @export
208
208
  */
209
209
  export const LeadDtoStatusEnum = {
210
+ DRAFT: 'draft',
210
211
  UNVERIFIED: 'unverified',
211
212
  ACTIVE: 'active',
212
213
  ACCEPTED: 'accepted',
@@ -32,6 +32,7 @@ export interface LeadStatusDto {
32
32
  * @export
33
33
  */
34
34
  export const LeadStatusDtoStatusEnum = {
35
+ DRAFT: 'draft',
35
36
  UNVERIFIED: 'unverified',
36
37
  ACTIVE: 'active',
37
38
  ACCEPTED: 'accepted',
@@ -0,0 +1,101 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { MoneyDto } from './MoneyDto';
17
+ import {
18
+ MoneyDtoFromJSON,
19
+ MoneyDtoFromJSONTyped,
20
+ MoneyDtoToJSON,
21
+ MoneyDtoToJSONTyped,
22
+ } from './MoneyDto';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface LeadVerificationInput
28
+ */
29
+ export interface LeadVerificationInput {
30
+ /**
31
+ * 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.
32
+ * @type {string}
33
+ * @memberof LeadVerificationInput
34
+ */
35
+ mode?: LeadVerificationInputModeEnum | null;
36
+ /**
37
+ * 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.
38
+ * @type {MoneyDto}
39
+ * @memberof LeadVerificationInput
40
+ */
41
+ otpLowerBound?: MoneyDto | null;
42
+ /**
43
+ * 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.
44
+ * @type {MoneyDto}
45
+ * @memberof LeadVerificationInput
46
+ */
47
+ otpUpperBound?: MoneyDto | null;
48
+ }
49
+
50
+
51
+ /**
52
+ * @export
53
+ */
54
+ export const LeadVerificationInputModeEnum = {
55
+ ALWAYS_OTP: 'always_otp',
56
+ CAPTCHA_ONLY: 'captcha_only',
57
+ HYBRID: 'hybrid'
58
+ } as const;
59
+ export type LeadVerificationInputModeEnum = typeof LeadVerificationInputModeEnum[keyof typeof LeadVerificationInputModeEnum];
60
+
61
+
62
+ /**
63
+ * Check if a given object implements the LeadVerificationInput interface.
64
+ */
65
+ export function instanceOfLeadVerificationInput(value: object): value is LeadVerificationInput {
66
+ return true;
67
+ }
68
+
69
+ export function LeadVerificationInputFromJSON(json: any): LeadVerificationInput {
70
+ return LeadVerificationInputFromJSONTyped(json, false);
71
+ }
72
+
73
+ export function LeadVerificationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadVerificationInput {
74
+ if (json == null) {
75
+ return json;
76
+ }
77
+ return {
78
+
79
+ 'mode': json['mode'] == null ? undefined : json['mode'],
80
+ 'otpLowerBound': json['otpLowerBound'] == null ? undefined : MoneyDtoFromJSON(json['otpLowerBound']),
81
+ 'otpUpperBound': json['otpUpperBound'] == null ? undefined : MoneyDtoFromJSON(json['otpUpperBound']),
82
+ };
83
+ }
84
+
85
+ export function LeadVerificationInputToJSON(json: any): LeadVerificationInput {
86
+ return LeadVerificationInputToJSONTyped(json, false);
87
+ }
88
+
89
+ export function LeadVerificationInputToJSONTyped(value?: LeadVerificationInput | null, ignoreDiscriminator: boolean = false): any {
90
+ if (value == null) {
91
+ return value;
92
+ }
93
+
94
+ return {
95
+
96
+ 'mode': value['mode'],
97
+ 'otpLowerBound': MoneyDtoToJSON(value['otpLowerBound']),
98
+ 'otpUpperBound': MoneyDtoToJSON(value['otpUpperBound']),
99
+ };
100
+ }
101
+
@@ -0,0 +1,104 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { MoneyDto } from './MoneyDto';
17
+ import {
18
+ MoneyDtoFromJSON,
19
+ MoneyDtoFromJSONTyped,
20
+ MoneyDtoToJSON,
21
+ MoneyDtoToJSONTyped,
22
+ } from './MoneyDto';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface LeadVerificationSettingsDto
28
+ */
29
+ export interface LeadVerificationSettingsDto {
30
+ /**
31
+ * 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.
32
+ * @type {string}
33
+ * @memberof LeadVerificationSettingsDto
34
+ */
35
+ mode: LeadVerificationSettingsDtoModeEnum | null;
36
+ /**
37
+ * Hybrid mode: offers below this amount require the email code. Null leaves that side open (account) or inherits it (domain).
38
+ * @type {MoneyDto}
39
+ * @memberof LeadVerificationSettingsDto
40
+ */
41
+ otpLowerBound: MoneyDto | null;
42
+ /**
43
+ * Hybrid mode: offers above this amount require the email code. Null leaves that side open (account) or inherits it (domain).
44
+ * @type {MoneyDto}
45
+ * @memberof LeadVerificationSettingsDto
46
+ */
47
+ otpUpperBound: MoneyDto | null;
48
+ }
49
+
50
+
51
+ /**
52
+ * @export
53
+ */
54
+ export const LeadVerificationSettingsDtoModeEnum = {
55
+ ALWAYS_OTP: 'always_otp',
56
+ CAPTCHA_ONLY: 'captcha_only',
57
+ HYBRID: 'hybrid'
58
+ } as const;
59
+ export type LeadVerificationSettingsDtoModeEnum = typeof LeadVerificationSettingsDtoModeEnum[keyof typeof LeadVerificationSettingsDtoModeEnum];
60
+
61
+
62
+ /**
63
+ * Check if a given object implements the LeadVerificationSettingsDto interface.
64
+ */
65
+ export function instanceOfLeadVerificationSettingsDto(value: object): value is LeadVerificationSettingsDto {
66
+ if (!('mode' in value) || value['mode'] === undefined) return false;
67
+ if (!('otpLowerBound' in value) || value['otpLowerBound'] === undefined) return false;
68
+ if (!('otpUpperBound' in value) || value['otpUpperBound'] === undefined) return false;
69
+ return true;
70
+ }
71
+
72
+ export function LeadVerificationSettingsDtoFromJSON(json: any): LeadVerificationSettingsDto {
73
+ return LeadVerificationSettingsDtoFromJSONTyped(json, false);
74
+ }
75
+
76
+ export function LeadVerificationSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadVerificationSettingsDto {
77
+ if (json == null) {
78
+ return json;
79
+ }
80
+ return {
81
+
82
+ 'mode': json['mode'],
83
+ 'otpLowerBound': MoneyDtoFromJSON(json['otpLowerBound']),
84
+ 'otpUpperBound': MoneyDtoFromJSON(json['otpUpperBound']),
85
+ };
86
+ }
87
+
88
+ export function LeadVerificationSettingsDtoToJSON(json: any): LeadVerificationSettingsDto {
89
+ return LeadVerificationSettingsDtoToJSONTyped(json, false);
90
+ }
91
+
92
+ export function LeadVerificationSettingsDtoToJSONTyped(value?: LeadVerificationSettingsDto | null, ignoreDiscriminator: boolean = false): any {
93
+ if (value == null) {
94
+ return value;
95
+ }
96
+
97
+ return {
98
+
99
+ 'mode': value['mode'],
100
+ 'otpLowerBound': MoneyDtoToJSON(value['otpLowerBound']),
101
+ 'otpUpperBound': MoneyDtoToJSON(value['otpUpperBound']),
102
+ };
103
+ }
104
+
@@ -262,6 +262,7 @@ export interface ListLeadsResultItem {
262
262
  * @export
263
263
  */
264
264
  export const ListLeadsResultItemStatusEnum = {
265
+ DRAFT: 'draft',
265
266
  UNVERIFIED: 'unverified',
266
267
  ACTIVE: 'active',
267
268
  ACCEPTED: 'accepted',
@@ -188,7 +188,8 @@ export const PrivateAccountGetMeResponseEnabledFeaturesEnum = {
188
188
  AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD',
189
189
  MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING',
190
190
  AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
191
- LEAD_ENRICHMENT: 'LEAD_ENRICHMENT'
191
+ LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
192
+ LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA'
192
193
  } as const;
193
194
  export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
194
195