@randock/nameshift-api-client 0.0.563 → 0.0.565
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 +9 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +63 -1
- package/dist/apis/AdminApi.js +246 -0
- package/dist/apis/LeadsApi.d.ts +28 -1
- package/dist/apis/LeadsApi.js +129 -0
- package/dist/apis/SettingsSearchApi.d.ts +31 -0
- package/dist/apis/SettingsSearchApi.js +135 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AcceptHighestBuyerLeadOfferInput.d.ts +32 -0
- package/dist/models/AcceptHighestBuyerLeadOfferInput.js +51 -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/GetSettingsSearchMisses200Response.d.ts +47 -0
- package/dist/models/GetSettingsSearchMisses200Response.js +62 -0
- package/dist/models/LeadOfferSummaryCannotAcceptReason.d.ts +29 -0
- package/dist/models/LeadOfferSummaryCannotAcceptReason.js +55 -0
- package/dist/models/LeadOfferSummaryDto.d.ts +52 -0
- package/dist/models/LeadOfferSummaryDto.js +65 -0
- package/dist/models/LeadOfferSummaryItemDto.d.ts +61 -0
- package/dist/models/LeadOfferSummaryItemDto.js +74 -0
- package/dist/models/RecordSettingsSearchMissInput.d.ts +38 -0
- package/dist/models/RecordSettingsSearchMissInput.js +55 -0
- package/dist/models/SettingsSearchMissCountDto.d.ts +50 -0
- package/dist/models/SettingsSearchMissCountDto.js +63 -0
- package/dist/models/SettingsSearchMissDto.d.ts +56 -0
- package/dist/models/SettingsSearchMissDto.js +67 -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/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +239 -0
- package/src/apis/LeadsApi.ts +118 -0
- package/src/apis/SettingsSearchApi.ts +82 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AcceptHighestBuyerLeadOfferInput.ts +66 -0
- package/src/models/BuyerNotificationDto.ts +1 -0
- package/src/models/BuyerNotificationListItemDto.ts +1 -0
- package/src/models/GetSettingsSearchMisses200Response.ts +106 -0
- package/src/models/LeadOfferSummaryCannotAcceptReason.ts +57 -0
- package/src/models/LeadOfferSummaryDto.ts +110 -0
- package/src/models/LeadOfferSummaryItemDto.ts +114 -0
- package/src/models/RecordSettingsSearchMissInput.ts +75 -0
- package/src/models/SettingsSearchMissCountDto.ts +93 -0
- package/src/models/SettingsSearchMissDto.ts +102 -0
- package/src/models/UserNotificationDto.ts +1 -0
- package/src/models/UserNotificationListItemDto.ts +1 -0
- package/src/models/index.ts +8 -0
package/src/apis/AdminApi.ts
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
+
AcceptHighestBuyerLeadOfferInput,
|
|
18
19
|
AccountNameshiftCommissionByTypeDto,
|
|
19
20
|
AccountNoteListDto,
|
|
20
21
|
AccountPaymentMethodProfileDto,
|
|
@@ -58,9 +59,11 @@ import type {
|
|
|
58
59
|
GetAllOrders200Response,
|
|
59
60
|
GetAllOwnedDomains200Response,
|
|
60
61
|
GetAllSubscriptions200Response,
|
|
62
|
+
GetSettingsSearchMisses200Response,
|
|
61
63
|
IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto,
|
|
62
64
|
LeadEnrichmentDto,
|
|
63
65
|
LeadMessageDto,
|
|
66
|
+
LeadOfferSummaryDto,
|
|
64
67
|
LedgerMutationsDto,
|
|
65
68
|
LinkBankDepositToBankAccountInput,
|
|
66
69
|
LinkBankDepositToInvoiceInput,
|
|
@@ -90,6 +93,7 @@ import type {
|
|
|
90
93
|
SellerSalesCountStatsItemDto,
|
|
91
94
|
SendAdminLeadAiPriceNegotiatorAgentChatMessageInput,
|
|
92
95
|
SendNewsletterPreviewInput,
|
|
96
|
+
SettingsSearchMissCountDto,
|
|
93
97
|
SimulateCommissionInput,
|
|
94
98
|
StatsFilterInputDateRange,
|
|
95
99
|
SubscriptionDetailsDto,
|
|
@@ -106,6 +110,8 @@ import type {
|
|
|
106
110
|
ValidationException,
|
|
107
111
|
} from '../models/index';
|
|
108
112
|
import {
|
|
113
|
+
AcceptHighestBuyerLeadOfferInputFromJSON,
|
|
114
|
+
AcceptHighestBuyerLeadOfferInputToJSON,
|
|
109
115
|
AccountNameshiftCommissionByTypeDtoFromJSON,
|
|
110
116
|
AccountNameshiftCommissionByTypeDtoToJSON,
|
|
111
117
|
AccountNoteListDtoFromJSON,
|
|
@@ -192,12 +198,16 @@ import {
|
|
|
192
198
|
GetAllOwnedDomains200ResponseToJSON,
|
|
193
199
|
GetAllSubscriptions200ResponseFromJSON,
|
|
194
200
|
GetAllSubscriptions200ResponseToJSON,
|
|
201
|
+
GetSettingsSearchMisses200ResponseFromJSON,
|
|
202
|
+
GetSettingsSearchMisses200ResponseToJSON,
|
|
195
203
|
IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSON,
|
|
196
204
|
IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSON,
|
|
197
205
|
LeadEnrichmentDtoFromJSON,
|
|
198
206
|
LeadEnrichmentDtoToJSON,
|
|
199
207
|
LeadMessageDtoFromJSON,
|
|
200
208
|
LeadMessageDtoToJSON,
|
|
209
|
+
LeadOfferSummaryDtoFromJSON,
|
|
210
|
+
LeadOfferSummaryDtoToJSON,
|
|
201
211
|
LedgerMutationsDtoFromJSON,
|
|
202
212
|
LedgerMutationsDtoToJSON,
|
|
203
213
|
LinkBankDepositToBankAccountInputFromJSON,
|
|
@@ -256,6 +266,8 @@ import {
|
|
|
256
266
|
SendAdminLeadAiPriceNegotiatorAgentChatMessageInputToJSON,
|
|
257
267
|
SendNewsletterPreviewInputFromJSON,
|
|
258
268
|
SendNewsletterPreviewInputToJSON,
|
|
269
|
+
SettingsSearchMissCountDtoFromJSON,
|
|
270
|
+
SettingsSearchMissCountDtoToJSON,
|
|
259
271
|
SimulateCommissionInputFromJSON,
|
|
260
272
|
SimulateCommissionInputToJSON,
|
|
261
273
|
StatsFilterInputDateRangeFromJSON,
|
|
@@ -286,6 +298,11 @@ import {
|
|
|
286
298
|
ValidationExceptionToJSON,
|
|
287
299
|
} from '../models/index';
|
|
288
300
|
|
|
301
|
+
export interface AdminApiAcceptHighestBuyerAdminLeadOfferRequest {
|
|
302
|
+
leadId: string;
|
|
303
|
+
acceptHighestBuyerLeadOfferInput: AcceptHighestBuyerLeadOfferInput;
|
|
304
|
+
}
|
|
305
|
+
|
|
289
306
|
export interface AdminApiAdminDeleteAuctionRequest {
|
|
290
307
|
auctionId: string;
|
|
291
308
|
}
|
|
@@ -485,6 +502,10 @@ export interface AdminApiGetAdminLeadEnrichmentRequest {
|
|
|
485
502
|
leadId: string;
|
|
486
503
|
}
|
|
487
504
|
|
|
505
|
+
export interface AdminApiGetAdminLeadOfferSummaryRequest {
|
|
506
|
+
leadId: string;
|
|
507
|
+
}
|
|
508
|
+
|
|
488
509
|
export interface AdminApiGetAdminSalesByTldRequest {
|
|
489
510
|
currency: string;
|
|
490
511
|
accountId?: string;
|
|
@@ -567,6 +588,21 @@ export interface AdminApiGetNewsletterRequest {
|
|
|
567
588
|
newsletterId: string;
|
|
568
589
|
}
|
|
569
590
|
|
|
591
|
+
export interface AdminApiGetSettingsSearchMissCountsRequest {
|
|
592
|
+
from?: Date;
|
|
593
|
+
to?: Date;
|
|
594
|
+
limit?: number;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
export interface AdminApiGetSettingsSearchMissesRequest {
|
|
598
|
+
from?: Date;
|
|
599
|
+
to?: Date;
|
|
600
|
+
filter?: { [key: string]: string; };
|
|
601
|
+
page?: number;
|
|
602
|
+
limit?: number;
|
|
603
|
+
sortBy?: Array<string>;
|
|
604
|
+
}
|
|
605
|
+
|
|
570
606
|
export interface AdminApiGetSubscriptionDetailsRequest {
|
|
571
607
|
subscriptionId: string;
|
|
572
608
|
}
|
|
@@ -845,6 +881,58 @@ export interface AdminApiVerifyBankAccountRequest {
|
|
|
845
881
|
*/
|
|
846
882
|
export class AdminApi extends runtime.BaseAPI {
|
|
847
883
|
|
|
884
|
+
/**
|
|
885
|
+
* Accepts the highest offer the buyer made, at any time, replacing the seller counter-offer that may be open. Creates the order and emails the buyer the payment link. `leadMessageId` is the offer the seller confirmed (see the offer summary); the request is refused when it is not the highest buyer offer any more. Validation error codes: NO_BUYER_OFFER, HIGHEST_BUYER_OFFER_CHANGED, MANUAL_LEAD, DOMAIN_IS_LOCKED, DOMAIN_HAS_AN_AUCTION, DOMAIN_IS_NOT_PURCHASABLE, MESSAGE_LIMIT_REACHED. The admin acts for the seller; the message is written as the seller. Requires admin bearer authentication.
|
|
886
|
+
* Accept the highest buyer offer
|
|
887
|
+
*/
|
|
888
|
+
async acceptHighestBuyerAdminLeadOfferRaw(requestParameters: AdminApiAcceptHighestBuyerAdminLeadOfferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
889
|
+
if (requestParameters['leadId'] == null) {
|
|
890
|
+
throw new runtime.RequiredError(
|
|
891
|
+
'leadId',
|
|
892
|
+
'Required parameter "leadId" was null or undefined when calling acceptHighestBuyerAdminLeadOffer().'
|
|
893
|
+
);
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
if (requestParameters['acceptHighestBuyerLeadOfferInput'] == null) {
|
|
897
|
+
throw new runtime.RequiredError(
|
|
898
|
+
'acceptHighestBuyerLeadOfferInput',
|
|
899
|
+
'Required parameter "acceptHighestBuyerLeadOfferInput" was null or undefined when calling acceptHighestBuyerAdminLeadOffer().'
|
|
900
|
+
);
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
const queryParameters: any = {};
|
|
904
|
+
|
|
905
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
906
|
+
|
|
907
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
908
|
+
|
|
909
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
910
|
+
const token = this.configuration.accessToken;
|
|
911
|
+
const tokenString = await token("bearer", []);
|
|
912
|
+
|
|
913
|
+
if (tokenString) {
|
|
914
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
const response = await this.request({
|
|
918
|
+
path: `/admin/leads/{leadId}/status/accept-highest-buyer-offer`.replace(`{${"leadId"}}`, encodeURIComponent(String(requestParameters['leadId']))),
|
|
919
|
+
method: 'POST',
|
|
920
|
+
headers: headerParameters,
|
|
921
|
+
query: queryParameters,
|
|
922
|
+
body: AcceptHighestBuyerLeadOfferInputToJSON(requestParameters['acceptHighestBuyerLeadOfferInput']),
|
|
923
|
+
}, initOverrides);
|
|
924
|
+
|
|
925
|
+
return new runtime.VoidApiResponse(response);
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* Accepts the highest offer the buyer made, at any time, replacing the seller counter-offer that may be open. Creates the order and emails the buyer the payment link. `leadMessageId` is the offer the seller confirmed (see the offer summary); the request is refused when it is not the highest buyer offer any more. Validation error codes: NO_BUYER_OFFER, HIGHEST_BUYER_OFFER_CHANGED, MANUAL_LEAD, DOMAIN_IS_LOCKED, DOMAIN_HAS_AN_AUCTION, DOMAIN_IS_NOT_PURCHASABLE, MESSAGE_LIMIT_REACHED. The admin acts for the seller; the message is written as the seller. Requires admin bearer authentication.
|
|
930
|
+
* Accept the highest buyer offer
|
|
931
|
+
*/
|
|
932
|
+
async acceptHighestBuyerAdminLeadOffer(requestParameters: AdminApiAcceptHighestBuyerAdminLeadOfferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
933
|
+
await this.acceptHighestBuyerAdminLeadOfferRaw(requestParameters, initOverrides);
|
|
934
|
+
}
|
|
935
|
+
|
|
848
936
|
/**
|
|
849
937
|
* Force-deletes an auction regardless of its current status. Requires admin privileges.
|
|
850
938
|
* Admin delete auction
|
|
@@ -2841,6 +2929,49 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
2841
2929
|
return await response.value();
|
|
2842
2930
|
}
|
|
2843
2931
|
|
|
2932
|
+
/**
|
|
2933
|
+
* Returns the highest buyer offer and the lowest seller offer of the negotiation (plain purchase offers in the domain currency, not withdrawn), and whether the highest buyer offer can be accepted now, for any account. Requires admin bearer authentication.
|
|
2934
|
+
* Get the offer summary of a lead
|
|
2935
|
+
*/
|
|
2936
|
+
async getAdminLeadOfferSummaryRaw(requestParameters: AdminApiGetAdminLeadOfferSummaryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LeadOfferSummaryDto>> {
|
|
2937
|
+
if (requestParameters['leadId'] == null) {
|
|
2938
|
+
throw new runtime.RequiredError(
|
|
2939
|
+
'leadId',
|
|
2940
|
+
'Required parameter "leadId" was null or undefined when calling getAdminLeadOfferSummary().'
|
|
2941
|
+
);
|
|
2942
|
+
}
|
|
2943
|
+
|
|
2944
|
+
const queryParameters: any = {};
|
|
2945
|
+
|
|
2946
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
2947
|
+
|
|
2948
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2949
|
+
const token = this.configuration.accessToken;
|
|
2950
|
+
const tokenString = await token("bearer", []);
|
|
2951
|
+
|
|
2952
|
+
if (tokenString) {
|
|
2953
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2954
|
+
}
|
|
2955
|
+
}
|
|
2956
|
+
const response = await this.request({
|
|
2957
|
+
path: `/admin/leads/{leadId}/offer-summary`.replace(`{${"leadId"}}`, encodeURIComponent(String(requestParameters['leadId']))),
|
|
2958
|
+
method: 'GET',
|
|
2959
|
+
headers: headerParameters,
|
|
2960
|
+
query: queryParameters,
|
|
2961
|
+
}, initOverrides);
|
|
2962
|
+
|
|
2963
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => LeadOfferSummaryDtoFromJSON(jsonValue));
|
|
2964
|
+
}
|
|
2965
|
+
|
|
2966
|
+
/**
|
|
2967
|
+
* Returns the highest buyer offer and the lowest seller offer of the negotiation (plain purchase offers in the domain currency, not withdrawn), and whether the highest buyer offer can be accepted now, for any account. Requires admin bearer authentication.
|
|
2968
|
+
* Get the offer summary of a lead
|
|
2969
|
+
*/
|
|
2970
|
+
async getAdminLeadOfferSummary(requestParameters: AdminApiGetAdminLeadOfferSummaryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LeadOfferSummaryDto> {
|
|
2971
|
+
const response = await this.getAdminLeadOfferSummaryRaw(requestParameters, initOverrides);
|
|
2972
|
+
return await response.value();
|
|
2973
|
+
}
|
|
2974
|
+
|
|
2844
2975
|
/**
|
|
2845
2976
|
* Returns sales statistics grouped by top-level domain, optionally filtered by account, currency, and date range.
|
|
2846
2977
|
* Get admin sales by TLD
|
|
@@ -3471,6 +3602,114 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
3471
3602
|
return await response.value();
|
|
3472
3603
|
}
|
|
3473
3604
|
|
|
3605
|
+
/**
|
|
3606
|
+
* Groups the recorded searches by query, most frequent first, capped at `limit` queries.
|
|
3607
|
+
* Count settings searches without results per query
|
|
3608
|
+
*/
|
|
3609
|
+
async getSettingsSearchMissCountsRaw(requestParameters: AdminApiGetSettingsSearchMissCountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SettingsSearchMissCountDto>>> {
|
|
3610
|
+
const queryParameters: any = {};
|
|
3611
|
+
|
|
3612
|
+
if (requestParameters['from'] != null) {
|
|
3613
|
+
queryParameters['from'] = (requestParameters['from'] as any).toISOString();
|
|
3614
|
+
}
|
|
3615
|
+
|
|
3616
|
+
if (requestParameters['to'] != null) {
|
|
3617
|
+
queryParameters['to'] = (requestParameters['to'] as any).toISOString();
|
|
3618
|
+
}
|
|
3619
|
+
|
|
3620
|
+
if (requestParameters['limit'] != null) {
|
|
3621
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
3622
|
+
}
|
|
3623
|
+
|
|
3624
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
3625
|
+
|
|
3626
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
3627
|
+
const token = this.configuration.accessToken;
|
|
3628
|
+
const tokenString = await token("bearer", []);
|
|
3629
|
+
|
|
3630
|
+
if (tokenString) {
|
|
3631
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3632
|
+
}
|
|
3633
|
+
}
|
|
3634
|
+
const response = await this.request({
|
|
3635
|
+
path: `/admin/settings-search-misses/counts`,
|
|
3636
|
+
method: 'GET',
|
|
3637
|
+
headers: headerParameters,
|
|
3638
|
+
query: queryParameters,
|
|
3639
|
+
}, initOverrides);
|
|
3640
|
+
|
|
3641
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(SettingsSearchMissCountDtoFromJSON));
|
|
3642
|
+
}
|
|
3643
|
+
|
|
3644
|
+
/**
|
|
3645
|
+
* Groups the recorded searches by query, most frequent first, capped at `limit` queries.
|
|
3646
|
+
* Count settings searches without results per query
|
|
3647
|
+
*/
|
|
3648
|
+
async getSettingsSearchMissCounts(requestParameters: AdminApiGetSettingsSearchMissCountsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SettingsSearchMissCountDto>> {
|
|
3649
|
+
const response = await this.getSettingsSearchMissCountsRaw(requestParameters, initOverrides);
|
|
3650
|
+
return await response.value();
|
|
3651
|
+
}
|
|
3652
|
+
|
|
3653
|
+
/**
|
|
3654
|
+
* Lists the recorded settings searches that returned nothing, newest first.
|
|
3655
|
+
* List settings searches without results
|
|
3656
|
+
*/
|
|
3657
|
+
async getSettingsSearchMissesRaw(requestParameters: AdminApiGetSettingsSearchMissesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetSettingsSearchMisses200Response>> {
|
|
3658
|
+
const queryParameters: any = {};
|
|
3659
|
+
|
|
3660
|
+
if (requestParameters['from'] != null) {
|
|
3661
|
+
queryParameters['from'] = (requestParameters['from'] as any).toISOString();
|
|
3662
|
+
}
|
|
3663
|
+
|
|
3664
|
+
if (requestParameters['to'] != null) {
|
|
3665
|
+
queryParameters['to'] = (requestParameters['to'] as any).toISOString();
|
|
3666
|
+
}
|
|
3667
|
+
|
|
3668
|
+
if (requestParameters['filter'] != null) {
|
|
3669
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
3670
|
+
}
|
|
3671
|
+
|
|
3672
|
+
if (requestParameters['page'] != null) {
|
|
3673
|
+
queryParameters['page'] = requestParameters['page'];
|
|
3674
|
+
}
|
|
3675
|
+
|
|
3676
|
+
if (requestParameters['limit'] != null) {
|
|
3677
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
3678
|
+
}
|
|
3679
|
+
|
|
3680
|
+
if (requestParameters['sortBy'] != null) {
|
|
3681
|
+
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
3682
|
+
}
|
|
3683
|
+
|
|
3684
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
3685
|
+
|
|
3686
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
3687
|
+
const token = this.configuration.accessToken;
|
|
3688
|
+
const tokenString = await token("bearer", []);
|
|
3689
|
+
|
|
3690
|
+
if (tokenString) {
|
|
3691
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
3692
|
+
}
|
|
3693
|
+
}
|
|
3694
|
+
const response = await this.request({
|
|
3695
|
+
path: `/admin/settings-search-misses`,
|
|
3696
|
+
method: 'GET',
|
|
3697
|
+
headers: headerParameters,
|
|
3698
|
+
query: queryParameters,
|
|
3699
|
+
}, initOverrides);
|
|
3700
|
+
|
|
3701
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetSettingsSearchMisses200ResponseFromJSON(jsonValue));
|
|
3702
|
+
}
|
|
3703
|
+
|
|
3704
|
+
/**
|
|
3705
|
+
* Lists the recorded settings searches that returned nothing, newest first.
|
|
3706
|
+
* List settings searches without results
|
|
3707
|
+
*/
|
|
3708
|
+
async getSettingsSearchMisses(requestParameters: AdminApiGetSettingsSearchMissesRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetSettingsSearchMisses200Response> {
|
|
3709
|
+
const response = await this.getSettingsSearchMissesRaw(requestParameters, initOverrides);
|
|
3710
|
+
return await response.value();
|
|
3711
|
+
}
|
|
3712
|
+
|
|
3474
3713
|
/**
|
|
3475
3714
|
* Returns subscription information.
|
|
3476
3715
|
* Get subscription details
|
package/src/apis/LeadsApi.ts
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
+
AcceptHighestBuyerLeadOfferInput,
|
|
18
19
|
BadRequestException,
|
|
19
20
|
BatchReadSellerLeadMessageInput,
|
|
20
21
|
CreateLeadMessageInput,
|
|
@@ -22,6 +23,7 @@ import type {
|
|
|
22
23
|
LeadEnrichmentDto,
|
|
23
24
|
LeadLeaseToOwnAndRentConfigurationPresetsDto,
|
|
24
25
|
LeadOfferExpirationConfigurationInput,
|
|
26
|
+
LeadOfferSummaryDto,
|
|
25
27
|
LeadQuickReplyListDto,
|
|
26
28
|
List200Response,
|
|
27
29
|
ListAdminRelatedLeads200Response,
|
|
@@ -35,6 +37,8 @@ import type {
|
|
|
35
37
|
ValidationException,
|
|
36
38
|
} from '../models/index';
|
|
37
39
|
import {
|
|
40
|
+
AcceptHighestBuyerLeadOfferInputFromJSON,
|
|
41
|
+
AcceptHighestBuyerLeadOfferInputToJSON,
|
|
38
42
|
BadRequestExceptionFromJSON,
|
|
39
43
|
BadRequestExceptionToJSON,
|
|
40
44
|
BatchReadSellerLeadMessageInputFromJSON,
|
|
@@ -49,6 +53,8 @@ import {
|
|
|
49
53
|
LeadLeaseToOwnAndRentConfigurationPresetsDtoToJSON,
|
|
50
54
|
LeadOfferExpirationConfigurationInputFromJSON,
|
|
51
55
|
LeadOfferExpirationConfigurationInputToJSON,
|
|
56
|
+
LeadOfferSummaryDtoFromJSON,
|
|
57
|
+
LeadOfferSummaryDtoToJSON,
|
|
52
58
|
LeadQuickReplyListDtoFromJSON,
|
|
53
59
|
LeadQuickReplyListDtoToJSON,
|
|
54
60
|
List200ResponseFromJSON,
|
|
@@ -73,6 +79,11 @@ import {
|
|
|
73
79
|
ValidationExceptionToJSON,
|
|
74
80
|
} from '../models/index';
|
|
75
81
|
|
|
82
|
+
export interface LeadsApiAcceptHighestBuyerLeadOfferRequest {
|
|
83
|
+
leadId: string;
|
|
84
|
+
acceptHighestBuyerLeadOfferInput: AcceptHighestBuyerLeadOfferInput;
|
|
85
|
+
}
|
|
86
|
+
|
|
76
87
|
export interface LeadsApiAcceptLeadOfferRequest {
|
|
77
88
|
leadId: string;
|
|
78
89
|
}
|
|
@@ -107,6 +118,10 @@ export interface LeadsApiGetLeadEnrichmentRequest {
|
|
|
107
118
|
leadId: string;
|
|
108
119
|
}
|
|
109
120
|
|
|
121
|
+
export interface LeadsApiGetLeadOfferSummaryRequest {
|
|
122
|
+
leadId: string;
|
|
123
|
+
}
|
|
124
|
+
|
|
110
125
|
export interface LeadsApiGetLeadQuickRepliesRequest {
|
|
111
126
|
leadId: string;
|
|
112
127
|
}
|
|
@@ -175,6 +190,62 @@ export interface LeadsApiUpdateLeadOfferExpirationConfigurationRequest {
|
|
|
175
190
|
*/
|
|
176
191
|
export class LeadsApi extends runtime.BaseAPI {
|
|
177
192
|
|
|
193
|
+
/**
|
|
194
|
+
* Accepts the highest offer the buyer made, at any time, replacing the seller counter-offer that may be open. Creates the order and emails the buyer the payment link. `leadMessageId` is the offer the seller confirmed (see the offer summary); the request is refused when it is not the highest buyer offer any more. Validation error codes: NO_BUYER_OFFER, HIGHEST_BUYER_OFFER_CHANGED, MANUAL_LEAD, DOMAIN_IS_LOCKED, DOMAIN_HAS_AN_AUCTION, DOMAIN_IS_NOT_PURCHASABLE, MESSAGE_LIMIT_REACHED. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
195
|
+
* Accept the highest buyer offer
|
|
196
|
+
*/
|
|
197
|
+
async acceptHighestBuyerLeadOfferRaw(requestParameters: LeadsApiAcceptHighestBuyerLeadOfferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
198
|
+
if (requestParameters['leadId'] == null) {
|
|
199
|
+
throw new runtime.RequiredError(
|
|
200
|
+
'leadId',
|
|
201
|
+
'Required parameter "leadId" was null or undefined when calling acceptHighestBuyerLeadOffer().'
|
|
202
|
+
);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
if (requestParameters['acceptHighestBuyerLeadOfferInput'] == null) {
|
|
206
|
+
throw new runtime.RequiredError(
|
|
207
|
+
'acceptHighestBuyerLeadOfferInput',
|
|
208
|
+
'Required parameter "acceptHighestBuyerLeadOfferInput" was null or undefined when calling acceptHighestBuyerLeadOffer().'
|
|
209
|
+
);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
const queryParameters: any = {};
|
|
213
|
+
|
|
214
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
215
|
+
|
|
216
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
217
|
+
|
|
218
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
219
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
223
|
+
const token = this.configuration.accessToken;
|
|
224
|
+
const tokenString = await token("bearer", []);
|
|
225
|
+
|
|
226
|
+
if (tokenString) {
|
|
227
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
const response = await this.request({
|
|
231
|
+
path: `/private/leads/{leadId}/status/accept-highest-buyer-offer`.replace(`{${"leadId"}}`, encodeURIComponent(String(requestParameters['leadId']))),
|
|
232
|
+
method: 'POST',
|
|
233
|
+
headers: headerParameters,
|
|
234
|
+
query: queryParameters,
|
|
235
|
+
body: AcceptHighestBuyerLeadOfferInputToJSON(requestParameters['acceptHighestBuyerLeadOfferInput']),
|
|
236
|
+
}, initOverrides);
|
|
237
|
+
|
|
238
|
+
return new runtime.VoidApiResponse(response);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Accepts the highest offer the buyer made, at any time, replacing the seller counter-offer that may be open. Creates the order and emails the buyer the payment link. `leadMessageId` is the offer the seller confirmed (see the offer summary); the request is refused when it is not the highest buyer offer any more. Validation error codes: NO_BUYER_OFFER, HIGHEST_BUYER_OFFER_CHANGED, MANUAL_LEAD, DOMAIN_IS_LOCKED, DOMAIN_HAS_AN_AUCTION, DOMAIN_IS_NOT_PURCHASABLE, MESSAGE_LIMIT_REACHED. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
243
|
+
* Accept the highest buyer offer
|
|
244
|
+
*/
|
|
245
|
+
async acceptHighestBuyerLeadOffer(requestParameters: LeadsApiAcceptHighestBuyerLeadOfferRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
246
|
+
await this.acceptHighestBuyerLeadOfferRaw(requestParameters, initOverrides);
|
|
247
|
+
}
|
|
248
|
+
|
|
178
249
|
/**
|
|
179
250
|
* Accepts the current buyer offer on the lead and advances the negotiation. **API key scope required:** `LEADS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
180
251
|
* Accept the buyer offer
|
|
@@ -609,6 +680,53 @@ export class LeadsApi extends runtime.BaseAPI {
|
|
|
609
680
|
return await response.value();
|
|
610
681
|
}
|
|
611
682
|
|
|
683
|
+
/**
|
|
684
|
+
* Returns the highest buyer offer and the lowest seller offer of the negotiation (plain purchase offers in the domain currency, not withdrawn), and whether the highest buyer offer can be accepted now. **API key scope required:** `LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
685
|
+
* Get the offer summary of a lead
|
|
686
|
+
*/
|
|
687
|
+
async getLeadOfferSummaryRaw(requestParameters: LeadsApiGetLeadOfferSummaryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LeadOfferSummaryDto>> {
|
|
688
|
+
if (requestParameters['leadId'] == null) {
|
|
689
|
+
throw new runtime.RequiredError(
|
|
690
|
+
'leadId',
|
|
691
|
+
'Required parameter "leadId" was null or undefined when calling getLeadOfferSummary().'
|
|
692
|
+
);
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
const queryParameters: any = {};
|
|
696
|
+
|
|
697
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
698
|
+
|
|
699
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
700
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
704
|
+
const token = this.configuration.accessToken;
|
|
705
|
+
const tokenString = await token("bearer", []);
|
|
706
|
+
|
|
707
|
+
if (tokenString) {
|
|
708
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
const response = await this.request({
|
|
712
|
+
path: `/private/leads/{leadId}/offer-summary`.replace(`{${"leadId"}}`, encodeURIComponent(String(requestParameters['leadId']))),
|
|
713
|
+
method: 'GET',
|
|
714
|
+
headers: headerParameters,
|
|
715
|
+
query: queryParameters,
|
|
716
|
+
}, initOverrides);
|
|
717
|
+
|
|
718
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => LeadOfferSummaryDtoFromJSON(jsonValue));
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* Returns the highest buyer offer and the lowest seller offer of the negotiation (plain purchase offers in the domain currency, not withdrawn), and whether the highest buyer offer can be accepted now. **API key scope required:** `LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
723
|
+
* Get the offer summary of a lead
|
|
724
|
+
*/
|
|
725
|
+
async getLeadOfferSummary(requestParameters: LeadsApiGetLeadOfferSummaryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LeadOfferSummaryDto> {
|
|
726
|
+
const response = await this.getLeadOfferSummaryRaw(requestParameters, initOverrides);
|
|
727
|
+
return await response.value();
|
|
728
|
+
}
|
|
729
|
+
|
|
612
730
|
/**
|
|
613
731
|
* Lists the quick replies of the seller account with their variables replaced by the values of the lead. **API key scope required:** `LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
614
732
|
* List quick replies for a lead
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import * as runtime from '../runtime';
|
|
17
|
+
import type {
|
|
18
|
+
RecordSettingsSearchMissInput,
|
|
19
|
+
ValidationException,
|
|
20
|
+
} from '../models/index';
|
|
21
|
+
import {
|
|
22
|
+
RecordSettingsSearchMissInputFromJSON,
|
|
23
|
+
RecordSettingsSearchMissInputToJSON,
|
|
24
|
+
ValidationExceptionFromJSON,
|
|
25
|
+
ValidationExceptionToJSON,
|
|
26
|
+
} from '../models/index';
|
|
27
|
+
|
|
28
|
+
export interface SettingsSearchApiRecordSettingsSearchMissRequest {
|
|
29
|
+
recordSettingsSearchMissInput: RecordSettingsSearchMissInput;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
export class SettingsSearchApi extends runtime.BaseAPI {
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Records, with the seller account, a settings search that returned nothing, to learn what people cannot find. Nothing is recorded while an admin is logged in as the user; the call still answers 204.
|
|
39
|
+
* Record a settings search without results
|
|
40
|
+
*/
|
|
41
|
+
async recordSettingsSearchMissRaw(requestParameters: SettingsSearchApiRecordSettingsSearchMissRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
42
|
+
if (requestParameters['recordSettingsSearchMissInput'] == null) {
|
|
43
|
+
throw new runtime.RequiredError(
|
|
44
|
+
'recordSettingsSearchMissInput',
|
|
45
|
+
'Required parameter "recordSettingsSearchMissInput" was null or undefined when calling recordSettingsSearchMiss().'
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
const queryParameters: any = {};
|
|
50
|
+
|
|
51
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
52
|
+
|
|
53
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
54
|
+
|
|
55
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
56
|
+
const token = this.configuration.accessToken;
|
|
57
|
+
const tokenString = await token("bearer", []);
|
|
58
|
+
|
|
59
|
+
if (tokenString) {
|
|
60
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
const response = await this.request({
|
|
64
|
+
path: `/private/settings-search-misses`,
|
|
65
|
+
method: 'POST',
|
|
66
|
+
headers: headerParameters,
|
|
67
|
+
query: queryParameters,
|
|
68
|
+
body: RecordSettingsSearchMissInputToJSON(requestParameters['recordSettingsSearchMissInput']),
|
|
69
|
+
}, initOverrides);
|
|
70
|
+
|
|
71
|
+
return new runtime.VoidApiResponse(response);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Records, with the seller account, a settings search that returned nothing, to learn what people cannot find. Nothing is recorded while an admin is logged in as the user; the call still answers 204.
|
|
76
|
+
* Record a settings search without results
|
|
77
|
+
*/
|
|
78
|
+
async recordSettingsSearchMiss(requestParameters: SettingsSearchApiRecordSettingsSearchMissRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
79
|
+
await this.recordSettingsSearchMissRaw(requestParameters, initOverrides);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
}
|
package/src/apis/index.ts
CHANGED
|
@@ -34,6 +34,7 @@ export * from './OrdersPublicApi';
|
|
|
34
34
|
export * from './PartnerApi';
|
|
35
35
|
export * from './QuickRepliesApi';
|
|
36
36
|
export * from './SalesPublicApi';
|
|
37
|
+
export * from './SettingsSearchApi';
|
|
37
38
|
export * from './StatsApi';
|
|
38
39
|
export * from './SubscriptionsApi';
|
|
39
40
|
export * from './SubscriptionsPublicApi';
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AcceptHighestBuyerLeadOfferInput
|
|
20
|
+
*/
|
|
21
|
+
export interface AcceptHighestBuyerLeadOfferInput {
|
|
22
|
+
/**
|
|
23
|
+
* The offer message the seller confirmed, as given by the offer summary. The request is refused with HIGHEST_BUYER_OFFER_CHANGED when it is no longer the highest buyer offer.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AcceptHighestBuyerLeadOfferInput
|
|
26
|
+
*/
|
|
27
|
+
leadMessageId: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the AcceptHighestBuyerLeadOfferInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfAcceptHighestBuyerLeadOfferInput(value: object): value is AcceptHighestBuyerLeadOfferInput {
|
|
34
|
+
if (!('leadMessageId' in value) || value['leadMessageId'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function AcceptHighestBuyerLeadOfferInputFromJSON(json: any): AcceptHighestBuyerLeadOfferInput {
|
|
39
|
+
return AcceptHighestBuyerLeadOfferInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function AcceptHighestBuyerLeadOfferInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AcceptHighestBuyerLeadOfferInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'leadMessageId': json['leadMessageId'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function AcceptHighestBuyerLeadOfferInputToJSON(json: any): AcceptHighestBuyerLeadOfferInput {
|
|
53
|
+
return AcceptHighestBuyerLeadOfferInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function AcceptHighestBuyerLeadOfferInputToJSONTyped(value?: AcceptHighestBuyerLeadOfferInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'leadMessageId': value['leadMessageId'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -115,6 +115,7 @@ export const BuyerNotificationDtoTypeEnum = {
|
|
|
115
115
|
DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_verified_buyer_access_link_email',
|
|
116
116
|
DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_received_buyer_access_link_email',
|
|
117
117
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_offer_accepted_continue_order_email',
|
|
118
|
+
DOMAIN_EARLIER_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_earlier_offer_accepted_continue_order_email',
|
|
118
119
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: 'domain_offer_accepted_continue_lease_to_own_email',
|
|
119
120
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: 'domain_offer_accepted_continue_lease_to_own_email_installments_range',
|
|
120
121
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_RENT_EMAIL: 'domain_offer_accepted_continue_rent_email',
|
|
@@ -101,6 +101,7 @@ export const BuyerNotificationListItemDtoTypeEnum = {
|
|
|
101
101
|
DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_verified_buyer_access_link_email',
|
|
102
102
|
DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_received_buyer_access_link_email',
|
|
103
103
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_offer_accepted_continue_order_email',
|
|
104
|
+
DOMAIN_EARLIER_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_earlier_offer_accepted_continue_order_email',
|
|
104
105
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: 'domain_offer_accepted_continue_lease_to_own_email',
|
|
105
106
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: 'domain_offer_accepted_continue_lease_to_own_email_installments_range',
|
|
106
107
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_RENT_EMAIL: 'domain_offer_accepted_continue_rent_email',
|