@tinkerlandai/longplay-sdk 0.10.23 → 0.10.25

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 (60) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/README.md +79 -0
  3. package/README.zh-CN.md +31 -0
  4. package/dist/{ai-usage-WFwbPTiq.d.ts → ai-usage-B6RepnmH.d.ts} +1 -1
  5. package/dist/{api-rZ_QoNQi.d.ts → api-C9P338XT.d.ts} +1547 -6
  6. package/dist/{chunk-5SHVM4AF.js → chunk-2KI63SPJ.js} +2 -2
  7. package/dist/{chunk-7MF2YMN4.js → chunk-2ZJ5CS5Q.js} +1 -1
  8. package/dist/chunk-34I23EKZ.js +1 -0
  9. package/dist/{chunk-XFO4FBFG.js → chunk-5HJMAZ7A.js} +1 -1
  10. package/dist/chunk-7AXCG6NU.js +1 -0
  11. package/dist/chunk-BB5P5HPS.js +1 -0
  12. package/dist/chunk-C2BODHNY.js +1 -0
  13. package/dist/chunk-EIYWDWXP.js +1 -0
  14. package/dist/chunk-LFFBNGXP.js +1 -0
  15. package/dist/{chunk-HDVLCRC6.js → chunk-MHEYMXGZ.js} +2 -2
  16. package/dist/{chunk-EZLLTGV3.js → chunk-ML3BIPM6.js} +1 -1
  17. package/dist/{chunk-KZ63ANBP.js → chunk-O3LZPMS4.js} +1 -1
  18. package/dist/chunk-O4535GJR.js +6 -0
  19. package/dist/{chunk-PKLLZXNM.js → chunk-OEH47Y2L.js} +1 -1
  20. package/dist/chunk-RKREEPCT.js +1 -0
  21. package/dist/{chunk-QVGTHPWT.js → chunk-SJNF6JDJ.js} +1 -1
  22. package/dist/chunk-THGLNE4K.js +1 -0
  23. package/dist/chunk-TUYBXAAK.js +1 -0
  24. package/dist/chunk-ZX2RWS3T.js +1 -0
  25. package/dist/content-FD2Q6XD6.js +1 -0
  26. package/dist/{coupon-Btz_KFKp.d.ts → coupon-DyKA-BRG.d.ts} +8 -0
  27. package/dist/funnel-host-purchase-XW7IF52Y.js +1 -0
  28. package/dist/{funnel-local-client-BYdKGnMb.d.ts → funnel-local-client-CSA9XoC4.d.ts} +3270 -32
  29. package/dist/{funnel-node-evaluation-eLMEZIFz.d.ts → funnel-node-evaluation-Cg-4tcAs.d.ts} +88 -0
  30. package/dist/funnel-process-client-RXgS2i-R.d.ts +23184 -0
  31. package/dist/funnel-runtime-host-I6PJXVRC.js +1 -0
  32. package/dist/index.d.ts +1219 -31
  33. package/dist/index.js +1 -1
  34. package/dist/native-shell.js +1 -1
  35. package/dist/openrouter.d.ts +2 -2
  36. package/dist/openrouter.js +1 -1
  37. package/dist/page.js +1 -1
  38. package/dist/paywall-CGBFHFRU.js +1 -0
  39. package/dist/popup.d.ts +3 -3
  40. package/dist/popup.js +1 -1
  41. package/dist/{presentation-loading-Ctk1djAi.d.ts → presentation-loading-D0A9G_kT.d.ts} +16 -2
  42. package/dist/react-native.d.ts +6 -6
  43. package/dist/react-native.js +1 -1
  44. package/dist/screen-renderer-WOMWOEYL.js +1 -0
  45. package/dist/server.d.ts +2402 -17
  46. package/dist/server.js +1 -1
  47. package/dist/visual.js +1 -1
  48. package/package.json +1 -1
  49. package/dist/chunk-3J24TUO7.js +0 -1
  50. package/dist/chunk-6DTGBDYG.js +0 -1
  51. package/dist/chunk-DUZ2E7BK.js +0 -1
  52. package/dist/chunk-IIYIIXNB.js +0 -1
  53. package/dist/chunk-KRQESEG2.js +0 -6
  54. package/dist/chunk-WMIDEJTZ.js +0 -1
  55. package/dist/chunk-YAVWELIV.js +0 -1
  56. package/dist/content-FM52HLRX.js +0 -1
  57. package/dist/funnel-process-client-C87pmLC9.d.ts +0 -64499
  58. package/dist/funnel-runtime-host-MZKLVLC4.js +0 -1
  59. package/dist/paywall-JL4SXFXT.js +0 -1
  60. package/dist/screen-renderer-TEVGVUT5.js +0 -1
@@ -145,10 +145,16 @@ declare const merchantBridgeOperationAuthoritySchema: z.ZodObject<{
145
145
  }, z.core.$strict>>;
146
146
  }, z.core.$strict>>;
147
147
  catalogAmountMinor: z.ZodNumber;
