@model-match/api 3.15.0 → 3.16.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-BCrq4x8K.d.mts → index-DN9Yrnc2.d.mts} +454 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/slim/index.d.mts +26 -2
- package/dist/slim/index.mjs +94 -2
- package/dist/{src-DA2DVf_U.mjs → src-DmJ3haPq.mjs} +95 -1
- package/openapi.json +1238 -192
- package/package.json +2 -2
package/dist/slim/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as createClient, w as client } from "../src-DmJ3haPq.mjs";
|
|
2
2
|
//#region src/slim/sdk.gen.ts
|
|
3
3
|
/**
|
|
4
4
|
* Search agents with filters
|
|
@@ -6451,6 +6451,98 @@ const saleRelated = (options) => {
|
|
|
6451
6451
|
});
|
|
6452
6452
|
};
|
|
6453
6453
|
/**
|
|
6454
|
+
* List your saved filters
|
|
6455
|
+
* The caller's saved filters (and saved CRM views) in the active organization, oldest first, optionally narrowed by target and kind.
|
|
6456
|
+
*/
|
|
6457
|
+
const listSavedFilters = (options) => {
|
|
6458
|
+
return (options?.client ?? client).get({
|
|
6459
|
+
security: [{
|
|
6460
|
+
name: "x-api-key",
|
|
6461
|
+
type: "apiKey"
|
|
6462
|
+
}, {
|
|
6463
|
+
scheme: "bearer",
|
|
6464
|
+
type: "http"
|
|
6465
|
+
}],
|
|
6466
|
+
url: "/v1/saved-filters",
|
|
6467
|
+
...options
|
|
6468
|
+
});
|
|
6469
|
+
};
|
|
6470
|
+
/**
|
|
6471
|
+
* Save a filter
|
|
6472
|
+
* 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.
|
|
6473
|
+
*/
|
|
6474
|
+
const createSavedFilter = (options) => {
|
|
6475
|
+
return (options?.client ?? client).post({
|
|
6476
|
+
security: [{
|
|
6477
|
+
name: "x-api-key",
|
|
6478
|
+
type: "apiKey"
|
|
6479
|
+
}, {
|
|
6480
|
+
scheme: "bearer",
|
|
6481
|
+
type: "http"
|
|
6482
|
+
}],
|
|
6483
|
+
url: "/v1/saved-filters",
|
|
6484
|
+
...options,
|
|
6485
|
+
headers: {
|
|
6486
|
+
"Content-Type": "application/json",
|
|
6487
|
+
...options?.headers
|
|
6488
|
+
}
|
|
6489
|
+
});
|
|
6490
|
+
};
|
|
6491
|
+
/**
|
|
6492
|
+
* Delete a saved filter
|
|
6493
|
+
*/
|
|
6494
|
+
const deleteSavedFilter = (options) => {
|
|
6495
|
+
return (options.client ?? client).delete({
|
|
6496
|
+
security: [{
|
|
6497
|
+
name: "x-api-key",
|
|
6498
|
+
type: "apiKey"
|
|
6499
|
+
}, {
|
|
6500
|
+
scheme: "bearer",
|
|
6501
|
+
type: "http"
|
|
6502
|
+
}],
|
|
6503
|
+
url: "/v1/saved-filters/{id}",
|
|
6504
|
+
...options
|
|
6505
|
+
});
|
|
6506
|
+
};
|
|
6507
|
+
/**
|
|
6508
|
+
* Get a saved filter (with the operation to run it)
|
|
6509
|
+
* 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.
|
|
6510
|
+
*/
|
|
6511
|
+
const getSavedFilter = (options) => {
|
|
6512
|
+
return (options.client ?? client).get({
|
|
6513
|
+
security: [{
|
|
6514
|
+
name: "x-api-key",
|
|
6515
|
+
type: "apiKey"
|
|
6516
|
+
}, {
|
|
6517
|
+
scheme: "bearer",
|
|
6518
|
+
type: "http"
|
|
6519
|
+
}],
|
|
6520
|
+
url: "/v1/saved-filters/{id}",
|
|
6521
|
+
...options
|
|
6522
|
+
});
|
|
6523
|
+
};
|
|
6524
|
+
/**
|
|
6525
|
+
* Update a saved filter
|
|
6526
|
+
* Rename, re-icon, or replace the query / UI state. The target is fixed. A new `query` is validated like on create.
|
|
6527
|
+
*/
|
|
6528
|
+
const updateSavedFilter = (options) => {
|
|
6529
|
+
return (options.client ?? client).patch({
|
|
6530
|
+
security: [{
|
|
6531
|
+
name: "x-api-key",
|
|
6532
|
+
type: "apiKey"
|
|
6533
|
+
}, {
|
|
6534
|
+
scheme: "bearer",
|
|
6535
|
+
type: "http"
|
|
6536
|
+
}],
|
|
6537
|
+
url: "/v1/saved-filters/{id}",
|
|
6538
|
+
...options,
|
|
6539
|
+
headers: {
|
|
6540
|
+
"Content-Type": "application/json",
|
|
6541
|
+
...options?.headers
|
|
6542
|
+
}
|
|
6543
|
+
});
|
|
6544
|
+
};
|
|
6545
|
+
/**
|
|
6454
6546
|
* Mint a scoped search token
|
|
6455
6547
|
* 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
6548
|
*/
|
|
@@ -6468,4 +6560,4 @@ const getSearchToken = (options) => {
|
|
|
6468
6560
|
});
|
|
6469
6561
|
};
|
|
6470
6562
|
//#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 };
|
|
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 };
|
|
@@ -6517,6 +6517,100 @@ var Sales = class {
|
|
|
6517
6517
|
});
|
|
6518
6518
|
}
|
|
6519
6519
|
};
|
|
6520
|
+
var SavedFilters = class {
|
|
6521
|
+
/**
|
|
6522
|
+
* List your saved filters
|
|
6523
|
+
* The caller's saved filters (and saved CRM views) in the active organization, oldest first, optionally narrowed by target and kind.
|
|
6524
|
+
*/
|
|
6525
|
+
static listSavedFilters(options) {
|
|
6526
|
+
return (options?.client ?? client).get({
|
|
6527
|
+
security: [{
|
|
6528
|
+
name: "x-api-key",
|
|
6529
|
+
type: "apiKey"
|
|
6530
|
+
}, {
|
|
6531
|
+
scheme: "bearer",
|
|
6532
|
+
type: "http"
|
|
6533
|
+
}],
|
|
6534
|
+
url: "/v1/saved-filters",
|
|
6535
|
+
...options
|
|
6536
|
+
});
|
|
6537
|
+
}
|
|
6538
|
+
/**
|
|
6539
|
+
* Save a filter
|
|
6540
|
+
* 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.
|
|
6541
|
+
*/
|
|
6542
|
+
static createSavedFilter(options) {
|
|
6543
|
+
return (options?.client ?? client).post({
|
|
6544
|
+
security: [{
|
|
6545
|
+
name: "x-api-key",
|
|
6546
|
+
type: "apiKey"
|
|
6547
|
+
}, {
|
|
6548
|
+
scheme: "bearer",
|
|
6549
|
+
type: "http"
|
|
6550
|
+
}],
|
|
6551
|
+
url: "/v1/saved-filters",
|
|
6552
|
+
...options,
|
|
6553
|
+
headers: {
|
|
6554
|
+
"Content-Type": "application/json",
|
|
6555
|
+
...options?.headers
|
|
6556
|
+
}
|
|
6557
|
+
});
|
|
6558
|
+
}
|
|
6559
|
+
/**
|
|
6560
|
+
* Delete a saved filter
|
|
6561
|
+
*/
|
|
6562
|
+
static deleteSavedFilter(options) {
|
|
6563
|
+
return (options.client ?? client).delete({
|
|
6564
|
+
security: [{
|
|
6565
|
+
name: "x-api-key",
|
|
6566
|
+
type: "apiKey"
|
|
6567
|
+
}, {
|
|
6568
|
+
scheme: "bearer",
|
|
6569
|
+
type: "http"
|
|
6570
|
+
}],
|
|
6571
|
+
url: "/v1/saved-filters/{id}",
|
|
6572
|
+
...options
|
|
6573
|
+
});
|
|
6574
|
+
}
|
|
6575
|
+
/**
|
|
6576
|
+
* Get a saved filter (with the operation to run it)
|
|
6577
|
+
* 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.
|
|
6578
|
+
*/
|
|
6579
|
+
static getSavedFilter(options) {
|
|
6580
|
+
return (options.client ?? client).get({
|
|
6581
|
+
security: [{
|
|
6582
|
+
name: "x-api-key",
|
|
6583
|
+
type: "apiKey"
|
|
6584
|
+
}, {
|
|
6585
|
+
scheme: "bearer",
|
|
6586
|
+
type: "http"
|
|
6587
|
+
}],
|
|
6588
|
+
url: "/v1/saved-filters/{id}",
|
|
6589
|
+
...options
|
|
6590
|
+
});
|
|
6591
|
+
}
|
|
6592
|
+
/**
|
|
6593
|
+
* Update a saved filter
|
|
6594
|
+
* Rename, re-icon, or replace the query / UI state. The target is fixed. A new `query` is validated like on create.
|
|
6595
|
+
*/
|
|
6596
|
+
static updateSavedFilter(options) {
|
|
6597
|
+
return (options.client ?? client).patch({
|
|
6598
|
+
security: [{
|
|
6599
|
+
name: "x-api-key",
|
|
6600
|
+
type: "apiKey"
|
|
6601
|
+
}, {
|
|
6602
|
+
scheme: "bearer",
|
|
6603
|
+
type: "http"
|
|
6604
|
+
}],
|
|
6605
|
+
url: "/v1/saved-filters/{id}",
|
|
6606
|
+
...options,
|
|
6607
|
+
headers: {
|
|
6608
|
+
"Content-Type": "application/json",
|
|
6609
|
+
...options?.headers
|
|
6610
|
+
}
|
|
6611
|
+
});
|
|
6612
|
+
}
|
|
6613
|
+
};
|
|
6520
6614
|
//#endregion
|
|
6521
6615
|
//#region src/index.ts
|
|
6522
6616
|
/**
|
|
@@ -6555,4 +6649,4 @@ function createClient$1(config = {}) {
|
|
|
6555
6649
|
};
|
|
6556
6650
|
}
|
|
6557
6651
|
//#endregion
|
|
6558
|
-
export {
|
|
6652
|
+
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 };
|