@randock/nameshift-api-client 0.0.538 → 0.0.540
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 +20 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +36 -1
- package/dist/apis/AdminApi.js +136 -0
- package/dist/apis/BrokeredLeadsApi.d.ts +195 -0
- package/dist/apis/BrokeredLeadsApi.js +912 -0
- package/dist/apis/BrokeredLeadsPublicApi.d.ts +31 -0
- package/dist/apis/BrokeredLeadsPublicApi.js +126 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AccountBrokerSettingsInput.d.ts +38 -0
- package/dist/models/AccountBrokerSettingsInput.js +51 -0
- package/dist/models/AccountDto.d.ts +12 -0
- package/dist/models/AccountDto.js +8 -0
- package/dist/models/AccountNameshiftCommissionBySubtypeDto.d.ts +1 -0
- package/dist/models/AccountNameshiftCommissionBySubtypeDto.js +2 -1
- package/dist/models/AccountNameshiftCommissionItemDto.d.ts +1 -0
- package/dist/models/AccountNameshiftCommissionItemDto.js +2 -1
- package/dist/models/AccountNameshiftCommissionReasonDto.d.ts +1 -0
- package/dist/models/AccountNameshiftCommissionReasonDto.js +2 -1
- package/dist/models/AccountNotificationDto.d.ts +1 -0
- package/dist/models/AccountNotificationDto.js +2 -1
- package/dist/models/AccountSettingsBrokerDto.d.ts +38 -0
- package/dist/models/AccountSettingsBrokerDto.js +55 -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/AdminBrokeredLeadDto.d.ts +248 -0
- package/dist/models/AdminBrokeredLeadDto.js +204 -0
- package/dist/models/AdminListBrokeredLeads200Response.d.ts +47 -0
- package/dist/models/AdminListBrokeredLeads200Response.js +62 -0
- package/dist/models/ApiKeyDto.d.ts +2 -0
- package/dist/models/ApiKeyDto.js +2 -0
- package/dist/models/ApiKeyScopeDto.d.ts +2 -0
- package/dist/models/ApiKeyScopeDto.js +2 -0
- package/dist/models/BrokerBrokeredLeadDto.d.ts +189 -0
- package/dist/models/BrokerBrokeredLeadDto.js +162 -0
- package/dist/models/BrokerCommissionInput.d.ts +52 -0
- package/dist/models/BrokerCommissionInput.js +63 -0
- package/dist/models/BrokeredLeadBreakdownDto.d.ts +58 -0
- package/dist/models/BrokeredLeadBreakdownDto.js +69 -0
- package/dist/models/BrokeredLeadBuyerContactDto.d.ts +50 -0
- package/dist/models/BrokeredLeadBuyerContactDto.js +63 -0
- package/dist/models/BrokeredLeadBuyerInput.d.ts +50 -0
- package/dist/models/BrokeredLeadBuyerInput.js +63 -0
- package/dist/models/BrokeredLeadCommissionDto.d.ts +71 -0
- package/dist/models/BrokeredLeadCommissionDto.js +80 -0
- package/dist/models/BrokeredLeadInvitationDto.d.ts +57 -0
- package/dist/models/BrokeredLeadInvitationDto.js +68 -0
- package/dist/models/BuyerInvoiceDto.d.ts +6 -0
- package/dist/models/BuyerInvoiceDto.js +4 -0
- package/dist/models/BuyerNotificationDto.d.ts +6 -0
- package/dist/models/BuyerNotificationDto.js +7 -1
- package/dist/models/BuyerNotificationListItemDto.d.ts +6 -0
- package/dist/models/BuyerNotificationListItemDto.js +7 -1
- package/dist/models/CommissionDto.d.ts +1 -0
- package/dist/models/CommissionDto.js +2 -1
- package/dist/models/CommissionPayloadInput.d.ts +1 -0
- package/dist/models/CommissionPayloadInput.js +2 -1
- package/dist/models/CommissionReasonDto.d.ts +1 -0
- package/dist/models/CommissionReasonDto.js +2 -1
- package/dist/models/CommissionSimulationItemInput.d.ts +1 -0
- package/dist/models/CommissionSimulationItemInput.js +2 -1
- package/dist/models/CreateApiKeyInput.d.ts +2 -0
- package/dist/models/CreateApiKeyInput.js +2 -0
- package/dist/models/CreateBrokeredLeadInput.d.ts +59 -0
- package/dist/models/CreateBrokeredLeadInput.js +68 -0
- package/dist/models/CreatedApiKeyDto.d.ts +2 -0
- package/dist/models/CreatedApiKeyDto.js +2 -0
- package/dist/models/CustomerSuccessListAccountDto.d.ts +6 -0
- package/dist/models/CustomerSuccessListAccountDto.js +4 -0
- package/dist/models/CustomerSuccessListAccountMetricsDto.d.ts +6 -0
- package/dist/models/CustomerSuccessListAccountMetricsDto.js +4 -0
- package/dist/models/DeclineBrokeredLeadInput.d.ts +32 -0
- package/dist/models/DeclineBrokeredLeadInput.js +49 -0
- package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
- package/dist/models/FeatureFlagListItemDto.js +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +13 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +9 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +1 -1
- package/dist/models/InvoiceDto.d.ts +6 -0
- package/dist/models/InvoiceDto.js +4 -0
- package/dist/models/LeadBrokeredDealDto.d.ts +39 -0
- package/dist/models/LeadBrokeredDealDto.js +56 -0
- package/dist/models/ListAccountMetricsDto.d.ts +6 -0
- package/dist/models/ListAccountMetricsDto.js +4 -0
- package/dist/models/ListBrokerLeads200Response.d.ts +47 -0
- package/dist/models/ListBrokerLeads200Response.js +62 -0
- package/dist/models/ListLeadsResultItem.d.ts +7 -0
- package/dist/models/ListLeadsResultItem.js +5 -0
- package/dist/models/ManualLeadDetails.d.ts +7 -0
- package/dist/models/ManualLeadDetails.js +5 -0
- package/dist/models/OverrideBrokeredLeadNameshiftCommissionInput.d.ts +38 -0
- package/dist/models/OverrideBrokeredLeadNameshiftCommissionInput.js +55 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +19 -0
- package/dist/models/PrivateAccountGetMeResponse.js +13 -0
- package/dist/models/RegisterAccountInput.d.ts +6 -0
- package/dist/models/RegisterAccountInput.js +2 -0
- package/dist/models/SellerBrokeredLeadDto.d.ts +114 -0
- package/dist/models/SellerBrokeredLeadDto.js +111 -0
- package/dist/models/SellerBrokeredLeadVerificationDto.d.ts +44 -0
- package/dist/models/SellerBrokeredLeadVerificationDto.js +59 -0
- package/dist/models/SellerInvoiceDto.d.ts +6 -0
- package/dist/models/SellerInvoiceDto.js +4 -0
- package/dist/models/SimulateCommissionInput.d.ts +1 -0
- package/dist/models/SimulateCommissionInput.js +2 -1
- package/dist/models/UpdateApiKeyInput.d.ts +2 -0
- package/dist/models/UpdateApiKeyInput.js +2 -0
- package/dist/models/UserNotificationDto.d.ts +6 -0
- package/dist/models/UserNotificationDto.js +7 -1
- package/dist/models/UserNotificationListItemDto.d.ts +6 -0
- package/dist/models/UserNotificationListItemDto.js +7 -1
- package/dist/models/WithSettingsInner.d.ts +11 -4
- package/dist/models/WithSettingsInner.js +9 -4
- package/dist/models/index.d.ts +18 -0
- package/dist/models/index.js +18 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +145 -0
- package/src/apis/BrokeredLeadsApi.ts +740 -0
- package/src/apis/BrokeredLeadsPublicApi.ts +69 -0
- package/src/apis/index.ts +2 -0
- package/src/models/AccountBrokerSettingsInput.ts +73 -0
- package/src/models/AccountDto.ts +18 -0
- package/src/models/AccountNameshiftCommissionBySubtypeDto.ts +2 -1
- package/src/models/AccountNameshiftCommissionItemDto.ts +2 -1
- package/src/models/AccountNameshiftCommissionReasonDto.ts +2 -1
- package/src/models/AccountNotificationDto.ts +2 -1
- package/src/models/AccountSettingsBrokerDto.ts +75 -0
- package/src/models/AccountSettingsDto.ts +16 -0
- package/src/models/AccountSettingsInput.ts +15 -0
- package/src/models/AdminBrokeredLeadDto.ts +404 -0
- package/src/models/AdminListBrokeredLeads200Response.ts +106 -0
- package/src/models/ApiKeyDto.ts +2 -0
- package/src/models/ApiKeyScopeDto.ts +2 -0
- package/src/models/BrokerBrokeredLeadDto.ts +320 -0
- package/src/models/BrokerCommissionInput.ts +93 -0
- package/src/models/BrokeredLeadBreakdownDto.ts +117 -0
- package/src/models/BrokeredLeadBuyerContactDto.ts +93 -0
- package/src/models/BrokeredLeadBuyerInput.ts +93 -0
- package/src/models/BrokeredLeadCommissionDto.ts +130 -0
- package/src/models/BrokeredLeadInvitationDto.ts +110 -0
- package/src/models/BuyerInvoiceDto.ts +9 -0
- package/src/models/BuyerNotificationDto.ts +7 -1
- package/src/models/BuyerNotificationListItemDto.ts +7 -1
- package/src/models/CommissionDto.ts +2 -1
- package/src/models/CommissionPayloadInput.ts +2 -1
- package/src/models/CommissionReasonDto.ts +2 -1
- package/src/models/CommissionSimulationItemInput.ts +2 -1
- package/src/models/CreateApiKeyInput.ts +2 -0
- package/src/models/CreateBrokeredLeadInput.ts +123 -0
- package/src/models/CreatedApiKeyDto.ts +2 -0
- package/src/models/CustomerSuccessListAccountDto.ts +9 -0
- package/src/models/CustomerSuccessListAccountMetricsDto.ts +9 -0
- package/src/models/DeclineBrokeredLeadInput.ts +65 -0
- package/src/models/FeatureFlagListItemDto.ts +1 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +19 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +1 -1
- package/src/models/InvoiceDto.ts +9 -0
- package/src/models/LeadBrokeredDealDto.ts +83 -0
- package/src/models/ListAccountMetricsDto.ts +9 -0
- package/src/models/ListBrokerLeads200Response.ts +106 -0
- package/src/models/ListLeadsResultItem.ts +16 -0
- package/src/models/ManualLeadDetails.ts +16 -0
- package/src/models/OverrideBrokeredLeadNameshiftCommissionInput.ts +75 -0
- package/src/models/PrivateAccountGetMeResponse.ts +28 -0
- package/src/models/RegisterAccountInput.ts +8 -0
- package/src/models/SellerBrokeredLeadDto.ts +215 -0
- package/src/models/SellerBrokeredLeadVerificationDto.ts +84 -0
- package/src/models/SellerInvoiceDto.ts +9 -0
- package/src/models/SimulateCommissionInput.ts +2 -1
- package/src/models/UpdateApiKeyInput.ts +2 -0
- package/src/models/UserNotificationDto.ts +7 -1
- package/src/models/UserNotificationListItemDto.ts +7 -1
- package/src/models/WithSettingsInner.ts +44 -28
- package/src/models/index.ts +18 -0
|
@@ -129,6 +129,18 @@ export interface PrivateAccountGetMeResponse {
|
|
|
129
129
|
* @memberof PrivateAccountGetMeResponse
|
|
130
130
|
*/
|
|
131
131
|
canSell: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Whether the account can bring in brokered deals: brokerage is switched on and the account is verified.
|
|
134
|
+
* @type {boolean}
|
|
135
|
+
* @memberof PrivateAccountGetMeResponse
|
|
136
|
+
*/
|
|
137
|
+
canBroker: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Whether the account can see the onboarding.
|
|
140
|
+
* @type {boolean}
|
|
141
|
+
* @memberof PrivateAccountGetMeResponse
|
|
142
|
+
*/
|
|
143
|
+
canSeeOnboarding: boolean;
|
|
132
144
|
/**
|
|
133
145
|
* Account settings.
|
|
134
146
|
* @type {WithSettingsInner}
|
|
@@ -153,6 +165,12 @@ export interface PrivateAccountGetMeResponse {
|
|
|
153
165
|
* @memberof PrivateAccountGetMeResponse
|
|
154
166
|
*/
|
|
155
167
|
unreadNotificationsNumber: number;
|
|
168
|
+
/**
|
|
169
|
+
* Whether the account brought in deals as a broker. Their deals stay reachable after brokerage is switched off.
|
|
170
|
+
* @type {boolean}
|
|
171
|
+
* @memberof PrivateAccountGetMeResponse
|
|
172
|
+
*/
|
|
173
|
+
hasBrokerLeads: boolean;
|
|
156
174
|
}
|
|
157
175
|
|
|
158
176
|
|
|
@@ -191,6 +209,7 @@ export const PrivateAccountGetMeResponseEnabledFeaturesEnum = {
|
|
|
191
209
|
LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
|
|
192
210
|
LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
|
|
193
211
|
DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
|
|
212
|
+
BROKER_PROGRAM: 'BROKER_PROGRAM',
|
|
194
213
|
DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
|
|
195
214
|
BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
|
|
196
215
|
MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF',
|
|
@@ -213,10 +232,13 @@ export function instanceOfPrivateAccountGetMeResponse(value: object): value is P
|
|
|
213
232
|
if (!('leaseToOwnKickbackPercentage' in value) || value['leaseToOwnKickbackPercentage'] === undefined) return false;
|
|
214
233
|
if (!('challengeRewardBalance' in value) || value['challengeRewardBalance'] === undefined) return false;
|
|
215
234
|
if (!('canSell' in value) || value['canSell'] === undefined) return false;
|
|
235
|
+
if (!('canBroker' in value) || value['canBroker'] === undefined) return false;
|
|
236
|
+
if (!('canSeeOnboarding' in value) || value['canSeeOnboarding'] === undefined) return false;
|
|
216
237
|
if (!('settings' in value) || value['settings'] === undefined) return false;
|
|
217
238
|
if (!('notifications' in value) || value['notifications'] === undefined) return false;
|
|
218
239
|
if (!('enabledFeatures' in value) || value['enabledFeatures'] === undefined) return false;
|
|
219
240
|
if (!('unreadNotificationsNumber' in value) || value['unreadNotificationsNumber'] === undefined) return false;
|
|
241
|
+
if (!('hasBrokerLeads' in value) || value['hasBrokerLeads'] === undefined) return false;
|
|
220
242
|
return true;
|
|
221
243
|
}
|
|
222
244
|
|
|
@@ -240,10 +262,13 @@ export function PrivateAccountGetMeResponseFromJSONTyped(json: any, ignoreDiscri
|
|
|
240
262
|
'leaseToOwnKickbackPercentage': json['leaseToOwnKickbackPercentage'],
|
|
241
263
|
'challengeRewardBalance': ChallengeRewardBalanceDtoFromJSON(json['challengeRewardBalance']),
|
|
242
264
|
'canSell': json['canSell'],
|
|
265
|
+
'canBroker': json['canBroker'],
|
|
266
|
+
'canSeeOnboarding': json['canSeeOnboarding'],
|
|
243
267
|
'settings': WithSettingsInnerFromJSON(json['settings']),
|
|
244
268
|
'notifications': ((json['notifications'] as Array<any>).map(AccountNotificationDtoFromJSON)),
|
|
245
269
|
'enabledFeatures': json['enabledFeatures'],
|
|
246
270
|
'unreadNotificationsNumber': json['unreadNotificationsNumber'],
|
|
271
|
+
'hasBrokerLeads': json['hasBrokerLeads'],
|
|
247
272
|
};
|
|
248
273
|
}
|
|
249
274
|
|
|
@@ -268,10 +293,13 @@ export function PrivateAccountGetMeResponseToJSONTyped(value?: PrivateAccountGet
|
|
|
268
293
|
'leaseToOwnKickbackPercentage': value['leaseToOwnKickbackPercentage'],
|
|
269
294
|
'challengeRewardBalance': ChallengeRewardBalanceDtoToJSON(value['challengeRewardBalance']),
|
|
270
295
|
'canSell': value['canSell'],
|
|
296
|
+
'canBroker': value['canBroker'],
|
|
297
|
+
'canSeeOnboarding': value['canSeeOnboarding'],
|
|
271
298
|
'settings': WithSettingsInnerToJSON(value['settings']),
|
|
272
299
|
'notifications': ((value['notifications'] as Array<any>).map(AccountNotificationDtoToJSON)),
|
|
273
300
|
'enabledFeatures': value['enabledFeatures'],
|
|
274
301
|
'unreadNotificationsNumber': value['unreadNotificationsNumber'],
|
|
302
|
+
'hasBrokerLeads': value['hasBrokerLeads'],
|
|
275
303
|
};
|
|
276
304
|
}
|
|
277
305
|
|
|
@@ -99,6 +99,12 @@ export interface RegisterAccountInput {
|
|
|
99
99
|
* @memberof RegisterAccountInput
|
|
100
100
|
*/
|
|
101
101
|
portfolioSize?: RegisterAccountPortfolioSizeInput | null;
|
|
102
|
+
/**
|
|
103
|
+
* Token from the signup link a broker shares with a seller. The domain of the brokered deal is added to the new account, and the deal waits there for review.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof RegisterAccountInput
|
|
106
|
+
*/
|
|
107
|
+
brokeredLeadToken?: string | null;
|
|
102
108
|
}
|
|
103
109
|
|
|
104
110
|
|
|
@@ -147,6 +153,7 @@ export function RegisterAccountInputFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
147
153
|
'affiliateIdentifier': json['affiliateIdentifier'] == null ? undefined : json['affiliateIdentifier'],
|
|
148
154
|
'companyName': json['companyName'] == null ? undefined : json['companyName'],
|
|
149
155
|
'portfolioSize': json['portfolioSize'] == null ? undefined : RegisterAccountPortfolioSizeInputFromJSON(json['portfolioSize']),
|
|
156
|
+
'brokeredLeadToken': json['brokeredLeadToken'] == null ? undefined : json['brokeredLeadToken'],
|
|
150
157
|
};
|
|
151
158
|
}
|
|
152
159
|
|
|
@@ -173,6 +180,7 @@ export function RegisterAccountInputToJSONTyped(value?: RegisterAccountInput | n
|
|
|
173
180
|
'affiliateIdentifier': value['affiliateIdentifier'],
|
|
174
181
|
'companyName': value['companyName'],
|
|
175
182
|
'portfolioSize': RegisterAccountPortfolioSizeInputToJSON(value['portfolioSize']),
|
|
183
|
+
'brokeredLeadToken': value['brokeredLeadToken'],
|
|
176
184
|
};
|
|
177
185
|
}
|
|
178
186
|
|
|
@@ -0,0 +1,215 @@
|
|
|
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
|
+
import type { BrokeredLeadBreakdownDto } from './BrokeredLeadBreakdownDto';
|
|
17
|
+
import {
|
|
18
|
+
BrokeredLeadBreakdownDtoFromJSON,
|
|
19
|
+
BrokeredLeadBreakdownDtoFromJSONTyped,
|
|
20
|
+
BrokeredLeadBreakdownDtoToJSON,
|
|
21
|
+
BrokeredLeadBreakdownDtoToJSONTyped,
|
|
22
|
+
} from './BrokeredLeadBreakdownDto';
|
|
23
|
+
import type { BrokeredLeadCommissionDto } from './BrokeredLeadCommissionDto';
|
|
24
|
+
import {
|
|
25
|
+
BrokeredLeadCommissionDtoFromJSON,
|
|
26
|
+
BrokeredLeadCommissionDtoFromJSONTyped,
|
|
27
|
+
BrokeredLeadCommissionDtoToJSON,
|
|
28
|
+
BrokeredLeadCommissionDtoToJSONTyped,
|
|
29
|
+
} from './BrokeredLeadCommissionDto';
|
|
30
|
+
import type { MoneyDto } from './MoneyDto';
|
|
31
|
+
import {
|
|
32
|
+
MoneyDtoFromJSON,
|
|
33
|
+
MoneyDtoFromJSONTyped,
|
|
34
|
+
MoneyDtoToJSON,
|
|
35
|
+
MoneyDtoToJSONTyped,
|
|
36
|
+
} from './MoneyDto';
|
|
37
|
+
import type { SellerBrokeredLeadVerificationDto } from './SellerBrokeredLeadVerificationDto';
|
|
38
|
+
import {
|
|
39
|
+
SellerBrokeredLeadVerificationDtoFromJSON,
|
|
40
|
+
SellerBrokeredLeadVerificationDtoFromJSONTyped,
|
|
41
|
+
SellerBrokeredLeadVerificationDtoToJSON,
|
|
42
|
+
SellerBrokeredLeadVerificationDtoToJSONTyped,
|
|
43
|
+
} from './SellerBrokeredLeadVerificationDto';
|
|
44
|
+
import type { MoneyDecimalDto } from './MoneyDecimalDto';
|
|
45
|
+
import {
|
|
46
|
+
MoneyDecimalDtoFromJSON,
|
|
47
|
+
MoneyDecimalDtoFromJSONTyped,
|
|
48
|
+
MoneyDecimalDtoToJSON,
|
|
49
|
+
MoneyDecimalDtoToJSONTyped,
|
|
50
|
+
} from './MoneyDecimalDto';
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @export
|
|
55
|
+
* @interface SellerBrokeredLeadDto
|
|
56
|
+
*/
|
|
57
|
+
export interface SellerBrokeredLeadDto {
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof SellerBrokeredLeadDto
|
|
62
|
+
*/
|
|
63
|
+
id: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof SellerBrokeredLeadDto
|
|
68
|
+
*/
|
|
69
|
+
domainName: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof SellerBrokeredLeadDto
|
|
74
|
+
*/
|
|
75
|
+
status: SellerBrokeredLeadDtoStatusEnum;
|
|
76
|
+
/**
|
|
77
|
+
* Name of the broker who brought the deal.
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof SellerBrokeredLeadDto
|
|
80
|
+
*/
|
|
81
|
+
brokerName: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {MoneyDto}
|
|
85
|
+
* @memberof SellerBrokeredLeadDto
|
|
86
|
+
*/
|
|
87
|
+
askingPrice: MoneyDto;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {BrokeredLeadCommissionDto}
|
|
91
|
+
* @memberof SellerBrokeredLeadDto
|
|
92
|
+
*/
|
|
93
|
+
commission: BrokeredLeadCommissionDto;
|
|
94
|
+
/**
|
|
95
|
+
* The sale price less the broker commission charged to the seller. Nameshift charges no commission on a brokered sale.
|
|
96
|
+
* @type {MoneyDecimalDto}
|
|
97
|
+
* @memberof SellerBrokeredLeadDto
|
|
98
|
+
*/
|
|
99
|
+
sellerProceeds: MoneyDecimalDto;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {BrokeredLeadBreakdownDto}
|
|
103
|
+
* @memberof SellerBrokeredLeadDto
|
|
104
|
+
*/
|
|
105
|
+
breakdown: BrokeredLeadBreakdownDto;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {SellerBrokeredLeadVerificationDto}
|
|
109
|
+
* @memberof SellerBrokeredLeadDto
|
|
110
|
+
*/
|
|
111
|
+
verification: SellerBrokeredLeadVerificationDto;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {string}
|
|
115
|
+
* @memberof SellerBrokeredLeadDto
|
|
116
|
+
*/
|
|
117
|
+
declineReason: string | null;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {Date}
|
|
121
|
+
* @memberof SellerBrokeredLeadDto
|
|
122
|
+
*/
|
|
123
|
+
createdAt: Date;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {Date}
|
|
127
|
+
* @memberof SellerBrokeredLeadDto
|
|
128
|
+
*/
|
|
129
|
+
approvedAt: Date | null;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @export
|
|
135
|
+
*/
|
|
136
|
+
export const SellerBrokeredLeadDtoStatusEnum = {
|
|
137
|
+
PENDING_SELLER: 'pending_seller',
|
|
138
|
+
PENDING_SELLER_VERIFICATION: 'pending_seller_verification',
|
|
139
|
+
APPROVED: 'approved',
|
|
140
|
+
DECLINED: 'declined',
|
|
141
|
+
CANCELLED: 'cancelled'
|
|
142
|
+
} as const;
|
|
143
|
+
export type SellerBrokeredLeadDtoStatusEnum = typeof SellerBrokeredLeadDtoStatusEnum[keyof typeof SellerBrokeredLeadDtoStatusEnum];
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Check if a given object implements the SellerBrokeredLeadDto interface.
|
|
148
|
+
*/
|
|
149
|
+
export function instanceOfSellerBrokeredLeadDto(value: object): value is SellerBrokeredLeadDto {
|
|
150
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
151
|
+
if (!('domainName' in value) || value['domainName'] === undefined) return false;
|
|
152
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
153
|
+
if (!('brokerName' in value) || value['brokerName'] === undefined) return false;
|
|
154
|
+
if (!('askingPrice' in value) || value['askingPrice'] === undefined) return false;
|
|
155
|
+
if (!('commission' in value) || value['commission'] === undefined) return false;
|
|
156
|
+
if (!('sellerProceeds' in value) || value['sellerProceeds'] === undefined) return false;
|
|
157
|
+
if (!('breakdown' in value) || value['breakdown'] === undefined) return false;
|
|
158
|
+
if (!('verification' in value) || value['verification'] === undefined) return false;
|
|
159
|
+
if (!('declineReason' in value) || value['declineReason'] === undefined) return false;
|
|
160
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
161
|
+
if (!('approvedAt' in value) || value['approvedAt'] === undefined) return false;
|
|
162
|
+
return true;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export function SellerBrokeredLeadDtoFromJSON(json: any): SellerBrokeredLeadDto {
|
|
166
|
+
return SellerBrokeredLeadDtoFromJSONTyped(json, false);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export function SellerBrokeredLeadDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerBrokeredLeadDto {
|
|
170
|
+
if (json == null) {
|
|
171
|
+
return json;
|
|
172
|
+
}
|
|
173
|
+
return {
|
|
174
|
+
|
|
175
|
+
'id': json['id'],
|
|
176
|
+
'domainName': json['domainName'],
|
|
177
|
+
'status': json['status'],
|
|
178
|
+
'brokerName': json['brokerName'],
|
|
179
|
+
'askingPrice': MoneyDtoFromJSON(json['askingPrice']),
|
|
180
|
+
'commission': BrokeredLeadCommissionDtoFromJSON(json['commission']),
|
|
181
|
+
'sellerProceeds': MoneyDecimalDtoFromJSON(json['sellerProceeds']),
|
|
182
|
+
'breakdown': BrokeredLeadBreakdownDtoFromJSON(json['breakdown']),
|
|
183
|
+
'verification': SellerBrokeredLeadVerificationDtoFromJSON(json['verification']),
|
|
184
|
+
'declineReason': json['declineReason'],
|
|
185
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
186
|
+
'approvedAt': (json['approvedAt'] == null ? null : new Date(json['approvedAt'])),
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export function SellerBrokeredLeadDtoToJSON(json: any): SellerBrokeredLeadDto {
|
|
191
|
+
return SellerBrokeredLeadDtoToJSONTyped(json, false);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export function SellerBrokeredLeadDtoToJSONTyped(value?: SellerBrokeredLeadDto | null, ignoreDiscriminator: boolean = false): any {
|
|
195
|
+
if (value == null) {
|
|
196
|
+
return value;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
return {
|
|
200
|
+
|
|
201
|
+
'id': value['id'],
|
|
202
|
+
'domainName': value['domainName'],
|
|
203
|
+
'status': value['status'],
|
|
204
|
+
'brokerName': value['brokerName'],
|
|
205
|
+
'askingPrice': MoneyDtoToJSON(value['askingPrice']),
|
|
206
|
+
'commission': BrokeredLeadCommissionDtoToJSON(value['commission']),
|
|
207
|
+
'sellerProceeds': MoneyDecimalDtoToJSON(value['sellerProceeds']),
|
|
208
|
+
'breakdown': BrokeredLeadBreakdownDtoToJSON(value['breakdown']),
|
|
209
|
+
'verification': SellerBrokeredLeadVerificationDtoToJSON(value['verification']),
|
|
210
|
+
'declineReason': value['declineReason'],
|
|
211
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
212
|
+
'approvedAt': (value['approvedAt'] == null ? null : (value['approvedAt'] as any).toISOString()),
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
|
|
@@ -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 SellerBrokeredLeadVerificationDto
|
|
20
|
+
*/
|
|
21
|
+
export interface SellerBrokeredLeadVerificationDto {
|
|
22
|
+
/**
|
|
23
|
+
* The domain, once it is in the account.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SellerBrokeredLeadVerificationDto
|
|
26
|
+
*/
|
|
27
|
+
domainId: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* Whether the domain is verified as the account’s.
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof SellerBrokeredLeadVerificationDto
|
|
32
|
+
*/
|
|
33
|
+
domainVerified: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Whether the account is verified and has its billing details complete.
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof SellerBrokeredLeadVerificationDto
|
|
38
|
+
*/
|
|
39
|
+
accountVerified: boolean;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the SellerBrokeredLeadVerificationDto interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfSellerBrokeredLeadVerificationDto(value: object): value is SellerBrokeredLeadVerificationDto {
|
|
46
|
+
if (!('domainId' in value) || value['domainId'] === undefined) return false;
|
|
47
|
+
if (!('domainVerified' in value) || value['domainVerified'] === undefined) return false;
|
|
48
|
+
if (!('accountVerified' in value) || value['accountVerified'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function SellerBrokeredLeadVerificationDtoFromJSON(json: any): SellerBrokeredLeadVerificationDto {
|
|
53
|
+
return SellerBrokeredLeadVerificationDtoFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function SellerBrokeredLeadVerificationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerBrokeredLeadVerificationDto {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'domainId': json['domainId'],
|
|
63
|
+
'domainVerified': json['domainVerified'],
|
|
64
|
+
'accountVerified': json['accountVerified'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function SellerBrokeredLeadVerificationDtoToJSON(json: any): SellerBrokeredLeadVerificationDto {
|
|
69
|
+
return SellerBrokeredLeadVerificationDtoToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function SellerBrokeredLeadVerificationDtoToJSONTyped(value?: SellerBrokeredLeadVerificationDto | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'domainId': value['domainId'],
|
|
80
|
+
'domainVerified': value['domainVerified'],
|
|
81
|
+
'accountVerified': value['accountVerified'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -114,6 +114,12 @@ export interface SellerInvoiceDto {
|
|
|
114
114
|
* @memberof SellerInvoiceDto
|
|
115
115
|
*/
|
|
116
116
|
isAffiliateCommission: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* Whether this is the invoice a broker issues for a brokered sale commission.
|
|
119
|
+
* @type {boolean}
|
|
120
|
+
* @memberof SellerInvoiceDto
|
|
121
|
+
*/
|
|
122
|
+
isBrokerCommission: boolean;
|
|
117
123
|
/**
|
|
118
124
|
* For an invoice awaiting its payout: when it is due, by the payout frequency of the account. A payout that costs the account nothing is due right away, unless it wants those to wait too, and so is every invoice of an account that is not paid out automatically. Null when it awaits no payout.
|
|
119
125
|
* @type {Date}
|
|
@@ -166,6 +172,7 @@ export function instanceOfSellerInvoiceDto(value: object): value is SellerInvoic
|
|
|
166
172
|
if (!('parent' in value) || value['parent'] === undefined) return false;
|
|
167
173
|
if (!('hasChildren' in value) || value['hasChildren'] === undefined) return false;
|
|
168
174
|
if (!('isAffiliateCommission' in value) || value['isAffiliateCommission'] === undefined) return false;
|
|
175
|
+
if (!('isBrokerCommission' in value) || value['isBrokerCommission'] === undefined) return false;
|
|
169
176
|
if (!('payoutDueAt' in value) || value['payoutDueAt'] === undefined) return false;
|
|
170
177
|
if (!('payout' in value) || value['payout'] === undefined) return false;
|
|
171
178
|
return true;
|
|
@@ -192,6 +199,7 @@ export function SellerInvoiceDtoFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
192
199
|
'parent': json['parent'],
|
|
193
200
|
'hasChildren': json['hasChildren'],
|
|
194
201
|
'isAffiliateCommission': json['isAffiliateCommission'],
|
|
202
|
+
'isBrokerCommission': json['isBrokerCommission'],
|
|
195
203
|
'payoutDueAt': (json['payoutDueAt'] == null ? null : new Date(json['payoutDueAt'])),
|
|
196
204
|
'payout': InvoicePayoutDtoFromJSON(json['payout']),
|
|
197
205
|
};
|
|
@@ -219,6 +227,7 @@ export function SellerInvoiceDtoToJSONTyped(value?: SellerInvoiceDto | null, ign
|
|
|
219
227
|
'parent': value['parent'],
|
|
220
228
|
'hasChildren': value['hasChildren'],
|
|
221
229
|
'isAffiliateCommission': value['isAffiliateCommission'],
|
|
230
|
+
'isBrokerCommission': value['isBrokerCommission'],
|
|
222
231
|
'payoutDueAt': (value['payoutDueAt'] == null ? null : (value['payoutDueAt'] as any).toISOString()),
|
|
223
232
|
'payout': InvoicePayoutDtoToJSON(value['payout']),
|
|
224
233
|
};
|
|
@@ -68,7 +68,8 @@ export const SimulateCommissionInputSubtypeEnum = {
|
|
|
68
68
|
NOT_POINTING: 'not_pointing',
|
|
69
69
|
ROUTED: 'routed',
|
|
70
70
|
MANUAL_LEAD: 'manual_lead',
|
|
71
|
-
AUCTION: 'auction'
|
|
71
|
+
AUCTION: 'auction',
|
|
72
|
+
BROKERED_LEAD: 'brokered_lead'
|
|
72
73
|
} as const;
|
|
73
74
|
export type SimulateCommissionInputSubtypeEnum = typeof SimulateCommissionInputSubtypeEnum[keyof typeof SimulateCommissionInputSubtypeEnum];
|
|
74
75
|
|
|
@@ -51,6 +51,8 @@ export const UpdateApiKeyInputScopeEnum = {
|
|
|
51
51
|
TRANSFERS_WRITE: 'TRANSFERS_WRITE',
|
|
52
52
|
LEADS_READ: 'LEADS_READ',
|
|
53
53
|
LEADS_WRITE: 'LEADS_WRITE',
|
|
54
|
+
BROKERED_LEADS_READ: 'BROKERED_LEADS_READ',
|
|
55
|
+
BROKERED_LEADS_WRITE: 'BROKERED_LEADS_WRITE',
|
|
54
56
|
AUCTIONS_READ: 'AUCTIONS_READ',
|
|
55
57
|
AUCTIONS_WRITE: 'AUCTIONS_WRITE',
|
|
56
58
|
STATS_READ: 'STATS_READ',
|
|
@@ -157,6 +157,7 @@ export const UserNotificationDtoTypeEnum = {
|
|
|
157
157
|
SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'seller_lease_to_own_installment_invoice',
|
|
158
158
|
SELLER_RENT_INSTALLMENT_INVOICE: 'seller_rent_installment_invoice',
|
|
159
159
|
AFFILIATE_COMMISSIONS_INVOICE: 'affiliate_commissions_invoice',
|
|
160
|
+
BROKER_COMMISSION_INVOICE: 'broker_commission_invoice',
|
|
160
161
|
LEAD_MESSAGE_BATCH: 'lead_message.batch',
|
|
161
162
|
TASKS_REMINDER_BATCH: 'tasks.reminder.batch',
|
|
162
163
|
LEAD_MESSAGE_OFFER: 'lead_message.offer',
|
|
@@ -174,7 +175,12 @@ export const UserNotificationDtoTypeEnum = {
|
|
|
174
175
|
AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_BIDDER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_bidder_notification',
|
|
175
176
|
AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: 'auction.finished_with_winner_seller_notification',
|
|
176
177
|
AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification',
|
|
177
|
-
AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_SELLER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_seller_notification'
|
|
178
|
+
AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_SELLER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_seller_notification',
|
|
179
|
+
BROKERED_LEAD_SELLER_APPROVAL_REQUEST: 'brokered_lead.seller_approval_request',
|
|
180
|
+
BROKERED_LEAD_SELLER_INVITATION: 'brokered_lead.seller_invitation',
|
|
181
|
+
BROKERED_LEAD_BUYER_PAYMENT_REMINDER: 'brokered_lead.buyer_payment_reminder',
|
|
182
|
+
BROKERED_LEAD_READY_FOR_PAYMENT: 'brokered_lead.ready_for_payment',
|
|
183
|
+
BROKERED_LEAD_DECLINED: 'brokered_lead.declined'
|
|
178
184
|
} as const;
|
|
179
185
|
export type UserNotificationDtoTypeEnum = typeof UserNotificationDtoTypeEnum[keyof typeof UserNotificationDtoTypeEnum];
|
|
180
186
|
|
|
@@ -143,6 +143,7 @@ export const UserNotificationListItemDtoTypeEnum = {
|
|
|
143
143
|
SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'seller_lease_to_own_installment_invoice',
|
|
144
144
|
SELLER_RENT_INSTALLMENT_INVOICE: 'seller_rent_installment_invoice',
|
|
145
145
|
AFFILIATE_COMMISSIONS_INVOICE: 'affiliate_commissions_invoice',
|
|
146
|
+
BROKER_COMMISSION_INVOICE: 'broker_commission_invoice',
|
|
146
147
|
LEAD_MESSAGE_BATCH: 'lead_message.batch',
|
|
147
148
|
TASKS_REMINDER_BATCH: 'tasks.reminder.batch',
|
|
148
149
|
LEAD_MESSAGE_OFFER: 'lead_message.offer',
|
|
@@ -160,7 +161,12 @@ export const UserNotificationListItemDtoTypeEnum = {
|
|
|
160
161
|
AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_BIDDER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_bidder_notification',
|
|
161
162
|
AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: 'auction.finished_with_winner_seller_notification',
|
|
162
163
|
AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification',
|
|
163
|
-
AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_SELLER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_seller_notification'
|
|
164
|
+
AUCTION_FINISHED_RESERVE_PRICE_NOT_REACHED_SELLER_NOTIFICATION: 'auction.finished_reserve_price_not_reached_seller_notification',
|
|
165
|
+
BROKERED_LEAD_SELLER_APPROVAL_REQUEST: 'brokered_lead.seller_approval_request',
|
|
166
|
+
BROKERED_LEAD_SELLER_INVITATION: 'brokered_lead.seller_invitation',
|
|
167
|
+
BROKERED_LEAD_BUYER_PAYMENT_REMINDER: 'brokered_lead.buyer_payment_reminder',
|
|
168
|
+
BROKERED_LEAD_READY_FOR_PAYMENT: 'brokered_lead.ready_for_payment',
|
|
169
|
+
BROKERED_LEAD_DECLINED: 'brokered_lead.declined'
|
|
164
170
|
} as const;
|
|
165
171
|
export type UserNotificationListItemDtoTypeEnum = typeof UserNotificationListItemDtoTypeEnum[keyof typeof UserNotificationListItemDtoTypeEnum];
|
|
166
172
|
|
|
@@ -20,6 +20,41 @@ import {
|
|
|
20
20
|
LeadVerificationSettingsDtoToJSON,
|
|
21
21
|
LeadVerificationSettingsDtoToJSONTyped,
|
|
22
22
|
} from './LeadVerificationSettingsDto';
|
|
23
|
+
import type { AccountSettingsBrokerDto } from './AccountSettingsBrokerDto';
|
|
24
|
+
import {
|
|
25
|
+
AccountSettingsBrokerDtoFromJSON,
|
|
26
|
+
AccountSettingsBrokerDtoFromJSONTyped,
|
|
27
|
+
AccountSettingsBrokerDtoToJSON,
|
|
28
|
+
AccountSettingsBrokerDtoToJSONTyped,
|
|
29
|
+
} from './AccountSettingsBrokerDto';
|
|
30
|
+
import type { AccountSettingsLeaseToOwnConfigurationDto } from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
31
|
+
import {
|
|
32
|
+
AccountSettingsLeaseToOwnConfigurationDtoFromJSON,
|
|
33
|
+
AccountSettingsLeaseToOwnConfigurationDtoFromJSONTyped,
|
|
34
|
+
AccountSettingsLeaseToOwnConfigurationDtoToJSON,
|
|
35
|
+
AccountSettingsLeaseToOwnConfigurationDtoToJSONTyped,
|
|
36
|
+
} from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
37
|
+
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
38
|
+
import {
|
|
39
|
+
LeadOfferExpirationConfigurationDtoFromJSON,
|
|
40
|
+
LeadOfferExpirationConfigurationDtoFromJSONTyped,
|
|
41
|
+
LeadOfferExpirationConfigurationDtoToJSON,
|
|
42
|
+
LeadOfferExpirationConfigurationDtoToJSONTyped,
|
|
43
|
+
} from './LeadOfferExpirationConfigurationDto';
|
|
44
|
+
import type { TimeTableConfigurationDto } from './TimeTableConfigurationDto';
|
|
45
|
+
import {
|
|
46
|
+
TimeTableConfigurationDtoFromJSON,
|
|
47
|
+
TimeTableConfigurationDtoFromJSONTyped,
|
|
48
|
+
TimeTableConfigurationDtoToJSON,
|
|
49
|
+
TimeTableConfigurationDtoToJSONTyped,
|
|
50
|
+
} from './TimeTableConfigurationDto';
|
|
51
|
+
import type { AccountSettingsRentConfigurationDto } from './AccountSettingsRentConfigurationDto';
|
|
52
|
+
import {
|
|
53
|
+
AccountSettingsRentConfigurationDtoFromJSON,
|
|
54
|
+
AccountSettingsRentConfigurationDtoFromJSONTyped,
|
|
55
|
+
AccountSettingsRentConfigurationDtoToJSON,
|
|
56
|
+
AccountSettingsRentConfigurationDtoToJSONTyped,
|
|
57
|
+
} from './AccountSettingsRentConfigurationDto';
|
|
23
58
|
import type { LeadPriceNegotiatorAiAgentConfigurationDto } from './LeadPriceNegotiatorAiAgentConfigurationDto';
|
|
24
59
|
import {
|
|
25
60
|
LeadPriceNegotiatorAiAgentConfigurationDtoFromJSON,
|
|
@@ -48,20 +83,6 @@ import {
|
|
|
48
83
|
AccountAliasDtoToJSON,
|
|
49
84
|
AccountAliasDtoToJSONTyped,
|
|
50
85
|
} from './AccountAliasDto';
|
|
51
|
-
import type { AccountSettingsLeaseToOwnConfigurationDto } from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
52
|
-
import {
|
|
53
|
-
AccountSettingsLeaseToOwnConfigurationDtoFromJSON,
|
|
54
|
-
AccountSettingsLeaseToOwnConfigurationDtoFromJSONTyped,
|
|
55
|
-
AccountSettingsLeaseToOwnConfigurationDtoToJSON,
|
|
56
|
-
AccountSettingsLeaseToOwnConfigurationDtoToJSONTyped,
|
|
57
|
-
} from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
58
|
-
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
59
|
-
import {
|
|
60
|
-
LeadOfferExpirationConfigurationDtoFromJSON,
|
|
61
|
-
LeadOfferExpirationConfigurationDtoFromJSONTyped,
|
|
62
|
-
LeadOfferExpirationConfigurationDtoToJSON,
|
|
63
|
-
LeadOfferExpirationConfigurationDtoToJSONTyped,
|
|
64
|
-
} from './LeadOfferExpirationConfigurationDto';
|
|
65
86
|
import type { AuctionConfigurationDto } from './AuctionConfigurationDto';
|
|
66
87
|
import {
|
|
67
88
|
AuctionConfigurationDtoFromJSON,
|
|
@@ -76,13 +97,6 @@ import {
|
|
|
76
97
|
AccountCommissionByDateRangeDtoToJSON,
|
|
77
98
|
AccountCommissionByDateRangeDtoToJSONTyped,
|
|
78
99
|
} from './AccountCommissionByDateRangeDto';
|
|
79
|
-
import type { TimeTableConfigurationDto } from './TimeTableConfigurationDto';
|
|
80
|
-
import {
|
|
81
|
-
TimeTableConfigurationDtoFromJSON,
|
|
82
|
-
TimeTableConfigurationDtoFromJSONTyped,
|
|
83
|
-
TimeTableConfigurationDtoToJSON,
|
|
84
|
-
TimeTableConfigurationDtoToJSONTyped,
|
|
85
|
-
} from './TimeTableConfigurationDto';
|
|
86
100
|
import type { DomainLockConfigurationDto } from './DomainLockConfigurationDto';
|
|
87
101
|
import {
|
|
88
102
|
DomainLockConfigurationDtoFromJSON,
|
|
@@ -90,13 +104,6 @@ import {
|
|
|
90
104
|
DomainLockConfigurationDtoToJSON,
|
|
91
105
|
DomainLockConfigurationDtoToJSONTyped,
|
|
92
106
|
} from './DomainLockConfigurationDto';
|
|
93
|
-
import type { AccountSettingsRentConfigurationDto } from './AccountSettingsRentConfigurationDto';
|
|
94
|
-
import {
|
|
95
|
-
AccountSettingsRentConfigurationDtoFromJSON,
|
|
96
|
-
AccountSettingsRentConfigurationDtoFromJSONTyped,
|
|
97
|
-
AccountSettingsRentConfigurationDtoToJSON,
|
|
98
|
-
AccountSettingsRentConfigurationDtoToJSONTyped,
|
|
99
|
-
} from './AccountSettingsRentConfigurationDto';
|
|
100
107
|
|
|
101
108
|
/**
|
|
102
109
|
*
|
|
@@ -230,6 +237,12 @@ export interface WithSettingsInner {
|
|
|
230
237
|
* @memberof WithSettingsInner
|
|
231
238
|
*/
|
|
232
239
|
leadVerification: LeadVerificationSettingsDto;
|
|
240
|
+
/**
|
|
241
|
+
* Brokerage settings: whether the account works as a broker.
|
|
242
|
+
* @type {AccountSettingsBrokerDto}
|
|
243
|
+
* @memberof WithSettingsInner
|
|
244
|
+
*/
|
|
245
|
+
broker: AccountSettingsBrokerDto;
|
|
233
246
|
}
|
|
234
247
|
|
|
235
248
|
/**
|
|
@@ -257,6 +270,7 @@ export function instanceOfWithSettingsInner(value: object): value is WithSetting
|
|
|
257
270
|
if (!('domainLockConfiguration' in value) || value['domainLockConfiguration'] === undefined) return false;
|
|
258
271
|
if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined) return false;
|
|
259
272
|
if (!('leadVerification' in value) || value['leadVerification'] === undefined) return false;
|
|
273
|
+
if (!('broker' in value) || value['broker'] === undefined) return false;
|
|
260
274
|
return true;
|
|
261
275
|
}
|
|
262
276
|
|
|
@@ -291,6 +305,7 @@ export function WithSettingsInnerFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
291
305
|
'domainLockConfiguration': DomainLockConfigurationDtoFromJSON(json['domainLockConfiguration']),
|
|
292
306
|
'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoFromJSON(json['leadOfferExpirationConfiguration']),
|
|
293
307
|
'leadVerification': LeadVerificationSettingsDtoFromJSON(json['leadVerification']),
|
|
308
|
+
'broker': AccountSettingsBrokerDtoFromJSON(json['broker']),
|
|
294
309
|
};
|
|
295
310
|
}
|
|
296
311
|
|
|
@@ -326,6 +341,7 @@ export function WithSettingsInnerToJSONTyped(value?: WithSettingsInner | null, i
|
|
|
326
341
|
'domainLockConfiguration': DomainLockConfigurationDtoToJSON(value['domainLockConfiguration']),
|
|
327
342
|
'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoToJSON(value['leadOfferExpirationConfiguration']),
|
|
328
343
|
'leadVerification': LeadVerificationSettingsDtoToJSON(value['leadVerification']),
|
|
344
|
+
'broker': AccountSettingsBrokerDtoToJSON(value['broker']),
|
|
329
345
|
};
|
|
330
346
|
}
|
|
331
347
|
|