@outlit/tools 2.2.4 → 2.2.6

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 CHANGED
@@ -462,7 +462,7 @@ var publicToolContracts = {
462
462
  "commandVersion": 1,
463
463
  "ownerDomain": "users",
464
464
  "title": "List Users",
465
- "description": "Browse and filter users. Use this to find users by journey stage, activity recency, customer, or email/name. Returns a paginated list with activity info.",
465
+ "description": "Browse and filter users. Use this to find users by journey stage, activity recency, customer, or email/name. Returns a paginated list with activity info and each user's sources: where Outlit found them (CRM, support tool, product analytics, Slack) and the calls, meetings, emails, tickets and Slack threads they took part in.",
466
466
  "annotations": {
467
467
  "readOnlyHint": true,
468
468
  "destructiveHint": false
@@ -643,6 +643,77 @@ var publicToolContracts = {
643
643
  }
644
644
  ]
645
645
  },
646
+ "sources": {
647
+ "type": "array",
648
+ "items": {
649
+ "type": "object",
650
+ "properties": {
651
+ "system": {
652
+ "type": "string",
653
+ "description": "Lowercase id of the system, such as hubspot, salesforce, attio, pylon, posthog, slack, stripe, google-mail, google-calendar, ergo, fireflies, gong, mixpanel, outlit (the Outlit SDK) or product-analytics (a product-analytics provider Outlit did not record)."
654
+ },
655
+ "kind": {
656
+ "type": "string",
657
+ "enum": [
658
+ "contact",
659
+ "product_user",
660
+ "chat_member",
661
+ "billing_customer",
662
+ "call",
663
+ "meeting",
664
+ "email",
665
+ "support_ticket",
666
+ "slack_thread"
667
+ ],
668
+ "description": "Records: contact (a contact in a CRM or support tool), product_user (a user in product analytics or product sign-in), chat_member (a Slack member), billing_customer. Conversations the person took part in: call, meeting, email, support_ticket, slack_thread."
669
+ },
670
+ "count": {
671
+ "anyOf": [
672
+ {
673
+ "type": "integer",
674
+ "minimum": 1,
675
+ "maximum": 9007199254740991
676
+ },
677
+ {
678
+ "type": "null"
679
+ }
680
+ ],
681
+ "description": "How many conversations of this kind; null for records."
682
+ },
683
+ "firstSeenAt": {
684
+ "anyOf": [
685
+ {
686
+ "type": "string"
687
+ },
688
+ {
689
+ "type": "null"
690
+ }
691
+ ],
692
+ "description": "When the record was created in the system (or first linked to this person), or the first conversation."
693
+ },
694
+ "lastSeenAt": {
695
+ "anyOf": [
696
+ {
697
+ "type": "string"
698
+ },
699
+ {
700
+ "type": "null"
701
+ }
702
+ ],
703
+ "description": "The latest conversation; null for records."
704
+ }
705
+ },
706
+ "required": [
707
+ "system",
708
+ "kind",
709
+ "count",
710
+ "firstSeenAt",
711
+ "lastSeenAt"
712
+ ],
713
+ "additionalProperties": false
714
+ },
715
+ "description": "Where Outlit found this person: the systems that hold a record of them and the conversations they took part in. Empty when Outlit has no source recorded; absent from servers that predate it."
716
+ },
646
717
  "relationshipRole": {
647
718
  "anyOf": [
648
719
  {
@@ -937,7 +1008,7 @@ var publicToolContracts = {
937
1008
  "commandVersion": 1,
938
1009
  "ownerDomain": "customers",
939
1010
  "title": "Get Customer",
940
- "description": "Get full details for a single customer. Optionally include users, revenue, recent activity, engagement metrics, or company enrichment. Revenue amounts (currentMrr, lifetimeRevenue) are in the billing provider's units for the customer's currency, which the result doesn't name. 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. ARR is 12 \xD7 currentMrr in the same units.",
1011
+ "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, or company enrichment. Revenue amounts (currentMrr, lifetimeRevenue) are in the billing provider's units for the customer's currency, which the result doesn't name. 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. ARR is 12 \xD7 currentMrr in the same units.",
941
1012
  "annotations": {
942
1013
  "readOnlyHint": true,
943
1014
  "destructiveHint": false
@@ -1140,6 +1211,77 @@ var publicToolContracts = {
1140
1211
  }
1141
1212
  ]
1142
1213
  },
1214
+ "sources": {
1215
+ "type": "array",
1216
+ "items": {
1217
+ "type": "object",
1218
+ "properties": {
1219
+ "system": {
1220
+ "type": "string",
1221
+ "description": "Lowercase id of the system, such as hubspot, salesforce, attio, pylon, posthog, slack, stripe, google-mail, google-calendar, ergo, fireflies, gong, mixpanel, outlit (the Outlit SDK) or product-analytics (a product-analytics provider Outlit did not record)."
1222
+ },
1223
+ "kind": {
1224
+ "type": "string",
1225
+ "enum": [
1226
+ "contact",
1227
+ "product_user",
1228
+ "chat_member",
1229
+ "billing_customer",
1230
+ "call",
1231
+ "meeting",
1232
+ "email",
1233
+ "support_ticket",
1234
+ "slack_thread"
1235
+ ],
1236
+ "description": "Records: contact (a contact in a CRM or support tool), product_user (a user in product analytics or product sign-in), chat_member (a Slack member), billing_customer. Conversations the person took part in: call, meeting, email, support_ticket, slack_thread."
1237
+ },
1238
+ "count": {
1239
+ "anyOf": [
1240
+ {
1241
+ "type": "integer",
1242
+ "minimum": 1,
1243
+ "maximum": 9007199254740991
1244
+ },
1245
+ {
1246
+ "type": "null"
1247
+ }
1248
+ ],
1249
+ "description": "How many conversations of this kind; null for records."
1250
+ },
1251
+ "firstSeenAt": {
1252
+ "anyOf": [
1253
+ {
1254
+ "type": "string"
1255
+ },
1256
+ {
1257
+ "type": "null"
1258
+ }
1259
+ ],
1260
+ "description": "When the record was created in the system (or first linked to this person), or the first conversation."
1261
+ },
1262
+ "lastSeenAt": {
1263
+ "anyOf": [
1264
+ {
1265
+ "type": "string"
1266
+ },
1267
+ {
1268
+ "type": "null"
1269
+ }
1270
+ ],
1271
+ "description": "The latest conversation; null for records."
1272
+ }
1273
+ },
1274
+ "required": [
1275
+ "system",
1276
+ "kind",
1277
+ "count",
1278
+ "firstSeenAt",
1279
+ "lastSeenAt"
1280
+ ],
1281
+ "additionalProperties": false
1282
+ },
1283
+ "description": "Where Outlit found this person: the systems that hold a record of them and the conversations they took part in. Empty when Outlit has no source recorded; absent from servers that predate it."
1284
+ },
1143
1285
  "relationshipRole": {
1144
1286
  "anyOf": [
1145
1287
  {
@@ -8446,6 +8588,8 @@ var publicToolContracts = {
8446
8588
  "gong",
8447
8589
  "fireflies",
8448
8590
  "ergo",
8591
+ "circleback",
8592
+ "pocket",
8449
8593
  "pylon",
8450
8594
  "stripe",
8451
8595
  "mixpanel",
@@ -8763,6 +8907,58 @@ var publicToolContracts = {
8763
8907
  ],
8764
8908
  "additionalProperties": false
8765
8909
  },
8910
+ {
8911
+ "type": "object",
8912
+ "properties": {
8913
+ "provider": {
8914
+ "type": "string",
8915
+ "const": "circleback"
8916
+ },
8917
+ "credentials": {
8918
+ "type": "object",
8919
+ "properties": {
8920
+ "apiKey": {
8921
+ "type": "string",
8922
+ "minLength": 1
8923
+ }
8924
+ },
8925
+ "required": [
8926
+ "apiKey"
8927
+ ],
8928
+ "additionalProperties": false
8929
+ }
8930
+ },
8931
+ "required": [
8932
+ "provider"
8933
+ ],
8934
+ "additionalProperties": false
8935
+ },
8936
+ {
8937
+ "type": "object",
8938
+ "properties": {
8939
+ "provider": {
8940
+ "type": "string",
8941
+ "const": "pocket"
8942
+ },
8943
+ "credentials": {
8944
+ "type": "object",
8945
+ "properties": {
8946
+ "apiKey": {
8947
+ "type": "string",
8948
+ "minLength": 1
8949
+ }
8950
+ },
8951
+ "required": [
8952
+ "apiKey"
8953
+ ],
8954
+ "additionalProperties": false
8955
+ }
8956
+ },
8957
+ "required": [
8958
+ "provider"
8959
+ ],
8960
+ "additionalProperties": false
8961
+ },
8766
8962
  {
8767
8963
  "type": "object",
8768
8964
  "properties": {
@@ -9035,6 +9231,8 @@ var publicToolContracts = {
9035
9231
  "gong",
9036
9232
  "fireflies",
9037
9233
  "ergo",
9234
+ "circleback",
9235
+ "pocket",
9038
9236
  "pylon",
9039
9237
  "stripe",
9040
9238
  "mixpanel",
@@ -17398,7 +17596,7 @@ var schemaTables = [
17398
17596
  "users",
17399
17597
  "revenue"
17400
17598
  ];
17401
- var sdkConsumerContractHash = "0bb35218a281339fd1668fe7e7b22eadde7abddc9dfd957d3d72aa8db0a1365a";
17599
+ var sdkConsumerContractHash = "89c1bc1604b88acbc86ec105e1bcf8d58355bd61ee951563e3f77765f891482a";
17402
17600
 
17403
17601
  // src/contracts.ts
17404
17602
  var publicToolNameSet = new Set(publicToolNames);