@randock/nameshift-api-client 0.0.537 → 0.0.539
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 +6 -0
- package/dist/models/AccountDto.js +4 -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/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 +7 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +5 -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/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 +13 -0
- package/dist/models/PrivateAccountGetMeResponse.js +9 -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/TaskListDomainDto.d.ts +7 -0
- package/dist/models/TaskListDomainDto.js +5 -0
- package/dist/models/TaskListLeadDto.d.ts +16 -0
- package/dist/models/TaskListLeadDto.js +14 -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 +9 -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/DeclineBrokeredLeadInput.ts +65 -0
- package/src/models/FeatureFlagListItemDto.ts +1 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +10 -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/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 +19 -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/TaskListDomainDto.ts +17 -0
- package/src/models/TaskListLeadDto.ts +20 -0
- 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
|
@@ -35,7 +35,8 @@ exports.CommissionSimulationItemInputSubtypeEnum = {
|
|
|
35
35
|
NOT_POINTING: 'not_pointing',
|
|
36
36
|
ROUTED: 'routed',
|
|
37
37
|
MANUAL_LEAD: 'manual_lead',
|
|
38
|
-
AUCTION: 'auction'
|
|
38
|
+
AUCTION: 'auction',
|
|
39
|
+
BROKERED_LEAD: 'brokered_lead'
|
|
39
40
|
};
|
|
40
41
|
/**
|
|
41
42
|
* Check if a given object implements the CommissionSimulationItemInput interface.
|
|
@@ -51,6 +51,8 @@ export declare const CreateApiKeyInputScopeEnum: {
|
|
|
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.CreateApiKeyInputScopeEnum = {
|
|
|
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',
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { BrokeredLeadBuyerInput } from './BrokeredLeadBuyerInput';
|
|
13
|
+
import type { MoneyDto } from './MoneyDto';
|
|
14
|
+
import type { BrokerCommissionInput } from './BrokerCommissionInput';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface CreateBrokeredLeadInput
|
|
19
|
+
*/
|
|
20
|
+
export interface CreateBrokeredLeadInput {
|
|
21
|
+
/**
|
|
22
|
+
* Domain being sold.
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof CreateBrokeredLeadInput
|
|
25
|
+
*/
|
|
26
|
+
domainName: string;
|
|
27
|
+
/**
|
|
28
|
+
* Agreed sale price, excluding any broker commission.
|
|
29
|
+
* @type {MoneyDto}
|
|
30
|
+
* @memberof CreateBrokeredLeadInput
|
|
31
|
+
*/
|
|
32
|
+
askingPrice: MoneyDto;
|
|
33
|
+
/**
|
|
34
|
+
* Broker commission, split between the buyer and the seller.
|
|
35
|
+
* @type {BrokerCommissionInput}
|
|
36
|
+
* @memberof CreateBrokeredLeadInput
|
|
37
|
+
*/
|
|
38
|
+
commission: BrokerCommissionInput;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {BrokeredLeadBuyerInput}
|
|
42
|
+
* @memberof CreateBrokeredLeadInput
|
|
43
|
+
*/
|
|
44
|
+
buyer: BrokeredLeadBuyerInput;
|
|
45
|
+
/**
|
|
46
|
+
* Seller email, needed to email the seller their link. Not used when the deal goes straight to the account that verified the domain.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof CreateBrokeredLeadInput
|
|
49
|
+
*/
|
|
50
|
+
sellerEmail?: string | null;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the CreateBrokeredLeadInput interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfCreateBrokeredLeadInput(value: object): value is CreateBrokeredLeadInput;
|
|
56
|
+
export declare function CreateBrokeredLeadInputFromJSON(json: any): CreateBrokeredLeadInput;
|
|
57
|
+
export declare function CreateBrokeredLeadInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBrokeredLeadInput;
|
|
58
|
+
export declare function CreateBrokeredLeadInputToJSON(json: any): CreateBrokeredLeadInput;
|
|
59
|
+
export declare function CreateBrokeredLeadInputToJSONTyped(value?: CreateBrokeredLeadInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
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.instanceOfCreateBrokeredLeadInput = instanceOfCreateBrokeredLeadInput;
|
|
17
|
+
exports.CreateBrokeredLeadInputFromJSON = CreateBrokeredLeadInputFromJSON;
|
|
18
|
+
exports.CreateBrokeredLeadInputFromJSONTyped = CreateBrokeredLeadInputFromJSONTyped;
|
|
19
|
+
exports.CreateBrokeredLeadInputToJSON = CreateBrokeredLeadInputToJSON;
|
|
20
|
+
exports.CreateBrokeredLeadInputToJSONTyped = CreateBrokeredLeadInputToJSONTyped;
|
|
21
|
+
var BrokeredLeadBuyerInput_1 = require("./BrokeredLeadBuyerInput");
|
|
22
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
23
|
+
var BrokerCommissionInput_1 = require("./BrokerCommissionInput");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the CreateBrokeredLeadInput interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfCreateBrokeredLeadInput(value) {
|
|
28
|
+
if (!('domainName' in value) || value['domainName'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('askingPrice' in value) || value['askingPrice'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('commission' in value) || value['commission'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('buyer' in value) || value['buyer'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function CreateBrokeredLeadInputFromJSON(json) {
|
|
39
|
+
return CreateBrokeredLeadInputFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function CreateBrokeredLeadInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'domainName': json['domainName'],
|
|
47
|
+
'askingPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['askingPrice']),
|
|
48
|
+
'commission': (0, BrokerCommissionInput_1.BrokerCommissionInputFromJSON)(json['commission']),
|
|
49
|
+
'buyer': (0, BrokeredLeadBuyerInput_1.BrokeredLeadBuyerInputFromJSON)(json['buyer']),
|
|
50
|
+
'sellerEmail': json['sellerEmail'] == null ? undefined : json['sellerEmail'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function CreateBrokeredLeadInputToJSON(json) {
|
|
54
|
+
return CreateBrokeredLeadInputToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function CreateBrokeredLeadInputToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'domainName': value['domainName'],
|
|
63
|
+
'askingPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['askingPrice']),
|
|
64
|
+
'commission': (0, BrokerCommissionInput_1.BrokerCommissionInputToJSON)(value['commission']),
|
|
65
|
+
'buyer': (0, BrokeredLeadBuyerInput_1.BrokeredLeadBuyerInputToJSON)(value['buyer']),
|
|
66
|
+
'sellerEmail': value['sellerEmail'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -81,6 +81,8 @@ export declare const CreatedApiKeyDtoScopeEnum: {
|
|
|
81
81
|
readonly TRANSFERS_WRITE: "TRANSFERS_WRITE";
|
|
82
82
|
readonly LEADS_READ: "LEADS_READ";
|
|
83
83
|
readonly LEADS_WRITE: "LEADS_WRITE";
|
|
84
|
+
readonly BROKERED_LEADS_READ: "BROKERED_LEADS_READ";
|
|
85
|
+
readonly BROKERED_LEADS_WRITE: "BROKERED_LEADS_WRITE";
|
|
84
86
|
readonly AUCTIONS_READ: "AUCTIONS_READ";
|
|
85
87
|
readonly AUCTIONS_WRITE: "AUCTIONS_WRITE";
|
|
86
88
|
readonly STATS_READ: "STATS_READ";
|
|
@@ -36,6 +36,8 @@ exports.CreatedApiKeyDtoScopeEnum = {
|
|
|
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',
|
|
@@ -116,6 +116,12 @@ export interface CustomerSuccessListAccountDto {
|
|
|
116
116
|
* @memberof CustomerSuccessListAccountDto
|
|
117
117
|
*/
|
|
118
118
|
onboardingStatus: CustomerSuccessListAccountDtoOnboardingStatusEnum;
|
|
119
|
+
/**
|
|
120
|
+
* When the onboarding first finished.
|
|
121
|
+
* @type {Date}
|
|
122
|
+
* @memberof CustomerSuccessListAccountDto
|
|
123
|
+
*/
|
|
124
|
+
onboardingFinishedAt: Date | null;
|
|
119
125
|
/**
|
|
120
126
|
* Payout provider.
|
|
121
127
|
* @type {string}
|
|
@@ -97,6 +97,8 @@ function instanceOfCustomerSuccessListAccountDto(value) {
|
|
|
97
97
|
return false;
|
|
98
98
|
if (!('onboardingStatus' in value) || value['onboardingStatus'] === undefined)
|
|
99
99
|
return false;
|
|
100
|
+
if (!('onboardingFinishedAt' in value) || value['onboardingFinishedAt'] === undefined)
|
|
101
|
+
return false;
|
|
100
102
|
if (!('payoutProvider' in value) || value['payoutProvider'] === undefined)
|
|
101
103
|
return false;
|
|
102
104
|
if (!('affiliateId' in value) || value['affiliateId'] === undefined)
|
|
@@ -137,6 +139,7 @@ function CustomerSuccessListAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
137
139
|
'users': (json['users'].map(CustomerSuccessListAccountUserDto_1.CustomerSuccessListAccountUserDtoFromJSON)),
|
|
138
140
|
'onboardingProvider': json['onboardingProvider'],
|
|
139
141
|
'onboardingStatus': json['onboardingStatus'],
|
|
142
|
+
'onboardingFinishedAt': (json['onboardingFinishedAt'] == null ? null : new Date(json['onboardingFinishedAt'])),
|
|
140
143
|
'payoutProvider': json['payoutProvider'],
|
|
141
144
|
'affiliateId': json['affiliateId'],
|
|
142
145
|
'portfolioSize': (0, CustomerSuccessListAccountPortfolioSizeDto_1.CustomerSuccessListAccountPortfolioSizeDtoFromJSON)(json['portfolioSize']),
|
|
@@ -171,6 +174,7 @@ function CustomerSuccessListAccountDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
171
174
|
'users': (value['users'].map(CustomerSuccessListAccountUserDto_1.CustomerSuccessListAccountUserDtoToJSON)),
|
|
172
175
|
'onboardingProvider': value['onboardingProvider'],
|
|
173
176
|
'onboardingStatus': value['onboardingStatus'],
|
|
177
|
+
'onboardingFinishedAt': (value['onboardingFinishedAt'] == null ? null : value['onboardingFinishedAt'].toISOString()),
|
|
174
178
|
'payoutProvider': value['payoutProvider'],
|
|
175
179
|
'affiliateId': value['affiliateId'],
|
|
176
180
|
'portfolioSize': (0, CustomerSuccessListAccountPortfolioSizeDto_1.CustomerSuccessListAccountPortfolioSizeDtoToJSON)(value['portfolioSize']),
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DeclineBrokeredLeadInput
|
|
16
|
+
*/
|
|
17
|
+
export interface DeclineBrokeredLeadInput {
|
|
18
|
+
/**
|
|
19
|
+
* Why the seller declines; shared with the broker.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DeclineBrokeredLeadInput
|
|
22
|
+
*/
|
|
23
|
+
reason?: string | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the DeclineBrokeredLeadInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfDeclineBrokeredLeadInput(value: object): value is DeclineBrokeredLeadInput;
|
|
29
|
+
export declare function DeclineBrokeredLeadInputFromJSON(json: any): DeclineBrokeredLeadInput;
|
|
30
|
+
export declare function DeclineBrokeredLeadInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeclineBrokeredLeadInput;
|
|
31
|
+
export declare function DeclineBrokeredLeadInputToJSON(json: any): DeclineBrokeredLeadInput;
|
|
32
|
+
export declare function DeclineBrokeredLeadInputToJSONTyped(value?: DeclineBrokeredLeadInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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.instanceOfDeclineBrokeredLeadInput = instanceOfDeclineBrokeredLeadInput;
|
|
17
|
+
exports.DeclineBrokeredLeadInputFromJSON = DeclineBrokeredLeadInputFromJSON;
|
|
18
|
+
exports.DeclineBrokeredLeadInputFromJSONTyped = DeclineBrokeredLeadInputFromJSONTyped;
|
|
19
|
+
exports.DeclineBrokeredLeadInputToJSON = DeclineBrokeredLeadInputToJSON;
|
|
20
|
+
exports.DeclineBrokeredLeadInputToJSONTyped = DeclineBrokeredLeadInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DeclineBrokeredLeadInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDeclineBrokeredLeadInput(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function DeclineBrokeredLeadInputFromJSON(json) {
|
|
28
|
+
return DeclineBrokeredLeadInputFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function DeclineBrokeredLeadInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function DeclineBrokeredLeadInputToJSON(json) {
|
|
39
|
+
return DeclineBrokeredLeadInputToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function DeclineBrokeredLeadInputToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'reason': value['reason'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -93,6 +93,7 @@ export declare const FeatureFlagListItemDtoNameEnum: {
|
|
|
93
93
|
readonly LEAD_ENRICHMENT: "LEAD_ENRICHMENT";
|
|
94
94
|
readonly LEAD_CREATION_RECAPTCHA: "LEAD_CREATION_RECAPTCHA";
|
|
95
95
|
readonly DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: "DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU";
|
|
96
|
+
readonly BROKER_PROGRAM: "BROKER_PROGRAM";
|
|
96
97
|
readonly DOMAIN_APPRAISAL: "DOMAIN_APPRAISAL";
|
|
97
98
|
readonly BANK_ACCOUNT_NAME_CHECK: "BANK_ACCOUNT_NAME_CHECK";
|
|
98
99
|
readonly MFA_ENFORCED_FOR_STAFF: "MFA_ENFORCED_FOR_STAFF";
|
|
@@ -54,6 +54,7 @@ exports.FeatureFlagListItemDtoNameEnum = {
|
|
|
54
54
|
LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
|
|
55
55
|
LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
|
|
56
56
|
DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
|
|
57
|
+
BROKER_PROGRAM: 'BROKER_PROGRAM',
|
|
57
58
|
DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
|
|
58
59
|
BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
|
|
59
60
|
MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF',
|
|
@@ -82,6 +82,12 @@ export interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFe
|
|
|
82
82
|
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
83
83
|
*/
|
|
84
84
|
canSell: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Whether the account can bring in brokered deals: brokerage is switched on and the account is verified.
|
|
87
|
+
* @type {boolean}
|
|
88
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
89
|
+
*/
|
|
90
|
+
canBroker: boolean;
|
|
85
91
|
/**
|
|
86
92
|
* Account settings.
|
|
87
93
|
* @type {WithSettingsInner}
|
|
@@ -136,6 +142,7 @@ export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWi
|
|
|
136
142
|
readonly LEAD_ENRICHMENT: "LEAD_ENRICHMENT";
|
|
137
143
|
readonly LEAD_CREATION_RECAPTCHA: "LEAD_CREATION_RECAPTCHA";
|
|
138
144
|
readonly DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: "DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU";
|
|
145
|
+
readonly BROKER_PROGRAM: "BROKER_PROGRAM";
|
|
139
146
|
readonly DOMAIN_APPRAISAL: "DOMAIN_APPRAISAL";
|
|
140
147
|
readonly BANK_ACCOUNT_NAME_CHECK: "BANK_ACCOUNT_NAME_CHECK";
|
|
141
148
|
readonly MFA_ENFORCED_FOR_STAFF: "MFA_ENFORCED_FOR_STAFF";
|
package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js
CHANGED
|
@@ -61,6 +61,7 @@ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlag
|
|
|
61
61
|
LEAD_ENRICHMENT: 'LEAD_ENRICHMENT',
|
|
62
62
|
LEAD_CREATION_RECAPTCHA: 'LEAD_CREATION_RECAPTCHA',
|
|
63
63
|
DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU: 'DOMAIN_TRANSFER_HOLDER_CHANGE_FORM_SE_NU',
|
|
64
|
+
BROKER_PROGRAM: 'BROKER_PROGRAM',
|
|
64
65
|
DOMAIN_APPRAISAL: 'DOMAIN_APPRAISAL',
|
|
65
66
|
BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
|
|
66
67
|
MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF',
|
|
@@ -90,6 +91,8 @@ function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWith
|
|
|
90
91
|
return false;
|
|
91
92
|
if (!('canSell' in value) || value['canSell'] === undefined)
|
|
92
93
|
return false;
|
|
94
|
+
if (!('canBroker' in value) || value['canBroker'] === undefined)
|
|
95
|
+
return false;
|
|
93
96
|
if (!('settings' in value) || value['settings'] === undefined)
|
|
94
97
|
return false;
|
|
95
98
|
if (!('notifications' in value) || value['notifications'] === undefined)
|
|
@@ -116,6 +119,7 @@ function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFla
|
|
|
116
119
|
'leaseToOwnKickbackPercentage': json['leaseToOwnKickbackPercentage'],
|
|
117
120
|
'challengeRewardBalance': (0, ChallengeRewardBalanceDto_1.ChallengeRewardBalanceDtoFromJSON)(json['challengeRewardBalance']),
|
|
118
121
|
'canSell': json['canSell'],
|
|
122
|
+
'canBroker': json['canBroker'],
|
|
119
123
|
'settings': (0, WithSettingsInner_1.WithSettingsInnerFromJSON)(json['settings']),
|
|
120
124
|
'notifications': (json['notifications'].map(AccountNotificationDto_1.AccountNotificationDtoFromJSON)),
|
|
121
125
|
'enabledFeatures': json['enabledFeatures'],
|
|
@@ -140,6 +144,7 @@ function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFla
|
|
|
140
144
|
'leaseToOwnKickbackPercentage': value['leaseToOwnKickbackPercentage'],
|
|
141
145
|
'challengeRewardBalance': (0, ChallengeRewardBalanceDto_1.ChallengeRewardBalanceDtoToJSON)(value['challengeRewardBalance']),
|
|
142
146
|
'canSell': value['canSell'],
|
|
147
|
+
'canBroker': value['canBroker'],
|
|
143
148
|
'settings': (0, WithSettingsInner_1.WithSettingsInnerToJSON)(value['settings']),
|
|
144
149
|
'notifications': (value['notifications'].map(AccountNotificationDto_1.AccountNotificationDtoToJSON)),
|
|
145
150
|
'enabledFeatures': value['enabledFeatures'],
|
|
@@ -222,7 +222,7 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
222
222
|
*/
|
|
223
223
|
leadVerification: LeadVerificationSettingsDto;
|
|
224
224
|
/**
|
|
225
|
-
*
|
|
225
|
+
* Always null. Whether another account claims the domain is told by `hijackerId`; that account itself is not shown.
|
|
226
226
|
* @type {AccountDto}
|
|
227
227
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
228
228
|
*/
|
|
@@ -86,6 +86,12 @@ export interface InvoiceDto {
|
|
|
86
86
|
* @memberof InvoiceDto
|
|
87
87
|
*/
|
|
88
88
|
isAffiliateCommission: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Whether this is the invoice a broker issues for a brokered sale commission.
|
|
91
|
+
* @type {boolean}
|
|
92
|
+
* @memberof InvoiceDto
|
|
93
|
+
*/
|
|
94
|
+
isBrokerCommission: boolean;
|
|
89
95
|
/**
|
|
90
96
|
* Buyer email (only for buyer-target invoices).
|
|
91
97
|
* @type {string}
|
|
@@ -67,6 +67,8 @@ function instanceOfInvoiceDto(value) {
|
|
|
67
67
|
return false;
|
|
68
68
|
if (!('isAffiliateCommission' in value) || value['isAffiliateCommission'] === undefined)
|
|
69
69
|
return false;
|
|
70
|
+
if (!('isBrokerCommission' in value) || value['isBrokerCommission'] === undefined)
|
|
71
|
+
return false;
|
|
70
72
|
if (!('buyerEmail' in value) || value['buyerEmail'] === undefined)
|
|
71
73
|
return false;
|
|
72
74
|
if (!('transaction' in value) || value['transaction'] === undefined)
|
|
@@ -96,6 +98,7 @@ function InvoiceDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
96
98
|
'parent': json['parent'],
|
|
97
99
|
'hasChildren': json['hasChildren'],
|
|
98
100
|
'isAffiliateCommission': json['isAffiliateCommission'],
|
|
101
|
+
'isBrokerCommission': json['isBrokerCommission'],
|
|
99
102
|
'buyerEmail': json['buyerEmail'],
|
|
100
103
|
'transaction': (0, InvoiceDtoTransaction_1.InvoiceDtoTransactionFromJSON)(json['transaction']),
|
|
101
104
|
'payoutDueAt': (json['payoutDueAt'] == null ? null : new Date(json['payoutDueAt'])),
|
|
@@ -122,6 +125,7 @@ function InvoiceDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
122
125
|
'parent': value['parent'],
|
|
123
126
|
'hasChildren': value['hasChildren'],
|
|
124
127
|
'isAffiliateCommission': value['isAffiliateCommission'],
|
|
128
|
+
'isBrokerCommission': value['isBrokerCommission'],
|
|
125
129
|
'buyerEmail': value['buyerEmail'],
|
|
126
130
|
'transaction': (0, InvoiceDtoTransaction_1.InvoiceDtoTransactionToJSON)(value['transaction']),
|
|
127
131
|
'payoutDueAt': (value['payoutDueAt'] == null ? null : value['payoutDueAt'].toISOString()),
|
|
@@ -0,0 +1,39 @@
|
|
|
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 { BrokeredLeadBreakdownDto } from './BrokeredLeadBreakdownDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LeadBrokeredDealDto
|
|
17
|
+
*/
|
|
18
|
+
export interface LeadBrokeredDealDto {
|
|
19
|
+
/**
|
|
20
|
+
* Name of the broker who brought the deal.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof LeadBrokeredDealDto
|
|
23
|
+
*/
|
|
24
|
+
brokerName: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {BrokeredLeadBreakdownDto}
|
|
28
|
+
* @memberof LeadBrokeredDealDto
|
|
29
|
+
*/
|
|
30
|
+
breakdown: BrokeredLeadBreakdownDto;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the LeadBrokeredDealDto interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfLeadBrokeredDealDto(value: object): value is LeadBrokeredDealDto;
|
|
36
|
+
export declare function LeadBrokeredDealDtoFromJSON(json: any): LeadBrokeredDealDto;
|
|
37
|
+
export declare function LeadBrokeredDealDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadBrokeredDealDto;
|
|
38
|
+
export declare function LeadBrokeredDealDtoToJSON(json: any): LeadBrokeredDealDto;
|
|
39
|
+
export declare function LeadBrokeredDealDtoToJSONTyped(value?: LeadBrokeredDealDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfLeadBrokeredDealDto = instanceOfLeadBrokeredDealDto;
|
|
17
|
+
exports.LeadBrokeredDealDtoFromJSON = LeadBrokeredDealDtoFromJSON;
|
|
18
|
+
exports.LeadBrokeredDealDtoFromJSONTyped = LeadBrokeredDealDtoFromJSONTyped;
|
|
19
|
+
exports.LeadBrokeredDealDtoToJSON = LeadBrokeredDealDtoToJSON;
|
|
20
|
+
exports.LeadBrokeredDealDtoToJSONTyped = LeadBrokeredDealDtoToJSONTyped;
|
|
21
|
+
var BrokeredLeadBreakdownDto_1 = require("./BrokeredLeadBreakdownDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the LeadBrokeredDealDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfLeadBrokeredDealDto(value) {
|
|
26
|
+
if (!('brokerName' in value) || value['brokerName'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('breakdown' in value) || value['breakdown'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function LeadBrokeredDealDtoFromJSON(json) {
|
|
33
|
+
return LeadBrokeredDealDtoFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function LeadBrokeredDealDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'brokerName': json['brokerName'],
|
|
41
|
+
'breakdown': (0, BrokeredLeadBreakdownDto_1.BrokeredLeadBreakdownDtoFromJSON)(json['breakdown']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function LeadBrokeredDealDtoToJSON(json) {
|
|
45
|
+
return LeadBrokeredDealDtoToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function LeadBrokeredDealDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'brokerName': value['brokerName'],
|
|
54
|
+
'breakdown': (0, BrokeredLeadBreakdownDto_1.BrokeredLeadBreakdownDtoToJSON)(value['breakdown']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -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 { BrokerBrokeredLeadDto } from './BrokerBrokeredLeadDto';
|
|
14
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ListBrokerLeads200Response
|
|
19
|
+
*/
|
|
20
|
+
export interface ListBrokerLeads200Response {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<BrokerBrokeredLeadDto>}
|
|
24
|
+
* @memberof ListBrokerLeads200Response
|
|
25
|
+
*/
|
|
26
|
+
data: Array<BrokerBrokeredLeadDto>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {PaginateResponseMeta}
|
|
30
|
+
* @memberof ListBrokerLeads200Response
|
|
31
|
+
*/
|
|
32
|
+
meta: PaginateResponseMeta;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {PaginateResponseLinks}
|
|
36
|
+
* @memberof ListBrokerLeads200Response
|
|
37
|
+
*/
|
|
38
|
+
links: PaginateResponseLinks;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the ListBrokerLeads200Response interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfListBrokerLeads200Response(value: object): value is ListBrokerLeads200Response;
|
|
44
|
+
export declare function ListBrokerLeads200ResponseFromJSON(json: any): ListBrokerLeads200Response;
|
|
45
|
+
export declare function ListBrokerLeads200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListBrokerLeads200Response;
|
|
46
|
+
export declare function ListBrokerLeads200ResponseToJSON(json: any): ListBrokerLeads200Response;
|
|
47
|
+
export declare function ListBrokerLeads200ResponseToJSONTyped(value?: ListBrokerLeads200Response | 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.instanceOfListBrokerLeads200Response = instanceOfListBrokerLeads200Response;
|
|
17
|
+
exports.ListBrokerLeads200ResponseFromJSON = ListBrokerLeads200ResponseFromJSON;
|
|
18
|
+
exports.ListBrokerLeads200ResponseFromJSONTyped = ListBrokerLeads200ResponseFromJSONTyped;
|
|
19
|
+
exports.ListBrokerLeads200ResponseToJSON = ListBrokerLeads200ResponseToJSON;
|
|
20
|
+
exports.ListBrokerLeads200ResponseToJSONTyped = ListBrokerLeads200ResponseToJSONTyped;
|
|
21
|
+
var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
|
|
22
|
+
var BrokerBrokeredLeadDto_1 = require("./BrokerBrokeredLeadDto");
|
|
23
|
+
var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the ListBrokerLeads200Response interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfListBrokerLeads200Response(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 ListBrokerLeads200ResponseFromJSON(json) {
|
|
37
|
+
return ListBrokerLeads200ResponseFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function ListBrokerLeads200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'data': (json['data'].map(BrokerBrokeredLeadDto_1.BrokerBrokeredLeadDtoFromJSON)),
|
|
45
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
|
|
46
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function ListBrokerLeads200ResponseToJSON(json) {
|
|
50
|
+
return ListBrokerLeads200ResponseToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function ListBrokerLeads200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'data': (value['data'].map(BrokerBrokeredLeadDto_1.BrokerBrokeredLeadDtoToJSON)),
|
|
59
|
+
'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
|
|
60
|
+
'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
|
|
61
|
+
};
|
|
62
|
+
}
|