@exodus/analytics-validation 3.3.0 → 3.6.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.
Files changed (38) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/lib/common-properties.schemasafe.json +10 -0
  3. package/lib/events.d.ts +164 -0
  4. package/lib/exchange/exchange-swap.schemasafe.json +3 -0
  5. package/lib/exchange/exchange-time-trace.schemasafe.json +9 -0
  6. package/lib/main.schemasafe.json +93 -0
  7. package/lib/pay/pay-rewards-banner-dismiss.schemasafe.json +27 -0
  8. package/lib/pay/pay-rewards-banner-view.schemasafe.json +31 -0
  9. package/lib/pay/pay-rewards-dashboard-view.schemasafe.json +36 -0
  10. package/lib/pay/pay-rewards-disable.schemasafe.json +22 -0
  11. package/lib/pay/pay-rewards-join.schemasafe.json +50 -0
  12. package/lib/pay/pay-rewards-onboarding-dismiss.schemasafe.json +49 -0
  13. package/lib/pay/pay-rewards-onboarding-view.schemasafe.json +55 -0
  14. package/lib/pay/pay-rewards-redeem.schemasafe.json +36 -0
  15. package/lib/pay/pay-rewards-terms-view.schemasafe.json +34 -0
  16. package/lib/pay/pay-rewards-wishlist-submit.schemasafe.json +50 -0
  17. package/lib/pay/rebalancing-attempted.schemasafe.json +21 -0
  18. package/lib/pay/rebalancing-failed.schemasafe.json +34 -0
  19. package/lib/pay/rebalancing-succeeded.schemasafe.json +22 -0
  20. package/lib/wealth/stocks-buy-add-cash-tap.schemasafe.json +38 -0
  21. package/lib/wealth/stocks-fund-amount-dismissed.schemasafe.json +64 -0
  22. package/lib/wealth/stocks-fund-amount-view.schemasafe.json +34 -0
  23. package/lib/wealth/stocks-fund-blocked.schemasafe.json +58 -0
  24. package/lib/wealth/stocks-fund-confirm-dismissed.schemasafe.json +32 -0
  25. package/lib/wealth/stocks-fund-confirm-view.schemasafe.json +26 -0
  26. package/lib/wealth/stocks-fund-deposit-tap.schemasafe.json +30 -0
  27. package/lib/wealth/stocks-fund-error.schemasafe.json +30 -0
  28. package/lib/wealth/stocks-fund-success.schemasafe.json +29 -0
  29. package/lib/wealth/stocks-fund.schemasafe.json +26 -0
  30. package/lib/wealth/stocks-withdraw-amount-dismissed.schemasafe.json +64 -0
  31. package/lib/wealth/stocks-withdraw-amount-view.schemasafe.json +27 -0
  32. package/lib/wealth/stocks-withdraw-blocked.schemasafe.json +58 -0
  33. package/lib/wealth/stocks-withdraw-confirm-dismissed.schemasafe.json +32 -0
  34. package/lib/wealth/stocks-withdraw-confirm-view.schemasafe.json +29 -0
  35. package/lib/wealth/stocks-withdraw-error.schemasafe.json +30 -0
  36. package/lib/wealth/stocks-withdraw-success.schemasafe.json +29 -0
  37. package/lib/wealth/stocks-withdraw.schemasafe.json +29 -0
  38. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -3,6 +3,34 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.6.0](https://github.com/ExodusMovement/exodus/compare/@exodus/analytics-validation@3.5.0...@exodus/analytics-validation@3.6.0) (2026-09-24)
7
+
8
+ ### Features
9
+
10
+ - **analytics:** add pay rewards event schemas and joined super property ([#45676](https://github.com/ExodusMovement/exodus/issues/45676)) ([29f7892](https://github.com/ExodusMovement/exodus/commit/29f78924bfafbc2c0dcd5d161a401b4744d5a48c))
11
+
12
+ ## [3.5.0](https://github.com/ExodusMovement/exodus/compare/@exodus/analytics-validation@3.3.0...@exodus/analytics-validation@3.5.0) (2026-09-23)
13
+
14
+ ### Features
15
+
16
+ - **analytics-libs:** track fund and withdraw telemetry for markets ([#43186](https://github.com/ExodusMovement/exodus/issues/43186)) ([dfd1a61](https://github.com/ExodusMovement/exodus/commit/dfd1a61371b0be3b818d0055891bc982c0f9b95d))
17
+ - **analytics-validation:** add Rebalancing lifecycle events ([#45640](https://github.com/ExodusMovement/exodus/issues/45640)) ([5d600df](https://github.com/ExodusMovement/exodus/commit/5d600dfbb77aa2ab2962dc81ff771555d74393d2))
18
+
19
+ ### Bug Fixes
20
+
21
+ - **exchange:** abort stale swaps before broadcasting the deposit ([#44416](https://github.com/ExodusMovement/exodus/issues/44416)) ([50150cc](https://github.com/ExodusMovement/exodus/commit/50150cc22190d1767d5b1008ad3bddfcee6d47bf))
22
+
23
+ ## [3.4.0](https://github.com/ExodusMovement/exodus/compare/@exodus/analytics-validation@3.3.0...@exodus/analytics-validation@3.4.0) (2026-09-23)
24
+
25
+ ### Features
26
+
27
+ - **analytics-libs:** track fund and withdraw telemetry for markets ([#43186](https://github.com/ExodusMovement/exodus/issues/43186)) ([dfd1a61](https://github.com/ExodusMovement/exodus/commit/dfd1a61371b0be3b818d0055891bc982c0f9b95d))
28
+ - **analytics-validation:** add Rebalancing lifecycle events ([#45640](https://github.com/ExodusMovement/exodus/issues/45640)) ([5d600df](https://github.com/ExodusMovement/exodus/commit/5d600dfbb77aa2ab2962dc81ff771555d74393d2))
29
+
30
+ ### Bug Fixes
31
+
32
+ - **exchange:** abort stale swaps before broadcasting the deposit ([#44416](https://github.com/ExodusMovement/exodus/issues/44416)) ([50150cc](https://github.com/ExodusMovement/exodus/commit/50150cc22190d1767d5b1008ad3bddfcee6d47bf))
33
+
6
34
  ## [3.3.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@3.2.1...@exodus/analytics-validation@3.3.0) (2026-07-09)
7
35
 
8
36
  ### Features
@@ -429,6 +429,16 @@
429
429
  },
430
430
  "pay_has_saved_deposit_method": {
431
431
  "type": "boolean"
432
+ },
433
+ "pay_rewards_joined": {
434
+ "type": "boolean"
435
+ },
436
+ "pay_rewards_available": {
437
+ "type": "boolean"
438
+ },
439
+ "pay_rewards_cohort": {
440
+ "type": "string",
441
+ "enum": ["solana", "ethereum", "other_evm", "tron", "none"]
432
442
  }
433
443
  }
434
444
  }
package/lib/events.d.ts CHANGED
@@ -81,6 +81,9 @@ export type AnalyticsCommonProperties = {
81
81
  payHasPayAsDefault?: boolean
82
82
  payHasPayAvailable?: boolean
83
83
  payHasSavedDepositMethod?: boolean
84
+ payRewardsJoined?: boolean
85
+ payRewardsAvailable?: boolean
86
+ payRewardsCohort?: "solana" | "ethereum" | "other_evm" | "tron" | "none"
84
87
  }
85
88
 
86
89
  export type PredictionsProperties = {
@@ -351,6 +354,7 @@ export interface AnalyticsEventMap {
351
354
  portfolioFromAccountSource: string
352
355
  portfolioToAccountSource: string
353
356
  userAmountFromUsd: number
357
+ rewardsPointsEstimate?: number | null
354
358
  }
355
359
  "ExchangeSwapUnavailableView": {
356
360
  userAssetTo: string
@@ -387,6 +391,9 @@ export interface AnalyticsEventMap {
387
391
  revokeTokens?: number
388
392
  createTxBundle?: number
389
393
  sendTxBundle?: number
394
+ executeTrade?: number
395
+ timeToBroadcast?: number
396
+ staleSwapAborted?: boolean
390
397
  }
391
398
  "ExodusTransactionBroadcast": {
392
399
  asset?: "SOL"
@@ -1109,6 +1116,59 @@ export interface AnalyticsEventMap {
1109
1116
  isAnyAmount?: boolean
1110
1117
  }
1111
1118
  "PayRequestView": {}
1119
+ "PayRewardsBannerDismiss": {
1120
+ invitation?: "new" | "existing"
1121
+ }
1122
+ "PayRewardsBannerView": {
1123
+ surface?: "wallet_carousel" | "pay_home"
1124
+ invitation?: "new" | "existing"
1125
+ }
1126
+ "PayRewardsDashboardView": {
1127
+ entryPoint?: "pay_home_card" | "wallet_banner" | "onboarding" | "settings"
1128
+ pointsTotal?: number
1129
+ pointsPending?: number
1130
+ canRedeem?: boolean
1131
+ }
1132
+ "PayRewardsDisable": {}
1133
+ "PayRewardsJoin": {
1134
+ entryPoint?: "wallet_banner" | "pay_home_card" | "settings" | "dashboard_info" | "disable_sheet" | "cash_banner"
1135
+ introVariant?: "new_user" | "existing_pay_user"
1136
+ eligibleAssetCount?: number
1137
+ eligibleBalanceUsd?: number
1138
+ networkFeeUsd?: number | null
1139
+ feeReimbursementPoints?: number | null
1140
+ }
1141
+ "PayRewardsOnboardingDismiss": {
1142
+ stepName?: "welcome_preview" | "intro" | "store" | "benefits" | "join" | "welcome"
1143
+ dismissMethod?: "swipe_down" | "back" | "close" | "not_now"
1144
+ consentToggled?: boolean
1145
+ entryPoint?: "wallet_banner" | "pay_home_card" | "settings" | "dashboard_info" | "disable_sheet" | "cash_banner"
1146
+ introVariant?: "new_user" | "existing_pay_user"
1147
+ }
1148
+ "PayRewardsOnboardingView": {
1149
+ stepName?: "welcome_preview" | "intro" | "store" | "benefits" | "join" | "welcome"
1150
+ entryPoint?: "wallet_banner" | "pay_home_card" | "settings" | "dashboard_info" | "disable_sheet" | "cash_banner"
1151
+ introVariant?: "new_user" | "existing_pay_user"
1152
+ isInformational?: boolean
1153
+ resumed?: boolean
1154
+ creditStatus?: "estimated" | "confirmed" | "delayed" | "error" | null
1155
+ points?: number | null
1156
+ }
1157
+ "PayRewardsRedeem": {
1158
+ success?: boolean
1159
+ points?: number | null
1160
+ amountUsd?: number | null
1161
+ errorType?: "insufficient_points" | "conversion_disabled" | "network" | "other" | null
1162
+ }
1163
+ "PayRewardsTermsView": {
1164
+ entryPoint?: "wallet_banner" | "pay_home_card" | "settings" | "dashboard_info" | "disable_sheet" | "cash_banner"
1165
+ }
1166
+ "PayRewardsWishlistSubmit": {
1167
+ storeSelected?: Array<string>
1168
+ wishlistSelected?: Array<string>
1169
+ entryPoint?: "wallet_banner" | "pay_home_card" | "settings" | "dashboard_info" | "disable_sheet" | "cash_banner"
1170
+ introVariant?: "new_user" | "existing_pay_user"
1171
+ }
1112
1172
  "PayWithdrawAddressView": {
1113
1173
  tokenType?: "stablecoin" | "crypto"
1114
1174
  }
@@ -1148,6 +1208,28 @@ export interface AnalyticsEventMap {
1148
1208
  orderTo: number
1149
1209
  featureName: string
1150
1210
  }
1211
+ "RebalancingAttempted": {
1212
+ sourceAsset: string
1213
+ targetAsset: string
1214
+ amountUsd: number
1215
+ attemptNumber: number
1216
+ }
1217
+ "RebalancingFailed": {
1218
+ sourceAsset: string
1219
+ targetAsset: string
1220
+ amountUsd: number
1221
+ attemptNumber: number
1222
+ durationMs: number
1223
+ failureReasonType: "create_deposit_transaction" | "transfer" | "broadcast"
1224
+ retryBackoffMs: number
1225
+ }
1226
+ "RebalancingSucceeded": {
1227
+ sourceAsset: string
1228
+ targetAsset: string
1229
+ amountUsd: number
1230
+ attemptNumber: number
1231
+ durationMs: number
1232
+ }
1151
1233
  "ReferralCodeInput": {
1152
1234
  success?: boolean
1153
1235
  }
@@ -1336,6 +1418,12 @@ export interface AnalyticsEventMap {
1336
1418
  confirmReadyS?: number
1337
1419
  timeToConfirmS?: number
1338
1420
  }
1421
+ "StocksBuyAddCashTap": {
1422
+ asset?: string
1423
+ amountUsd?: number
1424
+ balanceUsd?: number
1425
+ shortfallUsd?: number
1426
+ }
1339
1427
  "StocksBuyAmountDismissed": {
1340
1428
  asset?: string
1341
1429
  amountUsd?: number
@@ -1403,6 +1491,46 @@ export interface AnalyticsEventMap {
1403
1491
  "StocksBuyView": {
1404
1492
  asset?: string
1405
1493
  }
1494
+ "StocksFund": {
1495
+ amountUsd?: number
1496
+ }
1497
+ "StocksFundAmountDismissed": {
1498
+ amountUsd?: number
1499
+ buttonReady?: boolean
1500
+ errorType?: "READ_ONLY_WALLET_ACCOUNT" | "EXCHANGE_UNAVAILABLE" | "MUST_OPT_IN" | "LOW_SOL_RENT_EXEMPT_AMOUNT" | "ZERO_BALANCE" | "NOT_ENOUGH_BALANCE" | "LOW_FROM_AMOUNT" | "HIGH_FROM_AMOUNT" | "NOT_ENOUGH_FEE_BALANCE" | "EXACT_OUT_QUOTE" | "MARKET_CLOSED" | "ASSET_PAUSED" | "INTERNAL_ERROR" | "HIGH_RISK_TOKENS" | "INVALID_ADDRESS" | "INSUFFICIENT_LIQUIDITY" | "UNSUPPORTED_SWAP_MODE" | "RESTRICTED_REGION" | "AMOUNT_ABOVE_LIMIT" | "AMOUNT_BELOW_LIMIT" | "PAIR_UNAVAILABLE" | "EOS_ACCOUNT_CREATION_IN_PROGRESS" | "TRANSACTION_STUCK"
1501
+ balanceUsd?: number
1502
+ durationS?: number
1503
+ }
1504
+ "StocksFundAmountView": {
1505
+ origin?: "home" | "buy_insufficient" | "pay_home"
1506
+ balanceUsd?: number
1507
+ amountPrefilledUsd?: number
1508
+ }
1509
+ "StocksFundBlocked": {
1510
+ errorType?: "READ_ONLY_WALLET_ACCOUNT" | "EXCHANGE_UNAVAILABLE" | "MUST_OPT_IN" | "LOW_SOL_RENT_EXEMPT_AMOUNT" | "ZERO_BALANCE" | "NOT_ENOUGH_BALANCE" | "LOW_FROM_AMOUNT" | "HIGH_FROM_AMOUNT" | "NOT_ENOUGH_FEE_BALANCE" | "EXACT_OUT_QUOTE" | "MARKET_CLOSED" | "ASSET_PAUSED" | "INTERNAL_ERROR" | "HIGH_RISK_TOKENS" | "INVALID_ADDRESS" | "INSUFFICIENT_LIQUIDITY" | "UNSUPPORTED_SWAP_MODE" | "RESTRICTED_REGION" | "AMOUNT_ABOVE_LIMIT" | "AMOUNT_BELOW_LIMIT" | "PAIR_UNAVAILABLE" | "EOS_ACCOUNT_CREATION_IN_PROGRESS" | "TRANSACTION_STUCK"
1511
+ amountUsd?: number
1512
+ balanceUsd?: number
1513
+ }
1514
+ "StocksFundConfirmDismissed": {
1515
+ amountUsd?: number
1516
+ confirmReady?: boolean
1517
+ durationS?: number
1518
+ }
1519
+ "StocksFundConfirmView": {
1520
+ amountUsd?: number
1521
+ }
1522
+ "StocksFundDepositTap": {
1523
+ balanceUsd?: number
1524
+ amountUsd?: number
1525
+ }
1526
+ "StocksFundError": {
1527
+ errorType?: "transfer_failed" | "NO_QUOTE"
1528
+ amountUsd?: number
1529
+ }
1530
+ "StocksFundSuccess": {
1531
+ amountUsd?: number
1532
+ durationS?: number
1533
+ }
1406
1534
  "StocksGeoBlockedView": {}
1407
1535
  "StocksHomeView": {}
1408
1536
  "StocksOnboardingComplete": {}
@@ -1449,6 +1577,42 @@ export interface AnalyticsEventMap {
1449
1577
  "StocksSellView": {
1450
1578
  asset?: string
1451
1579
  }
1580
+ "StocksWithdraw": {
1581
+ amountUsd?: number
1582
+ withdrawAll?: boolean
1583
+ }
1584
+ "StocksWithdrawAmountDismissed": {
1585
+ amountUsd?: number
1586
+ buttonReady?: boolean
1587
+ errorType?: "READ_ONLY_WALLET_ACCOUNT" | "EXCHANGE_UNAVAILABLE" | "MUST_OPT_IN" | "LOW_SOL_RENT_EXEMPT_AMOUNT" | "ZERO_BALANCE" | "NOT_ENOUGH_BALANCE" | "LOW_FROM_AMOUNT" | "HIGH_FROM_AMOUNT" | "NOT_ENOUGH_FEE_BALANCE" | "EXACT_OUT_QUOTE" | "MARKET_CLOSED" | "ASSET_PAUSED" | "INTERNAL_ERROR" | "HIGH_RISK_TOKENS" | "INVALID_ADDRESS" | "INSUFFICIENT_LIQUIDITY" | "UNSUPPORTED_SWAP_MODE" | "RESTRICTED_REGION" | "AMOUNT_ABOVE_LIMIT" | "AMOUNT_BELOW_LIMIT" | "PAIR_UNAVAILABLE" | "EOS_ACCOUNT_CREATION_IN_PROGRESS" | "TRANSACTION_STUCK"
1588
+ balanceUsd?: number
1589
+ durationS?: number
1590
+ }
1591
+ "StocksWithdrawAmountView": {
1592
+ balanceUsd?: number
1593
+ }
1594
+ "StocksWithdrawBlocked": {
1595
+ errorType?: "READ_ONLY_WALLET_ACCOUNT" | "EXCHANGE_UNAVAILABLE" | "MUST_OPT_IN" | "LOW_SOL_RENT_EXEMPT_AMOUNT" | "ZERO_BALANCE" | "NOT_ENOUGH_BALANCE" | "LOW_FROM_AMOUNT" | "HIGH_FROM_AMOUNT" | "NOT_ENOUGH_FEE_BALANCE" | "EXACT_OUT_QUOTE" | "MARKET_CLOSED" | "ASSET_PAUSED" | "INTERNAL_ERROR" | "HIGH_RISK_TOKENS" | "INVALID_ADDRESS" | "INSUFFICIENT_LIQUIDITY" | "UNSUPPORTED_SWAP_MODE" | "RESTRICTED_REGION" | "AMOUNT_ABOVE_LIMIT" | "AMOUNT_BELOW_LIMIT" | "PAIR_UNAVAILABLE" | "EOS_ACCOUNT_CREATION_IN_PROGRESS" | "TRANSACTION_STUCK"
1596
+ amountUsd?: number
1597
+ balanceUsd?: number
1598
+ }
1599
+ "StocksWithdrawConfirmDismissed": {
1600
+ amountUsd?: number
1601
+ confirmReady?: boolean
1602
+ durationS?: number
1603
+ }
1604
+ "StocksWithdrawConfirmView": {
1605
+ amountUsd?: number
1606
+ withdrawAll?: boolean
1607
+ }
1608
+ "StocksWithdrawError": {
1609
+ errorType?: "transfer_failed" | "NO_QUOTE"
1610
+ amountUsd?: number
1611
+ }
1612
+ "StocksWithdrawSuccess": {
1613
+ amountUsd?: number
1614
+ durationS?: number
1615
+ }
1452
1616
  "SupportFeedbackTap": {
1453
1617
  feedback?: number
1454
1618
  }
@@ -30,6 +30,9 @@
30
30
  },
31
31
  "user_amount_from_usd": {
32
32
  "type": "number"
33
+ },
34
+ "rewards_points_estimate": {
35
+ "type": ["number", "null"]
33
36
  }
34
37
  },
35
38
  "unevaluatedProperties": false
@@ -94,6 +94,15 @@
94
94
  },
95
95
  "send_tx_bundle": {
96
96
  "type": "number"
97
+ },
98
+ "execute_trade": {
99
+ "type": "number"
100
+ },
101
+ "time_to_broadcast": {
102
+ "type": "number"
103
+ },
104
+ "stale_swap_aborted": {
105
+ "type": "boolean"
97
106
  }
98
107
  },
99
108
  "unevaluatedProperties": false
@@ -638,6 +638,36 @@
638
638
  {
639
639
  "$ref": "pay-request-view#"
640
640
  },
641
+ {
642
+ "$ref": "pay-rewards-banner-dismiss#"
643
+ },
644
+ {
645
+ "$ref": "pay-rewards-banner-view#"
646
+ },
647
+ {
648
+ "$ref": "pay-rewards-dashboard-view#"
649
+ },
650
+ {
651
+ "$ref": "pay-rewards-disable#"
652
+ },
653
+ {
654
+ "$ref": "pay-rewards-join#"
655
+ },
656
+ {
657
+ "$ref": "pay-rewards-onboarding-dismiss#"
658
+ },
659
+ {
660
+ "$ref": "pay-rewards-onboarding-view#"
661
+ },
662
+ {
663
+ "$ref": "pay-rewards-redeem#"
664
+ },
665
+ {
666
+ "$ref": "pay-rewards-terms-view#"
667
+ },
668
+ {
669
+ "$ref": "pay-rewards-wishlist-submit#"
670
+ },
641
671
  {
642
672
  "$ref": "pay-withdraw-address-view#"
643
673
  },
@@ -650,6 +680,15 @@
650
680
  {
651
681
  "$ref": "pay-withdraw-type-selected#"
652
682
  },
683
+ {
684
+ "$ref": "rebalancing-attempted#"
685
+ },
686
+ {
687
+ "$ref": "rebalancing-failed#"
688
+ },
689
+ {
690
+ "$ref": "rebalancing-succeeded#"
691
+ },
653
692
  {
654
693
  "$ref": "performance-app-startup#"
655
694
  },
@@ -1049,6 +1088,9 @@
1049
1088
  {
1050
1089
  "$ref": "stocks-asset-detail-view#"
1051
1090
  },
1091
+ {
1092
+ "$ref": "stocks-buy-add-cash-tap#"
1093
+ },
1052
1094
  {
1053
1095
  "$ref": "stocks-buy-amount-dismissed#"
1054
1096
  },
@@ -1091,6 +1133,33 @@
1091
1133
  {
1092
1134
  "$ref": "stocks-buy#"
1093
1135
  },
1136
+ {
1137
+ "$ref": "stocks-fund-amount-dismissed#"
1138
+ },
1139
+ {
1140
+ "$ref": "stocks-fund-amount-view#"
1141
+ },
1142
+ {
1143
+ "$ref": "stocks-fund-blocked#"
1144
+ },
1145
+ {
1146
+ "$ref": "stocks-fund-confirm-dismissed#"
1147
+ },
1148
+ {
1149
+ "$ref": "stocks-fund-confirm-view#"
1150
+ },
1151
+ {
1152
+ "$ref": "stocks-fund-deposit-tap#"
1153
+ },
1154
+ {
1155
+ "$ref": "stocks-fund-error#"
1156
+ },
1157
+ {
1158
+ "$ref": "stocks-fund-success#"
1159
+ },
1160
+ {
1161
+ "$ref": "stocks-fund#"
1162
+ },
1094
1163
  {
1095
1164
  "$ref": "stocks-geo-blocked-view#"
1096
1165
  },
@@ -1133,6 +1202,30 @@
1133
1202
  {
1134
1203
  "$ref": "stocks-sell#"
1135
1204
  },
1205
+ {
1206
+ "$ref": "stocks-withdraw-amount-dismissed#"
1207
+ },
1208
+ {
1209
+ "$ref": "stocks-withdraw-amount-view#"
1210
+ },
1211
+ {
1212
+ "$ref": "stocks-withdraw-blocked#"
1213
+ },
1214
+ {
1215
+ "$ref": "stocks-withdraw-confirm-dismissed#"
1216
+ },
1217
+ {
1218
+ "$ref": "stocks-withdraw-confirm-view#"
1219
+ },
1220
+ {
1221
+ "$ref": "stocks-withdraw-error#"
1222
+ },
1223
+ {
1224
+ "$ref": "stocks-withdraw-success#"
1225
+ },
1226
+ {
1227
+ "$ref": "stocks-withdraw#"
1228
+ },
1136
1229
  {
1137
1230
  "$ref": "web3-browser-connection-deleted#"
1138
1231
  },
@@ -0,0 +1,27 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "PayRewardsBannerDismiss"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "invitation": {
18
+ "type": "string",
19
+ "enum": ["new", "existing"]
20
+ }
21
+ },
22
+ "unevaluatedProperties": false
23
+ }
24
+ },
25
+ "unevaluatedProperties": false,
26
+ "required": ["event", "properties"]
27
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "PayRewardsBannerView"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "surface": {
18
+ "type": "string",
19
+ "enum": ["wallet_carousel", "pay_home"]
20
+ },
21
+ "invitation": {
22
+ "type": "string",
23
+ "enum": ["new", "existing"]
24
+ }
25
+ },
26
+ "unevaluatedProperties": false
27
+ }
28
+ },
29
+ "unevaluatedProperties": false,
30
+ "required": ["event", "properties"]
31
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "PayRewardsDashboardView"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "entry_point": {
18
+ "type": "string",
19
+ "enum": ["pay_home_card", "wallet_banner", "onboarding", "settings"]
20
+ },
21
+ "points_total": {
22
+ "type": "number"
23
+ },
24
+ "points_pending": {
25
+ "type": "number"
26
+ },
27
+ "can_redeem": {
28
+ "type": "boolean"
29
+ }
30
+ },
31
+ "unevaluatedProperties": false
32
+ }
33
+ },
34
+ "unevaluatedProperties": false,
35
+ "required": ["event", "properties"]
36
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "PayRewardsDisable"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {},
17
+ "unevaluatedProperties": false
18
+ }
19
+ },
20
+ "unevaluatedProperties": false,
21
+ "required": ["event", "properties"]
22
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "PayRewardsJoin"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "entry_point": {
18
+ "type": "string",
19
+ "enum": [
20
+ "wallet_banner",
21
+ "pay_home_card",
22
+ "settings",
23
+ "dashboard_info",
24
+ "disable_sheet",
25
+ "cash_banner"
26
+ ]
27
+ },
28
+ "intro_variant": {
29
+ "type": "string",
30
+ "enum": ["new_user", "existing_pay_user"]
31
+ },
32
+ "eligible_asset_count": {
33
+ "type": "number"
34
+ },
35
+ "eligible_balance_usd": {
36
+ "type": "number"
37
+ },
38
+ "network_fee_usd": {
39
+ "type": ["number", "null"]
40
+ },
41
+ "fee_reimbursement_points": {
42
+ "type": ["number", "null"]
43
+ }
44
+ },
45
+ "unevaluatedProperties": false
46
+ }
47
+ },
48
+ "unevaluatedProperties": false,
49
+ "required": ["event", "properties"]
50
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "PayRewardsOnboardingDismiss"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": [],
16
+ "properties": {
17
+ "step_name": {
18
+ "type": "string",
19
+ "enum": ["welcome_preview", "intro", "store", "benefits", "join", "welcome"]
20
+ },
21
+ "dismiss_method": {
22
+ "type": "string",
23
+ "enum": ["swipe_down", "back", "close", "not_now"]
24
+ },
25
+ "consent_toggled": {
26
+ "type": "boolean"
27
+ },
28
+ "entry_point": {
29
+ "type": "string",
30
+ "enum": [
31
+ "wallet_banner",
32
+ "pay_home_card",
33
+ "settings",
34
+ "dashboard_info",
35
+ "disable_sheet",
36
+ "cash_banner"
37
+ ]
38
+ },
39
+ "intro_variant": {
40
+ "type": "string",
41
+ "enum": ["new_user", "existing_pay_user"]
42
+ }
43
+ },
44
+ "unevaluatedProperties": false
45
+ }
46
+ },
47
+ "unevaluatedProperties": false,
48
+ "required": ["event", "properties"]
49
+ }