@model-match/api 3.47.0 → 3.48.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/RELEASE_NOTES.md +12 -0
- package/dist/{index-BhsKtXOJ.d.mts → index-cCkX3-4W.d.mts} +379 -24
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/slim/index.d.mts +32 -6
- package/dist/slim/index.mjs +80 -6
- package/dist/{src-D2hEr2wd.mjs → src-CCp2TVpk.mjs} +86 -4
- package/openapi.json +1077 -263
- package/package.json +1 -1
package/dist/slim/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as client, n as createClient } from "../src-
|
|
1
|
+
import { S as client, n as createClient } from "../src-CCp2TVpk.mjs";
|
|
2
2
|
//#region src/slim/sdk.gen.ts
|
|
3
3
|
/**
|
|
4
4
|
* Search agents with filters
|
|
@@ -5905,7 +5905,7 @@ const saleRelated = (options) => (options.client ?? client).get({
|
|
|
5905
5905
|
/**
|
|
5906
5906
|
* List your saved filters
|
|
5907
5907
|
*
|
|
5908
|
-
* The caller's saved filters (and saved CRM views) in the active organization, oldest first, optionally narrowed by target and
|
|
5908
|
+
* The caller's saved filters (and saved CRM views) in the active organization plus the ones shared with them, oldest first, optionally narrowed by target, kind and ownership. `isOwner` / `permission` / `canEdit` on each row say whose it is and what the caller may do.
|
|
5909
5909
|
*/
|
|
5910
5910
|
const listSavedFilters = (options) => (options?.client ?? client).get({
|
|
5911
5911
|
security: [{
|
|
@@ -5921,7 +5921,7 @@ const listSavedFilters = (options) => (options?.client ?? client).get({
|
|
|
5921
5921
|
/**
|
|
5922
5922
|
* Save a filter
|
|
5923
5923
|
*
|
|
5924
|
-
* 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.
|
|
5924
|
+
* 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. New filters are private. Limit: 25 you own per target (filters shared with you do not count).
|
|
5925
5925
|
*/
|
|
5926
5926
|
const createSavedFilter = (options) => (options?.client ?? client).post({
|
|
5927
5927
|
security: [{
|
|
@@ -5940,6 +5940,8 @@ const createSavedFilter = (options) => (options?.client ?? client).post({
|
|
|
5940
5940
|
});
|
|
5941
5941
|
/**
|
|
5942
5942
|
* Delete a saved filter
|
|
5943
|
+
*
|
|
5944
|
+
* Owner or workspace admin only; its shares go with it. A filter shared with you cannot be deleted by you.
|
|
5943
5945
|
*/
|
|
5944
5946
|
const deleteSavedFilter = (options) => (options.client ?? client).delete({
|
|
5945
5947
|
security: [{
|
|
@@ -5955,7 +5957,7 @@ const deleteSavedFilter = (options) => (options.client ?? client).delete({
|
|
|
5955
5957
|
/**
|
|
5956
5958
|
* Get a saved filter (with the operation to run it)
|
|
5957
5959
|
*
|
|
5958
|
-
* 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.
|
|
5960
|
+
* Returns the saved `query` and the `operationId` to run it with — your own filter or one shared with you. Check `fidelity` (`partial` → `unmapped` lists what the query omits; `ui_only` → nothing to run) and `stale` (the query no longer validates) before running.
|
|
5959
5961
|
*/
|
|
5960
5962
|
const getSavedFilter = (options) => (options.client ?? client).get({
|
|
5961
5963
|
security: [{
|
|
@@ -5971,7 +5973,7 @@ const getSavedFilter = (options) => (options.client ?? client).get({
|
|
|
5971
5973
|
/**
|
|
5972
5974
|
* Update a saved filter
|
|
5973
5975
|
*
|
|
5974
|
-
* Rename, re-icon, or replace the query / UI state. The target is fixed. A new `query` is validated like on create.
|
|
5976
|
+
* Rename, re-icon, or replace the query / UI state (owner, `editor`, or workspace admin). The target is fixed. A new `query` is validated like on create. `visibility` / `orgWidePermission` change who can see it (owner or workspace admin only).
|
|
5975
5977
|
*/
|
|
5976
5978
|
const updateSavedFilter = (options) => (options.client ?? client).patch({
|
|
5977
5979
|
security: [{
|
|
@@ -5989,6 +5991,78 @@ const updateSavedFilter = (options) => (options.client ?? client).patch({
|
|
|
5989
5991
|
}
|
|
5990
5992
|
});
|
|
5991
5993
|
/**
|
|
5994
|
+
* List the workspace members a saved filter can be shared with
|
|
5995
|
+
*
|
|
5996
|
+
* Owner or workspace admin only. Every member of the workspace, the owner and existing shares included — subtract them for the picker.
|
|
5997
|
+
*/
|
|
5998
|
+
const listSavedFilterShareableMembers = (options) => (options.client ?? client).get({
|
|
5999
|
+
security: [{
|
|
6000
|
+
name: "x-api-key",
|
|
6001
|
+
type: "apiKey"
|
|
6002
|
+
}, {
|
|
6003
|
+
scheme: "bearer",
|
|
6004
|
+
type: "http"
|
|
6005
|
+
}],
|
|
6006
|
+
url: "/v1/saved-filters/{id}/shareable-members",
|
|
6007
|
+
...options
|
|
6008
|
+
});
|
|
6009
|
+
/**
|
|
6010
|
+
* Stop sharing a saved filter with a member
|
|
6011
|
+
*
|
|
6012
|
+
* Owner or workspace admin only. Removes that member's share; a no-op (`revoked: false`) when there was none.
|
|
6013
|
+
*/
|
|
6014
|
+
const revokeSavedFilterAccess = (options) => (options.client ?? client).delete({
|
|
6015
|
+
security: [{
|
|
6016
|
+
name: "x-api-key",
|
|
6017
|
+
type: "apiKey"
|
|
6018
|
+
}, {
|
|
6019
|
+
scheme: "bearer",
|
|
6020
|
+
type: "http"
|
|
6021
|
+
}],
|
|
6022
|
+
url: "/v1/saved-filters/{id}/shares",
|
|
6023
|
+
...options,
|
|
6024
|
+
headers: {
|
|
6025
|
+
"Content-Type": "application/json",
|
|
6026
|
+
...options.headers
|
|
6027
|
+
}
|
|
6028
|
+
});
|
|
6029
|
+
/**
|
|
6030
|
+
* Get who a saved filter is shared with
|
|
6031
|
+
*
|
|
6032
|
+
* Visibility, owner, the workspace-wide role and every per-user share. Readable by the owner, an `editor`, or a workspace admin.
|
|
6033
|
+
*/
|
|
6034
|
+
const getSavedFilterShares = (options) => (options.client ?? client).get({
|
|
6035
|
+
security: [{
|
|
6036
|
+
name: "x-api-key",
|
|
6037
|
+
type: "apiKey"
|
|
6038
|
+
}, {
|
|
6039
|
+
scheme: "bearer",
|
|
6040
|
+
type: "http"
|
|
6041
|
+
}],
|
|
6042
|
+
url: "/v1/saved-filters/{id}/shares",
|
|
6043
|
+
...options
|
|
6044
|
+
});
|
|
6045
|
+
/**
|
|
6046
|
+
* Share a saved filter with a workspace member
|
|
6047
|
+
*
|
|
6048
|
+
* Owner or workspace admin only. Re-sharing updates the member's role. Sharing a private filter makes it `shared`. Sharing with the owner is a no-op (`granted: false`).
|
|
6049
|
+
*/
|
|
6050
|
+
const grantSavedFilterAccess = (options) => (options.client ?? client).post({
|
|
6051
|
+
security: [{
|
|
6052
|
+
name: "x-api-key",
|
|
6053
|
+
type: "apiKey"
|
|
6054
|
+
}, {
|
|
6055
|
+
scheme: "bearer",
|
|
6056
|
+
type: "http"
|
|
6057
|
+
}],
|
|
6058
|
+
url: "/v1/saved-filters/{id}/shares",
|
|
6059
|
+
...options,
|
|
6060
|
+
headers: {
|
|
6061
|
+
"Content-Type": "application/json",
|
|
6062
|
+
...options.headers
|
|
6063
|
+
}
|
|
6064
|
+
});
|
|
6065
|
+
/**
|
|
5992
6066
|
* Mint a scoped search token
|
|
5993
6067
|
*
|
|
5994
6068
|
* 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).
|
|
@@ -6005,4 +6079,4 @@ const getSearchToken = (options) => (options?.client ?? client).get({
|
|
|
6005
6079
|
...options
|
|
6006
6080
|
});
|
|
6007
6081
|
//#endregion
|
|
6008
|
-
export { client as _heyApiClient, actionCrmCallerId, addCrmContactMethod, addCrmListMember, addCrmListMembersBulk, addCrmNote, addCrmRecord, addCrmRecordsBulk, addWatchedAgent, addWatchedArea, addWatchedDocument, agentAnalyticsChart, agentAnalyticsSummary, agentAnalyticsTimeSeries, agentBuilders, agentCities, agentCompanies, agentCounties, agentLenders, agentLoanMix, agentMarkets, agentMortgagedTimeSeries, agentOffices, agentOriginators, agentProperties, agentRelated, agentSales, agentStates, agentTitleCompanies, agentTitleCompaniesTimeSeries, agentZipCodes, analyzeCrmCall, applyCrmEnrichment, applyCrmListMiUpdates, applyCrmListTemplate, applyCrmMiUpdates, branchAnalyticsChart, branchAnalyticsSummary, branchAnalyticsTimeSeries, branchCities, branchCounties, branchLenders, branchLoans, branchOriginators, branchRoster, branchStates, branchTitleCompanies, cancelAgentsBulkDeliveryJob, cancelBranchesBulkDeliveryJob, cancelCompaniesBulkDeliveryJob, cancelEnrichBulkJob, cancelLoansBulkDeliveryJob, cancelOriginatorsBulkDeliveryJob, cancelPropertiesBulkDeliveryJob, checkCrmImport, companyAgents, companyAnalyticsChart, companyAnalyticsSummary, companyAnalyticsTimeSeries, companyBranches, companyBrokers, companyCities, companyCounties, companyDepartureStatus, companyEarlyExits, companyEmployeeStats, companyEmployment, companyHeadcount, companyLenders, companyMarkets, companyMoverProduction, companyOffices, companyOriginators, companyRelated, companySponsoredIndividuals, companySponsorshipMovement, companyStates, companyTalentFlow, companyTitleCompanies, companyZipCodes, countAgents, countBranches, countCompanies, countLenders, countLoans, countOffices, countOriginators, countProperties, countSales, createAgentContactSubmission, createAlertSubscription, createClient, createCrmList, createCrmListField, createCrmManualRecord, createCrmMeeting, createCrmObjectField, createCrmRecord, createCrmTask, createCrmTemplate, createMyAlertRecipe, createOriginatorContactSubmission, createSavedFilter, crmLenderChannels, crmLoLoanMix, crmLoMomentum, crmLoSponsorLocation, crmSimilarOriginators, declineCrmMiUpdate, deleteAlertSubscription, deleteCrmCallerId, deleteCrmList, deleteCrmListField, deleteCrmMeeting, deleteCrmNote, deleteCrmObjectField, deleteCrmRecord, deleteCrmRecords, deleteCrmTask, deleteCrmTemplate, deleteMyAlertRecipe, deleteSavedFilter, describeCrmRecordsOnAdd, dismissCrmListMiUpdates, dismissCrmMiUpdates, editCrmLoggedActivity, editCrmNote, enrichPropertiesBatch, enrichPropertiesBulk, enrichProperty, filterCrmListMembers, findCrmRecordByNmls, generateCrmRecordDescription, getAgent, getAgentsBulkDeliveryJob, getAlertConditions, getAlertEmailTokens, getAlertUnreadCount, getBranch, getBranchesBulkDeliveryJob, getCompaniesBulkDeliveryJob, getCompany, getCrmActiveCall, getCrmActivityReport, getCrmCall, getCrmCallTranscript, getCrmCustomValues, getCrmImport, getCrmImportJob, getCrmList, getCrmListMemberIds, getCrmListMiUpdates, getCrmListShares, getCrmMiUpdates, getCrmOutcomesReport, getCrmOverrides, getCrmProductionEnrichJob, getCrmRecordAccess, getCrmRecordAccessRequest, getCrmRecordConnections, getCrmRecordMemberIds, getCrmRecordProfile, getCrmTemplate, getCrmTemplateShares, getEnrichBulkJob, getHubspotPushStatus, getLender, getLoan, getLoansBulkDeliveryJob, getMe, getMeCredits, getMePlan, getOffice, getOriginator, getOriginatorsBulkDeliveryJob, getPropertiesBulkDeliveryJob, getProperty, getRealtimeConfig, getSale, getSavedFilter, getSearchToken, grantCrmListAccess, grantCrmRecordAccess, grantCrmRecordAccessRequest, hangupCrmCall, importCrmRecords, instantSearch, lenderCities, lenderCompanies, lenderCounties, lenderOriginators, lenderStates, linkCrmRecord, listAgentOfficeGroups, listAgents, listAlertDigests, listAlertLog, listAlertRecipes, listAlertSubscriptions, listBranches, listCompanies, listCrmActivity, listCrmCallerIds, listCrmCustomFields, listCrmImportRows, listCrmImports, listCrmListAssignees, listCrmListFields, listCrmListMemberships, listCrmListShareableMembers, listCrmLists, listCrmMeetings, listCrmMembers, listCrmOrgMembers, listCrmRecordShareableMembers, listCrmRecordShares, listCrmReferencedActivity, listCrmTasks, listCrmTemplates, listCrmWorkspaceMeetings, listCrmWorkspaceTasks, listEnrichments, listLenders, listLoans, listMarket, listMyAlertRecipes, listOffices, listOriginators, 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, officeBuilders, officeLenders, officeLoanTypes, officeOriginators, originatorAgents, originatorAnalyticsChart, originatorAnalyticsSummary, originatorAnalyticsTimeSeries, originatorBranches, originatorBrokers, originatorBuilders, originatorCitiesBreakdown, originatorCompanies, originatorCountiesBreakdown, originatorLenders, originatorLoans, originatorMarkets, originatorOffices, originatorProperties, originatorRelated, originatorRetention, originatorStatesBreakdown, originatorTitleCompanies, originatorZipCodes, placeCrmCall, previewAlertEmailTemplate, previewAlertRecipe, previewAlerts, previewMyAlertRecipe, propertiesAnalyticsChart, propertiesAnalyticsSummary, propertyRelated, pushToHubspot, reconcileCrmMeetings, refreshCrmRecordMirror, removeCrmContactMethod, removeCrmListMember, removeWatchedAgent, removeWatchedArea, removeWatchedDocument, requestCrmAccess, requestCrmRecordAccess, resolveProperties, retrieveLocation, revokeCrmListAccess, revokeCrmRecordAccess, saleRelated, salesAnalyticsChart, salesAnalyticsSummary, salesAnalyticsTimeSeries, searchCrmEmailRecipients, searchCrmMatchCandidates, searchCrmMentionRecords, searchCrmRecords, searchProperties, sendCrmEmail, setCrmCallAnalysis, setCrmCustomValue, setCrmOverride, setCrmRecordOwner, setDefaultCrmCallerId, shareCrmTemplate, submitAgentsBulkDelivery, submitBranchesBulkDelivery, submitCompaniesBulkDelivery, submitLoansBulkDelivery, submitOriginatorsBulkDelivery, submitPropertiesBulkDelivery, subscribeAlertRecipe, suggestLocations, suggestOfficeNames, transcribeCrmCall, transferCrmListOwnership, undoCrmImport, unshareCrmTemplate, unsubscribeAlertRecipe, updateAlertConditions, updateCrmContactMethod, updateCrmList, updateCrmListField, updateCrmMeeting, updateCrmObjectField, updateCrmTask, updateCrmTemplate, updateMe, updateMyAlertRecipe, updateSavedFilter };
|
|
6082
|
+
export { client as _heyApiClient, actionCrmCallerId, addCrmContactMethod, addCrmListMember, addCrmListMembersBulk, addCrmNote, addCrmRecord, addCrmRecordsBulk, addWatchedAgent, addWatchedArea, addWatchedDocument, agentAnalyticsChart, agentAnalyticsSummary, agentAnalyticsTimeSeries, agentBuilders, agentCities, agentCompanies, agentCounties, agentLenders, agentLoanMix, agentMarkets, agentMortgagedTimeSeries, agentOffices, agentOriginators, agentProperties, agentRelated, agentSales, agentStates, agentTitleCompanies, agentTitleCompaniesTimeSeries, agentZipCodes, analyzeCrmCall, applyCrmEnrichment, applyCrmListMiUpdates, applyCrmListTemplate, applyCrmMiUpdates, branchAnalyticsChart, branchAnalyticsSummary, branchAnalyticsTimeSeries, branchCities, branchCounties, branchLenders, branchLoans, branchOriginators, branchRoster, branchStates, branchTitleCompanies, cancelAgentsBulkDeliveryJob, cancelBranchesBulkDeliveryJob, cancelCompaniesBulkDeliveryJob, cancelEnrichBulkJob, cancelLoansBulkDeliveryJob, cancelOriginatorsBulkDeliveryJob, cancelPropertiesBulkDeliveryJob, checkCrmImport, companyAgents, companyAnalyticsChart, companyAnalyticsSummary, companyAnalyticsTimeSeries, companyBranches, companyBrokers, companyCities, companyCounties, companyDepartureStatus, companyEarlyExits, companyEmployeeStats, companyEmployment, companyHeadcount, companyLenders, companyMarkets, companyMoverProduction, companyOffices, companyOriginators, companyRelated, companySponsoredIndividuals, companySponsorshipMovement, companyStates, companyTalentFlow, companyTitleCompanies, companyZipCodes, countAgents, countBranches, countCompanies, countLenders, countLoans, countOffices, countOriginators, countProperties, countSales, createAgentContactSubmission, createAlertSubscription, createClient, createCrmList, createCrmListField, createCrmManualRecord, createCrmMeeting, createCrmObjectField, createCrmRecord, createCrmTask, createCrmTemplate, createMyAlertRecipe, createOriginatorContactSubmission, createSavedFilter, crmLenderChannels, crmLoLoanMix, crmLoMomentum, crmLoSponsorLocation, crmSimilarOriginators, declineCrmMiUpdate, deleteAlertSubscription, deleteCrmCallerId, deleteCrmList, deleteCrmListField, deleteCrmMeeting, deleteCrmNote, deleteCrmObjectField, deleteCrmRecord, deleteCrmRecords, deleteCrmTask, deleteCrmTemplate, deleteMyAlertRecipe, deleteSavedFilter, describeCrmRecordsOnAdd, dismissCrmListMiUpdates, dismissCrmMiUpdates, editCrmLoggedActivity, editCrmNote, enrichPropertiesBatch, enrichPropertiesBulk, enrichProperty, filterCrmListMembers, findCrmRecordByNmls, generateCrmRecordDescription, getAgent, getAgentsBulkDeliveryJob, getAlertConditions, getAlertEmailTokens, getAlertUnreadCount, getBranch, getBranchesBulkDeliveryJob, getCompaniesBulkDeliveryJob, getCompany, getCrmActiveCall, getCrmActivityReport, getCrmCall, getCrmCallTranscript, getCrmCustomValues, getCrmImport, getCrmImportJob, getCrmList, getCrmListMemberIds, getCrmListMiUpdates, getCrmListShares, getCrmMiUpdates, getCrmOutcomesReport, getCrmOverrides, getCrmProductionEnrichJob, getCrmRecordAccess, getCrmRecordAccessRequest, getCrmRecordConnections, getCrmRecordMemberIds, getCrmRecordProfile, getCrmTemplate, getCrmTemplateShares, getEnrichBulkJob, getHubspotPushStatus, getLender, getLoan, getLoansBulkDeliveryJob, getMe, getMeCredits, getMePlan, getOffice, getOriginator, getOriginatorsBulkDeliveryJob, getPropertiesBulkDeliveryJob, getProperty, getRealtimeConfig, getSale, getSavedFilter, getSavedFilterShares, getSearchToken, grantCrmListAccess, grantCrmRecordAccess, grantCrmRecordAccessRequest, grantSavedFilterAccess, hangupCrmCall, importCrmRecords, instantSearch, lenderCities, lenderCompanies, lenderCounties, lenderOriginators, lenderStates, linkCrmRecord, listAgentOfficeGroups, listAgents, listAlertDigests, listAlertLog, listAlertRecipes, listAlertSubscriptions, listBranches, listCompanies, listCrmActivity, listCrmCallerIds, listCrmCustomFields, listCrmImportRows, listCrmImports, listCrmListAssignees, listCrmListFields, listCrmListMemberships, listCrmListShareableMembers, listCrmLists, listCrmMeetings, listCrmMembers, listCrmOrgMembers, listCrmRecordShareableMembers, listCrmRecordShares, listCrmReferencedActivity, listCrmTasks, listCrmTemplates, listCrmWorkspaceMeetings, listCrmWorkspaceTasks, listEnrichments, listLenders, listLoans, listMarket, listMyAlertRecipes, listOffices, listOriginators, listProperties, listSales, listSavedFilterShareableMembers, 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, officeBuilders, officeLenders, officeLoanTypes, officeOriginators, originatorAgents, originatorAnalyticsChart, originatorAnalyticsSummary, originatorAnalyticsTimeSeries, originatorBranches, originatorBrokers, originatorBuilders, originatorCitiesBreakdown, originatorCompanies, originatorCountiesBreakdown, originatorLenders, originatorLoans, originatorMarkets, originatorOffices, originatorProperties, originatorRelated, originatorRetention, originatorStatesBreakdown, originatorTitleCompanies, originatorZipCodes, placeCrmCall, previewAlertEmailTemplate, previewAlertRecipe, previewAlerts, previewMyAlertRecipe, propertiesAnalyticsChart, propertiesAnalyticsSummary, propertyRelated, pushToHubspot, reconcileCrmMeetings, refreshCrmRecordMirror, removeCrmContactMethod, removeCrmListMember, removeWatchedAgent, removeWatchedArea, removeWatchedDocument, requestCrmAccess, requestCrmRecordAccess, resolveProperties, retrieveLocation, revokeCrmListAccess, revokeCrmRecordAccess, revokeSavedFilterAccess, saleRelated, salesAnalyticsChart, salesAnalyticsSummary, salesAnalyticsTimeSeries, searchCrmEmailRecipients, searchCrmMatchCandidates, searchCrmMentionRecords, searchCrmRecords, searchProperties, sendCrmEmail, setCrmCallAnalysis, setCrmCustomValue, setCrmOverride, setCrmRecordOwner, setDefaultCrmCallerId, shareCrmTemplate, submitAgentsBulkDelivery, submitBranchesBulkDelivery, submitCompaniesBulkDelivery, submitLoansBulkDelivery, submitOriginatorsBulkDelivery, submitPropertiesBulkDelivery, subscribeAlertRecipe, suggestLocations, suggestOfficeNames, transcribeCrmCall, transferCrmListOwnership, undoCrmImport, unshareCrmTemplate, unsubscribeAlertRecipe, updateAlertConditions, updateCrmContactMethod, updateCrmList, updateCrmListField, updateCrmMeeting, updateCrmObjectField, updateCrmTask, updateCrmTemplate, updateMe, updateMyAlertRecipe, updateSavedFilter };
|
|
@@ -7250,7 +7250,7 @@ var SavedFilters = class {
|
|
|
7250
7250
|
/**
|
|
7251
7251
|
* List your saved filters
|
|
7252
7252
|
*
|
|
7253
|
-
* The caller's saved filters (and saved CRM views) in the active organization, oldest first, optionally narrowed by target and
|
|
7253
|
+
* The caller's saved filters (and saved CRM views) in the active organization plus the ones shared with them, oldest first, optionally narrowed by target, kind and ownership. `isOwner` / `permission` / `canEdit` on each row say whose it is and what the caller may do.
|
|
7254
7254
|
*/
|
|
7255
7255
|
static listSavedFilters(options) {
|
|
7256
7256
|
return (options?.client ?? client).get({
|
|
@@ -7268,7 +7268,7 @@ var SavedFilters = class {
|
|
|
7268
7268
|
/**
|
|
7269
7269
|
* Save a filter
|
|
7270
7270
|
*
|
|
7271
|
-
* 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.
|
|
7271
|
+
* 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. New filters are private. Limit: 25 you own per target (filters shared with you do not count).
|
|
7272
7272
|
*/
|
|
7273
7273
|
static createSavedFilter(options) {
|
|
7274
7274
|
return (options?.client ?? client).post({
|
|
@@ -7289,6 +7289,8 @@ var SavedFilters = class {
|
|
|
7289
7289
|
}
|
|
7290
7290
|
/**
|
|
7291
7291
|
* Delete a saved filter
|
|
7292
|
+
*
|
|
7293
|
+
* Owner or workspace admin only; its shares go with it. A filter shared with you cannot be deleted by you.
|
|
7292
7294
|
*/
|
|
7293
7295
|
static deleteSavedFilter(options) {
|
|
7294
7296
|
return (options.client ?? client).delete({
|
|
@@ -7306,7 +7308,7 @@ var SavedFilters = class {
|
|
|
7306
7308
|
/**
|
|
7307
7309
|
* Get a saved filter (with the operation to run it)
|
|
7308
7310
|
*
|
|
7309
|
-
* 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.
|
|
7311
|
+
* Returns the saved `query` and the `operationId` to run it with — your own filter or one shared with you. Check `fidelity` (`partial` → `unmapped` lists what the query omits; `ui_only` → nothing to run) and `stale` (the query no longer validates) before running.
|
|
7310
7312
|
*/
|
|
7311
7313
|
static getSavedFilter(options) {
|
|
7312
7314
|
return (options.client ?? client).get({
|
|
@@ -7324,7 +7326,7 @@ var SavedFilters = class {
|
|
|
7324
7326
|
/**
|
|
7325
7327
|
* Update a saved filter
|
|
7326
7328
|
*
|
|
7327
|
-
* Rename, re-icon, or replace the query / UI state. The target is fixed. A new `query` is validated like on create.
|
|
7329
|
+
* Rename, re-icon, or replace the query / UI state (owner, `editor`, or workspace admin). The target is fixed. A new `query` is validated like on create. `visibility` / `orgWidePermission` change who can see it (owner or workspace admin only).
|
|
7328
7330
|
*/
|
|
7329
7331
|
static updateSavedFilter(options) {
|
|
7330
7332
|
return (options.client ?? client).patch({
|
|
@@ -7343,6 +7345,86 @@ var SavedFilters = class {
|
|
|
7343
7345
|
}
|
|
7344
7346
|
});
|
|
7345
7347
|
}
|
|
7348
|
+
/**
|
|
7349
|
+
* List the workspace members a saved filter can be shared with
|
|
7350
|
+
*
|
|
7351
|
+
* Owner or workspace admin only. Every member of the workspace, the owner and existing shares included — subtract them for the picker.
|
|
7352
|
+
*/
|
|
7353
|
+
static listSavedFilterShareableMembers(options) {
|
|
7354
|
+
return (options.client ?? client).get({
|
|
7355
|
+
security: [{
|
|
7356
|
+
name: "x-api-key",
|
|
7357
|
+
type: "apiKey"
|
|
7358
|
+
}, {
|
|
7359
|
+
scheme: "bearer",
|
|
7360
|
+
type: "http"
|
|
7361
|
+
}],
|
|
7362
|
+
url: "/v1/saved-filters/{id}/shareable-members",
|
|
7363
|
+
...options
|
|
7364
|
+
});
|
|
7365
|
+
}
|
|
7366
|
+
/**
|
|
7367
|
+
* Stop sharing a saved filter with a member
|
|
7368
|
+
*
|
|
7369
|
+
* Owner or workspace admin only. Removes that member's share; a no-op (`revoked: false`) when there was none.
|
|
7370
|
+
*/
|
|
7371
|
+
static revokeSavedFilterAccess(options) {
|
|
7372
|
+
return (options.client ?? client).delete({
|
|
7373
|
+
security: [{
|
|
7374
|
+
name: "x-api-key",
|
|
7375
|
+
type: "apiKey"
|
|
7376
|
+
}, {
|
|
7377
|
+
scheme: "bearer",
|
|
7378
|
+
type: "http"
|
|
7379
|
+
}],
|
|
7380
|
+
url: "/v1/saved-filters/{id}/shares",
|
|
7381
|
+
...options,
|
|
7382
|
+
headers: {
|
|
7383
|
+
"Content-Type": "application/json",
|
|
7384
|
+
...options.headers
|
|
7385
|
+
}
|
|
7386
|
+
});
|
|
7387
|
+
}
|
|
7388
|
+
/**
|
|
7389
|
+
* Get who a saved filter is shared with
|
|
7390
|
+
*
|
|
7391
|
+
* Visibility, owner, the workspace-wide role and every per-user share. Readable by the owner, an `editor`, or a workspace admin.
|
|
7392
|
+
*/
|
|
7393
|
+
static getSavedFilterShares(options) {
|
|
7394
|
+
return (options.client ?? client).get({
|
|
7395
|
+
security: [{
|
|
7396
|
+
name: "x-api-key",
|
|
7397
|
+
type: "apiKey"
|
|
7398
|
+
}, {
|
|
7399
|
+
scheme: "bearer",
|
|
7400
|
+
type: "http"
|
|
7401
|
+
}],
|
|
7402
|
+
url: "/v1/saved-filters/{id}/shares",
|
|
7403
|
+
...options
|
|
7404
|
+
});
|
|
7405
|
+
}
|
|
7406
|
+
/**
|
|
7407
|
+
* Share a saved filter with a workspace member
|
|
7408
|
+
*
|
|
7409
|
+
* Owner or workspace admin only. Re-sharing updates the member's role. Sharing a private filter makes it `shared`. Sharing with the owner is a no-op (`granted: false`).
|
|
7410
|
+
*/
|
|
7411
|
+
static grantSavedFilterAccess(options) {
|
|
7412
|
+
return (options.client ?? client).post({
|
|
7413
|
+
security: [{
|
|
7414
|
+
name: "x-api-key",
|
|
7415
|
+
type: "apiKey"
|
|
7416
|
+
}, {
|
|
7417
|
+
scheme: "bearer",
|
|
7418
|
+
type: "http"
|
|
7419
|
+
}],
|
|
7420
|
+
url: "/v1/saved-filters/{id}/shares",
|
|
7421
|
+
...options,
|
|
7422
|
+
headers: {
|
|
7423
|
+
"Content-Type": "application/json",
|
|
7424
|
+
...options.headers
|
|
7425
|
+
}
|
|
7426
|
+
});
|
|
7427
|
+
}
|
|
7346
7428
|
};
|
|
7347
7429
|
//#endregion
|
|
7348
7430
|
//#region src/index.ts
|