@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
package/.openapi-generator/FILES
CHANGED
|
@@ -365,6 +365,8 @@ src/models/LeadPriceNegotiatorAiAgentConfigurationDto.ts
|
|
|
365
365
|
src/models/LeadPriceNegotiatorAiAgentConfigurationInput.ts
|
|
366
366
|
src/models/LeadRentConfigurationDto.ts
|
|
367
367
|
src/models/LeadStatusDto.ts
|
|
368
|
+
src/models/LeadVerificationInput.ts
|
|
369
|
+
src/models/LeadVerificationSettingsDto.ts
|
|
368
370
|
src/models/LeaseToOwnConfigurationDto.ts
|
|
369
371
|
src/models/LeaseToOwnConfigurationInput.ts
|
|
370
372
|
src/models/LeaseToOwnConfigurationPresetsDto.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.474
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @randock/nameshift-api-client@0.0.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.474 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
-
|
|
47
|
+
aff3238d8ae415357baf707afd5d34b65d7d97daffca13ad4af88942937bc55de9ce029ce26b43c217873fbfefe6d46b
|
package/dist/apis/AdminApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AccountNameshiftCommissionByTypeDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminDashboardStatsDto, AdminGetAllDomainTransfers200Response, AdminMarketplaceDto, BulkCommissionActionsInput, ChangeInvoiceStatusInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CommissionSimulationResultDto, CreateChallengeInput, DomainLockDto, DomainStatsDto, DomainTldsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadMessageDto, LedgerMutationsDto, LinkBankDepositToBankAccountInput, LinkBankDepositToInvoiceInput, ListAccounts200Response, ListBankAccounts200Response, ListBankDeposits200Response, ListDomains200Response, ListLeads200Response, ObjectId, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SimulateCommissionInput, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateChallengeInput, UpdateFeatureFlagInput, UpdateMarketplaceInput } from '../models/index';
|
|
13
|
+
import type { AccountNameshiftCommissionByTypeDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminDashboardStatsDto, AdminGetAllDomainTransfers200Response, AdminMarketplaceDto, BulkCommissionActionsInput, ChangeInvoiceStatusInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CommissionSimulationResultDto, CreateChallengeInput, DomainLockDto, DomainStatsDto, DomainTldsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadMessageDto, LedgerMutationsDto, LinkBankDepositToBankAccountInput, LinkBankDepositToInvoiceInput, ListAccounts200Response, ListBankAccounts200Response, ListBankDeposits200Response, ListDomains200Response, ListLeads200Response, ObjectId, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SimulateCommissionInput, StatsFilterInputDateRange, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateChallengeInput, UpdateFeatureFlagInput, UpdateMarketplaceInput } from '../models/index';
|
|
14
14
|
export interface AdminApiAdminDeleteAuctionRequest {
|
|
15
15
|
auctionId: string;
|
|
16
16
|
}
|
|
@@ -76,7 +76,7 @@ export interface AdminApiGetAccountSettingsRequest {
|
|
|
76
76
|
accountId: string;
|
|
77
77
|
}
|
|
78
78
|
export interface AdminApiGetAdminDashboardStatsRequest {
|
|
79
|
-
dateRange?:
|
|
79
|
+
dateRange?: StatsFilterInputDateRange | null;
|
|
80
80
|
}
|
|
81
81
|
export interface AdminApiGetAdminDomainTransferDetailsRequest {
|
|
82
82
|
domainTransferId: string;
|
|
@@ -84,10 +84,10 @@ export interface AdminApiGetAdminDomainTransferDetailsRequest {
|
|
|
84
84
|
export interface AdminApiGetAdminSalesByTldRequest {
|
|
85
85
|
currency: string;
|
|
86
86
|
accountId?: string;
|
|
87
|
-
dateRange?:
|
|
87
|
+
dateRange?: StatsFilterInputDateRange | null;
|
|
88
88
|
}
|
|
89
89
|
export interface AdminApiGetAllAccountsSalesCountRequest {
|
|
90
|
-
dateRange?:
|
|
90
|
+
dateRange?: StatsFilterInputDateRange | null;
|
|
91
91
|
}
|
|
92
92
|
export interface AdminApiGetAllAuctionsRequest {
|
|
93
93
|
filter?: {
|
|
@@ -152,7 +152,7 @@ export interface AdminApiGetAllSubscriptionsRequest {
|
|
|
152
152
|
filterStatus?: string;
|
|
153
153
|
}
|
|
154
154
|
export interface AdminApiGetCompanyStatsRequest {
|
|
155
|
-
dateRange?:
|
|
155
|
+
dateRange?: StatsFilterInputDateRange | null;
|
|
156
156
|
}
|
|
157
157
|
export interface AdminApiGetDomainStatsRequest {
|
|
158
158
|
domainName: string;
|
|
@@ -231,7 +231,7 @@ export interface AdminApiListLedgerMutationsRequest {
|
|
|
231
231
|
ledgerId: string;
|
|
232
232
|
page?: number;
|
|
233
233
|
limit?: number;
|
|
234
|
-
dateRange?:
|
|
234
|
+
dateRange?: StatsFilterInputDateRange | null;
|
|
235
235
|
}
|
|
236
236
|
export interface AdminApiLoginAsRequest {
|
|
237
237
|
accountId: string;
|
package/dist/apis/BuyersApi.d.ts
CHANGED
|
@@ -252,12 +252,12 @@ export declare class BuyersApi extends runtime.BaseAPI {
|
|
|
252
252
|
*/
|
|
253
253
|
bulkReadBuyerLeadMessage(requestParameters: BuyersApiBulkReadBuyerLeadMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
254
254
|
/**
|
|
255
|
-
* Returns the current buyer profile.
|
|
255
|
+
* 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.
|
|
256
256
|
* Get current buyer session
|
|
257
257
|
*/
|
|
258
258
|
buyerMeRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BuyerSessionDto>>;
|
|
259
259
|
/**
|
|
260
|
-
* Returns the current buyer profile.
|
|
260
|
+
* 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.
|
|
261
261
|
* Get current buyer session
|
|
262
262
|
*/
|
|
263
263
|
buyerMe(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BuyerSessionDto>;
|
package/dist/apis/BuyersApi.js
CHANGED
|
@@ -413,7 +413,7 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
413
413
|
});
|
|
414
414
|
};
|
|
415
415
|
/**
|
|
416
|
-
* Returns the current buyer profile.
|
|
416
|
+
* 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.
|
|
417
417
|
* Get current buyer session
|
|
418
418
|
*/
|
|
419
419
|
BuyersApi.prototype.buyerMeRaw = function (initOverrides) {
|
|
@@ -447,7 +447,7 @@ var BuyersApi = /** @class */ (function (_super) {
|
|
|
447
447
|
});
|
|
448
448
|
};
|
|
449
449
|
/**
|
|
450
|
-
* Returns the current buyer profile.
|
|
450
|
+
* 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.
|
|
451
451
|
* Get current buyer session
|
|
452
452
|
*/
|
|
453
453
|
BuyersApi.prototype.buyerMe = function (initOverrides) {
|
|
@@ -28,12 +28,12 @@ export interface BuyersPublicApiVerifyEmailOtpRequest {
|
|
|
28
28
|
*/
|
|
29
29
|
export declare class BuyersPublicApi extends runtime.BaseAPI {
|
|
30
30
|
/**
|
|
31
|
-
* Authenticates a buyer with email and password. Requires valid buyer credentials.
|
|
31
|
+
* 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.
|
|
32
32
|
* Authenticate a buyer
|
|
33
33
|
*/
|
|
34
34
|
buyerLoginRaw(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LoginDto>>;
|
|
35
35
|
/**
|
|
36
|
-
* Authenticates a buyer with email and password. Requires valid buyer credentials.
|
|
36
|
+
* 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.
|
|
37
37
|
* Authenticate a buyer
|
|
38
38
|
*/
|
|
39
39
|
buyerLogin(requestParameters: BuyersPublicApiBuyerLoginRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LoginDto>;
|
|
@@ -76,7 +76,7 @@ var BuyersPublicApi = /** @class */ (function (_super) {
|
|
|
76
76
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
* Authenticates a buyer with email and password. Requires valid buyer credentials.
|
|
79
|
+
* 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.
|
|
80
80
|
* Authenticate a buyer
|
|
81
81
|
*/
|
|
82
82
|
BuyersPublicApi.prototype.buyerLoginRaw = function (requestParameters, initOverrides) {
|
|
@@ -106,7 +106,7 @@ var BuyersPublicApi = /** @class */ (function (_super) {
|
|
|
106
106
|
});
|
|
107
107
|
};
|
|
108
108
|
/**
|
|
109
|
-
* Authenticates a buyer with email and password. Requires valid buyer credentials.
|
|
109
|
+
* 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.
|
|
110
110
|
* Authenticate a buyer
|
|
111
111
|
*/
|
|
112
112
|
BuyersPublicApi.prototype.buyerLogin = function (requestParameters, initOverrides) {
|
|
@@ -17,6 +17,7 @@ export interface LeadsPublicApiAssociateLeadVisitorRequest {
|
|
|
17
17
|
}
|
|
18
18
|
export interface LeadsPublicApiCreateLeadRequest {
|
|
19
19
|
createLeadInput: CreateLeadInput;
|
|
20
|
+
xRecaptchaToken?: string;
|
|
20
21
|
}
|
|
21
22
|
export interface LeadsPublicApiGetLeadRequest {
|
|
22
23
|
leadId: string;
|
|
@@ -93,12 +94,12 @@ export declare class LeadsPublicApi extends runtime.BaseAPI {
|
|
|
93
94
|
* Updates buyer contact details on an existing lead while it is still in an updatable status. No authentication required.
|
|
94
95
|
* Update a lead
|
|
95
96
|
*/
|
|
96
|
-
updateLeadRaw(requestParameters: LeadsPublicApiUpdateLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
97
|
+
updateLeadRaw(requestParameters: LeadsPublicApiUpdateLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ObjectId>>;
|
|
97
98
|
/**
|
|
98
99
|
* Updates buyer contact details on an existing lead while it is still in an updatable status. No authentication required.
|
|
99
100
|
* Update a lead
|
|
100
101
|
*/
|
|
101
|
-
updateLead(requestParameters: LeadsPublicApiUpdateLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
102
|
+
updateLead(requestParameters: LeadsPublicApiUpdateLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ObjectId | null | undefined>;
|
|
102
103
|
/**
|
|
103
104
|
* Verifies a lead using the one-time code sent to the buyer email. No authentication required.
|
|
104
105
|
* Verify a lead
|
|
@@ -140,6 +140,9 @@ var LeadsPublicApi = /** @class */ (function (_super) {
|
|
|
140
140
|
queryParameters = {};
|
|
141
141
|
headerParameters = {};
|
|
142
142
|
headerParameters['Content-Type'] = 'application/json';
|
|
143
|
+
if (requestParameters['xRecaptchaToken'] != null) {
|
|
144
|
+
headerParameters['x-recaptcha-token'] = String(requestParameters['xRecaptchaToken']);
|
|
145
|
+
}
|
|
143
146
|
return [4 /*yield*/, this.request({
|
|
144
147
|
path: "/leads",
|
|
145
148
|
method: 'POST',
|
|
@@ -336,7 +339,7 @@ var LeadsPublicApi = /** @class */ (function (_super) {
|
|
|
336
339
|
}, initOverrides)];
|
|
337
340
|
case 1:
|
|
338
341
|
response = _a.sent();
|
|
339
|
-
return [2 /*return*/, new runtime.
|
|
342
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ObjectIdFromJSON)(jsonValue); })];
|
|
340
343
|
}
|
|
341
344
|
});
|
|
342
345
|
});
|
|
@@ -347,12 +350,23 @@ var LeadsPublicApi = /** @class */ (function (_super) {
|
|
|
347
350
|
*/
|
|
348
351
|
LeadsPublicApi.prototype.updateLead = function (requestParameters, initOverrides) {
|
|
349
352
|
return __awaiter(this, void 0, void 0, function () {
|
|
350
|
-
|
|
351
|
-
|
|
353
|
+
var response, _a;
|
|
354
|
+
return __generator(this, function (_b) {
|
|
355
|
+
switch (_b.label) {
|
|
352
356
|
case 0: return [4 /*yield*/, this.updateLeadRaw(requestParameters, initOverrides)];
|
|
353
357
|
case 1:
|
|
354
|
-
|
|
355
|
-
|
|
358
|
+
response = _b.sent();
|
|
359
|
+
_a = response.raw.status;
|
|
360
|
+
switch (_a) {
|
|
361
|
+
case 202: return [3 /*break*/, 2];
|
|
362
|
+
case 204: return [3 /*break*/, 4];
|
|
363
|
+
}
|
|
364
|
+
return [3 /*break*/, 5];
|
|
365
|
+
case 2: return [4 /*yield*/, response.value()];
|
|
366
|
+
case 3: return [2 /*return*/, _b.sent()];
|
|
367
|
+
case 4: return [2 /*return*/, null];
|
|
368
|
+
case 5: return [4 /*yield*/, response.value()];
|
|
369
|
+
case 6: return [2 /*return*/, _b.sent()];
|
|
356
370
|
}
|
|
357
371
|
});
|
|
358
372
|
});
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { GetMarketingSales200Response, MarketingDashboardStatsDto, MarketingSalesFiltersDto } from '../models/index';
|
|
13
|
+
import type { GetMarketingSales200Response, MarketingDashboardStatsDto, MarketingSalesFiltersDto, StatsFilterInputDateRange } from '../models/index';
|
|
14
14
|
export interface MarketingApiGetMarketingDashboardStatsRequest {
|
|
15
|
-
dateRange?:
|
|
15
|
+
dateRange?: StatsFilterInputDateRange | null;
|
|
16
16
|
}
|
|
17
17
|
export interface MarketingApiGetMarketingSalesRequest {
|
|
18
18
|
filter?: {
|
package/dist/apis/StatsApi.d.ts
CHANGED
|
@@ -10,19 +10,19 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { SellerPendingPayoutsByCurrencyStatsItemDto, SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SellerTotalEarningsByCurrencyOverTimeStatsItemDto, SellerTotalEarningsByCurrencyStatsItemDto, SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto } from '../models/index';
|
|
13
|
+
import type { SellerPendingPayoutsByCurrencyStatsItemDto, SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SellerTotalEarningsByCurrencyOverTimeStatsItemDto, SellerTotalEarningsByCurrencyStatsItemDto, SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto, StatsFilterInputDateRange } from '../models/index';
|
|
14
14
|
export interface StatsApiGetSalesByTldRequest {
|
|
15
15
|
currency: string;
|
|
16
|
-
dateRange?:
|
|
16
|
+
dateRange?: StatsFilterInputDateRange | null;
|
|
17
17
|
}
|
|
18
18
|
export interface StatsApiGetSalesCountRequest {
|
|
19
|
-
dateRange?:
|
|
19
|
+
dateRange?: StatsFilterInputDateRange | null;
|
|
20
20
|
}
|
|
21
21
|
export interface StatsApiGetTotalEarningsByCurrencyRequest {
|
|
22
|
-
dateRange?:
|
|
22
|
+
dateRange?: StatsFilterInputDateRange | null;
|
|
23
23
|
}
|
|
24
24
|
export interface StatsApiGetTotalEarningsByCurrencyOverTimeRequest {
|
|
25
|
-
dateRange?:
|
|
25
|
+
dateRange?: StatsFilterInputDateRange | null;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
@@ -20,7 +20,7 @@ export interface AccountChallengeRewardUsageListItemDtoMetadata {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof AccountChallengeRewardUsageListItemDtoMetadata
|
|
22
22
|
*/
|
|
23
|
-
initialCommissionPercentage
|
|
23
|
+
initialCommissionPercentage: string;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the AccountChallengeRewardUsageListItemDtoMetadata interface.
|
|
@@ -22,6 +22,8 @@ exports.AccountChallengeRewardUsageListItemDtoMetadataToJSONTyped = AccountChall
|
|
|
22
22
|
* Check if a given object implements the AccountChallengeRewardUsageListItemDtoMetadata interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfAccountChallengeRewardUsageListItemDtoMetadata(value) {
|
|
25
|
+
if (!('initialCommissionPercentage' in value) || value['initialCommissionPercentage'] === undefined)
|
|
26
|
+
return false;
|
|
25
27
|
return true;
|
|
26
28
|
}
|
|
27
29
|
function AccountChallengeRewardUsageListItemDtoMetadataFromJSON(json) {
|
|
@@ -32,7 +34,7 @@ function AccountChallengeRewardUsageListItemDtoMetadataFromJSONTyped(json, ignor
|
|
|
32
34
|
return json;
|
|
33
35
|
}
|
|
34
36
|
return {
|
|
35
|
-
'initialCommissionPercentage': json['initialCommissionPercentage']
|
|
37
|
+
'initialCommissionPercentage': json['initialCommissionPercentage'],
|
|
36
38
|
};
|
|
37
39
|
}
|
|
38
40
|
function AccountChallengeRewardUsageListItemDtoMetadataToJSON(json) {
|
|
@@ -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 { AccountSettingsSidnDto } from './AccountSettingsSidnDto';
|
|
14
15
|
import type { AccountSettingsAliasDto } from './AccountSettingsAliasDto';
|
|
@@ -107,6 +108,12 @@ export interface AccountSettingsDto {
|
|
|
107
108
|
* @memberof AccountSettingsDto
|
|
108
109
|
*/
|
|
109
110
|
marketplace: AccountSettingsDtoMarketplaceEnum | null;
|
|
111
|
+
/**
|
|
112
|
+
* Default lead verification settings: how offers are verified before the seller sees them. Domains may override them.
|
|
113
|
+
* @type {LeadVerificationSettingsDto}
|
|
114
|
+
* @memberof AccountSettingsDto
|
|
115
|
+
*/
|
|
116
|
+
leadVerification: LeadVerificationSettingsDto;
|
|
110
117
|
}
|
|
111
118
|
/**
|
|
112
119
|
* @export
|
|
@@ -19,6 +19,7 @@ exports.AccountSettingsDtoFromJSON = AccountSettingsDtoFromJSON;
|
|
|
19
19
|
exports.AccountSettingsDtoFromJSONTyped = AccountSettingsDtoFromJSONTyped;
|
|
20
20
|
exports.AccountSettingsDtoToJSON = AccountSettingsDtoToJSON;
|
|
21
21
|
exports.AccountSettingsDtoToJSONTyped = AccountSettingsDtoToJSONTyped;
|
|
22
|
+
var LeadVerificationSettingsDto_1 = require("./LeadVerificationSettingsDto");
|
|
22
23
|
var MoneyDto_1 = require("./MoneyDto");
|
|
23
24
|
var AccountSettingsSidnDto_1 = require("./AccountSettingsSidnDto");
|
|
24
25
|
var AccountSettingsAliasDto_1 = require("./AccountSettingsAliasDto");
|
|
@@ -70,6 +71,8 @@ function instanceOfAccountSettingsDto(value) {
|
|
|
70
71
|
return false;
|
|
71
72
|
if (!('marketplace' in value) || value['marketplace'] === undefined)
|
|
72
73
|
return false;
|
|
74
|
+
if (!('leadVerification' in value) || value['leadVerification'] === undefined)
|
|
75
|
+
return false;
|
|
73
76
|
return true;
|
|
74
77
|
}
|
|
75
78
|
function AccountSettingsDtoFromJSON(json) {
|
|
@@ -94,6 +97,7 @@ function AccountSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
94
97
|
'domainLockConfiguration': (0, DomainLockConfigurationDto_1.DomainLockConfigurationDtoFromJSON)(json['domainLockConfiguration']),
|
|
95
98
|
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoFromJSON)(json['leadOfferExpirationConfiguration']),
|
|
96
99
|
'marketplace': json['marketplace'],
|
|
100
|
+
'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoFromJSON)(json['leadVerification']),
|
|
97
101
|
};
|
|
98
102
|
}
|
|
99
103
|
function AccountSettingsDtoToJSON(json) {
|
|
@@ -119,5 +123,6 @@ function AccountSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
119
123
|
'domainLockConfiguration': (0, DomainLockConfigurationDto_1.DomainLockConfigurationDtoToJSON)(value['domainLockConfiguration']),
|
|
120
124
|
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoToJSON)(value['leadOfferExpirationConfiguration']),
|
|
121
125
|
'marketplace': value['marketplace'],
|
|
126
|
+
'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoToJSON)(value['leadVerification']),
|
|
122
127
|
};
|
|
123
128
|
}
|
|
@@ -15,6 +15,7 @@ import type { LandingPageInput } from './LandingPageInput';
|
|
|
15
15
|
import type { TimeTableConfigurationInput } from './TimeTableConfigurationInput';
|
|
16
16
|
import type { LeadPriceNegotiatorAiAgentConfigurationInput } from './LeadPriceNegotiatorAiAgentConfigurationInput';
|
|
17
17
|
import type { LeaseToOwnConfigurationInput } from './LeaseToOwnConfigurationInput';
|
|
18
|
+
import type { LeadVerificationInput } from './LeadVerificationInput';
|
|
18
19
|
import type { AccountAliasInput } from './AccountAliasInput';
|
|
19
20
|
/**
|
|
20
21
|
*
|
|
@@ -112,6 +113,12 @@ export interface AccountSettingsInput {
|
|
|
112
113
|
* @memberof AccountSettingsInput
|
|
113
114
|
*/
|
|
114
115
|
leadOfferExpirationConfiguration?: LockConfigurationInput;
|
|
116
|
+
/**
|
|
117
|
+
* Default lead verification settings: how offers are verified before the seller sees them. Domains may override them.
|
|
118
|
+
* @type {LeadVerificationInput}
|
|
119
|
+
* @memberof AccountSettingsInput
|
|
120
|
+
*/
|
|
121
|
+
leadVerification?: LeadVerificationInput;
|
|
115
122
|
}
|
|
116
123
|
/**
|
|
117
124
|
* @export
|
|
@@ -25,6 +25,7 @@ var LandingPageInput_1 = require("./LandingPageInput");
|
|
|
25
25
|
var TimeTableConfigurationInput_1 = require("./TimeTableConfigurationInput");
|
|
26
26
|
var LeadPriceNegotiatorAiAgentConfigurationInput_1 = require("./LeadPriceNegotiatorAiAgentConfigurationInput");
|
|
27
27
|
var LeaseToOwnConfigurationInput_1 = require("./LeaseToOwnConfigurationInput");
|
|
28
|
+
var LeadVerificationInput_1 = require("./LeadVerificationInput");
|
|
28
29
|
var AccountAliasInput_1 = require("./AccountAliasInput");
|
|
29
30
|
/**
|
|
30
31
|
* @export
|
|
@@ -66,6 +67,7 @@ function AccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
66
67
|
'transferCostPaymentMaxPercentage': json['transferCostPaymentMaxPercentage'] == null ? undefined : json['transferCostPaymentMaxPercentage'],
|
|
67
68
|
'domainLockConfiguration': json['domainLockConfiguration'] == null ? undefined : (0, LockConfigurationInput_1.LockConfigurationInputFromJSON)(json['domainLockConfiguration']),
|
|
68
69
|
'leadOfferExpirationConfiguration': json['leadOfferExpirationConfiguration'] == null ? undefined : (0, LockConfigurationInput_1.LockConfigurationInputFromJSON)(json['leadOfferExpirationConfiguration']),
|
|
70
|
+
'leadVerification': json['leadVerification'] == null ? undefined : (0, LeadVerificationInput_1.LeadVerificationInputFromJSON)(json['leadVerification']),
|
|
69
71
|
};
|
|
70
72
|
}
|
|
71
73
|
function AccountSettingsInputToJSON(json) {
|
|
@@ -92,5 +94,6 @@ function AccountSettingsInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
92
94
|
'transferCostPaymentMaxPercentage': value['transferCostPaymentMaxPercentage'],
|
|
93
95
|
'domainLockConfiguration': (0, LockConfigurationInput_1.LockConfigurationInputToJSON)(value['domainLockConfiguration']),
|
|
94
96
|
'leadOfferExpirationConfiguration': (0, LockConfigurationInput_1.LockConfigurationInputToJSON)(value['leadOfferExpirationConfiguration']),
|
|
97
|
+
'leadVerification': (0, LeadVerificationInput_1.LeadVerificationInputToJSON)(value['leadVerification']),
|
|
95
98
|
};
|
|
96
99
|
}
|
|
@@ -61,10 +61,12 @@ export interface AdminBankDepositDto {
|
|
|
61
61
|
invoiceTransaction: AdminBankDepositInvoiceTransactionDto | null;
|
|
62
62
|
/**
|
|
63
63
|
* Raw deposit payload from the payment provider.
|
|
64
|
-
* @type {
|
|
64
|
+
* @type {{ [key: string]: any; }}
|
|
65
65
|
* @memberof AdminBankDepositDto
|
|
66
66
|
*/
|
|
67
|
-
raw:
|
|
67
|
+
raw: {
|
|
68
|
+
[key: string]: any;
|
|
69
|
+
};
|
|
68
70
|
}
|
|
69
71
|
/**
|
|
70
72
|
* Check if a given object implements the AdminBankDepositDto interface.
|
|
@@ -59,10 +59,12 @@ export interface AdminChallengeListItemDto {
|
|
|
59
59
|
rewardPoints: number;
|
|
60
60
|
/**
|
|
61
61
|
* Scale (threshold -> reward points); only when rewardType is scale
|
|
62
|
-
* @type {
|
|
62
|
+
* @type {{ [key: string]: number; }}
|
|
63
63
|
* @memberof AdminChallengeListItemDto
|
|
64
64
|
*/
|
|
65
|
-
scale?:
|
|
65
|
+
scale?: {
|
|
66
|
+
[key: string]: number;
|
|
67
|
+
};
|
|
66
68
|
}
|
|
67
69
|
/**
|
|
68
70
|
* @export
|
|
@@ -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 AdminDomainListItemDto {
|
|
|
208
209
|
* @memberof AdminDomainListItemDto
|
|
209
210
|
*/
|
|
210
211
|
marketplace: AdminDomainListItemDtoMarketplaceEnum | null;
|
|
212
|
+
/**
|
|
213
|
+
* Lead verification override for this domain. Every null field inherits the account default.
|
|
214
|
+
* @type {LeadVerificationSettingsDto}
|
|
215
|
+
* @memberof AdminDomainListItemDto
|
|
216
|
+
*/
|
|
217
|
+
leadVerification: LeadVerificationSettingsDto;
|
|
211
218
|
/**
|
|
212
219
|
* Account that owns the domain.
|
|
213
220
|
* @type {AccountDto}
|
|
@@ -19,6 +19,7 @@ exports.AdminDomainListItemDtoFromJSON = AdminDomainListItemDtoFromJSON;
|
|
|
19
19
|
exports.AdminDomainListItemDtoFromJSONTyped = AdminDomainListItemDtoFromJSONTyped;
|
|
20
20
|
exports.AdminDomainListItemDtoToJSON = AdminDomainListItemDtoToJSON;
|
|
21
21
|
exports.AdminDomainListItemDtoToJSONTyped = AdminDomainListItemDtoToJSONTyped;
|
|
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");
|
|
@@ -115,6 +116,8 @@ function instanceOfAdminDomainListItemDto(value) {
|
|
|
115
116
|
return false;
|
|
116
117
|
if (!('marketplace' in value) || value['marketplace'] === undefined)
|
|
117
118
|
return false;
|
|
119
|
+
if (!('leadVerification' in value) || value['leadVerification'] === undefined)
|
|
120
|
+
return false;
|
|
118
121
|
if (!('account' in value) || value['account'] === undefined)
|
|
119
122
|
return false;
|
|
120
123
|
if (!('pointsToOurServerReason' in value) || value['pointsToOurServerReason'] === undefined)
|
|
@@ -160,6 +163,7 @@ function AdminDomainListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
160
163
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
161
164
|
'showcased': json['showcased'],
|
|
162
165
|
'marketplace': json['marketplace'],
|
|
166
|
+
'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoFromJSON)(json['leadVerification']),
|
|
163
167
|
'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
|
|
164
168
|
'pointsToOurServerReason': json['pointsToOurServerReason'],
|
|
165
169
|
};
|
|
@@ -204,6 +208,7 @@ function AdminDomainListItemDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
204
208
|
'lockedUntil': (value['lockedUntil'] == null ? null : value['lockedUntil'].toISOString()),
|
|
205
209
|
'showcased': value['showcased'],
|
|
206
210
|
'marketplace': value['marketplace'],
|
|
211
|
+
'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoToJSON)(value['leadVerification']),
|
|
207
212
|
'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
|
|
208
213
|
'pointsToOurServerReason': value['pointsToOurServerReason'],
|
|
209
214
|
};
|
|
@@ -17,10 +17,12 @@
|
|
|
17
17
|
export interface AggregatedPaginationResponse {
|
|
18
18
|
/**
|
|
19
19
|
* Aggregation results keyed by aggregation name.
|
|
20
|
-
* @type {
|
|
20
|
+
* @type {{ [key: string]: any; }}
|
|
21
21
|
* @memberof AggregatedPaginationResponse
|
|
22
22
|
*/
|
|
23
|
-
aggregations:
|
|
23
|
+
aggregations: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
};
|
|
24
26
|
}
|
|
25
27
|
/**
|
|
26
28
|
* Check if a given object implements the AggregatedPaginationResponse interface.
|
|
@@ -48,10 +48,12 @@ export interface AirwallexDepositDto {
|
|
|
48
48
|
fee: AirwallexDepositDtoFee;
|
|
49
49
|
/**
|
|
50
50
|
* Payer information from the payment provider.
|
|
51
|
-
* @type {
|
|
51
|
+
* @type {{ [key: string]: any; }}
|
|
52
52
|
* @memberof AirwallexDepositDto
|
|
53
53
|
*/
|
|
54
|
-
payer:
|
|
54
|
+
payer: {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
};
|
|
55
57
|
}
|
|
56
58
|
/**
|
|
57
59
|
* Check if a given object implements the AirwallexDepositDto interface.
|
|
@@ -20,13 +20,13 @@ export interface AirwallexDepositDtoFee {
|
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof AirwallexDepositDtoFee
|
|
22
22
|
*/
|
|
23
|
-
amount
|
|
23
|
+
amount: number;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof AirwallexDepositDtoFee
|
|
28
28
|
*/
|
|
29
|
-
currency
|
|
29
|
+
currency: string;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the AirwallexDepositDtoFee interface.
|
|
@@ -22,6 +22,10 @@ exports.AirwallexDepositDtoFeeToJSONTyped = AirwallexDepositDtoFeeToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the AirwallexDepositDtoFee interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfAirwallexDepositDtoFee(value) {
|
|
25
|
+
if (!('amount' in value) || value['amount'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('currency' in value) || value['currency'] === undefined)
|
|
28
|
+
return false;
|
|
25
29
|
return true;
|
|
26
30
|
}
|
|
27
31
|
function AirwallexDepositDtoFeeFromJSON(json) {
|
|
@@ -32,8 +36,8 @@ function AirwallexDepositDtoFeeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
36
|
return json;
|
|
33
37
|
}
|
|
34
38
|
return {
|
|
35
|
-
'amount': json['amount']
|
|
36
|
-
'currency': json['currency']
|
|
39
|
+
'amount': json['amount'],
|
|
40
|
+
'currency': json['currency'],
|
|
37
41
|
};
|
|
38
42
|
}
|
|
39
43
|
function AirwallexDepositDtoFeeToJSON(json) {
|
|
@@ -67,19 +67,19 @@ export interface BuyerDto {
|
|
|
67
67
|
*/
|
|
68
68
|
phoneNumber: string | null;
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* Experience level based on the number of domains the buyer bought: none (0), active (1-3), expert (4+).
|
|
71
71
|
* @type {BuyerExperienceEnum}
|
|
72
72
|
* @memberof BuyerDto
|
|
73
73
|
*/
|
|
74
74
|
experience: BuyerExperienceEnum;
|
|
75
75
|
/**
|
|
76
|
-
*
|
|
76
|
+
* Share of the leads the buyer started that ever reached an accepted deal: accepts_nothing (0%), accepts_very_little (below 25%), normal (25-75%), accepts_almost_anything (75-100%), accepts_anything (100%), or unknown when the buyer has a single lead and no accepted deal yet.
|
|
77
77
|
* @type {BuyerAcceptanceEnum}
|
|
78
78
|
* @memberof BuyerDto
|
|
79
79
|
*/
|
|
80
80
|
accepted: BuyerAcceptanceEnum;
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
82
|
+
* Share of the leads the buyer started that were actually paid: pays_nothing (0%), pays_very_little (below 25%), normal (25-75%), pays_almost_everything (75-100%), pays_everything (100%), or unknown when the buyer has a single lead and no purchase yet.
|
|
83
83
|
* @type {BuyerPaymentEnum}
|
|
84
84
|
* @memberof BuyerDto
|
|
85
85
|
*/
|
|
@@ -96,6 +96,7 @@ export declare const BuyerNotificationDtoTypeEnum: {
|
|
|
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.BuyerNotificationDtoTypeEnum = {
|
|
|
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',
|