@tinkerlandai/longplay-sdk 0.10.21 → 0.10.22

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 (33) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/{ai-usage-3NrLouAi.d.ts → ai-usage-WFwbPTiq.d.ts} +1 -1
  3. package/dist/{api-C65zMJI6.d.ts → api-rZ_QoNQi.d.ts} +642 -21
  4. package/dist/{chunk-Z5CW2N7E.js → chunk-77ZUEWYE.js} +1 -1
  5. package/dist/{chunk-CHQUGYMS.js → chunk-CM75TDWK.js} +1 -1
  6. package/dist/{chunk-53C6LI3D.js → chunk-GQ7B25L5.js} +1 -1
  7. package/dist/{chunk-AX2PJEJP.js → chunk-HCI6E3R7.js} +1 -1
  8. package/dist/{chunk-YDWAT2ID.js → chunk-HK3UIQ4O.js} +1 -1
  9. package/dist/{chunk-BP6G3YGP.js → chunk-KLP5TN5O.js} +1 -1
  10. package/dist/{chunk-JXNNWCEB.js → chunk-KSCITFNQ.js} +3 -3
  11. package/dist/{chunk-LBGCSWVF.js → chunk-NO5GW7GX.js} +1 -1
  12. package/dist/{chunk-JNML7SY4.js → chunk-O5XTOWFZ.js} +1 -1
  13. package/dist/chunk-RNOB7OYB.js +1 -0
  14. package/dist/{content-JS7M7A3P.js → content-RWD3AGMM.js} +1 -1
  15. package/dist/{funnel-local-client-WOMhUCjI.d.ts → funnel-local-client-BYdKGnMb.d.ts} +389 -1
  16. package/dist/{funnel-node-evaluation-Dhv2hYnn.d.ts → funnel-node-evaluation-eLMEZIFz.d.ts} +31 -0
  17. package/dist/{funnel-process-client-C6q2FqFc.d.ts → funnel-process-client-C87pmLC9.d.ts} +800 -2
  18. package/dist/funnel-runtime-host-MRP53J2I.js +1 -0
  19. package/dist/index.d.ts +7 -7
  20. package/dist/index.js +1 -1
  21. package/dist/native-shell.js +1 -1
  22. package/dist/openrouter.d.ts +2 -2
  23. package/dist/openrouter.js +1 -1
  24. package/dist/page.js +1 -1
  25. package/dist/{paywall-VHDTE2N2.js → paywall-5Q4VATYY.js} +1 -1
  26. package/dist/react-native.d.ts +5 -5
  27. package/dist/react-native.js +1 -1
  28. package/dist/server.d.ts +252 -24
  29. package/dist/server.js +1 -1
  30. package/dist/visual.js +1 -1
  31. package/package.json +1 -1
  32. package/dist/chunk-M4LTOSLT.js +0 -1
  33. package/dist/funnel-runtime-host-XYUJ4WFW.js +0 -1
@@ -1,6 +1,6 @@
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-C65zMJI6.js';
3
+ import { I as InvoiceModeParams, b as InvoiceModeParamsInput, A as ApiInput } from './api-rZ_QoNQi.js';
4
4
  import { S as StackNode, a as ScreenSelection } from './screen-DRP7nsrQ.js';
5
5
  import { J as JsonValue, E as EvaluationContext, F as FeatureResult } from './growth-rules-B4YYy64R.js';
6
6
  import { a as ConfigurationSync } from './configuration-sync-eEFj_oKG.js';
@@ -4142,6 +4142,37 @@ declare const funnelRunViewSchema: z.ZodObject<{
4142
4142
  quantity: z.ZodNumber;
4143
4143
  }, z.core.$strict>>;
4144
4144
  removePriceIds: z.ZodArray<z.ZodUUID>;
