@outlit/pi 2.1.11 → 2.1.12
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outlit/pi",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.12",
|
|
4
4
|
"description": "Pi package for Outlit customer intelligence tools and skill guidance",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Outlit AI",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"test": "vitest run"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@outlit/tools": "^2.
|
|
69
|
+
"@outlit/tools": "^2.4.0"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"@mariozechner/pi-coding-agent": "*",
|
|
@@ -7,7 +7,7 @@ Always inspect schema first with `outlit_schema`.
|
|
|
7
7
|
## Views
|
|
8
8
|
|
|
9
9
|
- `activity`: product and communication activity
|
|
10
|
-
- `customers`: customer attributes, billing, revenue
|
|
10
|
+
- `customers`: customer attributes, billing, revenue (`arr_cents` with `arr_currency`; `mrr_cents` is deprecated)
|
|
11
11
|
- `users`: user attributes and journey stages
|
|
12
12
|
- `revenue`: daily MRR snapshots
|
|
13
13
|
|
|
@@ -20,7 +20,7 @@ toStartOfMonth(occurred_at)
|
|
|
20
20
|
dateDiff('day', first_seen_at, now())
|
|
21
21
|
occurred_at >= now() - INTERVAL 30 DAY
|
|
22
22
|
countIf(billing_status = 'PAYING')
|
|
23
|
-
sumIf(
|
|
23
|
+
sumIf(arr_cents, billing_status = 'PAYING' AND arr_currency = 'USD')
|
|
24
24
|
JSONExtractString(properties, 'path')
|
|
25
25
|
JSONExtractString(traits, 'plan')
|
|
26
26
|
```
|