@outlit/cli 3.2.5 → 3.2.7

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.
Files changed (2) hide show
  1. package/dist/cli.js +202 -4
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -104,7 +104,7 @@ var package_default;
104
104
  var init_package = __esm(() => {
105
105
  package_default = {
106
106
  name: "@outlit/cli",
107
- version: "3.2.5",
107
+ version: "3.2.7",
108
108
  description: "CLI for querying Outlit customer context and installing agent skills",
109
109
  license: "Apache-2.0",
110
110
  repository: {
@@ -147,7 +147,7 @@ var init_package = __esm(() => {
147
147
  },
148
148
  dependencies: {
149
149
  "@clack/prompts": "^1.0.1",
150
- "@outlit/tools": "^2.2.4",
150
+ "@outlit/tools": "^2.2.6",
151
151
  citty: "^0.2.1"
152
152
  },
153
153
  devDependencies: {
@@ -2103,7 +2103,7 @@ var init_dist4 = __esm(() => {
2103
2103
  commandVersion: 1,
2104
2104
  ownerDomain: "users",
2105
2105
  title: "List Users",
2106
- 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.",
2106
+ 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.",
2107
2107
  annotations: {
2108
2108
  readOnlyHint: true,
2109
2109
  destructiveHint: false
@@ -2284,6 +2284,77 @@ var init_dist4 = __esm(() => {
2284
2284
  }
2285
2285
  ]
2286
2286
  },
2287
+ sources: {
2288
+ type: "array",
2289
+ items: {
2290
+ type: "object",
2291
+ properties: {
2292
+ system: {
2293
+ type: "string",
2294
+ 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)."
2295
+ },
2296
+ kind: {
2297
+ type: "string",
2298
+ enum: [
2299
+ "contact",
2300
+ "product_user",
2301
+ "chat_member",
2302
+ "billing_customer",
2303
+ "call",
2304
+ "meeting",
2305
+ "email",
2306
+ "support_ticket",
2307
+ "slack_thread"
2308
+ ],
2309
+ 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."
2310
+ },
2311
+ count: {
2312
+ anyOf: [
2313
+ {
2314
+ type: "integer",
2315
+ minimum: 1,
2316
+ maximum: 9007199254740991
2317
+ },
2318
+ {
2319
+ type: "null"
2320
+ }
2321
+ ],
2322
+ description: "How many conversations of this kind; null for records."
2323
+ },
2324
+ firstSeenAt: {
2325
+ anyOf: [
2326
+ {
2327
+ type: "string"
2328
+ },
2329
+ {
2330
+ type: "null"
2331
+ }
2332
+ ],
2333
+ description: "When the record was created in the system (or first linked to this person), or the first conversation."
2334
+ },
2335
+ lastSeenAt: {
2336
+ anyOf: [
2337
+ {
2338
+ type: "string"
2339
+ },
2340
+ {
2341
+ type: "null"
2342
+ }
2343
+ ],
2344
+ description: "The latest conversation; null for records."
2345
+ }
2346
+ },
2347
+ required: [
2348
+ "system",
2349
+ "kind",
2350
+ "count",
2351
+ "firstSeenAt",
2352
+ "lastSeenAt"
2353
+ ],
2354
+ additionalProperties: false
2355
+ },
2356
+ 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."
2357
+ },
2287
2358
  relationshipRole: {
2288
2359
  anyOf: [
2289
2360
  {
@@ -2578,7 +2649,7 @@ var init_dist4 = __esm(() => {
2578
2649
  commandVersion: 1,
2579
2650
  ownerDomain: "customers",
2580
2651
  title: "Get Customer",
2581
- 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.",
2652
+ 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.",
2582
2653
  annotations: {
2583
2654
  readOnlyHint: true,
2584
2655
  destructiveHint: false
@@ -2781,6 +2852,77 @@ var init_dist4 = __esm(() => {
2781
2852
  }
2782
2853
  ]
2783
2854
  },
2855
+ sources: {
2856
+ type: "array",
2857
+ items: {
2858
+ type: "object",
2859
+ properties: {
2860
+ system: {
2861
+ type: "string",
2862
+ 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)."
2863
+ },
2864
+ kind: {
2865
+ type: "string",
2866
+ enum: [
2867
+ "contact",
2868
+ "product_user",
2869
+ "chat_member",
2870
+ "billing_customer",
2871
+ "call",
2872
+ "meeting",
2873
+ "email",
2874
+ "support_ticket",
2875
+ "slack_thread"
2876
+ ],
2877
+ 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."
2878
+ },
2879
+ count: {
2880
+ anyOf: [
2881
+ {
2882
+ type: "integer",
2883
+ minimum: 1,
2884
+ maximum: 9007199254740991
2885
+ },
2886
+ {
2887
+ type: "null"
2888
+ }
2889
+ ],
2890
+ description: "How many conversations of this kind; null for records."
2891
+ },
2892
+ firstSeenAt: {
2893
+ anyOf: [
2894
+ {
2895
+ type: "string"
2896
+ },
2897
+ {
2898
+ type: "null"
2899
+ }
2900
+ ],
2901
+ description: "When the record was created in the system (or first linked to this person), or the first conversation."
2902
+ },
2903
+ lastSeenAt: {
2904
+ anyOf: [
2905
+ {
2906
+ type: "string"
2907
+ },
2908
+ {
2909
+ type: "null"
2910
+ }
2911
+ ],
2912
+ description: "The latest conversation; null for records."
2913
+ }
2914
+ },
2915
+ required: [
2916
+ "system",
2917
+ "kind",
2918
+ "count",
2919
+ "firstSeenAt",
2920
+ "lastSeenAt"
2921
+ ],
2922
+ additionalProperties: false
2923
+ },
2924
+ 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."
2925
+ },
2784
2926
  relationshipRole: {
2785
2927
  anyOf: [
2786
2928
  {
@@ -10128,6 +10270,8 @@ Returns column definitions and example queries for each view.`,
10128
10270
  "gong",
10129
10271
  "fireflies",
10130
10272
  "ergo",
10273
+ "circleback",
10274
+ "pocket",
10131
10275
  "pylon",
10132
10276
  "stripe",
10133
10277
  "mixpanel",
@@ -10445,6 +10589,58 @@ Returns column definitions and example queries for each view.`,
10445
10589
  ],
10446
10590
  additionalProperties: false
10447
10591
  },
10592
+ {
10593
+ type: "object",
10594
+ properties: {
10595
+ provider: {
10596
+ type: "string",
10597
+ const: "circleback"
10598
+ },
10599
+ credentials: {
10600
+ type: "object",
10601
+ properties: {
10602
+ apiKey: {
10603
+ type: "string",
10604
+ minLength: 1
10605
+ }
10606
+ },
10607
+ required: [
10608
+ "apiKey"
10609
+ ],
10610
+ additionalProperties: false
10611
+ }
10612
+ },
10613
+ required: [
10614
+ "provider"
10615
+ ],
10616
+ additionalProperties: false
10617
+ },
10618
+ {
10619
+ type: "object",
10620
+ properties: {
10621
+ provider: {
10622
+ type: "string",
10623
+ const: "pocket"
10624
+ },
10625
+ credentials: {
10626
+ type: "object",
10627
+ properties: {
10628
+ apiKey: {
10629
+ type: "string",
10630
+ minLength: 1
10631
+ }
10632
+ },
10633
+ required: [
10634
+ "apiKey"
10635
+ ],
10636
+ additionalProperties: false
10637
+ }
10638
+ },
10639
+ required: [
10640
+ "provider"
10641
+ ],
10642
+ additionalProperties: false
10643
+ },
10448
10644
  {
10449
10645
  type: "object",
10450
10646
  properties: {
@@ -10717,6 +10913,8 @@ Returns column definitions and example queries for each view.`,
10717
10913
  "gong",
10718
10914
  "fireflies",
10719
10915
  "ergo",
10916
+ "circleback",
10917
+ "pocket",
10720
10918
  "pylon",
10721
10919
  "stripe",
10722
10920
  "mixpanel",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outlit/cli",
3
- "version": "3.2.5",
3
+ "version": "3.2.7",
4
4
  "description": "CLI for querying Outlit customer context and installing agent skills",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@clack/prompts": "^1.0.1",
46
- "@outlit/tools": "^2.2.4",
46
+ "@outlit/tools": "^2.2.6",
47
47
  "citty": "^0.2.1"
48
48
  },
49
49
  "devDependencies": {