4145
+ sourceLineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
4146
+ priceId: z.ZodUUID;
4147
+ productVersionId: z.ZodUUID;
4148
+ productId: z.ZodString;
4149
+ quantity: z.ZodNumber;
4150
+ unitAmountMinor: z.ZodNumber;
4151
+ totalMinor: z.ZodNumber;
4152
+ interval: z.ZodEnum<{
4153
+ week: "week";
4154
+ month: "month";
4155
+ year: "year";
4156
+ one_off: "one_off";
4157
+ }>;
4158
+ intervalCount: z.ZodNumber;
4159
+ kind: z.ZodEnum<{
4160
+ prepaid: "prepaid";
4161
+ fixed: "fixed";
4162
+ seat: "seat";
4163
+ }>;
4164
+ tiers: z.ZodNullable<z.ZodObject<{
4165
+ mode: z.ZodEnum<{
4166
+ graduated: "graduated";
4167
+ volume: "volume";
4168
+ }>;
4169
+ tiers: z.ZodArray<z.ZodObject<{
4170
+ upTo: z.ZodNullable<z.ZodNumber>;
4171
+ unitAmountMinor: z.ZodNumber;
4172
+ flatAmountMinor: z.ZodOptional<z.ZodNumber>;
4173
+ }, z.core.$strict>>;
4174
+ }, z.core.$strict>>;
4175
+ }, z.core.$strict>>>;
4145
4176
  provider: z.ZodLiteral<"merchant">;
4146
4177
  executor: z.ZodLiteral<"merchant">;
4147
4178
  operationId: z.ZodUUID;
@@ -8223,6 +8254,37 @@ declare const funnelRuntimeResponseSchema: z.ZodObject<{
8223
8254
  quantity: z.ZodNumber;
8224
8255
  }, z.core.$strict>>;
8225
8256
  removePriceIds: z.ZodArray<z.ZodUUID>;
8257
+ sourceLineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
8258
+ priceId: z.ZodUUID;
8259
+ productVersionId: z.ZodUUID;
8260
+ productId: z.ZodString;
8261
+ quantity: z.ZodNumber;
8262
+ unitAmountMinor: z.ZodNumber;
8263
+ totalMinor: z.ZodNumber;
8264
+ interval: z.ZodEnum<{
8265
+ week: "week";
8266
+ month: "month";
8267
+ year: "year";
8268
+ one_off: "one_off";
8269
+ }>;
8270
+ intervalCount: z.ZodNumber;
8271
+ kind: z.ZodEnum<{
8272
+ prepaid: "prepaid";
8273
+ fixed: "fixed";
8274
+ seat: "seat";
8275
+ }>;
8276
+ tiers: z.ZodNullable<z.ZodObject<{
8277
+ mode: z.ZodEnum<{
8278
+ graduated: "graduated";
8279
+ volume: "volume";
8280
+ }>;
8281
+ tiers: z.ZodArray<z.ZodObject<{
8282
+ upTo: z.ZodNullable<z.ZodNumber>;
8283
+ unitAmountMinor: z.ZodNumber;
8284
+ flatAmountMinor: z.ZodOptional<z.ZodNumber>;
8285
+ }, z.core.$strict>>;
8286
+ }, z.core.$strict>>;
8287
+ }, z.core.$strict>>>;
8226
8288
  provider: z.ZodLiteral<"merchant">;
8227
8289
  executor: z.ZodLiteral<"merchant">;
8228
8290
  operationId: z.ZodUUID;
@@ -10336,6 +10398,37 @@ declare const funnelRuntimeResponseSchema: z.ZodObject<{
10336
10398
  quantity: z.ZodNumber;
10337
10399
  }, z.core.$strict>>;
10338
10400
  removePriceIds: z.ZodArray<z.ZodUUID>;
