lumnisai 0.5.52 → 0.5.53
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.cjs +21 -5
- package/dist/index.d.cts +67 -6
- package/dist/index.d.mts +67 -6
- package/dist/index.d.ts +67 -6
- package/dist/index.mjs +21 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -970,7 +970,7 @@ class ContactRelationshipsResource {
|
|
|
970
970
|
}
|
|
971
971
|
}
|
|
972
972
|
|
|
973
|
-
const COMPANY_SEARCH_PASSTHROUGH_KEYS = ["filters", "properties"];
|
|
973
|
+
const COMPANY_SEARCH_PASSTHROUGH_KEYS = ["filters", "properties", "owners"];
|
|
974
974
|
class CrmResource {
|
|
975
975
|
constructor(http) {
|
|
976
976
|
this.http = http;
|
|
@@ -1084,6 +1084,11 @@ class CrmResource {
|
|
|
1084
1084
|
* Field metadata is provider-shaped, so the return type narrows on the
|
|
1085
1085
|
* `provider` you pass.
|
|
1086
1086
|
*
|
|
1087
|
+
* A definition with `references: 'owner'` holds a CRM user id; request it
|
|
1088
|
+
* in {@link searchCompanies} to have each company's `owners` map resolve
|
|
1089
|
+
* it to a name and email. HubSpot's is `hubspot_owner_id`; Attio has no
|
|
1090
|
+
* standard one, so take the actor-reference slug this listing flags.
|
|
1091
|
+
*
|
|
1087
1092
|
* Failure modes: `403 crm_access_denied` and `503 crm_access_unavailable`
|
|
1088
1093
|
* (the `crmUserId` grant), `409 crm_not_connected` (no single active
|
|
1089
1094
|
* connection for the owner), `404 crm_property_not_found`,
|
|
@@ -1104,6 +1109,9 @@ class CrmResource {
|
|
|
1104
1109
|
* propertyName: 'employee_range',
|
|
1105
1110
|
* })
|
|
1106
1111
|
* console.log(tier.properties[0].options)
|
|
1112
|
+
*
|
|
1113
|
+
* // The field that can fill an owner column.
|
|
1114
|
+
* const ownerField = properties.find(p => p.references === 'owner')
|
|
1107
1115
|
* ```
|
|
1108
1116
|
*/
|
|
1109
1117
|
async getCompanyProperties(params) {
|
|
@@ -1130,10 +1138,18 @@ class CrmResource {
|
|
|
1130
1138
|
* group, OR between groups) with string comparison values; Attio takes its
|
|
1131
1139
|
* record-query object with `$`-prefixed operators. Both cross the wire
|
|
1132
1140
|
* verbatim — the SDK's camelCase ↔ snake_case conversion is switched off for
|
|
1133
|
-
* `filters` and for each company's `properties`
|
|
1134
|
-
* property names. Discover valid names and operators with
|
|
1141
|
+
* `filters` and for each company's `properties` and `owners` maps, whose
|
|
1142
|
+
* keys are CRM property names. Discover valid names and operators with
|
|
1135
1143
|
* {@link getCompanyProperties}.
|
|
1136
1144
|
*
|
|
1145
|
+
* Requesting an owner-typed field (`references: 'owner'` in its definition)
|
|
1146
|
+
* also resolves it: `owners[field]` is the CRM user's `{ id, name, email }`,
|
|
1147
|
+
* null when the company has none, with `name`/`email` null when the id is
|
|
1148
|
+
* not in the user directory. Resolution is part of the page — if the
|
|
1149
|
+
* directory read fails the whole request fails with the codes below rather
|
|
1150
|
+
* than returning half-resolved owners. Cost: any requested field adds one
|
|
1151
|
+
* definitions read per page; an owner field adds one directory read on top.
|
|
1152
|
+
*
|
|
1137
1153
|
* Paging is cursor-based: pass the previous page's `nextCursor` back as
|
|
1138
1154
|
* `cursor` and keep every other field identical, because HubSpot pages by
|
|
1139
1155
|
* record id inside the original query. `nextCursor: null` is the last page.
|
|
@@ -1161,13 +1177,13 @@ class CrmResource {
|
|
|
1161
1177
|
* ],
|
|
1162
1178
|
* }],
|
|
1163
1179
|
* },
|
|
1164
|
-
* properties: ['numberofemployees', 'industry'],
|
|
1180
|
+
* properties: ['numberofemployees', 'industry', 'hubspot_owner_id'],
|
|
1165
1181
|
* limit: 50,
|
|
1166
1182
|
* }
|
|
1167
1183
|
*
|
|
1168
1184
|
* const page = await client.crm.searchCompanies(request)
|
|
1169
1185
|
* for (const company of page.companies)
|
|
1170
|
-
* console.log(company.name, company.properties.industry)
|
|
1186
|
+
* console.log(company.name, company.properties.industry, company.owners?.hubspot_owner_id?.name)
|
|
1171
1187
|
*
|
|
1172
1188
|
* // Same query, next page.
|
|
1173
1189
|
* if (page.nextCursor)
|
package/dist/index.d.cts
CHANGED
|
@@ -987,6 +987,13 @@ interface CrmHubspotCompanyProperty {
|
|
|
987
987
|
externalOptions: boolean;
|
|
988
988
|
/** Hidden in the HubSpot UI. Archived properties are never returned. */
|
|
989
989
|
hidden: boolean;
|
|
990
|
+
/**
|
|
991
|
+
* `owner` when the value identifies a CRM user (`hubspot_owner_id` and any
|
|
992
|
+
* custom owner-typed property); null otherwise. Request such a field in
|
|
993
|
+
* {@link CrmHubspotCompanySearchRequest.properties} and each company's
|
|
994
|
+
* `owners` map resolves it to a name and email.
|
|
995
|
+
*/
|
|
996
|
+
references?: 'owner' | null;
|
|
990
997
|
}
|
|
991
998
|
/** Attio operators. `$not_empty` and `$in` are only valid on some attribute types. */
|
|
992
999
|
type CrmAttioFilterOperator = '$eq' | '$contains' | '$starts_with' | '$ends_with' | '$in' | '$not_empty' | '$lt' | '$lte' | '$gt' | '$gte';
|
|
@@ -1024,6 +1031,14 @@ interface CrmAttioCompanyProperty {
|
|
|
1024
1031
|
* the request named this property; null in the full listing.
|
|
1025
1032
|
*/
|
|
1026
1033
|
options: CrmAttioCompanyPropertyOption[] | null;
|
|
1034
|
+
/**
|
|
1035
|
+
* `owner` when the value identifies a CRM user (any actor-reference
|
|
1036
|
+
* attribute, such as a custom "Owner"); null otherwise. Attio has no
|
|
1037
|
+
* standard owner field and the API does not guess from labels, so pick the
|
|
1038
|
+
* slug with `references === 'owner'` here and request it in
|
|
1039
|
+
* {@link CrmAttioCompanySearchRequest.properties}.
|
|
1040
|
+
*/
|
|
1041
|
+
references?: 'owner' | null;
|
|
1027
1042
|
}
|
|
1028
1043
|
interface CrmHubspotCompanyPropertiesResponse {
|
|
1029
1044
|
provider: 'hubspot';
|
|
@@ -1105,6 +1120,8 @@ interface CrmHubspotCompanySearchRequest {
|
|
|
1105
1120
|
/**
|
|
1106
1121
|
* Extra native property names to return. `name` and `domain` are always
|
|
1107
1122
|
* included. Names the CRM does not return are absent from `properties`.
|
|
1123
|
+
* Include `hubspot_owner_id` (or any field whose definition has
|
|
1124
|
+
* `references: 'owner'`) to also get it resolved in each company's `owners`.
|
|
1108
1125
|
*/
|
|
1109
1126
|
properties?: string[];
|
|
1110
1127
|
/** 1..100; defaults to 100 server-side. */
|
|
@@ -1121,7 +1138,9 @@ interface CrmAttioCompanySearchRequest {
|
|
|
1121
1138
|
filters?: CrmAttioCompanyFilters;
|
|
1122
1139
|
/**
|
|
1123
1140
|
* Attribute slugs to return alongside `name` and `domain`. An unknown slug
|
|
1124
|
-
* comes back as an empty array rather than an error.
|
|
1141
|
+
* comes back as an empty array rather than an error. Include a slug whose
|
|
1142
|
+
* definition has `references: 'owner'` to also get it resolved in each
|
|
1143
|
+
* company's `owners`.
|
|
1125
1144
|
*/
|
|
1126
1145
|
properties?: string[];
|
|
1127
1146
|
/** 1..100; defaults to 100 server-side. */
|
|
@@ -1130,6 +1149,16 @@ interface CrmAttioCompanySearchRequest {
|
|
|
1130
1149
|
cursor?: string | null;
|
|
1131
1150
|
}
|
|
1132
1151
|
type CrmCompanySearchRequest = CrmHubspotCompanySearchRequest | CrmAttioCompanySearchRequest;
|
|
1152
|
+
/**
|
|
1153
|
+
* A CRM user resolved from an owner-typed field. `name` and `email` are null
|
|
1154
|
+
* when the id is not in the CRM's user directory (an archived HubSpot owner,
|
|
1155
|
+
* or an Attio system/app actor).
|
|
1156
|
+
*/
|
|
1157
|
+
interface CrmCompanyOwner {
|
|
1158
|
+
id: string;
|
|
1159
|
+
name: string | null;
|
|
1160
|
+
email: string | null;
|
|
1161
|
+
}
|
|
1133
1162
|
interface CrmHubspotCompany {
|
|
1134
1163
|
/** HubSpot record id (`hs_object_id`), always a decimal string. */
|
|
1135
1164
|
id: string;
|
|
@@ -1141,6 +1170,14 @@ interface CrmHubspotCompany {
|
|
|
1141
1170
|
* `properties.hsLastmodifieddate`. HubSpot returns every value as a string.
|
|
1142
1171
|
*/
|
|
1143
1172
|
properties: Record<string, string | null>;
|
|
1173
|
+
/**
|
|
1174
|
+
* Owner-typed fields from the request's `properties`, keyed by native
|
|
1175
|
+
* HubSpot name (not rewritten either — read `owners.hubspot_owner_id`) and
|
|
1176
|
+
* resolved through the portal's owner directory. Null when the company has
|
|
1177
|
+
* no value in that field; `{}` when no requested field has
|
|
1178
|
+
* `references: 'owner'`. `properties` still holds the raw owner id string.
|
|
1179
|
+
*/
|
|
1180
|
+
owners?: Record<string, CrmCompanyOwner | null>;
|
|
1144
1181
|
}
|
|
1145
1182
|
/**
|
|
1146
1183
|
* One Attio value entry, verbatim from the provider. Its keys keep Attio's own
|
|
@@ -1165,6 +1202,14 @@ interface CrmAttioCompany {
|
|
|
1165
1202
|
* empty when the company has no active value for that slug.
|
|
1166
1203
|
*/
|
|
1167
1204
|
properties: Record<string, CrmAttioCompanyPropertyValue[]>;
|
|
1205
|
+
/**
|
|
1206
|
+
* Actor-reference fields from the request's `properties`, keyed by Attio
|
|
1207
|
+
* slug (not rewritten either) and resolved through the workspace's member
|
|
1208
|
+
* list. Null when the company has no value in that field; `{}` when no
|
|
1209
|
+
* requested slug has `references: 'owner'`. `properties` still holds the
|
|
1210
|
+
* raw value rows with `referenced_actor_type` / `referenced_actor_id`.
|
|
1211
|
+
*/
|
|
1212
|
+
owners?: Record<string, CrmCompanyOwner | null>;
|
|
1168
1213
|
}
|
|
1169
1214
|
interface CrmHubspotCompanySearchResponse {
|
|
1170
1215
|
provider: 'hubspot';
|
|
@@ -6740,6 +6785,11 @@ declare class CrmResource {
|
|
|
6740
6785
|
* Field metadata is provider-shaped, so the return type narrows on the
|
|
6741
6786
|
* `provider` you pass.
|
|
6742
6787
|
*
|
|
6788
|
+
* A definition with `references: 'owner'` holds a CRM user id; request it
|
|
6789
|
+
* in {@link searchCompanies} to have each company's `owners` map resolve
|
|
6790
|
+
* it to a name and email. HubSpot's is `hubspot_owner_id`; Attio has no
|
|
6791
|
+
* standard one, so take the actor-reference slug this listing flags.
|
|
6792
|
+
*
|
|
6743
6793
|
* Failure modes: `403 crm_access_denied` and `503 crm_access_unavailable`
|
|
6744
6794
|
* (the `crmUserId` grant), `409 crm_not_connected` (no single active
|
|
6745
6795
|
* connection for the owner), `404 crm_property_not_found`,
|
|
@@ -6760,6 +6810,9 @@ declare class CrmResource {
|
|
|
6760
6810
|
* propertyName: 'employee_range',
|
|
6761
6811
|
* })
|
|
6762
6812
|
* console.log(tier.properties[0].options)
|
|
6813
|
+
*
|
|
6814
|
+
* // The field that can fill an owner column.
|
|
6815
|
+
* const ownerField = properties.find(p => p.references === 'owner')
|
|
6763
6816
|
* ```
|
|
6764
6817
|
*/
|
|
6765
6818
|
getCompanyProperties<T extends CrmCompanyPropertiesRequest>(params: T): Promise<T extends {
|
|
@@ -6774,10 +6827,18 @@ declare class CrmResource {
|
|
|
6774
6827
|
* group, OR between groups) with string comparison values; Attio takes its
|
|
6775
6828
|
* record-query object with `$`-prefixed operators. Both cross the wire
|
|
6776
6829
|
* verbatim — the SDK's camelCase ↔ snake_case conversion is switched off for
|
|
6777
|
-
* `filters` and for each company's `properties`
|
|
6778
|
-
* property names. Discover valid names and operators with
|
|
6830
|
+
* `filters` and for each company's `properties` and `owners` maps, whose
|
|
6831
|
+
* keys are CRM property names. Discover valid names and operators with
|
|
6779
6832
|
* {@link getCompanyProperties}.
|
|
6780
6833
|
*
|
|
6834
|
+
* Requesting an owner-typed field (`references: 'owner'` in its definition)
|
|
6835
|
+
* also resolves it: `owners[field]` is the CRM user's `{ id, name, email }`,
|
|
6836
|
+
* null when the company has none, with `name`/`email` null when the id is
|
|
6837
|
+
* not in the user directory. Resolution is part of the page — if the
|
|
6838
|
+
* directory read fails the whole request fails with the codes below rather
|
|
6839
|
+
* than returning half-resolved owners. Cost: any requested field adds one
|
|
6840
|
+
* definitions read per page; an owner field adds one directory read on top.
|
|
6841
|
+
*
|
|
6781
6842
|
* Paging is cursor-based: pass the previous page's `nextCursor` back as
|
|
6782
6843
|
* `cursor` and keep every other field identical, because HubSpot pages by
|
|
6783
6844
|
* record id inside the original query. `nextCursor: null` is the last page.
|
|
@@ -6805,13 +6866,13 @@ declare class CrmResource {
|
|
|
6805
6866
|
* ],
|
|
6806
6867
|
* }],
|
|
6807
6868
|
* },
|
|
6808
|
-
* properties: ['numberofemployees', 'industry'],
|
|
6869
|
+
* properties: ['numberofemployees', 'industry', 'hubspot_owner_id'],
|
|
6809
6870
|
* limit: 50,
|
|
6810
6871
|
* }
|
|
6811
6872
|
*
|
|
6812
6873
|
* const page = await client.crm.searchCompanies(request)
|
|
6813
6874
|
* for (const company of page.companies)
|
|
6814
|
-
* console.log(company.name, company.properties.industry)
|
|
6875
|
+
* console.log(company.name, company.properties.industry, company.owners?.hubspot_owner_id?.name)
|
|
6815
6876
|
*
|
|
6816
6877
|
* // Same query, next page.
|
|
6817
6878
|
* if (page.nextCursor)
|
|
@@ -11472,4 +11533,4 @@ declare class ProgressTracker {
|
|
|
11472
11533
|
*/
|
|
11473
11534
|
declare function verifyWebhookSignature(payload: string, signature: string, secret: string): boolean;
|
|
11474
11535
|
|
|
11475
|
-
export { ACTION_DELAYS, type AccountMonitorAccountAnalysis, type AccountMonitorAnalysisFailure, type AccountMonitorArtifactRefs, type AccountMonitorAssessment, type AccountMonitorCard, type AccountMonitorClaim, type AccountMonitorCollectedSignal, type AccountMonitorCommittee, type AccountMonitorCommitteeInput, type AccountMonitorCommitteeSynthesis, type AccountMonitorCompany, type AccountMonitorCompanySourceReport, type AccountMonitorComparison, type AccountMonitorComparisonFinding, type AccountMonitorCoverage, type AccountMonitorCrmContext, type AccountMonitorCrmHistoryCoverage, type AccountMonitorCrmProviderCoverage, type AccountMonitorCrmStatus, type AccountMonitorDate, type AccountMonitorDepth, type AccountMonitorEvidenceRow, type AccountMonitorIdentity, type AccountMonitorOptions, type AccountMonitorOutput, type AccountMonitorParams, type AccountMonitorPersonReport, type AccountMonitorProvenance, type AccountMonitorRecency, type AccountMonitorRecommendation, type AccountMonitorReportSection, type AccountMonitorScore, type AccountMonitorSignal, type AccountMonitorSignalDefinition, type AccountMonitorSignalName, type AccountMonitorSignalRef, type AccountMonitorSourceCoverage, type AccountMonitorSourceRequest, type AccountMonitorUsage, type AccountMonitorValidation, type AccountMonitorWindow, type ActionLimit, type ActiveHours, type AddAndRunCriterionRequest, type AddCriterionRequest, type AddOrgMemberRequest, type AddOrgMemberResponse, type AddPersonaRequest, type AddPersonaResponse, type AddProspectsRequest, type AddProspectsResponse, type AgentConfig, type AgentCostStats, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, type ApprovalActionRequest, type ApprovalItem, type ApprovalListResponse, type ApprovalMode, type ApprovalResponse, type ApprovalSettings, type ApprovalStatus, type ApprovalsParams, type ApprovalsRequestItem, type ApprovalsResponseItem, type ApproveStepRequest, type AppsListResponse, type ArtifactObject, type ArtifactsListResponse, AuthenticationError, type AutoSearchSelection, type BaseResource, type BatchCheckConnectionRequest, type BatchCheckPriorContactRequest, type BatchCheckPriorContactResponse, type BatchConnectionRequest, type BatchConnectionResponse, type BatchConnectionStatus, type BatchConnectionStatusResponse, type BatchDraftCompleteData, type BatchDraftCreatedData, type BatchDraftErrorData, type BatchDraftJobProgress, type BatchDraftJobResponse, type BatchDraftJobStartedData, type BatchDraftJobStatusResponse, type BatchDraftProgressData, type BatchDraftRequest, type BatchDraftResponse, type BatchDraftStreamCallbacks, type BatchDraftStreamEvent, type BatchDraftStreamEventType, type BatchExecutionInclude, type BatchExecutionRequest, type BatchExecutionResponse, BatchJobStatus, type BatchPollRequest, type BatchPollResponse, type BatchProspectIdentifier, type BatchRequestItem, type BatchRequestType, type BatchResponseItem, type BatchSendRequest, type BatchSendResponse, type BatchStepMetric, type BillingStatus, type BulkApprovalAction, type BulkApprovalFailure, type BulkApprovalRequest, type BulkApprovalResponse, type BulkCompleteFailure, type BulkCompleteRequest, type BulkCompleteResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkOperationRequest, type BulkOperationResponse, type BulkUploadResponse, CONTENT_LIMITS, CONTENT_LIMITS_MAP, type CampaignActionListResponse, type CampaignActionResponse, type CampaignActionStatus, type CampaignActionType, type CampaignAssetUpsertItem, type CampaignAssetUpsertRequest, type CampaignBulkApprovalAction, type CampaignBulkApprovalItem, type CampaignBulkApprovalRequest, type CampaignBulkApprovalResponse, type CampaignBulkApprovalResult, type CampaignCreate, type CampaignGuardrails, type CampaignListResponse, type CampaignMetricsResponse, type CampaignOutcomeType, type CampaignProspectDetailResponse, type CampaignProspectInput, type CampaignProspectResponse, type CampaignProspectState, type CampaignResponse, type CampaignStatus, type CampaignUpdate, CampaignsResource, type CancelDraftResponse, type CancelQueuedRequest, type CancelResponseResponse, type Channel, type ChannelContactHistory, type ChannelFunnel, type ChannelRatios, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type ColumnKind, type CompanyIntelligenceOptions, type CompanyIntelligenceOutput, type CompanyIntelligenceResolvedParams, type CompanyIntelligenceStats, type CompanyReportSubject, type CompetitorPostEngagementOutput, type CompetitorRepEngagementOutput, type CompleteExecutionRequest, type CompleteExecutionResponse, type ConnectInboxRequest, type ConnectInboxResponse, type Connection, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ConnectionsResponse, type ConnectionsSyncStatus, type ContactDetailsInput, type ContactEnrichPersonInput, type ContactEnrichPersonResult, type ContactEnrichRequest, type ContactEnrichResponse, type ContactFinding, type ContactHistorySyncStatus, type ContactRelationshipProvider, type ContactRelationshipResponse, type ContactRelationshipStatus, ContactRelationshipsResource, type ContactScore, type ContentIntelligenceAudienceStats, type ContentIntelligenceAuthor, type ContentIntelligenceCompetitorAdjacentDelta, type ContentIntelligenceCompetitorAnalysis, type ContentIntelligenceCompetitorAnalysisScope, type ContentIntelligenceCompetitorBucket, type ContentIntelligenceCompetitorComparison, type ContentIntelligenceCompetitorComparisonTotals, type ContentIntelligenceCompetitorCoverage, type ContentIntelligenceCompetitorDelta, type ContentIntelligenceCompetitorDeltas, type ContentIntelligenceCompetitorHighlight, type ContentIntelligenceCompetitorPackage, type ContentIntelligenceCompetitorPeriod, type ContentIntelligenceCompetitorPeriodPoint, type ContentIntelligenceCompetitorPeriodTheme, type ContentIntelligenceCompetitorPost, type ContentIntelligenceCompetitorPostAuthorType, type ContentIntelligenceCompetitorPostSource, type ContentIntelligenceCompetitorResolutionReason, type ContentIntelligenceCompetitorRole, type ContentIntelligenceCompetitorRow, type ContentIntelligenceCompetitorSource, type ContentIntelligenceCompetitorStatus, type ContentIntelligenceCompetitorStopReason, type ContentIntelligenceCompetitorSummary, type ContentIntelligenceCompetitorTakeaway, type ContentIntelligenceCompetitorTargetCoverage, type ContentIntelligenceCompetitorThemePeriod, type ContentIntelligenceCompetitorThemeStats, type ContentIntelligenceCoverage, type ContentIntelligenceCoveragePerson, type ContentIntelligenceCurationStats, type ContentIntelligenceDateValue, type ContentIntelligenceEngager, type ContentIntelligenceOptions, type ContentIntelligenceOutput, type ContentIntelligenceOutputName, type ContentIntelligenceOutputs, type ContentIntelligenceOwnCompanyCoverage, type ContentIntelligencePackage, type ContentIntelligencePost, type ContentIntelligenceResolvedCompetitor, type ContentIntelligenceResolvedParams, type ContentIntelligenceSummary, type ContentIntelligenceUnresolvedCompetitor, type ContentLimit, type ContentSource, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type CriteriaClassification, type CriteriaMetadata, type CriterionDefinition, type CriterionResult, type CriterionType, type CrmAccountContextAssociationConfidence, type CrmAccountContextAssociationKind, type CrmAccountContextBatchRequest, type CrmAccountContextBatchResponse, type CrmAccountContextCandidateInput, type CrmAccountContextDealSummary, type CrmAccountContextDetail, type CrmAccountContextMatchConfidence, type CrmAccountContextMatchMethod, type CrmAccountContextPersonPresence, type CrmAccountContextPersonPreview, type CrmAccountContextProviderCoverage, type CrmAccountContextProviderResult, type CrmAccountContextResult, type CrmAccountContextSalesState, type CrmAccountContextSourceStatus, type CrmAccountContextStageChangeTimePrecision, type CrmAccountContextStageClass, type CrmAttioCompany, type CrmAttioCompanyFilters, type CrmAttioCompanyPropertiesRequest, type CrmAttioCompanyPropertiesResponse, type CrmAttioCompanyProperty, type CrmAttioCompanyPropertyFilterField, type CrmAttioCompanyPropertyOption, type CrmAttioCompanyPropertyValue, type CrmAttioCompanySearchRequest, type CrmAttioCompanySearchResponse, type CrmAttioFilterOperator, type CrmCompanyPropertiesRequest, type CrmCompanyPropertiesResponse, type CrmCompanySearchRequest, type CrmCompanySearchResponse, type CrmContactInput, type CrmContactsSyncRequest, type CrmContactsSyncResponse, type CrmContactsSyncStatusResponse, type CrmExclusionGrantListResponse, type CrmExclusionGrantRequest, type CrmExclusionGrantResponse, type CrmHubspotCompany, type CrmHubspotCompanyFilter, type CrmHubspotCompanyFilterGroup, type CrmHubspotCompanyFilters, type CrmHubspotCompanyPropertiesRequest, type CrmHubspotCompanyPropertiesResponse, type CrmHubspotCompanyProperty, type CrmHubspotCompanyPropertyOption, type CrmHubspotCompanySearchRequest, type CrmHubspotCompanySearchResponse, type CrmHubspotFilterOperator, type CrmMatchBatchRequest, type CrmMatchBatchResponse, type CrmMatchedProspect, type CrmProvider, CrmResource, type CrmSyncProspectRequest, type CrmSyncProspectResponse, DAILY_INMAIL_LIMITS, DEFAULT_SUBSCRIPTION_TYPE, type DatabaseStatus, type DateRange, type DeepPeopleSearchOutput, type DeepSearchPreview, type DeepSearchStats, type DeleteApiKeyResponse, type DeleteConnectionsResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DiscoveryTrace, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type DuplicateTemplateRequest, type EditQueuedRequest, type Email, type EmailAction, type EmailInboxItem, type EmailInboxListResponse, type EmailInboxPersona, type EmailOnboardRequest, type EmailOnboardResponse, type EmailOnboardStatusResponse, type EmailOrgHealthResponse, type EmailOrgListResponse, type EmailOrgSettingsResponse, type EmailOrgSettingsUpdate, type EmailOrgSummary, EmailResource, type EmailSenderPersona, type EmailThreadSummary, type EngagementActivity, type EngagementActivityCoverage, type EngagementAnalysisOutput, type EngagementAnalysisScope, type EngagementExpansionHopStats, type EngagementExpansionOptions, type EngagementExpansionOutput, type EngagementExpansionResolvedParams, type EngagementExpansionStats, type EngagementHistoryEntry, type EngagementSignalOutputName, type EngagementSignalSettings, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceRichnessGrade, type EvidenceSource, type ExecutionDetailResponse, type ExecutionEvent, type ExecutionEventData, type ExecutionListResponse, type ExecutionMetricsOptions, type ExecutionMetricsResponse, type ExecutionStatus, type ExecutionSummary, type ExecutionSummaryExtended, type ExecutionsParams, type ExecutionsRequestItem, type ExecutionsResponseItem, ExternalAPIKeysResource, type ExternalApiKeyResponse, type FeedbackListResponse, type FeedbackObject, type FeedbackType, type FileAttachment, type FileChunk, type FileContentResponse, type FileListResponse, type FileMetadata, type FileScope, type FileScopeUpdateRequest, type FileSearchRequest, type FileSearchResponse, type FileSearchResult, type FileStatisticsResponse, type FileUploadResponse, FilesResource, type FilterLogic, type FilterValue, type FunnelStage, type GetConnectionStatusParams, type GetContactRelationshipsOptions, type GetToolsRequest, type GetToolsResponse, type GetUserConnectionsParams, type InboxKind, type InfluencerEngagementOptions, type InfluencerEngagementOutput, type InfluencerEngagementPostSource, type InfluencerEngagementResolvedParams, type InfluencerEngagementSeedCoverage, type InfluencerEngagementSeedPost, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntelligenceBarChart, type IntelligenceBarChartBar, type IntelligenceChart, type IntelligenceChartId, type IntelligenceCreditEntry, type IntelligenceCreditLedger, type IntelligenceEntitySpan, type IntelligenceLineChart, type IntelligenceLineChartPoint, type IntelligenceQuoteSpan, type IntelligenceReportBlock, type IntelligenceReportCompleteness, type IntelligenceReportEnvelope, type IntelligenceReportReader, type IntelligenceReportSectionRef, type IntelligenceReportSubject, type IntelligenceReportSummary, type IntelligenceReportTable, type IntelligenceSectionOverlays, type IntelligenceStatSpan, type IntentSignal, InternalServerError, LINKEDIN_LIMITS, type LifecycleOperationRequest, type LifecycleOperationResponse, type LinkAssetsRequest, type LinkedAssetsResponse, type LinkedInAccountInfoResponse, type LinkedInAccountRateLimits, type LinkedInAccountRateLimitsResponse, type LinkedInAccountRateLimitsUpdate, type LinkedInAction, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type LinkedInSyncStatusResponse, type ListAcceptedConnectionsParams, type ListApprovalsOptions, type ListAssetsOptions, type ListCampaignActionsOptions, type ListCampaignProspectsOptions, type ListCampaignsOptions, type ListConnectionsParams, type ListExecutionsOptions, type ListInboxesParams, type ListPendingApprovalsOptions, type ListPlaybooksOptions, type ListProvidersResponse, type ListStepExecutionsOptions, type ListTemplatesOptions, LocalFileNotSupportedError, LumnisClient, type LumnisClientOptions, LumnisError, type LumnisErrorOptions, type MCPScope, type MCPServerCreateRequest, type MCPServerListResponse, type MCPServerResponse, type MCPServerUpdateRequest, MCPServersResource, type MCPToolListResponse, type MCPToolResponse, type MCPTransport, type MailboxUpdateRequest, type MailboxUpdateResponse, type Message, type MessageReceivedData, type MessageResponse, type MessageSentData, MessageType, MessagingAPIError, MessagingConnectionError, MessagingNotFoundError, MessagingResource, MessagingSendError, MessagingValidationError, type MetricsParams, type MetricsRequestItem, type MetricsResponseItem, type ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, type OnFailure, type Opportunity, type OutcomeType, type OutreachAssetCreate, type OutreachAssetResponse, type OutreachAssetType, type OutreachAssetUpdate, OutreachMethod, OutreachResource, type OutreachSource, type OutreachStats, type PaginationInfo, type PaginationParams, type PainPoint, type PauseProspectsRequest, type PauseProspectsResponse, type PauseResumeQueuedRequest, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PeriodInsight, type PersonEvidenceLegCounts, type PersonEvidenceRichness, type PersonIntelligenceOptions, type PersonIntelligenceOutput, type PersonIntelligenceResolvedParams, type PersonReportSubject, type PersonResult, type Plan, type PlaybookCreate, type PlaybookGenerateJobResponse, type PlaybookGenerateJobStatusResponse, type PlaybookGenerateRequest, type PlaybookResponse, type PlaybookUpdate, type PlaybookVersionResponse, type PostEngagementData, type PostEngagementProvenance, type PostEngagementType, type PostIdea, type PostIdeasOutput, type PostPreviewRequest, type PostPreviewResponse, type PostPreviewResult, type PostsDateRange, type PostsSearchStats, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProjectApprovalsData, type ProjectExecutionsData, type ProjectMetricsData, type ProspectConnectionCheck, type ProspectInfo, type ProspectInput, type ProspectPriorContactResult, type ProspectSkip, type ProspectSyncIdentifier, type ProspectSyncResult, type ProspectWarning, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, type RateLimitData, RateLimitError, type RateLimitErrorOptions, type RateLimitInfo$1 as RateLimitInfo, type RateLimitStatusResponse, type RateLimitsParams, type RateLimitsRequestItem, type RateLimitsResponseItem, type RecordOutcomeRequest, type RejectActionRequest, type RejectStepRequest, type RelevanceTier, type RemoveOrgMemberResponse, type RepEngagementData, type RepEngagementStats, type ReplySentiment, type ResolvedCompetitorTarget, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, type ResumeProspectsRequest, SEQUENCE_RATE_LIMITS, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, type SenderPersonaInput, type SequenceAction, type SequenceApprovalNeededData, type SequenceChannel, type SequenceEventType, type SequenceExecutionCompletedData, type SequenceExecutionFailedData, type SequenceRateLimitAction, type SequenceStepCompletedData, type SequenceTemplateCreate, type SequenceTemplateResponse, type SequenceTemplateUpdate, SequencesResource, SharePermission, type SignalDateRangeSettings, type SignalDefinition, type SignalDiscoveryLane, type SignalEnrichmentPool, type SignalEnrichmentStats, type SignalEvidence, type SignalFunnel, type SignalFunnelRow, type SignalOutput, type SignalPresentation, type SignalPresentationFact, type SignalPresentationLink, type SignalScope, type SignalType, type SignalVerdict, type SkillAnalyticsRequest, type SkillEffectivenessMetrics, type SkillGuidelineBase, type SkillGuidelineCreate, type SkillGuidelineListResponse, type SkillGuidelineResponse, type SkillGuidelineUpdate, type SkillRetrievalMetadata, type SkillUsageBase, type SkillUsageCreate, type SkillUsageListResponse, type SkillUsageResponse, type SkillUsageUpdate, SkillsResource, type SkipActionRequest, type SkipStepRequest, type SkipStepResponse, type SkippedProspect, type SkippedTransferProspect, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type Stage, type StageFilter, type StandoutPost, type StartExecutionRequest, type StartExecutionResponse, type StepConfig, type StepExecutionItem, type StepExecutionListResponse, type StepExecutionStatus, type StepHistoryEntry, type StepMetric, type StoppedBreakdown, type StoreApiKeyRequest, type StructuredResponse, type SyncJobResponse, SyncJobStatus, SyncPhaseStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type Takeaway, type TeardownOrgResponse, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThemeAssignment, type ThemePeriodStats, type ThemeStats, type ThemeTrend, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type TopPost, type TopPostsOutput, type TopVoice, type TransferProspectsRequest, type TransferProspectsResponse, type TransferSkipReason, type TransitionCondition, type TransitionConditionOperator, type TransitionConditionType, type TransitionConfig, type TransitionEventParams, type TriggerSyncResponse, UNIPILE_RATE_LIMIT_ERRORS, UNIPILE_SAFE_LIMITS, type UUID, type UnlinkConversationsResponse, type UpdateAppStatusParams, type UpdateAppStatusResponse, type UpdateDraftRequest, type UpdateLinkedInSubscriptionRequest, type UpdatePersonaRequest, type UpdatePersonaResponse, type UpdateStepExecutionRequest, type UpdateStepExecutionResponse, type UpdateThreadRequest, type UserConnectionsResponse, type UserCreateRequest, type UserDeleteResponse, type UserIdentifier, type UserListResponse, type UserResponse, type UserUpdateRequest, UsersResource, VALID_EVENT_TYPES, type ValidatedCandidate, ValidationError, type ValidationIssue, type ValidationResponse, type WebhookEvent, type WebhookPayload, type WeightedCall, type WeightedCallOption, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };
|
|
11536
|
+
export { ACTION_DELAYS, type AccountMonitorAccountAnalysis, type AccountMonitorAnalysisFailure, type AccountMonitorArtifactRefs, type AccountMonitorAssessment, type AccountMonitorCard, type AccountMonitorClaim, type AccountMonitorCollectedSignal, type AccountMonitorCommittee, type AccountMonitorCommitteeInput, type AccountMonitorCommitteeSynthesis, type AccountMonitorCompany, type AccountMonitorCompanySourceReport, type AccountMonitorComparison, type AccountMonitorComparisonFinding, type AccountMonitorCoverage, type AccountMonitorCrmContext, type AccountMonitorCrmHistoryCoverage, type AccountMonitorCrmProviderCoverage, type AccountMonitorCrmStatus, type AccountMonitorDate, type AccountMonitorDepth, type AccountMonitorEvidenceRow, type AccountMonitorIdentity, type AccountMonitorOptions, type AccountMonitorOutput, type AccountMonitorParams, type AccountMonitorPersonReport, type AccountMonitorProvenance, type AccountMonitorRecency, type AccountMonitorRecommendation, type AccountMonitorReportSection, type AccountMonitorScore, type AccountMonitorSignal, type AccountMonitorSignalDefinition, type AccountMonitorSignalName, type AccountMonitorSignalRef, type AccountMonitorSourceCoverage, type AccountMonitorSourceRequest, type AccountMonitorUsage, type AccountMonitorValidation, type AccountMonitorWindow, type ActionLimit, type ActiveHours, type AddAndRunCriterionRequest, type AddCriterionRequest, type AddOrgMemberRequest, type AddOrgMemberResponse, type AddPersonaRequest, type AddPersonaResponse, type AddProspectsRequest, type AddProspectsResponse, type AgentConfig, type AgentCostStats, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, type ApprovalActionRequest, type ApprovalItem, type ApprovalListResponse, type ApprovalMode, type ApprovalResponse, type ApprovalSettings, type ApprovalStatus, type ApprovalsParams, type ApprovalsRequestItem, type ApprovalsResponseItem, type ApproveStepRequest, type AppsListResponse, type ArtifactObject, type ArtifactsListResponse, AuthenticationError, type AutoSearchSelection, type BaseResource, type BatchCheckConnectionRequest, type BatchCheckPriorContactRequest, type BatchCheckPriorContactResponse, type BatchConnectionRequest, type BatchConnectionResponse, type BatchConnectionStatus, type BatchConnectionStatusResponse, type BatchDraftCompleteData, type BatchDraftCreatedData, type BatchDraftErrorData, type BatchDraftJobProgress, type BatchDraftJobResponse, type BatchDraftJobStartedData, type BatchDraftJobStatusResponse, type BatchDraftProgressData, type BatchDraftRequest, type BatchDraftResponse, type BatchDraftStreamCallbacks, type BatchDraftStreamEvent, type BatchDraftStreamEventType, type BatchExecutionInclude, type BatchExecutionRequest, type BatchExecutionResponse, BatchJobStatus, type BatchPollRequest, type BatchPollResponse, type BatchProspectIdentifier, type BatchRequestItem, type BatchRequestType, type BatchResponseItem, type BatchSendRequest, type BatchSendResponse, type BatchStepMetric, type BillingStatus, type BulkApprovalAction, type BulkApprovalFailure, type BulkApprovalRequest, type BulkApprovalResponse, type BulkCompleteFailure, type BulkCompleteRequest, type BulkCompleteResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkOperationRequest, type BulkOperationResponse, type BulkUploadResponse, CONTENT_LIMITS, CONTENT_LIMITS_MAP, type CampaignActionListResponse, type CampaignActionResponse, type CampaignActionStatus, type CampaignActionType, type CampaignAssetUpsertItem, type CampaignAssetUpsertRequest, type CampaignBulkApprovalAction, type CampaignBulkApprovalItem, type CampaignBulkApprovalRequest, type CampaignBulkApprovalResponse, type CampaignBulkApprovalResult, type CampaignCreate, type CampaignGuardrails, type CampaignListResponse, type CampaignMetricsResponse, type CampaignOutcomeType, type CampaignProspectDetailResponse, type CampaignProspectInput, type CampaignProspectResponse, type CampaignProspectState, type CampaignResponse, type CampaignStatus, type CampaignUpdate, CampaignsResource, type CancelDraftResponse, type CancelQueuedRequest, type CancelResponseResponse, type Channel, type ChannelContactHistory, type ChannelFunnel, type ChannelRatios, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type ColumnKind, type CompanyIntelligenceOptions, type CompanyIntelligenceOutput, type CompanyIntelligenceResolvedParams, type CompanyIntelligenceStats, type CompanyReportSubject, type CompetitorPostEngagementOutput, type CompetitorRepEngagementOutput, type CompleteExecutionRequest, type CompleteExecutionResponse, type ConnectInboxRequest, type ConnectInboxResponse, type Connection, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ConnectionsResponse, type ConnectionsSyncStatus, type ContactDetailsInput, type ContactEnrichPersonInput, type ContactEnrichPersonResult, type ContactEnrichRequest, type ContactEnrichResponse, type ContactFinding, type ContactHistorySyncStatus, type ContactRelationshipProvider, type ContactRelationshipResponse, type ContactRelationshipStatus, ContactRelationshipsResource, type ContactScore, type ContentIntelligenceAudienceStats, type ContentIntelligenceAuthor, type ContentIntelligenceCompetitorAdjacentDelta, type ContentIntelligenceCompetitorAnalysis, type ContentIntelligenceCompetitorAnalysisScope, type ContentIntelligenceCompetitorBucket, type ContentIntelligenceCompetitorComparison, type ContentIntelligenceCompetitorComparisonTotals, type ContentIntelligenceCompetitorCoverage, type ContentIntelligenceCompetitorDelta, type ContentIntelligenceCompetitorDeltas, type ContentIntelligenceCompetitorHighlight, type ContentIntelligenceCompetitorPackage, type ContentIntelligenceCompetitorPeriod, type ContentIntelligenceCompetitorPeriodPoint, type ContentIntelligenceCompetitorPeriodTheme, type ContentIntelligenceCompetitorPost, type ContentIntelligenceCompetitorPostAuthorType, type ContentIntelligenceCompetitorPostSource, type ContentIntelligenceCompetitorResolutionReason, type ContentIntelligenceCompetitorRole, type ContentIntelligenceCompetitorRow, type ContentIntelligenceCompetitorSource, type ContentIntelligenceCompetitorStatus, type ContentIntelligenceCompetitorStopReason, type ContentIntelligenceCompetitorSummary, type ContentIntelligenceCompetitorTakeaway, type ContentIntelligenceCompetitorTargetCoverage, type ContentIntelligenceCompetitorThemePeriod, type ContentIntelligenceCompetitorThemeStats, type ContentIntelligenceCoverage, type ContentIntelligenceCoveragePerson, type ContentIntelligenceCurationStats, type ContentIntelligenceDateValue, type ContentIntelligenceEngager, type ContentIntelligenceOptions, type ContentIntelligenceOutput, type ContentIntelligenceOutputName, type ContentIntelligenceOutputs, type ContentIntelligenceOwnCompanyCoverage, type ContentIntelligencePackage, type ContentIntelligencePost, type ContentIntelligenceResolvedCompetitor, type ContentIntelligenceResolvedParams, type ContentIntelligenceSummary, type ContentIntelligenceUnresolvedCompetitor, type ContentLimit, type ContentSource, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type CriteriaClassification, type CriteriaMetadata, type CriterionDefinition, type CriterionResult, type CriterionType, type CrmAccountContextAssociationConfidence, type CrmAccountContextAssociationKind, type CrmAccountContextBatchRequest, type CrmAccountContextBatchResponse, type CrmAccountContextCandidateInput, type CrmAccountContextDealSummary, type CrmAccountContextDetail, type CrmAccountContextMatchConfidence, type CrmAccountContextMatchMethod, type CrmAccountContextPersonPresence, type CrmAccountContextPersonPreview, type CrmAccountContextProviderCoverage, type CrmAccountContextProviderResult, type CrmAccountContextResult, type CrmAccountContextSalesState, type CrmAccountContextSourceStatus, type CrmAccountContextStageChangeTimePrecision, type CrmAccountContextStageClass, type CrmAttioCompany, type CrmAttioCompanyFilters, type CrmAttioCompanyPropertiesRequest, type CrmAttioCompanyPropertiesResponse, type CrmAttioCompanyProperty, type CrmAttioCompanyPropertyFilterField, type CrmAttioCompanyPropertyOption, type CrmAttioCompanyPropertyValue, type CrmAttioCompanySearchRequest, type CrmAttioCompanySearchResponse, type CrmAttioFilterOperator, type CrmCompanyOwner, type CrmCompanyPropertiesRequest, type CrmCompanyPropertiesResponse, type CrmCompanySearchRequest, type CrmCompanySearchResponse, type CrmContactInput, type CrmContactsSyncRequest, type CrmContactsSyncResponse, type CrmContactsSyncStatusResponse, type CrmExclusionGrantListResponse, type CrmExclusionGrantRequest, type CrmExclusionGrantResponse, type CrmHubspotCompany, type CrmHubspotCompanyFilter, type CrmHubspotCompanyFilterGroup, type CrmHubspotCompanyFilters, type CrmHubspotCompanyPropertiesRequest, type CrmHubspotCompanyPropertiesResponse, type CrmHubspotCompanyProperty, type CrmHubspotCompanyPropertyOption, type CrmHubspotCompanySearchRequest, type CrmHubspotCompanySearchResponse, type CrmHubspotFilterOperator, type CrmMatchBatchRequest, type CrmMatchBatchResponse, type CrmMatchedProspect, type CrmProvider, CrmResource, type CrmSyncProspectRequest, type CrmSyncProspectResponse, DAILY_INMAIL_LIMITS, DEFAULT_SUBSCRIPTION_TYPE, type DatabaseStatus, type DateRange, type DeepPeopleSearchOutput, type DeepSearchPreview, type DeepSearchStats, type DeleteApiKeyResponse, type DeleteConnectionsResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DiscoveryTrace, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type DuplicateTemplateRequest, type EditQueuedRequest, type Email, type EmailAction, type EmailInboxItem, type EmailInboxListResponse, type EmailInboxPersona, type EmailOnboardRequest, type EmailOnboardResponse, type EmailOnboardStatusResponse, type EmailOrgHealthResponse, type EmailOrgListResponse, type EmailOrgSettingsResponse, type EmailOrgSettingsUpdate, type EmailOrgSummary, EmailResource, type EmailSenderPersona, type EmailThreadSummary, type EngagementActivity, type EngagementActivityCoverage, type EngagementAnalysisOutput, type EngagementAnalysisScope, type EngagementExpansionHopStats, type EngagementExpansionOptions, type EngagementExpansionOutput, type EngagementExpansionResolvedParams, type EngagementExpansionStats, type EngagementHistoryEntry, type EngagementSignalOutputName, type EngagementSignalSettings, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceRichnessGrade, type EvidenceSource, type ExecutionDetailResponse, type ExecutionEvent, type ExecutionEventData, type ExecutionListResponse, type ExecutionMetricsOptions, type ExecutionMetricsResponse, type ExecutionStatus, type ExecutionSummary, type ExecutionSummaryExtended, type ExecutionsParams, type ExecutionsRequestItem, type ExecutionsResponseItem, ExternalAPIKeysResource, type ExternalApiKeyResponse, type FeedbackListResponse, type FeedbackObject, type FeedbackType, type FileAttachment, type FileChunk, type FileContentResponse, type FileListResponse, type FileMetadata, type FileScope, type FileScopeUpdateRequest, type FileSearchRequest, type FileSearchResponse, type FileSearchResult, type FileStatisticsResponse, type FileUploadResponse, FilesResource, type FilterLogic, type FilterValue, type FunnelStage, type GetConnectionStatusParams, type GetContactRelationshipsOptions, type GetToolsRequest, type GetToolsResponse, type GetUserConnectionsParams, type InboxKind, type InfluencerEngagementOptions, type InfluencerEngagementOutput, type InfluencerEngagementPostSource, type InfluencerEngagementResolvedParams, type InfluencerEngagementSeedCoverage, type InfluencerEngagementSeedPost, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntelligenceBarChart, type IntelligenceBarChartBar, type IntelligenceChart, type IntelligenceChartId, type IntelligenceCreditEntry, type IntelligenceCreditLedger, type IntelligenceEntitySpan, type IntelligenceLineChart, type IntelligenceLineChartPoint, type IntelligenceQuoteSpan, type IntelligenceReportBlock, type IntelligenceReportCompleteness, type IntelligenceReportEnvelope, type IntelligenceReportReader, type IntelligenceReportSectionRef, type IntelligenceReportSubject, type IntelligenceReportSummary, type IntelligenceReportTable, type IntelligenceSectionOverlays, type IntelligenceStatSpan, type IntentSignal, InternalServerError, LINKEDIN_LIMITS, type LifecycleOperationRequest, type LifecycleOperationResponse, type LinkAssetsRequest, type LinkedAssetsResponse, type LinkedInAccountInfoResponse, type LinkedInAccountRateLimits, type LinkedInAccountRateLimitsResponse, type LinkedInAccountRateLimitsUpdate, type LinkedInAction, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type LinkedInSyncStatusResponse, type ListAcceptedConnectionsParams, type ListApprovalsOptions, type ListAssetsOptions, type ListCampaignActionsOptions, type ListCampaignProspectsOptions, type ListCampaignsOptions, type ListConnectionsParams, type ListExecutionsOptions, type ListInboxesParams, type ListPendingApprovalsOptions, type ListPlaybooksOptions, type ListProvidersResponse, type ListStepExecutionsOptions, type ListTemplatesOptions, LocalFileNotSupportedError, LumnisClient, type LumnisClientOptions, LumnisError, type LumnisErrorOptions, type MCPScope, type MCPServerCreateRequest, type MCPServerListResponse, type MCPServerResponse, type MCPServerUpdateRequest, MCPServersResource, type MCPToolListResponse, type MCPToolResponse, type MCPTransport, type MailboxUpdateRequest, type MailboxUpdateResponse, type Message, type MessageReceivedData, type MessageResponse, type MessageSentData, MessageType, MessagingAPIError, MessagingConnectionError, MessagingNotFoundError, MessagingResource, MessagingSendError, MessagingValidationError, type MetricsParams, type MetricsRequestItem, type MetricsResponseItem, type ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, type OnFailure, type Opportunity, type OutcomeType, type OutreachAssetCreate, type OutreachAssetResponse, type OutreachAssetType, type OutreachAssetUpdate, OutreachMethod, OutreachResource, type OutreachSource, type OutreachStats, type PaginationInfo, type PaginationParams, type PainPoint, type PauseProspectsRequest, type PauseProspectsResponse, type PauseResumeQueuedRequest, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PeriodInsight, type PersonEvidenceLegCounts, type PersonEvidenceRichness, type PersonIntelligenceOptions, type PersonIntelligenceOutput, type PersonIntelligenceResolvedParams, type PersonReportSubject, type PersonResult, type Plan, type PlaybookCreate, type PlaybookGenerateJobResponse, type PlaybookGenerateJobStatusResponse, type PlaybookGenerateRequest, type PlaybookResponse, type PlaybookUpdate, type PlaybookVersionResponse, type PostEngagementData, type PostEngagementProvenance, type PostEngagementType, type PostIdea, type PostIdeasOutput, type PostPreviewRequest, type PostPreviewResponse, type PostPreviewResult, type PostsDateRange, type PostsSearchStats, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProjectApprovalsData, type ProjectExecutionsData, type ProjectMetricsData, type ProspectConnectionCheck, type ProspectInfo, type ProspectInput, type ProspectPriorContactResult, type ProspectSkip, type ProspectSyncIdentifier, type ProspectSyncResult, type ProspectWarning, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, type RateLimitData, RateLimitError, type RateLimitErrorOptions, type RateLimitInfo$1 as RateLimitInfo, type RateLimitStatusResponse, type RateLimitsParams, type RateLimitsRequestItem, type RateLimitsResponseItem, type RecordOutcomeRequest, type RejectActionRequest, type RejectStepRequest, type RelevanceTier, type RemoveOrgMemberResponse, type RepEngagementData, type RepEngagementStats, type ReplySentiment, type ResolvedCompetitorTarget, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, type ResumeProspectsRequest, SEQUENCE_RATE_LIMITS, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, type SenderPersonaInput, type SequenceAction, type SequenceApprovalNeededData, type SequenceChannel, type SequenceEventType, type SequenceExecutionCompletedData, type SequenceExecutionFailedData, type SequenceRateLimitAction, type SequenceStepCompletedData, type SequenceTemplateCreate, type SequenceTemplateResponse, type SequenceTemplateUpdate, SequencesResource, SharePermission, type SignalDateRangeSettings, type SignalDefinition, type SignalDiscoveryLane, type SignalEnrichmentPool, type SignalEnrichmentStats, type SignalEvidence, type SignalFunnel, type SignalFunnelRow, type SignalOutput, type SignalPresentation, type SignalPresentationFact, type SignalPresentationLink, type SignalScope, type SignalType, type SignalVerdict, type SkillAnalyticsRequest, type SkillEffectivenessMetrics, type SkillGuidelineBase, type SkillGuidelineCreate, type SkillGuidelineListResponse, type SkillGuidelineResponse, type SkillGuidelineUpdate, type SkillRetrievalMetadata, type SkillUsageBase, type SkillUsageCreate, type SkillUsageListResponse, type SkillUsageResponse, type SkillUsageUpdate, SkillsResource, type SkipActionRequest, type SkipStepRequest, type SkipStepResponse, type SkippedProspect, type SkippedTransferProspect, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type Stage, type StageFilter, type StandoutPost, type StartExecutionRequest, type StartExecutionResponse, type StepConfig, type StepExecutionItem, type StepExecutionListResponse, type StepExecutionStatus, type StepHistoryEntry, type StepMetric, type StoppedBreakdown, type StoreApiKeyRequest, type StructuredResponse, type SyncJobResponse, SyncJobStatus, SyncPhaseStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type Takeaway, type TeardownOrgResponse, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThemeAssignment, type ThemePeriodStats, type ThemeStats, type ThemeTrend, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type TopPost, type TopPostsOutput, type TopVoice, type TransferProspectsRequest, type TransferProspectsResponse, type TransferSkipReason, type TransitionCondition, type TransitionConditionOperator, type TransitionConditionType, type TransitionConfig, type TransitionEventParams, type TriggerSyncResponse, UNIPILE_RATE_LIMIT_ERRORS, UNIPILE_SAFE_LIMITS, type UUID, type UnlinkConversationsResponse, type UpdateAppStatusParams, type UpdateAppStatusResponse, type UpdateDraftRequest, type UpdateLinkedInSubscriptionRequest, type UpdatePersonaRequest, type UpdatePersonaResponse, type UpdateStepExecutionRequest, type UpdateStepExecutionResponse, type UpdateThreadRequest, type UserConnectionsResponse, type UserCreateRequest, type UserDeleteResponse, type UserIdentifier, type UserListResponse, type UserResponse, type UserUpdateRequest, UsersResource, VALID_EVENT_TYPES, type ValidatedCandidate, ValidationError, type ValidationIssue, type ValidationResponse, type WebhookEvent, type WebhookPayload, type WeightedCall, type WeightedCallOption, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };
|
package/dist/index.d.mts
CHANGED
|
@@ -987,6 +987,13 @@ interface CrmHubspotCompanyProperty {
|
|
|
987
987
|
externalOptions: boolean;
|
|
988
988
|
/** Hidden in the HubSpot UI. Archived properties are never returned. */
|
|
989
989
|
hidden: boolean;
|
|
990
|
+
/**
|
|
991
|
+
* `owner` when the value identifies a CRM user (`hubspot_owner_id` and any
|
|
992
|
+
* custom owner-typed property); null otherwise. Request such a field in
|
|
993
|
+
* {@link CrmHubspotCompanySearchRequest.properties} and each company's
|
|
994
|
+
* `owners` map resolves it to a name and email.
|
|
995
|
+
*/
|
|
996
|
+
references?: 'owner' | null;
|
|
990
997
|
}
|
|
991
998
|
/** Attio operators. `$not_empty` and `$in` are only valid on some attribute types. */
|
|
992
999
|
type CrmAttioFilterOperator = '$eq' | '$contains' | '$starts_with' | '$ends_with' | '$in' | '$not_empty' | '$lt' | '$lte' | '$gt' | '$gte';
|
|
@@ -1024,6 +1031,14 @@ interface CrmAttioCompanyProperty {
|
|
|
1024
1031
|
* the request named this property; null in the full listing.
|
|
1025
1032
|
*/
|
|
1026
1033
|
options: CrmAttioCompanyPropertyOption[] | null;
|
|
1034
|
+
/**
|
|
1035
|
+
* `owner` when the value identifies a CRM user (any actor-reference
|
|
1036
|
+
* attribute, such as a custom "Owner"); null otherwise. Attio has no
|
|
1037
|
+
* standard owner field and the API does not guess from labels, so pick the
|
|
1038
|
+
* slug with `references === 'owner'` here and request it in
|
|
1039
|
+
* {@link CrmAttioCompanySearchRequest.properties}.
|
|
1040
|
+
*/
|
|
1041
|
+
references?: 'owner' | null;
|
|
1027
1042
|
}
|
|
1028
1043
|
interface CrmHubspotCompanyPropertiesResponse {
|
|
1029
1044
|
provider: 'hubspot';
|
|
@@ -1105,6 +1120,8 @@ interface CrmHubspotCompanySearchRequest {
|
|
|
1105
1120
|
/**
|
|
1106
1121
|
* Extra native property names to return. `name` and `domain` are always
|
|
1107
1122
|
* included. Names the CRM does not return are absent from `properties`.
|
|
1123
|
+
* Include `hubspot_owner_id` (or any field whose definition has
|
|
1124
|
+
* `references: 'owner'`) to also get it resolved in each company's `owners`.
|
|
1108
1125
|
*/
|
|
1109
1126
|
properties?: string[];
|
|
1110
1127
|
/** 1..100; defaults to 100 server-side. */
|
|
@@ -1121,7 +1138,9 @@ interface CrmAttioCompanySearchRequest {
|
|
|
1121
1138
|
filters?: CrmAttioCompanyFilters;
|
|
1122
1139
|
/**
|
|
1123
1140
|
* Attribute slugs to return alongside `name` and `domain`. An unknown slug
|
|
1124
|
-
* comes back as an empty array rather than an error.
|
|
1141
|
+
* comes back as an empty array rather than an error. Include a slug whose
|
|
1142
|
+
* definition has `references: 'owner'` to also get it resolved in each
|
|
1143
|
+
* company's `owners`.
|
|
1125
1144
|
*/
|
|
1126
1145
|
properties?: string[];
|
|
1127
1146
|
/** 1..100; defaults to 100 server-side. */
|
|
@@ -1130,6 +1149,16 @@ interface CrmAttioCompanySearchRequest {
|
|
|
1130
1149
|
cursor?: string | null;
|
|
1131
1150
|
}
|
|
1132
1151
|
type CrmCompanySearchRequest = CrmHubspotCompanySearchRequest | CrmAttioCompanySearchRequest;
|
|
1152
|
+
/**
|
|
1153
|
+
* A CRM user resolved from an owner-typed field. `name` and `email` are null
|
|
1154
|
+
* when the id is not in the CRM's user directory (an archived HubSpot owner,
|
|
1155
|
+
* or an Attio system/app actor).
|
|
1156
|
+
*/
|
|
1157
|
+
interface CrmCompanyOwner {
|
|
1158
|
+
id: string;
|
|
1159
|
+
name: string | null;
|
|
1160
|
+
email: string | null;
|
|
1161
|
+
}
|
|
1133
1162
|
interface CrmHubspotCompany {
|
|
1134
1163
|
/** HubSpot record id (`hs_object_id`), always a decimal string. */
|
|
1135
1164
|
id: string;
|
|
@@ -1141,6 +1170,14 @@ interface CrmHubspotCompany {
|
|
|
1141
1170
|
* `properties.hsLastmodifieddate`. HubSpot returns every value as a string.
|
|
1142
1171
|
*/
|
|
1143
1172
|
properties: Record<string, string | null>;
|
|
1173
|
+
/**
|
|
1174
|
+
* Owner-typed fields from the request's `properties`, keyed by native
|
|
1175
|
+
* HubSpot name (not rewritten either — read `owners.hubspot_owner_id`) and
|
|
1176
|
+
* resolved through the portal's owner directory. Null when the company has
|
|
1177
|
+
* no value in that field; `{}` when no requested field has
|
|
1178
|
+
* `references: 'owner'`. `properties` still holds the raw owner id string.
|
|
1179
|
+
*/
|
|
1180
|
+
owners?: Record<string, CrmCompanyOwner | null>;
|
|
1144
1181
|
}
|
|
1145
1182
|
/**
|
|
1146
1183
|
* One Attio value entry, verbatim from the provider. Its keys keep Attio's own
|
|
@@ -1165,6 +1202,14 @@ interface CrmAttioCompany {
|
|
|
1165
1202
|
* empty when the company has no active value for that slug.
|
|
1166
1203
|
*/
|
|
1167
1204
|
properties: Record<string, CrmAttioCompanyPropertyValue[]>;
|
|
1205
|
+
/**
|
|
1206
|
+
* Actor-reference fields from the request's `properties`, keyed by Attio
|
|
1207
|
+
* slug (not rewritten either) and resolved through the workspace's member
|
|
1208
|
+
* list. Null when the company has no value in that field; `{}` when no
|
|
1209
|
+
* requested slug has `references: 'owner'`. `properties` still holds the
|
|
1210
|
+
* raw value rows with `referenced_actor_type` / `referenced_actor_id`.
|
|
1211
|
+
*/
|
|
1212
|
+
owners?: Record<string, CrmCompanyOwner | null>;
|
|
1168
1213
|
}
|
|
1169
1214
|
interface CrmHubspotCompanySearchResponse {
|
|
1170
1215
|
provider: 'hubspot';
|
|
@@ -6740,6 +6785,11 @@ declare class CrmResource {
|
|
|
6740
6785
|
* Field metadata is provider-shaped, so the return type narrows on the
|
|
6741
6786
|
* `provider` you pass.
|
|
6742
6787
|
*
|
|
6788
|
+
* A definition with `references: 'owner'` holds a CRM user id; request it
|
|
6789
|
+
* in {@link searchCompanies} to have each company's `owners` map resolve
|
|
6790
|
+
* it to a name and email. HubSpot's is `hubspot_owner_id`; Attio has no
|
|
6791
|
+
* standard one, so take the actor-reference slug this listing flags.
|
|
6792
|
+
*
|
|
6743
6793
|
* Failure modes: `403 crm_access_denied` and `503 crm_access_unavailable`
|
|
6744
6794
|
* (the `crmUserId` grant), `409 crm_not_connected` (no single active
|
|
6745
6795
|
* connection for the owner), `404 crm_property_not_found`,
|
|
@@ -6760,6 +6810,9 @@ declare class CrmResource {
|
|
|
6760
6810
|
* propertyName: 'employee_range',
|
|
6761
6811
|
* })
|
|
6762
6812
|
* console.log(tier.properties[0].options)
|
|
6813
|
+
*
|
|
6814
|
+
* // The field that can fill an owner column.
|
|
6815
|
+
* const ownerField = properties.find(p => p.references === 'owner')
|
|
6763
6816
|
* ```
|
|
6764
6817
|
*/
|
|
6765
6818
|
getCompanyProperties<T extends CrmCompanyPropertiesRequest>(params: T): Promise<T extends {
|
|
@@ -6774,10 +6827,18 @@ declare class CrmResource {
|
|
|
6774
6827
|
* group, OR between groups) with string comparison values; Attio takes its
|
|
6775
6828
|
* record-query object with `$`-prefixed operators. Both cross the wire
|
|
6776
6829
|
* verbatim — the SDK's camelCase ↔ snake_case conversion is switched off for
|
|
6777
|
-
* `filters` and for each company's `properties`
|
|
6778
|
-
* property names. Discover valid names and operators with
|
|
6830
|
+
* `filters` and for each company's `properties` and `owners` maps, whose
|
|
6831
|
+
* keys are CRM property names. Discover valid names and operators with
|
|
6779
6832
|
* {@link getCompanyProperties}.
|
|
6780
6833
|
*
|
|
6834
|
+
* Requesting an owner-typed field (`references: 'owner'` in its definition)
|
|
6835
|
+
* also resolves it: `owners[field]` is the CRM user's `{ id, name, email }`,
|
|
6836
|
+
* null when the company has none, with `name`/`email` null when the id is
|
|
6837
|
+
* not in the user directory. Resolution is part of the page — if the
|
|
6838
|
+
* directory read fails the whole request fails with the codes below rather
|
|
6839
|
+
* than returning half-resolved owners. Cost: any requested field adds one
|
|
6840
|
+
* definitions read per page; an owner field adds one directory read on top.
|
|
6841
|
+
*
|
|
6781
6842
|
* Paging is cursor-based: pass the previous page's `nextCursor` back as
|
|
6782
6843
|
* `cursor` and keep every other field identical, because HubSpot pages by
|
|
6783
6844
|
* record id inside the original query. `nextCursor: null` is the last page.
|
|
@@ -6805,13 +6866,13 @@ declare class CrmResource {
|
|
|
6805
6866
|
* ],
|
|
6806
6867
|
* }],
|
|
6807
6868
|
* },
|
|
6808
|
-
* properties: ['numberofemployees', 'industry'],
|
|
6869
|
+
* properties: ['numberofemployees', 'industry', 'hubspot_owner_id'],
|
|
6809
6870
|
* limit: 50,
|
|
6810
6871
|
* }
|
|
6811
6872
|
*
|
|
6812
6873
|
* const page = await client.crm.searchCompanies(request)
|
|
6813
6874
|
* for (const company of page.companies)
|
|
6814
|
-
* console.log(company.name, company.properties.industry)
|
|
6875
|
+
* console.log(company.name, company.properties.industry, company.owners?.hubspot_owner_id?.name)
|
|
6815
6876
|
*
|
|
6816
6877
|
* // Same query, next page.
|
|
6817
6878
|
* if (page.nextCursor)
|
|
@@ -11472,4 +11533,4 @@ declare class ProgressTracker {
|
|
|
11472
11533
|
*/
|
|
11473
11534
|
declare function verifyWebhookSignature(payload: string, signature: string, secret: string): boolean;
|
|
11474
11535
|
|
|
11475
|
-
export { ACTION_DELAYS, type AccountMonitorAccountAnalysis, type AccountMonitorAnalysisFailure, type AccountMonitorArtifactRefs, type AccountMonitorAssessment, type AccountMonitorCard, type AccountMonitorClaim, type AccountMonitorCollectedSignal, type AccountMonitorCommittee, type AccountMonitorCommitteeInput, type AccountMonitorCommitteeSynthesis, type AccountMonitorCompany, type AccountMonitorCompanySourceReport, type AccountMonitorComparison, type AccountMonitorComparisonFinding, type AccountMonitorCoverage, type AccountMonitorCrmContext, type AccountMonitorCrmHistoryCoverage, type AccountMonitorCrmProviderCoverage, type AccountMonitorCrmStatus, type AccountMonitorDate, type AccountMonitorDepth, type AccountMonitorEvidenceRow, type AccountMonitorIdentity, type AccountMonitorOptions, type AccountMonitorOutput, type AccountMonitorParams, type AccountMonitorPersonReport, type AccountMonitorProvenance, type AccountMonitorRecency, type AccountMonitorRecommendation, type AccountMonitorReportSection, type AccountMonitorScore, type AccountMonitorSignal, type AccountMonitorSignalDefinition, type AccountMonitorSignalName, type AccountMonitorSignalRef, type AccountMonitorSourceCoverage, type AccountMonitorSourceRequest, type AccountMonitorUsage, type AccountMonitorValidation, type AccountMonitorWindow, type ActionLimit, type ActiveHours, type AddAndRunCriterionRequest, type AddCriterionRequest, type AddOrgMemberRequest, type AddOrgMemberResponse, type AddPersonaRequest, type AddPersonaResponse, type AddProspectsRequest, type AddProspectsResponse, type AgentConfig, type AgentCostStats, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, type ApprovalActionRequest, type ApprovalItem, type ApprovalListResponse, type ApprovalMode, type ApprovalResponse, type ApprovalSettings, type ApprovalStatus, type ApprovalsParams, type ApprovalsRequestItem, type ApprovalsResponseItem, type ApproveStepRequest, type AppsListResponse, type ArtifactObject, type ArtifactsListResponse, AuthenticationError, type AutoSearchSelection, type BaseResource, type BatchCheckConnectionRequest, type BatchCheckPriorContactRequest, type BatchCheckPriorContactResponse, type BatchConnectionRequest, type BatchConnectionResponse, type BatchConnectionStatus, type BatchConnectionStatusResponse, type BatchDraftCompleteData, type BatchDraftCreatedData, type BatchDraftErrorData, type BatchDraftJobProgress, type BatchDraftJobResponse, type BatchDraftJobStartedData, type BatchDraftJobStatusResponse, type BatchDraftProgressData, type BatchDraftRequest, type BatchDraftResponse, type BatchDraftStreamCallbacks, type BatchDraftStreamEvent, type BatchDraftStreamEventType, type BatchExecutionInclude, type BatchExecutionRequest, type BatchExecutionResponse, BatchJobStatus, type BatchPollRequest, type BatchPollResponse, type BatchProspectIdentifier, type BatchRequestItem, type BatchRequestType, type BatchResponseItem, type BatchSendRequest, type BatchSendResponse, type BatchStepMetric, type BillingStatus, type BulkApprovalAction, type BulkApprovalFailure, type BulkApprovalRequest, type BulkApprovalResponse, type BulkCompleteFailure, type BulkCompleteRequest, type BulkCompleteResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkOperationRequest, type BulkOperationResponse, type BulkUploadResponse, CONTENT_LIMITS, CONTENT_LIMITS_MAP, type CampaignActionListResponse, type CampaignActionResponse, type CampaignActionStatus, type CampaignActionType, type CampaignAssetUpsertItem, type CampaignAssetUpsertRequest, type CampaignBulkApprovalAction, type CampaignBulkApprovalItem, type CampaignBulkApprovalRequest, type CampaignBulkApprovalResponse, type CampaignBulkApprovalResult, type CampaignCreate, type CampaignGuardrails, type CampaignListResponse, type CampaignMetricsResponse, type CampaignOutcomeType, type CampaignProspectDetailResponse, type CampaignProspectInput, type CampaignProspectResponse, type CampaignProspectState, type CampaignResponse, type CampaignStatus, type CampaignUpdate, CampaignsResource, type CancelDraftResponse, type CancelQueuedRequest, type CancelResponseResponse, type Channel, type ChannelContactHistory, type ChannelFunnel, type ChannelRatios, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type ColumnKind, type CompanyIntelligenceOptions, type CompanyIntelligenceOutput, type CompanyIntelligenceResolvedParams, type CompanyIntelligenceStats, type CompanyReportSubject, type CompetitorPostEngagementOutput, type CompetitorRepEngagementOutput, type CompleteExecutionRequest, type CompleteExecutionResponse, type ConnectInboxRequest, type ConnectInboxResponse, type Connection, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ConnectionsResponse, type ConnectionsSyncStatus, type ContactDetailsInput, type ContactEnrichPersonInput, type ContactEnrichPersonResult, type ContactEnrichRequest, type ContactEnrichResponse, type ContactFinding, type ContactHistorySyncStatus, type ContactRelationshipProvider, type ContactRelationshipResponse, type ContactRelationshipStatus, ContactRelationshipsResource, type ContactScore, type ContentIntelligenceAudienceStats, type ContentIntelligenceAuthor, type ContentIntelligenceCompetitorAdjacentDelta, type ContentIntelligenceCompetitorAnalysis, type ContentIntelligenceCompetitorAnalysisScope, type ContentIntelligenceCompetitorBucket, type ContentIntelligenceCompetitorComparison, type ContentIntelligenceCompetitorComparisonTotals, type ContentIntelligenceCompetitorCoverage, type ContentIntelligenceCompetitorDelta, type ContentIntelligenceCompetitorDeltas, type ContentIntelligenceCompetitorHighlight, type ContentIntelligenceCompetitorPackage, type ContentIntelligenceCompetitorPeriod, type ContentIntelligenceCompetitorPeriodPoint, type ContentIntelligenceCompetitorPeriodTheme, type ContentIntelligenceCompetitorPost, type ContentIntelligenceCompetitorPostAuthorType, type ContentIntelligenceCompetitorPostSource, type ContentIntelligenceCompetitorResolutionReason, type ContentIntelligenceCompetitorRole, type ContentIntelligenceCompetitorRow, type ContentIntelligenceCompetitorSource, type ContentIntelligenceCompetitorStatus, type ContentIntelligenceCompetitorStopReason, type ContentIntelligenceCompetitorSummary, type ContentIntelligenceCompetitorTakeaway, type ContentIntelligenceCompetitorTargetCoverage, type ContentIntelligenceCompetitorThemePeriod, type ContentIntelligenceCompetitorThemeStats, type ContentIntelligenceCoverage, type ContentIntelligenceCoveragePerson, type ContentIntelligenceCurationStats, type ContentIntelligenceDateValue, type ContentIntelligenceEngager, type ContentIntelligenceOptions, type ContentIntelligenceOutput, type ContentIntelligenceOutputName, type ContentIntelligenceOutputs, type ContentIntelligenceOwnCompanyCoverage, type ContentIntelligencePackage, type ContentIntelligencePost, type ContentIntelligenceResolvedCompetitor, type ContentIntelligenceResolvedParams, type ContentIntelligenceSummary, type ContentIntelligenceUnresolvedCompetitor, type ContentLimit, type ContentSource, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type CriteriaClassification, type CriteriaMetadata, type CriterionDefinition, type CriterionResult, type CriterionType, type CrmAccountContextAssociationConfidence, type CrmAccountContextAssociationKind, type CrmAccountContextBatchRequest, type CrmAccountContextBatchResponse, type CrmAccountContextCandidateInput, type CrmAccountContextDealSummary, type CrmAccountContextDetail, type CrmAccountContextMatchConfidence, type CrmAccountContextMatchMethod, type CrmAccountContextPersonPresence, type CrmAccountContextPersonPreview, type CrmAccountContextProviderCoverage, type CrmAccountContextProviderResult, type CrmAccountContextResult, type CrmAccountContextSalesState, type CrmAccountContextSourceStatus, type CrmAccountContextStageChangeTimePrecision, type CrmAccountContextStageClass, type CrmAttioCompany, type CrmAttioCompanyFilters, type CrmAttioCompanyPropertiesRequest, type CrmAttioCompanyPropertiesResponse, type CrmAttioCompanyProperty, type CrmAttioCompanyPropertyFilterField, type CrmAttioCompanyPropertyOption, type CrmAttioCompanyPropertyValue, type CrmAttioCompanySearchRequest, type CrmAttioCompanySearchResponse, type CrmAttioFilterOperator, type CrmCompanyPropertiesRequest, type CrmCompanyPropertiesResponse, type CrmCompanySearchRequest, type CrmCompanySearchResponse, type CrmContactInput, type CrmContactsSyncRequest, type CrmContactsSyncResponse, type CrmContactsSyncStatusResponse, type CrmExclusionGrantListResponse, type CrmExclusionGrantRequest, type CrmExclusionGrantResponse, type CrmHubspotCompany, type CrmHubspotCompanyFilter, type CrmHubspotCompanyFilterGroup, type CrmHubspotCompanyFilters, type CrmHubspotCompanyPropertiesRequest, type CrmHubspotCompanyPropertiesResponse, type CrmHubspotCompanyProperty, type CrmHubspotCompanyPropertyOption, type CrmHubspotCompanySearchRequest, type CrmHubspotCompanySearchResponse, type CrmHubspotFilterOperator, type CrmMatchBatchRequest, type CrmMatchBatchResponse, type CrmMatchedProspect, type CrmProvider, CrmResource, type CrmSyncProspectRequest, type CrmSyncProspectResponse, DAILY_INMAIL_LIMITS, DEFAULT_SUBSCRIPTION_TYPE, type DatabaseStatus, type DateRange, type DeepPeopleSearchOutput, type DeepSearchPreview, type DeepSearchStats, type DeleteApiKeyResponse, type DeleteConnectionsResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DiscoveryTrace, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type DuplicateTemplateRequest, type EditQueuedRequest, type Email, type EmailAction, type EmailInboxItem, type EmailInboxListResponse, type EmailInboxPersona, type EmailOnboardRequest, type EmailOnboardResponse, type EmailOnboardStatusResponse, type EmailOrgHealthResponse, type EmailOrgListResponse, type EmailOrgSettingsResponse, type EmailOrgSettingsUpdate, type EmailOrgSummary, EmailResource, type EmailSenderPersona, type EmailThreadSummary, type EngagementActivity, type EngagementActivityCoverage, type EngagementAnalysisOutput, type EngagementAnalysisScope, type EngagementExpansionHopStats, type EngagementExpansionOptions, type EngagementExpansionOutput, type EngagementExpansionResolvedParams, type EngagementExpansionStats, type EngagementHistoryEntry, type EngagementSignalOutputName, type EngagementSignalSettings, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceRichnessGrade, type EvidenceSource, type ExecutionDetailResponse, type ExecutionEvent, type ExecutionEventData, type ExecutionListResponse, type ExecutionMetricsOptions, type ExecutionMetricsResponse, type ExecutionStatus, type ExecutionSummary, type ExecutionSummaryExtended, type ExecutionsParams, type ExecutionsRequestItem, type ExecutionsResponseItem, ExternalAPIKeysResource, type ExternalApiKeyResponse, type FeedbackListResponse, type FeedbackObject, type FeedbackType, type FileAttachment, type FileChunk, type FileContentResponse, type FileListResponse, type FileMetadata, type FileScope, type FileScopeUpdateRequest, type FileSearchRequest, type FileSearchResponse, type FileSearchResult, type FileStatisticsResponse, type FileUploadResponse, FilesResource, type FilterLogic, type FilterValue, type FunnelStage, type GetConnectionStatusParams, type GetContactRelationshipsOptions, type GetToolsRequest, type GetToolsResponse, type GetUserConnectionsParams, type InboxKind, type InfluencerEngagementOptions, type InfluencerEngagementOutput, type InfluencerEngagementPostSource, type InfluencerEngagementResolvedParams, type InfluencerEngagementSeedCoverage, type InfluencerEngagementSeedPost, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntelligenceBarChart, type IntelligenceBarChartBar, type IntelligenceChart, type IntelligenceChartId, type IntelligenceCreditEntry, type IntelligenceCreditLedger, type IntelligenceEntitySpan, type IntelligenceLineChart, type IntelligenceLineChartPoint, type IntelligenceQuoteSpan, type IntelligenceReportBlock, type IntelligenceReportCompleteness, type IntelligenceReportEnvelope, type IntelligenceReportReader, type IntelligenceReportSectionRef, type IntelligenceReportSubject, type IntelligenceReportSummary, type IntelligenceReportTable, type IntelligenceSectionOverlays, type IntelligenceStatSpan, type IntentSignal, InternalServerError, LINKEDIN_LIMITS, type LifecycleOperationRequest, type LifecycleOperationResponse, type LinkAssetsRequest, type LinkedAssetsResponse, type LinkedInAccountInfoResponse, type LinkedInAccountRateLimits, type LinkedInAccountRateLimitsResponse, type LinkedInAccountRateLimitsUpdate, type LinkedInAction, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type LinkedInSyncStatusResponse, type ListAcceptedConnectionsParams, type ListApprovalsOptions, type ListAssetsOptions, type ListCampaignActionsOptions, type ListCampaignProspectsOptions, type ListCampaignsOptions, type ListConnectionsParams, type ListExecutionsOptions, type ListInboxesParams, type ListPendingApprovalsOptions, type ListPlaybooksOptions, type ListProvidersResponse, type ListStepExecutionsOptions, type ListTemplatesOptions, LocalFileNotSupportedError, LumnisClient, type LumnisClientOptions, LumnisError, type LumnisErrorOptions, type MCPScope, type MCPServerCreateRequest, type MCPServerListResponse, type MCPServerResponse, type MCPServerUpdateRequest, MCPServersResource, type MCPToolListResponse, type MCPToolResponse, type MCPTransport, type MailboxUpdateRequest, type MailboxUpdateResponse, type Message, type MessageReceivedData, type MessageResponse, type MessageSentData, MessageType, MessagingAPIError, MessagingConnectionError, MessagingNotFoundError, MessagingResource, MessagingSendError, MessagingValidationError, type MetricsParams, type MetricsRequestItem, type MetricsResponseItem, type ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, type OnFailure, type Opportunity, type OutcomeType, type OutreachAssetCreate, type OutreachAssetResponse, type OutreachAssetType, type OutreachAssetUpdate, OutreachMethod, OutreachResource, type OutreachSource, type OutreachStats, type PaginationInfo, type PaginationParams, type PainPoint, type PauseProspectsRequest, type PauseProspectsResponse, type PauseResumeQueuedRequest, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PeriodInsight, type PersonEvidenceLegCounts, type PersonEvidenceRichness, type PersonIntelligenceOptions, type PersonIntelligenceOutput, type PersonIntelligenceResolvedParams, type PersonReportSubject, type PersonResult, type Plan, type PlaybookCreate, type PlaybookGenerateJobResponse, type PlaybookGenerateJobStatusResponse, type PlaybookGenerateRequest, type PlaybookResponse, type PlaybookUpdate, type PlaybookVersionResponse, type PostEngagementData, type PostEngagementProvenance, type PostEngagementType, type PostIdea, type PostIdeasOutput, type PostPreviewRequest, type PostPreviewResponse, type PostPreviewResult, type PostsDateRange, type PostsSearchStats, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProjectApprovalsData, type ProjectExecutionsData, type ProjectMetricsData, type ProspectConnectionCheck, type ProspectInfo, type ProspectInput, type ProspectPriorContactResult, type ProspectSkip, type ProspectSyncIdentifier, type ProspectSyncResult, type ProspectWarning, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, type RateLimitData, RateLimitError, type RateLimitErrorOptions, type RateLimitInfo$1 as RateLimitInfo, type RateLimitStatusResponse, type RateLimitsParams, type RateLimitsRequestItem, type RateLimitsResponseItem, type RecordOutcomeRequest, type RejectActionRequest, type RejectStepRequest, type RelevanceTier, type RemoveOrgMemberResponse, type RepEngagementData, type RepEngagementStats, type ReplySentiment, type ResolvedCompetitorTarget, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, type ResumeProspectsRequest, SEQUENCE_RATE_LIMITS, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, type SenderPersonaInput, type SequenceAction, type SequenceApprovalNeededData, type SequenceChannel, type SequenceEventType, type SequenceExecutionCompletedData, type SequenceExecutionFailedData, type SequenceRateLimitAction, type SequenceStepCompletedData, type SequenceTemplateCreate, type SequenceTemplateResponse, type SequenceTemplateUpdate, SequencesResource, SharePermission, type SignalDateRangeSettings, type SignalDefinition, type SignalDiscoveryLane, type SignalEnrichmentPool, type SignalEnrichmentStats, type SignalEvidence, type SignalFunnel, type SignalFunnelRow, type SignalOutput, type SignalPresentation, type SignalPresentationFact, type SignalPresentationLink, type SignalScope, type SignalType, type SignalVerdict, type SkillAnalyticsRequest, type SkillEffectivenessMetrics, type SkillGuidelineBase, type SkillGuidelineCreate, type SkillGuidelineListResponse, type SkillGuidelineResponse, type SkillGuidelineUpdate, type SkillRetrievalMetadata, type SkillUsageBase, type SkillUsageCreate, type SkillUsageListResponse, type SkillUsageResponse, type SkillUsageUpdate, SkillsResource, type SkipActionRequest, type SkipStepRequest, type SkipStepResponse, type SkippedProspect, type SkippedTransferProspect, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type Stage, type StageFilter, type StandoutPost, type StartExecutionRequest, type StartExecutionResponse, type StepConfig, type StepExecutionItem, type StepExecutionListResponse, type StepExecutionStatus, type StepHistoryEntry, type StepMetric, type StoppedBreakdown, type StoreApiKeyRequest, type StructuredResponse, type SyncJobResponse, SyncJobStatus, SyncPhaseStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type Takeaway, type TeardownOrgResponse, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThemeAssignment, type ThemePeriodStats, type ThemeStats, type ThemeTrend, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type TopPost, type TopPostsOutput, type TopVoice, type TransferProspectsRequest, type TransferProspectsResponse, type TransferSkipReason, type TransitionCondition, type TransitionConditionOperator, type TransitionConditionType, type TransitionConfig, type TransitionEventParams, type TriggerSyncResponse, UNIPILE_RATE_LIMIT_ERRORS, UNIPILE_SAFE_LIMITS, type UUID, type UnlinkConversationsResponse, type UpdateAppStatusParams, type UpdateAppStatusResponse, type UpdateDraftRequest, type UpdateLinkedInSubscriptionRequest, type UpdatePersonaRequest, type UpdatePersonaResponse, type UpdateStepExecutionRequest, type UpdateStepExecutionResponse, type UpdateThreadRequest, type UserConnectionsResponse, type UserCreateRequest, type UserDeleteResponse, type UserIdentifier, type UserListResponse, type UserResponse, type UserUpdateRequest, UsersResource, VALID_EVENT_TYPES, type ValidatedCandidate, ValidationError, type ValidationIssue, type ValidationResponse, type WebhookEvent, type WebhookPayload, type WeightedCall, type WeightedCallOption, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };
|
|
11536
|
+
export { ACTION_DELAYS, type AccountMonitorAccountAnalysis, type AccountMonitorAnalysisFailure, type AccountMonitorArtifactRefs, type AccountMonitorAssessment, type AccountMonitorCard, type AccountMonitorClaim, type AccountMonitorCollectedSignal, type AccountMonitorCommittee, type AccountMonitorCommitteeInput, type AccountMonitorCommitteeSynthesis, type AccountMonitorCompany, type AccountMonitorCompanySourceReport, type AccountMonitorComparison, type AccountMonitorComparisonFinding, type AccountMonitorCoverage, type AccountMonitorCrmContext, type AccountMonitorCrmHistoryCoverage, type AccountMonitorCrmProviderCoverage, type AccountMonitorCrmStatus, type AccountMonitorDate, type AccountMonitorDepth, type AccountMonitorEvidenceRow, type AccountMonitorIdentity, type AccountMonitorOptions, type AccountMonitorOutput, type AccountMonitorParams, type AccountMonitorPersonReport, type AccountMonitorProvenance, type AccountMonitorRecency, type AccountMonitorRecommendation, type AccountMonitorReportSection, type AccountMonitorScore, type AccountMonitorSignal, type AccountMonitorSignalDefinition, type AccountMonitorSignalName, type AccountMonitorSignalRef, type AccountMonitorSourceCoverage, type AccountMonitorSourceRequest, type AccountMonitorUsage, type AccountMonitorValidation, type AccountMonitorWindow, type ActionLimit, type ActiveHours, type AddAndRunCriterionRequest, type AddCriterionRequest, type AddOrgMemberRequest, type AddOrgMemberResponse, type AddPersonaRequest, type AddPersonaResponse, type AddProspectsRequest, type AddProspectsResponse, type AgentConfig, type AgentCostStats, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, type ApprovalActionRequest, type ApprovalItem, type ApprovalListResponse, type ApprovalMode, type ApprovalResponse, type ApprovalSettings, type ApprovalStatus, type ApprovalsParams, type ApprovalsRequestItem, type ApprovalsResponseItem, type ApproveStepRequest, type AppsListResponse, type ArtifactObject, type ArtifactsListResponse, AuthenticationError, type AutoSearchSelection, type BaseResource, type BatchCheckConnectionRequest, type BatchCheckPriorContactRequest, type BatchCheckPriorContactResponse, type BatchConnectionRequest, type BatchConnectionResponse, type BatchConnectionStatus, type BatchConnectionStatusResponse, type BatchDraftCompleteData, type BatchDraftCreatedData, type BatchDraftErrorData, type BatchDraftJobProgress, type BatchDraftJobResponse, type BatchDraftJobStartedData, type BatchDraftJobStatusResponse, type BatchDraftProgressData, type BatchDraftRequest, type BatchDraftResponse, type BatchDraftStreamCallbacks, type BatchDraftStreamEvent, type BatchDraftStreamEventType, type BatchExecutionInclude, type BatchExecutionRequest, type BatchExecutionResponse, BatchJobStatus, type BatchPollRequest, type BatchPollResponse, type BatchProspectIdentifier, type BatchRequestItem, type BatchRequestType, type BatchResponseItem, type BatchSendRequest, type BatchSendResponse, type BatchStepMetric, type BillingStatus, type BulkApprovalAction, type BulkApprovalFailure, type BulkApprovalRequest, type BulkApprovalResponse, type BulkCompleteFailure, type BulkCompleteRequest, type BulkCompleteResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkOperationRequest, type BulkOperationResponse, type BulkUploadResponse, CONTENT_LIMITS, CONTENT_LIMITS_MAP, type CampaignActionListResponse, type CampaignActionResponse, type CampaignActionStatus, type CampaignActionType, type CampaignAssetUpsertItem, type CampaignAssetUpsertRequest, type CampaignBulkApprovalAction, type CampaignBulkApprovalItem, type CampaignBulkApprovalRequest, type CampaignBulkApprovalResponse, type CampaignBulkApprovalResult, type CampaignCreate, type CampaignGuardrails, type CampaignListResponse, type CampaignMetricsResponse, type CampaignOutcomeType, type CampaignProspectDetailResponse, type CampaignProspectInput, type CampaignProspectResponse, type CampaignProspectState, type CampaignResponse, type CampaignStatus, type CampaignUpdate, CampaignsResource, type CancelDraftResponse, type CancelQueuedRequest, type CancelResponseResponse, type Channel, type ChannelContactHistory, type ChannelFunnel, type ChannelRatios, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type ColumnKind, type CompanyIntelligenceOptions, type CompanyIntelligenceOutput, type CompanyIntelligenceResolvedParams, type CompanyIntelligenceStats, type CompanyReportSubject, type CompetitorPostEngagementOutput, type CompetitorRepEngagementOutput, type CompleteExecutionRequest, type CompleteExecutionResponse, type ConnectInboxRequest, type ConnectInboxResponse, type Connection, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ConnectionsResponse, type ConnectionsSyncStatus, type ContactDetailsInput, type ContactEnrichPersonInput, type ContactEnrichPersonResult, type ContactEnrichRequest, type ContactEnrichResponse, type ContactFinding, type ContactHistorySyncStatus, type ContactRelationshipProvider, type ContactRelationshipResponse, type ContactRelationshipStatus, ContactRelationshipsResource, type ContactScore, type ContentIntelligenceAudienceStats, type ContentIntelligenceAuthor, type ContentIntelligenceCompetitorAdjacentDelta, type ContentIntelligenceCompetitorAnalysis, type ContentIntelligenceCompetitorAnalysisScope, type ContentIntelligenceCompetitorBucket, type ContentIntelligenceCompetitorComparison, type ContentIntelligenceCompetitorComparisonTotals, type ContentIntelligenceCompetitorCoverage, type ContentIntelligenceCompetitorDelta, type ContentIntelligenceCompetitorDeltas, type ContentIntelligenceCompetitorHighlight, type ContentIntelligenceCompetitorPackage, type ContentIntelligenceCompetitorPeriod, type ContentIntelligenceCompetitorPeriodPoint, type ContentIntelligenceCompetitorPeriodTheme, type ContentIntelligenceCompetitorPost, type ContentIntelligenceCompetitorPostAuthorType, type ContentIntelligenceCompetitorPostSource, type ContentIntelligenceCompetitorResolutionReason, type ContentIntelligenceCompetitorRole, type ContentIntelligenceCompetitorRow, type ContentIntelligenceCompetitorSource, type ContentIntelligenceCompetitorStatus, type ContentIntelligenceCompetitorStopReason, type ContentIntelligenceCompetitorSummary, type ContentIntelligenceCompetitorTakeaway, type ContentIntelligenceCompetitorTargetCoverage, type ContentIntelligenceCompetitorThemePeriod, type ContentIntelligenceCompetitorThemeStats, type ContentIntelligenceCoverage, type ContentIntelligenceCoveragePerson, type ContentIntelligenceCurationStats, type ContentIntelligenceDateValue, type ContentIntelligenceEngager, type ContentIntelligenceOptions, type ContentIntelligenceOutput, type ContentIntelligenceOutputName, type ContentIntelligenceOutputs, type ContentIntelligenceOwnCompanyCoverage, type ContentIntelligencePackage, type ContentIntelligencePost, type ContentIntelligenceResolvedCompetitor, type ContentIntelligenceResolvedParams, type ContentIntelligenceSummary, type ContentIntelligenceUnresolvedCompetitor, type ContentLimit, type ContentSource, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type CriteriaClassification, type CriteriaMetadata, type CriterionDefinition, type CriterionResult, type CriterionType, type CrmAccountContextAssociationConfidence, type CrmAccountContextAssociationKind, type CrmAccountContextBatchRequest, type CrmAccountContextBatchResponse, type CrmAccountContextCandidateInput, type CrmAccountContextDealSummary, type CrmAccountContextDetail, type CrmAccountContextMatchConfidence, type CrmAccountContextMatchMethod, type CrmAccountContextPersonPresence, type CrmAccountContextPersonPreview, type CrmAccountContextProviderCoverage, type CrmAccountContextProviderResult, type CrmAccountContextResult, type CrmAccountContextSalesState, type CrmAccountContextSourceStatus, type CrmAccountContextStageChangeTimePrecision, type CrmAccountContextStageClass, type CrmAttioCompany, type CrmAttioCompanyFilters, type CrmAttioCompanyPropertiesRequest, type CrmAttioCompanyPropertiesResponse, type CrmAttioCompanyProperty, type CrmAttioCompanyPropertyFilterField, type CrmAttioCompanyPropertyOption, type CrmAttioCompanyPropertyValue, type CrmAttioCompanySearchRequest, type CrmAttioCompanySearchResponse, type CrmAttioFilterOperator, type CrmCompanyOwner, type CrmCompanyPropertiesRequest, type CrmCompanyPropertiesResponse, type CrmCompanySearchRequest, type CrmCompanySearchResponse, type CrmContactInput, type CrmContactsSyncRequest, type CrmContactsSyncResponse, type CrmContactsSyncStatusResponse, type CrmExclusionGrantListResponse, type CrmExclusionGrantRequest, type CrmExclusionGrantResponse, type CrmHubspotCompany, type CrmHubspotCompanyFilter, type CrmHubspotCompanyFilterGroup, type CrmHubspotCompanyFilters, type CrmHubspotCompanyPropertiesRequest, type CrmHubspotCompanyPropertiesResponse, type CrmHubspotCompanyProperty, type CrmHubspotCompanyPropertyOption, type CrmHubspotCompanySearchRequest, type CrmHubspotCompanySearchResponse, type CrmHubspotFilterOperator, type CrmMatchBatchRequest, type CrmMatchBatchResponse, type CrmMatchedProspect, type CrmProvider, CrmResource, type CrmSyncProspectRequest, type CrmSyncProspectResponse, DAILY_INMAIL_LIMITS, DEFAULT_SUBSCRIPTION_TYPE, type DatabaseStatus, type DateRange, type DeepPeopleSearchOutput, type DeepSearchPreview, type DeepSearchStats, type DeleteApiKeyResponse, type DeleteConnectionsResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DiscoveryTrace, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type DuplicateTemplateRequest, type EditQueuedRequest, type Email, type EmailAction, type EmailInboxItem, type EmailInboxListResponse, type EmailInboxPersona, type EmailOnboardRequest, type EmailOnboardResponse, type EmailOnboardStatusResponse, type EmailOrgHealthResponse, type EmailOrgListResponse, type EmailOrgSettingsResponse, type EmailOrgSettingsUpdate, type EmailOrgSummary, EmailResource, type EmailSenderPersona, type EmailThreadSummary, type EngagementActivity, type EngagementActivityCoverage, type EngagementAnalysisOutput, type EngagementAnalysisScope, type EngagementExpansionHopStats, type EngagementExpansionOptions, type EngagementExpansionOutput, type EngagementExpansionResolvedParams, type EngagementExpansionStats, type EngagementHistoryEntry, type EngagementSignalOutputName, type EngagementSignalSettings, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceRichnessGrade, type EvidenceSource, type ExecutionDetailResponse, type ExecutionEvent, type ExecutionEventData, type ExecutionListResponse, type ExecutionMetricsOptions, type ExecutionMetricsResponse, type ExecutionStatus, type ExecutionSummary, type ExecutionSummaryExtended, type ExecutionsParams, type ExecutionsRequestItem, type ExecutionsResponseItem, ExternalAPIKeysResource, type ExternalApiKeyResponse, type FeedbackListResponse, type FeedbackObject, type FeedbackType, type FileAttachment, type FileChunk, type FileContentResponse, type FileListResponse, type FileMetadata, type FileScope, type FileScopeUpdateRequest, type FileSearchRequest, type FileSearchResponse, type FileSearchResult, type FileStatisticsResponse, type FileUploadResponse, FilesResource, type FilterLogic, type FilterValue, type FunnelStage, type GetConnectionStatusParams, type GetContactRelationshipsOptions, type GetToolsRequest, type GetToolsResponse, type GetUserConnectionsParams, type InboxKind, type InfluencerEngagementOptions, type InfluencerEngagementOutput, type InfluencerEngagementPostSource, type InfluencerEngagementResolvedParams, type InfluencerEngagementSeedCoverage, type InfluencerEngagementSeedPost, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntelligenceBarChart, type IntelligenceBarChartBar, type IntelligenceChart, type IntelligenceChartId, type IntelligenceCreditEntry, type IntelligenceCreditLedger, type IntelligenceEntitySpan, type IntelligenceLineChart, type IntelligenceLineChartPoint, type IntelligenceQuoteSpan, type IntelligenceReportBlock, type IntelligenceReportCompleteness, type IntelligenceReportEnvelope, type IntelligenceReportReader, type IntelligenceReportSectionRef, type IntelligenceReportSubject, type IntelligenceReportSummary, type IntelligenceReportTable, type IntelligenceSectionOverlays, type IntelligenceStatSpan, type IntentSignal, InternalServerError, LINKEDIN_LIMITS, type LifecycleOperationRequest, type LifecycleOperationResponse, type LinkAssetsRequest, type LinkedAssetsResponse, type LinkedInAccountInfoResponse, type LinkedInAccountRateLimits, type LinkedInAccountRateLimitsResponse, type LinkedInAccountRateLimitsUpdate, type LinkedInAction, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type LinkedInSyncStatusResponse, type ListAcceptedConnectionsParams, type ListApprovalsOptions, type ListAssetsOptions, type ListCampaignActionsOptions, type ListCampaignProspectsOptions, type ListCampaignsOptions, type ListConnectionsParams, type ListExecutionsOptions, type ListInboxesParams, type ListPendingApprovalsOptions, type ListPlaybooksOptions, type ListProvidersResponse, type ListStepExecutionsOptions, type ListTemplatesOptions, LocalFileNotSupportedError, LumnisClient, type LumnisClientOptions, LumnisError, type LumnisErrorOptions, type MCPScope, type MCPServerCreateRequest, type MCPServerListResponse, type MCPServerResponse, type MCPServerUpdateRequest, MCPServersResource, type MCPToolListResponse, type MCPToolResponse, type MCPTransport, type MailboxUpdateRequest, type MailboxUpdateResponse, type Message, type MessageReceivedData, type MessageResponse, type MessageSentData, MessageType, MessagingAPIError, MessagingConnectionError, MessagingNotFoundError, MessagingResource, MessagingSendError, MessagingValidationError, type MetricsParams, type MetricsRequestItem, type MetricsResponseItem, type ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, type OnFailure, type Opportunity, type OutcomeType, type OutreachAssetCreate, type OutreachAssetResponse, type OutreachAssetType, type OutreachAssetUpdate, OutreachMethod, OutreachResource, type OutreachSource, type OutreachStats, type PaginationInfo, type PaginationParams, type PainPoint, type PauseProspectsRequest, type PauseProspectsResponse, type PauseResumeQueuedRequest, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PeriodInsight, type PersonEvidenceLegCounts, type PersonEvidenceRichness, type PersonIntelligenceOptions, type PersonIntelligenceOutput, type PersonIntelligenceResolvedParams, type PersonReportSubject, type PersonResult, type Plan, type PlaybookCreate, type PlaybookGenerateJobResponse, type PlaybookGenerateJobStatusResponse, type PlaybookGenerateRequest, type PlaybookResponse, type PlaybookUpdate, type PlaybookVersionResponse, type PostEngagementData, type PostEngagementProvenance, type PostEngagementType, type PostIdea, type PostIdeasOutput, type PostPreviewRequest, type PostPreviewResponse, type PostPreviewResult, type PostsDateRange, type PostsSearchStats, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProjectApprovalsData, type ProjectExecutionsData, type ProjectMetricsData, type ProspectConnectionCheck, type ProspectInfo, type ProspectInput, type ProspectPriorContactResult, type ProspectSkip, type ProspectSyncIdentifier, type ProspectSyncResult, type ProspectWarning, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, type RateLimitData, RateLimitError, type RateLimitErrorOptions, type RateLimitInfo$1 as RateLimitInfo, type RateLimitStatusResponse, type RateLimitsParams, type RateLimitsRequestItem, type RateLimitsResponseItem, type RecordOutcomeRequest, type RejectActionRequest, type RejectStepRequest, type RelevanceTier, type RemoveOrgMemberResponse, type RepEngagementData, type RepEngagementStats, type ReplySentiment, type ResolvedCompetitorTarget, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, type ResumeProspectsRequest, SEQUENCE_RATE_LIMITS, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, type SenderPersonaInput, type SequenceAction, type SequenceApprovalNeededData, type SequenceChannel, type SequenceEventType, type SequenceExecutionCompletedData, type SequenceExecutionFailedData, type SequenceRateLimitAction, type SequenceStepCompletedData, type SequenceTemplateCreate, type SequenceTemplateResponse, type SequenceTemplateUpdate, SequencesResource, SharePermission, type SignalDateRangeSettings, type SignalDefinition, type SignalDiscoveryLane, type SignalEnrichmentPool, type SignalEnrichmentStats, type SignalEvidence, type SignalFunnel, type SignalFunnelRow, type SignalOutput, type SignalPresentation, type SignalPresentationFact, type SignalPresentationLink, type SignalScope, type SignalType, type SignalVerdict, type SkillAnalyticsRequest, type SkillEffectivenessMetrics, type SkillGuidelineBase, type SkillGuidelineCreate, type SkillGuidelineListResponse, type SkillGuidelineResponse, type SkillGuidelineUpdate, type SkillRetrievalMetadata, type SkillUsageBase, type SkillUsageCreate, type SkillUsageListResponse, type SkillUsageResponse, type SkillUsageUpdate, SkillsResource, type SkipActionRequest, type SkipStepRequest, type SkipStepResponse, type SkippedProspect, type SkippedTransferProspect, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type Stage, type StageFilter, type StandoutPost, type StartExecutionRequest, type StartExecutionResponse, type StepConfig, type StepExecutionItem, type StepExecutionListResponse, type StepExecutionStatus, type StepHistoryEntry, type StepMetric, type StoppedBreakdown, type StoreApiKeyRequest, type StructuredResponse, type SyncJobResponse, SyncJobStatus, SyncPhaseStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type Takeaway, type TeardownOrgResponse, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThemeAssignment, type ThemePeriodStats, type ThemeStats, type ThemeTrend, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type TopPost, type TopPostsOutput, type TopVoice, type TransferProspectsRequest, type TransferProspectsResponse, type TransferSkipReason, type TransitionCondition, type TransitionConditionOperator, type TransitionConditionType, type TransitionConfig, type TransitionEventParams, type TriggerSyncResponse, UNIPILE_RATE_LIMIT_ERRORS, UNIPILE_SAFE_LIMITS, type UUID, type UnlinkConversationsResponse, type UpdateAppStatusParams, type UpdateAppStatusResponse, type UpdateDraftRequest, type UpdateLinkedInSubscriptionRequest, type UpdatePersonaRequest, type UpdatePersonaResponse, type UpdateStepExecutionRequest, type UpdateStepExecutionResponse, type UpdateThreadRequest, type UserConnectionsResponse, type UserCreateRequest, type UserDeleteResponse, type UserIdentifier, type UserListResponse, type UserResponse, type UserUpdateRequest, UsersResource, VALID_EVENT_TYPES, type ValidatedCandidate, ValidationError, type ValidationIssue, type ValidationResponse, type WebhookEvent, type WebhookPayload, type WeightedCall, type WeightedCallOption, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };
|
package/dist/index.d.ts
CHANGED
|
@@ -987,6 +987,13 @@ interface CrmHubspotCompanyProperty {
|
|
|
987
987
|
externalOptions: boolean;
|
|
988
988
|
/** Hidden in the HubSpot UI. Archived properties are never returned. */
|
|
989
989
|
hidden: boolean;
|
|
990
|
+
/**
|
|
991
|
+
* `owner` when the value identifies a CRM user (`hubspot_owner_id` and any
|
|
992
|
+
* custom owner-typed property); null otherwise. Request such a field in
|
|
993
|
+
* {@link CrmHubspotCompanySearchRequest.properties} and each company's
|
|
994
|
+
* `owners` map resolves it to a name and email.
|
|
995
|
+
*/
|
|
996
|
+
references?: 'owner' | null;
|
|
990
997
|
}
|
|
991
998
|
/** Attio operators. `$not_empty` and `$in` are only valid on some attribute types. */
|
|
992
999
|
type CrmAttioFilterOperator = '$eq' | '$contains' | '$starts_with' | '$ends_with' | '$in' | '$not_empty' | '$lt' | '$lte' | '$gt' | '$gte';
|
|
@@ -1024,6 +1031,14 @@ interface CrmAttioCompanyProperty {
|
|
|
1024
1031
|
* the request named this property; null in the full listing.
|
|
1025
1032
|
*/
|
|
1026
1033
|
options: CrmAttioCompanyPropertyOption[] | null;
|
|
1034
|
+
/**
|
|
1035
|
+
* `owner` when the value identifies a CRM user (any actor-reference
|
|
1036
|
+
* attribute, such as a custom "Owner"); null otherwise. Attio has no
|
|
1037
|
+
* standard owner field and the API does not guess from labels, so pick the
|
|
1038
|
+
* slug with `references === 'owner'` here and request it in
|
|
1039
|
+
* {@link CrmAttioCompanySearchRequest.properties}.
|
|
1040
|
+
*/
|
|
1041
|
+
references?: 'owner' | null;
|
|
1027
1042
|
}
|
|
1028
1043
|
interface CrmHubspotCompanyPropertiesResponse {
|
|
1029
1044
|
provider: 'hubspot';
|
|
@@ -1105,6 +1120,8 @@ interface CrmHubspotCompanySearchRequest {
|
|
|
1105
1120
|
/**
|
|
1106
1121
|
* Extra native property names to return. `name` and `domain` are always
|
|
1107
1122
|
* included. Names the CRM does not return are absent from `properties`.
|
|
1123
|
+
* Include `hubspot_owner_id` (or any field whose definition has
|
|
1124
|
+
* `references: 'owner'`) to also get it resolved in each company's `owners`.
|
|
1108
1125
|
*/
|
|
1109
1126
|
properties?: string[];
|
|
1110
1127
|
/** 1..100; defaults to 100 server-side. */
|
|
@@ -1121,7 +1138,9 @@ interface CrmAttioCompanySearchRequest {
|
|
|
1121
1138
|
filters?: CrmAttioCompanyFilters;
|
|
1122
1139
|
/**
|
|
1123
1140
|
* Attribute slugs to return alongside `name` and `domain`. An unknown slug
|
|
1124
|
-
* comes back as an empty array rather than an error.
|
|
1141
|
+
* comes back as an empty array rather than an error. Include a slug whose
|
|
1142
|
+
* definition has `references: 'owner'` to also get it resolved in each
|
|
1143
|
+
* company's `owners`.
|
|
1125
1144
|
*/
|
|
1126
1145
|
properties?: string[];
|
|
1127
1146
|
/** 1..100; defaults to 100 server-side. */
|
|
@@ -1130,6 +1149,16 @@ interface CrmAttioCompanySearchRequest {
|
|
|
1130
1149
|
cursor?: string | null;
|
|
1131
1150
|
}
|
|
1132
1151
|
type CrmCompanySearchRequest = CrmHubspotCompanySearchRequest | CrmAttioCompanySearchRequest;
|
|
1152
|
+
/**
|
|
1153
|
+
* A CRM user resolved from an owner-typed field. `name` and `email` are null
|
|
1154
|
+
* when the id is not in the CRM's user directory (an archived HubSpot owner,
|
|
1155
|
+
* or an Attio system/app actor).
|
|
1156
|
+
*/
|
|
1157
|
+
interface CrmCompanyOwner {
|
|
1158
|
+
id: string;
|
|
1159
|
+
name: string | null;
|
|
1160
|
+
email: string | null;
|
|
1161
|
+
}
|
|
1133
1162
|
interface CrmHubspotCompany {
|
|
1134
1163
|
/** HubSpot record id (`hs_object_id`), always a decimal string. */
|
|
1135
1164
|
id: string;
|
|
@@ -1141,6 +1170,14 @@ interface CrmHubspotCompany {
|
|
|
1141
1170
|
* `properties.hsLastmodifieddate`. HubSpot returns every value as a string.
|
|
1142
1171
|
*/
|
|
1143
1172
|
properties: Record<string, string | null>;
|
|
1173
|
+
/**
|
|
1174
|
+
* Owner-typed fields from the request's `properties`, keyed by native
|
|
1175
|
+
* HubSpot name (not rewritten either — read `owners.hubspot_owner_id`) and
|
|
1176
|
+
* resolved through the portal's owner directory. Null when the company has
|
|
1177
|
+
* no value in that field; `{}` when no requested field has
|
|
1178
|
+
* `references: 'owner'`. `properties` still holds the raw owner id string.
|
|
1179
|
+
*/
|
|
1180
|
+
owners?: Record<string, CrmCompanyOwner | null>;
|
|
1144
1181
|
}
|
|
1145
1182
|
/**
|
|
1146
1183
|
* One Attio value entry, verbatim from the provider. Its keys keep Attio's own
|
|
@@ -1165,6 +1202,14 @@ interface CrmAttioCompany {
|
|
|
1165
1202
|
* empty when the company has no active value for that slug.
|
|
1166
1203
|
*/
|
|
1167
1204
|
properties: Record<string, CrmAttioCompanyPropertyValue[]>;
|
|
1205
|
+
/**
|
|
1206
|
+
* Actor-reference fields from the request's `properties`, keyed by Attio
|
|
1207
|
+
* slug (not rewritten either) and resolved through the workspace's member
|
|
1208
|
+
* list. Null when the company has no value in that field; `{}` when no
|
|
1209
|
+
* requested slug has `references: 'owner'`. `properties` still holds the
|
|
1210
|
+
* raw value rows with `referenced_actor_type` / `referenced_actor_id`.
|
|
1211
|
+
*/
|
|
1212
|
+
owners?: Record<string, CrmCompanyOwner | null>;
|
|
1168
1213
|
}
|
|
1169
1214
|
interface CrmHubspotCompanySearchResponse {
|
|
1170
1215
|
provider: 'hubspot';
|
|
@@ -6740,6 +6785,11 @@ declare class CrmResource {
|
|
|
6740
6785
|
* Field metadata is provider-shaped, so the return type narrows on the
|
|
6741
6786
|
* `provider` you pass.
|
|
6742
6787
|
*
|
|
6788
|
+
* A definition with `references: 'owner'` holds a CRM user id; request it
|
|
6789
|
+
* in {@link searchCompanies} to have each company's `owners` map resolve
|
|
6790
|
+
* it to a name and email. HubSpot's is `hubspot_owner_id`; Attio has no
|
|
6791
|
+
* standard one, so take the actor-reference slug this listing flags.
|
|
6792
|
+
*
|
|
6743
6793
|
* Failure modes: `403 crm_access_denied` and `503 crm_access_unavailable`
|
|
6744
6794
|
* (the `crmUserId` grant), `409 crm_not_connected` (no single active
|
|
6745
6795
|
* connection for the owner), `404 crm_property_not_found`,
|
|
@@ -6760,6 +6810,9 @@ declare class CrmResource {
|
|
|
6760
6810
|
* propertyName: 'employee_range',
|
|
6761
6811
|
* })
|
|
6762
6812
|
* console.log(tier.properties[0].options)
|
|
6813
|
+
*
|
|
6814
|
+
* // The field that can fill an owner column.
|
|
6815
|
+
* const ownerField = properties.find(p => p.references === 'owner')
|
|
6763
6816
|
* ```
|
|
6764
6817
|
*/
|
|
6765
6818
|
getCompanyProperties<T extends CrmCompanyPropertiesRequest>(params: T): Promise<T extends {
|
|
@@ -6774,10 +6827,18 @@ declare class CrmResource {
|
|
|
6774
6827
|
* group, OR between groups) with string comparison values; Attio takes its
|
|
6775
6828
|
* record-query object with `$`-prefixed operators. Both cross the wire
|
|
6776
6829
|
* verbatim — the SDK's camelCase ↔ snake_case conversion is switched off for
|
|
6777
|
-
* `filters` and for each company's `properties`
|
|
6778
|
-
* property names. Discover valid names and operators with
|
|
6830
|
+
* `filters` and for each company's `properties` and `owners` maps, whose
|
|
6831
|
+
* keys are CRM property names. Discover valid names and operators with
|
|
6779
6832
|
* {@link getCompanyProperties}.
|
|
6780
6833
|
*
|
|
6834
|
+
* Requesting an owner-typed field (`references: 'owner'` in its definition)
|
|
6835
|
+
* also resolves it: `owners[field]` is the CRM user's `{ id, name, email }`,
|
|
6836
|
+
* null when the company has none, with `name`/`email` null when the id is
|
|
6837
|
+
* not in the user directory. Resolution is part of the page — if the
|
|
6838
|
+
* directory read fails the whole request fails with the codes below rather
|
|
6839
|
+
* than returning half-resolved owners. Cost: any requested field adds one
|
|
6840
|
+
* definitions read per page; an owner field adds one directory read on top.
|
|
6841
|
+
*
|
|
6781
6842
|
* Paging is cursor-based: pass the previous page's `nextCursor` back as
|
|
6782
6843
|
* `cursor` and keep every other field identical, because HubSpot pages by
|
|
6783
6844
|
* record id inside the original query. `nextCursor: null` is the last page.
|
|
@@ -6805,13 +6866,13 @@ declare class CrmResource {
|
|
|
6805
6866
|
* ],
|
|
6806
6867
|
* }],
|
|
6807
6868
|
* },
|
|
6808
|
-
* properties: ['numberofemployees', 'industry'],
|
|
6869
|
+
* properties: ['numberofemployees', 'industry', 'hubspot_owner_id'],
|
|
6809
6870
|
* limit: 50,
|
|
6810
6871
|
* }
|
|
6811
6872
|
*
|
|
6812
6873
|
* const page = await client.crm.searchCompanies(request)
|
|
6813
6874
|
* for (const company of page.companies)
|
|
6814
|
-
* console.log(company.name, company.properties.industry)
|
|
6875
|
+
* console.log(company.name, company.properties.industry, company.owners?.hubspot_owner_id?.name)
|
|
6815
6876
|
*
|
|
6816
6877
|
* // Same query, next page.
|
|
6817
6878
|
* if (page.nextCursor)
|
|
@@ -11472,4 +11533,4 @@ declare class ProgressTracker {
|
|
|
11472
11533
|
*/
|
|
11473
11534
|
declare function verifyWebhookSignature(payload: string, signature: string, secret: string): boolean;
|
|
11474
11535
|
|
|
11475
|
-
export { ACTION_DELAYS, type AccountMonitorAccountAnalysis, type AccountMonitorAnalysisFailure, type AccountMonitorArtifactRefs, type AccountMonitorAssessment, type AccountMonitorCard, type AccountMonitorClaim, type AccountMonitorCollectedSignal, type AccountMonitorCommittee, type AccountMonitorCommitteeInput, type AccountMonitorCommitteeSynthesis, type AccountMonitorCompany, type AccountMonitorCompanySourceReport, type AccountMonitorComparison, type AccountMonitorComparisonFinding, type AccountMonitorCoverage, type AccountMonitorCrmContext, type AccountMonitorCrmHistoryCoverage, type AccountMonitorCrmProviderCoverage, type AccountMonitorCrmStatus, type AccountMonitorDate, type AccountMonitorDepth, type AccountMonitorEvidenceRow, type AccountMonitorIdentity, type AccountMonitorOptions, type AccountMonitorOutput, type AccountMonitorParams, type AccountMonitorPersonReport, type AccountMonitorProvenance, type AccountMonitorRecency, type AccountMonitorRecommendation, type AccountMonitorReportSection, type AccountMonitorScore, type AccountMonitorSignal, type AccountMonitorSignalDefinition, type AccountMonitorSignalName, type AccountMonitorSignalRef, type AccountMonitorSourceCoverage, type AccountMonitorSourceRequest, type AccountMonitorUsage, type AccountMonitorValidation, type AccountMonitorWindow, type ActionLimit, type ActiveHours, type AddAndRunCriterionRequest, type AddCriterionRequest, type AddOrgMemberRequest, type AddOrgMemberResponse, type AddPersonaRequest, type AddPersonaResponse, type AddProspectsRequest, type AddProspectsResponse, type AgentConfig, type AgentCostStats, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, type ApprovalActionRequest, type ApprovalItem, type ApprovalListResponse, type ApprovalMode, type ApprovalResponse, type ApprovalSettings, type ApprovalStatus, type ApprovalsParams, type ApprovalsRequestItem, type ApprovalsResponseItem, type ApproveStepRequest, type AppsListResponse, type ArtifactObject, type ArtifactsListResponse, AuthenticationError, type AutoSearchSelection, type BaseResource, type BatchCheckConnectionRequest, type BatchCheckPriorContactRequest, type BatchCheckPriorContactResponse, type BatchConnectionRequest, type BatchConnectionResponse, type BatchConnectionStatus, type BatchConnectionStatusResponse, type BatchDraftCompleteData, type BatchDraftCreatedData, type BatchDraftErrorData, type BatchDraftJobProgress, type BatchDraftJobResponse, type BatchDraftJobStartedData, type BatchDraftJobStatusResponse, type BatchDraftProgressData, type BatchDraftRequest, type BatchDraftResponse, type BatchDraftStreamCallbacks, type BatchDraftStreamEvent, type BatchDraftStreamEventType, type BatchExecutionInclude, type BatchExecutionRequest, type BatchExecutionResponse, BatchJobStatus, type BatchPollRequest, type BatchPollResponse, type BatchProspectIdentifier, type BatchRequestItem, type BatchRequestType, type BatchResponseItem, type BatchSendRequest, type BatchSendResponse, type BatchStepMetric, type BillingStatus, type BulkApprovalAction, type BulkApprovalFailure, type BulkApprovalRequest, type BulkApprovalResponse, type BulkCompleteFailure, type BulkCompleteRequest, type BulkCompleteResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkOperationRequest, type BulkOperationResponse, type BulkUploadResponse, CONTENT_LIMITS, CONTENT_LIMITS_MAP, type CampaignActionListResponse, type CampaignActionResponse, type CampaignActionStatus, type CampaignActionType, type CampaignAssetUpsertItem, type CampaignAssetUpsertRequest, type CampaignBulkApprovalAction, type CampaignBulkApprovalItem, type CampaignBulkApprovalRequest, type CampaignBulkApprovalResponse, type CampaignBulkApprovalResult, type CampaignCreate, type CampaignGuardrails, type CampaignListResponse, type CampaignMetricsResponse, type CampaignOutcomeType, type CampaignProspectDetailResponse, type CampaignProspectInput, type CampaignProspectResponse, type CampaignProspectState, type CampaignResponse, type CampaignStatus, type CampaignUpdate, CampaignsResource, type CancelDraftResponse, type CancelQueuedRequest, type CancelResponseResponse, type Channel, type ChannelContactHistory, type ChannelFunnel, type ChannelRatios, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type ColumnKind, type CompanyIntelligenceOptions, type CompanyIntelligenceOutput, type CompanyIntelligenceResolvedParams, type CompanyIntelligenceStats, type CompanyReportSubject, type CompetitorPostEngagementOutput, type CompetitorRepEngagementOutput, type CompleteExecutionRequest, type CompleteExecutionResponse, type ConnectInboxRequest, type ConnectInboxResponse, type Connection, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ConnectionsResponse, type ConnectionsSyncStatus, type ContactDetailsInput, type ContactEnrichPersonInput, type ContactEnrichPersonResult, type ContactEnrichRequest, type ContactEnrichResponse, type ContactFinding, type ContactHistorySyncStatus, type ContactRelationshipProvider, type ContactRelationshipResponse, type ContactRelationshipStatus, ContactRelationshipsResource, type ContactScore, type ContentIntelligenceAudienceStats, type ContentIntelligenceAuthor, type ContentIntelligenceCompetitorAdjacentDelta, type ContentIntelligenceCompetitorAnalysis, type ContentIntelligenceCompetitorAnalysisScope, type ContentIntelligenceCompetitorBucket, type ContentIntelligenceCompetitorComparison, type ContentIntelligenceCompetitorComparisonTotals, type ContentIntelligenceCompetitorCoverage, type ContentIntelligenceCompetitorDelta, type ContentIntelligenceCompetitorDeltas, type ContentIntelligenceCompetitorHighlight, type ContentIntelligenceCompetitorPackage, type ContentIntelligenceCompetitorPeriod, type ContentIntelligenceCompetitorPeriodPoint, type ContentIntelligenceCompetitorPeriodTheme, type ContentIntelligenceCompetitorPost, type ContentIntelligenceCompetitorPostAuthorType, type ContentIntelligenceCompetitorPostSource, type ContentIntelligenceCompetitorResolutionReason, type ContentIntelligenceCompetitorRole, type ContentIntelligenceCompetitorRow, type ContentIntelligenceCompetitorSource, type ContentIntelligenceCompetitorStatus, type ContentIntelligenceCompetitorStopReason, type ContentIntelligenceCompetitorSummary, type ContentIntelligenceCompetitorTakeaway, type ContentIntelligenceCompetitorTargetCoverage, type ContentIntelligenceCompetitorThemePeriod, type ContentIntelligenceCompetitorThemeStats, type ContentIntelligenceCoverage, type ContentIntelligenceCoveragePerson, type ContentIntelligenceCurationStats, type ContentIntelligenceDateValue, type ContentIntelligenceEngager, type ContentIntelligenceOptions, type ContentIntelligenceOutput, type ContentIntelligenceOutputName, type ContentIntelligenceOutputs, type ContentIntelligenceOwnCompanyCoverage, type ContentIntelligencePackage, type ContentIntelligencePost, type ContentIntelligenceResolvedCompetitor, type ContentIntelligenceResolvedParams, type ContentIntelligenceSummary, type ContentIntelligenceUnresolvedCompetitor, type ContentLimit, type ContentSource, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type CriteriaClassification, type CriteriaMetadata, type CriterionDefinition, type CriterionResult, type CriterionType, type CrmAccountContextAssociationConfidence, type CrmAccountContextAssociationKind, type CrmAccountContextBatchRequest, type CrmAccountContextBatchResponse, type CrmAccountContextCandidateInput, type CrmAccountContextDealSummary, type CrmAccountContextDetail, type CrmAccountContextMatchConfidence, type CrmAccountContextMatchMethod, type CrmAccountContextPersonPresence, type CrmAccountContextPersonPreview, type CrmAccountContextProviderCoverage, type CrmAccountContextProviderResult, type CrmAccountContextResult, type CrmAccountContextSalesState, type CrmAccountContextSourceStatus, type CrmAccountContextStageChangeTimePrecision, type CrmAccountContextStageClass, type CrmAttioCompany, type CrmAttioCompanyFilters, type CrmAttioCompanyPropertiesRequest, type CrmAttioCompanyPropertiesResponse, type CrmAttioCompanyProperty, type CrmAttioCompanyPropertyFilterField, type CrmAttioCompanyPropertyOption, type CrmAttioCompanyPropertyValue, type CrmAttioCompanySearchRequest, type CrmAttioCompanySearchResponse, type CrmAttioFilterOperator, type CrmCompanyPropertiesRequest, type CrmCompanyPropertiesResponse, type CrmCompanySearchRequest, type CrmCompanySearchResponse, type CrmContactInput, type CrmContactsSyncRequest, type CrmContactsSyncResponse, type CrmContactsSyncStatusResponse, type CrmExclusionGrantListResponse, type CrmExclusionGrantRequest, type CrmExclusionGrantResponse, type CrmHubspotCompany, type CrmHubspotCompanyFilter, type CrmHubspotCompanyFilterGroup, type CrmHubspotCompanyFilters, type CrmHubspotCompanyPropertiesRequest, type CrmHubspotCompanyPropertiesResponse, type CrmHubspotCompanyProperty, type CrmHubspotCompanyPropertyOption, type CrmHubspotCompanySearchRequest, type CrmHubspotCompanySearchResponse, type CrmHubspotFilterOperator, type CrmMatchBatchRequest, type CrmMatchBatchResponse, type CrmMatchedProspect, type CrmProvider, CrmResource, type CrmSyncProspectRequest, type CrmSyncProspectResponse, DAILY_INMAIL_LIMITS, DEFAULT_SUBSCRIPTION_TYPE, type DatabaseStatus, type DateRange, type DeepPeopleSearchOutput, type DeepSearchPreview, type DeepSearchStats, type DeleteApiKeyResponse, type DeleteConnectionsResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DiscoveryTrace, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type DuplicateTemplateRequest, type EditQueuedRequest, type Email, type EmailAction, type EmailInboxItem, type EmailInboxListResponse, type EmailInboxPersona, type EmailOnboardRequest, type EmailOnboardResponse, type EmailOnboardStatusResponse, type EmailOrgHealthResponse, type EmailOrgListResponse, type EmailOrgSettingsResponse, type EmailOrgSettingsUpdate, type EmailOrgSummary, EmailResource, type EmailSenderPersona, type EmailThreadSummary, type EngagementActivity, type EngagementActivityCoverage, type EngagementAnalysisOutput, type EngagementAnalysisScope, type EngagementExpansionHopStats, type EngagementExpansionOptions, type EngagementExpansionOutput, type EngagementExpansionResolvedParams, type EngagementExpansionStats, type EngagementHistoryEntry, type EngagementSignalOutputName, type EngagementSignalSettings, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceRichnessGrade, type EvidenceSource, type ExecutionDetailResponse, type ExecutionEvent, type ExecutionEventData, type ExecutionListResponse, type ExecutionMetricsOptions, type ExecutionMetricsResponse, type ExecutionStatus, type ExecutionSummary, type ExecutionSummaryExtended, type ExecutionsParams, type ExecutionsRequestItem, type ExecutionsResponseItem, ExternalAPIKeysResource, type ExternalApiKeyResponse, type FeedbackListResponse, type FeedbackObject, type FeedbackType, type FileAttachment, type FileChunk, type FileContentResponse, type FileListResponse, type FileMetadata, type FileScope, type FileScopeUpdateRequest, type FileSearchRequest, type FileSearchResponse, type FileSearchResult, type FileStatisticsResponse, type FileUploadResponse, FilesResource, type FilterLogic, type FilterValue, type FunnelStage, type GetConnectionStatusParams, type GetContactRelationshipsOptions, type GetToolsRequest, type GetToolsResponse, type GetUserConnectionsParams, type InboxKind, type InfluencerEngagementOptions, type InfluencerEngagementOutput, type InfluencerEngagementPostSource, type InfluencerEngagementResolvedParams, type InfluencerEngagementSeedCoverage, type InfluencerEngagementSeedPost, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntelligenceBarChart, type IntelligenceBarChartBar, type IntelligenceChart, type IntelligenceChartId, type IntelligenceCreditEntry, type IntelligenceCreditLedger, type IntelligenceEntitySpan, type IntelligenceLineChart, type IntelligenceLineChartPoint, type IntelligenceQuoteSpan, type IntelligenceReportBlock, type IntelligenceReportCompleteness, type IntelligenceReportEnvelope, type IntelligenceReportReader, type IntelligenceReportSectionRef, type IntelligenceReportSubject, type IntelligenceReportSummary, type IntelligenceReportTable, type IntelligenceSectionOverlays, type IntelligenceStatSpan, type IntentSignal, InternalServerError, LINKEDIN_LIMITS, type LifecycleOperationRequest, type LifecycleOperationResponse, type LinkAssetsRequest, type LinkedAssetsResponse, type LinkedInAccountInfoResponse, type LinkedInAccountRateLimits, type LinkedInAccountRateLimitsResponse, type LinkedInAccountRateLimitsUpdate, type LinkedInAction, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type LinkedInSyncStatusResponse, type ListAcceptedConnectionsParams, type ListApprovalsOptions, type ListAssetsOptions, type ListCampaignActionsOptions, type ListCampaignProspectsOptions, type ListCampaignsOptions, type ListConnectionsParams, type ListExecutionsOptions, type ListInboxesParams, type ListPendingApprovalsOptions, type ListPlaybooksOptions, type ListProvidersResponse, type ListStepExecutionsOptions, type ListTemplatesOptions, LocalFileNotSupportedError, LumnisClient, type LumnisClientOptions, LumnisError, type LumnisErrorOptions, type MCPScope, type MCPServerCreateRequest, type MCPServerListResponse, type MCPServerResponse, type MCPServerUpdateRequest, MCPServersResource, type MCPToolListResponse, type MCPToolResponse, type MCPTransport, type MailboxUpdateRequest, type MailboxUpdateResponse, type Message, type MessageReceivedData, type MessageResponse, type MessageSentData, MessageType, MessagingAPIError, MessagingConnectionError, MessagingNotFoundError, MessagingResource, MessagingSendError, MessagingValidationError, type MetricsParams, type MetricsRequestItem, type MetricsResponseItem, type ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, type OnFailure, type Opportunity, type OutcomeType, type OutreachAssetCreate, type OutreachAssetResponse, type OutreachAssetType, type OutreachAssetUpdate, OutreachMethod, OutreachResource, type OutreachSource, type OutreachStats, type PaginationInfo, type PaginationParams, type PainPoint, type PauseProspectsRequest, type PauseProspectsResponse, type PauseResumeQueuedRequest, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PeriodInsight, type PersonEvidenceLegCounts, type PersonEvidenceRichness, type PersonIntelligenceOptions, type PersonIntelligenceOutput, type PersonIntelligenceResolvedParams, type PersonReportSubject, type PersonResult, type Plan, type PlaybookCreate, type PlaybookGenerateJobResponse, type PlaybookGenerateJobStatusResponse, type PlaybookGenerateRequest, type PlaybookResponse, type PlaybookUpdate, type PlaybookVersionResponse, type PostEngagementData, type PostEngagementProvenance, type PostEngagementType, type PostIdea, type PostIdeasOutput, type PostPreviewRequest, type PostPreviewResponse, type PostPreviewResult, type PostsDateRange, type PostsSearchStats, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProjectApprovalsData, type ProjectExecutionsData, type ProjectMetricsData, type ProspectConnectionCheck, type ProspectInfo, type ProspectInput, type ProspectPriorContactResult, type ProspectSkip, type ProspectSyncIdentifier, type ProspectSyncResult, type ProspectWarning, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, type RateLimitData, RateLimitError, type RateLimitErrorOptions, type RateLimitInfo$1 as RateLimitInfo, type RateLimitStatusResponse, type RateLimitsParams, type RateLimitsRequestItem, type RateLimitsResponseItem, type RecordOutcomeRequest, type RejectActionRequest, type RejectStepRequest, type RelevanceTier, type RemoveOrgMemberResponse, type RepEngagementData, type RepEngagementStats, type ReplySentiment, type ResolvedCompetitorTarget, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, type ResumeProspectsRequest, SEQUENCE_RATE_LIMITS, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, type SenderPersonaInput, type SequenceAction, type SequenceApprovalNeededData, type SequenceChannel, type SequenceEventType, type SequenceExecutionCompletedData, type SequenceExecutionFailedData, type SequenceRateLimitAction, type SequenceStepCompletedData, type SequenceTemplateCreate, type SequenceTemplateResponse, type SequenceTemplateUpdate, SequencesResource, SharePermission, type SignalDateRangeSettings, type SignalDefinition, type SignalDiscoveryLane, type SignalEnrichmentPool, type SignalEnrichmentStats, type SignalEvidence, type SignalFunnel, type SignalFunnelRow, type SignalOutput, type SignalPresentation, type SignalPresentationFact, type SignalPresentationLink, type SignalScope, type SignalType, type SignalVerdict, type SkillAnalyticsRequest, type SkillEffectivenessMetrics, type SkillGuidelineBase, type SkillGuidelineCreate, type SkillGuidelineListResponse, type SkillGuidelineResponse, type SkillGuidelineUpdate, type SkillRetrievalMetadata, type SkillUsageBase, type SkillUsageCreate, type SkillUsageListResponse, type SkillUsageResponse, type SkillUsageUpdate, SkillsResource, type SkipActionRequest, type SkipStepRequest, type SkipStepResponse, type SkippedProspect, type SkippedTransferProspect, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type Stage, type StageFilter, type StandoutPost, type StartExecutionRequest, type StartExecutionResponse, type StepConfig, type StepExecutionItem, type StepExecutionListResponse, type StepExecutionStatus, type StepHistoryEntry, type StepMetric, type StoppedBreakdown, type StoreApiKeyRequest, type StructuredResponse, type SyncJobResponse, SyncJobStatus, SyncPhaseStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type Takeaway, type TeardownOrgResponse, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThemeAssignment, type ThemePeriodStats, type ThemeStats, type ThemeTrend, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type TopPost, type TopPostsOutput, type TopVoice, type TransferProspectsRequest, type TransferProspectsResponse, type TransferSkipReason, type TransitionCondition, type TransitionConditionOperator, type TransitionConditionType, type TransitionConfig, type TransitionEventParams, type TriggerSyncResponse, UNIPILE_RATE_LIMIT_ERRORS, UNIPILE_SAFE_LIMITS, type UUID, type UnlinkConversationsResponse, type UpdateAppStatusParams, type UpdateAppStatusResponse, type UpdateDraftRequest, type UpdateLinkedInSubscriptionRequest, type UpdatePersonaRequest, type UpdatePersonaResponse, type UpdateStepExecutionRequest, type UpdateStepExecutionResponse, type UpdateThreadRequest, type UserConnectionsResponse, type UserCreateRequest, type UserDeleteResponse, type UserIdentifier, type UserListResponse, type UserResponse, type UserUpdateRequest, UsersResource, VALID_EVENT_TYPES, type ValidatedCandidate, ValidationError, type ValidationIssue, type ValidationResponse, type WebhookEvent, type WebhookPayload, type WeightedCall, type WeightedCallOption, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };
|
|
11536
|
+
export { ACTION_DELAYS, type AccountMonitorAccountAnalysis, type AccountMonitorAnalysisFailure, type AccountMonitorArtifactRefs, type AccountMonitorAssessment, type AccountMonitorCard, type AccountMonitorClaim, type AccountMonitorCollectedSignal, type AccountMonitorCommittee, type AccountMonitorCommitteeInput, type AccountMonitorCommitteeSynthesis, type AccountMonitorCompany, type AccountMonitorCompanySourceReport, type AccountMonitorComparison, type AccountMonitorComparisonFinding, type AccountMonitorCoverage, type AccountMonitorCrmContext, type AccountMonitorCrmHistoryCoverage, type AccountMonitorCrmProviderCoverage, type AccountMonitorCrmStatus, type AccountMonitorDate, type AccountMonitorDepth, type AccountMonitorEvidenceRow, type AccountMonitorIdentity, type AccountMonitorOptions, type AccountMonitorOutput, type AccountMonitorParams, type AccountMonitorPersonReport, type AccountMonitorProvenance, type AccountMonitorRecency, type AccountMonitorRecommendation, type AccountMonitorReportSection, type AccountMonitorScore, type AccountMonitorSignal, type AccountMonitorSignalDefinition, type AccountMonitorSignalName, type AccountMonitorSignalRef, type AccountMonitorSourceCoverage, type AccountMonitorSourceRequest, type AccountMonitorUsage, type AccountMonitorValidation, type AccountMonitorWindow, type ActionLimit, type ActiveHours, type AddAndRunCriterionRequest, type AddCriterionRequest, type AddOrgMemberRequest, type AddOrgMemberResponse, type AddPersonaRequest, type AddPersonaResponse, type AddProspectsRequest, type AddProspectsResponse, type AgentConfig, type AgentCostStats, type ApiKeyMode, type ApiKeyModeRequest, type ApiKeyModeResponse, type ApiProvider, type AppEnabledResponse, type AppliedFilters, type ApprovalActionRequest, type ApprovalItem, type ApprovalListResponse, type ApprovalMode, type ApprovalResponse, type ApprovalSettings, type ApprovalStatus, type ApprovalsParams, type ApprovalsRequestItem, type ApprovalsResponseItem, type ApproveStepRequest, type AppsListResponse, type ArtifactObject, type ArtifactsListResponse, AuthenticationError, type AutoSearchSelection, type BaseResource, type BatchCheckConnectionRequest, type BatchCheckPriorContactRequest, type BatchCheckPriorContactResponse, type BatchConnectionRequest, type BatchConnectionResponse, type BatchConnectionStatus, type BatchConnectionStatusResponse, type BatchDraftCompleteData, type BatchDraftCreatedData, type BatchDraftErrorData, type BatchDraftJobProgress, type BatchDraftJobResponse, type BatchDraftJobStartedData, type BatchDraftJobStatusResponse, type BatchDraftProgressData, type BatchDraftRequest, type BatchDraftResponse, type BatchDraftStreamCallbacks, type BatchDraftStreamEvent, type BatchDraftStreamEventType, type BatchExecutionInclude, type BatchExecutionRequest, type BatchExecutionResponse, BatchJobStatus, type BatchPollRequest, type BatchPollResponse, type BatchProspectIdentifier, type BatchRequestItem, type BatchRequestType, type BatchResponseItem, type BatchSendRequest, type BatchSendResponse, type BatchStepMetric, type BillingStatus, type BulkApprovalAction, type BulkApprovalFailure, type BulkApprovalRequest, type BulkApprovalResponse, type BulkCompleteFailure, type BulkCompleteRequest, type BulkCompleteResponse, type BulkDeleteRequest, type BulkDeleteResponse, type BulkOperationRequest, type BulkOperationResponse, type BulkUploadResponse, CONTENT_LIMITS, CONTENT_LIMITS_MAP, type CampaignActionListResponse, type CampaignActionResponse, type CampaignActionStatus, type CampaignActionType, type CampaignAssetUpsertItem, type CampaignAssetUpsertRequest, type CampaignBulkApprovalAction, type CampaignBulkApprovalItem, type CampaignBulkApprovalRequest, type CampaignBulkApprovalResponse, type CampaignBulkApprovalResult, type CampaignCreate, type CampaignGuardrails, type CampaignListResponse, type CampaignMetricsResponse, type CampaignOutcomeType, type CampaignProspectDetailResponse, type CampaignProspectInput, type CampaignProspectResponse, type CampaignProspectState, type CampaignResponse, type CampaignStatus, type CampaignUpdate, CampaignsResource, type CancelDraftResponse, type CancelQueuedRequest, type CancelResponseResponse, type Channel, type ChannelContactHistory, type ChannelFunnel, type ChannelRatios, ChannelType, type CheckAppEnabledParams, type CheckLinkedInConnectionRequest, type CheckPriorContactRequest, type CheckPriorContactResponse, type ChunkingStrategy, type ColumnKind, type CompanyIntelligenceOptions, type CompanyIntelligenceOutput, type CompanyIntelligenceResolvedParams, type CompanyIntelligenceStats, type CompanyReportSubject, type CompetitorPostEngagementOutput, type CompetitorRepEngagementOutput, type CompleteExecutionRequest, type CompleteExecutionResponse, type ConnectInboxRequest, type ConnectInboxResponse, type Connection, type ConnectionAcceptedData, type ConnectionCallbackRequest, type ConnectionCallbackResponse, type ConnectionInfo, type ConnectionStatus, type ConnectionStatusResponse, type ConnectionSummary, type ConnectionsResponse, type ConnectionsSyncStatus, type ContactDetailsInput, type ContactEnrichPersonInput, type ContactEnrichPersonResult, type ContactEnrichRequest, type ContactEnrichResponse, type ContactFinding, type ContactHistorySyncStatus, type ContactRelationshipProvider, type ContactRelationshipResponse, type ContactRelationshipStatus, ContactRelationshipsResource, type ContactScore, type ContentIntelligenceAudienceStats, type ContentIntelligenceAuthor, type ContentIntelligenceCompetitorAdjacentDelta, type ContentIntelligenceCompetitorAnalysis, type ContentIntelligenceCompetitorAnalysisScope, type ContentIntelligenceCompetitorBucket, type ContentIntelligenceCompetitorComparison, type ContentIntelligenceCompetitorComparisonTotals, type ContentIntelligenceCompetitorCoverage, type ContentIntelligenceCompetitorDelta, type ContentIntelligenceCompetitorDeltas, type ContentIntelligenceCompetitorHighlight, type ContentIntelligenceCompetitorPackage, type ContentIntelligenceCompetitorPeriod, type ContentIntelligenceCompetitorPeriodPoint, type ContentIntelligenceCompetitorPeriodTheme, type ContentIntelligenceCompetitorPost, type ContentIntelligenceCompetitorPostAuthorType, type ContentIntelligenceCompetitorPostSource, type ContentIntelligenceCompetitorResolutionReason, type ContentIntelligenceCompetitorRole, type ContentIntelligenceCompetitorRow, type ContentIntelligenceCompetitorSource, type ContentIntelligenceCompetitorStatus, type ContentIntelligenceCompetitorStopReason, type ContentIntelligenceCompetitorSummary, type ContentIntelligenceCompetitorTakeaway, type ContentIntelligenceCompetitorTargetCoverage, type ContentIntelligenceCompetitorThemePeriod, type ContentIntelligenceCompetitorThemeStats, type ContentIntelligenceCoverage, type ContentIntelligenceCoveragePerson, type ContentIntelligenceCurationStats, type ContentIntelligenceDateValue, type ContentIntelligenceEngager, type ContentIntelligenceOptions, type ContentIntelligenceOutput, type ContentIntelligenceOutputName, type ContentIntelligenceOutputs, type ContentIntelligenceOwnCompanyCoverage, type ContentIntelligencePackage, type ContentIntelligencePost, type ContentIntelligenceResolvedCompetitor, type ContentIntelligenceResolvedParams, type ContentIntelligenceSummary, type ContentIntelligenceUnresolvedCompetitor, type ContentLimit, type ContentSource, type ContentType, type ConversationDetail, ConversationStatus, type ConversationSummary, type CreateDraftRequest, type CreateFeedbackRequest, type CreateFeedbackResponse, type CreateResponseRequest, type CreateResponseResponse, type CreateThreadRequest, type CriteriaClassification, type CriteriaMetadata, type CriterionDefinition, type CriterionResult, type CriterionType, type CrmAccountContextAssociationConfidence, type CrmAccountContextAssociationKind, type CrmAccountContextBatchRequest, type CrmAccountContextBatchResponse, type CrmAccountContextCandidateInput, type CrmAccountContextDealSummary, type CrmAccountContextDetail, type CrmAccountContextMatchConfidence, type CrmAccountContextMatchMethod, type CrmAccountContextPersonPresence, type CrmAccountContextPersonPreview, type CrmAccountContextProviderCoverage, type CrmAccountContextProviderResult, type CrmAccountContextResult, type CrmAccountContextSalesState, type CrmAccountContextSourceStatus, type CrmAccountContextStageChangeTimePrecision, type CrmAccountContextStageClass, type CrmAttioCompany, type CrmAttioCompanyFilters, type CrmAttioCompanyPropertiesRequest, type CrmAttioCompanyPropertiesResponse, type CrmAttioCompanyProperty, type CrmAttioCompanyPropertyFilterField, type CrmAttioCompanyPropertyOption, type CrmAttioCompanyPropertyValue, type CrmAttioCompanySearchRequest, type CrmAttioCompanySearchResponse, type CrmAttioFilterOperator, type CrmCompanyOwner, type CrmCompanyPropertiesRequest, type CrmCompanyPropertiesResponse, type CrmCompanySearchRequest, type CrmCompanySearchResponse, type CrmContactInput, type CrmContactsSyncRequest, type CrmContactsSyncResponse, type CrmContactsSyncStatusResponse, type CrmExclusionGrantListResponse, type CrmExclusionGrantRequest, type CrmExclusionGrantResponse, type CrmHubspotCompany, type CrmHubspotCompanyFilter, type CrmHubspotCompanyFilterGroup, type CrmHubspotCompanyFilters, type CrmHubspotCompanyPropertiesRequest, type CrmHubspotCompanyPropertiesResponse, type CrmHubspotCompanyProperty, type CrmHubspotCompanyPropertyOption, type CrmHubspotCompanySearchRequest, type CrmHubspotCompanySearchResponse, type CrmHubspotFilterOperator, type CrmMatchBatchRequest, type CrmMatchBatchResponse, type CrmMatchedProspect, type CrmProvider, CrmResource, type CrmSyncProspectRequest, type CrmSyncProspectResponse, DAILY_INMAIL_LIMITS, DEFAULT_SUBSCRIPTION_TYPE, type DatabaseStatus, type DateRange, type DeepPeopleSearchOutput, type DeepSearchPreview, type DeepSearchStats, type DeleteApiKeyResponse, type DeleteConnectionsResponse, type DeleteConversationResponse, type DeleteConversationsByProjectResponse, type DisconnectRequest, type DisconnectResponse, type DiscoveryTrace, type DraftResponse, type DraftSendOverride, DraftStatus, type DuplicateHandling, type DuplicateTemplateRequest, type EditQueuedRequest, type Email, type EmailAction, type EmailInboxItem, type EmailInboxListResponse, type EmailInboxPersona, type EmailOnboardRequest, type EmailOnboardResponse, type EmailOnboardStatusResponse, type EmailOrgHealthResponse, type EmailOrgListResponse, type EmailOrgSettingsResponse, type EmailOrgSettingsUpdate, type EmailOrgSummary, EmailResource, type EmailSenderPersona, type EmailThreadSummary, type EngagementActivity, type EngagementActivityCoverage, type EngagementAnalysisOutput, type EngagementAnalysisScope, type EngagementExpansionHopStats, type EngagementExpansionOptions, type EngagementExpansionOutput, type EngagementExpansionResolvedParams, type EngagementExpansionStats, type EngagementHistoryEntry, type EngagementSignalOutputName, type EngagementSignalSettings, type EngagementStatus, type EngagementStatusData, type EngagementStatusRequest, type EngagementStatusResponse, EnrichmentResource, type ErrorDetail, type ErrorResponse, type ErrorResponseItem, type EvidenceRichnessGrade, type EvidenceSource, type ExecutionDetailResponse, type ExecutionEvent, type ExecutionEventData, type ExecutionListResponse, type ExecutionMetricsOptions, type ExecutionMetricsResponse, type ExecutionStatus, type ExecutionSummary, type ExecutionSummaryExtended, type ExecutionsParams, type ExecutionsRequestItem, type ExecutionsResponseItem, ExternalAPIKeysResource, type ExternalApiKeyResponse, type FeedbackListResponse, type FeedbackObject, type FeedbackType, type FileAttachment, type FileChunk, type FileContentResponse, type FileListResponse, type FileMetadata, type FileScope, type FileScopeUpdateRequest, type FileSearchRequest, type FileSearchResponse, type FileSearchResult, type FileStatisticsResponse, type FileUploadResponse, FilesResource, type FilterLogic, type FilterValue, type FunnelStage, type GetConnectionStatusParams, type GetContactRelationshipsOptions, type GetToolsRequest, type GetToolsResponse, type GetUserConnectionsParams, type InboxKind, type InfluencerEngagementOptions, type InfluencerEngagementOutput, type InfluencerEngagementPostSource, type InfluencerEngagementResolvedParams, type InfluencerEngagementSeedCoverage, type InfluencerEngagementSeedPost, type InitiateConnectionRequest, type InitiateConnectionResponse, type InmailSubscription, IntegrationsResource, type IntelligenceBarChart, type IntelligenceBarChartBar, type IntelligenceChart, type IntelligenceChartId, type IntelligenceCreditEntry, type IntelligenceCreditLedger, type IntelligenceEntitySpan, type IntelligenceLineChart, type IntelligenceLineChartPoint, type IntelligenceQuoteSpan, type IntelligenceReportBlock, type IntelligenceReportCompleteness, type IntelligenceReportEnvelope, type IntelligenceReportReader, type IntelligenceReportSectionRef, type IntelligenceReportSubject, type IntelligenceReportSummary, type IntelligenceReportTable, type IntelligenceSectionOverlays, type IntelligenceStatSpan, type IntentSignal, InternalServerError, LINKEDIN_LIMITS, type LifecycleOperationRequest, type LifecycleOperationResponse, type LinkAssetsRequest, type LinkedAssetsResponse, type LinkedInAccountInfoResponse, type LinkedInAccountRateLimits, type LinkedInAccountRateLimitsResponse, type LinkedInAccountRateLimitsUpdate, type LinkedInAction, type LinkedInConnectionStatus, type LinkedInCreditsResponse, type LinkedInLimitSubscriptionType, type LinkedInLimits, type LinkedInSendRequest, type LinkedInSubscriptionInfo, LinkedInSubscriptionType, type LinkedInSyncStatusResponse, type ListAcceptedConnectionsParams, type ListApprovalsOptions, type ListAssetsOptions, type ListCampaignActionsOptions, type ListCampaignProspectsOptions, type ListCampaignsOptions, type ListConnectionsParams, type ListExecutionsOptions, type ListInboxesParams, type ListPendingApprovalsOptions, type ListPlaybooksOptions, type ListProvidersResponse, type ListStepExecutionsOptions, type ListTemplatesOptions, LocalFileNotSupportedError, LumnisClient, type LumnisClientOptions, LumnisError, type LumnisErrorOptions, type MCPScope, type MCPServerCreateRequest, type MCPServerListResponse, type MCPServerResponse, type MCPServerUpdateRequest, MCPServersResource, type MCPToolListResponse, type MCPToolResponse, type MCPTransport, type MailboxUpdateRequest, type MailboxUpdateResponse, type Message, type MessageReceivedData, type MessageResponse, type MessageSentData, MessageType, MessagingAPIError, MessagingConnectionError, MessagingNotFoundError, MessagingResource, MessagingSendError, MessagingValidationError, type MetricsParams, type MetricsRequestItem, type MetricsResponseItem, type ModelAvailability, type ModelOverrides, type ModelPreferenceCreate, type ModelPreferencesBulkUpdate, ModelPreferencesResource, type ModelProvider, type ModelType, NetworkDistance, NoDataSourcesError, NotFoundError, type OnFailure, type Opportunity, type OutcomeType, type OutreachAssetCreate, type OutreachAssetResponse, type OutreachAssetType, type OutreachAssetUpdate, OutreachMethod, OutreachResource, type OutreachSource, type OutreachStats, type PaginationInfo, type PaginationParams, type PainPoint, type PauseProspectsRequest, type PauseProspectsResponse, type PauseResumeQueuedRequest, type PendingApprovalExtended, PeopleDataSource, PeopleResource, type PeopleSearchRequest, type PeopleSearchResponse, type PeriodInsight, type PersonEvidenceLegCounts, type PersonEvidenceRichness, type PersonIntelligenceOptions, type PersonIntelligenceOutput, type PersonIntelligenceResolvedParams, type PersonReportSubject, type PersonResult, type Plan, type PlaybookCreate, type PlaybookGenerateJobResponse, type PlaybookGenerateJobStatusResponse, type PlaybookGenerateRequest, type PlaybookResponse, type PlaybookUpdate, type PlaybookVersionResponse, type PostEngagementData, type PostEngagementProvenance, type PostEngagementType, type PostIdea, type PostIdeasOutput, type PostPreviewRequest, type PostPreviewResponse, type PostPreviewResult, type PostsDateRange, type PostsSearchStats, type PriorContactMessage, type ProcessingStatus, type ProcessingStatusResponse, type ProgressEntry, ProgressTracker, type ProjectApprovalsData, type ProjectExecutionsData, type ProjectMetricsData, type ProspectConnectionCheck, type ProspectInfo, type ProspectInput, type ProspectPriorContactResult, type ProspectSkip, type ProspectSyncIdentifier, type ProspectSyncResult, type ProspectWarning, ProviderType, QueueItemStatus, type QuickPeopleSearchOutput, RATE_LIMIT_COOLDOWNS, type RateLimitData, RateLimitError, type RateLimitErrorOptions, type RateLimitInfo$1 as RateLimitInfo, type RateLimitStatusResponse, type RateLimitsParams, type RateLimitsRequestItem, type RateLimitsResponseItem, type RecordOutcomeRequest, type RejectActionRequest, type RejectStepRequest, type RelevanceTier, type RemoveOrgMemberResponse, type RepEngagementData, type RepEngagementStats, type ReplySentiment, type ResolvedCompetitorTarget, type ResponseArtifact, type ResponseListResponse, type ResponseObject, type ResponseStatus, ResponsesResource, type ResumeProspectsRequest, SEQUENCE_RATE_LIMITS, type SalaryRange, type Scope, type SelectedSkill, type SendMessageRequest, type SendMessageResponse, type SendReplyRequest, type SendResult, type SenderPersonaInput, type SequenceAction, type SequenceApprovalNeededData, type SequenceChannel, type SequenceEventType, type SequenceExecutionCompletedData, type SequenceExecutionFailedData, type SequenceRateLimitAction, type SequenceStepCompletedData, type SequenceTemplateCreate, type SequenceTemplateResponse, type SequenceTemplateUpdate, SequencesResource, SharePermission, type SignalDateRangeSettings, type SignalDefinition, type SignalDiscoveryLane, type SignalEnrichmentPool, type SignalEnrichmentStats, type SignalEvidence, type SignalFunnel, type SignalFunnelRow, type SignalOutput, type SignalPresentation, type SignalPresentationFact, type SignalPresentationLink, type SignalScope, type SignalType, type SignalVerdict, type SkillAnalyticsRequest, type SkillEffectivenessMetrics, type SkillGuidelineBase, type SkillGuidelineCreate, type SkillGuidelineListResponse, type SkillGuidelineResponse, type SkillGuidelineUpdate, type SkillRetrievalMetadata, type SkillUsageBase, type SkillUsageCreate, type SkillUsageListResponse, type SkillUsageResponse, type SkillUsageUpdate, SkillsResource, type SkipActionRequest, type SkipStepRequest, type SkipStepResponse, type SkippedProspect, type SkippedTransferProspect, SourcesNotAvailableError, type SpecializedAgentParams, type SpecializedAgentType, type Stage, type StageFilter, type StandoutPost, type StartExecutionRequest, type StartExecutionResponse, type StepConfig, type StepExecutionItem, type StepExecutionListResponse, type StepExecutionStatus, type StepHistoryEntry, type StepMetric, type StoppedBreakdown, type StoreApiKeyRequest, type StructuredResponse, type SyncJobResponse, SyncJobStatus, SyncPhaseStatus, type SyncProspectRequest, type SyncProspectResponse, type SyncRequest, type SyncStats, type Takeaway, type TeardownOrgResponse, type TemplateShareConfig, type TemplateShareInfo, type TemplateShareRequest, type TemplateSharesResponse, type TenantDetailsResponse, TenantInfoResource, type TenantModelPreference, type TenantModelPreferencesResponse, type TestConnectionResponse, type ThemeAssignment, type ThemePeriodStats, type ThemeStats, type ThemeTrend, type ThreadListResponse, type ThreadObject, type ThreadResponsesParams, ThreadsResource, type ToolInfo, type TopPost, type TopPostsOutput, type TopVoice, type TransferProspectsRequest, type TransferProspectsResponse, type TransferSkipReason, type TransitionCondition, type TransitionConditionOperator, type TransitionConditionType, type TransitionConfig, type TransitionEventParams, type TriggerSyncResponse, UNIPILE_RATE_LIMIT_ERRORS, UNIPILE_SAFE_LIMITS, type UUID, type UnlinkConversationsResponse, type UpdateAppStatusParams, type UpdateAppStatusResponse, type UpdateDraftRequest, type UpdateLinkedInSubscriptionRequest, type UpdatePersonaRequest, type UpdatePersonaResponse, type UpdateStepExecutionRequest, type UpdateStepExecutionResponse, type UpdateThreadRequest, type UserConnectionsResponse, type UserCreateRequest, type UserDeleteResponse, type UserIdentifier, type UserListResponse, type UserResponse, type UserUpdateRequest, UsersResource, VALID_EVENT_TYPES, type ValidatedCandidate, ValidationError, type ValidationIssue, type ValidationResponse, type WebhookEvent, type WebhookPayload, type WeightedCall, type WeightedCallOption, canSendInmail, displayProgress, formatProgressEntry, getBestSubscriptionForAction, getConnectionRequestLimit, getContentLimit, getDailyInmailLimit, getDefaultDailyLimits, getInmailAllowance, getLimits, getMessageLimit, getRateLimit, hasOpenProfileMessages, isRecruiterSubscription, normalizeAction, verifyWebhookSignature };
|
package/dist/index.mjs
CHANGED
|
@@ -964,7 +964,7 @@ class ContactRelationshipsResource {
|
|
|
964
964
|
}
|
|
965
965
|
}
|
|
966
966
|
|
|
967
|
-
const COMPANY_SEARCH_PASSTHROUGH_KEYS = ["filters", "properties"];
|
|
967
|
+
const COMPANY_SEARCH_PASSTHROUGH_KEYS = ["filters", "properties", "owners"];
|
|
968
968
|
class CrmResource {
|
|
969
969
|
constructor(http) {
|
|
970
970
|
this.http = http;
|
|
@@ -1078,6 +1078,11 @@ class CrmResource {
|
|
|
1078
1078
|
* Field metadata is provider-shaped, so the return type narrows on the
|
|
1079
1079
|
* `provider` you pass.
|
|
1080
1080
|
*
|
|
1081
|
+
* A definition with `references: 'owner'` holds a CRM user id; request it
|
|
1082
|
+
* in {@link searchCompanies} to have each company's `owners` map resolve
|
|
1083
|
+
* it to a name and email. HubSpot's is `hubspot_owner_id`; Attio has no
|
|
1084
|
+
* standard one, so take the actor-reference slug this listing flags.
|
|
1085
|
+
*
|
|
1081
1086
|
* Failure modes: `403 crm_access_denied` and `503 crm_access_unavailable`
|
|
1082
1087
|
* (the `crmUserId` grant), `409 crm_not_connected` (no single active
|
|
1083
1088
|
* connection for the owner), `404 crm_property_not_found`,
|
|
@@ -1098,6 +1103,9 @@ class CrmResource {
|
|
|
1098
1103
|
* propertyName: 'employee_range',
|
|
1099
1104
|
* })
|
|
1100
1105
|
* console.log(tier.properties[0].options)
|
|
1106
|
+
*
|
|
1107
|
+
* // The field that can fill an owner column.
|
|
1108
|
+
* const ownerField = properties.find(p => p.references === 'owner')
|
|
1101
1109
|
* ```
|
|
1102
1110
|
*/
|
|
1103
1111
|
async getCompanyProperties(params) {
|
|
@@ -1124,10 +1132,18 @@ class CrmResource {
|
|
|
1124
1132
|
* group, OR between groups) with string comparison values; Attio takes its
|
|
1125
1133
|
* record-query object with `$`-prefixed operators. Both cross the wire
|
|
1126
1134
|
* verbatim — the SDK's camelCase ↔ snake_case conversion is switched off for
|
|
1127
|
-
* `filters` and for each company's `properties`
|
|
1128
|
-
* property names. Discover valid names and operators with
|
|
1135
|
+
* `filters` and for each company's `properties` and `owners` maps, whose
|
|
1136
|
+
* keys are CRM property names. Discover valid names and operators with
|
|
1129
1137
|
* {@link getCompanyProperties}.
|
|
1130
1138
|
*
|
|
1139
|
+
* Requesting an owner-typed field (`references: 'owner'` in its definition)
|
|
1140
|
+
* also resolves it: `owners[field]` is the CRM user's `{ id, name, email }`,
|
|
1141
|
+
* null when the company has none, with `name`/`email` null when the id is
|
|
1142
|
+
* not in the user directory. Resolution is part of the page — if the
|
|
1143
|
+
* directory read fails the whole request fails with the codes below rather
|
|
1144
|
+
* than returning half-resolved owners. Cost: any requested field adds one
|
|
1145
|
+
* definitions read per page; an owner field adds one directory read on top.
|
|
1146
|
+
*
|
|
1131
1147
|
* Paging is cursor-based: pass the previous page's `nextCursor` back as
|
|
1132
1148
|
* `cursor` and keep every other field identical, because HubSpot pages by
|
|
1133
1149
|
* record id inside the original query. `nextCursor: null` is the last page.
|
|
@@ -1155,13 +1171,13 @@ class CrmResource {
|
|
|
1155
1171
|
* ],
|
|
1156
1172
|
* }],
|
|
1157
1173
|
* },
|
|
1158
|
-
* properties: ['numberofemployees', 'industry'],
|
|
1174
|
+
* properties: ['numberofemployees', 'industry', 'hubspot_owner_id'],
|
|
1159
1175
|
* limit: 50,
|
|
1160
1176
|
* }
|
|
1161
1177
|
*
|
|
1162
1178
|
* const page = await client.crm.searchCompanies(request)
|
|
1163
1179
|
* for (const company of page.companies)
|
|
1164
|
-
* console.log(company.name, company.properties.industry)
|
|
1180
|
+
* console.log(company.name, company.properties.industry, company.owners?.hubspot_owner_id?.name)
|
|
1165
1181
|
*
|
|
1166
1182
|
* // Same query, next page.
|
|
1167
1183
|
* if (page.nextCursor)
|