@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
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { BrokeredLeadCommissionDto } from './BrokeredLeadCommissionDto';
|
|
13
|
+
import type { MoneyDto } from './MoneyDto';
|
|
14
|
+
import type { MoneyDecimalDto } from './MoneyDecimalDto';
|
|
15
|
+
import type { BrokeredLeadBuyerContactDto } from './BrokeredLeadBuyerContactDto';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AdminBrokeredLeadDto
|
|
20
|
+
*/
|
|
21
|
+
export interface AdminBrokeredLeadDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AdminBrokeredLeadDto
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof AdminBrokeredLeadDto
|
|
32
|
+
*/
|
|
33
|
+
domainName: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof AdminBrokeredLeadDto
|
|
38
|
+
*/
|
|
39
|
+
status: AdminBrokeredLeadDtoStatusEnum;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {MoneyDto}
|
|
43
|
+
* @memberof AdminBrokeredLeadDto
|
|
44
|
+
*/
|
|
45
|
+
askingPrice: MoneyDto;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {BrokeredLeadCommissionDto}
|
|
49
|
+
* @memberof AdminBrokeredLeadDto
|
|
50
|
+
*/
|
|
51
|
+
commission: BrokeredLeadCommissionDto;
|
|
52
|
+
/**
|
|
53
|
+
* Nameshift platform fee charged to the broker, as a percentage of the sale price.
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof AdminBrokeredLeadDto
|
|
56
|
+
*/
|
|
57
|
+
nameshiftCommissionPercentage: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {MoneyDecimalDto}
|
|
61
|
+
* @memberof AdminBrokeredLeadDto
|
|
62
|
+
*/
|
|
63
|
+
nameshiftFee: MoneyDecimalDto;
|
|
64
|
+
/**
|
|
65
|
+
* What the broker is paid: the commission less the fee.
|
|
66
|
+
* @type {MoneyDecimalDto}
|
|
67
|
+
* @memberof AdminBrokeredLeadDto
|
|
68
|
+
*/
|
|
69
|
+
netPayout: MoneyDecimalDto;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {BrokeredLeadBuyerContactDto}
|
|
73
|
+
* @memberof AdminBrokeredLeadDto
|
|
74
|
+
*/
|
|
75
|
+
buyer: BrokeredLeadBuyerContactDto;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof AdminBrokeredLeadDto
|
|
80
|
+
*/
|
|
81
|
+
sellerEmail: string | null;
|
|
82
|
+
/**
|
|
83
|
+
* Whether the deal waits in a seller account: the one that verified the domain, or the one that took up the link.
|
|
84
|
+
* @type {boolean}
|
|
85
|
+
* @memberof AdminBrokeredLeadDto
|
|
86
|
+
*/
|
|
87
|
+
sellerLinked: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* The link for a seller who has not taken up the deal yet, while it is valid: a new seller signs up through it, one with an account takes it up.
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof AdminBrokeredLeadDto
|
|
92
|
+
*/
|
|
93
|
+
sellerSignupUrl: string | null;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {Date}
|
|
97
|
+
* @memberof AdminBrokeredLeadDto
|
|
98
|
+
*/
|
|
99
|
+
sellerSignupUrlExpiresAt: Date | null;
|
|
100
|
+
/**
|
|
101
|
+
* Where a seller with an account reviews the deal.
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @memberof AdminBrokeredLeadDto
|
|
104
|
+
*/
|
|
105
|
+
sellerReviewUrl: string | null;
|
|
106
|
+
/**
|
|
107
|
+
* Where the buyer pays, once the deal is ready for payment.
|
|
108
|
+
* @type {string}
|
|
109
|
+
* @memberof AdminBrokeredLeadDto
|
|
110
|
+
*/
|
|
111
|
+
paymentUrl: string | null;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {Date}
|
|
115
|
+
* @memberof AdminBrokeredLeadDto
|
|
116
|
+
*/
|
|
117
|
+
sellerNotifiedAt: Date | null;
|
|
118
|
+
/**
|
|
119
|
+
* When the seller can be emailed again.
|
|
120
|
+
* @type {Date}
|
|
121
|
+
* @memberof AdminBrokeredLeadDto
|
|
122
|
+
*/
|
|
123
|
+
nextSellerNotificationAt: Date | null;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {boolean}
|
|
127
|
+
* @memberof AdminBrokeredLeadDto
|
|
128
|
+
*/
|
|
129
|
+
canNotifySeller: boolean;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {Date}
|
|
133
|
+
* @memberof AdminBrokeredLeadDto
|
|
134
|
+
*/
|
|
135
|
+
buyerNotifiedAt: Date | null;
|
|
136
|
+
/**
|
|
137
|
+
* When the buyer can be emailed again.
|
|
138
|
+
* @type {Date}
|
|
139
|
+
* @memberof AdminBrokeredLeadDto
|
|
140
|
+
*/
|
|
141
|
+
nextBuyerNotificationAt: Date | null;
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @type {boolean}
|
|
145
|
+
* @memberof AdminBrokeredLeadDto
|
|
146
|
+
*/
|
|
147
|
+
canNotifyBuyer: boolean;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @type {string}
|
|
151
|
+
* @memberof AdminBrokeredLeadDto
|
|
152
|
+
*/
|
|
153
|
+
declineReason: string | null;
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* @type {Date}
|
|
157
|
+
* @memberof AdminBrokeredLeadDto
|
|
158
|
+
*/
|
|
159
|
+
createdAt: Date;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @type {Date}
|
|
163
|
+
* @memberof AdminBrokeredLeadDto
|
|
164
|
+
*/
|
|
165
|
+
updatedAt: Date;
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @type {string}
|
|
169
|
+
* @memberof AdminBrokeredLeadDto
|
|
170
|
+
*/
|
|
171
|
+
internalStatus: AdminBrokeredLeadDtoInternalStatusEnum;
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @type {string}
|
|
175
|
+
* @memberof AdminBrokeredLeadDto
|
|
176
|
+
*/
|
|
177
|
+
brokerAccountId: string;
|
|
178
|
+
/**
|
|
179
|
+
* Null once the broker deleted their account.
|
|
180
|
+
* @type {string}
|
|
181
|
+
* @memberof AdminBrokeredLeadDto
|
|
182
|
+
*/
|
|
183
|
+
brokerName: string | null;
|
|
184
|
+
/**
|
|
185
|
+
*
|
|
186
|
+
* @type {string}
|
|
187
|
+
* @memberof AdminBrokeredLeadDto
|
|
188
|
+
*/
|
|
189
|
+
sellerAccountId: string | null;
|
|
190
|
+
/**
|
|
191
|
+
*
|
|
192
|
+
* @type {string}
|
|
193
|
+
* @memberof AdminBrokeredLeadDto
|
|
194
|
+
*/
|
|
195
|
+
sellerName: string | null;
|
|
196
|
+
/**
|
|
197
|
+
*
|
|
198
|
+
* @type {string}
|
|
199
|
+
* @memberof AdminBrokeredLeadDto
|
|
200
|
+
*/
|
|
201
|
+
leadId: string | null;
|
|
202
|
+
/**
|
|
203
|
+
* Where the platform fee percentage comes from.
|
|
204
|
+
* @type {object}
|
|
205
|
+
* @memberof AdminBrokeredLeadDto
|
|
206
|
+
*/
|
|
207
|
+
nameshiftCommissionReason: object | null;
|
|
208
|
+
/**
|
|
209
|
+
* Whether the platform fee can still be overridden.
|
|
210
|
+
* @type {boolean}
|
|
211
|
+
* @memberof AdminBrokeredLeadDto
|
|
212
|
+
*/
|
|
213
|
+
nameshiftCommissionOverridable: boolean;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* @export
|
|
217
|
+
*/
|
|
218
|
+
export declare const AdminBrokeredLeadDtoStatusEnum: {
|
|
219
|
+
readonly PENDING_SELLER: "pending_seller";
|
|
220
|
+
readonly PENDING_SELLER_VERIFICATION: "pending_seller_verification";
|
|
221
|
+
readonly AWAITING_PAYMENT: "awaiting_payment";
|
|
222
|
+
readonly PAYMENT_EXPIRED: "payment_expired";
|
|
223
|
+
readonly TRANSFER_IN_PROGRESS: "transfer_in_progress";
|
|
224
|
+
readonly COMPLETED: "completed";
|
|
225
|
+
readonly CLOSED: "closed";
|
|
226
|
+
readonly DECLINED: "declined";
|
|
227
|
+
readonly CANCELLED: "cancelled";
|
|
228
|
+
};
|
|
229
|
+
export type AdminBrokeredLeadDtoStatusEnum = typeof AdminBrokeredLeadDtoStatusEnum[keyof typeof AdminBrokeredLeadDtoStatusEnum];
|
|
230
|
+
/**
|
|
231
|
+
* @export
|
|
232
|
+
*/
|
|
233
|
+
export declare const AdminBrokeredLeadDtoInternalStatusEnum: {
|
|
234
|
+
readonly PENDING_SELLER: "pending_seller";
|
|
235
|
+
readonly PENDING_SELLER_VERIFICATION: "pending_seller_verification";
|
|
236
|
+
readonly APPROVED: "approved";
|
|
237
|
+
readonly DECLINED: "declined";
|
|
238
|
+
readonly CANCELLED: "cancelled";
|
|
239
|
+
};
|
|
240
|
+
export type AdminBrokeredLeadDtoInternalStatusEnum = typeof AdminBrokeredLeadDtoInternalStatusEnum[keyof typeof AdminBrokeredLeadDtoInternalStatusEnum];
|
|
241
|
+
/**
|
|
242
|
+
* Check if a given object implements the AdminBrokeredLeadDto interface.
|
|
243
|
+
*/
|
|
244
|
+
export declare function instanceOfAdminBrokeredLeadDto(value: object): value is AdminBrokeredLeadDto;
|
|
245
|
+
export declare function AdminBrokeredLeadDtoFromJSON(json: any): AdminBrokeredLeadDto;
|
|
246
|
+
export declare function AdminBrokeredLeadDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminBrokeredLeadDto;
|
|
247
|
+
export declare function AdminBrokeredLeadDtoToJSON(json: any): AdminBrokeredLeadDto;
|
|
248
|
+
export declare function AdminBrokeredLeadDtoToJSONTyped(value?: AdminBrokeredLeadDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.AdminBrokeredLeadDtoInternalStatusEnum = exports.AdminBrokeredLeadDtoStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfAdminBrokeredLeadDto = instanceOfAdminBrokeredLeadDto;
|
|
18
|
+
exports.AdminBrokeredLeadDtoFromJSON = AdminBrokeredLeadDtoFromJSON;
|
|
19
|
+
exports.AdminBrokeredLeadDtoFromJSONTyped = AdminBrokeredLeadDtoFromJSONTyped;
|
|
20
|
+
exports.AdminBrokeredLeadDtoToJSON = AdminBrokeredLeadDtoToJSON;
|
|
21
|
+
exports.AdminBrokeredLeadDtoToJSONTyped = AdminBrokeredLeadDtoToJSONTyped;
|
|
22
|
+
var BrokeredLeadCommissionDto_1 = require("./BrokeredLeadCommissionDto");
|
|
23
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
24
|
+
var MoneyDecimalDto_1 = require("./MoneyDecimalDto");
|
|
25
|
+
var BrokeredLeadBuyerContactDto_1 = require("./BrokeredLeadBuyerContactDto");
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
exports.AdminBrokeredLeadDtoStatusEnum = {
|
|
30
|
+
PENDING_SELLER: 'pending_seller',
|
|
31
|
+
PENDING_SELLER_VERIFICATION: 'pending_seller_verification',
|
|
32
|
+
AWAITING_PAYMENT: 'awaiting_payment',
|
|
33
|
+
PAYMENT_EXPIRED: 'payment_expired',
|
|
34
|
+
TRANSFER_IN_PROGRESS: 'transfer_in_progress',
|
|
35
|
+
COMPLETED: 'completed',
|
|
36
|
+
CLOSED: 'closed',
|
|
37
|
+
DECLINED: 'declined',
|
|
38
|
+
CANCELLED: 'cancelled'
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* @export
|
|
42
|
+
*/
|
|
43
|
+
exports.AdminBrokeredLeadDtoInternalStatusEnum = {
|
|
44
|
+
PENDING_SELLER: 'pending_seller',
|
|
45
|
+
PENDING_SELLER_VERIFICATION: 'pending_seller_verification',
|
|
46
|
+
APPROVED: 'approved',
|
|
47
|
+
DECLINED: 'declined',
|
|
48
|
+
CANCELLED: 'cancelled'
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the AdminBrokeredLeadDto interface.
|
|
52
|
+
*/
|
|
53
|
+
function instanceOfAdminBrokeredLeadDto(value) {
|
|
54
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('domainName' in value) || value['domainName'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
if (!('askingPrice' in value) || value['askingPrice'] === undefined)
|
|
61
|
+
return false;
|
|
62
|
+
if (!('commission' in value) || value['commission'] === undefined)
|
|
63
|
+
return false;
|
|
64
|
+
if (!('nameshiftCommissionPercentage' in value) || value['nameshiftCommissionPercentage'] === undefined)
|
|
65
|
+
return false;
|
|
66
|
+
if (!('nameshiftFee' in value) || value['nameshiftFee'] === undefined)
|
|
67
|
+
return false;
|
|
68
|
+
if (!('netPayout' in value) || value['netPayout'] === undefined)
|
|
69
|
+
return false;
|
|
70
|
+
if (!('buyer' in value) || value['buyer'] === undefined)
|
|
71
|
+
return false;
|
|
72
|
+
if (!('sellerEmail' in value) || value['sellerEmail'] === undefined)
|
|
73
|
+
return false;
|
|
74
|
+
if (!('sellerLinked' in value) || value['sellerLinked'] === undefined)
|
|
75
|
+
return false;
|
|
76
|
+
if (!('sellerSignupUrl' in value) || value['sellerSignupUrl'] === undefined)
|
|
77
|
+
return false;
|
|
78
|
+
if (!('sellerSignupUrlExpiresAt' in value) || value['sellerSignupUrlExpiresAt'] === undefined)
|
|
79
|
+
return false;
|
|
80
|
+
if (!('sellerReviewUrl' in value) || value['sellerReviewUrl'] === undefined)
|
|
81
|
+
return false;
|
|
82
|
+
if (!('paymentUrl' in value) || value['paymentUrl'] === undefined)
|
|
83
|
+
return false;
|
|
84
|
+
if (!('sellerNotifiedAt' in value) || value['sellerNotifiedAt'] === undefined)
|
|
85
|
+
return false;
|
|
86
|
+
if (!('nextSellerNotificationAt' in value) || value['nextSellerNotificationAt'] === undefined)
|
|
87
|
+
return false;
|
|
88
|
+
if (!('canNotifySeller' in value) || value['canNotifySeller'] === undefined)
|
|
89
|
+
return false;
|
|
90
|
+
if (!('buyerNotifiedAt' in value) || value['buyerNotifiedAt'] === undefined)
|
|
91
|
+
return false;
|
|
92
|
+
if (!('nextBuyerNotificationAt' in value) || value['nextBuyerNotificationAt'] === undefined)
|
|
93
|
+
return false;
|
|
94
|
+
if (!('canNotifyBuyer' in value) || value['canNotifyBuyer'] === undefined)
|
|
95
|
+
return false;
|
|
96
|
+
if (!('declineReason' in value) || value['declineReason'] === undefined)
|
|
97
|
+
return false;
|
|
98
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
99
|
+
return false;
|
|
100
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
101
|
+
return false;
|
|
102
|
+
if (!('internalStatus' in value) || value['internalStatus'] === undefined)
|
|
103
|
+
return false;
|
|
104
|
+
if (!('brokerAccountId' in value) || value['brokerAccountId'] === undefined)
|
|
105
|
+
return false;
|
|
106
|
+
if (!('brokerName' in value) || value['brokerName'] === undefined)
|
|
107
|
+
return false;
|
|
108
|
+
if (!('sellerAccountId' in value) || value['sellerAccountId'] === undefined)
|
|
109
|
+
return false;
|
|
110
|
+
if (!('sellerName' in value) || value['sellerName'] === undefined)
|
|
111
|
+
return false;
|
|
112
|
+
if (!('leadId' in value) || value['leadId'] === undefined)
|
|
113
|
+
return false;
|
|
114
|
+
if (!('nameshiftCommissionReason' in value) || value['nameshiftCommissionReason'] === undefined)
|
|
115
|
+
return false;
|
|
116
|
+
if (!('nameshiftCommissionOverridable' in value) || value['nameshiftCommissionOverridable'] === undefined)
|
|
117
|
+
return false;
|
|
118
|
+
return true;
|
|
119
|
+
}
|
|
120
|
+
function AdminBrokeredLeadDtoFromJSON(json) {
|
|
121
|
+
return AdminBrokeredLeadDtoFromJSONTyped(json, false);
|
|
122
|
+
}
|
|
123
|
+
function AdminBrokeredLeadDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
124
|
+
if (json == null) {
|
|
125
|
+
return json;
|
|
126
|
+
}
|
|
127
|
+
return {
|
|
128
|
+
'id': json['id'],
|
|
129
|
+
'domainName': json['domainName'],
|
|
130
|
+
'status': json['status'],
|
|
131
|
+
'askingPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['askingPrice']),
|
|
132
|
+
'commission': (0, BrokeredLeadCommissionDto_1.BrokeredLeadCommissionDtoFromJSON)(json['commission']),
|
|
133
|
+
'nameshiftCommissionPercentage': json['nameshiftCommissionPercentage'],
|
|
134
|
+
'nameshiftFee': (0, MoneyDecimalDto_1.MoneyDecimalDtoFromJSON)(json['nameshiftFee']),
|
|
135
|
+
'netPayout': (0, MoneyDecimalDto_1.MoneyDecimalDtoFromJSON)(json['netPayout']),
|
|
136
|
+
'buyer': (0, BrokeredLeadBuyerContactDto_1.BrokeredLeadBuyerContactDtoFromJSON)(json['buyer']),
|
|
137
|
+
'sellerEmail': json['sellerEmail'],
|
|
138
|
+
'sellerLinked': json['sellerLinked'],
|
|
139
|
+
'sellerSignupUrl': json['sellerSignupUrl'],
|
|
140
|
+
'sellerSignupUrlExpiresAt': (json['sellerSignupUrlExpiresAt'] == null ? null : new Date(json['sellerSignupUrlExpiresAt'])),
|
|
141
|
+
'sellerReviewUrl': json['sellerReviewUrl'],
|
|
142
|
+
'paymentUrl': json['paymentUrl'],
|
|
143
|
+
'sellerNotifiedAt': (json['sellerNotifiedAt'] == null ? null : new Date(json['sellerNotifiedAt'])),
|
|
144
|
+
'nextSellerNotificationAt': (json['nextSellerNotificationAt'] == null ? null : new Date(json['nextSellerNotificationAt'])),
|
|
145
|
+
'canNotifySeller': json['canNotifySeller'],
|
|
146
|
+
'buyerNotifiedAt': (json['buyerNotifiedAt'] == null ? null : new Date(json['buyerNotifiedAt'])),
|
|
147
|
+
'nextBuyerNotificationAt': (json['nextBuyerNotificationAt'] == null ? null : new Date(json['nextBuyerNotificationAt'])),
|
|
148
|
+
'canNotifyBuyer': json['canNotifyBuyer'],
|
|
149
|
+
'declineReason': json['declineReason'],
|
|
150
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
151
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
152
|
+
'internalStatus': json['internalStatus'],
|
|
153
|
+
'brokerAccountId': json['brokerAccountId'],
|
|
154
|
+
'brokerName': json['brokerName'],
|
|
155
|
+
'sellerAccountId': json['sellerAccountId'],
|
|
156
|
+
'sellerName': json['sellerName'],
|
|
157
|
+
'leadId': json['leadId'],
|
|
158
|
+
'nameshiftCommissionReason': json['nameshiftCommissionReason'],
|
|
159
|
+
'nameshiftCommissionOverridable': json['nameshiftCommissionOverridable'],
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
function AdminBrokeredLeadDtoToJSON(json) {
|
|
163
|
+
return AdminBrokeredLeadDtoToJSONTyped(json, false);
|
|
164
|
+
}
|
|
165
|
+
function AdminBrokeredLeadDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
166
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
167
|
+
if (value == null) {
|
|
168
|
+
return value;
|
|
169
|
+
}
|
|
170
|
+
return {
|
|
171
|
+
'id': value['id'],
|
|
172
|
+
'domainName': value['domainName'],
|
|
173
|
+
'status': value['status'],
|
|
174
|
+
'askingPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['askingPrice']),
|
|
175
|
+
'commission': (0, BrokeredLeadCommissionDto_1.BrokeredLeadCommissionDtoToJSON)(value['commission']),
|
|
176
|
+
'nameshiftCommissionPercentage': value['nameshiftCommissionPercentage'],
|
|
177
|
+
'nameshiftFee': (0, MoneyDecimalDto_1.MoneyDecimalDtoToJSON)(value['nameshiftFee']),
|
|
178
|
+
'netPayout': (0, MoneyDecimalDto_1.MoneyDecimalDtoToJSON)(value['netPayout']),
|
|
179
|
+
'buyer': (0, BrokeredLeadBuyerContactDto_1.BrokeredLeadBuyerContactDtoToJSON)(value['buyer']),
|
|
180
|
+
'sellerEmail': value['sellerEmail'],
|
|
181
|
+
'sellerLinked': value['sellerLinked'],
|
|
182
|
+
'sellerSignupUrl': value['sellerSignupUrl'],
|
|
183
|
+
'sellerSignupUrlExpiresAt': (value['sellerSignupUrlExpiresAt'] == null ? null : value['sellerSignupUrlExpiresAt'].toISOString()),
|
|
184
|
+
'sellerReviewUrl': value['sellerReviewUrl'],
|
|
185
|
+
'paymentUrl': value['paymentUrl'],
|
|
186
|
+
'sellerNotifiedAt': (value['sellerNotifiedAt'] == null ? null : value['sellerNotifiedAt'].toISOString()),
|
|
187
|
+
'nextSellerNotificationAt': (value['nextSellerNotificationAt'] == null ? null : value['nextSellerNotificationAt'].toISOString()),
|
|
188
|
+
'canNotifySeller': value['canNotifySeller'],
|
|
189
|
+
'buyerNotifiedAt': (value['buyerNotifiedAt'] == null ? null : value['buyerNotifiedAt'].toISOString()),
|
|
190
|
+
'nextBuyerNotificationAt': (value['nextBuyerNotificationAt'] == null ? null : value['nextBuyerNotificationAt'].toISOString()),
|
|
191
|
+
'canNotifyBuyer': value['canNotifyBuyer'],
|
|
192
|
+
'declineReason': value['declineReason'],
|
|
193
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
194
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
195
|
+
'internalStatus': value['internalStatus'],
|
|
196
|
+
'brokerAccountId': value['brokerAccountId'],
|
|
197
|
+
'brokerName': value['brokerName'],
|
|
198
|
+
'sellerAccountId': value['sellerAccountId'],
|
|
199
|
+
'sellerName': value['sellerName'],
|
|
200
|
+
'leadId': value['leadId'],
|
|
201
|
+
'nameshiftCommissionReason': value['nameshiftCommissionReason'],
|
|
202
|
+
'nameshiftCommissionOverridable': value['nameshiftCommissionOverridable'],
|
|
203
|
+
};
|
|
204
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
13
|
+
import type { AdminBrokeredLeadDto } from './AdminBrokeredLeadDto';
|
|
14
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface AdminListBrokeredLeads200Response
|
|
19
|
+
*/
|
|
20
|
+
export interface AdminListBrokeredLeads200Response {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<AdminBrokeredLeadDto>}
|
|
24
|
+
* @memberof AdminListBrokeredLeads200Response
|
|
25
|
+
*/
|
|
26
|
+
data: Array<AdminBrokeredLeadDto>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {PaginateResponseMeta}
|
|
30
|
+
* @memberof AdminListBrokeredLeads200Response
|
|
31
|
+
*/
|
|
32
|
+
meta: PaginateResponseMeta;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PaginateResponseLinks}
|
|
36
|
+
* @memberof AdminListBrokeredLeads200Response
|
|
37
|
+
*/
|
|
38
|
+
links: PaginateResponseLinks;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the AdminListBrokeredLeads200Response interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfAdminListBrokeredLeads200Response(value: object): value is AdminListBrokeredLeads200Response;
|
|
44
|
+
export declare function AdminListBrokeredLeads200ResponseFromJSON(json: any): AdminListBrokeredLeads200Response;
|
|
45
|
+
export declare function AdminListBrokeredLeads200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminListBrokeredLeads200Response;
|
|
46
|
+
export declare function AdminListBrokeredLeads200ResponseToJSON(json: any): AdminListBrokeredLeads200Response;
|
|
47
|
+
export declare function AdminListBrokeredLeads200ResponseToJSONTyped(value?: AdminListBrokeredLeads200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAdminListBrokeredLeads200Response = instanceOfAdminListBrokeredLeads200Response;
|
|
17
|
+
exports.AdminListBrokeredLeads200ResponseFromJSON = AdminListBrokeredLeads200ResponseFromJSON;
|
|
18
|
+
exports.AdminListBrokeredLeads200ResponseFromJSONTyped = AdminListBrokeredLeads200ResponseFromJSONTyped;
|
|
19
|
+
exports.AdminListBrokeredLeads200ResponseToJSON = AdminListBrokeredLeads200ResponseToJSON;
|
|
20
|
+
exports.AdminListBrokeredLeads200ResponseToJSONTyped = AdminListBrokeredLeads200ResponseToJSONTyped;
|
|
21
|
+
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
22
|
+
var AdminBrokeredLeadDto_1 = require("./AdminBrokeredLeadDto");
|
|
23
|
+
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the AdminListBrokeredLeads200Response interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfAdminListBrokeredLeads200Response(value) {
|
|
28
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('links' in value) || value['links'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function AdminListBrokeredLeads200ResponseFromJSON(json) {
|
|
37
|
+
return AdminListBrokeredLeads200ResponseFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function AdminListBrokeredLeads200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'data': (json['data'].map(AdminBrokeredLeadDto_1.AdminBrokeredLeadDtoFromJSON)),
|
|
45
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
46
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function AdminListBrokeredLeads200ResponseToJSON(json) {
|
|
50
|
+
return AdminListBrokeredLeads200ResponseToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function AdminListBrokeredLeads200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'data': (value['data'].map(AdminBrokeredLeadDto_1.AdminBrokeredLeadDtoToJSON)),
|
|
59
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
60
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -75,6 +75,8 @@ export declare const ApiKeyDtoScopeEnum: {
|
|
|
75
75
|
readonly TRANSFERS_WRITE: "TRANSFERS_WRITE";
|
|
76
76
|
readonly LEADS_READ: "LEADS_READ";
|
|
77
77
|
readonly LEADS_WRITE: "LEADS_WRITE";
|
|
78
|
+
readonly BROKERED_LEADS_READ: "BROKERED_LEADS_READ";
|
|
79
|
+
readonly BROKERED_LEADS_WRITE: "BROKERED_LEADS_WRITE";
|
|
78
80
|
readonly AUCTIONS_READ: "AUCTIONS_READ";
|
|
79
81
|
readonly AUCTIONS_WRITE: "AUCTIONS_WRITE";
|
|
80
82
|
readonly STATS_READ: "STATS_READ";
|
package/dist/models/ApiKeyDto.js
CHANGED
|
@@ -36,6 +36,8 @@ exports.ApiKeyDtoScopeEnum = {
|
|
|
36
36
|
TRANSFERS_WRITE: 'TRANSFERS_WRITE',
|
|
37
37
|
LEADS_READ: 'LEADS_READ',
|
|
38
38
|
LEADS_WRITE: 'LEADS_WRITE',
|
|
39
|
+
BROKERED_LEADS_READ: 'BROKERED_LEADS_READ',
|
|
40
|
+
BROKERED_LEADS_WRITE: 'BROKERED_LEADS_WRITE',
|
|
39
41
|
AUCTIONS_READ: 'AUCTIONS_READ',
|
|
40
42
|
AUCTIONS_WRITE: 'AUCTIONS_WRITE',
|
|
41
43
|
STATS_READ: 'STATS_READ',
|
|
@@ -51,6 +51,8 @@ export declare const ApiKeyScopeDtoScopeEnum: {
|
|
|
51
51
|
readonly TRANSFERS_WRITE: "TRANSFERS_WRITE";
|
|
52
52
|
readonly LEADS_READ: "LEADS_READ";
|
|
53
53
|
readonly LEADS_WRITE: "LEADS_WRITE";
|
|
54
|
+
readonly BROKERED_LEADS_READ: "BROKERED_LEADS_READ";
|
|
55
|
+
readonly BROKERED_LEADS_WRITE: "BROKERED_LEADS_WRITE";
|
|
54
56
|
readonly AUCTIONS_READ: "AUCTIONS_READ";
|
|
55
57
|
readonly AUCTIONS_WRITE: "AUCTIONS_WRITE";
|
|
56
58
|
readonly STATS_READ: "STATS_READ";
|
|
@@ -36,6 +36,8 @@ exports.ApiKeyScopeDtoScopeEnum = {
|
|
|
36
36
|
TRANSFERS_WRITE: 'TRANSFERS_WRITE',
|
|
37
37
|
LEADS_READ: 'LEADS_READ',
|
|
38
38
|
LEADS_WRITE: 'LEADS_WRITE',
|
|
39
|
+
BROKERED_LEADS_READ: 'BROKERED_LEADS_READ',
|
|
40
|
+
BROKERED_LEADS_WRITE: 'BROKERED_LEADS_WRITE',
|
|
39
41
|
AUCTIONS_READ: 'AUCTIONS_READ',
|
|
40
42
|
AUCTIONS_WRITE: 'AUCTIONS_WRITE',
|
|
41
43
|
STATS_READ: 'STATS_READ',
|