@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.js CHANGED
@@ -386,7 +386,7 @@ var publicToolContracts = {
386
386
  "commandVersion": 1,
387
387
  "ownerDomain": "users",
388
388
  "title": "List Users",
389
- "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.",
389
+ "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.",
390
390
  "annotations": {
391
391
  "readOnlyHint": true,
392
392
  "destructiveHint": false
@@ -567,6 +567,77 @@ var publicToolContracts = {
567
567
  }
568
568
  ]
569
569
  },
570
+ "sources": {
571
+ "type": "array",
572
+ "items": {
573
+ "type": "object",
574
+ "properties": {
575
+ "system": {
576
+ "type": "string",
577
+ "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)."
578
+ },
579
+ "kind": {
580
+ "type": "string",
581
+ "enum": [
582
+ "contact",
583
+ "product_user",
584
+ "chat_member",
585
+ "billing_customer",
586
+ "call",
587
+ "meeting",
588
+ "email",
589
+ "support_ticket",
590
+ "slack_thread"
591
+ ],
592
+ "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."
593
+ },
594
+ "count": {
595
+ "anyOf": [
596
+ {
597
+ "type": "integer",
598
+ "minimum": 1,
599
+ "maximum": 9007199254740991
600
+ },
601
+ {
602
+ "type": "null"
603
+ }
604
+ ],
605
+ "description": "How many conversations of this kind; null for records."
606
+ },
607
+ "firstSeenAt": {
608
+ "anyOf": [
609
+ {
610
+ "type": "string"
611
+ },
612
+ {
613
+ "type": "null"
614
+ }
615
+ ],
616
+ "description": "When the record was created in the system (or first linked to this person), or the first conversation."
617
+ },
618
+ "lastSeenAt": {
619
+ "anyOf": [
620
+ {
621
+ "type": "string"
622
+ },
623
+ {
624
+ "type": "null"
625
+ }
626
+ ],
627
+ "description": "The latest conversation; null for records."
628
+ }
629
+ },
630
+ "required": [
631
+ "system",
632
+ "kind",
633
+ "count",
634
+ "firstSeenAt",
635
+ "lastSeenAt"
636
+ ],
637
+ "additionalProperties": false
638
+ },
639
+ "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."
640
+ },
570
641
  "relationshipRole": {
571
642
  "anyOf": [
572
643
  {
@@ -861,7 +932,7 @@ var publicToolContracts = {
861
932
  "commandVersion": 1,
862
933
  "ownerDomain": "customers",
863
934
  "title": "Get Customer",
864
- "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.",
935
+ "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.",
865
936
  "annotations": {
866
937
  "readOnlyHint": true,
867
938
  "destructiveHint": false
@@ -1064,6 +1135,77 @@ var publicToolContracts = {
1064
1135
  }
1065
1136
  ]
1066
1137
  },
1138
+ "sources": {
1139
+ "type": "array",
1140
+ "items": {
1141
+ "type": "object",
1142
+ "properties": {
1143
+ "system": {
1144
+ "type": "string",
1145
+ "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)."
1146
+ },
1147
+ "kind": {
1148
+ "type": "string",
1149
+ "enum": [
1150
+ "contact",
1151
+ "product_user",
1152
+ "chat_member",
1153
+ "billing_customer",
1154
+ "call",
1155
+ "meeting",
1156
+ "email",
1157
+ "support_ticket",
1158
+ "slack_thread"
1159
+ ],
1160
+ "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."
1161
+ },
1162
+ "count": {
1163
+ "anyOf": [
1164
+ {
1165
+ "type": "integer",
1166
+ "minimum": 1,
1167
+ "maximum": 9007199254740991
1168
+ },
1169
+ {
1170
+ "type": "null"
1171
+ }
1172
+ ],
1173
+ "description": "How many conversations of this kind; null for records."
1174
+ },
1175
+ "firstSeenAt": {
1176
+ "anyOf": [
1177
+ {
1178
+ "type": "string"
1179
+ },
1180
+ {
1181
+ "type": "null"
1182
+ }
1183
+ ],
1184
+ "description": "When the record was created in the system (or first linked to this person), or the first conversation."
1185
+ },
1186
+ "lastSeenAt": {
1187
+ "anyOf": [
1188
+ {
1189
+ "type": "string"
1190
+ },
1191
+ {
1192
+ "type": "null"
1193
+ }
1194
+ ],
1195
+ "description": "The latest conversation; null for records."
1196
+ }
1197
+ },
1198
+ "required": [
1199
+ "system",
1200
+ "kind",
1201
+ "count",
1202
+ "firstSeenAt",
1203
+ "lastSeenAt"
1204
+ ],
1205
+ "additionalProperties": false
1206
+ },
1207
+ "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."
1208
+ },
1067
1209
  "relationshipRole": {
1068
1210
  "anyOf": [
1069
1211
  {
@@ -8370,6 +8512,8 @@ var publicToolContracts = {
8370
8512
  "gong",
8371
8513
  "fireflies",
8372
8514
  "ergo",
8515
+ "circleback",
8516
+ "pocket",
8373
8517
  "pylon",
8374
8518
  "stripe",
8375
8519
  "mixpanel",
@@ -8687,6 +8831,58 @@ var publicToolContracts = {
8687
8831
  ],
8688
8832
  "additionalProperties": false
8689
8833
  },
8834
+ {
8835
+ "type": "object",
8836
+ "properties": {
8837
+ "provider": {
8838
+ "type": "string",
8839
+ "const": "circleback"
8840
+ },
8841
+ "credentials": {
8842
+ "type": "object",
8843
+ "properties": {
8844
+ "apiKey": {
8845
+ "type": "string",
8846
+ "minLength": 1
8847
+ }
8848
+ },
8849
+ "required": [
8850
+ "apiKey"
8851
+ ],
8852
+ "additionalProperties": false
8853
+ }
8854
+ },
8855
+ "required": [
8856
+ "provider"
8857
+ ],
8858
+ "additionalProperties": false
8859
+ },
8860
+ {
8861
+ "type": "object",
8862
+ "properties": {
8863
+ "provider": {
8864
+ "type": "string",
8865
+ "const": "pocket"
8866
+ },
8867
+ "credentials": {
8868
+ "type": "object",
8869
+ "properties": {
8870
+ "apiKey": {
8871
+ "type": "string",
8872
+ "minLength": 1
8873
+ }
8874
+ },
8875
+ "required": [
8876
+ "apiKey"
8877
+ ],
8878
+ "additionalProperties": false
8879
+ }
8880
+ },
8881
+ "required": [
8882
+ "provider"
8883
+ ],
8884
+ "additionalProperties": false
8885
+ },
8690
8886
  {
8691
8887
  "type": "object",
8692
8888
  "properties": {
@@ -8959,6 +9155,8 @@ var publicToolContracts = {
8959
9155
  "gong",
8960
9156
  "fireflies",
8961
9157
  "ergo",
9158
+ "circleback",
9159
+ "pocket",
8962
9160
  "pylon",
8963
9161
  "stripe",
8964
9162
  "mixpanel",
@@ -17322,7 +17520,7 @@ var schemaTables = [
17322
17520
  "users",
17323
17521
  "revenue"
17324
17522
  ];
17325
- var sdkConsumerContractHash = "0bb35218a281339fd1668fe7e7b22eadde7abddc9dfd957d3d72aa8db0a1365a";
17523
+ var sdkConsumerContractHash = "89c1bc1604b88acbc86ec105e1bcf8d58355bd61ee951563e3f77765f891482a";
17326
17524
 
17327
17525
  // src/contracts.ts
17328
17526
  var publicToolNameSet = new Set(publicToolNames);