@tinkerlandai/longplay-sdk 0.10.58 → 0.10.60

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 (114) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +2 -1
  3. package/README.zh-CN.md +2 -1
  4. package/dist/{ai-usage-DBcYB8ix.d.ts → ai-usage-DM3jAubK.d.ts} +1 -1
  5. package/dist/{api-1Tplv-7M.d.ts → api-KIp0I50M.d.ts} +21 -21
  6. package/dist/check-response-K56UEZ6E.js +1 -0
  7. package/dist/{chunk-ZG3EYP5L.js → chunk-2KM537QH.js} +1 -1
  8. package/dist/{chunk-GCTD4RXV.js → chunk-2RFI2DEV.js} +1 -1
  9. package/dist/{chunk-KXA4JHFW.js → chunk-32AEJKJW.js} +1 -1
  10. package/dist/{chunk-XQAGF6SQ.js → chunk-45PGU2HW.js} +1 -1
  11. package/dist/{chunk-P2JQEGYV.js → chunk-4OODZM64.js} +1 -1
  12. package/dist/{chunk-YJ2IOBHW.js → chunk-4SI4SQ3C.js} +1 -1
  13. package/dist/{chunk-4VZCPOVE.js → chunk-5LNX7MHO.js} +1 -1
  14. package/dist/chunk-5MRSFLQA.js +1 -0
  15. package/dist/{chunk-AIRW6CZ7.js → chunk-5QVMWM2X.js} +1 -1
  16. package/dist/chunk-6TETQL5Z.js +1 -0
  17. package/dist/{chunk-LDNDI6G3.js → chunk-77O2O552.js} +1 -1
  18. package/dist/{chunk-4UOJT46E.js → chunk-7GIP3RNR.js} +1 -1
  19. package/dist/{chunk-RXEYS3X5.js → chunk-7STWC4L4.js} +1 -1
  20. package/dist/{chunk-EHYW66EH.js → chunk-BJW4AXFL.js} +1 -1
  21. package/dist/{chunk-227Z7LU4.js → chunk-C3HZCZVJ.js} +1 -1
  22. package/dist/{chunk-YIHMOK6T.js → chunk-DBYRJ4QV.js} +1 -1
  23. package/dist/{chunk-NQZ23AGQ.js → chunk-EB7MIZ4T.js} +1 -1
  24. package/dist/{chunk-G2JC7G3R.js → chunk-EE6QNOCL.js} +1 -1
  25. package/dist/{chunk-PZTFSADV.js → chunk-EKUDMQXT.js} +1 -1
  26. package/dist/{chunk-T7AK4QLG.js → chunk-FQMZY5VP.js} +1 -1
  27. package/dist/{chunk-6VWVBQFR.js → chunk-HUYKZH3H.js} +1 -1
  28. package/dist/{chunk-EP2L4VTS.js → chunk-IM5OXTEH.js} +1 -1
  29. package/dist/{chunk-4BHGHPI5.js → chunk-J4JJZN24.js} +1 -1
  30. package/dist/{chunk-GIX2F53I.js → chunk-JBSJ3JU2.js} +1 -1
  31. package/dist/{chunk-6HNCADWS.js → chunk-JEDRJAJ5.js} +1 -1
  32. package/dist/chunk-KBST6VBH.js +1 -0
  33. package/dist/{chunk-2PY7INHO.js → chunk-KTWKDR5L.js} +1 -1
  34. package/dist/{chunk-46MFVWRW.js → chunk-MB2U2GWJ.js} +1 -1
  35. package/dist/{chunk-NFZUVZJP.js → chunk-NAFHQVSX.js} +1 -1
  36. package/dist/{chunk-NPKNI2UD.js → chunk-NDNHTG5B.js} +1 -1
  37. package/dist/{chunk-XQJW2RXY.js → chunk-PGLBFTRK.js} +1 -1
  38. package/dist/{chunk-D26ZQC46.js → chunk-PJHTN5NJ.js} +1 -1
  39. package/dist/chunk-QJPH7AFI.js +1 -0
  40. package/dist/chunk-QXDLOPZK.js +1 -0
  41. package/dist/{chunk-PYTI77BV.js → chunk-R4CYPCBI.js} +1 -1
  42. package/dist/{chunk-LB2ZRTRA.js → chunk-RIEWU4MN.js} +1 -1
  43. package/dist/{chunk-GLVCBJL5.js → chunk-RUGB7NAN.js} +1 -1
  44. package/dist/chunk-S24PK62Y.js +1 -0
  45. package/dist/chunk-S3QZOIUO.js +1 -0
  46. package/dist/{chunk-IJQFSZQG.js → chunk-S55446VK.js} +1 -1
  47. package/dist/{chunk-QA3LXFSK.js → chunk-S5RM3VO6.js} +1 -1
  48. package/dist/chunk-TBXHEGSY.js +1 -0
  49. package/dist/{chunk-Y2DUFDPV.js → chunk-TK3WOD2O.js} +1 -1
  50. package/dist/{chunk-WILVPHE6.js → chunk-UM5R4RNN.js} +2 -2
  51. package/dist/{chunk-RSKDG2VD.js → chunk-VNYUL3PV.js} +1 -1
  52. package/dist/{chunk-LTWU7HH5.js → chunk-VXDVMAS6.js} +1 -1
  53. package/dist/{chunk-XBF44N3Z.js → chunk-XCFAKO23.js} +1 -1
  54. package/dist/{chunk-RB2SBQMM.js → chunk-XZLGDFZ4.js} +1 -1
  55. package/dist/{chunk-XH2JMWC6.js → chunk-ZCJEXNJD.js} +1 -1
  56. package/dist/{chunk-NTYIQ5YC.js → chunk-ZRGL2CAP.js} +1 -1
  57. package/dist/{configuration-sync-DeWWW5za.d.ts → configuration-sync-Dad8B5Pv.d.ts} +3 -3
  58. package/dist/content-IFXC4OBS.js +1 -0
  59. package/dist/funnel-host-purchase-NS7FJH2F.js +1 -0
  60. package/dist/funnel-host-recovery-paywall-R4QGRGIJ.js +1 -0
  61. package/dist/{funnel-local-client-Fxsyl7rh.d.ts → funnel-local-client-Cb9jJGpo.d.ts} +53 -53
  62. package/dist/funnel-paywall-copies-U3JIYQJ5.js +1 -0
  63. package/dist/funnel-paywall-prerender-5NVQIQIV.js +1 -0
  64. package/dist/{funnel-process-client-D9saqPse.d.ts → funnel-process-client-DE650LzB.d.ts} +28 -28
  65. package/dist/funnel-route-prediction-XYWNKGQZ.js +1 -0
  66. package/dist/funnel-route-source-4ZVBFNYV.js +1 -0
  67. package/dist/funnel-runtime-host-6VL6UAF5.js +1 -0
  68. package/dist/index.d.ts +805 -13
  69. package/dist/index.js +1 -1
  70. package/dist/merchant-bridge-contracts-IZ7ARRRO.js +1 -0
  71. package/dist/native-shell.js +1 -1
  72. package/dist/openrouter.d.ts +3 -3
  73. package/dist/openrouter.js +1 -1
  74. package/dist/operation-contracts-6RQ33K66.js +1 -0
  75. package/dist/page.d.ts +2 -2
  76. package/dist/page.js +1 -1
  77. package/dist/paywall-47DXK7WR.js +1 -0
  78. package/dist/paywall-content-MNMF4QKA.js +1 -0
  79. package/dist/paywall-session-APGD7FZ5.js +1 -0
  80. package/dist/popup.d.ts +23 -3
  81. package/dist/popup.js +1 -1
  82. package/dist/{presentation-loading-CjljfuJq.d.ts → presentation-loading-B8W6a9WB.d.ts} +10 -46
  83. package/dist/react-native.d.ts +7 -7
  84. package/dist/react-native.js +1 -1
  85. package/dist/screen-renderer-3YO6EUWD.js +1 -0
  86. package/dist/server.d.ts +10 -10
  87. package/dist/server.js +1 -1
  88. package/dist/visual.js +1 -1
  89. package/package.json +1 -1
  90. package/dist/check-response-EYOK5EU5.js +0 -1
  91. package/dist/chunk-6PVQF4FJ.js +0 -1
  92. package/dist/chunk-6UQ7BKSR.js +0 -1
  93. package/dist/chunk-F4E42S54.js +0 -1
  94. package/dist/chunk-HIH6IEV7.js +0 -1
  95. package/dist/chunk-QY5TS3OY.js +0 -1
  96. package/dist/chunk-UB5SVEM6.js +0 -1
  97. package/dist/chunk-XFOU4DZG.js +0 -1
  98. package/dist/content-2SRJS3E3.js +0 -1
  99. package/dist/funnel-host-purchase-PBCM5VL5.js +0 -1
  100. package/dist/funnel-host-recovery-paywall-7Z4VOQCV.js +0 -1
  101. package/dist/funnel-paywall-prerender-4J5EFPFQ.js +0 -1
  102. package/dist/funnel-route-prediction-4CW6WOJY.js +0 -1
  103. package/dist/funnel-route-source-UM5O7FJS.js +0 -1
  104. package/dist/funnel-runtime-host-F6B7XCVB.js +0 -1
  105. package/dist/merchant-bridge-contracts-YVMAYBE2.js +0 -1
  106. package/dist/operation-contracts-WX2HYHD5.js +0 -1
  107. package/dist/paywall-PWWDHKVH.js +0 -1
  108. package/dist/paywall-content-DSZJWOTF.js +0 -1
  109. package/dist/paywall-session-OOXP3SRE.js +0 -1
  110. package/dist/screen-renderer-WZFPWLB5.js +0 -1
  111. package/dist/{chunk-COMZFFUA.js → chunk-PZTWDJHN.js} +0 -0
  112. package/dist/{chunk-WILVPHE6.js.LEGAL.txt → chunk-UM5R4RNN.js.LEGAL.txt} +0 -0
  113. package/dist/{funnel-node-evaluation-CRRTh1je.d.ts → funnel-node-evaluation-COIh1hKs.d.ts} +3 -3
  114. package/dist/{screen-D2bUmJ4M.d.ts → screen-Pv_pViF6.d.ts} +21 -21
