@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.
- package/.openapi-generator/FILES +2 -0
- package/README.md +3 -3
- package/dist/apis/BuyersApi.d.ts +2 -2
- package/dist/apis/BuyersApi.js +2 -2
- package/dist/apis/BuyersPublicApi.d.ts +2 -2
- package/dist/apis/BuyersPublicApi.js +2 -2
- package/dist/apis/LeadsPublicApi.d.ts +1 -0
- package/dist/apis/LeadsPublicApi.js +3 -0
- package/dist/models/AccountSettingsDto.d.ts +7 -0
- package/dist/models/AccountSettingsDto.js +5 -0
- package/dist/models/AccountSettingsInput.d.ts +7 -0
- package/dist/models/AccountSettingsInput.js +3 -0
- package/dist/models/AdminDomainListItemDto.d.ts +7 -0
- package/dist/models/AdminDomainListItemDto.js +5 -0
- package/dist/models/AdminLeadListItemDto.d.ts +1 -0
- package/dist/models/AdminLeadListItemDto.js +1 -0
- package/dist/models/BuyerLeadListItemDto.d.ts +1 -0
- package/dist/models/BuyerLeadListItemDto.js +1 -0
- package/dist/models/BuyerNotificationDto.d.ts +1 -0
- package/dist/models/BuyerNotificationDto.js +1 -0
- package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
- package/dist/models/BuyerNotificationListItemDto.js +1 -0
- package/dist/models/CustomerSuccessDomainListItemDto.d.ts +7 -0
- package/dist/models/CustomerSuccessDomainListItemDto.js +5 -0
- package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
- package/dist/models/FeatureFlagListItemDto.js +2 -1
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +5 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.js +5 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +1 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +1 -0
- package/dist/models/LeadDto.d.ts +1 -0
- package/dist/models/LeadDto.js +1 -0
- package/dist/models/LeadStatusDto.d.ts +1 -0
- package/dist/models/LeadStatusDto.js +1 -0
- package/dist/models/LeadVerificationInput.d.ts +54 -0
- package/dist/models/LeadVerificationInput.js +63 -0
- package/dist/models/LeadVerificationSettingsDto.d.ts +54 -0
- package/dist/models/LeadVerificationSettingsDto.js +69 -0
- package/dist/models/ListLeadsResultItem.d.ts +1 -0
- package/dist/models/ListLeadsResultItem.js +1 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/PublicLeadDto.d.ts +1 -0
- package/dist/models/PublicLeadDto.js +1 -0
- package/dist/models/RelatedLeadDto.d.ts +1 -0
- package/dist/models/RelatedLeadDto.js +1 -0
- package/dist/models/SellerLeadDetails.d.ts +1 -0
- package/dist/models/SellerLeadDetails.js +1 -0
- package/dist/models/SubscriptionDto.d.ts +1 -0
- package/dist/models/SubscriptionDto.js +1 -0
- package/dist/models/UpdateDomainInput.d.ts +7 -0
- package/dist/models/UpdateDomainInput.js +3 -0
- package/dist/models/UserNotificationDto.d.ts +1 -0
- package/dist/models/UserNotificationDto.js +1 -0
- package/dist/models/UserNotificationListItemDto.d.ts +1 -0
- package/dist/models/UserNotificationListItemDto.js +1 -0
- package/dist/models/WithSettingsInner.d.ts +7 -0
- package/dist/models/WithSettingsInner.js +5 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
- package/src/apis/BuyersApi.ts +2 -2
- package/src/apis/BuyersPublicApi.ts +2 -2
- package/src/apis/LeadsPublicApi.ts +5 -0
- package/src/models/AccountSettingsDto.ts +16 -0
- package/src/models/AccountSettingsInput.ts +15 -0
- package/src/models/AdminDomainListItemDto.ts +16 -0
- package/src/models/AdminLeadListItemDto.ts +1 -0
- package/src/models/BuyerLeadListItemDto.ts +1 -0
- package/src/models/BuyerNotificationDto.ts +1 -0
- package/src/models/BuyerNotificationListItemDto.ts +1 -0
- package/src/models/CustomerSuccessDomainListItemDto.ts +16 -0
- package/src/models/FeatureFlagListItemDto.ts +2 -1
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +16 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
- package/src/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.ts +16 -0
- package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +1 -0
- package/src/models/LeadDto.ts +1 -0
- package/src/models/LeadStatusDto.ts +1 -0
- package/src/models/LeadVerificationInput.ts +101 -0
- package/src/models/LeadVerificationSettingsDto.ts +104 -0
- package/src/models/ListLeadsResultItem.ts +1 -0
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/PublicLeadDto.ts +1 -0
- package/src/models/RelatedLeadDto.ts +1 -0
- package/src/models/SellerLeadDetails.ts +1 -0
- package/src/models/SubscriptionDto.ts +1 -0
- package/src/models/UpdateDomainInput.ts +15 -0
- package/src/models/UserNotificationDto.ts +1 -0
- package/src/models/UserNotificationListItemDto.ts +1 -0
- package/src/models/WithSettingsInner.ts +16 -0
- package/src/models/index.ts +2 -0
package/dist/models/LeadDto.d.ts
CHANGED
package/dist/models/LeadDto.js
CHANGED
|
@@ -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
|
+
}
|
|
@@ -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.
|
|
@@ -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";
|
|
@@ -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
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -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';
|
package/dist/models/index.js
CHANGED
|
@@ -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
package/src/apis/BuyersApi.ts
CHANGED
|
@@ -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',
|