148
+ nativeDiscountMinor: z.ZodOptional<z.ZodNumber>;
148
149
  discount: z.ZodNullable<z.ZodObject<{
149
150
  grantId: z.ZodUUID;
150
151
  couponId: z.ZodUUID;
151
152
  amountMinor: z.ZodNumber;
153
+ applicationPolicy: z.ZodOptional<z.ZodEnum<{
154
+ replace: "replace";
155
+ stack_native: "stack_native";
156
+ }>>;
157
+ applicableProductIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
152
158
  terms: z.ZodDiscriminatedUnion<[z.ZodObject<{
153
159
  type: z.ZodLiteral<"percent">;
154
160
  percentOff: z.ZodNumber;
@@ -216,6 +222,32 @@ declare const merchantBridgeOperationAuthoritySchema: z.ZodObject<{
216
222
  debitMinor: z.ZodNumber;
217
223
  totalMinor: z.ZodNumber;
218
224
  discountMinor: z.ZodNumber;
225
+ discount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
226
+ grantId: z.ZodUUID;
227
+ couponId: z.ZodUUID;
228
+ amountMinor: z.ZodNumber;
229
+ applicationPolicy: z.ZodOptional<z.ZodEnum<{
230
+ replace: "replace";
231
+ stack_native: "stack_native";
232
+ }>>;
233
+ applicableProductIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
234
+ terms: z.ZodDiscriminatedUnion<[z.ZodObject<{
235
+ type: z.ZodLiteral<"percent">;
236
+ percentOff: z.ZodNumber;
237
+ }, z.core.$strict>, z.ZodObject<{
238
+ type: z.ZodLiteral<"amount">;
239
+ amountOffMinor: z.ZodNumber;
240
+ currency: z.ZodString;
241
+ }, z.core.$strict>], "type">;
242
+ duration: z.ZodDiscriminatedUnion<[z.ZodObject<{
243
+ type: z.ZodLiteral<"once">;
244
+ }, z.core.$strict>, z.ZodObject<{
245
+ type: z.ZodLiteral<"forever">;
246
+ }, z.core.$strict>, z.ZodObject<{
247
+ type: z.ZodLiteral<"repeating">;
248
+ months: z.ZodNumber;
249
+ }, z.core.$strict>], "type">;
250
+ }, z.core.$strict>>>;
219
251
  taxMinor: z.ZodNumber;
220
252
  proration: z.ZodEnum<{
221
253
  none: "none";
@@ -455,14 +487,70 @@ declare const merchantBridgeOperationAuthoritySchema: z.ZodObject<{
455
487
  }>;
456
488
  intervalCount: z.ZodNumber;
457
489
  amountMinor: z.ZodNumber;
490
+ amountAfterOfferMinor: z.ZodOptional<z.ZodNumber>;
458
491
  }, z.core.$strict>>;
459
492
  trial: z.ZodNullable<z.ZodObject<{
460
493
  days: z.ZodNumber;
461
494
  cardRequired: z.ZodBoolean;
462
495
  }, z.core.$strict>>;
496
+ discount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
497
+ grantId: z.ZodUUID;
498
+ couponId: z.ZodUUID;
499
+ amountMinor: z.ZodNumber;
500
+ applicationPolicy: z.ZodOptional<z.ZodEnum<{
501
+ replace: "replace";
502
+ stack_native: "stack_native";
503
+ }>>;
504
+ applicableProductIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
505
+ terms: z.ZodDiscriminatedUnion<[z.ZodObject<{
506
+ type: z.ZodLiteral<"percent">;
507
+ percentOff: z.ZodNumber;
508
+ }, z.core.$strict>, z.ZodObject<{
509
+ type: z.ZodLiteral<"amount">;
510
+ amountOffMinor: z.ZodNumber;
511
+ currency: z.ZodString;
512
+ }, z.core.$strict>], "type">;
513
+ duration: z.ZodDiscriminatedUnion<[z.ZodObject<{
514
+ type: z.ZodLiteral<"once">;
515
+ }, z.core.$strict>, z.ZodObject<{
516
+ type: z.ZodLiteral<"forever">;
517
+ }, z.core.$strict>, z.ZodObject<{
518
+ type: z.ZodLiteral<"repeating">;
519
+ months: z.ZodNumber;
520
+ }, z.core.$strict>], "type">;
521
+ }, z.core.$strict>>>;
522
+ discountExpiresAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
523
+ initialAmountMinor: z.ZodOptional<z.ZodNumber>;
463
524
  }, z.core.$strict>>;
464
525
  subtotalMinor: z.ZodNumber;
465
526
  discountMinor: z.ZodNumber;
527
+ nativeDiscountMinor: z.ZodOptional<z.ZodNumber>;
528
+ discount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
529
+ grantId: z.ZodUUID;
530
+ couponId: z.ZodUUID;
531
+ amountMinor: z.ZodNumber;
532
+ applicationPolicy: z.ZodOptional<z.ZodEnum<{
533
+ replace: "replace";
534
+ stack_native: "stack_native";
535
+ }>>;
536
+ applicableProductIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
537
+ terms: z.ZodDiscriminatedUnion<[z.ZodObject<{
538
+ type: z.ZodLiteral<"percent">;
539
+ percentOff: z.ZodNumber;
540
+ }, z.core.$strict>, z.ZodObject<{
541
+ type: z.ZodLiteral<"amount">;
542
+ amountOffMinor: z.ZodNumber;
543
+ currency: z.ZodString;
544
+ }, z.core.$strict>], "type">;
545
+ duration: z.ZodDiscriminatedUnion<[z.ZodObject<{
546
+ type: z.ZodLiteral<"once">;
547
+ }, z.core.$strict>, z.ZodObject<{
548
+ type: z.ZodLiteral<"forever">;
549
+ }, z.core.$strict>, z.ZodObject<{
550
+ type: z.ZodLiteral<"repeating">;
551
+ months: z.ZodNumber;
552
+ }, z.core.$strict>], "type">;
553
+ }, z.core.$strict>>>;
466
554
  taxMinor: z.ZodNullable<z.ZodNumber>;
467
555
  totalMinor: z.ZodNullable<z.ZodNumber>;
468
556
  effectiveAt: z.ZodNullable<z.ZodISODateTime>;