10401
+ sourceLineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
10402
+ priceId: z.ZodUUID;
10403
+ productVersionId: z.ZodUUID;
10404
+ productId: z.ZodString;
10405
+ quantity: z.ZodNumber;
10406
+ unitAmountMinor: z.ZodNumber;
10407
+ totalMinor: z.ZodNumber;
10408
+ interval: z.ZodEnum<{
10409
+ week: "week";
10410
+ month: "month";
10411
+ year: "year";
10412
+ one_off: "one_off";
10413
+ }>;
10414
+ intervalCount: z.ZodNumber;
10415
+ kind: z.ZodEnum<{
10416
+ prepaid: "prepaid";
10417
+ fixed: "fixed";
10418
+ seat: "seat";
10419
+ }>;
10420
+ tiers: z.ZodNullable<z.ZodObject<{
10421
+ mode: z.ZodEnum<{
10422
+ graduated: "graduated";
10423
+ volume: "volume";
10424
+ }>;
10425
+ tiers: z.ZodArray<z.ZodObject<{
10426
+ upTo: z.ZodNullable<z.ZodNumber>;
10427
+ unitAmountMinor: z.ZodNumber;
10428
+ flatAmountMinor: z.ZodOptional<z.ZodNumber>;
10429
+ }, z.core.$strict>>;
10430
+ }, z.core.$strict>>;
10431
+ }, z.core.$strict>>>;
10339
10432
  provider: z.ZodLiteral<"merchant">;
10340
10433
  executor: z.ZodLiteral<"merchant">;
10341
10434
  operationId: z.ZodUUID;
@@ -14540,6 +14633,37 @@ declare const funnelProcessRunViewSchema: z.ZodObject<{
14540
14633
  quantity: z.ZodNumber;
14541
14634
  }, z.core.$strict>>;
14542
14635
  removePriceIds: z.ZodArray<z.ZodUUID>;
14636
+ sourceLineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
14637
+ priceId: z.ZodUUID;
14638
+ productVersionId: z.ZodUUID;
14639
+ productId: z.ZodString;
14640
+ quantity: z.ZodNumber;
14641
+ unitAmountMinor: z.ZodNumber;
14642
+ totalMinor: z.ZodNumber;
14643
+ interval: z.ZodEnum<{
14644
+ week: "week";
14645
+ month: "month";
14646
+ year: "year";
14647
+ one_off: "one_off";
14648
+ }>;
14649
+ intervalCount: z.ZodNumber;
14650
+ kind: z.ZodEnum<{
14651
+ prepaid: "prepaid";
14652
+ fixed: "fixed";
14653
+ seat: "seat";
14654
+ }>;
14655
+ tiers: z.ZodNullable<z.ZodObject<{
14656
+ mode: z.ZodEnum<{
14657
+ graduated: "graduated";
14658
+ volume: "volume";
14659
+ }>;
14660
+ tiers: z.ZodArray<z.ZodObject<{
14661
+ upTo: z.ZodNullable<z.ZodNumber>;
14662
+ unitAmountMinor: z.ZodNumber;
14663
+ flatAmountMinor: z.ZodOptional<z.ZodNumber>;
14664
+ }, z.core.$strict>>;
14665
+ }, z.core.$strict>>;
14666
+ }, z.core.$strict>>>;
14543
14667
  provider: z.ZodLiteral<"merchant">;
14544
14668
  executor: z.ZodLiteral<"merchant">;
14545
14669
  operationId: z.ZodUUID;
@@ -17015,6 +17139,37 @@ declare const funnelProcessRuntimeResponseSchema: z.ZodObject<{
17015
17139
  quantity: z.ZodNumber;
17016
17140
  }, z.core.$strict>>;
17017
17141
  removePriceIds: z.ZodArray<z.ZodUUID>;
