@randock/nameshift-api-client 0.0.472 → 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 (165) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +6 -6
  4. package/dist/apis/BuyersApi.d.ts +2 -2
  5. package/dist/apis/BuyersApi.js +2 -2
  6. package/dist/apis/BuyersPublicApi.d.ts +2 -2
  7. package/dist/apis/BuyersPublicApi.js +2 -2
  8. package/dist/apis/LeadsPublicApi.d.ts +3 -2
  9. package/dist/apis/LeadsPublicApi.js +19 -5
  10. package/dist/apis/MarketingApi.d.ts +2 -2
  11. package/dist/apis/StatsApi.d.ts +5 -5
  12. package/dist/models/AccountChallengeRewardUsageListItemDtoMetadata.d.ts +1 -1
  13. package/dist/models/AccountChallengeRewardUsageListItemDtoMetadata.js +3 -1
  14. package/dist/models/AccountSettingsDto.d.ts +7 -0
  15. package/dist/models/AccountSettingsDto.js +5 -0
  16. package/dist/models/AccountSettingsInput.d.ts +7 -0
  17. package/dist/models/AccountSettingsInput.js +3 -0
  18. package/dist/models/AdminBankDepositDto.d.ts +4 -2
  19. package/dist/models/AdminChallengeListItemDto.d.ts +4 -2
  20. package/dist/models/AdminDomainListItemDto.d.ts +7 -0
  21. package/dist/models/AdminDomainListItemDto.js +5 -0
  22. package/dist/models/AdminLeadListItemDto.d.ts +1 -0
  23. package/dist/models/AdminLeadListItemDto.js +1 -0
  24. package/dist/models/AggregatedPaginationResponse.d.ts +4 -2
  25. package/dist/models/AirwallexDepositDto.d.ts +4 -2
  26. package/dist/models/AirwallexDepositDtoFee.d.ts +2 -2
  27. package/dist/models/AirwallexDepositDtoFee.js +6 -2
  28. package/dist/models/BuyerDto.d.ts +3 -3
  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/CommissionAction.d.ts +1 -1
  36. package/dist/models/CommissionAction.js +1 -1
  37. package/dist/models/CommissionAddUpdateActionInput.d.ts +1 -1
  38. package/dist/models/CommissionConfigurationInput.d.ts +1 -1
  39. package/dist/models/CommissionDeleteActionInput.d.ts +1 -1
  40. package/dist/models/CommissionFactor.d.ts +1 -1
  41. package/dist/models/CommissionFactor.js +1 -1
  42. package/dist/models/CreateAccountPaymentInput.d.ts +4 -2
  43. package/dist/models/CreateApiKeyInput.d.ts +2 -2
  44. package/dist/models/CreateApiKeyInput.js +2 -2
  45. package/dist/models/CustomerSuccessDomainListItemDto.d.ts +7 -0
  46. package/dist/models/CustomerSuccessDomainListItemDto.js +5 -0
  47. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  48. package/dist/models/FeatureFlagListItemDto.js +2 -1
  49. package/dist/models/FixedCommissionPayloadDto.d.ts +1 -1
  50. package/dist/models/FixedCommissionPayloadSimulationInput.d.ts +1 -1
  51. package/dist/models/FixedCommissionReasonPayloadDto.d.ts +1 -1
  52. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  53. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  54. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +7 -0
  55. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +5 -0
  56. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
  57. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
  58. package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.d.ts +7 -0
  59. package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.js +5 -0
  60. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +1 -0
  61. package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +1 -0
  62. package/dist/models/LeadDto.d.ts +1 -0
  63. package/dist/models/LeadDto.js +1 -0
  64. package/dist/models/LeadStatusDto.d.ts +1 -0
  65. package/dist/models/LeadStatusDto.js +1 -0
  66. package/dist/models/LeadVerificationInput.d.ts +54 -0
  67. package/dist/models/LeadVerificationInput.js +63 -0
  68. package/dist/models/LeadVerificationSettingsDto.d.ts +54 -0
  69. package/dist/models/LeadVerificationSettingsDto.js +69 -0
  70. package/dist/models/List200Response3.d.ts +4 -2
  71. package/dist/models/List200Response4.d.ts +4 -2
  72. package/dist/models/ListLeadsResultItem.d.ts +1 -0
  73. package/dist/models/ListLeadsResultItem.js +1 -0
  74. package/dist/models/OrderDto.d.ts +4 -2
  75. package/dist/models/OwnedDomainDto.d.ts +4 -2
  76. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  77. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  78. package/dist/models/PublicLeadDto.d.ts +1 -0
  79. package/dist/models/PublicLeadDto.js +1 -0
  80. package/dist/models/RelatedLeadDto.d.ts +1 -0
  81. package/dist/models/RelatedLeadDto.js +1 -0
  82. package/dist/models/SalesCountCommissionPayloadDto.d.ts +1 -1
  83. package/dist/models/SalesCountCommissionPayloadSimulationInput.d.ts +1 -1
  84. package/dist/models/SalesCountCommissionReasonPayloadDto.d.ts +1 -1
  85. package/dist/models/SellerLeadDetails.d.ts +1 -0
  86. package/dist/models/SellerLeadDetails.js +1 -0
  87. package/dist/models/SellerScaleChallengeListItemDto.d.ts +4 -2
  88. package/dist/models/SubscriptionDto.d.ts +5 -2
  89. package/dist/models/SubscriptionDto.js +1 -0
  90. package/dist/models/UpdateApiKeyInput.d.ts +2 -2
  91. package/dist/models/UpdateApiKeyInput.js +2 -2
  92. package/dist/models/UpdateChallengeInput.d.ts +4 -2
  93. package/dist/models/UpdateDomainInput.d.ts +7 -0
  94. package/dist/models/UpdateDomainInput.js +3 -0
  95. package/dist/models/UserNotificationDto.d.ts +1 -0
  96. package/dist/models/UserNotificationDto.js +1 -0
  97. package/dist/models/UserNotificationListItemDto.d.ts +1 -0
  98. package/dist/models/UserNotificationListItemDto.js +1 -0
  99. package/dist/models/WithSettingsInner.d.ts +7 -0
  100. package/dist/models/WithSettingsInner.js +5 -0
  101. package/dist/models/index.d.ts +2 -0
  102. package/dist/models/index.js +2 -0
  103. package/package.json +1 -1
  104. package/src/apis/AdminApi.ts +8 -5
  105. package/src/apis/BuyersApi.ts +2 -2
  106. package/src/apis/BuyersPublicApi.ts +2 -2
  107. package/src/apis/LeadsPublicApi.ts +17 -4
  108. package/src/apis/MarketingApi.ts +4 -1
  109. package/src/apis/StatsApi.ts +7 -4
  110. package/src/models/AccountChallengeRewardUsageListItemDtoMetadata.ts +3 -2
  111. package/src/models/AccountSettingsDto.ts +16 -0
  112. package/src/models/AccountSettingsInput.ts +15 -0
  113. package/src/models/AdminBankDepositDto.ts +2 -2
  114. package/src/models/AdminChallengeListItemDto.ts +2 -2
  115. package/src/models/AdminDomainListItemDto.ts +16 -0
  116. package/src/models/AdminLeadListItemDto.ts +1 -0
  117. package/src/models/AggregatedPaginationResponse.ts +2 -2
  118. package/src/models/AirwallexDepositDto.ts +2 -2
  119. package/src/models/AirwallexDepositDtoFee.ts +6 -4
  120. package/src/models/BuyerDto.ts +3 -3
  121. package/src/models/BuyerLeadListItemDto.ts +1 -0
  122. package/src/models/BuyerNotificationDto.ts +1 -0
  123. package/src/models/BuyerNotificationListItemDto.ts +1 -0
  124. package/src/models/CommissionAction.ts +1 -1
  125. package/src/models/CommissionAddUpdateActionInput.ts +1 -1
  126. package/src/models/CommissionConfigurationInput.ts +1 -1
  127. package/src/models/CommissionDeleteActionInput.ts +1 -1
  128. package/src/models/CommissionFactor.ts +1 -1
  129. package/src/models/CreateAccountPaymentInput.ts +2 -2
  130. package/src/models/CreateApiKeyInput.ts +4 -4
  131. package/src/models/CustomerSuccessDomainListItemDto.ts +16 -0
  132. package/src/models/FeatureFlagListItemDto.ts +2 -1
  133. package/src/models/FixedCommissionPayloadDto.ts +1 -1
  134. package/src/models/FixedCommissionPayloadSimulationInput.ts +1 -1
  135. package/src/models/FixedCommissionReasonPayloadDto.ts +1 -1
  136. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  137. package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +16 -0
  138. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
  139. package/src/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.ts +16 -0
  140. package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +1 -0
  141. package/src/models/LeadDto.ts +1 -0
  142. package/src/models/LeadStatusDto.ts +1 -0
  143. package/src/models/LeadVerificationInput.ts +101 -0
  144. package/src/models/LeadVerificationSettingsDto.ts +104 -0
  145. package/src/models/List200Response3.ts +2 -2
  146. package/src/models/List200Response4.ts +2 -2
  147. package/src/models/ListLeadsResultItem.ts +1 -0
  148. package/src/models/OrderDto.ts +2 -2
  149. package/src/models/OwnedDomainDto.ts +2 -2
  150. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  151. package/src/models/PublicLeadDto.ts +1 -0
  152. package/src/models/RelatedLeadDto.ts +1 -0
  153. package/src/models/SalesCountCommissionPayloadDto.ts +1 -1
  154. package/src/models/SalesCountCommissionPayloadSimulationInput.ts +1 -1
  155. package/src/models/SalesCountCommissionReasonPayloadDto.ts +1 -1
  156. package/src/models/SellerLeadDetails.ts +1 -0
  157. package/src/models/SellerScaleChallengeListItemDto.ts +2 -2
  158. package/src/models/SubscriptionDto.ts +3 -2
  159. package/src/models/UpdateApiKeyInput.ts +4 -4
  160. package/src/models/UpdateChallengeInput.ts +2 -2
  161. package/src/models/UpdateDomainInput.ts +15 -0
  162. package/src/models/UserNotificationDto.ts +1 -0
  163. package/src/models/UserNotificationListItemDto.ts +1 -0
  164. package/src/models/WithSettingsInner.ts +16 -0
  165. package/src/models/index.ts +2 -0
