@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
@@ -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',
@@ -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',
@@ -89,6 +89,7 @@ export declare const UserNotificationListItemDtoTypeEnum: {
89
89
  readonly EXPORT_COMPLETED: "export_completed";
90
90
  readonly DOMAIN_IMPORT_FINISHED: "domain_import_finished";
91
91
  readonly DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: "domain_offer_verified_buyer_access_link_email";
92
+ readonly DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: "domain_offer_received_buyer_access_link_email";
92
93
  readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: "domain_offer_accepted_continue_order_email";
93
94
  readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: "domain_offer_accepted_continue_lease_to_own_email";
94
95
  readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: "domain_offer_accepted_continue_lease_to_own_email_installments_range";
@@ -56,6 +56,7 @@ exports.UserNotificationListItemDtoTypeEnum = {
56
56
  EXPORT_COMPLETED: 'export_completed',
57
57
  DOMAIN_IMPORT_FINISHED: 'domain_import_finished',
58
58
  DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_verified_buyer_access_link_email',
59
+ DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_received_buyer_access_link_email',
59
60
  DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_offer_accepted_continue_order_email',
60
61
  DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: 'domain_offer_accepted_continue_lease_to_own_email',
61
62
  DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: 'domain_offer_accepted_continue_lease_to_own_email_installments_range',
@@ -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 { LeadPriceNegotiatorAiAgentConfigurationDto } from './LeadPriceNegotiatorAiAgentConfigurationDto';
13
14
  import type { AccountSettingsAffiliateDto } from './AccountSettingsAffiliateDto';
14
15
  import type { MoneyDto } from './MoneyDto';
@@ -146,6 +147,12 @@ export interface WithSettingsInner {
146
147
  * @memberof WithSettingsInner
147
148
  */
148
149
  leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
150
+ /**
151
+ * Default lead verification settings: how offers are verified before the seller sees them.
152
+ * @type {LeadVerificationSettingsDto}
153
+ * @memberof WithSettingsInner
154
+ */
155
+ leadVerification: LeadVerificationSettingsDto;
149
156
  }
150
157
  /**
151
158
  * Check if a given object implements the WithSettingsInner interface.
@@ -18,6 +18,7 @@ exports.WithSettingsInnerFromJSON = WithSettingsInnerFromJSON;
18
18
  exports.WithSettingsInnerFromJSONTyped = WithSettingsInnerFromJSONTyped;
19
19
  exports.WithSettingsInnerToJSON = WithSettingsInnerToJSON;
20
20
  exports.WithSettingsInnerToJSONTyped = WithSettingsInnerToJSONTyped;
21
+ var LeadVerificationSettingsDto_1 = require("./LeadVerificationSettingsDto");
21
22
  var LeadPriceNegotiatorAiAgentConfigurationDto_1 = require("./LeadPriceNegotiatorAiAgentConfigurationDto");
22
23
  var AccountSettingsAffiliateDto_1 = require("./AccountSettingsAffiliateDto");
23
24
  var MoneyDto_1 = require("./MoneyDto");
@@ -73,6 +74,8 @@ function instanceOfWithSettingsInner(value) {
73
74
  return false;
74
75
  if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined)
75
76
  return false;
77
+ if (!('leadVerification' in value) || value['leadVerification'] === undefined)
78
+ return false;
76
79
  return true;
77
80
  }
78
81
  function WithSettingsInnerFromJSON(json) {
@@ -103,6 +106,7 @@ function WithSettingsInnerFromJSONTyped(json, ignoreDiscriminator) {
103
106
  'auctionConfiguration': (0, AuctionConfigurationDto_1.AuctionConfigurationDtoFromJSON)(json['auctionConfiguration']),
104
107
  'domainLockConfiguration': (0, DomainLockConfigurationDto_1.DomainLockConfigurationDtoFromJSON)(json['domainLockConfiguration']),
105
108
  'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoFromJSON)(json['leadOfferExpirationConfiguration']),
109
+ 'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoFromJSON)(json['leadVerification']),
106
110
  };
107
111
  }
108
112
  function WithSettingsInnerToJSON(json) {
@@ -134,5 +138,6 @@ function WithSettingsInnerToJSONTyped(value, ignoreDiscriminator) {
134
138
  'auctionConfiguration': (0, AuctionConfigurationDto_1.AuctionConfigurationDtoToJSON)(value['auctionConfiguration']),
135
139
  'domainLockConfiguration': (0, DomainLockConfigurationDto_1.DomainLockConfigurationDtoToJSON)(value['domainLockConfiguration']),
136
140
  'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoToJSON)(value['leadOfferExpirationConfiguration']),
141
+ 'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoToJSON)(value['leadVerification']),
137
142
  };
138
143
  }
@@ -324,6 +324,8 @@ export * from './LeadPriceNegotiatorAiAgentConfigurationDto';
324
324
  export * from './LeadPriceNegotiatorAiAgentConfigurationInput';
325
325
  export * from './LeadRentConfigurationDto';
326
326
  export * from './LeadStatusDto';
327
+ export * from './LeadVerificationInput';
328
+ export * from './LeadVerificationSettingsDto';
327
329
  export * from './LeaseToOwnConfigurationDto';
328
330
  export * from './LeaseToOwnConfigurationInput';
329
331
  export * from './LeaseToOwnConfigurationPresetsDto';
@@ -342,6 +342,8 @@ __exportStar(require("./LeadPriceNegotiatorAiAgentConfigurationDto"), exports);
342
342
  __exportStar(require("./LeadPriceNegotiatorAiAgentConfigurationInput"), exports);
343
343
  __exportStar(require("./LeadRentConfigurationDto"), exports);
344
344
  __exportStar(require("./LeadStatusDto"), exports);
345
+ __exportStar(require("./LeadVerificationInput"), exports);
346
+ __exportStar(require("./LeadVerificationSettingsDto"), exports);
345
347
  __exportStar(require("./LeaseToOwnConfigurationDto"), exports);
346
348
  __exportStar(require("./LeaseToOwnConfigurationInput"), exports);
347
349
  __exportStar(require("./LeaseToOwnConfigurationPresetsDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.473",
3
+ "version": "0.0.474",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -650,7 +650,7 @@ export class BuyersApi extends runtime.BaseAPI {
650
650
  }
651
651
 
652
652
  /**
653
- * Returns the current buyer profile.
653
+ * Returns the current buyer profile. A signed-in buyer has proven they own their mailbox, so this also activates any unverified lead of theirs, covering offers made while a session already existed.
654
654
  * Get current buyer session
655
655
  */
656
656
  async buyerMeRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuyerSessionDto>> {
@@ -677,7 +677,7 @@ export class BuyersApi extends runtime.BaseAPI {
677
677
  }
678
678
 
679
679
  /**
680
- * Returns the current buyer profile.
680
+ * Returns the current buyer profile. A signed-in buyer has proven they own their mailbox, so this also activates any unverified lead of theirs, covering offers made while a session already existed.
681
681
  * Get current buyer session
682
682
  */
683
683
  async buyerMe(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuyerSessionDto> {
@@ -62,7 +62,7 @@ export interface BuyersPublicApiVerifyEmailOtpRequest {
62
62
  export class BuyersPublicApi extends runtime.BaseAPI {
63
63
 
64
64
  /**
65
- * Authenticates a buyer with email and password. Requires valid buyer credentials.
65
+ * Authenticates a buyer with email and password. Requires valid buyer credentials. Signing in also activates every unverified lead of the buyer, since it proves they own the mailbox.
66
66
  * Authenticate a buyer
67
67
  */
68
68
  async buyerLoginRaw(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LoginDto>> {
@@ -91,7 +91,7 @@ export class BuyersPublicApi extends runtime.BaseAPI {
91
91
  }
92
92
 
93
93
  /**
94
- * Authenticates a buyer with email and password. Requires valid buyer credentials.
94
+ * Authenticates a buyer with email and password. Requires valid buyer credentials. Signing in also activates every unverified lead of the buyer, since it proves they own the mailbox.
95
95
  * Authenticate a buyer
96
96
  */
97
97
  async buyerLogin(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LoginDto> {
@@ -56,6 +56,7 @@ export interface LeadsPublicApiAssociateLeadVisitorRequest {
56
56
 
57
57
  export interface LeadsPublicApiCreateLeadRequest {
58
58
  createLeadInput: CreateLeadInput;
59
+ xRecaptchaToken?: string;
59
60
  }
60
61
 
61
62
  export interface LeadsPublicApiGetLeadRequest {
@@ -147,6 +148,10 @@ export class LeadsPublicApi extends runtime.BaseAPI {
147
148
 
148
149
  headerParameters['Content-Type'] = 'application/json';
149
150
 
151
+ if (requestParameters['xRecaptchaToken'] != null) {
152
+ headerParameters['x-recaptcha-token'] = String(requestParameters['xRecaptchaToken']);
153
+ }
154
+
150
155
  const response = await this.request({
151
156
  path: `/leads`,
152
157
  method: 'POST',