@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,7 +1,7 @@
1
1
  import * as zod from 'zod';
2
2
  import { z } from 'zod';
3
- import { g as FeatureClientOptions, I as IndianaOptions, C as CustomerSession, R as RemoteFeatureResult, A as PushAddressObservation, B as FunnelStartInput, l as FunnelSegmentPrediction, D as PaywallDelivery, E as FunnelDataQueries, h as FunnelControllerResponse, k as FunnelRuntimeResponse, G as FunnelMutation, a as FunnelRunView, H as FunnelProcessOpenInput, J as FunnelProcessResponse, K as FunnelCommand, M as FunnelProcessMutation, N as FunnelPageExperimentsResponse, e as FunnelProcessRunView, F as FunnelRunController } from './funnel-local-client-WOMhUCjI.js';
4
- import { A as ApiInput, O as OfferingItem, I as InvoiceModeParams, a as ApiOutput } from './api-C65zMJI6.js';
3
+ import { g as FeatureClientOptions, I as IndianaOptions, C as CustomerSession, R as RemoteFeatureResult, A as PushAddressObservation, B as FunnelStartInput, l as FunnelSegmentPrediction, D as PaywallDelivery, E as FunnelDataQueries, h as FunnelControllerResponse, k as FunnelRuntimeResponse, G as FunnelMutation, a as FunnelRunView, H as FunnelProcessOpenInput, J as FunnelProcessResponse, K as FunnelCommand, M as FunnelProcessMutation, N as FunnelPageExperimentsResponse, e as FunnelProcessRunView, F as FunnelRunController } from './funnel-local-client-BYdKGnMb.js';
4
+ import { A as ApiInput, O as OfferingItem, I as InvoiceModeParams, a as ApiOutput } from './api-rZ_QoNQi.js';
5
5
  import { O as Offer } from './coupon-Btz_KFKp.js';
6
6
  import { S as StackNode } from './screen-DRP7nsrQ.js';
7
7
  import { J as JsonValue, F as FeatureResult } from './growth-rules-B4YYy64R.js';