17142
+ sourceLineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
17143
+ priceId: z.ZodUUID;
17144
+ productVersionId: z.ZodUUID;
17145
+ productId: z.ZodString;
17146
+ quantity: z.ZodNumber;
17147
+ unitAmountMinor: z.ZodNumber;
17148
+ totalMinor: z.ZodNumber;
17149
+ interval: z.ZodEnum<{
17150
+ week: "week";
17151
+ month: "month";
17152
+ year: "year";
17153
+ one_off: "one_off";
17154
+ }>;
17155
+ intervalCount: z.ZodNumber;
17156
+ kind: z.ZodEnum<{
17157
+ prepaid: "prepaid";
17158
+ fixed: "fixed";
17159
+ seat: "seat";
17160
+ }>;
17161
+ tiers: z.ZodNullable<z.ZodObject<{
17162
+ mode: z.ZodEnum<{
17163
+ graduated: "graduated";
17164
+ volume: "volume";
17165
+ }>;
17166
+ tiers: z.ZodArray<z.ZodObject<{
17167
+ upTo: z.ZodNullable<z.ZodNumber>;
17168
+ unitAmountMinor: z.ZodNumber;
17169
+ flatAmountMinor: z.ZodOptional<z.ZodNumber>;
17170
+ }, z.core.$strict>>;
17171
+ }, z.core.$strict>>;
17172
+ }, z.core.$strict>>>;
17018
17173
  provider: z.ZodLiteral<"merchant">;
17019
17174
  executor: z.ZodLiteral<"merchant">;
17020
17175
  operationId: z.ZodUUID;
@@ -21215,6 +21370,37 @@ declare const funnelProcessRuntimeResponseSchema: z.ZodObject<{
21215
21370
  quantity: z.ZodNumber;
21216
21371
  }, z.core.$strict>>;
21217
21372
  removePriceIds: z.ZodArray<z.ZodUUID>;
21373
+ sourceLineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
21374
+ priceId: z.ZodUUID;
21375
+ productVersionId: z.ZodUUID;
21376
+ productId: z.ZodString;
21377
+ quantity: z.ZodNumber;
21378
+ unitAmountMinor: z.ZodNumber;
21379
+ totalMinor: z.ZodNumber;
21380
+ interval: z.ZodEnum<{
21381
+ week: "week";
21382
+ month: "month";
21383
+ year: "year";
21384
+ one_off: "one_off";
21385
+ }>;
21386
+ intervalCount: z.ZodNumber;
21387
+ kind: z.ZodEnum<{
21388
+ prepaid: "prepaid";
21389
+ fixed: "fixed";
21390
+ seat: "seat";
21391
+ }>;
21392
+ tiers: z.ZodNullable<z.ZodObject<{
21393
+ mode: z.ZodEnum<{
21394
+ graduated: "graduated";
21395
+ volume: "volume";
21396
+ }>;
21397
+ tiers: z.ZodArray<z.ZodObject<{
21398
+ upTo: z.ZodNullable<z.ZodNumber>;
21399
+ unitAmountMinor: z.ZodNumber;
21400
+ flatAmountMinor: z.ZodOptional<z.ZodNumber>;
21401
+ }, z.core.$strict>>;
21402
+ }, z.core.$strict>>;
21403
+ }, z.core.$strict>>>;
21218
21404
  provider: z.ZodLiteral<"merchant">;
21219
21405
  executor: z.ZodLiteral<"merchant">;
21220
21406
  operationId: z.ZodUUID;
@@ -24819,6 +25005,37 @@ declare const subscriptionOperationSchema: z.ZodObject<{
24819
25005
  quantity: z.ZodNumber;
24820
25006
  }, z.core.$strict>>;
24821
25007
  removePriceIds: z.ZodArray<z.ZodUUID>;
