@model-match/api 3.16.0 → 3.17.0
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/dist/{index-DN9Yrnc2.d.mts → index-CEo1apoH.d.mts} +426 -11
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/slim/index.d.mts +30 -2
- package/dist/slim/index.mjs +126 -2
- package/dist/{src-DmJ3haPq.mjs → src-_-RWzjQf.mjs} +124 -0
- package/openapi.json +991 -57
- package/package.json +1 -1
package/dist/slim/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as createClient, w as client } from "../src-
|
|
1
|
+
import { n as createClient, w as client } from "../src-_-RWzjQf.mjs";
|
|
2
2
|
//#region src/slim/sdk.gen.ts
|
|
3
3
|
/**
|
|
4
4
|
* Search agents with filters
|
|
@@ -763,6 +763,27 @@ const originatorStatesBreakdown = (options) => {
|
|
|
763
763
|
});
|
|
764
764
|
};
|
|
765
765
|
/**
|
|
766
|
+
* Title companies on this LO's loans (spellings merged)
|
|
767
|
+
* Ranks the title companies on this entity's loans (recorded deeds, `recording_date` window — the same population and period axis as every other loans breakdown). Spellings of one company are MERGED: `label` is its most-used spelling, `id` the normalized name every spelling was grouped under (legal-form and filler words such as `inc`, `llc`, `co`, `company`, `title`, `escrow` removed; `natl` → `national`). Placeholder entries meaning "no title company recorded" (`none available` and its misspellings, `unknown`, `n/a`, …) and names shorter than 3 characters are excluded rather than ranked. `attorney` and `accommodation` are kept: they say who closed. `pctUnits` / `pctVolume` are shares of the entity's WHOLE loan population in the window, including loans with no title company, so they do not sum to 100 across the page. Pages of up to 100 via `pagination`.
|
|
768
|
+
*/
|
|
769
|
+
const originatorTitleCompanies = (options) => {
|
|
770
|
+
return (options.client ?? client).post({
|
|
771
|
+
security: [{
|
|
772
|
+
name: "x-api-key",
|
|
773
|
+
type: "apiKey"
|
|
774
|
+
}, {
|
|
775
|
+
scheme: "bearer",
|
|
776
|
+
type: "http"
|
|
777
|
+
}],
|
|
778
|
+
url: "/originators/{nmlsId}/breakdowns/title-companies",
|
|
779
|
+
...options,
|
|
780
|
+
headers: {
|
|
781
|
+
"Content-Type": "application/json",
|
|
782
|
+
...options?.headers
|
|
783
|
+
}
|
|
784
|
+
});
|
|
785
|
+
};
|
|
786
|
+
/**
|
|
766
787
|
* Zip-code volume breakdown
|
|
767
788
|
*/
|
|
768
789
|
const originatorZipCodes = (options) => {
|
|
@@ -1933,6 +1954,27 @@ const branchStates = (options) => {
|
|
|
1933
1954
|
});
|
|
1934
1955
|
};
|
|
1935
1956
|
/**
|
|
1957
|
+
* Title companies on this branch's loans (spellings merged)
|
|
1958
|
+
* Ranks the title companies on this entity's loans (recorded deeds, `recording_date` window — the same population and period axis as every other loans breakdown). Spellings of one company are MERGED: `label` is its most-used spelling, `id` the normalized name every spelling was grouped under (legal-form and filler words such as `inc`, `llc`, `co`, `company`, `title`, `escrow` removed; `natl` → `national`). Placeholder entries meaning "no title company recorded" (`none available` and its misspellings, `unknown`, `n/a`, …) and names shorter than 3 characters are excluded rather than ranked. `attorney` and `accommodation` are kept: they say who closed. `pctUnits` / `pctVolume` are shares of the entity's WHOLE loan population in the window, including loans with no title company, so they do not sum to 100 across the page. Pages of up to 100 via `pagination`.
|
|
1959
|
+
*/
|
|
1960
|
+
const branchTitleCompanies = (options) => {
|
|
1961
|
+
return (options.client ?? client).post({
|
|
1962
|
+
security: [{
|
|
1963
|
+
name: "x-api-key",
|
|
1964
|
+
type: "apiKey"
|
|
1965
|
+
}, {
|
|
1966
|
+
scheme: "bearer",
|
|
1967
|
+
type: "http"
|
|
1968
|
+
}],
|
|
1969
|
+
url: "/v1/branches/{nmlsId}/breakdowns/title-companies",
|
|
1970
|
+
...options,
|
|
1971
|
+
headers: {
|
|
1972
|
+
"Content-Type": "application/json",
|
|
1973
|
+
...options?.headers
|
|
1974
|
+
}
|
|
1975
|
+
});
|
|
1976
|
+
};
|
|
1977
|
+
/**
|
|
1936
1978
|
* Loans written by this branch
|
|
1937
1979
|
* Returns the individual loans attributed to this branch office — the branch's own book, not its parent company's. Accepts the same filters, sorts and pagination as the main loan search. Attribution comes from public record, so this is the branch's recorded footprint and can be smaller than the production totals on `GET /v1/branches/{nmlsId}`.
|
|
1938
1980
|
*/
|
|
@@ -2374,6 +2416,27 @@ const companyStates = (options) => {
|
|
|
2374
2416
|
});
|
|
2375
2417
|
};
|
|
2376
2418
|
/**
|
|
2419
|
+
* Title companies on this company's loans (spellings merged)
|
|
2420
|
+
* Ranks the title companies on this entity's loans (recorded deeds, `recording_date` window — the same population and period axis as every other loans breakdown). Spellings of one company are MERGED: `label` is its most-used spelling, `id` the normalized name every spelling was grouped under (legal-form and filler words such as `inc`, `llc`, `co`, `company`, `title`, `escrow` removed; `natl` → `national`). Placeholder entries meaning "no title company recorded" (`none available` and its misspellings, `unknown`, `n/a`, …) and names shorter than 3 characters are excluded rather than ranked. `attorney` and `accommodation` are kept: they say who closed. `pctUnits` / `pctVolume` are shares of the entity's WHOLE loan population in the window, including loans with no title company, so they do not sum to 100 across the page. Pages of up to 100 via `pagination`.
|
|
2421
|
+
*/
|
|
2422
|
+
const companyTitleCompanies = (options) => {
|
|
2423
|
+
return (options.client ?? client).post({
|
|
2424
|
+
security: [{
|
|
2425
|
+
name: "x-api-key",
|
|
2426
|
+
type: "apiKey"
|
|
2427
|
+
}, {
|
|
2428
|
+
scheme: "bearer",
|
|
2429
|
+
type: "http"
|
|
2430
|
+
}],
|
|
2431
|
+
url: "/v1/companies/{nmlsId}/breakdowns/title-companies",
|
|
2432
|
+
...options,
|
|
2433
|
+
headers: {
|
|
2434
|
+
"Content-Type": "application/json",
|
|
2435
|
+
...options?.headers
|
|
2436
|
+
}
|
|
2437
|
+
});
|
|
2438
|
+
};
|
|
2439
|
+
/**
|
|
2377
2440
|
* Zip-code volume breakdown across this company's loans
|
|
2378
2441
|
*/
|
|
2379
2442
|
const companyZipCodes = (options) => {
|
|
@@ -2612,6 +2675,46 @@ const addCrmNote = (options) => {
|
|
|
2612
2675
|
});
|
|
2613
2676
|
};
|
|
2614
2677
|
/**
|
|
2678
|
+
* Edit a logged activity entry
|
|
2679
|
+
*/
|
|
2680
|
+
const editCrmLoggedActivity = (options) => {
|
|
2681
|
+
return (options?.client ?? client).patch({
|
|
2682
|
+
security: [{
|
|
2683
|
+
name: "x-api-key",
|
|
2684
|
+
type: "apiKey"
|
|
2685
|
+
}, {
|
|
2686
|
+
scheme: "bearer",
|
|
2687
|
+
type: "http"
|
|
2688
|
+
}],
|
|
2689
|
+
url: "/v1/crm/activity/log",
|
|
2690
|
+
...options,
|
|
2691
|
+
headers: {
|
|
2692
|
+
"Content-Type": "application/json",
|
|
2693
|
+
...options?.headers
|
|
2694
|
+
}
|
|
2695
|
+
});
|
|
2696
|
+
};
|
|
2697
|
+
/**
|
|
2698
|
+
* Log a Call/Meeting/Email/Task that happened outside Model Match
|
|
2699
|
+
*/
|
|
2700
|
+
const logCrmActivity = (options) => {
|
|
2701
|
+
return (options?.client ?? client).post({
|
|
2702
|
+
security: [{
|
|
2703
|
+
name: "x-api-key",
|
|
2704
|
+
type: "apiKey"
|
|
2705
|
+
}, {
|
|
2706
|
+
scheme: "bearer",
|
|
2707
|
+
type: "http"
|
|
2708
|
+
}],
|
|
2709
|
+
url: "/v1/crm/activity/log",
|
|
2710
|
+
...options,
|
|
2711
|
+
headers: {
|
|
2712
|
+
"Content-Type": "application/json",
|
|
2713
|
+
...options?.headers
|
|
2714
|
+
}
|
|
2715
|
+
});
|
|
2716
|
+
};
|
|
2717
|
+
/**
|
|
2615
2718
|
* List notes from other records that reference this one (trickled up)
|
|
2616
2719
|
*/
|
|
2617
2720
|
const listCrmReferencedActivity = (options) => {
|
|
@@ -5907,6 +6010,27 @@ const originatorStatesBreakdown2 = (options) => {
|
|
|
5907
6010
|
});
|
|
5908
6011
|
};
|
|
5909
6012
|
/**
|
|
6013
|
+
* Title companies on this LO's loans (spellings merged)
|
|
6014
|
+
* Ranks the title companies on this entity's loans (recorded deeds, `recording_date` window — the same population and period axis as every other loans breakdown). Spellings of one company are MERGED: `label` is its most-used spelling, `id` the normalized name every spelling was grouped under (legal-form and filler words such as `inc`, `llc`, `co`, `company`, `title`, `escrow` removed; `natl` → `national`). Placeholder entries meaning "no title company recorded" (`none available` and its misspellings, `unknown`, `n/a`, …) and names shorter than 3 characters are excluded rather than ranked. `attorney` and `accommodation` are kept: they say who closed. `pctUnits` / `pctVolume` are shares of the entity's WHOLE loan population in the window, including loans with no title company, so they do not sum to 100 across the page. Pages of up to 100 via `pagination`.
|
|
6015
|
+
*/
|
|
6016
|
+
const originatorTitleCompanies2 = (options) => {
|
|
6017
|
+
return (options.client ?? client).post({
|
|
6018
|
+
security: [{
|
|
6019
|
+
name: "x-api-key",
|
|
6020
|
+
type: "apiKey"
|
|
6021
|
+
}, {
|
|
6022
|
+
scheme: "bearer",
|
|
6023
|
+
type: "http"
|
|
6024
|
+
}],
|
|
6025
|
+
url: "/v1/originators/{nmlsId}/breakdowns/title-companies",
|
|
6026
|
+
...options,
|
|
6027
|
+
headers: {
|
|
6028
|
+
"Content-Type": "application/json",
|
|
6029
|
+
...options?.headers
|
|
6030
|
+
}
|
|
6031
|
+
});
|
|
6032
|
+
};
|
|
6033
|
+
/**
|
|
5910
6034
|
* Zip-code volume breakdown
|
|
5911
6035
|
*/
|
|
5912
6036
|
const originatorZipCodes2 = (options) => {
|
|
@@ -6560,4 +6684,4 @@ const getSearchToken = (options) => {
|
|
|
6560
6684
|
});
|
|
6561
6685
|
};
|
|
6562
6686
|
//#endregion
|
|
6563
|
-
export { client as _heyApiClient, actionCrmCallerId, addCrmContactMethod, addCrmListMember, addCrmListMembersBulk, addCrmNote, addCrmRecord, addCrmRecordsBulk, addWatchedAgent, addWatchedArea, addWatchedDocument, adminGetBulkJob, adminGetCadLinks, adminGetCadLoadTask, adminLaunchCadLoad, agentAnalyticsChart, agentAnalyticsChart2, agentAnalyticsSummary, agentAnalyticsSummary2, agentAnalyticsTimeSeries, agentAnalyticsTimeSeries2, agentCities, agentCities2, agentCompanies, agentCompanies2, agentCounties, agentCounties2, agentLenders, agentLenders2, agentMarkets, agentMarkets2, agentOffices, agentOffices2, agentOriginators, agentOriginators2, agentProperties, agentProperties2, agentRelated, agentSales, agentSales2, agentStates, agentStates2, agentZipCodes, agentZipCodes2, analyzeCrmCall, applyCrmEnrichment, applyCrmListTemplate, applyCrmMiUpdates, branchAnalyticsChart, branchAnalyticsSummary, branchAnalyticsTimeSeries, branchCities, branchCounties, branchLenders, branchLoans, branchOriginators, branchRoster, branchStates, cancelAgentsBulkDeliveryJob, cancelAgentsBulkDeliveryJob2, cancelBranchesBulkDeliveryJob, cancelCompaniesBulkDeliveryJob, cancelEnrichBulkJob, cancelLoansBulkDeliveryJob, cancelOriginatorsBulkDeliveryJob, cancelOriginatorsBulkDeliveryJob2, cancelPropertiesBulkDeliveryJob, companyAgents, companyAnalyticsChart, companyAnalyticsSummary, companyAnalyticsTimeSeries, companyBranches, companyBrokers, companyCities, companyCounties, companyEarlyExits, companyEmployeeStats, companyEmployment, companyHeadcount, companyLenders, companyMarkets, companyOffices, companyOriginators, companyRelated, companySponsoredIndividuals, companySponsorshipMovement, companyStates, companyTalentFlow, companyZipCodes, countAgents, countAgents2, countBranches, countCompanies, countLenders, countLoans, countOffices, countOriginators, countOriginators2, countProperties, countSales, createClient, createCrmList, createCrmListField, createCrmManualRecord, createCrmMeeting, createCrmObjectField, createCrmRecord, createCrmTask, createCrmTemplate, createSavedFilter, crmLenderChannels, crmLoLoanMix, crmLoMomentum, crmLoSponsorLocation, crmSimilarOriginators, declineCrmMiUpdate, deleteCrmCallerId, deleteCrmList, deleteCrmListField, deleteCrmMeeting, deleteCrmNote, deleteCrmObjectField, deleteCrmRecord, deleteCrmRecords, deleteCrmTask, deleteCrmTemplate, deleteSavedFilter, describeCrmRecordsOnAdd, dismissCrmMiUpdates, editCrmNote, enrichPropertiesBatch, enrichPropertiesBulk, enrichProperty, filterCrmListMembers, findCrmRecordByNmls, generateCrmRecordDescription, getAgent, getAgent2, getAgentsBulkDeliveryJob, getAgentsBulkDeliveryJob2, getAlertConditions, getAlertUnreadCount, getBranch, getBranchesBulkDeliveryJob, getCompaniesBulkDeliveryJob, getCompany, getCrmActiveCall, getCrmActivityReport, getCrmCall, getCrmCallTranscript, getCrmCustomValues, getCrmImportJob, getCrmList, getCrmListMemberIds, getCrmListShares, getCrmMiUpdates, getCrmOutcomesReport, getCrmOverrides, getCrmProductionEnrichJob, getCrmRecordAccess, getCrmRecordAccessRequest, getCrmRecordConnections, getCrmRecordMemberIds, getCrmRecordProfile, getCrmTemplate, getCrmTemplateShares, getEnrichBulkJob, getHubspotPushStatus, getLender, getLoan, getLoansBulkDeliveryJob, getMe, getMeCredits, getMePlan, getOffice, getOriginator, getOriginator2, getOriginatorsBulkDeliveryJob, getOriginatorsBulkDeliveryJob2, getPropertiesBulkDeliveryJob, getProperty, getRealtimeConfig, getSale, getSavedFilter, getSearchToken, grantCrmListAccess, grantCrmRecordAccess, grantCrmRecordAccessRequest, hangupCrmCall, importCrmRecords, instantSearch, lenderCities, lenderCompanies, lenderCounties, lenderOriginators, lenderStates, linkCrmRecord, listAgents, listAgents2, listAlertDigests, listAlertLog, listBranches, listCompanies, listCrmActivity, listCrmCallerIds, listCrmCustomFields, listCrmListAssignees, listCrmListFields, listCrmListMemberships, listCrmListShareableMembers, listCrmLists, listCrmMeetings, listCrmMembers, listCrmOrgMembers, listCrmRecordShareableMembers, listCrmRecordShares, listCrmReferencedActivity, listCrmTasks, listCrmTemplates, listCrmWorkspaceMeetings, listCrmWorkspaceTasks, listEnrichments, listLenders, listLoans, listMarket, listOffices, listOriginators, listOriginators2, listProperties, listSales, listSavedFilters, listWatchedAgents, listWatchedAreas, listWatchedDocuments, loanRelated, loansAnalyticsChart, loansAnalyticsSummary, loansAnalyticsTimeSeries, lookupCompanies, markAlertDigestRead, markAlertRead, markAllAlertsRead, marketAnalyticsChart, marketAnalyticsSummary, marketAnalyticsTimeSeries, marketCommunityLending, marketMovementActivity, marketMovementByState, marketMovementCohortPayoff, marketMovementMostGained, marketMovementMostLost, marketMovementMovers, marketMovementRankings, marketMovementStats, marketMovementTransitions, officeAgents, originatorAgents, originatorAgents2, originatorAnalyticsChart, originatorAnalyticsChart2, originatorAnalyticsSummary, originatorAnalyticsSummary2, originatorAnalyticsTimeSeries, originatorAnalyticsTimeSeries2, originatorBranches, originatorBranches2, originatorBrokers, originatorBrokers2, originatorCitiesBreakdown, originatorCitiesBreakdown2, originatorCompanies, originatorCompanies2, originatorCountiesBreakdown, originatorCountiesBreakdown2, originatorLenders, originatorLenders2, originatorLoans, originatorLoans2, originatorMarkets, originatorMarkets2, originatorOffices, originatorOffices2, originatorProperties, originatorProperties2, originatorRelated, originatorStatesBreakdown, originatorStatesBreakdown2, originatorZipCodes, originatorZipCodes2, placeCrmCall, previewAlerts, propertiesAnalyticsChart, propertiesAnalyticsSummary, propertyRelated, pushToHubspot, reconcileCrmMeetings, refreshCrmRecordMirror, removeCrmContactMethod, removeCrmListMember, removeWatchedAgent, removeWatchedArea, removeWatchedDocument, requestCrmAccess, requestCrmRecordAccess, retrieveLocation, revokeCrmListAccess, revokeCrmRecordAccess, saleRelated, salesAnalyticsChart, salesAnalyticsSummary, salesAnalyticsTimeSeries, searchCrmEmailRecipients, searchCrmMatchCandidates, searchCrmMentionRecords, searchCrmRecords, searchProperties, sendCrmEmail, setCrmCallAnalysis, setCrmCustomValue, setCrmOverride, setCrmRecordOwner, setDefaultCrmCallerId, shareCrmTemplate, submitAgentsBulkDelivery, submitAgentsBulkDelivery2, submitBranchesBulkDelivery, submitCompaniesBulkDelivery, submitLoansBulkDelivery, submitOriginatorsBulkDelivery, submitOriginatorsBulkDelivery2, submitPropertiesBulkDelivery, suggestLocations, transcribeCrmCall, transferCrmListOwnership, unshareCrmTemplate, updateAlertConditions, updateCrmContactMethod, updateCrmList, updateCrmListField, updateCrmMeeting, updateCrmObjectField, updateCrmTask, updateCrmTemplate, updateMe, updateSavedFilter };
|
|
6687
|
+
export { client as _heyApiClient, actionCrmCallerId, addCrmContactMethod, addCrmListMember, addCrmListMembersBulk, addCrmNote, addCrmRecord, addCrmRecordsBulk, addWatchedAgent, addWatchedArea, addWatchedDocument, adminGetBulkJob, adminGetCadLinks, adminGetCadLoadTask, adminLaunchCadLoad, agentAnalyticsChart, agentAnalyticsChart2, agentAnalyticsSummary, agentAnalyticsSummary2, agentAnalyticsTimeSeries, agentAnalyticsTimeSeries2, agentCities, agentCities2, agentCompanies, agentCompanies2, agentCounties, agentCounties2, agentLenders, agentLenders2, agentMarkets, agentMarkets2, agentOffices, agentOffices2, agentOriginators, agentOriginators2, agentProperties, agentProperties2, agentRelated, agentSales, agentSales2, agentStates, agentStates2, agentZipCodes, agentZipCodes2, analyzeCrmCall, applyCrmEnrichment, applyCrmListTemplate, applyCrmMiUpdates, branchAnalyticsChart, branchAnalyticsSummary, branchAnalyticsTimeSeries, branchCities, branchCounties, branchLenders, branchLoans, branchOriginators, branchRoster, branchStates, branchTitleCompanies, cancelAgentsBulkDeliveryJob, cancelAgentsBulkDeliveryJob2, cancelBranchesBulkDeliveryJob, cancelCompaniesBulkDeliveryJob, cancelEnrichBulkJob, cancelLoansBulkDeliveryJob, cancelOriginatorsBulkDeliveryJob, cancelOriginatorsBulkDeliveryJob2, cancelPropertiesBulkDeliveryJob, companyAgents, companyAnalyticsChart, companyAnalyticsSummary, companyAnalyticsTimeSeries, companyBranches, companyBrokers, companyCities, companyCounties, companyEarlyExits, companyEmployeeStats, companyEmployment, companyHeadcount, companyLenders, companyMarkets, companyOffices, companyOriginators, companyRelated, companySponsoredIndividuals, companySponsorshipMovement, companyStates, companyTalentFlow, companyTitleCompanies, companyZipCodes, countAgents, countAgents2, countBranches, countCompanies, countLenders, countLoans, countOffices, countOriginators, countOriginators2, countProperties, countSales, createClient, createCrmList, createCrmListField, createCrmManualRecord, createCrmMeeting, createCrmObjectField, createCrmRecord, createCrmTask, createCrmTemplate, createSavedFilter, crmLenderChannels, crmLoLoanMix, crmLoMomentum, crmLoSponsorLocation, crmSimilarOriginators, declineCrmMiUpdate, deleteCrmCallerId, deleteCrmList, deleteCrmListField, deleteCrmMeeting, deleteCrmNote, deleteCrmObjectField, deleteCrmRecord, deleteCrmRecords, deleteCrmTask, deleteCrmTemplate, deleteSavedFilter, describeCrmRecordsOnAdd, dismissCrmMiUpdates, editCrmLoggedActivity, editCrmNote, enrichPropertiesBatch, enrichPropertiesBulk, enrichProperty, filterCrmListMembers, findCrmRecordByNmls, generateCrmRecordDescription, getAgent, getAgent2, getAgentsBulkDeliveryJob, getAgentsBulkDeliveryJob2, getAlertConditions, getAlertUnreadCount, getBranch, getBranchesBulkDeliveryJob, getCompaniesBulkDeliveryJob, getCompany, getCrmActiveCall, getCrmActivityReport, getCrmCall, getCrmCallTranscript, getCrmCustomValues, getCrmImportJob, getCrmList, getCrmListMemberIds, getCrmListShares, getCrmMiUpdates, getCrmOutcomesReport, getCrmOverrides, getCrmProductionEnrichJob, getCrmRecordAccess, getCrmRecordAccessRequest, getCrmRecordConnections, getCrmRecordMemberIds, getCrmRecordProfile, getCrmTemplate, getCrmTemplateShares, getEnrichBulkJob, getHubspotPushStatus, getLender, getLoan, getLoansBulkDeliveryJob, getMe, getMeCredits, getMePlan, getOffice, getOriginator, getOriginator2, getOriginatorsBulkDeliveryJob, getOriginatorsBulkDeliveryJob2, getPropertiesBulkDeliveryJob, getProperty, getRealtimeConfig, getSale, getSavedFilter, getSearchToken, grantCrmListAccess, grantCrmRecordAccess, grantCrmRecordAccessRequest, hangupCrmCall, importCrmRecords, instantSearch, lenderCities, lenderCompanies, lenderCounties, lenderOriginators, lenderStates, linkCrmRecord, listAgents, listAgents2, listAlertDigests, listAlertLog, listBranches, listCompanies, listCrmActivity, listCrmCallerIds, listCrmCustomFields, listCrmListAssignees, listCrmListFields, listCrmListMemberships, listCrmListShareableMembers, listCrmLists, listCrmMeetings, listCrmMembers, listCrmOrgMembers, listCrmRecordShareableMembers, listCrmRecordShares, listCrmReferencedActivity, listCrmTasks, listCrmTemplates, listCrmWorkspaceMeetings, listCrmWorkspaceTasks, listEnrichments, listLenders, listLoans, listMarket, listOffices, listOriginators, listOriginators2, listProperties, listSales, listSavedFilters, listWatchedAgents, listWatchedAreas, listWatchedDocuments, loanRelated, loansAnalyticsChart, loansAnalyticsSummary, loansAnalyticsTimeSeries, logCrmActivity, lookupCompanies, markAlertDigestRead, markAlertRead, markAllAlertsRead, marketAnalyticsChart, marketAnalyticsSummary, marketAnalyticsTimeSeries, marketCommunityLending, marketMovementActivity, marketMovementByState, marketMovementCohortPayoff, marketMovementMostGained, marketMovementMostLost, marketMovementMovers, marketMovementRankings, marketMovementStats, marketMovementTransitions, officeAgents, originatorAgents, originatorAgents2, originatorAnalyticsChart, originatorAnalyticsChart2, originatorAnalyticsSummary, originatorAnalyticsSummary2, originatorAnalyticsTimeSeries, originatorAnalyticsTimeSeries2, originatorBranches, originatorBranches2, originatorBrokers, originatorBrokers2, originatorCitiesBreakdown, originatorCitiesBreakdown2, originatorCompanies, originatorCompanies2, originatorCountiesBreakdown, originatorCountiesBreakdown2, originatorLenders, originatorLenders2, originatorLoans, originatorLoans2, originatorMarkets, originatorMarkets2, originatorOffices, originatorOffices2, originatorProperties, originatorProperties2, originatorRelated, originatorStatesBreakdown, originatorStatesBreakdown2, originatorTitleCompanies, originatorTitleCompanies2, originatorZipCodes, originatorZipCodes2, placeCrmCall, previewAlerts, propertiesAnalyticsChart, propertiesAnalyticsSummary, propertyRelated, pushToHubspot, reconcileCrmMeetings, refreshCrmRecordMirror, removeCrmContactMethod, removeCrmListMember, removeWatchedAgent, removeWatchedArea, removeWatchedDocument, requestCrmAccess, requestCrmRecordAccess, retrieveLocation, revokeCrmListAccess, revokeCrmRecordAccess, saleRelated, salesAnalyticsChart, salesAnalyticsSummary, salesAnalyticsTimeSeries, searchCrmEmailRecipients, searchCrmMatchCandidates, searchCrmMentionRecords, searchCrmRecords, searchProperties, sendCrmEmail, setCrmCallAnalysis, setCrmCustomValue, setCrmOverride, setCrmRecordOwner, setDefaultCrmCallerId, shareCrmTemplate, submitAgentsBulkDelivery, submitAgentsBulkDelivery2, submitBranchesBulkDelivery, submitCompaniesBulkDelivery, submitLoansBulkDelivery, submitOriginatorsBulkDelivery, submitOriginatorsBulkDelivery2, submitPropertiesBulkDelivery, suggestLocations, transcribeCrmCall, transferCrmListOwnership, unshareCrmTemplate, updateAlertConditions, updateCrmContactMethod, updateCrmList, updateCrmListField, updateCrmMeeting, updateCrmObjectField, updateCrmTask, updateCrmTemplate, updateMe, updateSavedFilter };
|
|
@@ -1177,6 +1177,27 @@ var Originators = class {
|
|
|
1177
1177
|
});
|
|
1178
1178
|
}
|
|
1179
1179
|
/**
|
|
1180
|
+
* Title companies on this LO's loans (spellings merged)
|
|
1181
|
+
* Ranks the title companies on this entity's loans (recorded deeds, `recording_date` window — the same population and period axis as every other loans breakdown). Spellings of one company are MERGED: `label` is its most-used spelling, `id` the normalized name every spelling was grouped under (legal-form and filler words such as `inc`, `llc`, `co`, `company`, `title`, `escrow` removed; `natl` → `national`). Placeholder entries meaning "no title company recorded" (`none available` and its misspellings, `unknown`, `n/a`, …) and names shorter than 3 characters are excluded rather than ranked. `attorney` and `accommodation` are kept: they say who closed. `pctUnits` / `pctVolume` are shares of the entity's WHOLE loan population in the window, including loans with no title company, so they do not sum to 100 across the page. Pages of up to 100 via `pagination`.
|
|
1182
|
+
*/
|
|
1183
|
+
static titleCompanies(options) {
|
|
1184
|
+
return (options.client ?? client).post({
|
|
1185
|
+
security: [{
|
|
1186
|
+
name: "x-api-key",
|
|
1187
|
+
type: "apiKey"
|
|
1188
|
+
}, {
|
|
1189
|
+
scheme: "bearer",
|
|
1190
|
+
type: "http"
|
|
1191
|
+
}],
|
|
1192
|
+
url: "/originators/{nmlsId}/breakdowns/title-companies",
|
|
1193
|
+
...options,
|
|
1194
|
+
headers: {
|
|
1195
|
+
"Content-Type": "application/json",
|
|
1196
|
+
...options?.headers
|
|
1197
|
+
}
|
|
1198
|
+
});
|
|
1199
|
+
}
|
|
1200
|
+
/**
|
|
1180
1201
|
* Zip-code volume breakdown
|
|
1181
1202
|
*/
|
|
1182
1203
|
static zipCodes(options) {
|
|
@@ -1620,6 +1641,27 @@ var Originators = class {
|
|
|
1620
1641
|
});
|
|
1621
1642
|
}
|
|
1622
1643
|
/**
|
|
1644
|
+
* Title companies on this LO's loans (spellings merged)
|
|
1645
|
+
* Ranks the title companies on this entity's loans (recorded deeds, `recording_date` window — the same population and period axis as every other loans breakdown). Spellings of one company are MERGED: `label` is its most-used spelling, `id` the normalized name every spelling was grouped under (legal-form and filler words such as `inc`, `llc`, `co`, `company`, `title`, `escrow` removed; `natl` → `national`). Placeholder entries meaning "no title company recorded" (`none available` and its misspellings, `unknown`, `n/a`, …) and names shorter than 3 characters are excluded rather than ranked. `attorney` and `accommodation` are kept: they say who closed. `pctUnits` / `pctVolume` are shares of the entity's WHOLE loan population in the window, including loans with no title company, so they do not sum to 100 across the page. Pages of up to 100 via `pagination`.
|
|
1646
|
+
*/
|
|
1647
|
+
static titleCompanies2(options) {
|
|
1648
|
+
return (options.client ?? client).post({
|
|
1649
|
+
security: [{
|
|
1650
|
+
name: "x-api-key",
|
|
1651
|
+
type: "apiKey"
|
|
1652
|
+
}, {
|
|
1653
|
+
scheme: "bearer",
|
|
1654
|
+
type: "http"
|
|
1655
|
+
}],
|
|
1656
|
+
url: "/v1/originators/{nmlsId}/breakdowns/title-companies",
|
|
1657
|
+
...options,
|
|
1658
|
+
headers: {
|
|
1659
|
+
"Content-Type": "application/json",
|
|
1660
|
+
...options?.headers
|
|
1661
|
+
}
|
|
1662
|
+
});
|
|
1663
|
+
}
|
|
1664
|
+
/**
|
|
1623
1665
|
* Zip-code volume breakdown
|
|
1624
1666
|
*/
|
|
1625
1667
|
static zipCodes2(options) {
|
|
@@ -2484,6 +2526,27 @@ var Branches = class {
|
|
|
2484
2526
|
});
|
|
2485
2527
|
}
|
|
2486
2528
|
/**
|
|
2529
|
+
* Title companies on this branch's loans (spellings merged)
|
|
2530
|
+
* Ranks the title companies on this entity's loans (recorded deeds, `recording_date` window — the same population and period axis as every other loans breakdown). Spellings of one company are MERGED: `label` is its most-used spelling, `id` the normalized name every spelling was grouped under (legal-form and filler words such as `inc`, `llc`, `co`, `company`, `title`, `escrow` removed; `natl` → `national`). Placeholder entries meaning "no title company recorded" (`none available` and its misspellings, `unknown`, `n/a`, …) and names shorter than 3 characters are excluded rather than ranked. `attorney` and `accommodation` are kept: they say who closed. `pctUnits` / `pctVolume` are shares of the entity's WHOLE loan population in the window, including loans with no title company, so they do not sum to 100 across the page. Pages of up to 100 via `pagination`.
|
|
2531
|
+
*/
|
|
2532
|
+
static titleCompanies(options) {
|
|
2533
|
+
return (options.client ?? client).post({
|
|
2534
|
+
security: [{
|
|
2535
|
+
name: "x-api-key",
|
|
2536
|
+
type: "apiKey"
|
|
2537
|
+
}, {
|
|
2538
|
+
scheme: "bearer",
|
|
2539
|
+
type: "http"
|
|
2540
|
+
}],
|
|
2541
|
+
url: "/v1/branches/{nmlsId}/breakdowns/title-companies",
|
|
2542
|
+
...options,
|
|
2543
|
+
headers: {
|
|
2544
|
+
"Content-Type": "application/json",
|
|
2545
|
+
...options?.headers
|
|
2546
|
+
}
|
|
2547
|
+
});
|
|
2548
|
+
}
|
|
2549
|
+
/**
|
|
2487
2550
|
* Loans written by this branch
|
|
2488
2551
|
* Returns the individual loans attributed to this branch office — the branch's own book, not its parent company's. Accepts the same filters, sorts and pagination as the main loan search. Attribution comes from public record, so this is the branch's recorded footprint and can be smaller than the production totals on `GET /v1/branches/{nmlsId}`.
|
|
2489
2552
|
*/
|
|
@@ -2910,6 +2973,27 @@ var Companies = class {
|
|
|
2910
2973
|
});
|
|
2911
2974
|
}
|
|
2912
2975
|
/**
|
|
2976
|
+
* Title companies on this company's loans (spellings merged)
|
|
2977
|
+
* Ranks the title companies on this entity's loans (recorded deeds, `recording_date` window — the same population and period axis as every other loans breakdown). Spellings of one company are MERGED: `label` is its most-used spelling, `id` the normalized name every spelling was grouped under (legal-form and filler words such as `inc`, `llc`, `co`, `company`, `title`, `escrow` removed; `natl` → `national`). Placeholder entries meaning "no title company recorded" (`none available` and its misspellings, `unknown`, `n/a`, …) and names shorter than 3 characters are excluded rather than ranked. `attorney` and `accommodation` are kept: they say who closed. `pctUnits` / `pctVolume` are shares of the entity's WHOLE loan population in the window, including loans with no title company, so they do not sum to 100 across the page. Pages of up to 100 via `pagination`.
|
|
2978
|
+
*/
|
|
2979
|
+
static titleCompanies(options) {
|
|
2980
|
+
return (options.client ?? client).post({
|
|
2981
|
+
security: [{
|
|
2982
|
+
name: "x-api-key",
|
|
2983
|
+
type: "apiKey"
|
|
2984
|
+
}, {
|
|
2985
|
+
scheme: "bearer",
|
|
2986
|
+
type: "http"
|
|
2987
|
+
}],
|
|
2988
|
+
url: "/v1/companies/{nmlsId}/breakdowns/title-companies",
|
|
2989
|
+
...options,
|
|
2990
|
+
headers: {
|
|
2991
|
+
"Content-Type": "application/json",
|
|
2992
|
+
...options?.headers
|
|
2993
|
+
}
|
|
2994
|
+
});
|
|
2995
|
+
}
|
|
2996
|
+
/**
|
|
2913
2997
|
* Zip-code volume breakdown across this company's loans
|
|
2914
2998
|
*/
|
|
2915
2999
|
static zipCodes(options) {
|
|
@@ -3150,6 +3234,46 @@ var Crm = class {
|
|
|
3150
3234
|
});
|
|
3151
3235
|
}
|
|
3152
3236
|
/**
|
|
3237
|
+
* Edit a logged activity entry
|
|
3238
|
+
*/
|
|
3239
|
+
static editCrmLoggedActivity(options) {
|
|
3240
|
+
return (options?.client ?? client).patch({
|
|
3241
|
+
security: [{
|
|
3242
|
+
name: "x-api-key",
|
|
3243
|
+
type: "apiKey"
|
|
3244
|
+
}, {
|
|
3245
|
+
scheme: "bearer",
|
|
3246
|
+
type: "http"
|
|
3247
|
+
}],
|
|
3248
|
+
url: "/v1/crm/activity/log",
|
|
3249
|
+
...options,
|
|
3250
|
+
headers: {
|
|
3251
|
+
"Content-Type": "application/json",
|
|
3252
|
+
...options?.headers
|
|
3253
|
+
}
|
|
3254
|
+
});
|
|
3255
|
+
}
|
|
3256
|
+
/**
|
|
3257
|
+
* Log a Call/Meeting/Email/Task that happened outside Model Match
|
|
3258
|
+
*/
|
|
3259
|
+
static logCrmActivity(options) {
|
|
3260
|
+
return (options?.client ?? client).post({
|
|
3261
|
+
security: [{
|
|
3262
|
+
name: "x-api-key",
|
|
3263
|
+
type: "apiKey"
|
|
3264
|
+
}, {
|
|
3265
|
+
scheme: "bearer",
|
|
3266
|
+
type: "http"
|
|
3267
|
+
}],
|
|
3268
|
+
url: "/v1/crm/activity/log",
|
|
3269
|
+
...options,
|
|
3270
|
+
headers: {
|
|
3271
|
+
"Content-Type": "application/json",
|
|
3272
|
+
...options?.headers
|
|
3273
|
+
}
|
|
3274
|
+
});
|
|
3275
|
+
}
|
|
3276
|
+
/**
|
|
3153
3277
|
* List notes from other records that reference this one (trickled up)
|
|
3154
3278
|
*/
|
|
3155
3279
|
static listCrmReferencedActivity(options) {
|