@funnelsgrove/cli 0.1.15 → 0.1.18
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/contracts/step-contract-v2.json +733 -0
- package/dist/analyticsOutput.d.ts +30 -15
- package/dist/analyticsOutput.js +45 -28
- package/dist/apiClient.d.ts +85 -0
- package/dist/apiClient.js +225 -8
- package/dist/cli.d.ts +149 -1
- package/dist/cli.js +1232 -71
- package/dist/diagnosticOutput.d.ts +42 -0
- package/dist/diagnosticOutput.js +83 -0
- package/dist/docsOutput.d.ts +19 -0
- package/dist/docsOutput.js +73 -0
- package/dist/docsTransaction.d.ts +81 -0
- package/dist/docsTransaction.js +1755 -0
- package/dist/funnelValidation.d.ts +14 -0
- package/dist/funnelValidation.js +297 -0
- package/dist/localSync.d.ts +79 -0
- package/dist/localSync.js +400 -29
- package/dist/projectValidator.d.ts +27 -0
- package/dist/projectValidator.js +208 -0
- package/dist/reskin.js +27 -1
- package/dist/stepContractMigration.d.ts +71 -0
- package/dist/stepContractMigration.js +1323 -0
- package/dist/templateDocs.js +8 -25
- package/docs-release-history.json +66 -0
- package/legacy-docs-catalog.json +1012 -0
- package/package.json +13 -4
- package/template_docs/.funnelsgrove-docs.json +144 -0
- package/template_docs/AGENTS.md +30 -58
- package/template_docs/CLAUDE.md +0 -2
- package/template_docs/docs/funnelsgrove/START-HERE.md +73 -0
- package/template_docs/docs/funnelsgrove/contracts/analytics-events.md +59 -0
- package/template_docs/docs/funnelsgrove/contracts/content-answers.md +44 -0
- package/template_docs/docs/funnelsgrove/contracts/flow-routing.md +41 -0
- package/template_docs/docs/funnelsgrove/contracts/payments.md +42 -0
- package/template_docs/docs/funnelsgrove/contracts/step-metadata.md +57 -0
- package/template_docs/docs/funnelsgrove/migrations/step-contract-v3.md +39 -0
- package/template_docs/docs/funnelsgrove/qa/analytics.md +43 -0
- package/template_docs/docs/funnelsgrove/qa/local.md +42 -0
- package/template_docs/docs/funnelsgrove/qa/paywall-checkout.md +55 -0
- package/template_docs/docs/funnelsgrove/qa/publish.md +32 -0
- package/template_docs/docs/funnelsgrove/recipes/add-experiment.md +34 -0
- package/template_docs/docs/funnelsgrove/recipes/add-step.md +33 -0
- package/template_docs/docs/funnelsgrove/recipes/edit-step.md +31 -0
- package/template_docs/docs/funnelsgrove/steps/INDEX.md +26 -0
- package/template_docs/docs/funnelsgrove/steps/cancellation_offer.md +112 -0
- package/template_docs/docs/funnelsgrove/steps/checkout.md +120 -0
- package/template_docs/docs/funnelsgrove/steps/form_input.md +115 -0
- package/template_docs/docs/funnelsgrove/steps/intro_hero.md +110 -0
- package/template_docs/docs/funnelsgrove/steps/multi_select_choice.md +123 -0
- package/template_docs/docs/funnelsgrove/steps/paywall_offer.md +115 -0
- package/template_docs/docs/funnelsgrove/steps/progress_interstitial.md +111 -0
- package/template_docs/docs/funnelsgrove/steps/purchase_completed.md +117 -0
- package/template_docs/docs/funnelsgrove/steps/single_step_choice.md +122 -0
- package/template_docs/docs/funnelsgrove/steps/single_step_choice_emoji.md +122 -0
- package/template_docs/docs/funnelsgrove/steps/social_proof.md +110 -0
- package/template_docs/docs/funnelsgrove/steps/subscription_handoff.md +113 -0
- package/template_docs/docs/funnelsgrove/steps/subscription_management.md +112 -0
- package/template_docs/docs/funnelsgrove/steps/summary_confirmation.md +110 -0
- package/template_docs/docs/funnelsgrove/steps/upsell_offer.md +112 -0
- package/template_docs/docs/funnelsgrove/steps/value_prop_story.md +110 -0
- package/template_docs/funnel-docs.config.json +43 -0
- package/template_scaffold/.env.example +41 -0
- package/template_scaffold/.funnelsgrove-contract-tools.json +19 -0
- package/template_scaffold/.funnelsgrove-docs.json +144 -0
- package/template_scaffold/.funnelsgrove-scaffold.json +1078 -0
- package/template_scaffold/AGENTS.md +42 -0
- package/template_scaffold/CLAUDE.md +1 -0
- package/template_scaffold/PLAN.md +81 -0
- package/template_scaffold/PRODUCT_SENSE.md +28 -0
- package/template_scaffold/context/build-context.md +34 -0
- package/template_scaffold/docs/AGENT_FUNNEL_IMPLEMENTATION_SPEC.md +5 -0
- package/template_scaffold/docs/ARCHITECTURE.md +5 -0
- package/template_scaffold/docs/FLOW_CONFIG_AND_ROUTING.md +5 -0
- package/template_scaffold/docs/PAYWALL_AND_PAYMENTS.md +5 -0
- package/template_scaffold/docs/README.md +5 -0
- package/template_scaffold/docs/funnelsgrove/START-HERE.md +73 -0
- package/template_scaffold/docs/funnelsgrove/contracts/analytics-events.md +59 -0
- package/template_scaffold/docs/funnelsgrove/contracts/content-answers.md +44 -0
- package/template_scaffold/docs/funnelsgrove/contracts/flow-routing.md +41 -0
- package/template_scaffold/docs/funnelsgrove/contracts/payments.md +42 -0
- package/template_scaffold/docs/funnelsgrove/contracts/step-metadata.md +57 -0
- package/template_scaffold/docs/funnelsgrove/migrations/step-contract-v3.md +39 -0
- package/template_scaffold/docs/funnelsgrove/qa/analytics.md +43 -0
- package/template_scaffold/docs/funnelsgrove/qa/local.md +42 -0
- package/template_scaffold/docs/funnelsgrove/qa/paywall-checkout.md +55 -0
- package/template_scaffold/docs/funnelsgrove/qa/publish.md +32 -0
- package/template_scaffold/docs/funnelsgrove/recipes/add-experiment.md +34 -0
- package/template_scaffold/docs/funnelsgrove/recipes/add-step.md +33 -0
- package/template_scaffold/docs/funnelsgrove/recipes/edit-step.md +31 -0
- package/template_scaffold/docs/funnelsgrove/steps/INDEX.md +26 -0
- package/template_scaffold/docs/funnelsgrove/steps/cancellation_offer.md +112 -0
- package/template_scaffold/docs/funnelsgrove/steps/checkout.md +120 -0
- package/template_scaffold/docs/funnelsgrove/steps/form_input.md +115 -0
- package/template_scaffold/docs/funnelsgrove/steps/intro_hero.md +110 -0
- package/template_scaffold/docs/funnelsgrove/steps/multi_select_choice.md +123 -0
- package/template_scaffold/docs/funnelsgrove/steps/paywall_offer.md +115 -0
- package/template_scaffold/docs/funnelsgrove/steps/progress_interstitial.md +111 -0
- package/template_scaffold/docs/funnelsgrove/steps/purchase_completed.md +117 -0
- package/template_scaffold/docs/funnelsgrove/steps/single_step_choice.md +122 -0
- package/template_scaffold/docs/funnelsgrove/steps/single_step_choice_emoji.md +122 -0
- package/template_scaffold/docs/funnelsgrove/steps/social_proof.md +110 -0
- package/template_scaffold/docs/funnelsgrove/steps/subscription_handoff.md +113 -0
- package/template_scaffold/docs/funnelsgrove/steps/subscription_management.md +112 -0
- package/template_scaffold/docs/funnelsgrove/steps/summary_confirmation.md +110 -0
- package/template_scaffold/docs/funnelsgrove/steps/upsell_offer.md +112 -0
- package/template_scaffold/docs/funnelsgrove/steps/value_prop_story.md +110 -0
- package/template_scaffold/docs/references/funnel-sdk-user-answers.md +5 -0
- package/template_scaffold/eslint.config.mjs +16 -0
- package/template_scaffold/funnel-agent-docs.test.ts +699 -0
- package/template_scaffold/funnel-docs.config.json +43 -0
- package/template_scaffold/funnel.config.json +5 -0
- package/template_scaffold/gitignore.template +5 -0
- package/template_scaffold/next-env.d.ts +6 -0
- package/template_scaffold/next.config.ts +53 -0
- package/template_scaffold/package-lock.json +7737 -0
- package/template_scaffold/package.json +37 -0
- package/template_scaffold/package.test.ts +23 -0
- package/template_scaffold/public/claimbee/bee.png +0 -0
- package/template_scaffold/public/claimbee/device-iphone.png +0 -0
- package/template_scaffold/public/claimbee/device-macbook.png +0 -0
- package/template_scaffold/public/claimbee/device-none.png +0 -0
- package/template_scaffold/public/claimbee/device-watch.png +0 -0
- package/template_scaffold/public/claimbee/glow.svg +3 -0
- package/template_scaffold/public/claimbee/steps-sprite-alt.png +0 -0
- package/template_scaffold/public/claimbee/steps-sprite-default.png +0 -0
- package/template_scaffold/public/claimbee/testimonial-avatar.png +0 -0
- package/template_scaffold/public/claimbee/testimonial-star.svg +3 -0
- package/template_scaffold/public/paywall/ai-claim-assistant.png +0 -0
- package/template_scaffold/public/paywall/claim-history.png +0 -0
- package/template_scaffold/public/paywall/clear-progress.png +0 -0
- package/template_scaffold/public/paywall/hero.png +0 -0
- package/template_scaffold/public/paywall/money-alerts.png +0 -0
- package/template_scaffold/public/paywall/money-back-badge.png +0 -0
- package/template_scaffold/public/paywall/paywall-image.png +0 -0
- package/template_scaffold/public/paywall/r1.png +0 -0
- package/template_scaffold/public/paywall/r2.png +0 -0
- package/template_scaffold/public/paywall/r3.png +0 -0
- package/template_scaffold/public/paywall/r4.png +0 -0
- package/template_scaffold/public/paywall/r5.png +0 -0
- package/template_scaffold/public/paywall/r6.png +0 -0
- package/template_scaffold/public/paywall/special-offer-gift.png +0 -0
- package/template_scaffold/public/please/bee.png +0 -0
- package/template_scaffold/public/please/device-iphone.png +0 -0
- package/template_scaffold/public/please/device-macbook.png +0 -0
- package/template_scaffold/public/please/device-none.png +0 -0
- package/template_scaffold/public/please/device-watch.png +0 -0
- package/template_scaffold/public/please/glow.svg +3 -0
- package/template_scaffold/public/please/steps-sprite-alt.png +0 -0
- package/template_scaffold/public/please/steps-sprite-default.png +0 -0
- package/template_scaffold/public/please/testimonial-avatar.png +0 -0
- package/template_scaffold/public/please/testimonial-star.svg +3 -0
- package/template_scaffold/public/upsell/upgrade-hero.png +0 -0
- package/template_scaffold/src/app/[stepId]/page.test.tsx +59 -0
- package/template_scaffold/src/app/[stepId]/page.tsx +62 -0
- package/template_scaffold/src/app/globals.css +49 -0
- package/template_scaffold/src/app/layout.test.ts +26 -0
- package/template_scaffold/src/app/layout.tsx +61 -0
- package/template_scaffold/src/app/page.tsx +8 -0
- package/template_scaffold/src/app/sdk/page.tsx +673 -0
- package/template_scaffold/src/app/subscription-dashboard/page.tsx +274 -0
- package/template_scaffold/src/assets/claimbee/bee.png +0 -0
- package/template_scaffold/src/assets/claimbee/device-iphone.png +0 -0
- package/template_scaffold/src/assets/claimbee/device-macbook.png +0 -0
- package/template_scaffold/src/assets/claimbee/device-none.png +0 -0
- package/template_scaffold/src/assets/claimbee/device-watch.png +0 -0
- package/template_scaffold/src/assets/claimbee/glow.svg +3 -0
- package/template_scaffold/src/assets/claimbee/steps-sprite-alt.png +0 -0
- package/template_scaffold/src/assets/claimbee/steps-sprite-default.png +0 -0
- package/template_scaffold/src/assets/claimbee/testimonial-avatar.png +0 -0
- package/template_scaffold/src/assets/claimbee/testimonial-star.svg +3 -0
- package/template_scaffold/src/components/FunnelEditorPanel.tsx +194 -0
- package/template_scaffold/src/components/FunnelFlow.test.tsx +17 -0
- package/template_scaffold/src/components/FunnelFlow.tsx +114 -0
- package/template_scaffold/src/components/FunnelStepImage.test.ts +15 -0
- package/template_scaffold/src/components/FunnelStepImage.tsx +28 -0
- package/template_scaffold/src/components/step/FunnelStepHeader.tsx +35 -0
- package/template_scaffold/src/config/billing.plans.test.ts +143 -0
- package/template_scaffold/src/config/billing.plans.ts +69 -0
- package/template_scaffold/src/config/billing.test.plans.ts +32 -0
- package/template_scaffold/src/config/experiments.generated.ts +4 -0
- package/template_scaffold/src/config/experiments.test.ts +12 -0
- package/template_scaffold/src/config/experiments.ts +9 -0
- package/template_scaffold/src/config/funnel.config.ts +12 -0
- package/template_scaffold/src/config/funnel.manifest.test.ts +166 -0
- package/template_scaffold/src/config/funnel.manifest.ts +139 -0
- package/template_scaffold/src/config/offer-sets.generated.ts +4 -0
- package/template_scaffold/src/contract/funnel-project.validation.test.ts +80 -0
- package/template_scaffold/src/contract/funnel-project.validation.ts +44 -0
- package/template_scaffold/src/contract/funnel-validator.vite.config.ts +11 -0
- package/template_scaffold/src/contract/golden/cancellation_offer.fixture.ts +29 -0
- package/template_scaffold/src/contract/golden/checkout.fixture.ts +37 -0
- package/template_scaffold/src/contract/golden/form_input.fixture.ts +28 -0
- package/template_scaffold/src/contract/golden/golden-fixtures.test.ts +190 -0
- package/template_scaffold/src/contract/golden/intro_hero.fixture.ts +27 -0
- package/template_scaffold/src/contract/golden/multi_select_choice.fixture.ts +37 -0
- package/template_scaffold/src/contract/golden/paywall_offer.fixture.ts +30 -0
- package/template_scaffold/src/contract/golden/progress_interstitial.fixture.ts +28 -0
- package/template_scaffold/src/contract/golden/purchase_completed.fixture.ts +33 -0
- package/template_scaffold/src/contract/golden/single_step_choice.fixture.ts +36 -0
- package/template_scaffold/src/contract/golden/single_step_choice_emoji.fixture.ts +36 -0
- package/template_scaffold/src/contract/golden/social_proof.fixture.ts +27 -0
- package/template_scaffold/src/contract/golden/subscription_handoff.fixture.ts +30 -0
- package/template_scaffold/src/contract/golden/subscription_management.fixture.ts +29 -0
- package/template_scaffold/src/contract/golden/summary_confirmation.fixture.ts +27 -0
- package/template_scaffold/src/contract/golden/upsell_offer.fixture.ts +29 -0
- package/template_scaffold/src/contract/golden/value_prop_story.fixture.ts +27 -0
- package/template_scaffold/src/contract/validate-funnel.cli.test.ts +180 -0
- package/template_scaffold/src/contract/validate-funnel.cli.ts +199 -0
- package/template_scaffold/src/runtime/checkout-runtime-config.test.ts +60 -0
- package/template_scaffold/src/runtime/checkout-runtime-config.ts +26 -0
- package/template_scaffold/src/runtime/funnel-runtime.test.ts +25 -0
- package/template_scaffold/src/runtime/funnel-runtime.ts +118 -0
- package/template_scaffold/src/runtime/step-content-context.test.ts +38 -0
- package/template_scaffold/src/runtime/step-content-context.ts +65 -0
- package/template_scaffold/src/runtime/step-registry.ts +66 -0
- package/template_scaffold/src/runtime/step-variable-values.ts +31 -0
- package/template_scaffold/src/runtime/use-funnel-flow-controller.integration.test.ts +203 -0
- package/template_scaffold/src/runtime/use-funnel-flow-controller.test.ts +76 -0
- package/template_scaffold/src/runtime/use-funnel-flow-controller.ts +53 -0
- package/template_scaffold/src/steps/content/email-capture.content.ts +29 -0
- package/template_scaffold/src/steps/content/manage-subscription.content.ts +62 -0
- package/template_scaffold/src/steps/content/paywall.content.ts +191 -0
- package/template_scaffold/src/steps/content/step-01.content.ts +23 -0
- package/template_scaffold/src/steps/content/step-02.content.ts +77 -0
- package/template_scaffold/src/steps/content/step-03.content.ts +40 -0
- package/template_scaffold/src/steps/content/step-04.content.ts +49 -0
- package/template_scaffold/src/steps/content/step-32-paywall.content.ts +352 -0
- package/template_scaffold/src/steps/content/subscription-started.content.ts +68 -0
- package/template_scaffold/src/steps/editor/email-capture.editor.ts +58 -0
- package/template_scaffold/src/steps/editor/manage-subscription.editor.ts +179 -0
- package/template_scaffold/src/steps/editor/paywall.editor.ts +232 -0
- package/template_scaffold/src/steps/editor/step-01.editor.ts +22 -0
- package/template_scaffold/src/steps/editor/step-02.editor.ts +41 -0
- package/template_scaffold/src/steps/editor/step-03.editor.ts +58 -0
- package/template_scaffold/src/steps/editor/step-04.editor.ts +98 -0
- package/template_scaffold/src/steps/editor/step-32-paywall.editor.ts +478 -0
- package/template_scaffold/src/steps/editor/subscription-started.editor.ts +131 -0
- package/template_scaffold/src/steps/index.ts +25 -0
- package/template_scaffold/src/steps/paywall-checkout-options.test.ts +104 -0
- package/template_scaffold/src/steps/paywall-checkout-options.ts +130 -0
- package/template_scaffold/src/steps/pricing/paywall-b.pricing.ts +12 -0
- package/template_scaffold/src/steps/pricing/paywall.pricing.ts +12 -0
- package/template_scaffold/src/steps/pricing/shared-plan-order.ts +17 -0
- package/template_scaffold/src/steps/pricing/upsell-form.pricing.ts +16 -0
- package/template_scaffold/src/steps/shared-header-contract.test.ts +27 -0
- package/template_scaffold/src/steps/step-01.test.ts +38 -0
- package/template_scaffold/src/steps/step-01.tsx +108 -0
- package/template_scaffold/src/steps/step-02.test.ts +43 -0
- package/template_scaffold/src/steps/step-02.tsx +140 -0
- package/template_scaffold/src/steps/step-03.test.ts +15 -0
- package/template_scaffold/src/steps/step-03.tsx +262 -0
- package/template_scaffold/src/steps/step-04.test.ts +32 -0
- package/template_scaffold/src/steps/step-04.tsx +673 -0
- package/template_scaffold/src/steps/step-31-email-capture.test.ts +22 -0
- package/template_scaffold/src/steps/step-31-email-capture.tsx +195 -0
- package/template_scaffold/src/steps/step-32-paywall.test.ts +770 -0
- package/template_scaffold/src/steps/step-32-paywall.tsx +2253 -0
- package/template_scaffold/src/steps/step-32b-paywall-b.tsx +35 -0
- package/template_scaffold/src/steps/step-33-subscription-started.test.ts +26 -0
- package/template_scaffold/src/steps/step-33-subscription-started.tsx +86 -0
- package/template_scaffold/src/steps/step-34-upsell-form.test.ts +27 -0
- package/template_scaffold/src/steps/step-35-manage-subscription.tsx +46 -0
- package/template_scaffold/src/steps/step-content.registry.ts +45 -0
- package/template_scaffold/src/steps/step-image-migration.test.ts +20 -0
- package/template_scaffold/src/steps/styles/index.css +2 -0
- package/template_scaffold/src/steps/styles/shared/final-flow-shared.css +55 -0
- package/template_scaffold/src/steps/styles/shared/funnel-base.css +543 -0
- package/template_scaffold/src/steps/styles/shared/info-shared.css +139 -0
- package/template_scaffold/src/steps/styles/shared/progress-shared.css +117 -0
- package/template_scaffold/src/steps/styles/shared/question-shared.css +76 -0
- package/template_scaffold/src/steps/styles/shared/responsive-container.css +176 -0
- package/template_scaffold/src/steps/types.ts +7 -0
- package/template_scaffold/src/steps/use-claimbee-step-content.ts +15 -0
- package/template_scaffold/src/theme/theme.ts +81 -0
- package/template_scaffold/tsconfig.json +38 -0
- package/template_scaffold/vitest.config.ts +32 -0
- package/template_validation/.funnelsgrove-contract-tools.json +19 -0
- package/template_validation/src/contract/funnel-project.validation.ts +44 -0
- package/template_validation/src/contract/funnel-validator.vite.config.ts +11 -0
- package/template_validation/src/contract/validate-funnel.cli.ts +199 -0
- package/template_docs/docs/ab-experiments.md +0 -111
- package/template_docs/docs/analytics.md +0 -65
- package/template_docs/docs/editing-flow.md +0 -136
- package/template_docs/docs/editing-step.md +0 -125
- package/template_docs/docs/editor-and-content.md +0 -58
- package/template_docs/docs/funnel-runtime-architecture.md +0 -125
- package/template_docs/docs/meta-pixel-conversions-api.md +0 -50
- package/template_docs/docs/payment-plans-and-discounts.md +0 -106
- package/template_docs/docs/publishing-and-versioning.md +0 -117
- package/template_docs/docs/qa-checklist.md +0 -80
- package/template_docs/docs/sdk-api-endpoints.md +0 -78
- package/template_docs/docs/step-ui-guidelines.md +0 -110
- package/template_docs/docs/theme.md +0 -35
|
@@ -0,0 +1,733 @@
|
|
|
1
|
+
{
|
|
2
|
+
"analyticsEventContracts": {
|
|
3
|
+
"add_payment_info": {
|
|
4
|
+
"allowedStepIdentities": "any",
|
|
5
|
+
"allowedStepTypes": [
|
|
6
|
+
"paywall_offer",
|
|
7
|
+
"upsell_offer",
|
|
8
|
+
"checkout"
|
|
9
|
+
],
|
|
10
|
+
"automatic": false,
|
|
11
|
+
"dedupeScope": "event-id",
|
|
12
|
+
"owner": "named-helper",
|
|
13
|
+
"publicName": "add_payment_info",
|
|
14
|
+
"rawName": "add_payment_info",
|
|
15
|
+
"requiredMetadata": [
|
|
16
|
+
"funnelId",
|
|
17
|
+
"funnelVersionId",
|
|
18
|
+
"environment",
|
|
19
|
+
"stepContractVersion",
|
|
20
|
+
"stepId",
|
|
21
|
+
"stepName",
|
|
22
|
+
"stepType",
|
|
23
|
+
"eventId"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"checkout_completed": {
|
|
27
|
+
"allowedStepIdentities": "any",
|
|
28
|
+
"allowedStepTypes": [
|
|
29
|
+
"paywall_offer",
|
|
30
|
+
"upsell_offer",
|
|
31
|
+
"checkout"
|
|
32
|
+
],
|
|
33
|
+
"automatic": false,
|
|
34
|
+
"dedupeScope": "event-id",
|
|
35
|
+
"owner": "named-helper",
|
|
36
|
+
"publicName": "checkout_completed",
|
|
37
|
+
"rawName": "checkout_completed",
|
|
38
|
+
"requiredMetadata": [
|
|
39
|
+
"funnelId",
|
|
40
|
+
"funnelVersionId",
|
|
41
|
+
"environment",
|
|
42
|
+
"stepContractVersion",
|
|
43
|
+
"stepId",
|
|
44
|
+
"stepName",
|
|
45
|
+
"stepType",
|
|
46
|
+
"eventId"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"checkout_started": {
|
|
50
|
+
"allowedStepIdentities": "any",
|
|
51
|
+
"allowedStepTypes": [
|
|
52
|
+
"paywall_offer",
|
|
53
|
+
"upsell_offer",
|
|
54
|
+
"checkout"
|
|
55
|
+
],
|
|
56
|
+
"automatic": false,
|
|
57
|
+
"dedupeScope": "event-id",
|
|
58
|
+
"owner": "named-helper",
|
|
59
|
+
"publicName": "checkout_started",
|
|
60
|
+
"rawName": "checkout_started",
|
|
61
|
+
"requiredMetadata": [
|
|
62
|
+
"funnelId",
|
|
63
|
+
"funnelVersionId",
|
|
64
|
+
"environment",
|
|
65
|
+
"stepContractVersion",
|
|
66
|
+
"stepId",
|
|
67
|
+
"stepName",
|
|
68
|
+
"stepType",
|
|
69
|
+
"eventId"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"email_captured": {
|
|
73
|
+
"allowedStepIdentities": [
|
|
74
|
+
"email-capture"
|
|
75
|
+
],
|
|
76
|
+
"allowedStepTypes": [
|
|
77
|
+
"form_input"
|
|
78
|
+
],
|
|
79
|
+
"automatic": false,
|
|
80
|
+
"dedupeScope": "logical-email-conversion",
|
|
81
|
+
"owner": "transactional-server",
|
|
82
|
+
"publicName": "email_captured",
|
|
83
|
+
"rawName": "email_captured",
|
|
84
|
+
"requiredMetadata": [
|
|
85
|
+
"funnelId",
|
|
86
|
+
"funnelVersionId",
|
|
87
|
+
"environment",
|
|
88
|
+
"stepContractVersion",
|
|
89
|
+
"stepId",
|
|
90
|
+
"stepName",
|
|
91
|
+
"stepType",
|
|
92
|
+
"projectId",
|
|
93
|
+
"funnelEndUserId",
|
|
94
|
+
"eventId"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
"first_step_clicked": {
|
|
98
|
+
"allowedStepIdentities": "any",
|
|
99
|
+
"allowedStepTypes": "any",
|
|
100
|
+
"automatic": true,
|
|
101
|
+
"dedupeScope": "step-visit",
|
|
102
|
+
"owner": "controller",
|
|
103
|
+
"publicName": "first_step_clicked",
|
|
104
|
+
"rawName": "first_step_clicked",
|
|
105
|
+
"requiredMetadata": [
|
|
106
|
+
"funnelId",
|
|
107
|
+
"funnelVersionId",
|
|
108
|
+
"environment",
|
|
109
|
+
"stepContractVersion",
|
|
110
|
+
"stepId",
|
|
111
|
+
"stepName",
|
|
112
|
+
"stepType"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
"first_step_viewed": {
|
|
116
|
+
"allowedStepIdentities": "any",
|
|
117
|
+
"allowedStepTypes": "any",
|
|
118
|
+
"automatic": true,
|
|
119
|
+
"dedupeScope": "step-visit",
|
|
120
|
+
"owner": "controller",
|
|
121
|
+
"publicName": "first_step_viewed",
|
|
122
|
+
"rawName": "first_step_viewed",
|
|
123
|
+
"requiredMetadata": [
|
|
124
|
+
"funnelId",
|
|
125
|
+
"funnelVersionId",
|
|
126
|
+
"environment",
|
|
127
|
+
"stepContractVersion",
|
|
128
|
+
"stepId",
|
|
129
|
+
"stepName",
|
|
130
|
+
"stepType"
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
"funnel_completed": {
|
|
134
|
+
"allowedStepIdentities": "any",
|
|
135
|
+
"allowedStepTypes": [
|
|
136
|
+
"purchase_completed"
|
|
137
|
+
],
|
|
138
|
+
"automatic": false,
|
|
139
|
+
"dedupeScope": "funnel-run",
|
|
140
|
+
"owner": "terminal-helper",
|
|
141
|
+
"publicName": "funnel_completed",
|
|
142
|
+
"rawName": "funnel_completed",
|
|
143
|
+
"requiredMetadata": [
|
|
144
|
+
"funnelId",
|
|
145
|
+
"funnelVersionId",
|
|
146
|
+
"environment",
|
|
147
|
+
"stepContractVersion",
|
|
148
|
+
"stepId",
|
|
149
|
+
"stepName",
|
|
150
|
+
"stepType",
|
|
151
|
+
"eventId"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
"funnel_started": {
|
|
155
|
+
"allowedStepIdentities": "any",
|
|
156
|
+
"allowedStepTypes": "any",
|
|
157
|
+
"automatic": true,
|
|
158
|
+
"dedupeScope": "funnel-run",
|
|
159
|
+
"owner": "controller",
|
|
160
|
+
"publicName": "funnel_started",
|
|
161
|
+
"rawName": "funnel_start",
|
|
162
|
+
"requiredMetadata": [
|
|
163
|
+
"funnelId",
|
|
164
|
+
"funnelVersionId",
|
|
165
|
+
"environment",
|
|
166
|
+
"stepContractVersion"
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
"purchase_completed": {
|
|
170
|
+
"allowedStepIdentities": [],
|
|
171
|
+
"allowedStepTypes": [],
|
|
172
|
+
"automatic": false,
|
|
173
|
+
"dedupeScope": "provider-payment",
|
|
174
|
+
"owner": "trusted-server",
|
|
175
|
+
"publicName": "purchase_completed",
|
|
176
|
+
"rawName": "purchase_completed",
|
|
177
|
+
"requiredMetadata": [
|
|
178
|
+
"funnelId",
|
|
179
|
+
"funnelVersionId",
|
|
180
|
+
"environment",
|
|
181
|
+
"stepContractVersion",
|
|
182
|
+
"projectId",
|
|
183
|
+
"funnelEndUserId",
|
|
184
|
+
"eventId",
|
|
185
|
+
"providerPaymentId",
|
|
186
|
+
"purchaseKind"
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
"registration_completed": {
|
|
190
|
+
"allowedStepIdentities": [],
|
|
191
|
+
"allowedStepTypes": [],
|
|
192
|
+
"automatic": false,
|
|
193
|
+
"dedupeScope": "subscription-claim",
|
|
194
|
+
"owner": "trusted-server",
|
|
195
|
+
"publicName": "registration_completed",
|
|
196
|
+
"rawName": "registration_completed",
|
|
197
|
+
"requiredMetadata": [
|
|
198
|
+
"funnelId",
|
|
199
|
+
"funnelVersionId",
|
|
200
|
+
"environment",
|
|
201
|
+
"stepContractVersion",
|
|
202
|
+
"projectId",
|
|
203
|
+
"funnelEndUserId",
|
|
204
|
+
"eventId",
|
|
205
|
+
"subscriptionClaimId"
|
|
206
|
+
]
|
|
207
|
+
},
|
|
208
|
+
"step_completed": {
|
|
209
|
+
"allowedStepIdentities": "any",
|
|
210
|
+
"allowedStepTypes": "any",
|
|
211
|
+
"automatic": true,
|
|
212
|
+
"dedupeScope": "step-visit",
|
|
213
|
+
"owner": "controller",
|
|
214
|
+
"publicName": "step_completed",
|
|
215
|
+
"rawName": "step_end",
|
|
216
|
+
"requiredMetadata": [
|
|
217
|
+
"funnelId",
|
|
218
|
+
"funnelVersionId",
|
|
219
|
+
"environment",
|
|
220
|
+
"stepContractVersion",
|
|
221
|
+
"stepId",
|
|
222
|
+
"stepName",
|
|
223
|
+
"stepType"
|
|
224
|
+
]
|
|
225
|
+
},
|
|
226
|
+
"step_engaged": {
|
|
227
|
+
"allowedStepIdentities": "any",
|
|
228
|
+
"allowedStepTypes": "any",
|
|
229
|
+
"automatic": false,
|
|
230
|
+
"dedupeScope": "step-visit",
|
|
231
|
+
"owner": "controller",
|
|
232
|
+
"publicName": "step_engaged",
|
|
233
|
+
"rawName": "step_engaged",
|
|
234
|
+
"requiredMetadata": [
|
|
235
|
+
"funnelId",
|
|
236
|
+
"funnelVersionId",
|
|
237
|
+
"environment",
|
|
238
|
+
"stepContractVersion",
|
|
239
|
+
"stepId",
|
|
240
|
+
"stepName",
|
|
241
|
+
"stepType",
|
|
242
|
+
"durationMs"
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
"step_exited": {
|
|
246
|
+
"allowedStepIdentities": "any",
|
|
247
|
+
"allowedStepTypes": "any",
|
|
248
|
+
"automatic": true,
|
|
249
|
+
"dedupeScope": "step-visit",
|
|
250
|
+
"owner": "controller",
|
|
251
|
+
"publicName": "step_exited",
|
|
252
|
+
"rawName": "step_exit",
|
|
253
|
+
"requiredMetadata": [
|
|
254
|
+
"funnelId",
|
|
255
|
+
"funnelVersionId",
|
|
256
|
+
"environment",
|
|
257
|
+
"stepContractVersion",
|
|
258
|
+
"stepId",
|
|
259
|
+
"stepName",
|
|
260
|
+
"stepType"
|
|
261
|
+
]
|
|
262
|
+
},
|
|
263
|
+
"step_started": {
|
|
264
|
+
"allowedStepIdentities": "any",
|
|
265
|
+
"allowedStepTypes": "any",
|
|
266
|
+
"automatic": true,
|
|
267
|
+
"dedupeScope": "step-visit",
|
|
268
|
+
"owner": "controller",
|
|
269
|
+
"publicName": "step_started",
|
|
270
|
+
"rawName": "step_start",
|
|
271
|
+
"requiredMetadata": [
|
|
272
|
+
"funnelId",
|
|
273
|
+
"funnelVersionId",
|
|
274
|
+
"environment",
|
|
275
|
+
"stepContractVersion",
|
|
276
|
+
"stepId",
|
|
277
|
+
"stepName",
|
|
278
|
+
"stepType"
|
|
279
|
+
]
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"capabilityRules": {
|
|
283
|
+
"browser-registration-completed": {
|
|
284
|
+
"allowedStepIdentities": [],
|
|
285
|
+
"allowedStepTypes": [],
|
|
286
|
+
"requiredOwner": "trusted-subscription-claim-server"
|
|
287
|
+
},
|
|
288
|
+
"checkout": {
|
|
289
|
+
"allowedStepIdentities": "any",
|
|
290
|
+
"allowedStepTypes": [
|
|
291
|
+
"paywall_offer",
|
|
292
|
+
"upsell_offer",
|
|
293
|
+
"checkout"
|
|
294
|
+
],
|
|
295
|
+
"requiredOwner": "named-payment-helpers"
|
|
296
|
+
},
|
|
297
|
+
"choice-write": {
|
|
298
|
+
"allowedStepIdentities": "any",
|
|
299
|
+
"allowedStepTypes": [
|
|
300
|
+
"single_step_choice",
|
|
301
|
+
"single_step_choice_emoji",
|
|
302
|
+
"multi_select_choice"
|
|
303
|
+
],
|
|
304
|
+
"requiredOwner": "useStepChoices"
|
|
305
|
+
},
|
|
306
|
+
"email-capture": {
|
|
307
|
+
"allowedStepIdentities": [
|
|
308
|
+
"email-capture"
|
|
309
|
+
],
|
|
310
|
+
"allowedStepTypes": [
|
|
311
|
+
"form_input"
|
|
312
|
+
],
|
|
313
|
+
"requiredOwner": "submitEmailCapture"
|
|
314
|
+
},
|
|
315
|
+
"hardcoded-navigation": {
|
|
316
|
+
"allowedStepIdentities": [],
|
|
317
|
+
"allowedStepTypes": [],
|
|
318
|
+
"requiredOwner": "manifest-flow-controller"
|
|
319
|
+
},
|
|
320
|
+
"provider-direct-analytics": {
|
|
321
|
+
"allowedStepIdentities": [],
|
|
322
|
+
"allowedStepTypes": [],
|
|
323
|
+
"requiredOwner": "analytics-adapter-outbox"
|
|
324
|
+
},
|
|
325
|
+
"subscription-handoff": {
|
|
326
|
+
"allowedStepIdentities": "any",
|
|
327
|
+
"allowedStepTypes": [
|
|
328
|
+
"subscription_handoff",
|
|
329
|
+
"purchase_completed"
|
|
330
|
+
],
|
|
331
|
+
"requiredOwner": "runtime-handoff-helper"
|
|
332
|
+
},
|
|
333
|
+
"subscription-management": {
|
|
334
|
+
"allowedStepIdentities": "any",
|
|
335
|
+
"allowedStepTypes": [
|
|
336
|
+
"subscription_management",
|
|
337
|
+
"cancellation_offer"
|
|
338
|
+
],
|
|
339
|
+
"requiredOwner": "runtime-subscription-helpers"
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
"contractHash": "d761e91d5ac6ff9e72c6d49c5bcd014270912473a66f99c49d726c65998085cf",
|
|
343
|
+
"deferrableDiagnosticCodes": [
|
|
344
|
+
"FG-PARITY-001",
|
|
345
|
+
"FG-REGISTRY-001",
|
|
346
|
+
"FG-CONTENT-001",
|
|
347
|
+
"FG-FLOW-001"
|
|
348
|
+
],
|
|
349
|
+
"migrationGuide": "docs/funnelsgrove/migrations/step-contract-v3.md",
|
|
350
|
+
"reservedStepContracts": {
|
|
351
|
+
"email-capture": {
|
|
352
|
+
"id": "email-capture",
|
|
353
|
+
"match": "exact",
|
|
354
|
+
"name": "email-capture",
|
|
355
|
+
"type": "form_input",
|
|
356
|
+
"unique": true
|
|
357
|
+
},
|
|
358
|
+
"manage-subscription": {
|
|
359
|
+
"id": "manage-subscription",
|
|
360
|
+
"kind": "manage-subscription",
|
|
361
|
+
"match": "exact",
|
|
362
|
+
"name": "manage-subscription",
|
|
363
|
+
"type": "subscription_management",
|
|
364
|
+
"unique": true
|
|
365
|
+
},
|
|
366
|
+
"paywall": {
|
|
367
|
+
"id": "paywall",
|
|
368
|
+
"kind": "paywall",
|
|
369
|
+
"match": "exact",
|
|
370
|
+
"name": "paywall",
|
|
371
|
+
"primary": true,
|
|
372
|
+
"type": "paywall_offer",
|
|
373
|
+
"unique": true
|
|
374
|
+
},
|
|
375
|
+
"paywall-variant": {
|
|
376
|
+
"idPattern": "^paywall-[a-z0-9-]+$",
|
|
377
|
+
"kind": "paywall",
|
|
378
|
+
"match": "pattern",
|
|
379
|
+
"namePattern": "^paywall-[a-z0-9-]+$",
|
|
380
|
+
"primary": false,
|
|
381
|
+
"type": "paywall_offer",
|
|
382
|
+
"unique": false
|
|
383
|
+
},
|
|
384
|
+
"subscription-started": {
|
|
385
|
+
"id": "subscription-started",
|
|
386
|
+
"kind": "subscription-handoff",
|
|
387
|
+
"match": "exact",
|
|
388
|
+
"name": "subscription-started",
|
|
389
|
+
"type": "purchase_completed",
|
|
390
|
+
"unique": true
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"schemaVersion": 1,
|
|
394
|
+
"stepContractVersion": 3,
|
|
395
|
+
"stepContracts": {
|
|
396
|
+
"cancellation_offer": {
|
|
397
|
+
"actionOwner": "step",
|
|
398
|
+
"allowedCustomEvents": [],
|
|
399
|
+
"allowedKinds": [
|
|
400
|
+
"cancellation"
|
|
401
|
+
],
|
|
402
|
+
"description": "A cancellation retention or downsell surface.",
|
|
403
|
+
"family": "commerce",
|
|
404
|
+
"forbiddenCapabilities": [
|
|
405
|
+
"choice-write",
|
|
406
|
+
"email-capture",
|
|
407
|
+
"checkout",
|
|
408
|
+
"subscription-handoff",
|
|
409
|
+
"hardcoded-navigation",
|
|
410
|
+
"provider-direct-analytics",
|
|
411
|
+
"browser-registration-completed"
|
|
412
|
+
],
|
|
413
|
+
"requiredKind": "cancellation",
|
|
414
|
+
"terminal": false
|
|
415
|
+
},
|
|
416
|
+
"checkout": {
|
|
417
|
+
"actionOwner": "step",
|
|
418
|
+
"allowedCustomEvents": [
|
|
419
|
+
"checkout_started",
|
|
420
|
+
"add_payment_info",
|
|
421
|
+
"checkout_completed"
|
|
422
|
+
],
|
|
423
|
+
"allowedKinds": [],
|
|
424
|
+
"description": "A dedicated payment-entry screen.",
|
|
425
|
+
"family": "commerce",
|
|
426
|
+
"forbiddenCapabilities": [
|
|
427
|
+
"choice-write",
|
|
428
|
+
"email-capture",
|
|
429
|
+
"subscription-management",
|
|
430
|
+
"subscription-handoff",
|
|
431
|
+
"hardcoded-navigation",
|
|
432
|
+
"provider-direct-analytics",
|
|
433
|
+
"browser-registration-completed"
|
|
434
|
+
],
|
|
435
|
+
"terminal": false
|
|
436
|
+
},
|
|
437
|
+
"form_input": {
|
|
438
|
+
"actionOwner": "either",
|
|
439
|
+
"allowedCustomEvents": [
|
|
440
|
+
"email_captured"
|
|
441
|
+
],
|
|
442
|
+
"allowedKinds": [],
|
|
443
|
+
"description": "Non-choice structured input, including reserved email capture.",
|
|
444
|
+
"family": "form",
|
|
445
|
+
"forbiddenCapabilities": [
|
|
446
|
+
"choice-write",
|
|
447
|
+
"checkout",
|
|
448
|
+
"subscription-management",
|
|
449
|
+
"subscription-handoff",
|
|
450
|
+
"hardcoded-navigation",
|
|
451
|
+
"provider-direct-analytics",
|
|
452
|
+
"browser-registration-completed"
|
|
453
|
+
],
|
|
454
|
+
"terminal": false
|
|
455
|
+
},
|
|
456
|
+
"intro_hero": {
|
|
457
|
+
"actionOwner": "shared-shell",
|
|
458
|
+
"allowedCustomEvents": [],
|
|
459
|
+
"allowedKinds": [],
|
|
460
|
+
"description": "Opening promise or low-friction entry screen.",
|
|
461
|
+
"family": "content",
|
|
462
|
+
"forbiddenCapabilities": [
|
|
463
|
+
"choice-write",
|
|
464
|
+
"email-capture",
|
|
465
|
+
"checkout",
|
|
466
|
+
"subscription-management",
|
|
467
|
+
"subscription-handoff",
|
|
468
|
+
"hardcoded-navigation",
|
|
469
|
+
"provider-direct-analytics",
|
|
470
|
+
"browser-registration-completed"
|
|
471
|
+
],
|
|
472
|
+
"terminal": false
|
|
473
|
+
},
|
|
474
|
+
"multi_select_choice": {
|
|
475
|
+
"actionOwner": "either",
|
|
476
|
+
"allowedCustomEvents": [],
|
|
477
|
+
"allowedKinds": [],
|
|
478
|
+
"choice": {
|
|
479
|
+
"allowEmptyConfig": true,
|
|
480
|
+
"cardinality": "many",
|
|
481
|
+
"completion": "explicit",
|
|
482
|
+
"presentation": "standard"
|
|
483
|
+
},
|
|
484
|
+
"description": "Multiple options are selected before explicit completion.",
|
|
485
|
+
"family": "choice",
|
|
486
|
+
"forbiddenCapabilities": [
|
|
487
|
+
"email-capture",
|
|
488
|
+
"checkout",
|
|
489
|
+
"subscription-management",
|
|
490
|
+
"subscription-handoff",
|
|
491
|
+
"hardcoded-navigation",
|
|
492
|
+
"provider-direct-analytics",
|
|
493
|
+
"browser-registration-completed"
|
|
494
|
+
],
|
|
495
|
+
"terminal": false
|
|
496
|
+
},
|
|
497
|
+
"paywall_offer": {
|
|
498
|
+
"actionOwner": "step",
|
|
499
|
+
"allowedCustomEvents": [
|
|
500
|
+
"checkout_started",
|
|
501
|
+
"add_payment_info",
|
|
502
|
+
"checkout_completed"
|
|
503
|
+
],
|
|
504
|
+
"allowedKinds": [
|
|
505
|
+
"paywall"
|
|
506
|
+
],
|
|
507
|
+
"analyticsRole": "paywall",
|
|
508
|
+
"description": "A monetization offer that presents purchasable plans.",
|
|
509
|
+
"family": "commerce",
|
|
510
|
+
"forbiddenCapabilities": [
|
|
511
|
+
"choice-write",
|
|
512
|
+
"email-capture",
|
|
513
|
+
"subscription-management",
|
|
514
|
+
"subscription-handoff",
|
|
515
|
+
"hardcoded-navigation",
|
|
516
|
+
"provider-direct-analytics",
|
|
517
|
+
"browser-registration-completed"
|
|
518
|
+
],
|
|
519
|
+
"requiredKind": "paywall",
|
|
520
|
+
"terminal": false
|
|
521
|
+
},
|
|
522
|
+
"progress_interstitial": {
|
|
523
|
+
"actionOwner": "either",
|
|
524
|
+
"allowedCustomEvents": [],
|
|
525
|
+
"allowedKinds": [],
|
|
526
|
+
"description": "Progress, calculation, loading, reveal, or transition screen.",
|
|
527
|
+
"family": "transition",
|
|
528
|
+
"forbiddenCapabilities": [
|
|
529
|
+
"choice-write",
|
|
530
|
+
"email-capture",
|
|
531
|
+
"checkout",
|
|
532
|
+
"subscription-management",
|
|
533
|
+
"subscription-handoff",
|
|
534
|
+
"hardcoded-navigation",
|
|
535
|
+
"provider-direct-analytics",
|
|
536
|
+
"browser-registration-completed"
|
|
537
|
+
],
|
|
538
|
+
"terminal": false
|
|
539
|
+
},
|
|
540
|
+
"purchase_completed": {
|
|
541
|
+
"actionOwner": "step",
|
|
542
|
+
"allowedCustomEvents": [
|
|
543
|
+
"funnel_completed"
|
|
544
|
+
],
|
|
545
|
+
"allowedKinds": [
|
|
546
|
+
"subscription-handoff"
|
|
547
|
+
],
|
|
548
|
+
"analyticsRole": "purchase-completed",
|
|
549
|
+
"description": "The canonical terminal shown after a verified initial purchase.",
|
|
550
|
+
"family": "terminal",
|
|
551
|
+
"forbiddenCapabilities": [
|
|
552
|
+
"choice-write",
|
|
553
|
+
"email-capture",
|
|
554
|
+
"checkout",
|
|
555
|
+
"subscription-management",
|
|
556
|
+
"hardcoded-navigation",
|
|
557
|
+
"provider-direct-analytics",
|
|
558
|
+
"browser-registration-completed"
|
|
559
|
+
],
|
|
560
|
+
"requiredKind": "subscription-handoff",
|
|
561
|
+
"terminal": true
|
|
562
|
+
},
|
|
563
|
+
"single_step_choice": {
|
|
564
|
+
"actionOwner": "step",
|
|
565
|
+
"allowedCustomEvents": [],
|
|
566
|
+
"allowedKinds": [],
|
|
567
|
+
"choice": {
|
|
568
|
+
"allowEmptyConfig": false,
|
|
569
|
+
"cardinality": "one",
|
|
570
|
+
"completion": "selection",
|
|
571
|
+
"presentation": "standard"
|
|
572
|
+
},
|
|
573
|
+
"description": "Exactly one standard option is selected.",
|
|
574
|
+
"family": "choice",
|
|
575
|
+
"forbiddenCapabilities": [
|
|
576
|
+
"email-capture",
|
|
577
|
+
"checkout",
|
|
578
|
+
"subscription-management",
|
|
579
|
+
"subscription-handoff",
|
|
580
|
+
"hardcoded-navigation",
|
|
581
|
+
"provider-direct-analytics",
|
|
582
|
+
"browser-registration-completed"
|
|
583
|
+
],
|
|
584
|
+
"terminal": false
|
|
585
|
+
},
|
|
586
|
+
"single_step_choice_emoji": {
|
|
587
|
+
"actionOwner": "step",
|
|
588
|
+
"allowedCustomEvents": [],
|
|
589
|
+
"allowedKinds": [],
|
|
590
|
+
"choice": {
|
|
591
|
+
"allowEmptyConfig": false,
|
|
592
|
+
"cardinality": "one",
|
|
593
|
+
"completion": "selection",
|
|
594
|
+
"presentation": "emoji"
|
|
595
|
+
},
|
|
596
|
+
"description": "Exactly one emoji-led option is selected.",
|
|
597
|
+
"family": "choice",
|
|
598
|
+
"forbiddenCapabilities": [
|
|
599
|
+
"email-capture",
|
|
600
|
+
"checkout",
|
|
601
|
+
"subscription-management",
|
|
602
|
+
"subscription-handoff",
|
|
603
|
+
"hardcoded-navigation",
|
|
604
|
+
"provider-direct-analytics",
|
|
605
|
+
"browser-registration-completed"
|
|
606
|
+
],
|
|
607
|
+
"terminal": false
|
|
608
|
+
},
|
|
609
|
+
"social_proof": {
|
|
610
|
+
"actionOwner": "shared-shell",
|
|
611
|
+
"allowedCustomEvents": [],
|
|
612
|
+
"allowedKinds": [],
|
|
613
|
+
"description": "Testimonials, reviews, credibility, or evidence.",
|
|
614
|
+
"family": "content",
|
|
615
|
+
"forbiddenCapabilities": [
|
|
616
|
+
"choice-write",
|
|
617
|
+
"email-capture",
|
|
618
|
+
"checkout",
|
|
619
|
+
"subscription-management",
|
|
620
|
+
"subscription-handoff",
|
|
621
|
+
"hardcoded-navigation",
|
|
622
|
+
"provider-direct-analytics",
|
|
623
|
+
"browser-registration-completed"
|
|
624
|
+
],
|
|
625
|
+
"terminal": false
|
|
626
|
+
},
|
|
627
|
+
"subscription_handoff": {
|
|
628
|
+
"actionOwner": "step",
|
|
629
|
+
"allowedCustomEvents": [],
|
|
630
|
+
"allowedKinds": [
|
|
631
|
+
"subscription-handoff"
|
|
632
|
+
],
|
|
633
|
+
"description": "A non-terminal app, store, or deep-link handoff.",
|
|
634
|
+
"family": "commerce",
|
|
635
|
+
"forbiddenCapabilities": [
|
|
636
|
+
"choice-write",
|
|
637
|
+
"email-capture",
|
|
638
|
+
"checkout",
|
|
639
|
+
"subscription-management",
|
|
640
|
+
"hardcoded-navigation",
|
|
641
|
+
"provider-direct-analytics",
|
|
642
|
+
"browser-registration-completed"
|
|
643
|
+
],
|
|
644
|
+
"requiredKind": "subscription-handoff",
|
|
645
|
+
"terminal": false
|
|
646
|
+
},
|
|
647
|
+
"subscription_management": {
|
|
648
|
+
"actionOwner": "step",
|
|
649
|
+
"allowedCustomEvents": [],
|
|
650
|
+
"allowedKinds": [
|
|
651
|
+
"manage-subscription"
|
|
652
|
+
],
|
|
653
|
+
"description": "A screen for managing or inspecting an existing subscription.",
|
|
654
|
+
"family": "commerce",
|
|
655
|
+
"forbiddenCapabilities": [
|
|
656
|
+
"choice-write",
|
|
657
|
+
"email-capture",
|
|
658
|
+
"checkout",
|
|
659
|
+
"subscription-handoff",
|
|
660
|
+
"hardcoded-navigation",
|
|
661
|
+
"provider-direct-analytics",
|
|
662
|
+
"browser-registration-completed"
|
|
663
|
+
],
|
|
664
|
+
"requiredKind": "manage-subscription",
|
|
665
|
+
"terminal": false
|
|
666
|
+
},
|
|
667
|
+
"summary_confirmation": {
|
|
668
|
+
"actionOwner": "either",
|
|
669
|
+
"allowedCustomEvents": [],
|
|
670
|
+
"allowedKinds": [],
|
|
671
|
+
"description": "A summary, review, or confirmation before the next action.",
|
|
672
|
+
"family": "content",
|
|
673
|
+
"forbiddenCapabilities": [
|
|
674
|
+
"choice-write",
|
|
675
|
+
"email-capture",
|
|
676
|
+
"checkout",
|
|
677
|
+
"subscription-management",
|
|
678
|
+
"subscription-handoff",
|
|
679
|
+
"hardcoded-navigation",
|
|
680
|
+
"provider-direct-analytics",
|
|
681
|
+
"browser-registration-completed"
|
|
682
|
+
],
|
|
683
|
+
"terminal": false
|
|
684
|
+
},
|
|
685
|
+
"upsell_offer": {
|
|
686
|
+
"actionOwner": "step",
|
|
687
|
+
"allowedCustomEvents": [
|
|
688
|
+
"checkout_started",
|
|
689
|
+
"add_payment_info",
|
|
690
|
+
"checkout_completed"
|
|
691
|
+
],
|
|
692
|
+
"allowedKinds": [
|
|
693
|
+
"upsell"
|
|
694
|
+
],
|
|
695
|
+
"description": "A post-purchase or upgrade offer.",
|
|
696
|
+
"family": "commerce",
|
|
697
|
+
"forbiddenCapabilities": [
|
|
698
|
+
"choice-write",
|
|
699
|
+
"email-capture",
|
|
700
|
+
"subscription-management",
|
|
701
|
+
"subscription-handoff",
|
|
702
|
+
"hardcoded-navigation",
|
|
703
|
+
"provider-direct-analytics",
|
|
704
|
+
"browser-registration-completed"
|
|
705
|
+
],
|
|
706
|
+
"requiredKind": "upsell",
|
|
707
|
+
"terminal": false
|
|
708
|
+
},
|
|
709
|
+
"value_prop_story": {
|
|
710
|
+
"actionOwner": "shared-shell",
|
|
711
|
+
"allowedCustomEvents": [],
|
|
712
|
+
"allowedKinds": [],
|
|
713
|
+
"description": "Benefit, explanation, motivation, or narrative value screen.",
|
|
714
|
+
"family": "content",
|
|
715
|
+
"forbiddenCapabilities": [
|
|
716
|
+
"choice-write",
|
|
717
|
+
"email-capture",
|
|
718
|
+
"checkout",
|
|
719
|
+
"subscription-management",
|
|
720
|
+
"subscription-handoff",
|
|
721
|
+
"hardcoded-navigation",
|
|
722
|
+
"provider-direct-analytics",
|
|
723
|
+
"browser-registration-completed"
|
|
724
|
+
],
|
|
725
|
+
"terminal": false
|
|
726
|
+
}
|
|
727
|
+
},
|
|
728
|
+
"supportedStepContractVersions": [
|
|
729
|
+
1,
|
|
730
|
+
2,
|
|
731
|
+
3
|
|
732
|
+
]
|
|
733
|
+
}
|