25008
+ sourceLineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
25009
+ priceId: z.ZodUUID;
25010
+ productVersionId: z.ZodUUID;
25011
+ productId: z.ZodString;
25012
+ quantity: z.ZodNumber;
25013
+ unitAmountMinor: z.ZodNumber;
25014
+ totalMinor: z.ZodNumber;
25015
+ interval: z.ZodEnum<{
25016
+ week: "week";
25017
+ month: "month";
25018
+ year: "year";
25019
+ one_off: "one_off";
25020
+ }>;
25021
+ intervalCount: z.ZodNumber;
25022
+ kind: z.ZodEnum<{
25023
+ prepaid: "prepaid";
25024
+ fixed: "fixed";
25025
+ seat: "seat";
25026
+ }>;
25027
+ tiers: z.ZodNullable<z.ZodObject<{
25028
+ mode: z.ZodEnum<{
25029
+ graduated: "graduated";
25030
+ volume: "volume";
25031
+ }>;
25032
+ tiers: z.ZodArray<z.ZodObject<{
25033
+ upTo: z.ZodNullable<z.ZodNumber>;
25034
+ unitAmountMinor: z.ZodNumber;
25035
+ flatAmountMinor: z.ZodOptional<z.ZodNumber>;
25036
+ }, z.core.$strict>>;
25037
+ }, z.core.$strict>>;
25038
+ }, z.core.$strict>>>;
24822
25039
  provider: z.ZodLiteral<"merchant">;
24823
25040
  executor: z.ZodLiteral<"merchant">;
24824
25041
  operationId: z.ZodUUID;
@@ -30517,6 +30734,25 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
30517
30734
  connectionRevision: number;
30518
30735
  currency: string;
30519
30736
  expiresAt: string;
