@model-match/api 3.15.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.
@@ -1,4 +1,4 @@
1
- import { C as client, n as createClient } from "../src-DA2DVf_U.mjs";
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) => {
@@ -6451,6 +6575,98 @@ const saleRelated = (options) => {
6451
6575
  });
6452
6576
  };
6453
6577
  /**
6578
+ * List your saved filters
6579
+ * The caller's saved filters (and saved CRM views) in the active organization, oldest first, optionally narrowed by target and kind.
6580
+ */
6581
+ const listSavedFilters = (options) => {
6582
+ return (options?.client ?? client).get({
6583
+ security: [{
6584
+ name: "x-api-key",
6585
+ type: "apiKey"
6586
+ }, {
6587
+ scheme: "bearer",
6588
+ type: "http"
6589
+ }],
6590
+ url: "/v1/saved-filters",
6591
+ ...options
6592
+ });
6593
+ };
6594
+ /**
6595
+ * Save a filter
6596
+ * Save a named filter for a list target. For a market target, `query` is the target operation's request body without `pagination` (e.g. the body you would send to listOriginators) and is validated against it. Limit: 25 per target.
6597
+ */
6598
+ const createSavedFilter = (options) => {
6599
+ return (options?.client ?? client).post({
6600
+ security: [{
6601
+ name: "x-api-key",
6602
+ type: "apiKey"
6603
+ }, {
6604
+ scheme: "bearer",
6605
+ type: "http"
6606
+ }],
6607
+ url: "/v1/saved-filters",
6608
+ ...options,
6609
+ headers: {
6610
+ "Content-Type": "application/json",
6611
+ ...options?.headers
6612
+ }
6613
+ });
6614
+ };
6615
+ /**
6616
+ * Delete a saved filter
6617
+ */
6618
+ const deleteSavedFilter = (options) => {
6619
+ return (options.client ?? client).delete({
6620
+ security: [{
6621
+ name: "x-api-key",
6622
+ type: "apiKey"
6623
+ }, {
6624
+ scheme: "bearer",
6625
+ type: "http"
6626
+ }],
6627
+ url: "/v1/saved-filters/{id}",
6628
+ ...options
6629
+ });
6630
+ };
6631
+ /**
6632
+ * Get a saved filter (with the operation to run it)
6633
+ * Returns the saved `query` and the `operationId` to run it with. Check `fidelity` (`partial` → `unmapped` lists what the query omits; `ui_only` → nothing to run) and `stale` (the query no longer validates) before running.
6634
+ */
6635
+ const getSavedFilter = (options) => {
6636
+ return (options.client ?? client).get({
6637
+ security: [{
6638
+ name: "x-api-key",
6639
+ type: "apiKey"
6640
+ }, {
6641
+ scheme: "bearer",
6642
+ type: "http"
6643
+ }],
6644
+ url: "/v1/saved-filters/{id}",
6645
+ ...options
6646
+ });
6647
+ };
6648
+ /**
6649
+ * Update a saved filter
6650
+ * Rename, re-icon, or replace the query / UI state. The target is fixed. A new `query` is validated like on create.
6651
+ */
6652
+ const updateSavedFilter = (options) => {
6653
+ return (options.client ?? client).patch({
6654
+ security: [{
6655
+ name: "x-api-key",
6656
+ type: "apiKey"
6657
+ }, {
6658
+ scheme: "bearer",
6659
+ type: "http"
6660
+ }],
6661
+ url: "/v1/saved-filters/{id}",
6662
+ ...options,
6663
+ headers: {
6664
+ "Content-Type": "application/json",
6665
+ ...options?.headers
6666
+ }
6667
+ });
6668
+ };
6669
+ /**
6454
6670
  * Mint a scoped search token
6455
6671
  * Returns a short-lived scoped search token plus the host to query, so a trusted client can search the entity indexes directly with per-query controls (e.g. attributesToSearchOn for name-only matching).
6456
6672
  */
@@ -6468,4 +6684,4 @@ const getSearchToken = (options) => {
6468
6684
  });
6469
6685
  };
6470
6686
  //#endregion
6471
- 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, crmLenderChannels, crmLoLoanMix, crmLoMomentum, crmLoSponsorLocation, crmSimilarOriginators, declineCrmMiUpdate, deleteCrmCallerId, deleteCrmList, deleteCrmListField, deleteCrmMeeting, deleteCrmNote, deleteCrmObjectField, deleteCrmRecord, deleteCrmRecords, deleteCrmTask, deleteCrmTemplate, 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, 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, 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 };
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) {
@@ -6517,6 +6641,100 @@ var Sales = class {
6517
6641
  });
