@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.d.cts CHANGED
@@ -244,7 +244,7 @@ declare const publicToolContracts: {
244
244
  readonly commandVersion: 1;
245
245
  readonly ownerDomain: "users";
246
246
  readonly title: "List Users";
247
- readonly 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.";
247
+ readonly 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.";
248
248
  readonly annotations: {
249
249
  readonly readOnlyHint: true;
250
250
  readonly destructiveHint: false;
@@ -384,6 +384,52 @@ declare const publicToolContracts: {
384
384
  readonly type: "null";
385
385
  }];
386
386
  };
387
+ readonly sources: {
388
+ readonly type: "array";
389
+ readonly items: {
390
+ readonly type: "object";
391
+ readonly properties: {
392
+ readonly system: {
393
+ readonly type: "string";
394
+ readonly 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).";
395
+ };
396
+ readonly kind: {
397
+ readonly type: "string";
398
+ readonly enum: readonly ["contact", "product_user", "chat_member", "billing_customer", "call", "meeting", "email", "support_ticket", "slack_thread"];
399
+ readonly 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.";
400
+ };
401
+ readonly count: {
402
+ readonly anyOf: readonly [{
403
+ readonly type: "integer";
404
+ readonly minimum: 1;
405
+ readonly maximum: 9007199254740991;
406
+ }, {
407
+ readonly type: "null";
408
+ }];
409
+ readonly description: "How many conversations of this kind; null for records.";
410
+ };
411
+ readonly firstSeenAt: {
412
+ readonly anyOf: readonly [{
413
+ readonly type: "string";
414
+ }, {
415
+ readonly type: "null";
416
+ }];
417
+ readonly description: "When the record was created in the system (or first linked to this person), or the first conversation.";
418
+ };
419
+ readonly lastSeenAt: {
420
+ readonly anyOf: readonly [{
421
+ readonly type: "string";
422
+ }, {
423
+ readonly type: "null";
424
+ }];
425
+ readonly description: "The latest conversation; null for records.";
426
+ };
427
+ };
428
+ readonly required: readonly ["system", "kind", "count", "firstSeenAt", "lastSeenAt"];
429
+ readonly additionalProperties: false;
430
+ };
431
+ readonly 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.";
432
+ };
387
433
  readonly relationshipRole: {
388
434
  readonly anyOf: readonly [{
389
435
  readonly type: "string";
@@ -600,7 +646,7 @@ declare const publicToolContracts: {
600
646
  readonly commandVersion: 1;
601
647
  readonly ownerDomain: "customers";
602
648
  readonly title: "Get Customer";
603
- readonly 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 × currentMrr in the same units.";
649
+ 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, 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 × currentMrr in the same units.";
604
650
  readonly annotations: {
605
651
  readonly readOnlyHint: true;
606
652
  readonly destructiveHint: false;
@@ -738,6 +784,52 @@ declare const publicToolContracts: {
738
784
  readonly type: "null";
739
785
  }];
740
786
  };
787
+ readonly sources: {
788
+ readonly type: "array";
789
+ readonly items: {
790
+ readonly type: "object";
791
+ readonly properties: {
792
+ readonly system: {
793
+ readonly type: "string";
794
+ readonly 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).";
795
+ };
796
+ readonly kind: {
797
+ readonly type: "string";
798
+ readonly enum: readonly ["contact", "product_user", "chat_member", "billing_customer", "call", "meeting", "email", "support_ticket", "slack_thread"];
799
+ readonly 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.";
800
+ };
801
+ readonly count: {
802
+ readonly anyOf: readonly [{
803
+ readonly type: "integer";
804
+ readonly minimum: 1;
805
+ readonly maximum: 9007199254740991;
806
+ }, {
807
+ readonly type: "null";
808
+ }];
809
+ readonly description: "How many conversations of this kind; null for records.";
810
+ };
811
+ readonly firstSeenAt: {
812
+ readonly anyOf: readonly [{
813
+ readonly type: "string";
814
+ }, {
815
+ readonly type: "null";
816
+ }];
817
+ readonly description: "When the record was created in the system (or first linked to this person), or the first conversation.";
818
+ };
819
+ readonly lastSeenAt: {
820
+ readonly anyOf: readonly [{
821
+ readonly type: "string";
822
+ }, {
823
+ readonly type: "null";
824
+ }];
825
+ readonly description: "The latest conversation; null for records.";
826
+ };
827
+ };
828
+ readonly required: readonly ["system", "kind", "count", "firstSeenAt", "lastSeenAt"];
829
+ readonly additionalProperties: false;
830
+ };
831
+ readonly 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.";
832
+ };
741
833
  readonly relationshipRole: {
742
834
  readonly anyOf: readonly [{
743
835
  readonly type: "string";
@@ -6019,7 +6111,7 @@ declare const publicToolContracts: {
6019
6111
  readonly properties: {
6020
6112
  readonly provider: {
6021
6113
  readonly type: "string";
6022
- readonly enum: readonly ["salesforce", "hubspot", "attio", "slack", "google-calendar", "google-mail", "granola", "gong", "fireflies", "ergo", "pylon", "stripe", "mixpanel", "posthog", "supabase", "clerk", "autumn"];
6114
+ readonly enum: readonly ["salesforce", "hubspot", "attio", "slack", "google-calendar", "google-mail", "granola", "gong", "fireflies", "ergo", "circleback", "pocket", "pylon", "stripe", "mixpanel", "posthog", "supabase", "clerk", "autumn"];
6023
6115
  };
6024
6116
  };
6025
6117
  readonly additionalProperties: false;
@@ -6249,6 +6341,48 @@ declare const publicToolContracts: {
6249
6341
  };
6250
6342
  readonly required: readonly ["provider"];
6251
6343
  readonly additionalProperties: false;
6344
+ }, {
6345
+ readonly type: "object";
6346
+ readonly properties: {
6347
+ readonly provider: {
6348
+ readonly type: "string";
6349
+ readonly const: "circleback";
6350
+ };
6351
+ readonly credentials: {
6352
+ readonly type: "object";
6353
+ readonly properties: {
6354
+ readonly apiKey: {
6355
+ readonly type: "string";
6356
+ readonly minLength: 1;
6357
+ };
6358
+ };
6359
+ readonly required: readonly ["apiKey"];
6360
+ readonly additionalProperties: false;
6361
+ };
6362
+ };
6363
+ readonly required: readonly ["provider"];
6364
+ readonly additionalProperties: false;
6365
+ }, {
6366
+ readonly type: "object";
6367
+ readonly properties: {
6368
+ readonly provider: {
6369
+ readonly type: "string";
6370
+ readonly const: "pocket";
6371
+ };
6372
+ readonly credentials: {
6373
+ readonly type: "object";
6374
+ readonly properties: {
6375
+ readonly apiKey: {
6376
+ readonly type: "string";
6377
+ readonly minLength: 1;
6378
+ };
6379
+ };
6380
+ readonly required: readonly ["apiKey"];
6381
+ readonly additionalProperties: false;
6382
+ };
6383
+ };
6384
+ readonly required: readonly ["provider"];
6385
+ readonly additionalProperties: false;
6252
6386
  }, {
6253
6387
  readonly type: "object";
6254
6388
  readonly properties: {
@@ -6451,7 +6585,7 @@ declare const publicToolContracts: {
6451
6585
  readonly properties: {
6452
6586
  readonly provider: {
6453
6587
  readonly type: "string";
6454
- readonly enum: readonly ["salesforce", "hubspot", "attio", "slack", "google-calendar", "google-mail", "granola", "gong", "fireflies", "ergo", "pylon", "stripe", "mixpanel", "posthog", "supabase", "clerk", "autumn"];
6588
+ readonly enum: readonly ["salesforce", "hubspot", "attio", "slack", "google-calendar", "google-mail", "granola", "gong", "fireflies", "ergo", "circleback", "pocket", "pylon", "stripe", "mixpanel", "posthog", "supabase", "clerk", "autumn"];
6455
6589
  };
6456
6590
  readonly name: {
6457
6591
  readonly type: "string";
@@ -12619,7 +12753,7 @@ declare const userJourneyStages: readonly ["DISCOVERED", "SIGNED_UP", "ACTIVATED
12619
12753
  declare const userListOrderFields: readonly ["last_activity_at", "first_seen_at", "email"];
12620
12754
  declare const workspaceUserListOrderFields: readonly ["name", "email", "owned_customer_count"];
12621
12755
  declare const schemaTables: readonly ["activity", "customers", "users", "revenue"];
12622
- declare const sdkConsumerContractHash: "0bb35218a281339fd1668fe7e7b22eadde7abddc9dfd957d3d72aa8db0a1365a";
12756
+ declare const sdkConsumerContractHash: "89c1bc1604b88acbc86ec105e1bcf8d58355bd61ee951563e3f77765f891482a";
12623
12757
 
12624
12758
  type JsonSchema = Readonly<Record<string, unknown>>;
12625
12759
  type PublicToolName = (typeof publicToolNames)[number];
package/dist/index.d.ts CHANGED
@@ -244,7 +244,7 @@ declare const publicToolContracts: {
244
244
  readonly commandVersion: 1;
245
245
  readonly ownerDomain: "users";
246
246
  readonly title: "List Users";
247
- readonly 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.";
247
+ readonly 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.";
248
248
  readonly annotations: {
249
249
  readonly readOnlyHint: true;
250
250
  readonly destructiveHint: false;
@@ -384,6 +384,52 @@ declare const publicToolContracts: {
384
384
  readonly type: "null";
385
385
  }];
386
386
  };
387
+ readonly sources: {
388
+ readonly type: "array";
389
+ readonly items: {
390
+ readonly type: "object";
391
+ readonly properties: {
392
+ readonly system: {
393
+ readonly type: "string";
394
+ readonly 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).";
395
+ };
396
+ readonly kind: {
397
+ readonly type: "string";
398
+ readonly enum: readonly ["contact", "product_user", "chat_member", "billing_customer", "call", "meeting", "email", "support_ticket", "slack_thread"];
399
+ readonly 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.";
400
+ };
401
+ readonly count: {
402
+ readonly anyOf: readonly [{
403
+ readonly type: "integer";
404
+ readonly minimum: 1;
405
+ readonly maximum: 9007199254740991;
406
+ }, {
407
+ readonly type: "null";
408
+ }];
409
+ readonly description: "How many conversations of this kind; null for records.";
410
+ };
411
+ readonly firstSeenAt: {
412
+ readonly anyOf: readonly [{
413
+ readonly type: "string";
414
+ }, {
415
+ readonly type: "null";
416
+ }];
417
+ readonly description: "When the record was created in the system (or first linked to this person), or the first conversation.";
418
+ };
419
+ readonly lastSeenAt: {
420
+ readonly anyOf: readonly [{
421
+ readonly type: "string";
422
+ }, {
423
+ readonly type: "null";
424
+ }];
425
+ readonly description: "The latest conversation; null for records.";
426
+ };
427
+ };
428
+ readonly required: readonly ["system", "kind", "count", "firstSeenAt", "lastSeenAt"];
429
+ readonly additionalProperties: false;
430
+ };
431
+ readonly 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.";
432
+ };
387
433
  readonly relationshipRole: {
388
434
  readonly anyOf: readonly [{
389
435
  readonly type: "string";
@@ -600,7 +646,7 @@ declare const publicToolContracts: {
600
646
  readonly commandVersion: 1;
601
647
  readonly ownerDomain: "customers";
602
648
  readonly title: "Get Customer";
603
- readonly 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 × currentMrr in the same units.";
649
+ 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, 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 × currentMrr in the same units.";
604
650
  readonly annotations: {
605
651
  readonly readOnlyHint: true;
606
652
  readonly destructiveHint: false;
@@ -738,6 +784,52 @@ declare const publicToolContracts: {
738
784
  readonly type: "null";
739
785
  }];
740
786
  };
787
+ readonly sources: {
788
+ readonly type: "array";
789
+ readonly items: {
790
+ readonly type: "object";
791
+ readonly properties: {
792
+ readonly system: {
793
+ readonly type: "string";
794
+ readonly 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).";
795
+ };
796
+ readonly kind: {
797
+ readonly type: "string";
798
+ readonly enum: readonly ["contact", "product_user", "chat_member", "billing_customer", "call", "meeting", "email", "support_ticket", "slack_thread"];
799
+ readonly 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.";
800
+ };
801
+ readonly count: {
802
+ readonly anyOf: readonly [{
803
+ readonly type: "integer";
804
+ readonly minimum: 1;
805
+ readonly maximum: 9007199254740991;
806
+ }, {
807
+ readonly type: "null";
808
+ }];
809
+ readonly description: "How many conversations of this kind; null for records.";
810
+ };
811
+ readonly firstSeenAt: {
812
+ readonly anyOf: readonly [{
813
+ readonly type: "string";
814
+ }, {
815
+ readonly type: "null";
816
+ }];
817
+ readonly description: "When the record was created in the system (or first linked to this person), or the first conversation.";
818
+ };
819
+ readonly lastSeenAt: {
820
+ readonly anyOf: readonly [{
821
+ readonly type: "string";
822
+ }, {
823
+ readonly type: "null";
824
+ }];
825
+ readonly description: "The latest conversation; null for records.";
826
+ };
827
+ };
828
+ readonly required: readonly ["system", "kind", "count", "firstSeenAt", "lastSeenAt"];
829
+ readonly additionalProperties: false;
830
+ };
831
+ readonly 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.";
832
+ };
741
833
  readonly relationshipRole: {
742
834
  readonly anyOf: readonly [{
743
835
  readonly type: "string";
@@ -6019,7 +6111,7 @@ declare const publicToolContracts: {
6019
6111
  readonly properties: {
6020
6112
  readonly provider: {
6021
6113
  readonly type: "string";
6022
- readonly enum: readonly ["salesforce", "hubspot", "attio", "slack", "google-calendar", "google-mail", "granola", "gong", "fireflies", "ergo", "pylon", "stripe", "mixpanel", "posthog", "supabase", "clerk", "autumn"];
6114
+ readonly enum: readonly ["salesforce", "hubspot", "attio", "slack", "google-calendar", "google-mail", "granola", "gong", "fireflies", "ergo", "circleback", "pocket", "pylon", "stripe", "mixpanel", "posthog", "supabase", "clerk", "autumn"];
6023
6115
  };
6024
6116
  };
6025
6117
  readonly additionalProperties: false;
@@ -6249,6 +6341,48 @@ declare const publicToolContracts: {
6249
6341
  };
6250
6342
  readonly required: readonly ["provider"];
6251
6343
  readonly additionalProperties: false;
6344
+ }, {
6345
+ readonly type: "object";
6346
+ readonly properties: {
6347
+ readonly provider: {
6348
+ readonly type: "string";
6349
+ readonly const: "circleback";
6350
+ };
6351
+ readonly credentials: {
6352
+ readonly type: "object";
6353
+ readonly properties: {
6354
+ readonly apiKey: {
6355
+ readonly type: "string";
6356
+ readonly minLength: 1;
6357
+ };
6358
+ };
6359
+ readonly required: readonly ["apiKey"];
6360
+ readonly additionalProperties: false;
6361
+ };
6362
+ };
6363
+ readonly required: readonly ["provider"];
6364
+ readonly additionalProperties: false;
6365
+ }, {
6366
+ readonly type: "object";
6367
+ readonly properties: {
6368
+ readonly provider: {
6369
+ readonly type: "string";
6370
+ readonly const: "pocket";
6371
+ };
6372
+ readonly credentials: {
6373
+ readonly type: "object";
6374
+ readonly properties: {
6375
+ readonly apiKey: {
6376
+ readonly type: "string";
6377
+ readonly minLength: 1;
6378
+ };
6379
+ };
6380
+ readonly required: readonly ["apiKey"];
6381
+ readonly additionalProperties: false;
6382
+ };
6383
+ };
6384
+ readonly required: readonly ["provider"];
6385
+ readonly additionalProperties: false;
6252
6386
  }, {
6253
6387
  readonly type: "object";
6254
6388
  readonly properties: {
@@ -6451,7 +6585,7 @@ declare const publicToolContracts: {
6451
6585
  readonly properties: {
6452
6586
  readonly provider: {
6453
6587
  readonly type: "string";
6454
- readonly enum: readonly ["salesforce", "hubspot", "attio", "slack", "google-calendar", "google-mail", "granola", "gong", "fireflies", "ergo", "pylon", "stripe", "mixpanel", "posthog", "supabase", "clerk", "autumn"];
6588
+ readonly enum: readonly ["salesforce", "hubspot", "attio", "slack", "google-calendar", "google-mail", "granola", "gong", "fireflies", "ergo", "circleback", "pocket", "pylon", "stripe", "mixpanel", "posthog", "supabase", "clerk", "autumn"];
6455
6589
  };
6456
6590
  readonly name: {
6457
6591
  readonly type: "string";
@@ -12619,7 +12753,7 @@ declare const userJourneyStages: readonly ["DISCOVERED", "SIGNED_UP", "ACTIVATED
12619
12753
  declare const userListOrderFields: readonly ["last_activity_at", "first_seen_at", "email"];
12620
12754
  declare const workspaceUserListOrderFields: readonly ["name", "email", "owned_customer_count"];
12621
12755
  declare const schemaTables: readonly ["activity", "customers", "users", "revenue"];
12622
- declare const sdkConsumerContractHash: "0bb35218a281339fd1668fe7e7b22eadde7abddc9dfd957d3d72aa8db0a1365a";
12756
+ declare const sdkConsumerContractHash: "89c1bc1604b88acbc86ec105e1bcf8d58355bd61ee951563e3f77765f891482a";
12623
12757
 
12624
12758
  type JsonSchema = Readonly<Record<string, unknown>>;
12625
12759
  type PublicToolName = (typeof publicToolNames)[number];