@outlit/tools 2.1.0 → 2.1.2
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 +135 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +84 -26
- package/dist/index.d.ts +84 -26
- package/dist/index.js +135 -19
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -375,8 +375,37 @@ declare const publicToolContracts: {
|
|
|
375
375
|
readonly type: "null";
|
|
376
376
|
}];
|
|
377
377
|
};
|
|
378
|
+
readonly relationshipRole: {
|
|
379
|
+
readonly anyOf: readonly [{
|
|
380
|
+
readonly type: "string";
|
|
381
|
+
}, {
|
|
382
|
+
readonly type: "null";
|
|
383
|
+
}];
|
|
384
|
+
};
|
|
385
|
+
readonly jobTitle: {
|
|
386
|
+
readonly anyOf: readonly [{
|
|
387
|
+
readonly type: "string";
|
|
388
|
+
}, {
|
|
389
|
+
readonly type: "null";
|
|
390
|
+
}];
|
|
391
|
+
};
|
|
392
|
+
readonly department: {
|
|
393
|
+
readonly anyOf: readonly [{
|
|
394
|
+
readonly type: "string";
|
|
395
|
+
}, {
|
|
396
|
+
readonly type: "null";
|
|
397
|
+
}];
|
|
398
|
+
};
|
|
399
|
+
readonly employmentStartDate: {
|
|
400
|
+
readonly anyOf: readonly [{
|
|
401
|
+
readonly type: "string";
|
|
402
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
403
|
+
}, {
|
|
404
|
+
readonly type: "null";
|
|
405
|
+
}];
|
|
406
|
+
};
|
|
378
407
|
};
|
|
379
|
-
readonly required: readonly ["id", "email", "name", "customerId", "customerName", "customerDomain", "journeyStage", "lastActivityAt", "daysSinceActivity"];
|
|
408
|
+
readonly required: readonly ["id", "email", "name", "customerId", "customerName", "customerDomain", "journeyStage", "lastActivityAt", "daysSinceActivity", "relationshipRole", "jobTitle", "department", "employmentStartDate"];
|
|
380
409
|
readonly additionalProperties: false;
|
|
381
410
|
};
|
|
382
411
|
};
|
|
@@ -692,8 +721,37 @@ declare const publicToolContracts: {
|
|
|
692
721
|
readonly type: "null";
|
|
693
722
|
}];
|
|
694
723
|
};
|
|
724
|
+
readonly relationshipRole: {
|
|
725
|
+
readonly anyOf: readonly [{
|
|
726
|
+
readonly type: "string";
|
|
727
|
+
}, {
|
|
728
|
+
readonly type: "null";
|
|
729
|
+
}];
|
|
730
|
+
};
|
|
731
|
+
readonly jobTitle: {
|
|
732
|
+
readonly anyOf: readonly [{
|
|
733
|
+
readonly type: "string";
|
|
734
|
+
}, {
|
|
735
|
+
readonly type: "null";
|
|
736
|
+
}];
|
|
737
|
+
};
|
|
738
|
+
readonly department: {
|
|
739
|
+
readonly anyOf: readonly [{
|
|
740
|
+
readonly type: "string";
|
|
741
|
+
}, {
|
|
742
|
+
readonly type: "null";
|
|
743
|
+
}];
|
|
744
|
+
};
|
|
745
|
+
readonly employmentStartDate: {
|
|
746
|
+
readonly anyOf: readonly [{
|
|
747
|
+
readonly type: "string";
|
|
748
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
749
|
+
}, {
|
|
750
|
+
readonly type: "null";
|
|
751
|
+
}];
|
|
752
|
+
};
|
|
695
753
|
};
|
|
696
|
-
readonly required: readonly ["id", "email", "name", "journeyStage", "lastActivityAt"];
|
|
754
|
+
readonly required: readonly ["id", "email", "name", "journeyStage", "lastActivityAt", "relationshipRole", "jobTitle", "department", "employmentStartDate"];
|
|
697
755
|
readonly additionalProperties: false;
|
|
698
756
|
};
|
|
699
757
|
};
|
|
@@ -1607,7 +1665,7 @@ declare const publicToolContracts: {
|
|
|
1607
1665
|
readonly type: "array";
|
|
1608
1666
|
readonly items: {
|
|
1609
1667
|
readonly type: "string";
|
|
1610
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "CRM", "CRM_OPPORTUNITY"];
|
|
1668
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY"];
|
|
1611
1669
|
};
|
|
1612
1670
|
};
|
|
1613
1671
|
readonly factTypes: {
|
|
@@ -1615,15 +1673,15 @@ declare const publicToolContracts: {
|
|
|
1615
1673
|
readonly type: "array";
|
|
1616
1674
|
readonly items: {
|
|
1617
1675
|
readonly type: "string";
|
|
1618
|
-
readonly enum: readonly ["CUSTOM", "COMPANY_CHANGE", "FUNDING_REVENUE", "TECHNOLOGY", "STRATEGY", "COMPETITIVE", "SENTIMENT", "CHAMPION_RISK", "EXPANSION", "CHURN_RISK", "TIMELINE", "BUDGET", "DECISION_MAKER", "REQUIREMENTS", "PRODUCT_USAGE", "CONTACT_INFO", "CONTACT_PREFERENCE"];
|
|
1676
|
+
readonly enum: readonly ["CUSTOM", "COMPANY_CHANGE", "FUNDING_REVENUE", "TECHNOLOGY", "STRATEGY", "COMPETITIVE", "SENTIMENT", "CHAMPION_RISK", "EXPANSION", "CHURN_RISK", "TIMELINE", "BUDGET", "DECISION_MAKER", "REQUIREMENTS", "PRODUCT_USAGE", "CONTACT_INFO", "CONTACT_PREFERENCE", "CONTACT_DEPARTURE", "CONTACT_POSITION_CHANGE", "CONTACT_DISENGAGEMENT"];
|
|
1619
1677
|
};
|
|
1620
1678
|
};
|
|
1621
1679
|
readonly factCategories: {
|
|
1622
|
-
readonly description: "Optional public fact category filters. Supported values: MEMORY, CUSTOM.";
|
|
1680
|
+
readonly description: "Optional public fact category filters. Supported values: MEMORY, RELATIONSHIP, CUSTOM.";
|
|
1623
1681
|
readonly type: "array";
|
|
1624
1682
|
readonly items: {
|
|
1625
1683
|
readonly type: "string";
|
|
1626
|
-
readonly enum: readonly ["MEMORY", "CUSTOM"];
|
|
1684
|
+
readonly enum: readonly ["MEMORY", "RELATIONSHIP", "CUSTOM"];
|
|
1627
1685
|
};
|
|
1628
1686
|
};
|
|
1629
1687
|
readonly after: {
|
|
@@ -1764,7 +1822,7 @@ declare const publicToolContracts: {
|
|
|
1764
1822
|
readonly properties: {
|
|
1765
1823
|
readonly sourceType: {
|
|
1766
1824
|
readonly type: "string";
|
|
1767
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
1825
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
1768
1826
|
};
|
|
1769
1827
|
readonly sourceId: {
|
|
1770
1828
|
readonly type: "string";
|
|
@@ -1802,7 +1860,7 @@ declare const publicToolContracts: {
|
|
|
1802
1860
|
readonly sourceType: {
|
|
1803
1861
|
readonly anyOf: readonly [{
|
|
1804
1862
|
readonly type: "string";
|
|
1805
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
1863
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
1806
1864
|
}, {
|
|
1807
1865
|
readonly type: "null";
|
|
1808
1866
|
}];
|
|
@@ -1951,7 +2009,7 @@ declare const publicToolContracts: {
|
|
|
1951
2009
|
readonly sourceType: {
|
|
1952
2010
|
readonly anyOf: readonly [{
|
|
1953
2011
|
readonly type: "string";
|
|
1954
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
2012
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
1955
2013
|
}, {
|
|
1956
2014
|
readonly type: "null";
|
|
1957
2015
|
}];
|
|
@@ -2130,7 +2188,7 @@ declare const publicToolContracts: {
|
|
|
2130
2188
|
readonly properties: {
|
|
2131
2189
|
readonly sourceType: {
|
|
2132
2190
|
readonly type: "string";
|
|
2133
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
2191
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2134
2192
|
};
|
|
2135
2193
|
readonly sourceId: {
|
|
2136
2194
|
readonly type: "string";
|
|
@@ -2168,7 +2226,7 @@ declare const publicToolContracts: {
|
|
|
2168
2226
|
readonly sourceType: {
|
|
2169
2227
|
readonly anyOf: readonly [{
|
|
2170
2228
|
readonly type: "string";
|
|
2171
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
2229
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2172
2230
|
}, {
|
|
2173
2231
|
readonly type: "null";
|
|
2174
2232
|
}];
|
|
@@ -2317,7 +2375,7 @@ declare const publicToolContracts: {
|
|
|
2317
2375
|
readonly sourceType: {
|
|
2318
2376
|
readonly anyOf: readonly [{
|
|
2319
2377
|
readonly type: "string";
|
|
2320
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
2378
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2321
2379
|
}, {
|
|
2322
2380
|
readonly type: "null";
|
|
2323
2381
|
}];
|
|
@@ -2375,7 +2433,7 @@ declare const publicToolContracts: {
|
|
|
2375
2433
|
readonly properties: {
|
|
2376
2434
|
readonly sourceType: {
|
|
2377
2435
|
readonly type: "string";
|
|
2378
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "CRM", "CRM_OPPORTUNITY"];
|
|
2436
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY"];
|
|
2379
2437
|
};
|
|
2380
2438
|
readonly sourceId: {
|
|
2381
2439
|
readonly type: "string";
|
|
@@ -2403,7 +2461,7 @@ declare const publicToolContracts: {
|
|
|
2403
2461
|
readonly properties: {
|
|
2404
2462
|
readonly sourceType: {
|
|
2405
2463
|
readonly type: "string";
|
|
2406
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
2464
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2407
2465
|
};
|
|
2408
2466
|
readonly sourceId: {
|
|
2409
2467
|
readonly type: "string";
|
|
@@ -2550,7 +2608,7 @@ declare const publicToolContracts: {
|
|
|
2550
2608
|
readonly sourceType: {
|
|
2551
2609
|
readonly description: "Generic source type to list.";
|
|
2552
2610
|
readonly type: "string";
|
|
2553
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "CRM", "CRM_OPPORTUNITY"];
|
|
2611
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY"];
|
|
2554
2612
|
};
|
|
2555
2613
|
readonly customer: {
|
|
2556
2614
|
readonly description: "Customer ID, domain, or name to scope source listing.";
|
|
@@ -2613,7 +2671,7 @@ declare const publicToolContracts: {
|
|
|
2613
2671
|
readonly properties: {
|
|
2614
2672
|
readonly sourceType: {
|
|
2615
2673
|
readonly type: "string";
|
|
2616
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
2674
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2617
2675
|
};
|
|
2618
2676
|
readonly sourceId: {
|
|
2619
2677
|
readonly type: "string";
|
|
@@ -2818,7 +2876,7 @@ declare const publicToolContracts: {
|
|
|
2818
2876
|
readonly type: "array";
|
|
2819
2877
|
readonly items: {
|
|
2820
2878
|
readonly type: "string";
|
|
2821
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "CRM", "CRM_OPPORTUNITY"];
|
|
2879
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY"];
|
|
2822
2880
|
};
|
|
2823
2881
|
};
|
|
2824
2882
|
};
|
|
@@ -2976,7 +3034,7 @@ declare const publicToolContracts: {
|
|
|
2976
3034
|
readonly properties: {
|
|
2977
3035
|
readonly sourceType: {
|
|
2978
3036
|
readonly type: "string";
|
|
2979
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
3037
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2980
3038
|
};
|
|
2981
3039
|
readonly sourceId: {
|
|
2982
3040
|
readonly type: "string";
|
|
@@ -3014,7 +3072,7 @@ declare const publicToolContracts: {
|
|
|
3014
3072
|
readonly sourceType: {
|
|
3015
3073
|
readonly anyOf: readonly [{
|
|
3016
3074
|
readonly type: "string";
|
|
3017
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
3075
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
3018
3076
|
}, {
|
|
3019
3077
|
readonly type: "null";
|
|
3020
3078
|
}];
|
|
@@ -3163,7 +3221,7 @@ declare const publicToolContracts: {
|
|
|
3163
3221
|
readonly sourceType: {
|
|
3164
3222
|
readonly anyOf: readonly [{
|
|
3165
3223
|
readonly type: "string";
|
|
3166
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
3224
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
3167
3225
|
}, {
|
|
3168
3226
|
readonly type: "null";
|
|
3169
3227
|
}];
|
|
@@ -3222,7 +3280,7 @@ declare const publicToolContracts: {
|
|
|
3222
3280
|
};
|
|
3223
3281
|
readonly sourceType: {
|
|
3224
3282
|
readonly type: "string";
|
|
3225
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
3283
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
3226
3284
|
};
|
|
3227
3285
|
readonly sourceId: {
|
|
3228
3286
|
readonly type: "string";
|
|
@@ -8923,18 +8981,18 @@ declare const customerBillingStatuses: readonly ["NONE", "TRIALING", "PAYING", "
|
|
|
8923
8981
|
declare const customerActivityWindows: readonly ["7d", "14d", "30d", "90d"];
|
|
8924
8982
|
declare const customerFactStatuses: readonly ["ACTIVE", "ACKNOWLEDGED", "RESOLVED", "SNOOZED", "CANDIDATE"];
|
|
8925
8983
|
declare const customerFactIncludes: readonly ["evidence"];
|
|
8926
|
-
declare const customerFactTypes: readonly ["CUSTOM", "COMPANY_CHANGE", "FUNDING_REVENUE", "TECHNOLOGY", "STRATEGY", "COMPETITIVE", "SENTIMENT", "CHAMPION_RISK", "EXPANSION", "CHURN_RISK", "TIMELINE", "BUDGET", "DECISION_MAKER", "REQUIREMENTS", "PRODUCT_USAGE", "CONTACT_INFO", "CONTACT_PREFERENCE"];
|
|
8984
|
+
declare const customerFactTypes: readonly ["CUSTOM", "COMPANY_CHANGE", "FUNDING_REVENUE", "TECHNOLOGY", "STRATEGY", "COMPETITIVE", "SENTIMENT", "CHAMPION_RISK", "EXPANSION", "CHURN_RISK", "TIMELINE", "BUDGET", "DECISION_MAKER", "REQUIREMENTS", "PRODUCT_USAGE", "CONTACT_INFO", "CONTACT_PREFERENCE", "CONTACT_DEPARTURE", "CONTACT_POSITION_CHANGE", "CONTACT_DISENGAGEMENT"];
|
|
8927
8985
|
declare const unsupportedCustomerFactTypes: readonly ["TRACKING_GAP", "SCHEMA_DRIFT", "INGESTION_LAG", "ACTIVATION_RATE_DROP", "FUNNEL_DROPOFF", "CORE_ACTION_DECAY", "CADENCE_BREAK", "QUIET_ACCOUNT", "CHAMPION_AT_RISK", "SEGMENT_DIVERGENCE"];
|
|
8928
|
-
declare const customerFactCategories: readonly ["MEMORY", "CUSTOM"];
|
|
8986
|
+
declare const customerFactCategories: readonly ["MEMORY", "RELATIONSHIP", "CUSTOM"];
|
|
8929
8987
|
declare const customerListOrderFields: readonly ["last_activity_at", "first_seen_at", "name", "mrr_cents"];
|
|
8930
8988
|
declare const customerIncludeSections: readonly ["users", "revenue", "recentTimeline", "behaviorMetrics", "enrichment"];
|
|
8931
|
-
declare const customerSourceTypes: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
8989
|
+
declare const customerSourceTypes: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
8932
8990
|
declare const customerSourceTypeAliasMap: {
|
|
8933
8991
|
readonly CRM: "OPPORTUNITY";
|
|
8934
8992
|
readonly CRM_OPPORTUNITY: "OPPORTUNITY";
|
|
8935
8993
|
};
|
|
8936
8994
|
declare const customerSourceTypeAliases: readonly ["CRM", "CRM_OPPORTUNITY"];
|
|
8937
|
-
declare const customerSourceTypeInputs: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "CRM", "CRM_OPPORTUNITY"];
|
|
8995
|
+
declare const customerSourceTypeInputs: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY"];
|
|
8938
8996
|
declare const customerTimeframes: readonly ["7d", "14d", "30d", "90d"];
|
|
8939
8997
|
declare const timelineChannels: readonly ["PRODUCT", "COMMUNICATION", "MEETING", "CRM", "BILLING", "SUPPORT", "IDENTITY", "DOCUMENT", "SYSTEM"];
|
|
8940
8998
|
declare const timelineTimeframes: readonly ["7d", "14d", "30d", "90d", "all"];
|
|
@@ -8942,7 +9000,7 @@ declare const userJourneyStages: readonly ["DISCOVERED", "SIGNED_UP", "ACTIVATED
|
|
|
8942
9000
|
declare const userListOrderFields: readonly ["last_activity_at", "first_seen_at", "email"];
|
|
8943
9001
|
declare const workspaceUserListOrderFields: readonly ["name", "email", "owned_customer_count"];
|
|
8944
9002
|
declare const schemaTables: readonly ["activity", "customers", "users", "revenue"];
|
|
8945
|
-
declare const sdkConsumerContractHash: "
|
|
9003
|
+
declare const sdkConsumerContractHash: "6e94d54edef77e194566831299475f1814ec8a4cf6302aa38f7fd2d596623673";
|
|
8946
9004
|
|
|
8947
9005
|
type JsonSchema = Readonly<Record<string, unknown>>;
|
|
8948
9006
|
type PublicToolName = (typeof publicToolNames)[number];
|
package/dist/index.d.ts
CHANGED
|
@@ -375,8 +375,37 @@ declare const publicToolContracts: {
|
|
|
375
375
|
readonly type: "null";
|
|
376
376
|
}];
|
|
377
377
|
};
|
|
378
|
+
readonly relationshipRole: {
|
|
379
|
+
readonly anyOf: readonly [{
|
|
380
|
+
readonly type: "string";
|
|
381
|
+
}, {
|
|
382
|
+
readonly type: "null";
|
|
383
|
+
}];
|
|
384
|
+
};
|
|
385
|
+
readonly jobTitle: {
|
|
386
|
+
readonly anyOf: readonly [{
|
|
387
|
+
readonly type: "string";
|
|
388
|
+
}, {
|
|
389
|
+
readonly type: "null";
|
|
390
|
+
}];
|
|
391
|
+
};
|
|
392
|
+
readonly department: {
|
|
393
|
+
readonly anyOf: readonly [{
|
|
394
|
+
readonly type: "string";
|
|
395
|
+
}, {
|
|
396
|
+
readonly type: "null";
|
|
397
|
+
}];
|
|
398
|
+
};
|
|
399
|
+
readonly employmentStartDate: {
|
|
400
|
+
readonly anyOf: readonly [{
|
|
401
|
+
readonly type: "string";
|
|
402
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
403
|
+
}, {
|
|
404
|
+
readonly type: "null";
|
|
405
|
+
}];
|
|
406
|
+
};
|
|
378
407
|
};
|
|
379
|
-
readonly required: readonly ["id", "email", "name", "customerId", "customerName", "customerDomain", "journeyStage", "lastActivityAt", "daysSinceActivity"];
|
|
408
|
+
readonly required: readonly ["id", "email", "name", "customerId", "customerName", "customerDomain", "journeyStage", "lastActivityAt", "daysSinceActivity", "relationshipRole", "jobTitle", "department", "employmentStartDate"];
|
|
380
409
|
readonly additionalProperties: false;
|
|
381
410
|
};
|
|
382
411
|
};
|
|
@@ -692,8 +721,37 @@ declare const publicToolContracts: {
|
|
|
692
721
|
readonly type: "null";
|
|
693
722
|
}];
|
|
694
723
|
};
|
|
724
|
+
readonly relationshipRole: {
|
|
725
|
+
readonly anyOf: readonly [{
|
|
726
|
+
readonly type: "string";
|
|
727
|
+
}, {
|
|
728
|
+
readonly type: "null";
|
|
729
|
+
}];
|
|
730
|
+
};
|
|
731
|
+
readonly jobTitle: {
|
|
732
|
+
readonly anyOf: readonly [{
|
|
733
|
+
readonly type: "string";
|
|
734
|
+
}, {
|
|
735
|
+
readonly type: "null";
|
|
736
|
+
}];
|
|
737
|
+
};
|
|
738
|
+
readonly department: {
|
|
739
|
+
readonly anyOf: readonly [{
|
|
740
|
+
readonly type: "string";
|
|
741
|
+
}, {
|
|
742
|
+
readonly type: "null";
|
|
743
|
+
}];
|
|
744
|
+
};
|
|
745
|
+
readonly employmentStartDate: {
|
|
746
|
+
readonly anyOf: readonly [{
|
|
747
|
+
readonly type: "string";
|
|
748
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}$";
|
|
749
|
+
}, {
|
|
750
|
+
readonly type: "null";
|
|
751
|
+
}];
|
|
752
|
+
};
|
|
695
753
|
};
|
|
696
|
-
readonly required: readonly ["id", "email", "name", "journeyStage", "lastActivityAt"];
|
|
754
|
+
readonly required: readonly ["id", "email", "name", "journeyStage", "lastActivityAt", "relationshipRole", "jobTitle", "department", "employmentStartDate"];
|
|
697
755
|
readonly additionalProperties: false;
|
|
698
756
|
};
|
|
699
757
|
};
|
|
@@ -1607,7 +1665,7 @@ declare const publicToolContracts: {
|
|
|
1607
1665
|
readonly type: "array";
|
|
1608
1666
|
readonly items: {
|
|
1609
1667
|
readonly type: "string";
|
|
1610
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "CRM", "CRM_OPPORTUNITY"];
|
|
1668
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY"];
|
|
1611
1669
|
};
|
|
1612
1670
|
};
|
|
1613
1671
|
readonly factTypes: {
|
|
@@ -1615,15 +1673,15 @@ declare const publicToolContracts: {
|
|
|
1615
1673
|
readonly type: "array";
|
|
1616
1674
|
readonly items: {
|
|
1617
1675
|
readonly type: "string";
|
|
1618
|
-
readonly enum: readonly ["CUSTOM", "COMPANY_CHANGE", "FUNDING_REVENUE", "TECHNOLOGY", "STRATEGY", "COMPETITIVE", "SENTIMENT", "CHAMPION_RISK", "EXPANSION", "CHURN_RISK", "TIMELINE", "BUDGET", "DECISION_MAKER", "REQUIREMENTS", "PRODUCT_USAGE", "CONTACT_INFO", "CONTACT_PREFERENCE"];
|
|
1676
|
+
readonly enum: readonly ["CUSTOM", "COMPANY_CHANGE", "FUNDING_REVENUE", "TECHNOLOGY", "STRATEGY", "COMPETITIVE", "SENTIMENT", "CHAMPION_RISK", "EXPANSION", "CHURN_RISK", "TIMELINE", "BUDGET", "DECISION_MAKER", "REQUIREMENTS", "PRODUCT_USAGE", "CONTACT_INFO", "CONTACT_PREFERENCE", "CONTACT_DEPARTURE", "CONTACT_POSITION_CHANGE", "CONTACT_DISENGAGEMENT"];
|
|
1619
1677
|
};
|
|
1620
1678
|
};
|
|
1621
1679
|
readonly factCategories: {
|
|
1622
|
-
readonly description: "Optional public fact category filters. Supported values: MEMORY, CUSTOM.";
|
|
1680
|
+
readonly description: "Optional public fact category filters. Supported values: MEMORY, RELATIONSHIP, CUSTOM.";
|
|
1623
1681
|
readonly type: "array";
|
|
1624
1682
|
readonly items: {
|
|
1625
1683
|
readonly type: "string";
|
|
1626
|
-
readonly enum: readonly ["MEMORY", "CUSTOM"];
|
|
1684
|
+
readonly enum: readonly ["MEMORY", "RELATIONSHIP", "CUSTOM"];
|
|
1627
1685
|
};
|
|
1628
1686
|
};
|
|
1629
1687
|
readonly after: {
|
|
@@ -1764,7 +1822,7 @@ declare const publicToolContracts: {
|
|
|
1764
1822
|
readonly properties: {
|
|
1765
1823
|
readonly sourceType: {
|
|
1766
1824
|
readonly type: "string";
|
|
1767
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
1825
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
1768
1826
|
};
|
|
1769
1827
|
readonly sourceId: {
|
|
1770
1828
|
readonly type: "string";
|
|
@@ -1802,7 +1860,7 @@ declare const publicToolContracts: {
|
|
|
1802
1860
|
readonly sourceType: {
|
|
1803
1861
|
readonly anyOf: readonly [{
|
|
1804
1862
|
readonly type: "string";
|
|
1805
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
1863
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
1806
1864
|
}, {
|
|
1807
1865
|
readonly type: "null";
|
|
1808
1866
|
}];
|
|
@@ -1951,7 +2009,7 @@ declare const publicToolContracts: {
|
|
|
1951
2009
|
readonly sourceType: {
|
|
1952
2010
|
readonly anyOf: readonly [{
|
|
1953
2011
|
readonly type: "string";
|
|
1954
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
2012
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
1955
2013
|
}, {
|
|
1956
2014
|
readonly type: "null";
|
|
1957
2015
|
}];
|
|
@@ -2130,7 +2188,7 @@ declare const publicToolContracts: {
|
|
|
2130
2188
|
readonly properties: {
|
|
2131
2189
|
readonly sourceType: {
|
|
2132
2190
|
readonly type: "string";
|
|
2133
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
2191
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2134
2192
|
};
|
|
2135
2193
|
readonly sourceId: {
|
|
2136
2194
|
readonly type: "string";
|
|
@@ -2168,7 +2226,7 @@ declare const publicToolContracts: {
|
|
|
2168
2226
|
readonly sourceType: {
|
|
2169
2227
|
readonly anyOf: readonly [{
|
|
2170
2228
|
readonly type: "string";
|
|
2171
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
2229
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2172
2230
|
}, {
|
|
2173
2231
|
readonly type: "null";
|
|
2174
2232
|
}];
|
|
@@ -2317,7 +2375,7 @@ declare const publicToolContracts: {
|
|
|
2317
2375
|
readonly sourceType: {
|
|
2318
2376
|
readonly anyOf: readonly [{
|
|
2319
2377
|
readonly type: "string";
|
|
2320
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
2378
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2321
2379
|
}, {
|
|
2322
2380
|
readonly type: "null";
|
|
2323
2381
|
}];
|
|
@@ -2375,7 +2433,7 @@ declare const publicToolContracts: {
|
|
|
2375
2433
|
readonly properties: {
|
|
2376
2434
|
readonly sourceType: {
|
|
2377
2435
|
readonly type: "string";
|
|
2378
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "CRM", "CRM_OPPORTUNITY"];
|
|
2436
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY"];
|
|
2379
2437
|
};
|
|
2380
2438
|
readonly sourceId: {
|
|
2381
2439
|
readonly type: "string";
|
|
@@ -2403,7 +2461,7 @@ declare const publicToolContracts: {
|
|
|
2403
2461
|
readonly properties: {
|
|
2404
2462
|
readonly sourceType: {
|
|
2405
2463
|
readonly type: "string";
|
|
2406
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
2464
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2407
2465
|
};
|
|
2408
2466
|
readonly sourceId: {
|
|
2409
2467
|
readonly type: "string";
|
|
@@ -2550,7 +2608,7 @@ declare const publicToolContracts: {
|
|
|
2550
2608
|
readonly sourceType: {
|
|
2551
2609
|
readonly description: "Generic source type to list.";
|
|
2552
2610
|
readonly type: "string";
|
|
2553
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "CRM", "CRM_OPPORTUNITY"];
|
|
2611
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY"];
|
|
2554
2612
|
};
|
|
2555
2613
|
readonly customer: {
|
|
2556
2614
|
readonly description: "Customer ID, domain, or name to scope source listing.";
|
|
@@ -2613,7 +2671,7 @@ declare const publicToolContracts: {
|
|
|
2613
2671
|
readonly properties: {
|
|
2614
2672
|
readonly sourceType: {
|
|
2615
2673
|
readonly type: "string";
|
|
2616
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
2674
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2617
2675
|
};
|
|
2618
2676
|
readonly sourceId: {
|
|
2619
2677
|
readonly type: "string";
|
|
@@ -2818,7 +2876,7 @@ declare const publicToolContracts: {
|
|
|
2818
2876
|
readonly type: "array";
|
|
2819
2877
|
readonly items: {
|
|
2820
2878
|
readonly type: "string";
|
|
2821
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "CRM", "CRM_OPPORTUNITY"];
|
|
2879
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY"];
|
|
2822
2880
|
};
|
|
2823
2881
|
};
|
|
2824
2882
|
};
|
|
@@ -2976,7 +3034,7 @@ declare const publicToolContracts: {
|
|
|
2976
3034
|
readonly properties: {
|
|
2977
3035
|
readonly sourceType: {
|
|
2978
3036
|
readonly type: "string";
|
|
2979
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
3037
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2980
3038
|
};
|
|
2981
3039
|
readonly sourceId: {
|
|
2982
3040
|
readonly type: "string";
|
|
@@ -3014,7 +3072,7 @@ declare const publicToolContracts: {
|
|
|
3014
3072
|
readonly sourceType: {
|
|
3015
3073
|
readonly anyOf: readonly [{
|
|
3016
3074
|
readonly type: "string";
|
|
3017
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
3075
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
3018
3076
|
}, {
|
|
3019
3077
|
readonly type: "null";
|
|
3020
3078
|
}];
|
|
@@ -3163,7 +3221,7 @@ declare const publicToolContracts: {
|
|
|
3163
3221
|
readonly sourceType: {
|
|
3164
3222
|
readonly anyOf: readonly [{
|
|
3165
3223
|
readonly type: "string";
|
|
3166
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
3224
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
3167
3225
|
}, {
|
|
3168
3226
|
readonly type: "null";
|
|
3169
3227
|
}];
|
|
@@ -3222,7 +3280,7 @@ declare const publicToolContracts: {
|
|
|
3222
3280
|
};
|
|
3223
3281
|
readonly sourceType: {
|
|
3224
3282
|
readonly type: "string";
|
|
3225
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
3283
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
3226
3284
|
};
|
|
3227
3285
|
readonly sourceId: {
|
|
3228
3286
|
readonly type: "string";
|
|
@@ -8923,18 +8981,18 @@ declare const customerBillingStatuses: readonly ["NONE", "TRIALING", "PAYING", "
|
|
|
8923
8981
|
declare const customerActivityWindows: readonly ["7d", "14d", "30d", "90d"];
|
|
8924
8982
|
declare const customerFactStatuses: readonly ["ACTIVE", "ACKNOWLEDGED", "RESOLVED", "SNOOZED", "CANDIDATE"];
|
|
8925
8983
|
declare const customerFactIncludes: readonly ["evidence"];
|
|
8926
|
-
declare const customerFactTypes: readonly ["CUSTOM", "COMPANY_CHANGE", "FUNDING_REVENUE", "TECHNOLOGY", "STRATEGY", "COMPETITIVE", "SENTIMENT", "CHAMPION_RISK", "EXPANSION", "CHURN_RISK", "TIMELINE", "BUDGET", "DECISION_MAKER", "REQUIREMENTS", "PRODUCT_USAGE", "CONTACT_INFO", "CONTACT_PREFERENCE"];
|
|
8984
|
+
declare const customerFactTypes: readonly ["CUSTOM", "COMPANY_CHANGE", "FUNDING_REVENUE", "TECHNOLOGY", "STRATEGY", "COMPETITIVE", "SENTIMENT", "CHAMPION_RISK", "EXPANSION", "CHURN_RISK", "TIMELINE", "BUDGET", "DECISION_MAKER", "REQUIREMENTS", "PRODUCT_USAGE", "CONTACT_INFO", "CONTACT_PREFERENCE", "CONTACT_DEPARTURE", "CONTACT_POSITION_CHANGE", "CONTACT_DISENGAGEMENT"];
|
|
8927
8985
|
declare const unsupportedCustomerFactTypes: readonly ["TRACKING_GAP", "SCHEMA_DRIFT", "INGESTION_LAG", "ACTIVATION_RATE_DROP", "FUNNEL_DROPOFF", "CORE_ACTION_DECAY", "CADENCE_BREAK", "QUIET_ACCOUNT", "CHAMPION_AT_RISK", "SEGMENT_DIVERGENCE"];
|
|
8928
|
-
declare const customerFactCategories: readonly ["MEMORY", "CUSTOM"];
|
|
8986
|
+
declare const customerFactCategories: readonly ["MEMORY", "RELATIONSHIP", "CUSTOM"];
|
|
8929
8987
|
declare const customerListOrderFields: readonly ["last_activity_at", "first_seen_at", "name", "mrr_cents"];
|
|
8930
8988
|
declare const customerIncludeSections: readonly ["users", "revenue", "recentTimeline", "behaviorMetrics", "enrichment"];
|
|
8931
|
-
declare const customerSourceTypes: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK"];
|
|
8989
|
+
declare const customerSourceTypes: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
8932
8990
|
declare const customerSourceTypeAliasMap: {
|
|
8933
8991
|
readonly CRM: "OPPORTUNITY";
|
|
8934
8992
|
readonly CRM_OPPORTUNITY: "OPPORTUNITY";
|
|
8935
8993
|
};
|
|
8936
8994
|
declare const customerSourceTypeAliases: readonly ["CRM", "CRM_OPPORTUNITY"];
|
|
8937
|
-
declare const customerSourceTypeInputs: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "CRM", "CRM_OPPORTUNITY"];
|
|
8995
|
+
declare const customerSourceTypeInputs: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY"];
|
|
8938
8996
|
declare const customerTimeframes: readonly ["7d", "14d", "30d", "90d"];
|
|
8939
8997
|
declare const timelineChannels: readonly ["PRODUCT", "COMMUNICATION", "MEETING", "CRM", "BILLING", "SUPPORT", "IDENTITY", "DOCUMENT", "SYSTEM"];
|
|
8940
8998
|
declare const timelineTimeframes: readonly ["7d", "14d", "30d", "90d", "all"];
|
|
@@ -8942,7 +9000,7 @@ declare const userJourneyStages: readonly ["DISCOVERED", "SIGNED_UP", "ACTIVATED
|
|
|
8942
9000
|
declare const userListOrderFields: readonly ["last_activity_at", "first_seen_at", "email"];
|
|
8943
9001
|
declare const workspaceUserListOrderFields: readonly ["name", "email", "owned_customer_count"];
|
|
8944
9002
|
declare const schemaTables: readonly ["activity", "customers", "users", "revenue"];
|
|
8945
|
-
declare const sdkConsumerContractHash: "
|
|
9003
|
+
declare const sdkConsumerContractHash: "6e94d54edef77e194566831299475f1814ec8a4cf6302aa38f7fd2d596623673";
|
|
8946
9004
|
|
|
8947
9005
|
type JsonSchema = Readonly<Record<string, unknown>>;
|
|
8948
9006
|
type PublicToolName = (typeof publicToolNames)[number];
|