6518
6642
  }
6519
6643
  };
6644
+ var SavedFilters = class {
6645
+ /**
6646
+ * List your saved filters
6647
+ * The caller's saved filters (and saved CRM views) in the active organization, oldest first, optionally narrowed by target and kind.
6648
+ */
6649
+ static listSavedFilters(options) {
6650
+ return (options?.client ?? client).get({
6651
+ security: [{
6652
+ name: "x-api-key",
6653
+ type: "apiKey"
6654
+ }, {
6655
+ scheme: "bearer",
6656
+ type: "http"
6657
+ }],
6658
+ url: "/v1/saved-filters",
6659
+ ...options
6660
+ });
6661
+ }
6662
+ /**
6663
+ * Save a filter
6664
+ * Save a named filter for a list target. For a market target, `query` is the target operation's request body without `pagination` (e.g. the body you would send to listOriginators) and is validated against it. Limit: 25 per target.
6665
+ */
6666
+ static createSavedFilter(options) {
6667
+ return (options?.client ?? client).post({
6668
+ security: [{
6669
+ name: "x-api-key",
6670
+ type: "apiKey"
6671
+ }, {
6672
+ scheme: "bearer",
6673
+ type: "http"
6674
+ }],
6675
+ url: "/v1/saved-filters",
6676
+ ...options,
6677
+ headers: {
6678
+ "Content-Type": "application/json",
6679
+ ...options?.headers
6680
+ }
6681
+ });
6682
+ }
6683
+ /**
6684
+ * Delete a saved filter
6685
+ */
6686
+ static deleteSavedFilter(options) {
6687
+ return (options.client ?? client).delete({
6688
+ security: [{
6689
+ name: "x-api-key",
6690
+ type: "apiKey"
6691
+ }, {
6692
+ scheme: "bearer",
6693
+ type: "http"
6694
+ }],
6695
+ url: "/v1/saved-filters/{id}",
6696
+ ...options
6697
+ });
6698
+ }
6699
+ /**
6700
+ * Get a saved filter (with the operation to run it)
6701
+ * Returns the saved `query` and the `operationId` to run it with. Check `fidelity` (`partial` → `unmapped` lists what the query omits; `ui_only` → nothing to run) and `stale` (the query no longer validates) before running.
6702
+ */
6703
+ static getSavedFilter(options) {
6704
+ return (options.client ?? client).get({
6705
+ security: [{
6706
+ name: "x-api-key",
6707
+ type: "apiKey"
6708
+ }, {
6709
+ scheme: "bearer",
6710
+ type: "http"
6711
+ }],
6712
+ url: "/v1/saved-filters/{id}",
6713
+ ...options
6714
+ });
6715
+ }
6716
+ /**
6717
+ * Update a saved filter
6718
+ * Rename, re-icon, or replace the query / UI state. The target is fixed. A new `query` is validated like on create.
6719
+ */
6720
+ static updateSavedFilter(options) {
6721
+ return (options.client ?? client).patch({
6722
+ security: [{
6723
+ name: "x-api-key",
6724
+ type: "apiKey"
6725
+ }, {
6726
+ scheme: "bearer",
6727
+ type: "http"
6728
+ }],
6729
+ url: "/v1/saved-filters/{id}",
6730
+ ...options,
6731
+ headers: {
6732
+ "Content-Type": "application/json",
6733
+ ...options?.headers
6734
+ }
6735
+ });
6736
+ }
6737
+ };
6520
6738
  //#endregion
6521
6739
  //#region src/index.ts
6522
6740
  /**
@@ -6555,4 +6773,4 @@ function createClient$1(config = {}) {
6555
6773
  };
6556
6774
  }
6557
6775
  //#endregion
6558
- export { client as C, Search as S, Originators as _, Agents as a, Related as b, Companies as c, Lenders as d, Loans as f, Offices as g, Me as h, AdminNmls as i, Crm as l, Market as m, createClient$1 as n, Alerts as o, Locations as p, AdminJobs as r, Branches as s, createApiClient as t, Integrations as u, Properties as v, Sales as x, Realtime as y };
6776
+ export { Search as C, SavedFilters as S, Originators as _, Agents as a, Related as b, Companies as c, Lenders as d, Loans as f, Offices as g, Me as h, AdminNmls as i, Crm as l, Market as m, createClient$1 as n, Alerts as o, Locations as p, AdminJobs as r, Branches as s, createApiClient as t, Integrations as u, Properties as v, client as w, Sales as x, Realtime as y };