@@ -1,9 +1,9 @@
1
1
  import * as zod from 'zod';
2
2
  import { z } from 'zod';
3
- import { I as InvoiceModeParams, b as InvoiceModeParamsInput, A as ApiInput } from './api-1Tplv-7M.js';
4
- import { S as StackNode, a as ScreenSelection } from './screen-D2bUmJ4M.js';
3
+ import { I as InvoiceModeParams, b as InvoiceModeParamsInput, A as ApiInput } from './api-KIp0I50M.js';
4
+ import { S as StackNode, a as ScreenSelection } from './screen-Pv_pViF6.js';
5
5
  import { J as JsonValue, E as EvaluationContext, F as FeatureResult } from './growth-rules-B4YYy64R.js';
6
- import { C as ConfigurationSync } from './configuration-sync-DeWWW5za.js';
6
+ import { C as ConfigurationSync } from './configuration-sync-Dad8B5Pv.js';
7
7
 
8
8
  declare const scopeSchema: z.ZodObject<{
9
9
  projectId: z.ZodString;
@@ -341,7 +341,6 @@ declare const funnelRunViewSchema: z.ZodObject<{
341
341
  nodeType: z.ZodEnum<{
342
342
  output: "output";
343
343
  action: "action";
344
- wait: "wait";
345
344
  screen: "screen";
346
345
  end: "end";
347
346
  coupon: "coupon";
@@ -352,6 +351,7 @@ declare const funnelRunViewSchema: z.ZodObject<{
352
351
  offering: "offering";
353
352
  entry: "entry";
354
353
  external_page: "external_page";
354
+ wait: "wait";
355
355
  }>;
356
356
  status: z.ZodEnum<{
357
357
  completed: "completed";
@@ -3443,10 +3443,10 @@ declare const funnelRunViewSchema: z.ZodObject<{
3443
3443
  append: z.ZodOptional<z.ZodBoolean>;
3444
3444
  invoiceMode: z.ZodOptional<z.ZodBoolean>;
3445
3445
  status: z.ZodEnum<{
3446
- cancelled: "cancelled";
3447
3446
  failed: "failed";
3448
3447
  complete: "complete";
3449
3448
  pending: "pending";
3449
+ cancelled: "cancelled";
3450
3450
  }>;
3451
3451
  executor: z.ZodEnum<{
3452
3452
  merchant: "merchant";
@@ -5148,9 +5148,9 @@ declare const funnelRunViewSchema: z.ZodObject<{
5148
5148
  productVersionId: z.ZodUUID;
5149
5149
  featureQuantities: z.ZodOptional<z.ZodRecord<z.ZodUUID, z.ZodNumber>>;
5150
5150
  status: z.ZodEnum<{
5151
- cancelled: "cancelled";
5152
5151
  failed: "failed";
5153
5152
  pending: "pending";
5153
+ cancelled: "cancelled";
5154
5154
  prepared: "prepared";
5155
5155
  effective: "effective";
5156
5156
  confirmed: "confirmed";
@@ -6747,7 +6747,6 @@ declare const funnelRuntimeResponseSchema: z.ZodObject<{
6747
6747
  nodeType: z.ZodEnum<{
6748
6748
  output: "output";
6749
6749
  action: "action";
6750
- wait: "wait";
6751
6750
  screen: "screen";
6752
6751
  end: "end";
6753
6752
  coupon: "coupon";
@@ -6758,6 +6757,7 @@ declare const funnelRuntimeResponseSchema: z.ZodObject<{
6758
6757
  offering: "offering";
6759
6758
  entry: "entry";
6760
6759
  external_page: "external_page";
6760
+ wait: "wait";
6761
6761
  }>;
6762
6762
  status: z.ZodEnum<{
6763
6763
  completed: "completed";
@@ -9849,10 +9849,10 @@ declare const funnelRuntimeResponseSchema: z.ZodObject<{
9849
9849
  append: z.ZodOptional<z.ZodBoolean>;
9850
9850
  invoiceMode: z.ZodOptional<z.ZodBoolean>;
9851
9851
  status: z.ZodEnum<{
9852
- cancelled: "cancelled";
9853
9852
  failed: "failed";
9854
9853
  complete: "complete";
9855
9854
  pending: "pending";
9855
+ cancelled: "cancelled";
9856
9856
  }>;
9857
9857
  executor: z.ZodEnum<{
9858
9858
  merchant: "merchant";
@@ -11554,9 +11554,9 @@ declare const funnelRuntimeResponseSchema: z.ZodObject<{
11554
11554
  productVersionId: z.ZodUUID;
11555
11555
  featureQuantities: z.ZodOptional<z.ZodRecord<z.ZodUUID, z.ZodNumber>>;
11556
11556
  status: z.ZodEnum<{
11557
- cancelled: "cancelled";
11558
11557
  failed: "failed";
11559
11558
  pending: "pending";
11559
+ cancelled: "cancelled";
11560
11560
  prepared: "prepared";
11561
11561
  effective: "effective";
11562
11562
  confirmed: "confirmed";
@@ -14262,10 +14262,10 @@ declare const funnelRuntimeResponseSchema: z.ZodObject<{
14262
14262
  append: z.ZodOptional<z.ZodBoolean>;
14263
14263
  invoiceMode: z.ZodOptional<z.ZodBoolean>;
14264
14264
  status: z.ZodEnum<{
14265
- cancelled: "cancelled";
14266
14265
  failed: "failed";
14267
14266
  complete: "complete";
14268
14267
  pending: "pending";
14268
+ cancelled: "cancelled";
14269
14269
  }>;
14270
14270
  executor: z.ZodEnum<{
14271
14271
  merchant: "merchant";
@@ -15967,9 +15967,9 @@ declare const funnelRuntimeResponseSchema: z.ZodObject<{
15967
15967
  productVersionId: z.ZodUUID;
15968
15968
  featureQuantities: z.ZodOptional<z.ZodRecord<z.ZodUUID, z.ZodNumber>>;
15969
15969
  status: z.ZodEnum<{
15970
- cancelled: "cancelled";
15971
15970
  failed: "failed";
15972
15971
  pending: "pending";
15972
+ cancelled: "cancelled";
15973
15973
  prepared: "prepared";
15974
15974
  effective: "effective";
15975
15975
  confirmed: "confirmed";
@@ -17707,10 +17707,10 @@ declare const funnelRuntimeResponseSchema: z.ZodObject<{
17707
17707
  operationId: z.ZodUUID;
17708
17708
  status: z.ZodEnum<{
17709
17709
  unknown: "unknown";
17710
- cancelled: "cancelled";
17711
17710
  failed: "failed";
17712
17711
  complete: "complete";
17713
17712
  pending: "pending";
17713
+ cancelled: "cancelled";
17714
17714
  }>;
17715
17715
  }, z.core.$strict>>;
17716
17716
  }, z.core.$strict>>;
@@ -20796,10 +20796,10 @@ declare const funnelProcessRunViewSchema: z.ZodObject<{
20796
20796
  append: z.ZodOptional<z.ZodBoolean>;
20797
20797
  invoiceMode: z.ZodOptional<z.ZodBoolean>;
20798
20798
  status: z.ZodEnum<{
20799
- cancelled: "cancelled";
20800
20799
  failed: "failed";
20801
20800
  complete: "complete";
20802
20801
  pending: "pending";
20802
+ cancelled: "cancelled";
20803
20803
  }>;
20804
20804
  executor: z.ZodEnum<{
20805
20805
  merchant: "merchant";
@@ -22501,9 +22501,9 @@ declare const funnelProcessRunViewSchema: z.ZodObject<{
22501
22501
  productVersionId: z.ZodUUID;
22502
22502
  featureQuantities: z.ZodOptional<z.ZodRecord<z.ZodUUID, z.ZodNumber>>;
22503
22503
  status: z.ZodEnum<{
22504
- cancelled: "cancelled";
22505
22504
  failed: "failed";
22506
22505
  pending: "pending";
22506
+ cancelled: "cancelled";
22507
22507
  prepared: "prepared";
22508
22508
  effective: "effective";
22509
22509
  confirmed: "confirmed";
@@ -24064,7 +24064,6 @@ declare const funnelProcessRunViewSchema: z.ZodObject<{
24064
24064
  nodeType: z.ZodEnum<{
24065
24065
  output: "output";
24066
24066
  action: "action";
24067
- wait: "wait";
24068
24067
  screen: "screen";
24069
24068
  end: "end";
24070
24069
  coupon: "coupon";
@@ -24075,6 +24074,7 @@ declare const funnelProcessRunViewSchema: z.ZodObject<{
24075
24074
  offering: "offering";
24076
24075
  entry: "entry";
24077
24076
  external_page: "external_page";
24077
+ wait: "wait";
24078
24078
  }>;
24079
24079
  canBack: z.ZodBoolean;
24080
24080
  pendingRequest: z.ZodNullable<z.ZodObject<{
@@ -25599,10 +25599,10 @@ declare const funnelProcessRuntimeResponseSchema: z.ZodObject<{
25599
25599
  append: z.ZodOptional<z.ZodBoolean>;
25600
25600
  invoiceMode: z.ZodOptional<z.ZodBoolean>;
25601
25601
  status: z.ZodEnum<{
25602
- cancelled: "cancelled";
25603
25602
  failed: "failed";
25604
25603
  complete: "complete";
25605
25604
  pending: "pending";
25605
+ cancelled: "cancelled";
25606
25606
  }>;
25607
25607
  executor: z.ZodEnum<{
25608
25608
  merchant: "merchant";
@@ -27304,9 +27304,9 @@ declare const funnelProcessRuntimeResponseSchema: z.ZodObject<{
27304
27304
  productVersionId: z.ZodUUID;
27305
27305
  featureQuantities: z.ZodOptional<z.ZodRecord<z.ZodUUID, z.ZodNumber>>;
27306
27306
  status: z.ZodEnum<{
27307
- cancelled: "cancelled";
27308
27307
  failed: "failed";
27309
27308
  pending: "pending";
27309
+ cancelled: "cancelled";
27310
27310
  prepared: "prepared";
27311
27311
  effective: "effective";
27312
27312
  confirmed: "confirmed";
@@ -29044,10 +29044,10 @@ declare const funnelProcessRuntimeResponseSchema: z.ZodObject<{
29044
29044
  operationId: z.ZodUUID;
29045
29045
  status: z.ZodEnum<{
29046
29046
  unknown: "unknown";
29047
- cancelled: "cancelled";
29048
29047
  failed: "failed";
29049
29048
  complete: "complete";
29050
29049
  pending: "pending";
29050
+ cancelled: "cancelled";
29051
29051
  }>;
29052
29052
  }, z.core.$strict>>;
29053
29053
  }, z.core.$strict>>;
@@ -32129,10 +32129,10 @@ declare const funnelProcessRuntimeResponseSchema: z.ZodObject<{
32129
32129
  append: z.ZodOptional<z.ZodBoolean>;
32130
32130
  invoiceMode: z.ZodOptional<z.ZodBoolean>;
32131
32131
  status: z.ZodEnum<{
32132
- cancelled: "cancelled";
32133
32132
  failed: "failed";
32134
32133
  complete: "complete";
32135
32134
  pending: "pending";
32135
+ cancelled: "cancelled";
32136
32136
  }>;
32137
32137
  executor: z.ZodEnum<{
32138
32138
  merchant: "merchant";
@@ -33834,9 +33834,9 @@ declare const funnelProcessRuntimeResponseSchema: z.ZodObject<{
33834
33834
  productVersionId: z.ZodUUID;
33835
33835
  featureQuantities: z.ZodOptional<z.ZodRecord<z.ZodUUID, z.ZodNumber>>;
33836
33836
  status: z.ZodEnum<{
33837
- cancelled: "cancelled";
33838
33837
  failed: "failed";
33839
33838
  pending: "pending";
33839
+ cancelled: "cancelled";
33840
33840
  prepared: "prepared";
33841
33841
  effective: "effective";
33842
33842
  confirmed: "confirmed";
@@ -35397,7 +35397,6 @@ declare const funnelProcessRuntimeResponseSchema: z.ZodObject<{
35397
35397
  nodeType: z.ZodEnum<{
35398
35398
  output: "output";
35399
35399
  action: "action";
35400
- wait: "wait";
35401
35400
  screen: "screen";
35402
35401
  end: "end";
35403
35402
  coupon: "coupon";
@@ -35408,6 +35407,7 @@ declare const funnelProcessRuntimeResponseSchema: z.ZodObject<{
35408
35407
  offering: "offering";
35409
35408
  entry: "entry";
35410
35409
  external_page: "external_page";
35410
+ wait: "wait";
35411
35411
  }>;
35412
35412
  canBack: z.ZodBoolean;
35413
35413
  pendingRequest: z.ZodNullable<z.ZodObject<{
@@ -37437,9 +37437,9 @@ declare const stripeSubscriptionUpdateResultSchema: z.ZodObject<{
37437
37437
  productVersionId: z.ZodUUID;
37438
37438
  featureQuantities: z.ZodOptional<z.ZodRecord<z.ZodUUID, z.ZodNumber>>;
37439
37439
  status: z.ZodEnum<{
37440
- cancelled: "cancelled";
37441
37440
  failed: "failed";
37442
37441
  pending: "pending";
37442
+ cancelled: "cancelled";
37443
37443
  prepared: "prepared";
37444
37444
  effective: "effective";
37445
37445
  confirmed: "confirmed";
@@ -40099,10 +40099,10 @@ declare const paywallOperationSchema: z.ZodUnion<readonly [z.ZodObject<{
40099
40099
  append: z.ZodOptional<z.ZodBoolean>;
40100
40100
  invoiceMode: z.ZodOptional<z.ZodBoolean>;
40101
40101
  status: z.ZodEnum<{
40102
- cancelled: "cancelled";
40103
40102
  failed: "failed";
40104
40103
  complete: "complete";
40105
40104
  pending: "pending";
40105
+ cancelled: "cancelled";
40106
40106
  }>;
40107
40107
  executor: z.ZodEnum<{
40108
40108
  merchant: "merchant";
@@ -41804,9 +41804,9 @@ declare const paywallOperationSchema: z.ZodUnion<readonly [z.ZodObject<{
41804
41804
  productVersionId: z.ZodUUID;
41805
41805
  featureQuantities: z.ZodOptional<z.ZodRecord<z.ZodUUID, z.ZodNumber>>;
41806
41806
  status: z.ZodEnum<{
41807
- cancelled: "cancelled";
41808
41807
  failed: "failed";
41809
41808
  pending: "pending";
41809
+ cancelled: "cancelled";
41810
41810
  prepared: "prepared";
41811
41811
  effective: "effective";
41812
41812
  confirmed: "confirmed";
@@ -46493,7 +46493,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
46493
46493
  outcome: "completed" | "failed" | "closed" | "ineligible";
46494
46494
  } | {
46495
46495
  type: "server";
46496
- reason: "action" | "wait" | "condition" | "experiment" | "feature" | "resource";
46496
+ reason: "action" | "condition" | "experiment" | "feature" | "resource" | "wait";
46497
46497
  }>;
46498
46498
  };
46499
46499
  control: {
@@ -47042,7 +47042,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
47042
47042
  entry: string;
47043
47043
  nodes: {
47044
47044
  id: string;
47045
- type: "output" | "action" | "wait" | "screen" | "end" | "coupon" | "condition" | "feature" | "split" | "coupons" | "offering" | "entry" | "external_page";
47045
+ type: "output" | "action" | "screen" | "end" | "coupon" | "condition" | "feature" | "split" | "coupons" | "offering" | "entry" | "external_page" | "wait";
47046
47046
  outputs: Record<string, string>;
47047
47047
  writes: Record<string, string>;
47048
47048
  resources: {
@@ -47116,7 +47116,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
47116
47116
  revision: number;
47117
47117
  visit: number;
47118
47118
  nodeId: string;
47119
- nodeType: "output" | "action" | "wait" | "screen" | "end" | "coupon" | "condition" | "feature" | "split" | "coupons" | "offering" | "entry" | "external_page";
47119
+ nodeType: "output" | "action" | "screen" | "end" | "coupon" | "condition" | "feature" | "split" | "coupons" | "offering" | "entry" | "external_page" | "wait";
47120
47120
  status: "completed" | "failed" | "running" | "closed" | "ineligible" | "waiting";
47121
47121
  stopped: boolean;
47122
47122
  canBack: boolean;
@@ -48853,7 +48853,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
48853
48853
  operation: {
48854
48854
  operationId: string;
48855
48855
  orderId: string;
48856
- status: "cancelled" | "failed" | "complete" | "pending";
48856
+ status: "failed" | "complete" | "pending" | "cancelled";
48857
48857
  executor: "merchant" | "indiana";
48858
48858
  checkoutUrl: string | null;
48859
48859
  execution: {
@@ -49879,7 +49879,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
49879
49879
  operationId: string;
49880
49880
  membershipId: string;
49881
49881
  productVersionId: string;
49882
- status: "cancelled" | "failed" | "pending" | "prepared" | "effective" | "confirmed" | "scheduled" | "quoted";
49882
+ status: "failed" | "pending" | "cancelled" | "prepared" | "effective" | "confirmed" | "scheduled" | "quoted";
49883
49883
  timing: "immediate" | "renewal";
49884
49884
  effectiveAt: string;
49885
49885
  checkoutUrl: string | null;
@@ -51096,7 +51096,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
51096
51096
  revision: number;
51097
51097
  visit: number;
51098
51098
  nodeId: string;
51099
- nodeType: "output" | "action" | "wait" | "screen" | "end" | "coupon" | "condition" | "feature" | "split" | "coupons" | "offering" | "entry" | "external_page";
51099
+ nodeType: "output" | "action" | "screen" | "end" | "coupon" | "condition" | "feature" | "split" | "coupons" | "offering" | "entry" | "external_page" | "wait";
51100
51100
  status: "completed" | "failed" | "running" | "closed" | "ineligible" | "waiting";
51101
51101
  stopped: boolean;
51102
51102
  canBack: boolean;
@@ -52833,7 +52833,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
52833
52833
  operation: {
52834
52834
  operationId: string;
52835
52835
  orderId: string;
52836
- status: "cancelled" | "failed" | "complete" | "pending";
52836
+ status: "failed" | "complete" | "pending" | "cancelled";
52837
52837
  executor: "merchant" | "indiana";
52838
52838
  checkoutUrl: string | null;
52839
52839
  execution: {
@@ -53859,7 +53859,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
53859
53859
  operationId: string;
53860
53860
  membershipId: string;
53861
53861
  productVersionId: string;
53862
- status: "cancelled" | "failed" | "pending" | "prepared" | "effective" | "confirmed" | "scheduled" | "quoted";
53862
+ status: "failed" | "pending" | "cancelled" | "prepared" | "effective" | "confirmed" | "scheduled" | "quoted";
53863
53863
  timing: "immediate" | "renewal";
53864
53864
  effectiveAt: string;
53865
53865
  checkoutUrl: string | null;
@@ -55674,7 +55674,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
55674
55674
  operation: {
55675
55675
  operationId: string;
55676
55676
  orderId: string;
55677
- status: "cancelled" | "failed" | "complete" | "pending";
55677
+ status: "failed" | "complete" | "pending" | "cancelled";
55678
55678
  executor: "merchant" | "indiana";
55679
55679
  checkoutUrl: string | null;
55680
55680
  execution: {
@@ -56700,7 +56700,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
56700
56700
  operationId: string;
56701
56701
  membershipId: string;
56702
56702
  productVersionId: string;
56703
- status: "cancelled" | "failed" | "pending" | "prepared" | "effective" | "confirmed" | "scheduled" | "quoted";
56703
+ status: "failed" | "pending" | "cancelled" | "prepared" | "effective" | "confirmed" | "scheduled" | "quoted";
56704
56704
  timing: "immediate" | "renewal";
56705
56705
  effectiveAt: string;
56706
56706
  checkoutUrl: string | null;
@@ -57826,7 +57826,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
57826
57826
  purchases: {
57827
57827
  receiptId: string;
57828
57828
  operationId: string;
57829
- status: "unknown" | "cancelled" | "failed" | "complete" | "pending";
57829
+ status: "unknown" | "failed" | "complete" | "pending" | "cancelled";
57830
57830
  }[];
57831
57831
  } | undefined;
57832
57832
  runToken?: string | undefined;
@@ -58353,7 +58353,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
58353
58353
  revision: number;
58354
58354
  visit: number;
58355
58355
  nodeId: string;
58356
- nodeType: "output" | "action" | "wait" | "screen" | "end" | "coupon" | "condition" | "feature" | "split" | "coupons" | "offering" | "entry" | "external_page";
58356
+ nodeType: "output" | "action" | "screen" | "end" | "coupon" | "condition" | "feature" | "split" | "coupons" | "offering" | "entry" | "external_page" | "wait";
58357
58357
  status: "completed" | "failed" | "running" | "closed" | "ineligible" | "waiting";
58358
58358
  stopped: boolean;
58359
58359
  canBack: boolean;
@@ -60090,7 +60090,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
60090
60090
  operation: {
60091
60091
  operationId: string;
60092
60092
  orderId: string;
60093
- status: "cancelled" | "failed" | "complete" | "pending";
60093
+ status: "failed" | "complete" | "pending" | "cancelled";
60094
60094
  executor: "merchant" | "indiana";
60095
60095
  checkoutUrl: string | null;
60096
60096
  execution: {
@@ -61116,7 +61116,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
61116
61116
  operationId: string;
61117
61117
  membershipId: string;
61118
61118
  productVersionId: string;
61119
- status: "cancelled" | "failed" | "pending" | "prepared" | "effective" | "confirmed" | "scheduled" | "quoted";
61119
+ status: "failed" | "pending" | "cancelled" | "prepared" | "effective" | "confirmed" | "scheduled" | "quoted";
61120
61120
  timing: "immediate" | "renewal";
61121
61121
  effectiveAt: string;
61122
61122
  checkoutUrl: string | null;
@@ -62931,7 +62931,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
62931
62931
  operation: {
62932
62932
  operationId: string;
62933
62933
  orderId: string;
62934
- status: "cancelled" | "failed" | "complete" | "pending";
62934
+ status: "failed" | "complete" | "pending" | "cancelled";
62935
62935
  executor: "merchant" | "indiana";
62936
62936
  checkoutUrl: string | null;
62937
62937
  execution: {
@@ -63957,7 +63957,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
63957
63957
  operationId: string;
63958
63958
  membershipId: string;
63959
63959
  productVersionId: string;
63960
- status: "cancelled" | "failed" | "pending" | "prepared" | "effective" | "confirmed" | "scheduled" | "quoted";
63960
+ status: "failed" | "pending" | "cancelled" | "prepared" | "effective" | "confirmed" | "scheduled" | "quoted";
63961
63961
  timing: "immediate" | "renewal";
63962
63962
  effectiveAt: string;
63963
63963
  checkoutUrl: string | null;
@@ -65083,7 +65083,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
65083
65083
  purchases: {
65084
65084
  receiptId: string;
65085
65085
  operationId: string;
65086
- status: "unknown" | "cancelled" | "failed" | "complete" | "pending";
65086
+ status: "unknown" | "failed" | "complete" | "pending" | "cancelled";
65087
65087
  }[];
65088
65088
  } | undefined;
65089
65089
  runToken?: string | undefined;
@@ -65107,7 +65107,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
65107
65107
  revision: number;
65108
65108
  visit: number;
65109
65109
  nodeId: string;
65110
- nodeType: "output" | "action" | "wait" | "screen" | "end" | "coupon" | "condition" | "feature" | "split" | "coupons" | "offering" | "entry" | "external_page";
65110
+ nodeType: "output" | "action" | "screen" | "end" | "coupon" | "condition" | "feature" | "split" | "coupons" | "offering" | "entry" | "external_page" | "wait";
65111
65111
  status: "completed" | "failed" | "running" | "closed" | "ineligible" | "waiting";
65112
65112
  stopped: boolean;
65113
65113
  canBack: boolean;
@@ -66844,7 +66844,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
66844
66844
  operation: {
66845
66845
  operationId: string;
66846
66846
  orderId: string;
66847
- status: "cancelled" | "failed" | "complete" | "pending";
66847
+ status: "failed" | "complete" | "pending" | "cancelled";
66848
66848
  executor: "merchant" | "indiana";
66849
66849
  checkoutUrl: string | null;
66850
66850
  execution: {
@@ -67870,7 +67870,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
67870
67870
  operationId: string;
67871
67871
  membershipId: string;
67872
67872
  productVersionId: string;
67873
- status: "cancelled" | "failed" | "pending" | "prepared" | "effective" | "confirmed" | "scheduled" | "quoted";
67873
+ status: "failed" | "pending" | "cancelled" | "prepared" | "effective" | "confirmed" | "scheduled" | "quoted";
67874
67874
  timing: "immediate" | "renewal";
67875
67875
  effectiveAt: string;
67876
67876
  checkoutUrl: string | null;
@@ -69685,7 +69685,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
69685
69685
  operation: {
69686
69686
  operationId: string;
69687
69687
  orderId: string;
69688
- status: "cancelled" | "failed" | "complete" | "pending";
69688
+ status: "failed" | "complete" | "pending" | "cancelled";
69689
69689
  executor: "merchant" | "indiana";
69690
69690
  checkoutUrl: string | null;
69691
69691
  execution: {
@@ -70711,7 +70711,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
70711
70711
  operationId: string;
70712
70712
  membershipId: string;
70713
70713
  productVersionId: string;
70714
- status: "cancelled" | "failed" | "pending" | "prepared" | "effective" | "confirmed" | "scheduled" | "quoted";
70714
+ status: "failed" | "pending" | "cancelled" | "prepared" | "effective" | "confirmed" | "scheduled" | "quoted";
70715
70715
  timing: "immediate" | "renewal";
70716
70716
  effectiveAt: string;
70717
70717
  checkoutUrl: string | null;
@@ -71837,7 +71837,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
71837
71837
  purchases: {
71838
71838
  receiptId: string;
71839
71839
  operationId: string;
71840
- status: "unknown" | "cancelled" | "failed" | "complete" | "pending";
71840
+ status: "unknown" | "failed" | "complete" | "pending" | "cancelled";
71841
71841
  }[];
71842
71842
  } | undefined;
71843
71843
  runToken?: string | undefined;
@@ -71859,7 +71859,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
71859
71859
  revision: number;
71860
71860
  visit: number;
71861
71861
  nodeId: string;
71862
- nodeType: "output" | "action" | "wait" | "screen" | "end" | "coupon" | "condition" | "feature" | "split" | "coupons" | "offering" | "entry" | "external_page";
71862
+ nodeType: "output" | "action" | "screen" | "end" | "coupon" | "condition" | "feature" | "split" | "coupons" | "offering" | "entry" | "external_page" | "wait";
71863
71863
  status: "completed" | "failed" | "running" | "closed" | "ineligible" | "waiting";
71864
71864
  stopped: boolean;
71865
71865
  canBack: boolean;
@@ -73596,7 +73596,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
73596
73596
  operation: {
73597
73597
  operationId: string;
73598
73598
  orderId: string;
73599
- status: "cancelled" | "failed" | "complete" | "pending";
73599
+ status: "failed" | "complete" | "pending" | "cancelled";
73600
73600
  executor: "merchant" | "indiana";
73601
73601
  checkoutUrl: string | null;
73602
73602
  execution: {
@@ -74622,7 +74622,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
74622
74622
  operationId: string;
74623
74623
  membershipId: string;
74624
74624
  productVersionId: string;
74625
- status: "cancelled" | "failed" | "pending" | "prepared" | "effective" | "confirmed" | "scheduled" | "quoted";
74625
+ status: "failed" | "pending" | "cancelled" | "prepared" | "effective" | "confirmed" | "scheduled" | "quoted";
74626
74626
  timing: "immediate" | "renewal";
74627
74627
  effectiveAt: string;
74628
74628
  checkoutUrl: string | null;
@@ -76437,7 +76437,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
76437
76437
  operation: {
76438
76438
  operationId: string;
76439
76439
  orderId: string;
76440
- status: "cancelled" | "failed" | "complete" | "pending";
76440
+ status: "failed" | "complete" | "pending" | "cancelled";
76441
76441
  executor: "merchant" | "indiana";
76442
76442
  checkoutUrl: string | null;
76443
76443
  execution: {
@@ -77463,7 +77463,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
77463
77463
  operationId: string;
77464
77464
  membershipId: string;
77465
77465
  productVersionId: string;
77466
- status: "cancelled" | "failed" | "pending" | "prepared" | "effective" | "confirmed" | "scheduled" | "quoted";
77466
+ status: "failed" | "pending" | "cancelled" | "prepared" | "effective" | "confirmed" | "scheduled" | "quoted";
77467
77467
  timing: "immediate" | "renewal";
77468
77468
  effectiveAt: string;
77469
77469
  checkoutUrl: string | null;
@@ -78589,7 +78589,7 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
78589
78589
  purchases: {
78590
78590
  receiptId: string;
78591
78591
  operationId: string;
78592
- status: "unknown" | "cancelled" | "failed" | "complete" | "pending";
78592
+ status: "unknown" | "failed" | "complete" | "pending" | "cancelled";
78593
78593
  }[];
78594
78594
  } | undefined;
78595
78595
  runToken?: string | undefined;
@@ -0,0 +1 @@
1
+ import{d as p}from"./chunk-BJW4AXFL.js";import"./chunk-32AEJKJW.js";import"./chunk-EKUDMQXT.js";import"./chunk-4OODZM64.js";import"./chunk-EB7MIZ4T.js";import"./chunk-S5RM3VO6.js";import"./chunk-DBYRJ4QV.js";import"./chunk-VILB5M4X.js";import"./chunk-HUYKZH3H.js";import"./chunk-VXDVMAS6.js";import"./chunk-ZRGL2CAP.js";import"./chunk-KTWKDR5L.js";import"./chunk-XCFAKO23.js";import"./chunk-FQMZY5VP.js";import"./chunk-RIEWU4MN.js";import{a as y}from"./chunk-5MRSFLQA.js";import{b as t}from"./chunk-PZTWDJHN.js";import"./chunk-VPT5MFDG.js";import"./chunk-CILM5XMH.js";import"./chunk-WOT6VMZA.js";var m=1440*6e4,f=8,g=512*1024,u=t.strictObject({savedAt:t.number().int().nonnegative(),funnelId:t.string().min(1),context:t.strictObject({commerce:t.strictObject({provider:t.string(),currency:t.string(),intent:t.literal("subscription_change").optional()}),locale:t.string()}),resolution:p}),w=t.strictObject({copies:t.record(t.string(),t.unknown())});function h(c){let d=(async()=>{let s=c.storage??globalThis.localStorage;if(!s||!globalThis.crypto?.subtle)return null;let r=new TextEncoder().encode(JSON.stringify([new URL(c.baseUrl??y).href,c.scope.projectId,c.scope.environment,c.customerId])),e=new Uint8Array(await crypto.subtle.digest("SHA-256",r));return{storage:s,key:"indiana.funnel.paywalls.v1."+Array.from(e,o=>o.toString(16).padStart(2,"0")).join("")}})().catch(()=>null);async function l(){let s=await d;if(!s)return null;try{let r=s.storage.getItem(s.key),e=r&&r.length<=g?w.safeParse(JSON.parse(r)):null;return{...s,copies:e?.success?e.data.copies:{}}}catch{return{...s,copies:{}}}}return{async read(s){let r=await l(),e=u.safeParse(r?.copies[s]);if(!e.success)return null;let o=Date.now()-e.data.savedAt;return o>=0&&o<m?e.data:null},async write(s,r){let e=await l();if(!e)return;let o={...e.copies};delete o[s];let i=[...r?[[s,r]]:[],...Object.entries(o).map(([n,a])=>[n,u.safeParse(a)]).flatMap(([n,a])=>a.success?[[n,a.data]]:[]).sort(([,n],[,a])=>a.savedAt-n.savedAt)].slice(0,f);try{for(;i.length;){let n=JSON.stringify({copies:Object.fromEntries(i)});if(n.length<=g){e.storage.setItem(e.key,n);return}i.pop()}e.storage.removeItem(e.key)}catch{}}}}export{m as PAYWALL_COPY_MAX_AGE_MS,h as createPaywallCopies};
@@ -0,0 +1 @@
1
+ import{a,b,c}from"./chunk-6TETQL5Z.js";import"./chunk-JBSJ3JU2.js";import"./chunk-PGLBFTRK.js";import"./chunk-5LNX7MHO.js";import"./chunk-EB7MIZ4T.js";import"./chunk-S5RM3VO6.js";import"./chunk-JEDRJAJ5.js";import"./chunk-DBYRJ4QV.js";import"./chunk-VILB5M4X.js";import"./chunk-HUYKZH3H.js";import"./chunk-ZRGL2CAP.js";import"./chunk-KTWKDR5L.js";import"./chunk-XCFAKO23.js";import"./chunk-FQMZY5VP.js";import"./chunk-TK3WOD2O.js";import"./chunk-RIEWU4MN.js";import"./chunk-PZTWDJHN.js";import"./chunk-DSPLGTQI.js";import"./chunk-VPT5MFDG.js";import"./chunk-CILM5XMH.js";import"./chunk-WOT6VMZA.js";export{a as PRERENDER_MAX_AGE_MS,b as preparedInternals,c as prerenderFunnelPurchase};