@@ -28,7 +28,7 @@ import {
28
28
  */
29
29
  export interface FixedCommissionPayloadSimulationInput {
30
30
  /**
31
- *
31
+ * Commission factor (FIXED)
32
32
  * @type {CommissionFactor}
33
33
  * @memberof FixedCommissionPayloadSimulationInput
34
34
  */
@@ -28,7 +28,7 @@ import {
28
28
  */
29
29
  export interface FixedCommissionReasonPayloadDto {
30
30
  /**
31
- *
31
+ * Commission factor: fixed.
32
32
  * @type {CommissionFactor}
33
33
  * @memberof FixedCommissionReasonPayloadDto
34
34
  */
@@ -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
+
@@ -60,10 +60,10 @@ export interface List200Response3 {
60
60
  pagination: CursorBasedPageInfo;
61
61
  /**
62
62
  * Aggregation results keyed by aggregation name.
63
- * @type {object}
63
+ * @type {{ [key: string]: any; }}
64
64
  * @memberof List200Response3
65
65
  */
66
- aggregations: object;
66
+ aggregations: { [key: string]: any; };
67
67
  }
68
68
 
69
69
 
@@ -60,10 +60,10 @@ export interface List200Response4 {
60
60
  pagination: CursorBasedPageInfo;
61
61
  /**
62
62
  * Aggregation results keyed by aggregation name.
63
- * @type {object}
63
+ * @type {{ [key: string]: any; }}
64
64
  * @memberof List200Response4
65
65
  */
66
- aggregations: object;
66
+ aggregations: { [key: string]: any; };
67
67
  }
68
68
 
69
69
 
@@ -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',
@@ -165,10 +165,10 @@ export interface OrderDto {
165
165
  enabledPaymentMethods: Array<OrderDtoEnabledPaymentMethodsEnum>;
166
166
  /**
167
167
  * Available payment methods per gateway (canonical ids), keyed by PaymentGateway. Empty when the cache is missing or expired.
168
- * @type {object}
168
+ * @type {{ [key: string]: any; }}
169
169
  * @memberof OrderDto
170
170
  */
171
- availablePaymentMethods: object;
171
+ availablePaymentMethods: { [key: string]: any; };
172
172
  /**
173
173
  * Selected payment method on the active transaction (canonical)
174
174
  * @type {string}
@@ -57,10 +57,10 @@ export interface OwnedDomainDto {
57
57
  hosting: OwnedDomainDtoHostingEnum;
58
58
  /**
59
59
  * Last response from the external registry service.
60
- * @type {object}
60
+ * @type {{ [key: string]: any; }}
61
61
  * @memberof OwnedDomainDto
62
62
  */
63
- lastExternalServiceResponse: object;
63
+ lastExternalServiceResponse: { [key: string]: any; };
64
64
  /**
65
65
  * Domain transfer status.
66
66
  * @type {string}
@@ -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
 
@@ -71,6 +71,7 @@ export interface PublicLeadDto {
71
71
  * @export
72
72
  */
73
73
  export const PublicLeadDtoStatusEnum = {
74
+ DRAFT: 'draft',
74
75
  UNVERIFIED: 'unverified',
75
76
  ACTIVE: 'active',
76
77
  ACCEPTED: 'accepted',
@@ -70,6 +70,7 @@ export interface RelatedLeadDto {
70
70
  * @export
71
71
  */
72
72
  export const RelatedLeadDtoStatusEnum = {
73
+ DRAFT: 'draft',
73
74
  UNVERIFIED: 'unverified',
74
75
  ACTIVE: 'active',
75
76
  ACCEPTED: 'accepted',
@@ -35,7 +35,7 @@ import {
35
35
  */
36
36
  export interface SalesCountCommissionPayloadDto {
37
37
  /**
38
- *
38
+ * Commission factor: monthly sales count.
39
39
  * @type {CommissionFactor}
40
40
  * @memberof SalesCountCommissionPayloadDto
41
41
  */
@@ -35,7 +35,7 @@ import {
35
35
  */
36
36
  export interface SalesCountCommissionPayloadSimulationInput {
37
37
  /**
38
- *
38
+ * Commission factor (MONTHLY_SALES_COUNT)
39
39
  * @type {CommissionFactor}
40
40
  * @memberof SalesCountCommissionPayloadSimulationInput
41
41
  */
@@ -35,7 +35,7 @@ import {
35
35
  */
36
36
  export interface SalesCountCommissionReasonPayloadDto {
37
37
  /**
38
- *
38
+ * Commission factor: monthly sales count.
39
39
  * @type {CommissionFactor}
40
40
  * @memberof SalesCountCommissionReasonPayloadDto
41
41
  */
@@ -239,6 +239,7 @@ export interface SellerLeadDetails {
239
239
  * @export
240
240
  */
241
241
  export const SellerLeadDetailsStatusEnum = {
242
+ DRAFT: 'draft',
242
243
  UNVERIFIED: 'unverified',
243
244
  ACTIVE: 'active',
244
245
  ACCEPTED: 'accepted',
@@ -51,10 +51,10 @@ export interface SellerScaleChallengeListItemDto {
51
51
  rewardType: SellerScaleChallengeListItemDtoRewardTypeEnum;
52
52
  /**
53
53
  * Threshold -> reward points (e.g. { "10": 0.1, "50": 0.25, "250": 0.5 })
54
- * @type {object}
54
+ * @type {{ [key: string]: number; }}
55
55
  * @memberof SellerScaleChallengeListItemDto
56
56
  */
57
- scale: object;
57
+ scale: { [key: string]: number; };
58
58
  /**
59
59
  * Current value for this period (e.g. for keep_pointing_domains: number of domains pointing to our server)
60
60
  * @type {number}
@@ -192,10 +192,10 @@ export interface SubscriptionDto {
192
192
  hasPendingTransaction: boolean;
193
193
  /**
194
194
  * Available payment methods per gateway (canonical ids), keyed by PaymentGateway. Empty when the cache is missing or expired.
195
- * @type {object}
195
+ * @type {{ [key: string]: any; }}
196
196
  * @memberof SubscriptionDto
197
197
  */
198
- availablePaymentMethods: object;
198
+ availablePaymentMethods: { [key: string]: any; };
199
199
  /**
200
200
  * Selected payment method on the active transaction (canonical)
201
201
  * @type {string}
@@ -380,6 +380,7 @@ export type SubscriptionDtoTypeEnum = typeof SubscriptionDtoTypeEnum[keyof typeo
380
380
  * @export
381
381
  */
382
382
  export const SubscriptionDtoLeadStatusEnum = {
383
+ DRAFT: 'draft',
383
384
  UNVERIFIED: 'unverified',
384
385
  ACTIVE: 'active',
385
386
  ACCEPTED: 'accepted',
@@ -27,10 +27,10 @@ export interface UpdateApiKeyInput {
27
27
  name?: string;
28
28
  /**
29
29
  * Replacement set of scopes. Takes effect on the next request made with the key.
30
- * @type {Array<string>}
30
+ * @type {Set<string>}
31
31
  * @memberof UpdateApiKeyInput
32
32
  */
33
- scope?: Array<UpdateApiKeyInputScopeEnum>;
33
+ scope?: Set<UpdateApiKeyInputScopeEnum>;
34
34
  }
35
35
 
36
36
 
@@ -93,7 +93,7 @@ export function UpdateApiKeyInputFromJSONTyped(json: any, ignoreDiscriminator: b
93
93
  return {
94
94
 
95
95
  'name': json['name'] == null ? undefined : json['name'],
96
- 'scope': json['scope'] == null ? undefined : json['scope'],
96
+ 'scope': json['scope'] == null ? undefined : new Set(json['scope']),
97
97
  };
98
98
  }
99
99
 
@@ -109,7 +109,7 @@ export function UpdateApiKeyInputToJSONTyped(value?: UpdateApiKeyInput | null, i
109
109
  return {
110
110
 
111
111
  'name': value['name'],
112
- 'scope': value['scope'],
112
+ 'scope': value['scope'] == null ? undefined : Array.from(value['scope'] as Set<any>),
113
113
  };
114
114
  }
115
115
 
@@ -33,10 +33,10 @@ export interface UpdateChallengeInput {
33
33
  rewardPoints?: number;
34
34
  /**
35
35
  * Scale object: threshold -> reward points (only for rewardType=scale). E.g. { "1": 0.1, "5": 0.5, "10": 1 }. Send the full scale, not a single item.
36
- * @type {object}
36
+ * @type {{ [key: string]: number; }}
37
37
  * @memberof UpdateChallengeInput
38
38
  */
39
- scale?: object;
39
+ scale?: { [key: string]: number; };
40
40
  }
41
41
 
42
42
  /**