@randock/nameshift-api-client 0.0.473 → 0.0.475
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 +8 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +57 -1
- package/dist/apis/AdminApi.js +230 -0
- 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/CustomerSuccessApi.d.ts +57 -1
- package/dist/apis/CustomerSuccessApi.js +230 -0
- package/dist/apis/LeadsPublicApi.d.ts +1 -0
- package/dist/apis/LeadsPublicApi.js +3 -0
- package/dist/models/AccountNoteAuthorDto.d.ts +50 -0
- package/dist/models/AccountNoteAuthorDto.js +63 -0
- package/dist/models/AccountNoteDto.d.ts +63 -0
- package/dist/models/AccountNoteDto.js +72 -0
- package/dist/models/AccountNoteListDto.d.ts +33 -0
- package/dist/models/AccountNoteListDto.js +52 -0
- package/dist/models/AccountSettingsDto.d.ts +7 -0
- package/dist/models/AccountSettingsDto.js +5 -0
- package/dist/models/AccountSettingsInput.d.ts +7 -0
- package/dist/models/AccountSettingsInput.js +3 -0
- package/dist/models/AdminDomainListItemDto.d.ts +7 -0
- package/dist/models/AdminDomainListItemDto.js +5 -0
- package/dist/models/AdminLeadListItemDto.d.ts +1 -0
- package/dist/models/AdminLeadListItemDto.js +1 -0
- package/dist/models/AdminListAccountDto.d.ts +12 -0
- package/dist/models/AdminListAccountDto.js +8 -0
- package/dist/models/BuyerLeadListItemDto.d.ts +1 -0
- package/dist/models/BuyerLeadListItemDto.js +1 -0
- package/dist/models/BuyerNotificationDto.d.ts +1 -0
- package/dist/models/BuyerNotificationDto.js +1 -0
- package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
- package/dist/models/BuyerNotificationListItemDto.js +1 -0
- package/dist/models/CreateAccountNoteInput.d.ts +32 -0
- package/dist/models/CreateAccountNoteInput.js +51 -0
- package/dist/models/CustomerSuccessDomainListItemDto.d.ts +7 -0
- package/dist/models/CustomerSuccessDomainListItemDto.js +5 -0
- package/dist/models/CustomerSuccessListAccountDto.d.ts +12 -0
- package/dist/models/CustomerSuccessListAccountDto.js +8 -0
- package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
- package/dist/models/FeatureFlagListItemDto.js +2 -1
- package/dist/models/ForbiddenException.d.ts +44 -0
- package/dist/models/ForbiddenException.js +59 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +5 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.js +5 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +1 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +1 -0
- package/dist/models/LeadDto.d.ts +1 -0
- package/dist/models/LeadDto.js +1 -0
- package/dist/models/LeadStatusDto.d.ts +1 -0
- package/dist/models/LeadStatusDto.js +1 -0
- package/dist/models/LeadVerificationInput.d.ts +54 -0
- package/dist/models/LeadVerificationInput.js +63 -0
- package/dist/models/LeadVerificationSettingsDto.d.ts +54 -0
- package/dist/models/LeadVerificationSettingsDto.js +69 -0
- package/dist/models/ListLeadsResultItem.d.ts +1 -0
- package/dist/models/ListLeadsResultItem.js +1 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/PublicLeadDto.d.ts +1 -0
- package/dist/models/PublicLeadDto.js +1 -0
- package/dist/models/RelatedLeadDto.d.ts +1 -0
- package/dist/models/RelatedLeadDto.js +1 -0
- package/dist/models/SellerLeadDetails.d.ts +1 -0
- package/dist/models/SellerLeadDetails.js +1 -0
- package/dist/models/SubscriptionDto.d.ts +1 -0
- package/dist/models/SubscriptionDto.js +1 -0
- package/dist/models/UpdateAccountNoteInput.d.ts +32 -0
- package/dist/models/UpdateAccountNoteInput.js +51 -0
- package/dist/models/UpdateDomainInput.d.ts +7 -0
- package/dist/models/UpdateDomainInput.js +3 -0
- package/dist/models/UserNotificationDto.d.ts +1 -0
- package/dist/models/UserNotificationDto.js +1 -0
- package/dist/models/UserNotificationListItemDto.d.ts +1 -0
- package/dist/models/UserNotificationListItemDto.js +1 -0
- package/dist/models/WithSettingsInner.d.ts +7 -0
- package/dist/models/WithSettingsInner.js +5 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +3 -0
- package/src/apis/AdminApi.ts +235 -0
- package/src/apis/BuyersApi.ts +5 -2
- package/src/apis/BuyersPublicApi.ts +2 -2
- package/src/apis/CustomerSuccessApi.ts +238 -0
- package/src/apis/DomainsApi.ts +3 -0
- package/src/apis/LeadsPublicApi.ts +5 -0
- package/src/models/AccountNoteAuthorDto.ts +93 -0
- package/src/models/AccountNoteDto.ts +119 -0
- package/src/models/AccountNoteListDto.ts +74 -0
- package/src/models/AccountSettingsDto.ts +16 -0
- package/src/models/AccountSettingsInput.ts +15 -0
- package/src/models/AdminDomainListItemDto.ts +16 -0
- package/src/models/AdminLeadListItemDto.ts +1 -0
- package/src/models/AdminListAccountDto.ts +18 -0
- package/src/models/BuyerLeadListItemDto.ts +1 -0
- package/src/models/BuyerNotificationDto.ts +1 -0
- package/src/models/BuyerNotificationListItemDto.ts +1 -0
- package/src/models/CreateAccountNoteInput.ts +66 -0
- package/src/models/CustomerSuccessDomainListItemDto.ts +16 -0
- package/src/models/CustomerSuccessListAccountDto.ts +18 -0
- package/src/models/FeatureFlagListItemDto.ts +2 -1
- package/src/models/ForbiddenException.ts +84 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +16 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
- package/src/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.ts +16 -0
- package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +1 -0
- package/src/models/LeadDto.ts +1 -0
- package/src/models/LeadStatusDto.ts +1 -0
- package/src/models/LeadVerificationInput.ts +101 -0
- package/src/models/LeadVerificationSettingsDto.ts +104 -0
- package/src/models/ListLeadsResultItem.ts +1 -0
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/PublicLeadDto.ts +1 -0
- package/src/models/RelatedLeadDto.ts +1 -0
- package/src/models/SellerLeadDetails.ts +1 -0
- package/src/models/SubscriptionDto.ts +1 -0
- package/src/models/UpdateAccountNoteInput.ts +66 -0
- package/src/models/UpdateDomainInput.ts +15 -0
- package/src/models/UserNotificationDto.ts +1 -0
- package/src/models/UserNotificationListItemDto.ts +1 -0
- package/src/models/WithSettingsInner.ts +16 -0
- package/src/models/index.ts +8 -0
|
@@ -55,6 +55,13 @@ import {
|
|
|
55
55
|
LeaseToOwnConfigurationInputToJSON,
|
|
56
56
|
LeaseToOwnConfigurationInputToJSONTyped,
|
|
57
57
|
} from './LeaseToOwnConfigurationInput';
|
|
58
|
+
import type { LeadVerificationInput } from './LeadVerificationInput';
|
|
59
|
+
import {
|
|
60
|
+
LeadVerificationInputFromJSON,
|
|
61
|
+
LeadVerificationInputFromJSONTyped,
|
|
62
|
+
LeadVerificationInputToJSON,
|
|
63
|
+
LeadVerificationInputToJSONTyped,
|
|
64
|
+
} from './LeadVerificationInput';
|
|
58
65
|
import type { AccountAliasInput } from './AccountAliasInput';
|
|
59
66
|
import {
|
|
60
67
|
AccountAliasInputFromJSON,
|
|
@@ -159,6 +166,12 @@ export interface AccountSettingsInput {
|
|
|
159
166
|
* @memberof AccountSettingsInput
|
|
160
167
|
*/
|
|
161
168
|
leadOfferExpirationConfiguration?: LockConfigurationInput;
|
|
169
|
+
/**
|
|
170
|
+
* Default lead verification settings: how offers are verified before the seller sees them. Domains may override them.
|
|
171
|
+
* @type {LeadVerificationInput}
|
|
172
|
+
* @memberof AccountSettingsInput
|
|
173
|
+
*/
|
|
174
|
+
leadVerification?: LeadVerificationInput;
|
|
162
175
|
}
|
|
163
176
|
|
|
164
177
|
|
|
@@ -208,6 +221,7 @@ export function AccountSettingsInputFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
208
221
|
'transferCostPaymentMaxPercentage': json['transferCostPaymentMaxPercentage'] == null ? undefined : json['transferCostPaymentMaxPercentage'],
|
|
209
222
|
'domainLockConfiguration': json['domainLockConfiguration'] == null ? undefined : LockConfigurationInputFromJSON(json['domainLockConfiguration']),
|
|
210
223
|
'leadOfferExpirationConfiguration': json['leadOfferExpirationConfiguration'] == null ? undefined : LockConfigurationInputFromJSON(json['leadOfferExpirationConfiguration']),
|
|
224
|
+
'leadVerification': json['leadVerification'] == null ? undefined : LeadVerificationInputFromJSON(json['leadVerification']),
|
|
211
225
|
};
|
|
212
226
|
}
|
|
213
227
|
|
|
@@ -237,6 +251,7 @@ export function AccountSettingsInputToJSONTyped(value?: AccountSettingsInput | n
|
|
|
237
251
|
'transferCostPaymentMaxPercentage': value['transferCostPaymentMaxPercentage'],
|
|
238
252
|
'domainLockConfiguration': LockConfigurationInputToJSON(value['domainLockConfiguration']),
|
|
239
253
|
'leadOfferExpirationConfiguration': LockConfigurationInputToJSON(value['leadOfferExpirationConfiguration']),
|
|
254
|
+
'leadVerification': LeadVerificationInputToJSON(value['leadVerification']),
|
|
240
255
|
};
|
|
241
256
|
}
|
|
242
257
|
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { LeadVerificationSettingsDto } from './LeadVerificationSettingsDto';
|
|
17
|
+
import {
|
|
18
|
+
LeadVerificationSettingsDtoFromJSON,
|
|
19
|
+
LeadVerificationSettingsDtoFromJSONTyped,
|
|
20
|
+
LeadVerificationSettingsDtoToJSON,
|
|
21
|
+
LeadVerificationSettingsDtoToJSONTyped,
|
|
22
|
+
} from './LeadVerificationSettingsDto';
|
|
16
23
|
import type { MoneyDto } from './MoneyDto';
|
|
17
24
|
import {
|
|
18
25
|
MoneyDtoFromJSON,
|
|
@@ -255,6 +262,12 @@ export interface AdminDomainListItemDto {
|
|
|
255
262
|
* @memberof AdminDomainListItemDto
|
|
256
263
|
*/
|
|
257
264
|
marketplace: AdminDomainListItemDtoMarketplaceEnum | null;
|
|
265
|
+
/**
|
|
266
|
+
* Lead verification override for this domain. Every null field inherits the account default.
|
|
267
|
+
* @type {LeadVerificationSettingsDto}
|
|
268
|
+
* @memberof AdminDomainListItemDto
|
|
269
|
+
*/
|
|
270
|
+
leadVerification: LeadVerificationSettingsDto;
|
|
258
271
|
/**
|
|
259
272
|
* Account that owns the domain.
|
|
260
273
|
* @type {AccountDto}
|
|
@@ -333,6 +346,7 @@ export function instanceOfAdminDomainListItemDto(value: object): value is AdminD
|
|
|
333
346
|
if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
|
|
334
347
|
if (!('showcased' in value) || value['showcased'] === undefined) return false;
|
|
335
348
|
if (!('marketplace' in value) || value['marketplace'] === undefined) return false;
|
|
349
|
+
if (!('leadVerification' in value) || value['leadVerification'] === undefined) return false;
|
|
336
350
|
if (!('account' in value) || value['account'] === undefined) return false;
|
|
337
351
|
if (!('pointsToOurServerReason' in value) || value['pointsToOurServerReason'] === undefined) return false;
|
|
338
352
|
return true;
|
|
@@ -379,6 +393,7 @@ export function AdminDomainListItemDtoFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
379
393
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
380
394
|
'showcased': json['showcased'],
|
|
381
395
|
'marketplace': json['marketplace'],
|
|
396
|
+
'leadVerification': LeadVerificationSettingsDtoFromJSON(json['leadVerification']),
|
|
382
397
|
'account': AccountDtoFromJSON(json['account']),
|
|
383
398
|
'pointsToOurServerReason': json['pointsToOurServerReason'],
|
|
384
399
|
};
|
|
@@ -426,6 +441,7 @@ export function AdminDomainListItemDtoToJSONTyped(value?: AdminDomainListItemDto
|
|
|
426
441
|
'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
|
|
427
442
|
'showcased': value['showcased'],
|
|
428
443
|
'marketplace': value['marketplace'],
|
|
444
|
+
'leadVerification': LeadVerificationSettingsDtoToJSON(value['leadVerification']),
|
|
429
445
|
'account': AccountDtoToJSON(value['account']),
|
|
430
446
|
'pointsToOurServerReason': value['pointsToOurServerReason'],
|
|
431
447
|
};
|
|
@@ -60,6 +60,18 @@ export interface AdminListAccountDto {
|
|
|
60
60
|
* @memberof AdminListAccountDto
|
|
61
61
|
*/
|
|
62
62
|
identifier: string;
|
|
63
|
+
/**
|
|
64
|
+
* Number of private notes written about the account.
|
|
65
|
+
* @type {number}
|
|
66
|
+
* @memberof AdminListAccountDto
|
|
67
|
+
*/
|
|
68
|
+
notesNumber: number;
|
|
69
|
+
/**
|
|
70
|
+
* When any of the account notes was last written or edited. Null when there are none.
|
|
71
|
+
* @type {Date}
|
|
72
|
+
* @memberof AdminListAccountDto
|
|
73
|
+
*/
|
|
74
|
+
notesLastUpdatedAt: Date | null;
|
|
63
75
|
/**
|
|
64
76
|
* Account creation date.
|
|
65
77
|
* @type {Date}
|
|
@@ -194,6 +206,8 @@ export type AdminListAccountDtoPayoutProviderEnum = typeof AdminListAccountDtoPa
|
|
|
194
206
|
export function instanceOfAdminListAccountDto(value: object): value is AdminListAccountDto {
|
|
195
207
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
196
208
|
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
209
|
+
if (!('notesNumber' in value) || value['notesNumber'] === undefined) return false;
|
|
210
|
+
if (!('notesLastUpdatedAt' in value) || value['notesLastUpdatedAt'] === undefined) return false;
|
|
197
211
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
198
212
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
199
213
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
@@ -225,6 +239,8 @@ export function AdminListAccountDtoFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
225
239
|
|
|
226
240
|
'id': json['id'],
|
|
227
241
|
'identifier': json['identifier'],
|
|
242
|
+
'notesNumber': json['notesNumber'],
|
|
243
|
+
'notesLastUpdatedAt': (json['notesLastUpdatedAt'] == null ? null : new Date(json['notesLastUpdatedAt'])),
|
|
228
244
|
'createdAt': (new Date(json['createdAt'])),
|
|
229
245
|
'name': json['name'],
|
|
230
246
|
'type': json['type'],
|
|
@@ -257,6 +273,8 @@ export function AdminListAccountDtoToJSONTyped(value?: AdminListAccountDto | nul
|
|
|
257
273
|
|
|
258
274
|
'id': value['id'],
|
|
259
275
|
'identifier': value['identifier'],
|
|
276
|
+
'notesNumber': value['notesNumber'],
|
|
277
|
+
'notesLastUpdatedAt': (value['notesLastUpdatedAt'] == null ? null : (value['notesLastUpdatedAt'] as any).toISOString()),
|
|
260
278
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
261
279
|
'name': value['name'],
|
|
262
280
|
'type': value['type'],
|
|
@@ -109,6 +109,7 @@ export const BuyerNotificationDtoTypeEnum = {
|
|
|
109
109
|
EXPORT_COMPLETED: 'export_completed',
|
|
110
110
|
DOMAIN_IMPORT_FINISHED: 'domain_import_finished',
|
|
111
111
|
DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_verified_buyer_access_link_email',
|
|
112
|
+
DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_received_buyer_access_link_email',
|
|
112
113
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_offer_accepted_continue_order_email',
|
|
113
114
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: 'domain_offer_accepted_continue_lease_to_own_email',
|
|
114
115
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: 'domain_offer_accepted_continue_lease_to_own_email_installments_range',
|
|
@@ -95,6 +95,7 @@ export const BuyerNotificationListItemDtoTypeEnum = {
|
|
|
95
95
|
EXPORT_COMPLETED: 'export_completed',
|
|
96
96
|
DOMAIN_IMPORT_FINISHED: 'domain_import_finished',
|
|
97
97
|
DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_verified_buyer_access_link_email',
|
|
98
|
+
DOMAIN_OFFER_RECEIVED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_received_buyer_access_link_email',
|
|
98
99
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_offer_accepted_continue_order_email',
|
|
99
100
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: 'domain_offer_accepted_continue_lease_to_own_email',
|
|
100
101
|
DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: 'domain_offer_accepted_continue_lease_to_own_email_installments_range',
|
|
@@ -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 CreateAccountNoteInput
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateAccountNoteInput {
|
|
22
|
+
/**
|
|
23
|
+
* Note body as HTML. It is sanitized before being stored, so any tag outside the editor schema is dropped.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CreateAccountNoteInput
|
|
26
|
+
*/
|
|
27
|
+
body: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the CreateAccountNoteInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfCreateAccountNoteInput(value: object): value is CreateAccountNoteInput {
|
|
34
|
+
if (!('body' in value) || value['body'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function CreateAccountNoteInputFromJSON(json: any): CreateAccountNoteInput {
|
|
39
|
+
return CreateAccountNoteInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function CreateAccountNoteInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAccountNoteInput {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'body': json['body'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function CreateAccountNoteInputToJSON(json: any): CreateAccountNoteInput {
|
|
53
|
+
return CreateAccountNoteInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function CreateAccountNoteInputToJSONTyped(value?: CreateAccountNoteInput | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'body': value['body'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -20,6 +20,13 @@ import {
|
|
|
20
20
|
CustomerSuccessDomainAuctionDtoToJSON,
|
|
21
21
|
CustomerSuccessDomainAuctionDtoToJSONTyped,
|
|
22
22
|
} from './CustomerSuccessDomainAuctionDto';
|
|
23
|
+
import type { LeadVerificationSettingsDto } from './LeadVerificationSettingsDto';
|
|
24
|
+
import {
|
|
25
|
+
LeadVerificationSettingsDtoFromJSON,
|
|
26
|
+
LeadVerificationSettingsDtoFromJSONTyped,
|
|
27
|
+
LeadVerificationSettingsDtoToJSON,
|
|
28
|
+
LeadVerificationSettingsDtoToJSONTyped,
|
|
29
|
+
} from './LeadVerificationSettingsDto';
|
|
23
30
|
import type { MoneyDto } from './MoneyDto';
|
|
24
31
|
import {
|
|
25
32
|
MoneyDtoFromJSON,
|
|
@@ -260,6 +267,12 @@ export interface CustomerSuccessDomainListItemDto {
|
|
|
260
267
|
* @memberof CustomerSuccessDomainListItemDto
|
|
261
268
|
*/
|
|
262
269
|
marketplace: CustomerSuccessDomainListItemDtoMarketplaceEnum | null;
|
|
270
|
+
/**
|
|
271
|
+
* Lead verification override for this domain. Every null field inherits the account default.
|
|
272
|
+
* @type {LeadVerificationSettingsDto}
|
|
273
|
+
* @memberof CustomerSuccessDomainListItemDto
|
|
274
|
+
*/
|
|
275
|
+
leadVerification: LeadVerificationSettingsDto;
|
|
263
276
|
}
|
|
264
277
|
|
|
265
278
|
|
|
@@ -328,6 +341,7 @@ export function instanceOfCustomerSuccessDomainListItemDto(value: object): value
|
|
|
328
341
|
if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
|
|
329
342
|
if (!('showcased' in value) || value['showcased'] === undefined) return false;
|
|
330
343
|
if (!('marketplace' in value) || value['marketplace'] === undefined) return false;
|
|
344
|
+
if (!('leadVerification' in value) || value['leadVerification'] === undefined) return false;
|
|
331
345
|
return true;
|
|
332
346
|
}
|
|
333
347
|
|
|
@@ -374,6 +388,7 @@ export function CustomerSuccessDomainListItemDtoFromJSONTyped(json: any, ignoreD
|
|
|
374
388
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
375
389
|
'showcased': json['showcased'],
|
|
376
390
|
'marketplace': json['marketplace'],
|
|
391
|
+
'leadVerification': LeadVerificationSettingsDtoFromJSON(json['leadVerification']),
|
|
377
392
|
};
|
|
378
393
|
}
|
|
379
394
|
|
|
@@ -421,6 +436,7 @@ export function CustomerSuccessDomainListItemDtoToJSONTyped(value?: CustomerSucc
|
|
|
421
436
|
'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
|
|
422
437
|
'showcased': value['showcased'],
|
|
423
438
|
'marketplace': value['marketplace'],
|
|
439
|
+
'leadVerification': LeadVerificationSettingsDtoToJSON(value['leadVerification']),
|
|
424
440
|
};
|
|
425
441
|
}
|
|
426
442
|
|
|
@@ -60,6 +60,18 @@ export interface CustomerSuccessListAccountDto {
|
|
|
60
60
|
* @memberof CustomerSuccessListAccountDto
|
|
61
61
|
*/
|
|
62
62
|
identifier: string;
|
|
63
|
+
/**
|
|
64
|
+
* Number of private notes written about the account.
|
|
65
|
+
* @type {number}
|
|
66
|
+
* @memberof CustomerSuccessListAccountDto
|
|
67
|
+
*/
|
|
68
|
+
notesNumber: number;
|
|
69
|
+
/**
|
|
70
|
+
* When any of the account notes was last written or edited. Null when there are none.
|
|
71
|
+
* @type {Date}
|
|
72
|
+
* @memberof CustomerSuccessListAccountDto
|
|
73
|
+
*/
|
|
74
|
+
notesLastUpdatedAt: Date | null;
|
|
63
75
|
/**
|
|
64
76
|
* Account creation date.
|
|
65
77
|
* @type {Date}
|
|
@@ -194,6 +206,8 @@ export type CustomerSuccessListAccountDtoPayoutProviderEnum = typeof CustomerSuc
|
|
|
194
206
|
export function instanceOfCustomerSuccessListAccountDto(value: object): value is CustomerSuccessListAccountDto {
|
|
195
207
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
196
208
|
if (!('identifier' in value) || value['identifier'] === undefined) return false;
|
|
209
|
+
if (!('notesNumber' in value) || value['notesNumber'] === undefined) return false;
|
|
210
|
+
if (!('notesLastUpdatedAt' in value) || value['notesLastUpdatedAt'] === undefined) return false;
|
|
197
211
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
198
212
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
199
213
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
@@ -225,6 +239,8 @@ export function CustomerSuccessListAccountDtoFromJSONTyped(json: any, ignoreDisc
|
|
|
225
239
|
|
|
226
240
|
'id': json['id'],
|
|
227
241
|
'identifier': json['identifier'],
|
|
242
|
+
'notesNumber': json['notesNumber'],
|
|
243
|
+
'notesLastUpdatedAt': (json['notesLastUpdatedAt'] == null ? null : new Date(json['notesLastUpdatedAt'])),
|
|
228
244
|
'createdAt': (new Date(json['createdAt'])),
|
|
229
245
|
'name': json['name'],
|
|
230
246
|
'type': json['type'],
|
|
@@ -257,6 +273,8 @@ export function CustomerSuccessListAccountDtoToJSONTyped(value?: CustomerSuccess
|
|
|
257
273
|
|
|
258
274
|
'id': value['id'],
|
|
259
275
|
'identifier': value['identifier'],
|
|
276
|
+
'notesNumber': value['notesNumber'],
|
|
277
|
+
'notesLastUpdatedAt': (value['notesLastUpdatedAt'] == null ? null : (value['notesLastUpdatedAt'] as any).toISOString()),
|
|
260
278
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
261
279
|
'name': value['name'],
|
|
262
280
|
'type': value['type'],
|
|
@@ -96,7 +96,8 @@ export const FeatureFlagListItemDtoNameEnum = {
|
|
|
96
96
|
AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD',
|
|
97
97
|
MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING',
|
|
98
98
|
AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
|
|
99
|
-
LEAD_ENRICHMENT: 'LEAD_ENRICHMENT'
|
|
99
|
+
LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
|
|
100
|
+
LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA'
|
|
100
101
|
} as const;
|
|
101
102
|
export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
|
|
102
103
|
|
|
@@ -0,0 +1,84 @@
|
|
|
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 ForbiddenException
|
|
20
|
+
*/
|
|
21
|
+
export interface ForbiddenException {
|
|
22
|
+
/**
|
|
23
|
+
* Exception name.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ForbiddenException
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
* HTTP status code.
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof ForbiddenException
|
|
32
|
+
*/
|
|
33
|
+
statusCode: number;
|
|
34
|
+
/**
|
|
35
|
+
* error message
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ForbiddenException
|
|
38
|
+
*/
|
|
39
|
+
message: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ForbiddenException interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfForbiddenException(value: object): value is ForbiddenException {
|
|
46
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
47
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
|
|
48
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ForbiddenExceptionFromJSON(json: any): ForbiddenException {
|
|
53
|
+
return ForbiddenExceptionFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ForbiddenExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForbiddenException {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'name': json['name'],
|
|
63
|
+
'statusCode': json['statusCode'],
|
|
64
|
+
'message': json['message'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function ForbiddenExceptionToJSON(json: any): ForbiddenException {
|
|
69
|
+
return ForbiddenExceptionToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function ForbiddenExceptionToJSONTyped(value?: ForbiddenException | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'name': value['name'],
|
|
80
|
+
'statusCode': value['statusCode'],
|
|
81
|
+
'message': value['message'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
CHANGED
|
@@ -182,7 +182,8 @@ export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatur
|
|
|
182
182
|
AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD',
|
|
183
183
|
MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING',
|
|
184
184
|
AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
|
|
185
|
-
LEAD_ENRICHMENT: 'LEAD_ENRICHMENT'
|
|
185
|
+
LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
|
|
186
|
+
LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA'
|
|
186
187
|
} as const;
|
|
187
188
|
export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
|
|
188
189
|
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { LeadVerificationSettingsDto } from './LeadVerificationSettingsDto';
|
|
17
|
+
import {
|
|
18
|
+
LeadVerificationSettingsDtoFromJSON,
|
|
19
|
+
LeadVerificationSettingsDtoFromJSONTyped,
|
|
20
|
+
LeadVerificationSettingsDtoToJSON,
|
|
21
|
+
LeadVerificationSettingsDtoToJSONTyped,
|
|
22
|
+
} from './LeadVerificationSettingsDto';
|
|
16
23
|
import type { MoneyDto } from './MoneyDto';
|
|
17
24
|
import {
|
|
18
25
|
MoneyDtoFromJSON,
|
|
@@ -255,6 +262,12 @@ export interface IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto {
|
|
|
255
262
|
* @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
|
|
256
263
|
*/
|
|
257
264
|
marketplace: IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoMarketplaceEnum | null;
|
|
265
|
+
/**
|
|
266
|
+
* Lead verification override for this domain. Every null field inherits the account default.
|
|
267
|
+
* @type {LeadVerificationSettingsDto}
|
|
268
|
+
* @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
|
|
269
|
+
*/
|
|
270
|
+
leadVerification: LeadVerificationSettingsDto;
|
|
258
271
|
/**
|
|
259
272
|
* Account that owns the domain.
|
|
260
273
|
* @type {AccountDto}
|
|
@@ -319,6 +332,7 @@ export function instanceOfIntersectionDomainDtoWithAccountDtoWithAuctionInfoDto(
|
|
|
319
332
|
if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
|
|
320
333
|
if (!('showcased' in value) || value['showcased'] === undefined) return false;
|
|
321
334
|
if (!('marketplace' in value) || value['marketplace'] === undefined) return false;
|
|
335
|
+
if (!('leadVerification' in value) || value['leadVerification'] === undefined) return false;
|
|
322
336
|
if (!('account' in value) || value['account'] === undefined) return false;
|
|
323
337
|
if (!('hasAuction' in value) || value['hasAuction'] === undefined) return false;
|
|
324
338
|
return true;
|
|
@@ -365,6 +379,7 @@ export function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyp
|
|
|
365
379
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
366
380
|
'showcased': json['showcased'],
|
|
367
381
|
'marketplace': json['marketplace'],
|
|
382
|
+
'leadVerification': LeadVerificationSettingsDtoFromJSON(json['leadVerification']),
|
|
368
383
|
'account': AccountDtoFromJSON(json['account']),
|
|
369
384
|
'hasAuction': json['hasAuction'],
|
|
370
385
|
};
|
|
@@ -412,6 +427,7 @@ export function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSONTyped
|
|
|
412
427
|
'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
|
|
413
428
|
'showcased': value['showcased'],
|
|
414
429
|
'marketplace': value['marketplace'],
|
|
430
|
+
'leadVerification': LeadVerificationSettingsDtoToJSON(value['leadVerification']),
|
|
415
431
|
'account': AccountDtoToJSON(value['account']),
|
|
416
432
|
'hasAuction': value['hasAuction'],
|
|
417
433
|
};
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { LeadVerificationSettingsDto } from './LeadVerificationSettingsDto';
|
|
17
|
+
import {
|
|
18
|
+
LeadVerificationSettingsDtoFromJSON,
|
|
19
|
+
LeadVerificationSettingsDtoFromJSONTyped,
|
|
20
|
+
LeadVerificationSettingsDtoToJSON,
|
|
21
|
+
LeadVerificationSettingsDtoToJSONTyped,
|
|
22
|
+
} from './LeadVerificationSettingsDto';
|
|
16
23
|
import type { MoneyDto } from './MoneyDto';
|
|
17
24
|
import {
|
|
18
25
|
MoneyDtoFromJSON,
|
|
@@ -255,6 +262,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
255
262
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
256
263
|
*/
|
|
257
264
|
marketplace: IntersectionDomainDtoWithHijackerDtoWithAccountDtoMarketplaceEnum | null;
|
|
265
|
+
/**
|
|
266
|
+
* Lead verification override for this domain. Every null field inherits the account default.
|
|
267
|
+
* @type {LeadVerificationSettingsDto}
|
|
268
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
269
|
+
*/
|
|
270
|
+
leadVerification: LeadVerificationSettingsDto;
|
|
258
271
|
/**
|
|
259
272
|
* Account managing the domain on behalf of the owner, when a hijacker is assigned.
|
|
260
273
|
* @type {AccountDto}
|
|
@@ -319,6 +332,7 @@ export function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(val
|
|
|
319
332
|
if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
|
|
320
333
|
if (!('showcased' in value) || value['showcased'] === undefined) return false;
|
|
321
334
|
if (!('marketplace' in value) || value['marketplace'] === undefined) return false;
|
|
335
|
+
if (!('leadVerification' in value) || value['leadVerification'] === undefined) return false;
|
|
322
336
|
if (!('hijacker' in value) || value['hijacker'] === undefined) return false;
|
|
323
337
|
if (!('account' in value) || value['account'] === undefined) return false;
|
|
324
338
|
return true;
|
|
@@ -365,6 +379,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
|
|
|
365
379
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
366
380
|
'showcased': json['showcased'],
|
|
367
381
|
'marketplace': json['marketplace'],
|
|
382
|
+
'leadVerification': LeadVerificationSettingsDtoFromJSON(json['leadVerification']),
|
|
368
383
|
'hijacker': AccountDtoFromJSON(json['hijacker']),
|
|
369
384
|
'account': AccountDtoFromJSON(json['account']),
|
|
370
385
|
};
|
|
@@ -412,6 +427,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(va
|
|
|
412
427
|
'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
|
|
413
428
|
'showcased': value['showcased'],
|
|
414
429
|
'marketplace': value['marketplace'],
|
|
430
|
+
'leadVerification': LeadVerificationSettingsDtoToJSON(value['leadVerification']),
|
|
415
431
|
'hijacker': AccountDtoToJSON(value['hijacker']),
|
|
416
432
|
'account': AccountDtoToJSON(value['account']),
|
|
417
433
|
};
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { LeadVerificationSettingsDto } from './LeadVerificationSettingsDto';
|
|
17
|
+
import {
|
|
18
|
+
LeadVerificationSettingsDtoFromJSON,
|
|
19
|
+
LeadVerificationSettingsDtoFromJSONTyped,
|
|
20
|
+
LeadVerificationSettingsDtoToJSON,
|
|
21
|
+
LeadVerificationSettingsDtoToJSONTyped,
|
|
22
|
+
} from './LeadVerificationSettingsDto';
|
|
16
23
|
import type { MoneyDto } from './MoneyDto';
|
|
17
24
|
import {
|
|
18
25
|
MoneyDtoFromJSON,
|
|
@@ -255,6 +262,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
|
|
|
255
262
|
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
256
263
|
*/
|
|
257
264
|
marketplace: IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum | null;
|
|
265
|
+
/**
|
|
266
|
+
* Lead verification override for this domain. Every null field inherits the account default.
|
|
267
|
+
* @type {LeadVerificationSettingsDto}
|
|
268
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
269
|
+
*/
|
|
270
|
+
leadVerification: LeadVerificationSettingsDto;
|
|
258
271
|
/**
|
|
259
272
|
* SEO metrics for the domain from Moz, Majestic, and historical sources.
|
|
260
273
|
* @type {SeoMetricsDto}
|
|
@@ -332,6 +345,7 @@ export function instanceOfIntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto(v
|
|
|
332
345
|
if (!('lockedUntil' in value) || value['lockedUntil'] === undefined) return false;
|
|
333
346
|
if (!('showcased' in value) || value['showcased'] === undefined) return false;
|
|
334
347
|
if (!('marketplace' in value) || value['marketplace'] === undefined) return false;
|
|
348
|
+
if (!('leadVerification' in value) || value['leadVerification'] === undefined) return false;
|
|
335
349
|
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
|
|
336
350
|
if (!('routedTo' in value) || value['routedTo'] === undefined) return false;
|
|
337
351
|
return true;
|
|
@@ -378,6 +392,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONType
|
|
|
378
392
|
'lockedUntil': (json['lockedUntil'] == null ? null : new Date(json['lockedUntil'])),
|
|
379
393
|
'showcased': json['showcased'],
|
|
380
394
|
'marketplace': json['marketplace'],
|
|
395
|
+
'leadVerification': LeadVerificationSettingsDtoFromJSON(json['leadVerification']),
|
|
381
396
|
'seoMetrics': SeoMetricsDtoFromJSON(json['seoMetrics']),
|
|
382
397
|
'routedTo': json['routedTo'],
|
|
383
398
|
};
|
|
@@ -425,6 +440,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped(
|
|
|
425
440
|
'lockedUntil': (value['lockedUntil'] == null ? null : (value['lockedUntil'] as any).toISOString()),
|
|
426
441
|
'showcased': value['showcased'],
|
|
427
442
|
'marketplace': value['marketplace'],
|
|
443
|
+
'leadVerification': LeadVerificationSettingsDtoToJSON(value['leadVerification']),
|
|
428
444
|
'seoMetrics': SeoMetricsDtoToJSON(value['seoMetrics']),
|
|
429
445
|
'routedTo': value['routedTo'],
|
|
430
446
|
};
|
|
@@ -220,6 +220,7 @@ export interface IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetails
|
|
|
220
220
|
* @export
|
|
221
221
|
*/
|
|
222
222
|
export const IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoStatusEnum = {
|
|
223
|
+
DRAFT: 'draft',
|
|
223
224
|
UNVERIFIED: 'unverified',
|
|
224
225
|
ACTIVE: 'active',
|
|
225
226
|
ACCEPTED: 'accepted',
|
package/src/models/LeadDto.ts
CHANGED