@outlit/tools 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +501 -57
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +365 -52
- package/dist/index.d.ts +365 -52
- package/dist/index.js +500 -57
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ declare const publicToolContracts: {
|
|
|
7
7
|
readonly commandVersion: 1;
|
|
8
8
|
readonly ownerDomain: "customers";
|
|
9
9
|
readonly title: "List Customers";
|
|
10
|
-
readonly description: "Browse and filter customers. Use this to find customers by billing status, activity recency, revenue, or name. Returns a paginated list with summary info (
|
|
10
|
+
readonly description: "Browse and filter customers. Use this to find customers by billing status, activity recency, revenue, or name. Returns a paginated list with summary info (ARR, last activity, status). arr is the annualized revenue run rate, the same figure the Outlit app shows, with its currency: amount is in the billing provider's units for that currency (for USD, EUR, GBP and CAD this is cents: divide by 100, e.g. 1200000 is $12,000 ARR, USD; other currencies follow the provider's amount rules). arr is null when the app shows none, and amount is 0 for a churned, paused or trialing customer.";
|
|
11
11
|
readonly annotations: {
|
|
12
12
|
readonly readOnlyHint: true;
|
|
13
13
|
readonly destructiveHint: false;
|
|
@@ -38,13 +38,23 @@ declare const publicToolContracts: {
|
|
|
38
38
|
readonly type: "string";
|
|
39
39
|
readonly enum: readonly ["7d", "14d", "30d", "90d"];
|
|
40
40
|
};
|
|
41
|
+
readonly arrAbove: {
|
|
42
|
+
readonly description: "Minimum ARR, in arr.amount's units per year (1200000 is $12,000 for a customer billed in USD). Customers whose ARR is unknown never match.";
|
|
43
|
+
readonly type: "number";
|
|
44
|
+
readonly minimum: 0;
|
|
45
|
+
};
|
|
46
|
+
readonly arrBelow: {
|
|
47
|
+
readonly description: "Maximum ARR, in arr.amount's units per year. Customers whose ARR is unknown never match.";
|
|
48
|
+
readonly type: "number";
|
|
49
|
+
readonly minimum: 0;
|
|
50
|
+
};
|
|
41
51
|
readonly mrrAbove: {
|
|
42
|
-
readonly description: "
|
|
52
|
+
readonly description: "Deprecated: use arrAbove.";
|
|
43
53
|
readonly type: "number";
|
|
44
54
|
readonly minimum: 0;
|
|
45
55
|
};
|
|
46
56
|
readonly mrrBelow: {
|
|
47
|
-
readonly description: "
|
|
57
|
+
readonly description: "Deprecated: use arrBelow.";
|
|
48
58
|
readonly type: "number";
|
|
49
59
|
readonly minimum: 0;
|
|
50
60
|
};
|
|
@@ -97,10 +107,10 @@ declare const publicToolContracts: {
|
|
|
97
107
|
readonly type: "string";
|
|
98
108
|
};
|
|
99
109
|
readonly orderBy: {
|
|
100
|
-
readonly description: "Field to order results by";
|
|
110
|
+
readonly description: "Field to order results by: last_activity_at, first_seen_at, name, arr_cents. arr_cents puts customers whose ARR is unknown last when descending.";
|
|
101
111
|
readonly default: "last_activity_at";
|
|
102
112
|
readonly type: "string";
|
|
103
|
-
readonly enum: readonly ["last_activity_at", "first_seen_at", "name", "mrr_cents"];
|
|
113
|
+
readonly enum: readonly ["last_activity_at", "first_seen_at", "name", "arr_cents", "mrr_cents"];
|
|
104
114
|
};
|
|
105
115
|
readonly orderDirection: {
|
|
106
116
|
readonly description: "Sort direction";
|
|
@@ -166,17 +176,31 @@ declare const publicToolContracts: {
|
|
|
166
176
|
readonly minimum: 0;
|
|
167
177
|
readonly maximum: 9007199254740991;
|
|
168
178
|
};
|
|
169
|
-
readonly
|
|
179
|
+
readonly arr: {
|
|
170
180
|
readonly anyOf: readonly [{
|
|
171
|
-
readonly type: "
|
|
181
|
+
readonly type: "object";
|
|
182
|
+
readonly properties: {
|
|
183
|
+
readonly amount: {
|
|
184
|
+
readonly type: "integer";
|
|
185
|
+
readonly minimum: 0;
|
|
186
|
+
readonly maximum: 9007199254740991;
|
|
187
|
+
readonly description: "Annualized revenue run rate, the same ARR figure the Outlit app shows: an integer in the billing provider's units for `currency`. For USD, EUR, GBP and CAD this is cents: divide by 100 (e.g. 1234500 is $12,345, USD). Other currencies follow the provider's amount rules (Stripe's currency docs), so don't assume a divisor for them. 0 for a churned, paused or trialing customer.";
|
|
188
|
+
};
|
|
189
|
+
readonly currency: {
|
|
190
|
+
readonly type: "string";
|
|
191
|
+
readonly description: "ISO currency code of amount.";
|
|
192
|
+
};
|
|
193
|
+
readonly estimated: {
|
|
194
|
+
readonly type: "boolean";
|
|
195
|
+
readonly description: "The amount includes a usage or per-seat estimate, shown as ~ in the app.";
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
readonly required: readonly ["amount", "currency", "estimated"];
|
|
199
|
+
readonly additionalProperties: false;
|
|
172
200
|
}, {
|
|
173
201
|
readonly type: "null";
|
|
174
202
|
}];
|
|
175
|
-
readonly description: "
|
|
176
|
-
};
|
|
177
|
-
readonly mrrCalculationStatus: {
|
|
178
|
-
readonly type: "string";
|
|
179
|
-
readonly enum: readonly ["calculated", "mixed_currency", "unavailable"];
|
|
203
|
+
readonly description: "Null when the app shows no ARR for this customer.";
|
|
180
204
|
};
|
|
181
205
|
readonly owner: {
|
|
182
206
|
readonly anyOf: readonly [{
|
|
@@ -208,7 +232,7 @@ declare const publicToolContracts: {
|
|
|
208
232
|
}];
|
|
209
233
|
};
|
|
210
234
|
};
|
|
211
|
-
readonly required: readonly ["id", "name", "domain", "billingStatus", "activatedAt", "firstSeenAt", "lastActivityAt", "contactCount", "
|
|
235
|
+
readonly required: readonly ["id", "name", "domain", "billingStatus", "activatedAt", "firstSeenAt", "lastActivityAt", "contactCount", "arr", "owner", "daysSinceActivity"];
|
|
212
236
|
readonly additionalProperties: false;
|
|
213
237
|
};
|
|
214
238
|
};
|
|
@@ -649,7 +673,7 @@ declare const publicToolContracts: {
|
|
|
649
673
|
readonly commandVersion: 1;
|
|
650
674
|
readonly ownerDomain: "customers";
|
|
651
675
|
readonly title: "Get Customer";
|
|
652
|
-
readonly description: "Get full details for a single customer. Optionally include users (each with their sources: where Outlit found them and the conversations they took part in), revenue, recent activity, engagement metrics,
|
|
676
|
+
readonly description: "Get full details for a single customer. Optionally include users (each with their sources: where Outlit found them and the conversations they took part in), revenue, recent activity, engagement metrics, company enrichment, the renewal date and its source, or crm: the CRM and support tool accounts linked to the customer with their own fields (segment, health, stage, owner and custom fields) as stored, which can be hundreds so request it only when needed. Revenue includes arr, the annualized revenue run rate, exactly as the customer page shows it, with its currency, whether it is an estimate, the revenue lifecycle and the parts it is counted from; amounts are in the billing provider's units for that currency (for USD, EUR, GBP and CAD these are cents: divide by 100, e.g. 1234500 is $12,345, USD; other currencies follow the provider's amount rules). lifetimeRevenue does not name its currency.";
|
|
653
677
|
readonly annotations: {
|
|
654
678
|
readonly readOnlyHint: true;
|
|
655
679
|
readonly destructiveHint: false;
|
|
@@ -670,7 +694,7 @@ declare const publicToolContracts: {
|
|
|
670
694
|
readonly type: "array";
|
|
671
695
|
readonly items: {
|
|
672
696
|
readonly type: "string";
|
|
673
|
-
readonly enum: readonly ["users", "revenue", "recentTimeline", "behaviorMetrics", "enrichment"];
|
|
697
|
+
readonly enum: readonly ["users", "revenue", "recentTimeline", "behaviorMetrics", "enrichment", "renewal", "crm"];
|
|
674
698
|
};
|
|
675
699
|
};
|
|
676
700
|
readonly timeframe: {
|
|
@@ -679,6 +703,15 @@ declare const publicToolContracts: {
|
|
|
679
703
|
readonly type: "string";
|
|
680
704
|
readonly enum: readonly ["7d", "14d", "30d", "90d"];
|
|
681
705
|
};
|
|
706
|
+
readonly crmFields: {
|
|
707
|
+
readonly description: "With include crm only: the CRM fields to return, by key or label (case is ignored), for example the keys an earlier response listed in omittedFields. Send [] (the default) for every field.";
|
|
708
|
+
readonly maxItems: 100;
|
|
709
|
+
readonly type: "array";
|
|
710
|
+
readonly items: {
|
|
711
|
+
readonly type: "string";
|
|
712
|
+
readonly maxLength: 191;
|
|
713
|
+
};
|
|
714
|
+
};
|
|
682
715
|
};
|
|
683
716
|
readonly required: readonly ["customer"];
|
|
684
717
|
};
|
|
@@ -871,29 +904,91 @@ declare const publicToolContracts: {
|
|
|
871
904
|
readonly revenue: {
|
|
872
905
|
readonly type: "object";
|
|
873
906
|
readonly properties: {
|
|
874
|
-
readonly
|
|
907
|
+
readonly arr: {
|
|
875
908
|
readonly anyOf: readonly [{
|
|
876
|
-
readonly type: "
|
|
909
|
+
readonly type: "object";
|
|
910
|
+
readonly properties: {
|
|
911
|
+
readonly amount: {
|
|
912
|
+
readonly type: "integer";
|
|
913
|
+
readonly minimum: 0;
|
|
914
|
+
readonly maximum: 9007199254740991;
|
|
915
|
+
readonly description: "Annualized revenue run rate, the same ARR figure the customer page shows: an integer in the billing provider's units for `currency`. For USD, EUR, GBP and CAD this is cents: divide by 100 (e.g. 1234500 is $12,345, USD). Other currencies follow the provider's amount rules (Stripe's currency docs), so don't assume a divisor for them. 0 for a churned, paused or trialing customer.";
|
|
916
|
+
};
|
|
917
|
+
readonly currency: {
|
|
918
|
+
readonly type: "string";
|
|
919
|
+
readonly description: "ISO currency code of amount and parts.";
|
|
920
|
+
};
|
|
921
|
+
readonly estimated: {
|
|
922
|
+
readonly type: "boolean";
|
|
923
|
+
readonly description: "The amount includes a usage or per-seat estimate, shown as ~ in the app.";
|
|
924
|
+
};
|
|
925
|
+
readonly lifecycle: {
|
|
926
|
+
readonly anyOf: readonly [{
|
|
927
|
+
readonly type: "string";
|
|
928
|
+
readonly enum: readonly ["active", "past_due", "paused", "churned", "trialing"];
|
|
929
|
+
}, {
|
|
930
|
+
readonly type: "null";
|
|
931
|
+
}];
|
|
932
|
+
readonly description: "The customer's revenue state; null when unknown.";
|
|
933
|
+
};
|
|
934
|
+
readonly parts: {
|
|
935
|
+
readonly type: "object";
|
|
936
|
+
readonly properties: {
|
|
937
|
+
readonly subscriptions: {
|
|
938
|
+
readonly anyOf: readonly [{
|
|
939
|
+
readonly type: "integer";
|
|
940
|
+
readonly minimum: -9007199254740991;
|
|
941
|
+
readonly maximum: 9007199254740991;
|
|
942
|
+
}, {
|
|
943
|
+
readonly type: "null";
|
|
944
|
+
}];
|
|
945
|
+
readonly description: "Active subscriptions at list price, annualized.";
|
|
946
|
+
};
|
|
947
|
+
readonly usage: {
|
|
948
|
+
readonly anyOf: readonly [{
|
|
949
|
+
readonly type: "integer";
|
|
950
|
+
readonly minimum: -9007199254740991;
|
|
951
|
+
readonly maximum: 9007199254740991;
|
|
952
|
+
}, {
|
|
953
|
+
readonly type: "null";
|
|
954
|
+
}];
|
|
955
|
+
readonly description: "Annualized usage estimate.";
|
|
956
|
+
};
|
|
957
|
+
readonly invoicedLast12Months: {
|
|
958
|
+
readonly anyOf: readonly [{
|
|
959
|
+
readonly type: "integer";
|
|
960
|
+
readonly minimum: -9007199254740991;
|
|
961
|
+
readonly maximum: 9007199254740991;
|
|
962
|
+
}, {
|
|
963
|
+
readonly type: "null";
|
|
964
|
+
}];
|
|
965
|
+
readonly description: "Invoiced in the last 12 months.";
|
|
966
|
+
};
|
|
967
|
+
};
|
|
968
|
+
readonly required: readonly ["subscriptions", "usage", "invoicedLast12Months"];
|
|
969
|
+
readonly additionalProperties: false;
|
|
970
|
+
readonly description: "What amount was counted from, in the same units: the larger of subscriptions plus usage, and invoiced in the last 12 months. A part is null when unknown or not applicable.";
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
readonly required: readonly ["amount", "currency", "estimated", "lifecycle", "parts"];
|
|
974
|
+
readonly additionalProperties: false;
|
|
877
975
|
}, {
|
|
878
976
|
readonly type: "null";
|
|
879
977
|
}];
|
|
880
|
-
readonly description: "
|
|
881
|
-
};
|
|
882
|
-
readonly mrrCalculationStatus: {
|
|
883
|
-
readonly type: "string";
|
|
884
|
-
readonly enum: readonly ["calculated", "mixed_currency", "unavailable"];
|
|
978
|
+
readonly description: "Null when the app shows no ARR for this customer.";
|
|
885
979
|
};
|
|
886
980
|
readonly lifetimeRevenue: {
|
|
887
981
|
readonly type: "number";
|
|
888
|
-
readonly description: "Lifetime revenue in the billing provider's units for the currency it was billed in, like
|
|
982
|
+
readonly description: "Lifetime revenue in the billing provider's units for the currency it was billed in, like arr.amount: cents for USD, EUR, GBP and CAD, so divide by 100. Other currencies follow the provider's amount rules, so don't assume a divisor for them.";
|
|
889
983
|
};
|
|
890
984
|
readonly activeSubscriptions: {
|
|
891
985
|
readonly type: "integer";
|
|
892
986
|
readonly minimum: 0;
|
|
893
987
|
readonly maximum: 9007199254740991;
|
|
988
|
+
readonly description: "Subscriptions that bill now: active, trialing or past due. billingStatus says whether payments are behind.";
|
|
894
989
|
};
|
|
895
990
|
};
|
|
896
|
-
readonly required: readonly ["
|
|
991
|
+
readonly required: readonly ["arr", "lifetimeRevenue", "activeSubscriptions"];
|
|
897
992
|
readonly additionalProperties: false;
|
|
898
993
|
};
|
|
899
994
|
readonly recentTimeline: {
|
|
@@ -1248,6 +1343,135 @@ declare const publicToolContracts: {
|
|
|
1248
1343
|
readonly required: readonly ["status", "provider", "providerEntityId", "summary", "match", "lastSuccessfulRefreshAt", "lastAttemptAt", "expiresAt", "error"];
|
|
1249
1344
|
readonly additionalProperties: false;
|
|
1250
1345
|
};
|
|
1346
|
+
readonly renewal: {
|
|
1347
|
+
readonly description: "The renewal date the customer page shows, with its source; null when the customer has none";
|
|
1348
|
+
readonly anyOf: readonly [{
|
|
1349
|
+
readonly type: "object";
|
|
1350
|
+
readonly properties: {
|
|
1351
|
+
readonly date: {
|
|
1352
|
+
readonly type: "string";
|
|
1353
|
+
readonly description: "Renewal date, YYYY-MM-DD";
|
|
1354
|
+
};
|
|
1355
|
+
readonly source: {
|
|
1356
|
+
readonly type: "string";
|
|
1357
|
+
readonly enum: readonly ["outlit", "crm", "billing"];
|
|
1358
|
+
readonly description: "Where the date comes from: set in Outlit, a CRM opportunity, or the billing period of a yearly subscription";
|
|
1359
|
+
};
|
|
1360
|
+
};
|
|
1361
|
+
readonly required: readonly ["date", "source"];
|
|
1362
|
+
readonly additionalProperties: false;
|
|
1363
|
+
}, {
|
|
1364
|
+
readonly type: "null";
|
|
1365
|
+
}];
|
|
1366
|
+
};
|
|
1367
|
+
readonly crm: {
|
|
1368
|
+
readonly description: "The CRM and support tool accounts linked to this customer, one entry each, with the account's own fields (segment, health, stage, owner and custom fields) as stored there. Opt-in because an account can carry hundreds of fields. Absent when the section is not enabled for the workspace; null when the read is bound to a past point in time.";
|
|
1369
|
+
readonly anyOf: readonly [{
|
|
1370
|
+
readonly type: "array";
|
|
1371
|
+
readonly items: {
|
|
1372
|
+
readonly type: "object";
|
|
1373
|
+
readonly properties: {
|
|
1374
|
+
readonly provider: {
|
|
1375
|
+
readonly type: "string";
|
|
1376
|
+
readonly description: "The system that holds the account: hubspot, salesforce, attio or pylon.";
|
|
1377
|
+
};
|
|
1378
|
+
readonly connectionId: {
|
|
1379
|
+
readonly type: "string";
|
|
1380
|
+
readonly description: "The Outlit integration connection the account syncs through.";
|
|
1381
|
+
};
|
|
1382
|
+
readonly accountId: {
|
|
1383
|
+
readonly type: "string";
|
|
1384
|
+
readonly description: "The account's id in that system.";
|
|
1385
|
+
};
|
|
1386
|
+
readonly name: {
|
|
1387
|
+
readonly anyOf: readonly [{
|
|
1388
|
+
readonly type: "string";
|
|
1389
|
+
}, {
|
|
1390
|
+
readonly type: "null";
|
|
1391
|
+
}];
|
|
1392
|
+
readonly description: "The account's name in that system.";
|
|
1393
|
+
};
|
|
1394
|
+
readonly owner: {
|
|
1395
|
+
readonly anyOf: readonly [{
|
|
1396
|
+
readonly type: "object";
|
|
1397
|
+
readonly properties: {
|
|
1398
|
+
readonly name: {
|
|
1399
|
+
readonly anyOf: readonly [{
|
|
1400
|
+
readonly type: "string";
|
|
1401
|
+
}, {
|
|
1402
|
+
readonly type: "null";
|
|
1403
|
+
}];
|
|
1404
|
+
};
|
|
1405
|
+
readonly email: {
|
|
1406
|
+
readonly anyOf: readonly [{
|
|
1407
|
+
readonly type: "string";
|
|
1408
|
+
}, {
|
|
1409
|
+
readonly type: "null";
|
|
1410
|
+
}];
|
|
1411
|
+
};
|
|
1412
|
+
};
|
|
1413
|
+
readonly required: readonly ["name", "email"];
|
|
1414
|
+
readonly additionalProperties: false;
|
|
1415
|
+
}, {
|
|
1416
|
+
readonly type: "null";
|
|
1417
|
+
}];
|
|
1418
|
+
readonly description: "The account owner as that system records it; null when it records none. Not Outlit's customer owner.";
|
|
1419
|
+
};
|
|
1420
|
+
readonly recordUpdatedAt: {
|
|
1421
|
+
readonly anyOf: readonly [{
|
|
1422
|
+
readonly type: "string";
|
|
1423
|
+
}, {
|
|
1424
|
+
readonly type: "null";
|
|
1425
|
+
}];
|
|
1426
|
+
readonly description: "When that system last modified the account, ISO 8601. A Salesforce formula field can change without moving it, so such a value may lag until the account next changes.";
|
|
1427
|
+
};
|
|
1428
|
+
readonly fields: {
|
|
1429
|
+
readonly type: "array";
|
|
1430
|
+
readonly items: {
|
|
1431
|
+
readonly type: "object";
|
|
1432
|
+
readonly properties: {
|
|
1433
|
+
readonly key: {
|
|
1434
|
+
readonly type: "string";
|
|
1435
|
+
readonly description: "The field's API name or slug in that system.";
|
|
1436
|
+
};
|
|
1437
|
+
readonly label: {
|
|
1438
|
+
readonly type: "string";
|
|
1439
|
+
readonly description: "The field's name in that system's UI; the key when unknown.";
|
|
1440
|
+
};
|
|
1441
|
+
readonly value: {
|
|
1442
|
+
readonly description: "The value as that system stores it: a string, number, boolean, array, or for Attio its value objects. A picklist holds the option's stored value, not its label.";
|
|
1443
|
+
};
|
|
1444
|
+
readonly custom: {
|
|
1445
|
+
readonly type: "boolean";
|
|
1446
|
+
readonly description: "True for a field the customer's team added to that system.";
|
|
1447
|
+
};
|
|
1448
|
+
};
|
|
1449
|
+
readonly required: readonly ["key", "label", "value", "custom"];
|
|
1450
|
+
readonly additionalProperties: false;
|
|
1451
|
+
};
|
|
1452
|
+
readonly description: "The account's non-empty fields, sorted by key.";
|
|
1453
|
+
};
|
|
1454
|
+
readonly omittedFields: {
|
|
1455
|
+
readonly description: "Keys of fields left out so the response stays within its size limit, as many as fit. Ask for them with crmFields.";
|
|
1456
|
+
readonly type: "array";
|
|
1457
|
+
readonly items: {
|
|
1458
|
+
readonly type: "string";
|
|
1459
|
+
};
|
|
1460
|
+
};
|
|
1461
|
+
readonly omittedFieldCount: {
|
|
1462
|
+
readonly description: "How many fields were left out, including any not named in omittedFields.";
|
|
1463
|
+
readonly type: "integer";
|
|
1464
|
+
readonly minimum: 0;
|
|
1465
|
+
readonly maximum: 9007199254740991;
|
|
1466
|
+
};
|
|
1467
|
+
};
|
|
1468
|
+
readonly required: readonly ["provider", "connectionId", "accountId", "name", "owner", "recordUpdatedAt", "fields"];
|
|
1469
|
+
readonly additionalProperties: false;
|
|
1470
|
+
};
|
|
1471
|
+
}, {
|
|
1472
|
+
readonly type: "null";
|
|
1473
|
+
}];
|
|
1474
|
+
};
|
|
1251
1475
|
};
|
|
1252
1476
|
readonly required: readonly ["customer"];
|
|
1253
1477
|
readonly additionalProperties: false;
|
|
@@ -1923,7 +2147,7 @@ declare const publicToolContracts: {
|
|
|
1923
2147
|
readonly type: "array";
|
|
1924
2148
|
readonly items: {
|
|
1925
2149
|
readonly type: "string";
|
|
1926
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY"];
|
|
2150
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE", "CRM", "CRM_OPPORTUNITY"];
|
|
1927
2151
|
};
|
|
1928
2152
|
};
|
|
1929
2153
|
readonly factTypes: {
|
|
@@ -2080,7 +2304,7 @@ declare const publicToolContracts: {
|
|
|
2080
2304
|
readonly properties: {
|
|
2081
2305
|
readonly sourceType: {
|
|
2082
2306
|
readonly type: "string";
|
|
2083
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2307
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
|
|
2084
2308
|
};
|
|
2085
2309
|
readonly sourceId: {
|
|
2086
2310
|
readonly type: "string";
|
|
@@ -2118,7 +2342,7 @@ declare const publicToolContracts: {
|
|
|
2118
2342
|
readonly sourceType: {
|
|
2119
2343
|
readonly anyOf: readonly [{
|
|
2120
2344
|
readonly type: "string";
|
|
2121
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2345
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
|
|
2122
2346
|
}, {
|
|
2123
2347
|
readonly type: "null";
|
|
2124
2348
|
}];
|
|
@@ -2267,7 +2491,7 @@ declare const publicToolContracts: {
|
|
|
2267
2491
|
readonly sourceType: {
|
|
2268
2492
|
readonly anyOf: readonly [{
|
|
2269
2493
|
readonly type: "string";
|
|
2270
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2494
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
|
|
2271
2495
|
}, {
|
|
2272
2496
|
readonly type: "null";
|
|
2273
2497
|
}];
|
|
@@ -2451,7 +2675,7 @@ declare const publicToolContracts: {
|
|
|
2451
2675
|
readonly properties: {
|
|
2452
2676
|
readonly sourceType: {
|
|
2453
2677
|
readonly type: "string";
|
|
2454
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2678
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
|
|
2455
2679
|
};
|
|
2456
2680
|
readonly sourceId: {
|
|
2457
2681
|
readonly type: "string";
|
|
@@ -2489,7 +2713,7 @@ declare const publicToolContracts: {
|
|
|
2489
2713
|
readonly sourceType: {
|
|
2490
2714
|
readonly anyOf: readonly [{
|
|
2491
2715
|
readonly type: "string";
|
|
2492
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2716
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
|
|
2493
2717
|
}, {
|
|
2494
2718
|
readonly type: "null";
|
|
2495
2719
|
}];
|
|
@@ -2638,7 +2862,7 @@ declare const publicToolContracts: {
|
|
|
2638
2862
|
readonly sourceType: {
|
|
2639
2863
|
readonly anyOf: readonly [{
|
|
2640
2864
|
readonly type: "string";
|
|
2641
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2865
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
|
|
2642
2866
|
}, {
|
|
2643
2867
|
readonly type: "null";
|
|
2644
2868
|
}];
|
|
@@ -2689,7 +2913,7 @@ declare const publicToolContracts: {
|
|
|
2689
2913
|
readonly commandVersion: 1;
|
|
2690
2914
|
readonly ownerDomain: "customer-context";
|
|
2691
2915
|
readonly title: "Get Source";
|
|
2692
|
-
readonly description: "Get one exact source record by generic sourceType and sourceId. Use this when you already know the concrete underlying source you want to inspect.";
|
|
2916
|
+
readonly description: "Get one exact source record by generic sourceType and sourceId. Use this when you already know the concrete underlying source you want to inspect. For a Stripe invoice use sourceType INVOICE (STRIPE_INVOICE is accepted) with the Stripe invoice id (in_...): the record lists every stored line item, with amounts in the billing provider's minor units for the invoice's currency (cents for USD, EUR, GBP and CAD; other currencies follow the provider's amount rules).";
|
|
2693
2917
|
readonly annotations: {
|
|
2694
2918
|
readonly readOnlyHint: true;
|
|
2695
2919
|
readonly destructiveHint: false;
|
|
@@ -2701,7 +2925,7 @@ declare const publicToolContracts: {
|
|
|
2701
2925
|
readonly properties: {
|
|
2702
2926
|
readonly sourceType: {
|
|
2703
2927
|
readonly type: "string";
|
|
2704
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY", "EXTRACTED"];
|
|
2928
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE", "CRM", "CRM_OPPORTUNITY", "STRIPE_INVOICE", "EXTRACTED"];
|
|
2705
2929
|
};
|
|
2706
2930
|
readonly sourceId: {
|
|
2707
2931
|
readonly type: "string";
|
|
@@ -2729,7 +2953,7 @@ declare const publicToolContracts: {
|
|
|
2729
2953
|
readonly properties: {
|
|
2730
2954
|
readonly sourceType: {
|
|
2731
2955
|
readonly type: "string";
|
|
2732
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
2956
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
|
|
2733
2957
|
};
|
|
2734
2958
|
readonly sourceId: {
|
|
2735
2959
|
readonly type: "string";
|
|
@@ -2862,7 +3086,7 @@ declare const publicToolContracts: {
|
|
|
2862
3086
|
readonly properties: {
|
|
2863
3087
|
readonly sourceType: {
|
|
2864
3088
|
readonly type: "string";
|
|
2865
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
3089
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
|
|
2866
3090
|
};
|
|
2867
3091
|
readonly sourceId: {
|
|
2868
3092
|
readonly type: "string";
|
|
@@ -2960,7 +3184,7 @@ declare const publicToolContracts: {
|
|
|
2960
3184
|
readonly commandVersion: 1;
|
|
2961
3185
|
readonly ownerDomain: "customer-context";
|
|
2962
3186
|
readonly title: "List Sources";
|
|
2963
|
-
readonly description: "List concrete source records deterministically. Use this instead of semantic search when you need enumerated calls, emails, calendar events, support tickets, Slack conversations, or opportunities.";
|
|
3187
|
+
readonly description: "List concrete source records deterministically. Use this instead of semantic search when you need enumerated calls, emails, calendar events, support tickets, Slack conversations, or opportunities. Invoices are listed only when you pass sourceType INVOICE with a customer, newest first.";
|
|
2964
3188
|
readonly annotations: {
|
|
2965
3189
|
readonly readOnlyHint: true;
|
|
2966
3190
|
readonly destructiveHint: false;
|
|
@@ -2973,7 +3197,7 @@ declare const publicToolContracts: {
|
|
|
2973
3197
|
readonly sourceType: {
|
|
2974
3198
|
readonly description: "Generic source type to list.";
|
|
2975
3199
|
readonly type: "string";
|
|
2976
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY"];
|
|
3200
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE", "CRM", "CRM_OPPORTUNITY", "STRIPE_INVOICE"];
|
|
2977
3201
|
};
|
|
2978
3202
|
readonly customer: {
|
|
2979
3203
|
readonly description: "Customer ID, domain, or name to scope source listing.";
|
|
@@ -3036,7 +3260,7 @@ declare const publicToolContracts: {
|
|
|
3036
3260
|
readonly properties: {
|
|
3037
3261
|
readonly sourceType: {
|
|
3038
3262
|
readonly type: "string";
|
|
3039
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
3263
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
|
|
3040
3264
|
};
|
|
3041
3265
|
readonly sourceId: {
|
|
3042
3266
|
readonly type: "string";
|
|
@@ -3169,7 +3393,7 @@ declare const publicToolContracts: {
|
|
|
3169
3393
|
readonly properties: {
|
|
3170
3394
|
readonly sourceType: {
|
|
3171
3395
|
readonly type: "string";
|
|
3172
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
3396
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
|
|
3173
3397
|
};
|
|
3174
3398
|
readonly sourceId: {
|
|
3175
3399
|
readonly type: "string";
|
|
@@ -3338,7 +3562,7 @@ declare const publicToolContracts: {
|
|
|
3338
3562
|
readonly type: "array";
|
|
3339
3563
|
readonly items: {
|
|
3340
3564
|
readonly type: "string";
|
|
3341
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY"];
|
|
3565
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE", "CRM", "CRM_OPPORTUNITY"];
|
|
3342
3566
|
};
|
|
3343
3567
|
};
|
|
3344
3568
|
};
|
|
@@ -3525,7 +3749,7 @@ declare const publicToolContracts: {
|
|
|
3525
3749
|
readonly properties: {
|
|
3526
3750
|
readonly sourceType: {
|
|
3527
3751
|
readonly type: "string";
|
|
3528
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
3752
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
|
|
3529
3753
|
};
|
|
3530
3754
|
readonly sourceId: {
|
|
3531
3755
|
readonly type: "string";
|
|
@@ -3563,7 +3787,7 @@ declare const publicToolContracts: {
|
|
|
3563
3787
|
readonly sourceType: {
|
|
3564
3788
|
readonly anyOf: readonly [{
|
|
3565
3789
|
readonly type: "string";
|
|
3566
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
3790
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
|
|
3567
3791
|
}, {
|
|
3568
3792
|
readonly type: "null";
|
|
3569
3793
|
}];
|
|
@@ -3712,7 +3936,7 @@ declare const publicToolContracts: {
|
|
|
3712
3936
|
readonly sourceType: {
|
|
3713
3937
|
readonly anyOf: readonly [{
|
|
3714
3938
|
readonly type: "string";
|
|
3715
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
3939
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
|
|
3716
3940
|
}, {
|
|
3717
3941
|
readonly type: "null";
|
|
3718
3942
|
}];
|
|
@@ -3771,7 +3995,7 @@ declare const publicToolContracts: {
|
|
|
3771
3995
|
};
|
|
3772
3996
|
readonly sourceType: {
|
|
3773
3997
|
readonly type: "string";
|
|
3774
|
-
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
3998
|
+
readonly enum: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
|
|
3775
3999
|
};
|
|
3776
4000
|
readonly sourceId: {
|
|
3777
4001
|
readonly type: "string";
|
|
@@ -3893,7 +4117,7 @@ declare const publicToolContracts: {
|
|
|
3893
4117
|
readonly commandVersion: 1;
|
|
3894
4118
|
readonly ownerDomain: "analytics";
|
|
3895
4119
|
readonly title: "Run SQL Query";
|
|
3896
|
-
readonly description: "Execute read-only SQL queries against your analytics views.\n\nAvailable views:\n- activity: Customer activity events (event_name, event_type, event_channel, customer_id, occurred_at, properties, ...)\n- customers: Customer attributes (customer_id, domain, name, billing_status, plan,
|
|
4120
|
+
readonly description: "Execute read-only SQL queries against your analytics views.\n\nAvailable views:\n- activity: Customer activity events (event_name, event_type, event_channel, customer_id, occurred_at, properties, ...)\n- customers: Customer attributes (customer_id, domain, name, billing_status, plan, arr_cents (the revenue number: annualized, in arr_currency's units), arr_currency, traits, ...; mrr_cents and mrr_status are deprecated, use arr_cents)\n- users: User attributes (user_id, email, name, customer_id, traits, ...)\n- revenue: Revenue snapshots over time (customer_id, snapshot_date, mrr_cents, ...)\n\nAll queries are automatically filtered to your organization's data.\nOnly SELECT queries are allowed.\nProperties and traits are JSON strings; inspect schemas and examples before filtering nested values.\n\nExample queries:\n- SELECT event_name, count(*) FROM activity GROUP BY 1 ORDER BY 2 DESC LIMIT 10\n- SELECT billing_status, sum(arr_cents)/100 AS arr FROM customers WHERE arr_currency = 'USD' GROUP BY 1\n- SELECT * FROM activity WHERE customer_id = 'cust_123' ORDER BY occurred_at DESC LIMIT 50";
|
|
3897
4121
|
readonly annotations: {
|
|
3898
4122
|
readonly readOnlyHint: true;
|
|
3899
4123
|
readonly destructiveHint: false;
|
|
@@ -6188,7 +6412,7 @@ declare const publicToolContracts: {
|
|
|
6188
6412
|
readonly commandVersion: 1;
|
|
6189
6413
|
readonly ownerDomain: "integrations";
|
|
6190
6414
|
readonly title: "Set Up Integration";
|
|
6191
|
-
readonly description: "Continue integration setup through validated credentials, safe configuration, or a trusted browser handoff.";
|
|
6415
|
+
readonly description: "Continue integration setup through validated credentials, safe configuration, or a trusted browser handoff. For a connected Stripe account, an optional stripe_renewal_date_field step names the subscription metadata key that holds renewal dates.";
|
|
6192
6416
|
readonly annotations: {
|
|
6193
6417
|
readonly readOnlyHint: false;
|
|
6194
6418
|
readonly destructiveHint: false;
|
|
@@ -6291,6 +6515,26 @@ declare const publicToolContracts: {
|
|
|
6291
6515
|
readonly type: "string";
|
|
6292
6516
|
readonly const: "oauth";
|
|
6293
6517
|
};
|
|
6518
|
+
readonly configuration: {
|
|
6519
|
+
readonly type: "object";
|
|
6520
|
+
readonly properties: {
|
|
6521
|
+
readonly kind: {
|
|
6522
|
+
readonly type: "string";
|
|
6523
|
+
readonly const: "stripe_renewal_date_field";
|
|
6524
|
+
};
|
|
6525
|
+
readonly key: {
|
|
6526
|
+
readonly anyOf: readonly [{
|
|
6527
|
+
readonly type: "string";
|
|
6528
|
+
readonly minLength: 1;
|
|
6529
|
+
readonly maxLength: 40;
|
|
6530
|
+
}, {
|
|
6531
|
+
readonly type: "null";
|
|
6532
|
+
}];
|
|
6533
|
+
};
|
|
6534
|
+
};
|
|
6535
|
+
readonly required: readonly ["kind", "key"];
|
|
6536
|
+
readonly additionalProperties: false;
|
|
6537
|
+
};
|
|
6294
6538
|
};
|
|
6295
6539
|
readonly required: readonly ["provider"];
|
|
6296
6540
|
readonly additionalProperties: false;
|
|
@@ -6317,6 +6561,26 @@ declare const publicToolContracts: {
|
|
|
6317
6561
|
readonly required: readonly ["apiKey"];
|
|
6318
6562
|
readonly additionalProperties: false;
|
|
6319
6563
|
};
|
|
6564
|
+
readonly configuration: {
|
|
6565
|
+
readonly type: "object";
|
|
6566
|
+
readonly properties: {
|
|
6567
|
+
readonly kind: {
|
|
6568
|
+
readonly type: "string";
|
|
6569
|
+
readonly const: "stripe_renewal_date_field";
|
|
6570
|
+
};
|
|
6571
|
+
readonly key: {
|
|
6572
|
+
readonly anyOf: readonly [{
|
|
6573
|
+
readonly type: "string";
|
|
6574
|
+
readonly minLength: 1;
|
|
6575
|
+
readonly maxLength: 40;
|
|
6576
|
+
}, {
|
|
6577
|
+
readonly type: "null";
|
|
6578
|
+
}];
|
|
6579
|
+
};
|
|
6580
|
+
};
|
|
6581
|
+
readonly required: readonly ["kind", "key"];
|
|
6582
|
+
readonly additionalProperties: false;
|
|
6583
|
+
};
|
|
6320
6584
|
};
|
|
6321
6585
|
readonly required: readonly ["provider", "connectionMode"];
|
|
6322
6586
|
readonly additionalProperties: false;
|
|
@@ -6832,6 +7096,53 @@ declare const publicToolContracts: {
|
|
|
6832
7096
|
};
|
|
6833
7097
|
readonly required: readonly ["kind", "preview"];
|
|
6834
7098
|
readonly additionalProperties: false;
|
|
7099
|
+
}, {
|
|
7100
|
+
readonly type: "object";
|
|
7101
|
+
readonly properties: {
|
|
7102
|
+
readonly kind: {
|
|
7103
|
+
readonly type: "string";
|
|
7104
|
+
readonly const: "stripe_renewal_date_field";
|
|
7105
|
+
};
|
|
7106
|
+
readonly selectedKey: {
|
|
7107
|
+
readonly anyOf: readonly [{
|
|
7108
|
+
readonly type: "string";
|
|
7109
|
+
}, {
|
|
7110
|
+
readonly type: "null";
|
|
7111
|
+
}];
|
|
7112
|
+
};
|
|
7113
|
+
readonly liveSubscriptionCount: {
|
|
7114
|
+
readonly type: "integer";
|
|
7115
|
+
readonly minimum: 0;
|
|
7116
|
+
readonly maximum: 9007199254740991;
|
|
7117
|
+
};
|
|
7118
|
+
readonly keys: {
|
|
7119
|
+
readonly type: "array";
|
|
7120
|
+
readonly items: {
|
|
7121
|
+
readonly type: "object";
|
|
7122
|
+
readonly properties: {
|
|
7123
|
+
readonly key: {
|
|
7124
|
+
readonly type: "string";
|
|
7125
|
+
};
|
|
7126
|
+
readonly subscriptionCount: {
|
|
7127
|
+
readonly type: "integer";
|
|
7128
|
+
readonly minimum: 0;
|
|
7129
|
+
readonly maximum: 9007199254740991;
|
|
7130
|
+
};
|
|
7131
|
+
readonly sampleDate: {
|
|
7132
|
+
readonly anyOf: readonly [{
|
|
7133
|
+
readonly type: "string";
|
|
7134
|
+
}, {
|
|
7135
|
+
readonly type: "null";
|
|
7136
|
+
}];
|
|
7137
|
+
};
|
|
7138
|
+
};
|
|
7139
|
+
readonly required: readonly ["key", "subscriptionCount", "sampleDate"];
|
|
7140
|
+
readonly additionalProperties: false;
|
|
7141
|
+
};
|
|
7142
|
+
};
|
|
7143
|
+
};
|
|
7144
|
+
readonly required: readonly ["kind", "selectedKey", "liveSubscriptionCount", "keys"];
|
|
7145
|
+
readonly additionalProperties: false;
|
|
6835
7146
|
}];
|
|
6836
7147
|
}, {
|
|
6837
7148
|
readonly type: "null";
|
|
@@ -13000,15 +13311,15 @@ declare const customerFactIncludes: readonly ["evidence"];
|
|
|
13000
13311
|
declare const customerFactTypes: readonly ["CUSTOM", "COMPANY_CHANGE", "FUNDING_REVENUE", "TECHNOLOGY", "STRATEGY", "COMPETITIVE", "SENTIMENT", "EXPANSION", "CHURN_RISK", "TIMELINE", "BUDGET", "DECISION_MAKER", "REQUIREMENTS", "BLOCKER", "COMMITMENT", "SUCCESS_CRITERION", "PRODUCT_USAGE", "CONTACT_INFO", "CONTACT_PREFERENCE", "CONTACT_DEPARTURE", "CONTACT_POSITION_CHANGE", "CONTACT_DISENGAGEMENT", "CHAMPION_RISK"];
|
|
13001
13312
|
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"];
|
|
13002
13313
|
declare const customerFactCategories: readonly ["MEMORY", "RELATIONSHIP", "CUSTOM"];
|
|
13003
|
-
declare const customerListOrderFields: readonly ["last_activity_at", "first_seen_at", "name", "
|
|
13004
|
-
declare const customerIncludeSections: readonly ["users", "revenue", "recentTimeline", "behaviorMetrics", "enrichment"];
|
|
13005
|
-
declare const customerSourceTypes: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE"];
|
|
13314
|
+
declare const customerListOrderFields: readonly ["last_activity_at", "first_seen_at", "name", "arr_cents"];
|
|
13315
|
+
declare const customerIncludeSections: readonly ["users", "revenue", "recentTimeline", "behaviorMetrics", "enrichment", "renewal", "crm"];
|
|
13316
|
+
declare const customerSourceTypes: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE"];
|
|
13006
13317
|
declare const customerSourceTypeAliasMap: {
|
|
13007
13318
|
readonly CRM: "OPPORTUNITY";
|
|
13008
13319
|
readonly CRM_OPPORTUNITY: "OPPORTUNITY";
|
|
13009
13320
|
};
|
|
13010
13321
|
declare const customerSourceTypeAliases: readonly ["CRM", "CRM_OPPORTUNITY"];
|
|
13011
|
-
declare const customerSourceTypeInputs: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "CRM", "CRM_OPPORTUNITY"];
|
|
13322
|
+
declare const customerSourceTypeInputs: readonly ["EMAIL", "CALL", "CALENDAR_EVENT", "SUPPORT_TICKET", "OPPORTUNITY", "SLACK", "PERSON_PROFILE", "INVOICE", "CRM", "CRM_OPPORTUNITY"];
|
|
13012
13323
|
declare const customerTimeframes: readonly ["7d", "14d", "30d", "90d"];
|
|
13013
13324
|
declare const timelineChannels: readonly ["PRODUCT", "COMMUNICATION", "MEETING", "CRM", "BILLING", "SUPPORT", "IDENTITY", "DOCUMENT", "SYSTEM"];
|
|
13014
13325
|
declare const timelineTimeframes: readonly ["7d", "14d", "30d", "90d", "all"];
|
|
@@ -13016,7 +13327,7 @@ declare const userJourneyStages: readonly ["DISCOVERED", "SIGNED_UP", "ACTIVATED
|
|
|
13016
13327
|
declare const userListOrderFields: readonly ["last_activity_at", "first_seen_at", "email"];
|
|
13017
13328
|
declare const workspaceUserListOrderFields: readonly ["name", "email", "owned_customer_count"];
|
|
13018
13329
|
declare const schemaTables: readonly ["activity", "customers", "users", "revenue"];
|
|
13019
|
-
declare const sdkConsumerContractHash: "
|
|
13330
|
+
declare const sdkConsumerContractHash: "b77a1b10fd174c041e1ae2c6fa7dfec1b049dc32053dd4e5ccb9a86123311ff8";
|
|
13020
13331
|
|
|
13021
13332
|
type JsonSchema = Readonly<Record<string, unknown>>;
|
|
13022
13333
|
type PublicToolName = (typeof publicToolNames)[number];
|
|
@@ -13026,6 +13337,8 @@ type CustomerSourceTypeInput = (typeof customerSourceTypeInputs)[number];
|
|
|
13026
13337
|
declare function isPublicToolName(value: string): value is PublicToolName;
|
|
13027
13338
|
declare function getPublicToolContract<TName extends PublicToolName>(name: TName): (typeof publicToolContracts)[TName];
|
|
13028
13339
|
declare function normalizeCustomerSourceType(value: string): CustomerSourceType | null;
|
|
13340
|
+
/** The canonical type a source tool's sourceType input names, including its input-only aliases. */
|
|
13341
|
+
declare function normalizeCustomerSourceToolInput(value: string): CustomerSourceType | null;
|
|
13029
13342
|
type SearchArgsLike = {
|
|
13030
13343
|
query?: string;
|
|
13031
13344
|
customer?: string | null;
|
|
@@ -13178,4 +13491,4 @@ type CliToolName = (typeof cliToolNames)[number];
|
|
|
13178
13491
|
type PiToolName = (typeof piToolNames)[number];
|
|
13179
13492
|
declare const sqlToolNames: ("outlit_list_customers" | "outlit_list_users" | "outlit_get_customer" | "outlit_get_timeline" | "outlit_list_facts" | "outlit_get_fact" | "outlit_get_source" | "outlit_list_sources" | "outlit_search_customer_context" | "outlit_query" | "outlit_schema")[];
|
|
13180
13493
|
|
|
13181
|
-
export { type ApiKeyValidationFailure, type ApiKeyValidationSuccess, type ApiKeyValidationSuccessV2, type AttentionItem, type AttentionItemResult, type AttentionItemSummary, type AttentionListResult, type CliToolName, type CustomerAnalyticsRow, type CustomerContextSearchInput, type CustomerCredit, type CustomerCreditsResult, type CustomerDetail, type CustomerDetailResult, type CustomerFeature, type CustomerFeaturesResult, type CustomerListItem, type CustomerListResult, type CustomerRelationship, type CustomerRelationshipResult, type CustomerSourceType, type CustomerSourceTypeInput, DEFAULT_OUTLIT_API_URL, type Feature, type FeatureArchiveResult, type FeatureCreateResult, type FeatureDefinition, type FeatureListResult, type FeatureRef, type FeedbackSubmitResult, type JsonSchema, type JsonSchemaValue, OutlitToolsApiError, type OutlitToolsClient, type OutlitToolsClientOptions, type OutlitToolsFetch, type PiToolName, type PublicToolContract, type PublicToolName, type PublicToolResult, type RuntimeJsonSchema, type SearchArgsLike, type ToolGatewayErrorCode, type ToolGatewayErrorEnvelope, allPublicToolNames, analyticalToolNames, apiKeyContractHeader, apiKeyGrants, apiKeyValidationFailureSchema, apiKeyValidationSuccessSchema, apiKeyValidationSuccessSchemaV2, apiKeyValidationTransport, cliToolNames, consumerToolPolicies, contractVersion, createOutlitClient, customerActivityWindows, customerBillingStatuses, customerFactCategories, customerFactIncludes, customerFactStatuses, customerFactTypes, customerIncludeSections, customerListOrderFields, customerSourceTypeAliasMap, customerSourceTypeAliases, customerSourceTypeInputs, customerSourceTypes, customerTimeframes, defaultToolNames, getPublicToolContract, ingestTransport, isOutlitToolsApiError, isPublicToolName, matchesGeneratedJsonSchema, normalizeCustomerSourceType, piToolNames, publicOpenApiTransports, publicToolContracts, publicToolNames, resolveCustomerContextSearchInput, schemaTables, sdkConsumerContractHash, sqlToolNames, timelineChannels, timelineTimeframes, toolGatewayErrorCodes, toolGatewayErrorSchema, toolGatewayTransport, unsupportedCustomerFactTypes, userJourneyStages, userListOrderFields, workspaceUserListOrderFields };
|
|
13494
|
+
export { type ApiKeyValidationFailure, type ApiKeyValidationSuccess, type ApiKeyValidationSuccessV2, type AttentionItem, type AttentionItemResult, type AttentionItemSummary, type AttentionListResult, type CliToolName, type CustomerAnalyticsRow, type CustomerContextSearchInput, type CustomerCredit, type CustomerCreditsResult, type CustomerDetail, type CustomerDetailResult, type CustomerFeature, type CustomerFeaturesResult, type CustomerListItem, type CustomerListResult, type CustomerRelationship, type CustomerRelationshipResult, type CustomerSourceType, type CustomerSourceTypeInput, DEFAULT_OUTLIT_API_URL, type Feature, type FeatureArchiveResult, type FeatureCreateResult, type FeatureDefinition, type FeatureListResult, type FeatureRef, type FeedbackSubmitResult, type JsonSchema, type JsonSchemaValue, OutlitToolsApiError, type OutlitToolsClient, type OutlitToolsClientOptions, type OutlitToolsFetch, type PiToolName, type PublicToolContract, type PublicToolName, type PublicToolResult, type RuntimeJsonSchema, type SearchArgsLike, type ToolGatewayErrorCode, type ToolGatewayErrorEnvelope, allPublicToolNames, analyticalToolNames, apiKeyContractHeader, apiKeyGrants, apiKeyValidationFailureSchema, apiKeyValidationSuccessSchema, apiKeyValidationSuccessSchemaV2, apiKeyValidationTransport, cliToolNames, consumerToolPolicies, contractVersion, createOutlitClient, customerActivityWindows, customerBillingStatuses, customerFactCategories, customerFactIncludes, customerFactStatuses, customerFactTypes, customerIncludeSections, customerListOrderFields, customerSourceTypeAliasMap, customerSourceTypeAliases, customerSourceTypeInputs, customerSourceTypes, customerTimeframes, defaultToolNames, getPublicToolContract, ingestTransport, isOutlitToolsApiError, isPublicToolName, matchesGeneratedJsonSchema, normalizeCustomerSourceToolInput, normalizeCustomerSourceType, piToolNames, publicOpenApiTransports, publicToolContracts, publicToolNames, resolveCustomerContextSearchInput, schemaTables, sdkConsumerContractHash, sqlToolNames, timelineChannels, timelineTimeframes, toolGatewayErrorCodes, toolGatewayErrorSchema, toolGatewayTransport, unsupportedCustomerFactTypes, userJourneyStages, userListOrderFields, workspaceUserListOrderFields };
|