@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.
- package/.openapi-generator/FILES +2 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +6 -6
- 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 +3 -2
- package/dist/apis/LeadsPublicApi.js +19 -5
- package/dist/apis/MarketingApi.d.ts +2 -2
- package/dist/apis/StatsApi.d.ts +5 -5
- package/dist/models/AccountChallengeRewardUsageListItemDtoMetadata.d.ts +1 -1
- package/dist/models/AccountChallengeRewardUsageListItemDtoMetadata.js +3 -1
- 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/AdminBankDepositDto.d.ts +4 -2
- package/dist/models/AdminChallengeListItemDto.d.ts +4 -2
- 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/AggregatedPaginationResponse.d.ts +4 -2
- package/dist/models/AirwallexDepositDto.d.ts +4 -2
- package/dist/models/AirwallexDepositDtoFee.d.ts +2 -2
- package/dist/models/AirwallexDepositDtoFee.js +6 -2
- package/dist/models/BuyerDto.d.ts +3 -3
- 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/CommissionAction.d.ts +1 -1
- package/dist/models/CommissionAction.js +1 -1
- package/dist/models/CommissionAddUpdateActionInput.d.ts +1 -1
- package/dist/models/CommissionConfigurationInput.d.ts +1 -1
- package/dist/models/CommissionDeleteActionInput.d.ts +1 -1
- package/dist/models/CommissionFactor.d.ts +1 -1
- package/dist/models/CommissionFactor.js +1 -1
- package/dist/models/CreateAccountPaymentInput.d.ts +4 -2
- package/dist/models/CreateApiKeyInput.d.ts +2 -2
- package/dist/models/CreateApiKeyInput.js +2 -2
- 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/FixedCommissionPayloadDto.d.ts +1 -1
- package/dist/models/FixedCommissionPayloadSimulationInput.d.ts +1 -1
- package/dist/models/FixedCommissionReasonPayloadDto.d.ts +1 -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/List200Response3.d.ts +4 -2
- package/dist/models/List200Response4.d.ts +4 -2
- package/dist/models/ListLeadsResultItem.d.ts +1 -0
- package/dist/models/ListLeadsResultItem.js +1 -0
- package/dist/models/OrderDto.d.ts +4 -2
- package/dist/models/OwnedDomainDto.d.ts +4 -2
- 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/SalesCountCommissionPayloadDto.d.ts +1 -1
- package/dist/models/SalesCountCommissionPayloadSimulationInput.d.ts +1 -1
- package/dist/models/SalesCountCommissionReasonPayloadDto.d.ts +1 -1
- package/dist/models/SellerLeadDetails.d.ts +1 -0
- package/dist/models/SellerLeadDetails.js +1 -0
- package/dist/models/SellerScaleChallengeListItemDto.d.ts +4 -2
- package/dist/models/SubscriptionDto.d.ts +5 -2
- package/dist/models/SubscriptionDto.js +1 -0
- package/dist/models/UpdateApiKeyInput.d.ts +2 -2
- package/dist/models/UpdateApiKeyInput.js +2 -2
- package/dist/models/UpdateChallengeInput.d.ts +4 -2
- 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/AdminApi.ts +8 -5
- package/src/apis/BuyersApi.ts +2 -2
- package/src/apis/BuyersPublicApi.ts +2 -2
- package/src/apis/LeadsPublicApi.ts +17 -4
- package/src/apis/MarketingApi.ts +4 -1
- package/src/apis/StatsApi.ts +7 -4
- package/src/models/AccountChallengeRewardUsageListItemDtoMetadata.ts +3 -2
- package/src/models/AccountSettingsDto.ts +16 -0
- package/src/models/AccountSettingsInput.ts +15 -0
- package/src/models/AdminBankDepositDto.ts +2 -2
- package/src/models/AdminChallengeListItemDto.ts +2 -2
- package/src/models/AdminDomainListItemDto.ts +16 -0
- package/src/models/AdminLeadListItemDto.ts +1 -0
- package/src/models/AggregatedPaginationResponse.ts +2 -2
- package/src/models/AirwallexDepositDto.ts +2 -2
- package/src/models/AirwallexDepositDtoFee.ts +6 -4
- package/src/models/BuyerDto.ts +3 -3
- package/src/models/BuyerLeadListItemDto.ts +1 -0
- package/src/models/BuyerNotificationDto.ts +1 -0
- package/src/models/BuyerNotificationListItemDto.ts +1 -0
- package/src/models/CommissionAction.ts +1 -1
- package/src/models/CommissionAddUpdateActionInput.ts +1 -1
- package/src/models/CommissionConfigurationInput.ts +1 -1
- package/src/models/CommissionDeleteActionInput.ts +1 -1
- package/src/models/CommissionFactor.ts +1 -1
- package/src/models/CreateAccountPaymentInput.ts +2 -2
- package/src/models/CreateApiKeyInput.ts +4 -4
- package/src/models/CustomerSuccessDomainListItemDto.ts +16 -0
- package/src/models/FeatureFlagListItemDto.ts +2 -1
- package/src/models/FixedCommissionPayloadDto.ts +1 -1
- package/src/models/FixedCommissionPayloadSimulationInput.ts +1 -1
- package/src/models/FixedCommissionReasonPayloadDto.ts +1 -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/List200Response3.ts +2 -2
- package/src/models/List200Response4.ts +2 -2
- package/src/models/ListLeadsResultItem.ts +1 -0
- package/src/models/OrderDto.ts +2 -2
- package/src/models/OwnedDomainDto.ts +2 -2
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/PublicLeadDto.ts +1 -0
- package/src/models/RelatedLeadDto.ts +1 -0
- package/src/models/SalesCountCommissionPayloadDto.ts +1 -1
- package/src/models/SalesCountCommissionPayloadSimulationInput.ts +1 -1
- package/src/models/SalesCountCommissionReasonPayloadDto.ts +1 -1
- package/src/models/SellerLeadDetails.ts +1 -0
- package/src/models/SellerScaleChallengeListItemDto.ts +2 -2
- package/src/models/SubscriptionDto.ts +3 -2
- package/src/models/UpdateApiKeyInput.ts +4 -4
- package/src/models/UpdateChallengeInput.ts +2 -2
- 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
|
@@ -89,6 +89,7 @@ export declare const BuyerNotificationListItemDtoTypeEnum: {
|
|
|
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.BuyerNotificationListItemDtoTypeEnum = {
|
|
|
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',
|
|
@@ -20,7 +20,7 @@ exports.CommissionActionFromJSONTyped = CommissionActionFromJSONTyped;
|
|
|
20
20
|
exports.CommissionActionToJSON = CommissionActionToJSON;
|
|
21
21
|
exports.CommissionActionToJSONTyped = CommissionActionToJSONTyped;
|
|
22
22
|
/**
|
|
23
|
-
* Bulk action type:
|
|
23
|
+
* Bulk action type: add a new commission or update an existing one
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
26
26
|
exports.CommissionAction = {
|
|
@@ -18,7 +18,7 @@ import type { CommissionPayloadInput } from './CommissionPayloadInput';
|
|
|
18
18
|
*/
|
|
19
19
|
export interface CommissionAddUpdateActionInput {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Bulk action type: add a new commission or update an existing one
|
|
22
22
|
* @type {CommissionAction}
|
|
23
23
|
* @memberof CommissionAddUpdateActionInput
|
|
24
24
|
*/
|
|
@@ -17,7 +17,7 @@ import type { CommissionFactor } from './CommissionFactor';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface CommissionConfigurationInput {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Factor that determines how the commission is calculated
|
|
21
21
|
* @type {CommissionFactor}
|
|
22
22
|
* @memberof CommissionConfigurationInput
|
|
23
23
|
*/
|
|
@@ -18,7 +18,7 @@ import type { CommissionPayloadIdInput } from './CommissionPayloadIdInput';
|
|
|
18
18
|
*/
|
|
19
19
|
export interface CommissionDeleteActionInput {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Bulk action type: delete an existing commission
|
|
22
22
|
* @type {CommissionAction}
|
|
23
23
|
* @memberof CommissionDeleteActionInput
|
|
24
24
|
*/
|
|
@@ -20,7 +20,7 @@ exports.CommissionFactorFromJSONTyped = CommissionFactorFromJSONTyped;
|
|
|
20
20
|
exports.CommissionFactorToJSON = CommissionFactorToJSON;
|
|
21
21
|
exports.CommissionFactorToJSONTyped = CommissionFactorToJSONTyped;
|
|
22
22
|
/**
|
|
23
|
-
* Commission factor
|
|
23
|
+
* Commission factor: fixed.
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
26
26
|
exports.CommissionFactor = {
|
|
@@ -29,10 +29,12 @@ export interface CreateAccountPaymentInput {
|
|
|
29
29
|
domainId?: string | null;
|
|
30
30
|
/**
|
|
31
31
|
* Additional payment metadata
|
|
32
|
-
* @type {
|
|
32
|
+
* @type {{ [key: string]: any; }}
|
|
33
33
|
* @memberof CreateAccountPaymentInput
|
|
34
34
|
*/
|
|
35
|
-
payload?:
|
|
35
|
+
payload?: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
};
|
|
36
38
|
}
|
|
37
39
|
/**
|
|
38
40
|
* @export
|
|
@@ -23,10 +23,10 @@ export interface CreateApiKeyInput {
|
|
|
23
23
|
name: string;
|
|
24
24
|
/**
|
|
25
25
|
* Scopes to grant. Must be a subset of the scopes returned by the available-scopes endpoint; a key can only reach endpoints covered by its scopes.
|
|
26
|
-
* @type {
|
|
26
|
+
* @type {Set<string>}
|
|
27
27
|
* @memberof CreateApiKeyInput
|
|
28
28
|
*/
|
|
29
|
-
scope:
|
|
29
|
+
scope: Set<CreateApiKeyInputScopeEnum>;
|
|
30
30
|
/**
|
|
31
31
|
* When the key should stop working. Omit for a key that never expires.
|
|
32
32
|
* @type {Date}
|
|
@@ -76,7 +76,7 @@ function CreateApiKeyInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
76
76
|
}
|
|
77
77
|
return {
|
|
78
78
|
'name': json['name'],
|
|
79
|
-
'scope': json['scope'],
|
|
79
|
+
'scope': new Set(json['scope']),
|
|
80
80
|
'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
|
|
81
81
|
};
|
|
82
82
|
}
|
|
@@ -90,7 +90,7 @@ function CreateApiKeyInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
90
90
|
}
|
|
91
91
|
return {
|
|
92
92
|
'name': value['name'],
|
|
93
|
-
'scope': value['scope'],
|
|
93
|
+
'scope': Array.from(value['scope']),
|
|
94
94
|
'expiresAt': value['expiresAt'] == null ? undefined : ((value['expiresAt']).toISOString()),
|
|
95
95
|
};
|
|
96
96
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { CustomerSuccessDomainAuctionDto } from './CustomerSuccessDomainAuctionDto';
|
|
13
|
+
import type { LeadVerificationSettingsDto } from './LeadVerificationSettingsDto';
|
|
13
14
|
import type { MoneyDto } from './MoneyDto';
|
|
14
15
|
import type { RentConfigurationDto } from './RentConfigurationDto';
|
|
15
16
|
import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
|
|
@@ -219,6 +220,12 @@ export interface CustomerSuccessDomainListItemDto {
|
|
|
219
220
|
* @memberof CustomerSuccessDomainListItemDto
|
|
220
221
|
*/
|
|
221
222
|
marketplace: CustomerSuccessDomainListItemDtoMarketplaceEnum | null;
|
|
223
|
+
/**
|
|
224
|
+
* Lead verification override for this domain. Every null field inherits the account default.
|
|
225
|
+
* @type {LeadVerificationSettingsDto}
|
|
226
|
+
* @memberof CustomerSuccessDomainListItemDto
|
|
227
|
+
*/
|
|
228
|
+
leadVerification: LeadVerificationSettingsDto;
|
|
222
229
|
}
|
|
223
230
|
/**
|
|
224
231
|
* @export
|
|
@@ -20,6 +20,7 @@ exports.CustomerSuccessDomainListItemDtoFromJSONTyped = CustomerSuccessDomainLis
|
|
|
20
20
|
exports.CustomerSuccessDomainListItemDtoToJSON = CustomerSuccessDomainListItemDtoToJSON;
|
|
21
21
|
exports.CustomerSuccessDomainListItemDtoToJSONTyped = CustomerSuccessDomainListItemDtoToJSONTyped;
|
|
22
22
|
var CustomerSuccessDomainAuctionDto_1 = require("./CustomerSuccessDomainAuctionDto");
|
|
23
|
+
var LeadVerificationSettingsDto_1 = require("./LeadVerificationSettingsDto");
|
|
23
24
|
var MoneyDto_1 = require("./MoneyDto");
|
|
24
25
|
var RentConfigurationDto_1 = require("./RentConfigurationDto");
|
|
25
26
|
var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
|
|
@@ -118,6 +119,8 @@ function instanceOfCustomerSuccessDomainListItemDto(value) {
|
|
|
118
119
|
return false;
|
|
119
120
|
if (!('marketplace' in value) || value['marketplace'] === undefined)
|
|
120
121
|
return false;
|
|
122
|
+
if (!('leadVerification' in value) || value['leadVerification'] === undefined)
|
|
123
|
+
return false;
|
|
121
124
|
return true;
|
|
122
125
|
}
|
|
123
126
|
function CustomerSuccessDomainListItemDtoFromJSON(json) {
|
|
@@ -161,6 +164,7 @@ function CustomerSuccessDomainListItemDtoFromJSONTyped(json, ignoreDiscriminator
|
|
|
161
164
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
162
165
|
'showcased': json['showcased'],
|
|
163
166
|
'marketplace': json['marketplace'],
|
|
167
|
+
'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoFromJSON)(json['leadVerification']),
|
|
164
168
|
};
|
|
165
169
|
}
|
|
166
170
|
function CustomerSuccessDomainListItemDtoToJSON(json) {
|
|
@@ -205,5 +209,6 @@ function CustomerSuccessDomainListItemDtoToJSONTyped(value, ignoreDiscriminator)
|
|
|
205
209
|
'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
|
|
206
210
|
'showcased': value['showcased'],
|
|
207
211
|
'marketplace': value['marketplace'],
|
|
212
|
+
'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoToJSON)(value['leadVerification']),
|
|
208
213
|
};
|
|
209
214
|
}
|
|
@@ -91,6 +91,7 @@ export declare const FeatureFlagListItemDtoNameEnum: {
|
|
|
91
91
|
readonly MARKETPLACE_ROUTING: "MARKETPLACE_ROUTING";
|
|
92
92
|
readonly AI_DOMAIN_EDIT: "AI_DOMAIN_EDIT";
|
|
93
93
|
readonly LEAD_ENRICHMENT: "LEAD_ENRICHMENT";
|
|
94
|
+
readonly LEAD_CREATION_RECAPTCHA: "LEAD_CREATION_RECAPTCHA";
|
|
94
95
|
};
|
|
95
96
|
export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
|
|
96
97
|
/**
|
|
@@ -51,7 +51,8 @@ exports.FeatureFlagListItemDtoNameEnum = {
|
|
|
51
51
|
AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD',
|
|
52
52
|
MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING',
|
|
53
53
|
AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
|
|
54
|
-
LEAD_ENRICHMENT: 'LEAD_ENRICHMENT'
|
|
54
|
+
LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
|
|
55
|
+
LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA'
|
|
55
56
|
};
|
|
56
57
|
/**
|
|
57
58
|
* Check if a given object implements the FeatureFlagListItemDto interface.
|
|
@@ -134,6 +134,7 @@ export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWi
|
|
|
134
134
|
readonly MARKETPLACE_ROUTING: "MARKETPLACE_ROUTING";
|
|
135
135
|
readonly AI_DOMAIN_EDIT: "AI_DOMAIN_EDIT";
|
|
136
136
|
readonly LEAD_ENRICHMENT: "LEAD_ENRICHMENT";
|
|
137
|
+
readonly LEAD_CREATION_RECAPTCHA: "LEAD_CREATION_RECAPTCHA";
|
|
137
138
|
};
|
|
138
139
|
export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
|
|
139
140
|
/**
|
package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js
CHANGED
|
@@ -58,7 +58,8 @@ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlag
|
|
|
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 IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto interface.
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { LeadVerificationSettingsDto } from './LeadVerificationSettingsDto';
|
|
12
13
|
import type { MoneyDto } from './MoneyDto';
|
|
13
14
|
import type { RentConfigurationDto } from './RentConfigurationDto';
|
|
14
15
|
import type { DomainAuctionDto } from './DomainAuctionDto';
|
|
@@ -208,6 +209,12 @@ export interface IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto {
|
|
|
208
209
|
* @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
|
|
209
210
|
*/
|
|
210
211
|
marketplace: IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoMarketplaceEnum | null;
|
|
212
|
+
/**
|
|
213
|
+
* Lead verification override for this domain. Every null field inherits the account default.
|
|
214
|
+
* @type {LeadVerificationSettingsDto}
|
|
215
|
+
* @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
|
|
216
|
+
*/
|
|
217
|
+
leadVerification: LeadVerificationSettingsDto;
|
|
211
218
|
/**
|
|
212
219
|
* Account that owns the domain.
|
|
213
220
|
* @type {AccountDto}
|
|
@@ -19,6 +19,7 @@ exports.IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSON = Intersec
|
|
|
19
19
|
exports.IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyped = IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyped;
|
|
20
20
|
exports.IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSON = IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSON;
|
|
21
21
|
exports.IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSONTyped = IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSONTyped;
|
|
22
|
+
var LeadVerificationSettingsDto_1 = require("./LeadVerificationSettingsDto");
|
|
22
23
|
var MoneyDto_1 = require("./MoneyDto");
|
|
23
24
|
var RentConfigurationDto_1 = require("./RentConfigurationDto");
|
|
24
25
|
var DomainAuctionDto_1 = require("./DomainAuctionDto");
|
|
@@ -103,6 +104,8 @@ function instanceOfIntersectionDomainDtoWithAccountDtoWithAuctionInfoDto(value)
|
|
|
103
104
|
return false;
|
|
104
105
|
if (!('marketplace' in value) || value['marketplace'] === undefined)
|
|
105
106
|
return false;
|
|
107
|
+
if (!('leadVerification' in value) || value['leadVerification'] === undefined)
|
|
108
|
+
return false;
|
|
106
109
|
if (!('account' in value) || value['account'] === undefined)
|
|
107
110
|
return false;
|
|
108
111
|
if (!('hasAuction' in value) || value['hasAuction'] === undefined)
|
|
@@ -148,6 +151,7 @@ function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyped(json
|
|
|
148
151
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
149
152
|
'showcased': json['showcased'],
|
|
150
153
|
'marketplace': json['marketplace'],
|
|
154
|
+
'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoFromJSON)(json['leadVerification']),
|
|
151
155
|
'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
|
|
152
156
|
'hasAuction': json['hasAuction'],
|
|
153
157
|
};
|
|
@@ -192,6 +196,7 @@ function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSONTyped(value,
|
|
|
192
196
|
'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
|
|
193
197
|
'showcased': value['showcased'],
|
|
194
198
|
'marketplace': value['marketplace'],
|
|
199
|
+
'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoToJSON)(value['leadVerification']),
|
|
195
200
|
'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
|
|
196
201
|
'hasAuction': value['hasAuction'],
|
|
197
202
|
};
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { LeadVerificationSettingsDto } from './LeadVerificationSettingsDto';
|
|
12
13
|
import type { MoneyDto } from './MoneyDto';
|
|
13
14
|
import type { RentConfigurationDto } from './RentConfigurationDto';
|
|
14
15
|
import type { DomainAuctionDto } from './DomainAuctionDto';
|
|
@@ -208,6 +209,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
208
209
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
209
210
|
*/
|
|
210
211
|
marketplace: IntersectionDomainDtoWithHijackerDtoWithAccountDtoMarketplaceEnum | null;
|
|
212
|
+
/**
|
|
213
|
+
* Lead verification override for this domain. Every null field inherits the account default.
|
|
214
|
+
* @type {LeadVerificationSettingsDto}
|
|
215
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
216
|
+
*/
|
|
217
|
+
leadVerification: LeadVerificationSettingsDto;
|
|
211
218
|
/**
|
|
212
219
|
* Account managing the domain on behalf of the owner, when a hijacker is assigned.
|
|
213
220
|
* @type {AccountDto}
|
|
@@ -19,6 +19,7 @@ exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSON = Intersectio
|
|
|
19
19
|
exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped = IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped;
|
|
20
20
|
exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON = IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON;
|
|
21
21
|
exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped = IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped;
|
|
22
|
+
var LeadVerificationSettingsDto_1 = require("./LeadVerificationSettingsDto");
|
|
22
23
|
var MoneyDto_1 = require("./MoneyDto");
|
|
23
24
|
var RentConfigurationDto_1 = require("./RentConfigurationDto");
|
|
24
25
|
var DomainAuctionDto_1 = require("./DomainAuctionDto");
|
|
@@ -103,6 +104,8 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
|
|
|
103
104
|
return false;
|
|
104
105
|
if (!('marketplace' in value) || value['marketplace'] === undefined)
|
|
105
106
|
return false;
|
|
107
|
+
if (!('leadVerification' in value) || value['leadVerification'] === undefined)
|
|
108
|
+
return false;
|
|
106
109
|
if (!('hijacker' in value) || value['hijacker'] === undefined)
|
|
107
110
|
return false;
|
|
108
111
|
if (!('account' in value) || value['account'] === undefined)
|
|
@@ -148,6 +151,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
|
|
|
148
151
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
149
152
|
'showcased': json['showcased'],
|
|
150
153
|
'marketplace': json['marketplace'],
|
|
154
|
+
'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoFromJSON)(json['leadVerification']),
|
|
151
155
|
'hijacker': (0, AccountDto_1.AccountDtoFromJSON)(json['hijacker']),
|
|
152
156
|
'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
|
|
153
157
|
};
|
|
@@ -192,6 +196,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(value, ig
|
|
|
192
196
|
'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
|
|
193
197
|
'showcased': value['showcased'],
|
|
194
198
|
'marketplace': value['marketplace'],
|
|
199
|
+
'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoToJSON)(value['leadVerification']),
|
|
195
200
|
'hijacker': (0, AccountDto_1.AccountDtoToJSON)(value['hijacker']),
|
|
196
201
|
'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
|
|
197
202
|
};
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { LeadVerificationSettingsDto } from './LeadVerificationSettingsDto';
|
|
12
13
|
import type { MoneyDto } from './MoneyDto';
|
|
13
14
|
import type { RentConfigurationDto } from './RentConfigurationDto';
|
|
14
15
|
import type { DomainAuctionDto } from './DomainAuctionDto';
|
|
@@ -208,6 +209,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
|
|
|
208
209
|
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
209
210
|
*/
|
|
210
211
|
marketplace: IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum | null;
|
|
212
|
+
/**
|
|
213
|
+
* Lead verification override for this domain. Every null field inherits the account default.
|
|
214
|
+
* @type {LeadVerificationSettingsDto}
|
|
215
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
216
|
+
*/
|
|
217
|
+
leadVerification: LeadVerificationSettingsDto;
|
|
211
218
|
/**
|
|
212
219
|
* SEO metrics for the domain from Moz, Majestic, and historical sources.
|
|
213
220
|
* @type {SeoMetricsDto}
|
|
@@ -19,6 +19,7 @@ exports.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSON = Intersect
|
|
|
19
19
|
exports.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped = IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped;
|
|
20
20
|
exports.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSON = IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSON;
|
|
21
21
|
exports.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped = IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped;
|
|
22
|
+
var LeadVerificationSettingsDto_1 = require("./LeadVerificationSettingsDto");
|
|
22
23
|
var MoneyDto_1 = require("./MoneyDto");
|
|
23
24
|
var RentConfigurationDto_1 = require("./RentConfigurationDto");
|
|
24
25
|
var DomainAuctionDto_1 = require("./DomainAuctionDto");
|
|
@@ -114,6 +115,8 @@ function instanceOfIntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto(value) {
|
|
|
114
115
|
return false;
|
|
115
116
|
if (!('marketplace' in value) || value['marketplace'] === undefined)
|
|
116
117
|
return false;
|
|
118
|
+
if (!('leadVerification' in value) || value['leadVerification'] === undefined)
|
|
119
|
+
return false;
|
|
117
120
|
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined)
|
|
118
121
|
return false;
|
|
119
122
|
if (!('routedTo' in value) || value['routedTo'] === undefined)
|
|
@@ -159,6 +162,7 @@ function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped(json,
|
|
|
159
162
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
160
163
|
'showcased': json['showcased'],
|
|
161
164
|
'marketplace': json['marketplace'],
|
|
165
|
+
'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoFromJSON)(json['leadVerification']),
|
|
162
166
|
'seoMetrics': (0, SeoMetricsDto_1.SeoMetricsDtoFromJSON)(json['seoMetrics']),
|
|
163
167
|
'routedTo': json['routedTo'],
|
|
164
168
|
};
|
|
@@ -203,6 +207,7 @@ function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped(value,
|
|
|
203
207
|
'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
|
|
204
208
|
'showcased': value['showcased'],
|
|
205
209
|
'marketplace': value['marketplace'],
|
|
210
|
+
'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoToJSON)(value['leadVerification']),
|
|
206
211
|
'seoMetrics': (0, SeoMetricsDto_1.SeoMetricsDtoToJSON)(value['seoMetrics']),
|
|
207
212
|
'routedTo': value['routedTo'],
|
|
208
213
|
};
|
|
@@ -171,6 +171,7 @@ export interface IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetails
|
|
|
171
171
|
* @export
|
|
172
172
|
*/
|
|
173
173
|
export declare const IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoStatusEnum: {
|
|
174
|
+
readonly DRAFT: "draft";
|
|
174
175
|
readonly UNVERIFIED: "unverified";
|
|
175
176
|
readonly ACTIVE: "active";
|
|
176
177
|
readonly ACCEPTED: "accepted";
|
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
|
+
}
|