30737
+ sourceLineItems?: {
30738
+ priceId: string;
30739
+ productVersionId: string;
30740
+ productId: string;
30741
+ quantity: number;
30742
+ unitAmountMinor: number;
30743
+ totalMinor: number;
30744
+ interval: "week" | "month" | "year" | "one_off";
30745
+ intervalCount: number;
30746
+ kind: "prepaid" | "fixed" | "seat";
30747
+ tiers: {
30748
+ mode: "graduated" | "volume";
30749
+ tiers: {
30750
+ upTo: number | null;
30751
+ unitAmountMinor: number;
30752
+ flatAmountMinor?: number | undefined;
30753
+ }[];
30754
+ } | null;
30755
+ }[] | undefined;
30520
30756
  } | {
30521
30757
  type: "refund";
30522
30758
  invoiceId: string;
@@ -32896,6 +33132,25 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
32896
33132
  connectionRevision: number;
32897
33133
  currency: string;
32898
33134
  expiresAt: string;
33135
+ sourceLineItems?: {
33136
+ priceId: string;
33137
+ productVersionId: string;
33138
+ productId: string;
33139
+ quantity: number;
33140
+ unitAmountMinor: number;
33141
+ totalMinor: number;
33142
+ interval: "week" | "month" | "year" | "one_off";
33143
+ intervalCount: number;
33144
+ kind: "prepaid" | "fixed" | "seat";
33145
+ tiers: {
33146
+ mode: "graduated" | "volume";
33147
+ tiers: {
33148
+ upTo: number | null;
33149
+ unitAmountMinor: number;
33150
+ flatAmountMinor?: number | undefined;
33151
+ }[];
33152
+ } | null;
33153
+ }[] | undefined;
32899
33154
  } | {
32900
33155
  type: "refund";
32901
33156
  invoiceId: string;
@@ -34167,6 +34422,25 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
34167
34422
  connectionRevision: number;
34168
34423
  currency: string;
34169
34424
  expiresAt: string;
34425
+ sourceLineItems?: {
34426
+ priceId: string;
34427
+ productVersionId: string;
34428
+ productId: string;
34429
+ quantity: number;
34430
+ unitAmountMinor: number;
34431
+ totalMinor: number;
34432
+ interval: "week" | "month" | "year" | "one_off";
34433
+ intervalCount: number;
34434
+ kind: "prepaid" | "fixed" | "seat";
34435
+ tiers: {
34436
+ mode: "graduated" | "volume";
34437
+ tiers: {
34438
+ upTo: number | null;
34439
+ unitAmountMinor: number;
34440
+ flatAmountMinor?: number | undefined;
34441
+ }[];
34442
+ } | null;
34443
+ }[] | undefined;
34170
34444
  } | {
34171
34445
  type: "refund";
34172
34446
  invoiceId: string;
@@ -36999,6 +37273,25 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
36999
37273
  connectionRevision: number;
37000
37274
  currency: string;
37001
37275
  expiresAt: string;
37276
+ sourceLineItems?: {
37277
+ priceId: string;
37278
+ productVersionId: string;
37279
+ productId: string;
37280
+ quantity: number;
37281
+ unitAmountMinor: number;
37282
+ totalMinor: number;
37283
+ interval: "week" | "month" | "year" | "one_off";
37284
+ intervalCount: number;
37285
+ kind: "prepaid" | "fixed" | "seat";
37286
+ tiers: {
37287
+ mode: "graduated" | "volume";
37288
+ tiers: {
37289
+ upTo: number | null;
37290
+ unitAmountMinor: number;
37291
+ flatAmountMinor?: number | undefined;
37292
+ }[];
37293
+ } | null;
37294
+ }[] | undefined;
37002
37295
  } | {
37003
37296
  type: "refund";
37004
37297
  invoiceId: string;
@@ -38270,6 +38563,25 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
38270
38563
  connectionRevision: number;
38271
38564
  currency: string;
38272
38565
  expiresAt: string;
38566
+ sourceLineItems?: {
38567
+ priceId: string;
38568
+ productVersionId: string;
38569
+ productId: string;
38570
+ quantity: number;
38571
+ unitAmountMinor: number;
38572
+ totalMinor: number;
38573
+ interval: "week" | "month" | "year" | "one_off";
38574
+ intervalCount: number;
38575
+ kind: "prepaid" | "fixed" | "seat";
38576
+ tiers: {
38577
+ mode: "graduated" | "volume";
38578
+ tiers: {
38579
+ upTo: number | null;
38580
+ unitAmountMinor: number;
38581
+ flatAmountMinor?: number | undefined;
38582
+ }[];
38583
+ } | null;
38584
+ }[] | undefined;
38273
38585
  } | {
38274
38586
  type: "refund";
38275
38587
  invoiceId: string;
@@ -40603,6 +40915,25 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
40603
40915
  connectionRevision: number;
40604
40916
  currency: string;
40605
40917
  expiresAt: string;
40918
+ sourceLineItems?: {
40919
+ priceId: string;
40920
+ productVersionId: string;
40921
+ productId: string;
40922
+ quantity: number;
40923
+ unitAmountMinor: number;
40924
+ totalMinor: number;
40925
+ interval: "week" | "month" | "year" | "one_off";
40926
+ intervalCount: number;
40927
+ kind: "prepaid" | "fixed" | "seat";
40928
+ tiers: {
40929
+ mode: "graduated" | "volume";
40930
+ tiers: {
40931
+ upTo: number | null;
40932
+ unitAmountMinor: number;
40933
+ flatAmountMinor?: number | undefined;
40934
+ }[];
40935
+ } | null;
40936
+ }[] | undefined;
40606
40937
  } | {
40607
40938
  type: "refund";
40608
40939
  invoiceId: string;
@@ -41874,6 +42205,25 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
41874
42205
  connectionRevision: number;
41875
42206
  currency: string;
41876
42207
  expiresAt: string;
42208
+ sourceLineItems?: {
42209
+ priceId: string;
42210
+ productVersionId: string;
42211
+ productId: string;
42212
+ quantity: number;
42213
+ unitAmountMinor: number;
42214
+ totalMinor: number;
42215
+ interval: "week" | "month" | "year" | "one_off";
42216
+ intervalCount: number;
42217
+ kind: "prepaid" | "fixed" | "seat";
42218
+ tiers: {
42219
+ mode: "graduated" | "volume";
42220
+ tiers: {
42221
+ upTo: number | null;
42222
+ unitAmountMinor: number;
42223
+ flatAmountMinor?: number | undefined;
42224
+ }[];
42225
+ } | null;
42226
+ }[] | undefined;
41877
42227
  } | {
41878
42228
  type: "refund";
41879
42229
  invoiceId: string;
@@ -44205,6 +44555,25 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
44205
44555
  connectionRevision: number;
44206
44556
  currency: string;
44207
44557
  expiresAt: string;
44558
+ sourceLineItems?: {
44559
+ priceId: string;
44560
+ productVersionId: string;
44561
+ productId: string;
44562
+ quantity: number;
44563
+ unitAmountMinor: number;
44564
+ totalMinor: number;
44565
+ interval: "week" | "month" | "year" | "one_off";
44566
+ intervalCount: number;
44567
+ kind: "prepaid" | "fixed" | "seat";
44568
+ tiers: {
44569
+ mode: "graduated" | "volume";
44570
+ tiers: {
44571
+ upTo: number | null;
44572
+ unitAmountMinor: number;
44573
+ flatAmountMinor?: number | undefined;
44574
+ }[];
44575
+ } | null;
44576
+ }[] | undefined;
44208
44577
  } | {
44209
44578
  type: "refund";
44210
44579
  invoiceId: string;
@@ -45476,6 +45845,25 @@ declare function createFunnelRunController(options: FunnelRunControllerOptions):
45476
45845
  connectionRevision: number;
45477
45846
  currency: string;
45478
45847
  expiresAt: string;
45848
+ sourceLineItems?: {
45849
+ priceId: string;
45850
+ productVersionId: string;
45851
+ productId: string;
45852
+ quantity: number;
45853
+ unitAmountMinor: number;
45854
+ totalMinor: number;
45855
+ interval: "week" | "month" | "year" | "one_off";
45856
+ intervalCount: number;
45857
+ kind: "prepaid" | "fixed" | "seat";
45858
+ tiers: {
45859
+ mode: "graduated" | "volume";
45860
+ tiers: {
45861
+ upTo: number | null;
45862
+ unitAmountMinor: number;
45863
+ flatAmountMinor?: number | undefined;
45864
+ }[];
45865
+ } | null;
45866
+ }[] | undefined;
45479
45867
  } | {
45480
45868
  type: "refund";
45481
45869
  invoiceId: string;
@@ -254,6 +254,37 @@ declare const merchantBridgeOperationAuthoritySchema: z.ZodObject<{
254
254
  quantity: z.ZodNumber;
255
255
  }, z.core.$strict>>;
256
256
  removePriceIds: z.ZodArray<z.ZodUUID>;
257
+ sourceLineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
258
+ priceId: z.ZodUUID;
259
+ productVersionId: z.ZodUUID;
260
+ productId: z.ZodString;
261
+ quantity: z.ZodNumber;
262
+ unitAmountMinor: z.ZodNumber;
263
+ totalMinor: z.ZodNumber;
264
+ interval: z.ZodEnum<{
265
+ week: "week";
266
+ month: "month";
267
+ year: "year";
268
+ one_off: "one_off";
269
+ }>;
270
+ intervalCount: z.ZodNumber;
271
+ kind: z.ZodEnum<{
272
+ prepaid: "prepaid";
273
+ fixed: "fixed";
274
+ seat: "seat";
275
+ }>;
276
+ tiers: z.ZodNullable<z.ZodObject<{
277
+ mode: z.ZodEnum<{
278
+ graduated: "graduated";
279
+ volume: "volume";
280
+ }>;
281
+ tiers: z.ZodArray<z.ZodObject<{
282
+ upTo: z.ZodNullable<z.ZodNumber>;
283
+ unitAmountMinor: z.ZodNumber;
284
+ flatAmountMinor: z.ZodOptional<z.ZodNumber>;
285
+ }, z.core.$strict>>;
286
+ }, z.core.$strict>>;
287
+ }, z.core.$strict>>>;
257
288
  provider: z.ZodLiteral<"merchant">;
258
289
  executor: z.ZodLiteral<"merchant">;
259
290
  operationId: z.ZodUUID;