@tinkerlandai/longplay-sdk 0.10.21 → 0.10.22-rc.1

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-CHQUGYMS.js → chunk-3NRRPVYC.js} +1 -1
  5. package/dist/{chunk-YDWAT2ID.js → chunk-5Z2SJNUK.js} +1 -1
  6. package/dist/{chunk-Z5CW2N7E.js → chunk-BTYQSYAW.js} +1 -1
  7. package/dist/{chunk-JXNNWCEB.js → chunk-FQ2FVKLA.js} +3 -3
  8. package/dist/{chunk-AX2PJEJP.js → chunk-HRY7B6JI.js} +1 -1
  9. package/dist/{chunk-BP6G3YGP.js → chunk-HVMCN74C.js} +1 -1
  10. package/dist/{chunk-JNML7SY4.js → chunk-IBPNQEJY.js} +1 -1
  11. package/dist/{chunk-53C6LI3D.js → chunk-L7NDZCRB.js} +1 -1
  12. package/dist/chunk-N3I3UBTJ.js +1 -0
  13. package/dist/{chunk-LBGCSWVF.js → chunk-WOL5LWUH.js} +1 -1
  14. package/dist/{content-JS7M7A3P.js → content-SF6NTQW3.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-WXY6FWO4.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-M6DINLUS.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
package/dist/server.d.ts CHANGED
@@ -1,15 +1,15 @@
1
- import { F as FoundationApi, I as InvoiceModeParams } from './api-C65zMJI6.js';
2
- import { O as IndianaServerOptions, n as IndianaError, Q as FunnelProcessSuppression, T as FunnelProcessCommand, J as FunnelProcessResponse, C as CustomerSession, H as FunnelProcessOpenInput, M as FunnelProcessMutation, p as PaywallStartInput, P as PaywallSession, g as FeatureClientOptions, R as RemoteFeatureResult } from './funnel-local-client-WOMhUCjI.js';
3
- export { f as FeatureClient, B as FunnelStartInput, L as LocalFunnelClient, m as LocalFunnelClientOptions, t as createFeatureClient, U as createFunnelStartClient, v as createLocalFunnelClient } from './funnel-local-client-WOMhUCjI.js';
1
+ import { F as FoundationApi, I as InvoiceModeParams } from './api-rZ_QoNQi.js';
2
+ import { O as IndianaServerOptions, n as IndianaError, Q as FunnelProcessSuppression, T as FunnelProcessCommand, J as FunnelProcessResponse, C as CustomerSession, H as FunnelProcessOpenInput, M as FunnelProcessMutation, p as PaywallStartInput, P as PaywallSession, g as FeatureClientOptions, R as RemoteFeatureResult } from './funnel-local-client-BYdKGnMb.js';
3
+ export { f as FeatureClient, B as FunnelStartInput, L as LocalFunnelClient, m as LocalFunnelClientOptions, t as createFeatureClient, U as createFunnelStartClient, v as createLocalFunnelClient } from './funnel-local-client-BYdKGnMb.js';
4
4
  import * as zod from 'zod';
5
5
  import { z } from 'zod';
6
6
  import { S as StackNode } from './screen-DRP7nsrQ.js';
7
7
  import { a as ConfigurationSync } from './configuration-sync-eEFj_oKG.js';
8
8
  export { c as createConfigurationSync } from './configuration-sync-eEFj_oKG.js';
9
9
  import { J as JsonValue, E as EvaluationContext, s as stickyAssignmentDocumentSchema, F as FeatureResult } from './growth-rules-B4YYy64R.js';
10
- import { d as FunnelLocalConfiguration, f as MerchantBridgeCommand, g as MerchantBridgeRequest, m as merchantBridgeOperationAuthoritySchema, M as MerchantBridgeManifest, h as merchantBridgeCommandInputs, i as merchantBridgeCommandOutputs, j as merchantBridgeOperationInputSchema } from './funnel-node-evaluation-Dhv2hYnn.js';
11
- export { F as FunnelNodeEvaluationContext, k as MerchantRequirementCheckInput, l as MerchantRequirementCheckResult, n as entitlementRequirementDigest, e as evaluateFunnelNode } from './funnel-node-evaluation-Dhv2hYnn.js';
12
- export { d as AiPricingOptions, b as AiTokenQuote, a as AiTokenUsage, A as AiUsageContext, e as AiUsageMiddlewareOptions, f as AiUsageRecord, g as aiPriceSnapshotSchema, h as aiTokenQuoteSchema, c as createAiPricing, i as createAiUsageMiddleware, j as createConfiguredAiPricing } from './ai-usage-3NrLouAi.js';
10
+ import { d as FunnelLocalConfiguration, f as MerchantBridgeCommand, g as MerchantBridgeRequest, m as merchantBridgeOperationAuthoritySchema, M as MerchantBridgeManifest, h as merchantBridgeCommandInputs, i as merchantBridgeCommandOutputs, j as merchantBridgeOperationInputSchema } from './funnel-node-evaluation-eLMEZIFz.js';
11
+ export { F as FunnelNodeEvaluationContext, k as MerchantRequirementCheckInput, l as MerchantRequirementCheckResult, n as entitlementRequirementDigest, e as evaluateFunnelNode } from './funnel-node-evaluation-eLMEZIFz.js';
12
+ export { d as AiPricingOptions, b as AiTokenQuote, a as AiTokenUsage, A as AiUsageContext, e as AiUsageMiddlewareOptions, f as AiUsageRecord, g as aiPriceSnapshotSchema, h as aiTokenQuoteSchema, c as createAiPricing, i as createAiUsageMiddleware, j as createConfiguredAiPricing } from './ai-usage-WFwbPTiq.js';
13
13
  import 'zod/v4';
14
14
  import '@ai-sdk/provider';
15
15
 
@@ -1845,7 +1845,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
1845
1845
  internalFeatureId: string;
1846
1846
  name: string;
1847
1847
  includedAmount: string;
1848
- reset: "week" | "month" | "year" | "lifetime" | "hour" | "day";
1848
+ reset: "week" | "month" | "year" | "day" | "lifetime" | "hour";
1849
1849
  resetCount: number;
1850
1850
  terms: {
1851
1851
  units: string;
@@ -2067,7 +2067,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
2067
2067
  internalFeatureId: string;
2068
2068
  name: string;
2069
2069
  includedAmount: string;
2070
- reset: "week" | "month" | "year" | "lifetime" | "hour" | "day";
2070
+ reset: "week" | "month" | "year" | "day" | "lifetime" | "hour";
2071
2071
  resetCount: number;
2072
2072
  terms: {
2073
2073
  units: string;
@@ -3228,6 +3228,25 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
3228
3228
  connectionRevision: number;
3229
3229
  currency: string;
3230
3230
  expiresAt: string;
3231
+ sourceLineItems?: {
3232
+ priceId: string;
3233
+ productVersionId: string;
3234
+ productId: string;
3235
+ quantity: number;
3236
+ unitAmountMinor: number;
3237
+ totalMinor: number;
3238
+ interval: "week" | "month" | "year" | "one_off";
3239
+ intervalCount: number;
3240
+ kind: "fixed" | "prepaid" | "seat";
3241
+ tiers: {
3242
+ mode: "graduated" | "volume";
3243
+ tiers: {
3244
+ upTo: number | null;
3245
+ unitAmountMinor: number;
3246
+ flatAmountMinor?: number | undefined;
3247
+ }[];
3248
+ } | null;
3249
+ }[] | undefined;
3231
3250
  } | {
3232
3251
  type: "refund";
3233
3252
  invoiceId: string;
@@ -3592,7 +3611,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
3592
3611
  internalFeatureId: string;
3593
3612
  name: string;
3594
3613
  includedAmount: string;
3595
- reset: "week" | "month" | "year" | "lifetime" | "hour" | "day";
3614
+ reset: "week" | "month" | "year" | "day" | "lifetime" | "hour";
3596
3615
  resetCount: number;
3597
3616
  terms: {
3598
3617
  units: string;
@@ -4890,6 +4909,25 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
4890
4909
  connectionRevision: number;
4891
4910
  currency: string;
4892
4911
  expiresAt: string;
4912
+ sourceLineItems?: {
4913
+ priceId: string;
4914
+ productVersionId: string;
4915
+ productId: string;
4916
+ quantity: number;
4917
+ unitAmountMinor: number;
4918
+ totalMinor: number;
4919
+ interval: "week" | "month" | "year" | "one_off";
4920
+ intervalCount: number;
4921
+ kind: "fixed" | "prepaid" | "seat";
4922
+ tiers: {
4923
+ mode: "graduated" | "volume";
4924
+ tiers: {
4925
+ upTo: number | null;
4926
+ unitAmountMinor: number;
4927
+ flatAmountMinor?: number | undefined;
4928
+ }[];
4929
+ } | null;
4930
+ }[] | undefined;
4893
4931
  } | {
4894
4932
  type: "refund";
4895
4933
  invoiceId: string;
@@ -5463,7 +5501,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
5463
5501
  internalFeatureId: string;
5464
5502
  name: string;
5465
5503
  includedAmount: string;
5466
- reset: "week" | "month" | "year" | "lifetime" | "hour" | "day";
5504
+ reset: "week" | "month" | "year" | "day" | "lifetime" | "hour";
5467
5505
  resetCount: number;
5468
5506
  terms: {
5469
5507
  units: string;
@@ -5685,7 +5723,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
5685
5723
  internalFeatureId: string;
5686
5724
  name: string;
5687
5725
  includedAmount: string;
5688
- reset: "week" | "month" | "year" | "lifetime" | "hour" | "day";
5726
+ reset: "week" | "month" | "year" | "day" | "lifetime" | "hour";
5689
5727
  resetCount: number;
5690
5728
  terms: {
5691
5729
  units: string;
@@ -6846,6 +6884,25 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
6846
6884
  connectionRevision: number;
6847
6885
  currency: string;
6848
6886
  expiresAt: string;
6887
+ sourceLineItems?: {
6888
+ priceId: string;
6889
+ productVersionId: string;
6890
+ productId: string;
6891
+ quantity: number;
6892
+ unitAmountMinor: number;
6893
+ totalMinor: number;
6894
+ interval: "week" | "month" | "year" | "one_off";
6895
+ intervalCount: number;
6896
+ kind: "fixed" | "prepaid" | "seat";
6897
+ tiers: {
6898
+ mode: "graduated" | "volume";
6899
+ tiers: {
6900
+ upTo: number | null;
6901
+ unitAmountMinor: number;
6902
+ flatAmountMinor?: number | undefined;
6903
+ }[];
6904
+ } | null;
6905
+ }[] | undefined;
6849
6906
  } | {
6850
6907
  type: "refund";
6851
6908
  invoiceId: string;
@@ -7210,7 +7267,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
7210
7267
  internalFeatureId: string;
7211
7268
  name: string;
7212
7269
  includedAmount: string;
7213
- reset: "week" | "month" | "year" | "lifetime" | "hour" | "day";
7270
+ reset: "week" | "month" | "year" | "day" | "lifetime" | "hour";
7214
7271
  resetCount: number;
7215
7272
  terms: {
7216
7273
  units: string;
@@ -8508,6 +8565,25 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
8508
8565
  connectionRevision: number;
8509
8566
  currency: string;
8510
8567
  expiresAt: string;
8568
+ sourceLineItems?: {
8569
+ priceId: string;
8570
+ productVersionId: string;
8571
+ productId: string;
8572
+ quantity: number;
8573
+ unitAmountMinor: number;
8574
+ totalMinor: number;
8575
+ interval: "week" | "month" | "year" | "one_off";
8576
+ intervalCount: number;
8577
+ kind: "fixed" | "prepaid" | "seat";
8578
+ tiers: {
8579
+ mode: "graduated" | "volume";
8580
+ tiers: {
8581
+ upTo: number | null;
8582
+ unitAmountMinor: number;
8583
+ flatAmountMinor?: number | undefined;
8584
+ }[];
8585
+ } | null;
8586
+ }[] | undefined;
8511
8587
  } | {
8512
8588
  type: "refund";
8513
8589
  invoiceId: string;
@@ -9079,7 +9155,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
9079
9155
  internalFeatureId: string;
9080
9156
  name: string;
9081
9157
  includedAmount: string;
9082
- reset: "week" | "month" | "year" | "lifetime" | "hour" | "day";
9158
+ reset: "week" | "month" | "year" | "day" | "lifetime" | "hour";
9083
9159
  resetCount: number;
9084
9160
  terms: {
9085
9161
  units: string;
@@ -9301,7 +9377,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
9301
9377
  internalFeatureId: string;
9302
9378
  name: string;
9303
9379
  includedAmount: string;
9304
- reset: "week" | "month" | "year" | "lifetime" | "hour" | "day";
9380
+ reset: "week" | "month" | "year" | "day" | "lifetime" | "hour";
9305
9381
  resetCount: number;
9306
9382
  terms: {
9307
9383
  units: string;
@@ -10462,6 +10538,25 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
10462
10538
  connectionRevision: number;
10463
10539
  currency: string;
10464
10540
  expiresAt: string;
10541
+ sourceLineItems?: {
10542
+ priceId: string;
10543
+ productVersionId: string;
10544
+ productId: string;
10545
+ quantity: number;
10546
+ unitAmountMinor: number;
10547
+ totalMinor: number;
10548
+ interval: "week" | "month" | "year" | "one_off";
10549
+ intervalCount: number;
10550
+ kind: "fixed" | "prepaid" | "seat";
10551
+ tiers: {
10552
+ mode: "graduated" | "volume";
10553
+ tiers: {
10554
+ upTo: number | null;
10555
+ unitAmountMinor: number;
10556
+ flatAmountMinor?: number | undefined;
10557
+ }[];
10558
+ } | null;
10559
+ }[] | undefined;
10465
10560
  } | {
10466
10561
  type: "refund";
10467
10562
  invoiceId: string;
@@ -10826,7 +10921,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
10826
10921
  internalFeatureId: string;
10827
10922
  name: string;
10828
10923
  includedAmount: string;
10829
- reset: "week" | "month" | "year" | "lifetime" | "hour" | "day";
10924
+ reset: "week" | "month" | "year" | "day" | "lifetime" | "hour";
10830
10925
  resetCount: number;
10831
10926
  terms: {
10832
10927
  units: string;
@@ -12124,6 +12219,25 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
12124
12219
  connectionRevision: number;
12125
12220
  currency: string;
12126
12221
  expiresAt: string;
12222
+ sourceLineItems?: {
12223
+ priceId: string;
12224
+ productVersionId: string;
12225
+ productId: string;
12226
+ quantity: number;
12227
+ unitAmountMinor: number;
12228
+ totalMinor: number;
12229
+ interval: "week" | "month" | "year" | "one_off";
12230
+ intervalCount: number;
12231
+ kind: "fixed" | "prepaid" | "seat";
12232
+ tiers: {
12233
+ mode: "graduated" | "volume";
12234
+ tiers: {
12235
+ upTo: number | null;
12236
+ unitAmountMinor: number;
12237
+ flatAmountMinor?: number | undefined;
12238
+ }[];
12239
+ } | null;
12240
+ }[] | undefined;
12127
12241
  } | {
12128
12242
  type: "refund";
12129
12243
  invoiceId: string;
@@ -12695,7 +12809,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
12695
12809
  internalFeatureId: string;
12696
12810
  name: string;
12697
12811
  includedAmount: string;
12698
- reset: "week" | "month" | "year" | "lifetime" | "hour" | "day";
12812
+ reset: "week" | "month" | "year" | "day" | "lifetime" | "hour";
12699
12813
  resetCount: number;
12700
12814
  terms: {
12701
12815
  units: string;
@@ -12917,7 +13031,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
12917
13031
  internalFeatureId: string;
12918
13032
  name: string;
12919
13033
  includedAmount: string;
12920
- reset: "week" | "month" | "year" | "lifetime" | "hour" | "day";
13034
+ reset: "week" | "month" | "year" | "day" | "lifetime" | "hour";
12921
13035
  resetCount: number;
12922
13036
  terms: {
12923
13037
  units: string;
@@ -14078,6 +14192,25 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
14078
14192
  connectionRevision: number;
14079
14193
  currency: string;
14080
14194
  expiresAt: string;
14195
+ sourceLineItems?: {
14196
+ priceId: string;
14197
+ productVersionId: string;
14198
+ productId: string;
14199
+ quantity: number;
14200
+ unitAmountMinor: number;
14201
+ totalMinor: number;
14202
+ interval: "week" | "month" | "year" | "one_off";
14203
+ intervalCount: number;
14204
+ kind: "fixed" | "prepaid" | "seat";
14205
+ tiers: {
14206
+ mode: "graduated" | "volume";
14207
+ tiers: {
14208
+ upTo: number | null;
14209
+ unitAmountMinor: number;
14210
+ flatAmountMinor?: number | undefined;
14211
+ }[];
14212
+ } | null;
14213
+ }[] | undefined;
14081
14214
  } | {
14082
14215
  type: "refund";
14083
14216
  invoiceId: string;
@@ -14442,7 +14575,7 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
14442
14575
  internalFeatureId: string;
14443
14576
  name: string;
14444
14577
  includedAmount: string;
14445
- reset: "week" | "month" | "year" | "lifetime" | "hour" | "day";
14578
+ reset: "week" | "month" | "year" | "day" | "lifetime" | "hour";
14446
14579
  resetCount: number;
14447
14580
  terms: {
14448
14581
  units: string;
@@ -15740,6 +15873,25 @@ declare function createFunnelProcessAdapter<Request>(options: FunnelProcessAdapt
15740
15873
  connectionRevision: number;
15741
15874
  currency: string;
15742
15875
  expiresAt: string;
15876
+ sourceLineItems?: {
15877
+ priceId: string;
15878
+ productVersionId: string;
15879
+ productId: string;
15880
+ quantity: number;
15881
+ unitAmountMinor: number;
15882
+ totalMinor: number;
15883
+ interval: "week" | "month" | "year" | "one_off";
15884
+ intervalCount: number;
15885
+ kind: "fixed" | "prepaid" | "seat";
15886
+ tiers: {
15887
+ mode: "graduated" | "volume";
15888
+ tiers: {
15889
+ upTo: number | null;
15890
+ unitAmountMinor: number;
15891
+ flatAmountMinor?: number | undefined;
15892
+ }[];
15893
+ } | null;
15894
+ }[] | undefined;
15743
15895
  } | {
15744
15896
  type: "refund";
15745
15897
  invoiceId: string;
@@ -16413,7 +16565,7 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
16413
16565
  internalFeatureId: string;
16414
16566
  name: string;
16415
16567
  includedAmount: string;
16416
- reset: "week" | "month" | "year" | "lifetime" | "hour" | "day";
16568
+ reset: "week" | "month" | "year" | "day" | "lifetime" | "hour";
16417
16569
  resetCount: number;
16418
16570
  terms: {
16419
16571
  units: string;
@@ -16832,7 +16984,7 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
16832
16984
  internalFeatureId: string;
16833
16985
  name: string;
16834
16986
  includedAmount: string;
16835
- reset: "week" | "month" | "year" | "lifetime" | "hour" | "day";
16987
+ reset: "week" | "month" | "year" | "day" | "lifetime" | "hour";
16836
16988
  resetCount: number;
16837
16989
  terms: {
16838
16990
  units: string;
@@ -17054,7 +17206,7 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
17054
17206
  internalFeatureId: string;
17055
17207
  name: string;
17056
17208
  includedAmount: string;
17057
- reset: "week" | "month" | "year" | "lifetime" | "hour" | "day";
17209
+ reset: "week" | "month" | "year" | "day" | "lifetime" | "hour";
17058
17210
  resetCount: number;
17059
17211
  terms: {
17060
17212
  units: string;
@@ -18215,6 +18367,25 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
18215
18367
  connectionRevision: number;
18216
18368
  currency: string;
18217
18369
  expiresAt: string;
18370
+ sourceLineItems?: {
18371
+ priceId: string;
18372
+ productVersionId: string;
18373
+ productId: string;
18374
+ quantity: number;
18375
+ unitAmountMinor: number;
18376
+ totalMinor: number;
18377
+ interval: "week" | "month" | "year" | "one_off";
18378
+ intervalCount: number;
18379
+ kind: "fixed" | "prepaid" | "seat";
18380
+ tiers: {
18381
+ mode: "graduated" | "volume";
18382
+ tiers: {
18383
+ upTo: number | null;
18384
+ unitAmountMinor: number;
18385
+ flatAmountMinor?: number | undefined;
18386
+ }[];
18387
+ } | null;
18388
+ }[] | undefined;
18218
18389
  } | {
18219
18390
  type: "refund";
18220
18391
  invoiceId: string;
@@ -19486,6 +19657,25 @@ declare function renewFunnelRun(options: IndianaServerOptions, input: {
19486
19657
  connectionRevision: number;
19487
19658
  currency: string;
19488
19659
  expiresAt: string;
19660
+ sourceLineItems?: {
19661
+ priceId: string;
19662
+ productVersionId: string;
19663
+ productId: string;
19664
+ quantity: number;
19665
+ unitAmountMinor: number;
19666
+ totalMinor: number;
19667
+ interval: "week" | "month" | "year" | "one_off";
19668
+ intervalCount: number;
19669
+ kind: "fixed" | "prepaid" | "seat";
19670
+ tiers: {
19671
+ mode: "graduated" | "volume";
19672
+ tiers: {
19673
+ upTo: number | null;
19674
+ unitAmountMinor: number;
19675
+ flatAmountMinor?: number | undefined;
19676
+ }[];
19677
+ } | null;
19678
+ }[] | undefined;
19489
19679
  } | {
19490
19680
  type: "refund";
19491
19681
  invoiceId: string;
@@ -21595,7 +21785,7 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
21595
21785
  internalFeatureId: string;
21596
21786
  name: string;
21597
21787
  includedAmount: string;
21598
- reset: "week" | "month" | "year" | "lifetime" | "hour" | "day";
21788
+ reset: "week" | "month" | "year" | "day" | "lifetime" | "hour";
21599
21789
  resetCount: number;
21600
21790
  terms: {
21601
21791
  units: string;
@@ -22014,7 +22204,7 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
22014
22204
  internalFeatureId: string;
22015
22205
  name: string;
22016
22206
  includedAmount: string;
22017
- reset: "week" | "month" | "year" | "lifetime" | "hour" | "day";
22207
+ reset: "week" | "month" | "year" | "day" | "lifetime" | "hour";
22018
22208
  resetCount: number;
22019
22209
  terms: {
22020
22210
  units: string;
@@ -22236,7 +22426,7 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
22236
22426
  internalFeatureId: string;
22237
22427
  name: string;
22238
22428
  includedAmount: string;
22239
- reset: "week" | "month" | "year" | "lifetime" | "hour" | "day";
22429
+ reset: "week" | "month" | "year" | "day" | "lifetime" | "hour";
22240
22430
  resetCount: number;
22241
22431
  terms: {
22242
22432
  units: string;
@@ -23397,6 +23587,25 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
23397
23587
  connectionRevision: number;
23398
23588
  currency: string;
23399
23589
  expiresAt: string;
23590
+ sourceLineItems?: {
23591
+ priceId: string;
23592
+ productVersionId: string;
23593
+ productId: string;
23594
+ quantity: number;
23595
+ unitAmountMinor: number;
23596
+ totalMinor: number;
23597
+ interval: "week" | "month" | "year" | "one_off";
23598
+ intervalCount: number;
23599
+ kind: "fixed" | "prepaid" | "seat";
23600
+ tiers: {
23601
+ mode: "graduated" | "volume";
23602
+ tiers: {
23603
+ upTo: number | null;
23604
+ unitAmountMinor: number;
23605
+ flatAmountMinor?: number | undefined;
23606
+ }[];
23607
+ } | null;
23608
+ }[] | undefined;
23400
23609
  } | {
23401
23610
  type: "refund";
23402
23611
  invoiceId: string;
@@ -24668,6 +24877,25 @@ declare function createFunnelCampaignClient(options: IndianaServerOptions & {
24668
24877
  connectionRevision: number;
24669
24878
  currency: string;
24670
24879
  expiresAt: string;
24880
+ sourceLineItems?: {
24881
+ priceId: string;
24882
+ productVersionId: string;
24883
+ productId: string;
24884
+ quantity: number;
24885
+ unitAmountMinor: number;
24886
+ totalMinor: number;
24887
+ interval: "week" | "month" | "year" | "one_off";
24888
+ intervalCount: number;
24889
+ kind: "fixed" | "prepaid" | "seat";
24890
+ tiers: {
24891
+ mode: "graduated" | "volume";
24892
+ tiers: {
24893
+ upTo: number | null;
24894
+ unitAmountMinor: number;
24895
+ flatAmountMinor?: number | undefined;
24896
+ }[];
24897
+ } | null;
24898
+ }[] | undefined;
24671
24899
  } | {
24672
24900
  type: "refund";
24673
24901
  invoiceId: string;