@@ -1840,6 +1840,25 @@ declare function createIndiana(options: IndianaOptions): {
1840
1840
  connectionRevision: number;
1841
1841
  currency: string;
1842
1842
  expiresAt: string;
1843
+ sourceLineItems?: {
1844
+ priceId: string;
1845
+ productVersionId: string;
1846
+ productId: string;
1847
+ quantity: number;
1848
+ unitAmountMinor: number;
1849
+ totalMinor: number;
1850
+ interval: "week" | "month" | "year" | "one_off";
1851
+ intervalCount: number;
1852
+ kind: "prepaid" | "fixed" | "seat";
1853
+ tiers: {
1854
+ mode: "graduated" | "volume";
1855
+ tiers: {
1856
+ upTo: number | null;
1857
+ unitAmountMinor: number;
1858
+ flatAmountMinor?: number | undefined;
1859
+ }[];
1860
+ } | null;
1861
+ }[] | undefined;
1843
1862
  } | {
1844
1863
  provider: "stripe";
1845
1864
  executor: "merchant" | "indiana";
@@ -2138,6 +2157,25 @@ declare function createIndiana(options: IndianaOptions): {
2138
2157
  connectionRevision: number;
2139
2158
  currency: string;
2140
2159
  expiresAt: string;
2160
+ sourceLineItems?: {
2161
+ priceId: string;
2162
+ productVersionId: string;
2163
+ productId: string;
2164
+ quantity: number;
2165
+ unitAmountMinor: number;
2166
+ totalMinor: number;
2167
+ interval: "week" | "month" | "year" | "one_off";
2168
+ intervalCount: number;
2169
+ kind: "prepaid" | "fixed" | "seat";
2170
+ tiers: {
2171
+ mode: "graduated" | "volume";
2172
+ tiers: {
2173
+ upTo: number | null;
2174
+ unitAmountMinor: number;
2175
+ flatAmountMinor?: number | undefined;
2176
+ }[];
2177
+ } | null;
2178
+ }[] | undefined;
2141
2179
  } | {
2142
2180
  provider: "stripe";
2143
2181
  executor: "merchant" | "indiana";
@@ -2343,6 +2381,25 @@ declare function createIndiana(options: IndianaOptions): {
2343
2381
  connectionRevision: number;
2344
2382
  currency: string;
2345
2383
  expiresAt: string;
2384
+ sourceLineItems?: {
2385
+ priceId: string;
2386
+ productVersionId: string;
2387
+ productId: string;
2388
+ quantity: number;
2389
+ unitAmountMinor: number;
2390
+ totalMinor: number;
2391
+ interval: "week" | "month" | "year" | "one_off";
2392
+ intervalCount: number;
2393
+ kind: "prepaid" | "fixed" | "seat";
2394
+ tiers: {
2395
+ mode: "graduated" | "volume";
2396
+ tiers: {
2397
+ upTo: number | null;
2398
+ unitAmountMinor: number;
2399
+ flatAmountMinor?: number | undefined;
2400
+ }[];
2401
+ } | null;
2402
+ }[] | undefined;
2346
2403
  } | {
2347
2404
  provider: "stripe";
2348
2405
  executor: "merchant" | "indiana";
@@ -2669,6 +2726,25 @@ declare function createIndiana(options: IndianaOptions): {
2669
2726
  connectionRevision: number;
2670
2727
  currency: string;
2671
2728
  expiresAt: string;
2729
+ sourceLineItems?: {
2730
+ priceId: string;
2731
+ productVersionId: string;
2732
+ productId: string;
2733
+ quantity: number;
2734
+ unitAmountMinor: number;
2735
+ totalMinor: number;
2736
+ interval: "week" | "month" | "year" | "one_off";
2737
+ intervalCount: number;
2738
+ kind: "prepaid" | "fixed" | "seat";
2739
+ tiers: {
2740
+ mode: "graduated" | "volume";
2741
+ tiers: {
2742
+ upTo: number | null;
2743
+ unitAmountMinor: number;
2744
+ flatAmountMinor?: number | undefined;
2745
+ }[];
2746
+ } | null;
2747
+ }[] | undefined;
2672
2748
  } | {
2673
2749
  type: "refund";
2674
2750
  invoiceId: string;
@@ -2944,6 +3020,25 @@ declare function createIndiana(options: IndianaOptions): {
2944
3020
  connectionRevision: number;
2945
3021
  currency: string;
2946
3022
  expiresAt: string;
3023
+ sourceLineItems?: {
3024
+ priceId: string;
3025
+ productVersionId: string;
3026
+ productId: string;
3027
+ quantity: number;
3028
+ unitAmountMinor: number;
3029
+ totalMinor: number;
3030
+ interval: "week" | "month" | "year" | "one_off";
3031
+ intervalCount: number;
3032
+ kind: "prepaid" | "fixed" | "seat";
3033
+ tiers: {
3034
+ mode: "graduated" | "volume";
3035
+ tiers: {
3036
+ upTo: number | null;
3037
+ unitAmountMinor: number;
3038
+ flatAmountMinor?: number | undefined;
3039
+ }[];
3040
+ } | null;
3041
+ }[] | undefined;
2947
3042
  } | {
2948
3043
  provider: "stripe";
2949
3044
  executor: "merchant" | "indiana";
@@ -3149,6 +3244,25 @@ declare function createIndiana(options: IndianaOptions): {
3149
3244
  connectionRevision: number;
3150
3245
  currency: string;
3151
3246
  expiresAt: string;
3247
+ sourceLineItems?: {
3248
+ priceId: string;
3249
+ productVersionId: string;
3250
+ productId: string;
3251
+ quantity: number;
3252
+ unitAmountMinor: number;
3253
+ totalMinor: number;
3254
+ interval: "week" | "month" | "year" | "one_off";
3255
+ intervalCount: number;
3256
+ kind: "prepaid" | "fixed" | "seat";
3257
+ tiers: {
3258
+ mode: "graduated" | "volume";
3259
+ tiers: {
3260
+ upTo: number | null;
3261
+ unitAmountMinor: number;
3262
+ flatAmountMinor?: number | undefined;
3263
+ }[];
3264
+ } | null;
3265
+ }[] | undefined;
3152
3266
  } | {
3153
3267
  provider: "stripe";
3154
3268
  executor: "merchant" | "indiana";
@@ -3475,6 +3589,25 @@ declare function createIndiana(options: IndianaOptions): {
3475
3589
  connectionRevision: number;
3476
3590
  currency: string;
3477
3591
  expiresAt: string;
3592
+ sourceLineItems?: {
3593
+ priceId: string;
3594
+ productVersionId: string;
3595
+ productId: string;
3596
+ quantity: number;
3597
+ unitAmountMinor: number;
3598
+ totalMinor: number;
3599
+ interval: "week" | "month" | "year" | "one_off";
3600
+ intervalCount: number;
3601
+ kind: "prepaid" | "fixed" | "seat";
3602
+ tiers: {
3603
+ mode: "graduated" | "volume";
3604
+ tiers: {
3605
+ upTo: number | null;
3606
+ unitAmountMinor: number;
3607
+ flatAmountMinor?: number | undefined;
3608
+ }[];
3609
+ } | null;
3610
+ }[] | undefined;
3478
3611
  } | {
3479
3612
  type: "refund";
3480
3613
  invoiceId: string;
@@ -4778,6 +4911,25 @@ declare function createIndiana(options: IndianaOptions): {
4778
4911
  connectionRevision: number;
4779
4912
  currency: string;
4780
4913
  expiresAt: string;
4914
+ sourceLineItems?: {
4915
+ priceId: string;
4916
+ productVersionId: string;
4917
+ productId: string;
4918
+ quantity: number;
4919
+ unitAmountMinor: number;
4920
+ totalMinor: number;
4921
+ interval: "week" | "month" | "year" | "one_off";
4922
+ intervalCount: number;
4923
+ kind: "prepaid" | "fixed" | "seat";
4924
+ tiers: {
4925
+ mode: "graduated" | "volume";
4926
+ tiers: {
4927
+ upTo: number | null;
4928
+ unitAmountMinor: number;
4929
+ flatAmountMinor?: number | undefined;
4930
+ }[];
4931
+ } | null;
4932
+ }[] | undefined;
4781
4933
  } | {
4782
4934
  type: "refund";
4783
4935
  invoiceId: string;
@@ -5656,6 +5808,25 @@ declare function createIndiana(options: IndianaOptions): {
5656
5808
  connectionRevision: number;
5657
5809
  currency: string;
5658
5810
  expiresAt: string;
5811
+ sourceLineItems?: {
5812
+ priceId: string;
5813
+ productVersionId: string;
5814
+ productId: string;
5815
+ quantity: number;
5816
+ unitAmountMinor: number;
5817
+ totalMinor: number;
5818
+ interval: "week" | "month" | "year" | "one_off";
5819
+ intervalCount: number;
5820
+ kind: "prepaid" | "fixed" | "seat";
5821
+ tiers: {
5822
+ mode: "graduated" | "volume";
5823
+ tiers: {
5824
+ upTo: number | null;
5825
+ unitAmountMinor: number;
5826
+ flatAmountMinor?: number | undefined;
5827
+ }[];
5828
+ } | null;
5829
+ }[] | undefined;
5659
5830
  } | {
5660
5831
  type: "refund";
5661
5832
  invoiceId: string;
@@ -8764,6 +8935,25 @@ declare function createCustomerClient(options: IndianaOptions): {
8764
8935
  connectionRevision: number;
8765
8936
  currency: string;
8766
8937
  expiresAt: string;
8938
+ sourceLineItems?: {
8939
+ priceId: string;
8940
+ productVersionId: string;
8941
+ productId: string;
8942
+ quantity: number;
8943
+ unitAmountMinor: number;
8944
+ totalMinor: number;
8945
+ interval: "week" | "month" | "year" | "one_off";
8946
+ intervalCount: number;
8947
+ kind: "prepaid" | "fixed" | "seat";
8948
+ tiers: {
8949
+ mode: "graduated" | "volume";
8950
+ tiers: {
8951
+ upTo: number | null;
8952
+ unitAmountMinor: number;
8953
+ flatAmountMinor?: number | undefined;
8954
+ }[];
8955
+ } | null;
8956
+ }[] | undefined;
8767
8957
  } | {
8768
8958
  provider: "stripe";
8769
8959
  executor: "merchant" | "indiana";
@@ -9062,6 +9252,25 @@ declare function createCustomerClient(options: IndianaOptions): {
9062
9252
  connectionRevision: number;
9063
9253
  currency: string;
9064
9254
  expiresAt: string;
9255
+ sourceLineItems?: {
9256
+ priceId: string;
9257
+ productVersionId: string;
9258
+ productId: string;
9259
+ quantity: number;
9260
+ unitAmountMinor: number;
9261
+ totalMinor: number;
9262
+ interval: "week" | "month" | "year" | "one_off";
9263
+ intervalCount: number;
9264
+ kind: "prepaid" | "fixed" | "seat";
9265
+ tiers: {
9266
+ mode: "graduated" | "volume";
9267
+ tiers: {
9268
+ upTo: number | null;
9269
+ unitAmountMinor: number;
9270
+ flatAmountMinor?: number | undefined;
9271
+ }[];
9272
+ } | null;
9273
+ }[] | undefined;
9065
9274
  } | {
9066
9275
  provider: "stripe";
9067
9276
  executor: "merchant" | "indiana";
@@ -9267,6 +9476,25 @@ declare function createCustomerClient(options: IndianaOptions): {
9267
9476
  connectionRevision: number;
9268
9477
  currency: string;
9269
9478
  expiresAt: string;
9479
+ sourceLineItems?: {
9480
+ priceId: string;
9481
+ productVersionId: string;
9482
+ productId: string;
9483
+ quantity: number;
9484
+ unitAmountMinor: number;
9485
+ totalMinor: number;
9486
+ interval: "week" | "month" | "year" | "one_off";
9487
+ intervalCount: number;
9488
+ kind: "prepaid" | "fixed" | "seat";
9489
+ tiers: {
9490
+ mode: "graduated" | "volume";
9491
+ tiers: {
9492
+ upTo: number | null;
9493
+ unitAmountMinor: number;
9494
+ flatAmountMinor?: number | undefined;
9495
+ }[];
9496
+ } | null;
9497
+ }[] | undefined;
9270
9498
  } | {
9271
9499
  provider: "stripe";
9272
9500
  executor: "merchant" | "indiana";
@@ -9593,6 +9821,25 @@ declare function createCustomerClient(options: IndianaOptions): {
9593
9821
  connectionRevision: number;
9594
9822
  currency: string;
9595
9823
  expiresAt: string;
9824
+ sourceLineItems?: {
9825
+ priceId: string;
9826
+ productVersionId: string;
9827
+ productId: string;
9828
+ quantity: number;
9829
+ unitAmountMinor: number;
9830
+ totalMinor: number;
9831
+ interval: "week" | "month" | "year" | "one_off";
9832
+ intervalCount: number;
9833
+ kind: "prepaid" | "fixed" | "seat";
9834
+ tiers: {
9835
+ mode: "graduated" | "volume";
9836
+ tiers: {
9837
+ upTo: number | null;
9838
+ unitAmountMinor: number;
9839
+ flatAmountMinor?: number | undefined;
9840
+ }[];
9841
+ } | null;
9842
+ }[] | undefined;
9596
9843
  } | {
9597
9844
  type: "refund";
9598
9845
  invoiceId: string;
@@ -9868,6 +10115,25 @@ declare function createCustomerClient(options: IndianaOptions): {
9868
10115
  connectionRevision: number;
9869
10116
  currency: string;
9870
10117
  expiresAt: string;
10118
+ sourceLineItems?: {
10119
+ priceId: string;
10120
+ productVersionId: string;
10121
+ productId: string;
10122
+ quantity: number;
10123
+ unitAmountMinor: number;
10124
+ totalMinor: number;
10125
+ interval: "week" | "month" | "year" | "one_off";
10126
+ intervalCount: number;
10127
+ kind: "prepaid" | "fixed" | "seat";
10128
+ tiers: {
10129
+ mode: "graduated" | "volume";
10130
+ tiers: {
10131
+ upTo: number | null;
10132
+ unitAmountMinor: number;
10133
+ flatAmountMinor?: number | undefined;
10134
+ }[];
10135
+ } | null;
10136
+ }[] | undefined;
9871
10137
  } | {
9872
10138
  provider: "stripe";
9873
10139
  executor: "merchant" | "indiana";
@@ -10073,6 +10339,25 @@ declare function createCustomerClient(options: IndianaOptions): {
10073
10339
  connectionRevision: number;
10074
10340
  currency: string;
10075
10341
  expiresAt: string;
10342
+ sourceLineItems?: {
10343
+ priceId: string;
10344
+ productVersionId: string;
10345
+ productId: string;
10346
+ quantity: number;
10347
+ unitAmountMinor: number;
10348
+ totalMinor: number;
10349
+ interval: "week" | "month" | "year" | "one_off";
10350
+ intervalCount: number;
10351
+ kind: "prepaid" | "fixed" | "seat";
10352
+ tiers: {
10353
+ mode: "graduated" | "volume";
10354
+ tiers: {
10355
+ upTo: number | null;
10356
+ unitAmountMinor: number;
10357
+ flatAmountMinor?: number | undefined;
10358
+ }[];
10359
+ } | null;
10360
+ }[] | undefined;
10076
10361
  } | {
10077
10362
  provider: "stripe";
10078
10363
  executor: "merchant" | "indiana";
@@ -10399,6 +10684,25 @@ declare function createCustomerClient(options: IndianaOptions): {
10399
10684
  connectionRevision: number;
10400
10685
  currency: string;
10401
10686
  expiresAt: string;
10687
+ sourceLineItems?: {
10688
+ priceId: string;
10689
+ productVersionId: string;
10690
+ productId: string;
10691
+ quantity: number;
10692
+ unitAmountMinor: number;
10693
+ totalMinor: number;
10694
+ interval: "week" | "month" | "year" | "one_off";
10695
+ intervalCount: number;
10696
+ kind: "prepaid" | "fixed" | "seat";
10697
+ tiers: {
10698
+ mode: "graduated" | "volume";
10699
+ tiers: {
10700
+ upTo: number | null;
10701
+ unitAmountMinor: number;
10702
+ flatAmountMinor?: number | undefined;
10703
+ }[];
10704
+ } | null;
10705
+ }[] | undefined;
10402
10706
  } | {
10403
10707
  type: "refund";
10404
10708
  invoiceId: string;
@@ -11702,6 +12006,25 @@ declare function createCustomerClient(options: IndianaOptions): {
11702
12006
  connectionRevision: number;
11703
12007
  currency: string;
11704
12008
  expiresAt: string;
12009
+ sourceLineItems?: {
12010
+ priceId: string;
12011
+ productVersionId: string;
12012
+ productId: string;
12013
+ quantity: number;
12014
+ unitAmountMinor: number;
12015
+ totalMinor: number;
12016
+ interval: "week" | "month" | "year" | "one_off";
12017
+ intervalCount: number;
12018
+ kind: "prepaid" | "fixed" | "seat";
12019
+ tiers: {
12020
+ mode: "graduated" | "volume";
12021
+ tiers: {
12022
+ upTo: number | null;
12023
+ unitAmountMinor: number;
12024
+ flatAmountMinor?: number | undefined;
12025
+ }[];
12026
+ } | null;
12027
+ }[] | undefined;
11705
12028
  } | {
11706
12029
  type: "refund";
11707
12030
  invoiceId: string;
@@ -12580,6 +12903,25 @@ declare function createCustomerClient(options: IndianaOptions): {
12580
12903
  connectionRevision: number;
12581
12904
  currency: string;
12582
12905
  expiresAt: string;
12906
+ sourceLineItems?: {
12907
+ priceId: string;
12908
+ productVersionId: string;
12909
+ productId: string;
12910
+ quantity: number;
12911
+ unitAmountMinor: number;
12912
+ totalMinor: number;
12913
+ interval: "week" | "month" | "year" | "one_off";
12914
+ intervalCount: number;
12915
+ kind: "prepaid" | "fixed" | "seat";
12916
+ tiers: {
12917
+ mode: "graduated" | "volume";
12918
+ tiers: {
12919
+ upTo: number | null;
12920
+ unitAmountMinor: number;
12921
+ flatAmountMinor?: number | undefined;
12922
+ }[];
12923
+ } | null;
12924
+ }[] | undefined;
12583
12925
  } | {
12584
12926
  type: "refund";
12585
12927
  invoiceId: string;
@@ -17678,6 +18020,25 @@ declare function createFunnelClient(options: IndianaOptions & {
17678
18020
  connectionRevision: number;
17679
18021
  currency: string;
17680
18022
  expiresAt: string;
18023
+ sourceLineItems?: {
18024
+ priceId: string;
18025
+ productVersionId: string;
18026
+ productId: string;
18027
+ quantity: number;
18028
+ unitAmountMinor: number;
18029
+ totalMinor: number;
18030
+ interval: "week" | "month" | "year" | "one_off";
18031
+ intervalCount: number;
18032
+ kind: "prepaid" | "fixed" | "seat";
18033
+ tiers: {
18034
+ mode: "graduated" | "volume";
18035
+ tiers: {
18036
+ upTo: number | null;
18037
+ unitAmountMinor: number;
18038
+ flatAmountMinor?: number | undefined;
18039
+ }[];
18040
+ } | null;
18041
+ }[] | undefined;
17681
18042
  } | {
17682
18043
  type: "refund";
17683
18044
  invoiceId: string;
@@ -20057,6 +20418,25 @@ declare function createFunnelClient(options: IndianaOptions & {
20057
20418
  connectionRevision: number;
20058
20419
  currency: string;
20059
20420
  expiresAt: string;
20421
+ sourceLineItems?: {
20422
+ priceId: string;
20423
+ productVersionId: string;
20424
+ productId: string;
20425
+ quantity: number;
20426
+ unitAmountMinor: number;
20427
+ totalMinor: number;
20428
+ interval: "week" | "month" | "year" | "one_off";
20429
+ intervalCount: number;
20430
+ kind: "prepaid" | "fixed" | "seat";
20431
+ tiers: {
20432
+ mode: "graduated" | "volume";
20433
+ tiers: {
20434
+ upTo: number | null;
20435
+ unitAmountMinor: number;
20436
+ flatAmountMinor?: number | undefined;
20437
+ }[];
20438
+ } | null;
20439
+ }[] | undefined;
20060
20440
  } | {
20061
20441
  type: "refund";
20062
20442
  invoiceId: string;
@@ -21328,6 +21708,25 @@ declare function createFunnelClient(options: IndianaOptions & {
21328
21708
  connectionRevision: number;
21329
21709
  currency: string;
21330
21710
  expiresAt: string;
21711
+ sourceLineItems?: {
21712
+ priceId: string;
21713
+ productVersionId: string;
21714
+ productId: string;
21715
+ quantity: number;
21716
+ unitAmountMinor: number;
21717
+ totalMinor: number;
21718
+ interval: "week" | "month" | "year" | "one_off";
21719
+ intervalCount: number;
21720
+ kind: "prepaid" | "fixed" | "seat";
21721
+ tiers: {
21722
+ mode: "graduated" | "volume";
21723
+ tiers: {
21724
+ upTo: number | null;
21725
+ unitAmountMinor: number;
21726
+ flatAmountMinor?: number | undefined;
21727
+ }[];
21728
+ } | null;
21729
+ }[] | undefined;
21331
21730
  } | {
21332
21731
  type: "refund";
21333
21732
  invoiceId: string;
@@ -24160,6 +24559,25 @@ declare function createFunnelClient(options: IndianaOptions & {
24160
24559
  connectionRevision: number;
24161
24560
  currency: string;
24162
24561
  expiresAt: string;
24562
+ sourceLineItems?: {
24563
+ priceId: string;
24564
+ productVersionId: string;
24565
+ productId: string;
24566
+ quantity: number;
24567
+ unitAmountMinor: number;
24568
+ totalMinor: number;
24569
+ interval: "week" | "month" | "year" | "one_off";
24570
+ intervalCount: number;
24571
+ kind: "prepaid" | "fixed" | "seat";
24572
+ tiers: {
24573
+ mode: "graduated" | "volume";
24574
+ tiers: {
24575
+ upTo: number | null;
24576
+ unitAmountMinor: number;
24577
+ flatAmountMinor?: number | undefined;
24578
+ }[];
24579
+ } | null;
24580
+ }[] | undefined;
24163
24581
  } | {
24164
24582
  type: "refund";
24165
24583
  invoiceId: string;
@@ -25431,6 +25849,25 @@ declare function createFunnelClient(options: IndianaOptions & {
25431
25849
  connectionRevision: number;
25432
25850
  currency: string;
25433
25851
  expiresAt: string;
25852
+ sourceLineItems?: {
25853
+ priceId: string;
25854
+ productVersionId: string;
25855
+ productId: string;
25856
+ quantity: number;
25857
+ unitAmountMinor: number;
25858
+ totalMinor: number;
25859
+ interval: "week" | "month" | "year" | "one_off";
25860
+ intervalCount: number;
25861
+ kind: "prepaid" | "fixed" | "seat";
25862
+ tiers: {
25863
+ mode: "graduated" | "volume";
25864
+ tiers: {
25865
+ upTo: number | null;
25866
+ unitAmountMinor: number;
25867
+ flatAmountMinor?: number | undefined;
25868
+ }[];
25869
+ } | null;
25870
+ }[] | undefined;
25434
25871
  } | {
25435
25872
  type: "refund";
25436
25873
  invoiceId: string;
@@ -27764,6 +28201,25 @@ declare function createFunnelClient(options: IndianaOptions & {
27764
28201
  connectionRevision: number;
27765
28202
  currency: string;
27766
28203
  expiresAt: string;
28204
+ sourceLineItems?: {
28205
+ priceId: string;
28206
+ productVersionId: string;
28207
+ productId: string;
28208
+ quantity: number;
28209
+ unitAmountMinor: number;
28210
+ totalMinor: number;
28211
+ interval: "week" | "month" | "year" | "one_off";
28212
+ intervalCount: number;
28213
+ kind: "prepaid" | "fixed" | "seat";
28214
+ tiers: {
28215
+ mode: "graduated" | "volume";
28216
+ tiers: {
28217
+ upTo: number | null;
28218
+ unitAmountMinor: number;
28219
+ flatAmountMinor?: number | undefined;
28220
+ }[];
28221
+ } | null;
28222
+ }[] | undefined;
27767
28223
  } | {
27768
28224
  type: "refund";
27769
28225
  invoiceId: string;
@@ -29035,6 +29491,25 @@ declare function createFunnelClient(options: IndianaOptions & {
29035
29491
  connectionRevision: number;
29036
29492
  currency: string;
29037
29493
  expiresAt: string;
29494
+ sourceLineItems?: {
29495
+ priceId: string;
29496
+ productVersionId: string;
29497
+ productId: string;
29498
+ quantity: number;
29499
+ unitAmountMinor: number;
29500
+ totalMinor: number;
29501
+ interval: "week" | "month" | "year" | "one_off";
29502
+ intervalCount: number;
29503
+ kind: "prepaid" | "fixed" | "seat";
29504
+ tiers: {
29505
+ mode: "graduated" | "volume";
29506
+ tiers: {
29507
+ upTo: number | null;
29508
+ unitAmountMinor: number;
29509
+ flatAmountMinor?: number | undefined;
29510
+ }[];
29511
+ } | null;
29512
+ }[] | undefined;
29038
29513
  } | {
29039
29514
  type: "refund";
29040
29515
  invoiceId: string;
@@ -31366,6 +31841,25 @@ declare function createFunnelClient(options: IndianaOptions & {
31366
31841
  connectionRevision: number;
31367
31842
  currency: string;
31368
31843
  expiresAt: string;
31844
+ sourceLineItems?: {
31845
+ priceId: string;
31846
+ productVersionId: string;
31847
+ productId: string;
31848
+ quantity: number;
31849
+ unitAmountMinor: number;
31850
+ totalMinor: number;
31851
+ interval: "week" | "month" | "year" | "one_off";
31852
+ intervalCount: number;
31853
+ kind: "prepaid" | "fixed" | "seat";
31854
+ tiers: {
31855
+ mode: "graduated" | "volume";
31856
+ tiers: {
31857
+ upTo: number | null;
31858
+ unitAmountMinor: number;
31859
+ flatAmountMinor?: number | undefined;
31860
+ }[];
31861
+ } | null;
31862
+ }[] | undefined;
31369
31863
  } | {
31370
31864
  type: "refund";
31371
31865
  invoiceId: string;
@@ -32637,6 +33131,25 @@ declare function createFunnelClient(options: IndianaOptions & {
32637
33131
  connectionRevision: number;
32638
33132
  currency: string;
32639
33133
  expiresAt: string;
33134
+ sourceLineItems?: {
33135
+ priceId: string;
33136
+ productVersionId: string;
33137
+ productId: string;
33138
+ quantity: number;
33139
+ unitAmountMinor: number;
33140
+ totalMinor: number;
33141
+ interval: "week" | "month" | "year" | "one_off";
33142
+ intervalCount: number;
33143
+ kind: "prepaid" | "fixed" | "seat";
33144
+ tiers: {
33145
+ mode: "graduated" | "volume";
33146
+ tiers: {
33147
+ upTo: number | null;
33148
+ unitAmountMinor: number;
33149
+ flatAmountMinor?: number | undefined;
33150
+ }[];
33151
+ } | null;
33152
+ }[] | undefined;
32640
33153
  } | {
32641
33154
  type: "refund";
32642
33155
  invoiceId: string;
@@ -34972,6 +35485,25 @@ declare function createFunnelClient(options: IndianaOptions & {
34972
35485
  connectionRevision: number;
34973
35486
  currency: string;
34974
35487
  expiresAt: string;
35488
+ sourceLineItems?: {
35489
+ priceId: string;
35490
+ productVersionId: string;
35491
+ productId: string;
35492
+ quantity: number;
35493
+ unitAmountMinor: number;
35494
+ totalMinor: number;
35495
+ interval: "week" | "month" | "year" | "one_off";
35496
+ intervalCount: number;
35497
+ kind: "prepaid" | "fixed" | "seat";
35498
+ tiers: {
35499
+ mode: "graduated" | "volume";
35500
+ tiers: {
35501
+ upTo: number | null;
35502
+ unitAmountMinor: number;
35503
+ flatAmountMinor?: number | undefined;
35504
+ }[];
35505
+ } | null;
35506
+ }[] | undefined;
34975
35507
  } | {
34976
35508
  type: "refund";
34977
35509
  invoiceId: string;
@@ -36243,6 +36775,25 @@ declare function createFunnelClient(options: IndianaOptions & {
36243
36775
  connectionRevision: number;
36244
36776
  currency: string;
36245
36777
  expiresAt: string;
36778
+ sourceLineItems?: {
36779
+ priceId: string;
36780
+ productVersionId: string;
36781
+ productId: string;
36782
+ quantity: number;
36783
+ unitAmountMinor: number;
36784
+ totalMinor: number;
36785
+ interval: "week" | "month" | "year" | "one_off";
36786
+ intervalCount: number;
36787
+ kind: "prepaid" | "fixed" | "seat";
36788
+ tiers: {
36789
+ mode: "graduated" | "volume";
36790
+ tiers: {
36791
+ upTo: number | null;
36792
+ unitAmountMinor: number;
36793
+ flatAmountMinor?: number | undefined;
36794
+ }[];
36795
+ } | null;
36796
+ }[] | undefined;
36246
36797
  } | {
36247
36798
  type: "refund";
36248
36799
  invoiceId: string;
@@ -40321,6 +40872,25 @@ declare function createFunnelClient(options: IndianaOptions & {
40321
40872
  connectionRevision: number;
40322
40873
  currency: string;
40323
40874
  expiresAt: string;
40875
+ sourceLineItems?: {
40876
+ priceId: string;
40877
+ productVersionId: string;
40878
+ productId: string;
40879
+ quantity: number;
40880
+ unitAmountMinor: number;
40881
+ totalMinor: number;
40882
+ interval: "week" | "month" | "year" | "one_off";
40883
+ intervalCount: number;
40884
+ kind: "prepaid" | "fixed" | "seat";
40885
+ tiers: {
40886
+ mode: "graduated" | "volume";
40887
+ tiers: {
40888
+ upTo: number | null;
40889
+ unitAmountMinor: number;
40890
+ flatAmountMinor?: number | undefined;
40891
+ }[];
40892
+ } | null;
40893
+ }[] | undefined;
40324
40894
  } | {
40325
40895
  type: "refund";
40326
40896
  invoiceId: string;
@@ -42700,6 +43270,25 @@ declare function createFunnelClient(options: IndianaOptions & {
42700
43270
  connectionRevision: number;
42701
43271
  currency: string;
42702
43272
  expiresAt: string;
43273
+ sourceLineItems?: {
43274
+ priceId: string;
43275
+ productVersionId: string;
43276
+ productId: string;
43277
+ quantity: number;
43278
+ unitAmountMinor: number;
43279
+ totalMinor: number;
43280
+ interval: "week" | "month" | "year" | "one_off";
43281
+ intervalCount: number;
43282
+ kind: "prepaid" | "fixed" | "seat";
43283
+ tiers: {
43284
+ mode: "graduated" | "volume";
43285
+ tiers: {
43286
+ upTo: number | null;
43287
+ unitAmountMinor: number;
43288
+ flatAmountMinor?: number | undefined;
43289
+ }[];
43290
+ } | null;
43291
+ }[] | undefined;
42703
43292
  } | {
42704
43293
  type: "refund";
42705
43294
  invoiceId: string;
@@ -43971,6 +44560,25 @@ declare function createFunnelClient(options: IndianaOptions & {
43971
44560
  connectionRevision: number;
43972
44561
  currency: string;
43973
44562
  expiresAt: string;
44563
+ sourceLineItems?: {
44564
+ priceId: string;
44565
+ productVersionId: string;
44566
+ productId: string;
44567
+ quantity: number;
44568
+ unitAmountMinor: number;
44569
+ totalMinor: number;
44570
+ interval: "week" | "month" | "year" | "one_off";
44571
+ intervalCount: number;
44572
+ kind: "prepaid" | "fixed" | "seat";
44573
+ tiers: {
44574
+ mode: "graduated" | "volume";
44575
+ tiers: {
44576
+ upTo: number | null;
44577
+ unitAmountMinor: number;
44578
+ flatAmountMinor?: number | undefined;
44579
+ }[];
44580
+ } | null;
44581
+ }[] | undefined;
43974
44582
  } | {
43975
44583
  type: "refund";
43976
44584
  invoiceId: string;
@@ -46803,6 +47411,25 @@ declare function createFunnelClient(options: IndianaOptions & {
46803
47411
  connectionRevision: number;
46804
47412
  currency: string;
46805
47413
  expiresAt: string;
47414
+ sourceLineItems?: {
47415
+ priceId: string;
47416
+ productVersionId: string;
47417
+ productId: string;
47418
+ quantity: number;
47419
+ unitAmountMinor: number;
47420
+ totalMinor: number;
47421
+ interval: "week" | "month" | "year" | "one_off";
47422
+ intervalCount: number;
47423
+ kind: "prepaid" | "fixed" | "seat";
47424
+ tiers: {
47425
+ mode: "graduated" | "volume";
47426
+ tiers: {
47427
+ upTo: number | null;
47428
+ unitAmountMinor: number;
47429
+ flatAmountMinor?: number | undefined;
47430
+ }[];
47431
+ } | null;
47432
+ }[] | undefined;
46806
47433
  } | {
46807
47434
  type: "refund";
46808
47435
  invoiceId: string;
@@ -48074,6 +48701,25 @@ declare function createFunnelClient(options: IndianaOptions & {
48074
48701
  connectionRevision: number;
48075
48702
  currency: string;
48076
48703
  expiresAt: string;
48704
+ sourceLineItems?: {
48705
+ priceId: string;
48706
+ productVersionId: string;
48707
+ productId: string;
48708
+ quantity: number;
48709
+ unitAmountMinor: number;
48710
+ totalMinor: number;
48711
+ interval: "week" | "month" | "year" | "one_off";
48712
+ intervalCount: number;
48713
+ kind: "prepaid" | "fixed" | "seat";
48714
+ tiers: {
48715
+ mode: "graduated" | "volume";
48716
+ tiers: {
48717
+ upTo: number | null;
48718
+ unitAmountMinor: number;
48719
+ flatAmountMinor?: number | undefined;
48720
+ }[];
48721
+ } | null;
48722
+ }[] | undefined;
48077
48723
  } | {
48078
48724
  type: "refund";
48079
48725
  invoiceId: string;
@@ -50407,6 +51053,25 @@ declare function createFunnelClient(options: IndianaOptions & {
50407
51053
  connectionRevision: number;
50408
51054
  currency: string;
50409
51055
  expiresAt: string;
51056
+ sourceLineItems?: {
51057
+ priceId: string;
51058
+ productVersionId: string;
51059
+ productId: string;
51060
+ quantity: number;
51061
+ unitAmountMinor: number;
51062
+ totalMinor: number;
51063
+ interval: "week" | "month" | "year" | "one_off";
51064
+ intervalCount: number;
51065
+ kind: "prepaid" | "fixed" | "seat";
51066
+ tiers: {
51067
+ mode: "graduated" | "volume";
51068
+ tiers: {
51069
+ upTo: number | null;
51070
+ unitAmountMinor: number;
51071
+ flatAmountMinor?: number | undefined;
51072
+ }[];
51073
+ } | null;
51074
+ }[] | undefined;
50410
51075
  } | {
50411
51076
  type: "refund";
50412
51077
  invoiceId: string;
@@ -51678,6 +52343,25 @@ declare function createFunnelClient(options: IndianaOptions & {
51678
52343
  connectionRevision: number;
51679
52344
  currency: string;
51680
52345
  expiresAt: string;
52346
+ sourceLineItems?: {
52347
+ priceId: string;
52348
+ productVersionId: string;
52349
+ productId: string;
52350
+ quantity: number;
52351
+ unitAmountMinor: number;
52352
+ totalMinor: number;
52353
+ interval: "week" | "month" | "year" | "one_off";
52354
+ intervalCount: number;
52355
+ kind: "prepaid" | "fixed" | "seat";
52356
+ tiers: {
52357
+ mode: "graduated" | "volume";
52358
+ tiers: {
52359
+ upTo: number | null;
52360
+ unitAmountMinor: number;
52361
+ flatAmountMinor?: number | undefined;
52362
+ }[];
52363
+ } | null;
52364
+ }[] | undefined;
51681
52365
  } | {
51682
52366
  type: "refund";
51683
52367
  invoiceId: string;
@@ -54009,6 +54693,25 @@ declare function createFunnelClient(options: IndianaOptions & {
54009
54693
  connectionRevision: number;
54010
54694
  currency: string;
54011
54695
  expiresAt: string;
54696
+ sourceLineItems?: {
54697
+ priceId: string;
54698
+ productVersionId: string;
54699
+ productId: string;
54700
+ quantity: number;
54701
+ unitAmountMinor: number;
54702
+ totalMinor: number;
54703
+ interval: "week" | "month" | "year" | "one_off";
54704
+ intervalCount: number;
54705
+ kind: "prepaid" | "fixed" | "seat";
54706
+ tiers: {
54707
+ mode: "graduated" | "volume";
54708
+ tiers: {
54709
+ upTo: number | null;
54710
+ unitAmountMinor: number;
54711
+ flatAmountMinor?: number | undefined;
54712
+ }[];
54713
+ } | null;
54714
+ }[] | undefined;
54012
54715
  } | {
54013
54716
  type: "refund";
54014
54717
  invoiceId: string;
@@ -55280,6 +55983,25 @@ declare function createFunnelClient(options: IndianaOptions & {
55280
55983
  connectionRevision: number;
55281
55984
  currency: string;
55282
55985
  expiresAt: string;
55986
+ sourceLineItems?: {
55987
+ priceId: string;
55988
+ productVersionId: string;
55989
+ productId: string;
55990
+ quantity: number;
55991
+ unitAmountMinor: number;
55992
+ totalMinor: number;
55993
+ interval: "week" | "month" | "year" | "one_off";
55994
+ intervalCount: number;
55995
+ kind: "prepaid" | "fixed" | "seat";
55996
+ tiers: {
55997
+ mode: "graduated" | "volume";
55998
+ tiers: {
55999
+ upTo: number | null;
56000
+ unitAmountMinor: number;
56001
+ flatAmountMinor?: number | undefined;
56002
+ }[];
56003
+ } | null;
56004
+ }[] | undefined;
55283
56005
  } | {
55284
56006
  type: "refund";
55285
56007
  invoiceId: string;
@@ -56658,6 +57380,25 @@ declare function createFunnelClient(options: IndianaOptions & {
56658
57380
  connectionRevision: number;
56659
57381
  currency: string;
56660
57382
  expiresAt: string;
57383
+ sourceLineItems?: {
57384
+ priceId: string;
57385
+ productVersionId: string;
57386
+ productId: string;
57387
+ quantity: number;
57388
+ unitAmountMinor: number;
57389
+ totalMinor: number;
57390
+ interval: "week" | "month" | "year" | "one_off";
57391
+ intervalCount: number;
57392
+ kind: "prepaid" | "fixed" | "seat";
57393
+ tiers: {
57394
+ mode: "graduated" | "volume";
57395
+ tiers: {
57396
+ upTo: number | null;
57397
+ unitAmountMinor: number;
57398
+ flatAmountMinor?: number | undefined;
57399
+ }[];
57400
+ } | null;
57401
+ }[] | undefined;
56661
57402
  } | {
56662
57403
  type: "refund";
56663
57404
  invoiceId: string;
@@ -59001,6 +59742,25 @@ declare function createFunnelProcess(options: FunnelProcessOptions): {
59001
59742
  connectionRevision: number;
59002
59743
  currency: string;
59003
59744
  expiresAt: string;
59745
+ sourceLineItems?: {
59746
+ priceId: string;
59747
+ productVersionId: string;
59748
+ productId: string;
59749
+ quantity: number;
59750
+ unitAmountMinor: number;
59751
+ totalMinor: number;
59752
+ interval: "week" | "month" | "year" | "one_off";
59753
+ intervalCount: number;
59754
+ kind: "prepaid" | "fixed" | "seat";
59755
+ tiers: {
59756
+ mode: "graduated" | "volume";
59757
+ tiers: {
59758
+ upTo: number | null;
59759
+ unitAmountMinor: number;
59760
+ flatAmountMinor?: number | undefined;
59761
+ }[];
59762
+ } | null;
59763
+ }[] | undefined;
59004
59764
  } | {
59005
59765
  type: "refund";
59006
59766
  invoiceId: string;
@@ -61234,6 +61994,25 @@ declare function createFunnelProcess(options: FunnelProcessOptions): {
61234
61994
  connectionRevision: number;
61235
61995
  currency: string;
61236
61996
  expiresAt: string;
61997
+ sourceLineItems?: {
61998
+ priceId: string;
61999
+ productVersionId: string;
62000
+ productId: string;
62001
+ quantity: number;
62002
+ unitAmountMinor: number;
62003
+ totalMinor: number;
62004
+ interval: "week" | "month" | "year" | "one_off";
62005
+ intervalCount: number;
62006
+ kind: "prepaid" | "fixed" | "seat";
62007
+ tiers: {
62008
+ mode: "graduated" | "volume";
62009
+ tiers: {
62010
+ upTo: number | null;
62011
+ unitAmountMinor: number;
62012
+ flatAmountMinor?: number | undefined;
62013
+ }[];
62014
+ } | null;
62015
+ }[] | undefined;
61237
62016
  } | {
61238
62017
  type: "refund";
61239
62018
  invoiceId: string;
@@ -63467,6 +64246,25 @@ declare function createFunnelProcess(options: FunnelProcessOptions): {
63467
64246
  connectionRevision: number;
63468
64247
  currency: string;
63469
64248
  expiresAt: string;
64249
+ sourceLineItems?: {
64250
+ priceId: string;
64251
+ productVersionId: string;
64252
+ productId: string;
64253
+ quantity: number;
64254
+ unitAmountMinor: number;
64255
+ totalMinor: number;
64256
+ interval: "week" | "month" | "year" | "one_off";
64257
+ intervalCount: number;
64258
+ kind: "prepaid" | "fixed" | "seat";
64259
+ tiers: {
64260
+ mode: "graduated" | "volume";
64261
+ tiers: {
64262
+ upTo: number | null;
64263
+ unitAmountMinor: number;
64264
+ flatAmountMinor?: number | undefined;
64265
+ }[];
64266
+ } | null;
64267
+ }[] | undefined;
63470
64268
  } | {
63471
64269
  type: "refund";
63472
64270
  invoiceId: string;