@cowliss/cli 0.13.0 → 0.15.0
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/blueprints/abandoned-checkout/events.json +9 -0
- package/blueprints/activity-decay/events.json +1 -0
- package/blueprints/ecommerce/events.json +28 -0
- package/blueprints/mobile-game/events.json +22 -0
- package/blueprints/saas-trial/events.json +18 -0
- package/blueprints/winback/events.json +6 -0
- package/dist/guest/{driver-BtQYaFXP.js → driver-B4eBxH_X.js} +1 -1
- package/dist/guest/driver-emails.js +2 -2
- package/dist/guest/driver.js +1 -1
- package/dist/guest/{journeys-v2-Cndh4CAr.js → journeys-v2-Cuzz4DfX.js} +2 -2
- package/dist/guest/journeys.js +1 -1
- package/dist/guest/segments.js +1 -1
- package/dist/index.js +3933 -3342
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"checkout.started": {
|
|
3
|
+
"cartId": "cart_10482",
|
|
4
|
+
"checkoutUrl": "https://store.example.com/checkout/10482",
|
|
5
|
+
"total": 110.0
|
|
6
|
+
},
|
|
7
|
+
"order.delivered": {
|
|
8
|
+
"orderId": "ord_10482"
|
|
9
|
+
},
|
|
10
|
+
"order.placed": {
|
|
11
|
+
"orderId": "ord_10482",
|
|
12
|
+
"total": 110.0,
|
|
13
|
+
"items": [
|
|
14
|
+
{
|
|
15
|
+
"name": "Linen shirt",
|
|
16
|
+
"price": 78.0
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "Canvas tote",
|
|
20
|
+
"price": 32.0
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"product.viewed": {
|
|
25
|
+
"productId": "prod_linen_shirt",
|
|
26
|
+
"category": "apparel"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"level.completed": {
|
|
3
|
+
"level": 4,
|
|
4
|
+
"score": 1250
|
|
5
|
+
},
|
|
6
|
+
"level.failed": {
|
|
7
|
+
"level": 4,
|
|
8
|
+
"attempts": 3
|
|
9
|
+
},
|
|
10
|
+
"purchase.completed": {
|
|
11
|
+
"packId": "starter_bundle",
|
|
12
|
+
"coins": 500,
|
|
13
|
+
"price": 4.99
|
|
14
|
+
},
|
|
15
|
+
"session.started": {
|
|
16
|
+
"platform": "ios",
|
|
17
|
+
"version": "1.2.0"
|
|
18
|
+
},
|
|
19
|
+
"tutorial.completed": {
|
|
20
|
+
"step": "boss_fight"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"invite.sent": {
|
|
3
|
+
"recipientEmail": "colleague@example.com",
|
|
4
|
+
"role": "editor"
|
|
5
|
+
},
|
|
6
|
+
"project.created": {
|
|
7
|
+
"projectId": "proj_123",
|
|
8
|
+
"template": "starter"
|
|
9
|
+
},
|
|
10
|
+
"subscription.created": {
|
|
11
|
+
"plan": "pro",
|
|
12
|
+
"seats": 5
|
|
13
|
+
},
|
|
14
|
+
"trial.started": {
|
|
15
|
+
"plan": "trial",
|
|
16
|
+
"days": 14
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as journeyStepOutputSchema, r as manifestOutputSchema, t as guestInputSchema } from "./journeys-v2-
|
|
1
|
+
import { n as journeyStepOutputSchema, r as manifestOutputSchema, t as guestInputSchema } from "./journeys-v2-Cuzz4DfX.js";
|
|
2
2
|
import { CapabilityError } from "./journeys.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as templateRenderOutputSchema, t as guestInputSchema } from "./journeys-v2-
|
|
1
|
+
import { i as templateRenderOutputSchema, t as guestInputSchema } from "./journeys-v2-Cuzz4DfX.js";
|
|
2
2
|
import { CapabilityError } from "./journeys.js";
|
|
3
|
-
import { n as readManifest, t as asTemplate } from "./driver-
|
|
3
|
+
import { n as readManifest, t as asTemplate } from "./driver-B4eBxH_X.js";
|
|
4
4
|
import { createElement } from "react";
|
|
5
5
|
import { renderToStaticMarkup } from "react-dom/server.browser";
|
|
6
6
|
|
package/dist/guest/driver.js
CHANGED
|
@@ -522,8 +522,8 @@ function uniqueKeys(items, ctx, path) {
|
|
|
522
522
|
* still parse, or the runner and every API response the client validates
|
|
523
523
|
* break at once for any org with history. The literal lives at push time
|
|
524
524
|
* only (`createPushBodySchema`), which is where a stale CLI is the
|
|
525
|
-
* developer's own fixable problem, and
|
|
526
|
-
*
|
|
525
|
+
* developer's own fixable problem, and a version behind the current protocol
|
|
526
|
+
* is refused as `version_outdated` wherever something would run it.
|
|
527
527
|
*/
|
|
528
528
|
const manifestSchema = z.object({
|
|
529
529
|
protocol: z.number().int().positive(),
|
package/dist/guest/journeys.js
CHANGED
package/dist/guest/segments.js
CHANGED